Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NotebookExecution = NotebookExecution' {
- arn :: Maybe Text
- editorId :: Maybe Text
- endTime :: Maybe POSIX
- executionEngine :: Maybe ExecutionEngineConfig
- lastStateChangeReason :: Maybe Text
- notebookExecutionId :: Maybe Text
- notebookExecutionName :: Maybe Text
- notebookInstanceSecurityGroupId :: Maybe Text
- notebookParams :: Maybe Text
- outputNotebookURI :: Maybe Text
- startTime :: Maybe POSIX
- status :: Maybe NotebookExecutionStatus
- tags :: Maybe [Tag]
- newNotebookExecution :: NotebookExecution
- notebookExecution_arn :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_editorId :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_endTime :: Lens' NotebookExecution (Maybe UTCTime)
- notebookExecution_executionEngine :: Lens' NotebookExecution (Maybe ExecutionEngineConfig)
- notebookExecution_lastStateChangeReason :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_notebookExecutionId :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_notebookExecutionName :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_notebookInstanceSecurityGroupId :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_notebookParams :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_outputNotebookURI :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_startTime :: Lens' NotebookExecution (Maybe UTCTime)
- notebookExecution_status :: Lens' NotebookExecution (Maybe NotebookExecutionStatus)
- notebookExecution_tags :: Lens' NotebookExecution (Maybe [Tag])
Documentation
data NotebookExecution Source #
A notebook execution. An execution is a specific instance that an EMR
Notebook is run using the StartNotebookExecution
action.
See: newNotebookExecution
smart constructor.
NotebookExecution' | |
|
Instances
newNotebookExecution :: NotebookExecution Source #
Create a value of NotebookExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:NotebookExecution'
, notebookExecution_arn
- The Amazon Resource Name (ARN) of the notebook execution.
$sel:editorId:NotebookExecution'
, notebookExecution_editorId
- The unique identifier of the EMR Notebook that is used for the notebook
execution.
$sel:endTime:NotebookExecution'
, notebookExecution_endTime
- The timestamp when notebook execution ended.
$sel:executionEngine:NotebookExecution'
, notebookExecution_executionEngine
- The execution engine, such as an EMR cluster, used to run the EMR
notebook and perform the notebook execution.
$sel:lastStateChangeReason:NotebookExecution'
, notebookExecution_lastStateChangeReason
- The reason for the latest status change of the notebook execution.
$sel:notebookExecutionId:NotebookExecution'
, notebookExecution_notebookExecutionId
- The unique identifier of a notebook execution.
$sel:notebookExecutionName:NotebookExecution'
, notebookExecution_notebookExecutionName
- A name for the notebook execution.
$sel:notebookInstanceSecurityGroupId:NotebookExecution'
, notebookExecution_notebookInstanceSecurityGroupId
- The unique identifier of the EC2 security group associated with the EMR
Notebook instance. For more information see
Specifying EC2 Security Groups for EMR Notebooks
in the EMR Management Guide.
$sel:notebookParams:NotebookExecution'
, notebookExecution_notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime
for execution.
$sel:outputNotebookURI:NotebookExecution'
, notebookExecution_outputNotebookURI
- The location of the notebook execution's output file in Amazon S3.
$sel:startTime:NotebookExecution'
, notebookExecution_startTime
- The timestamp when notebook execution started.
$sel:status:NotebookExecution'
, notebookExecution_status
- The status of the notebook execution.
START_PENDING
indicates that the cluster has received the execution request but execution has not begun.STARTING
indicates that the execution is starting on the cluster.RUNNING
indicates that the execution is being processed by the cluster.FINISHING
indicates that execution processing is in the final stages.FINISHED
indicates that the execution has completed without error.FAILING
indicates that the execution is failing and will not finish successfully.FAILED
indicates that the execution failed.STOP_PENDING
indicates that the cluster has received aStopNotebookExecution
request and the stop is pending.STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request.STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
$sel:tags:NotebookExecution'
, notebookExecution_tags
- A list of tags associated with a notebook execution. Tags are
user-defined key-value pairs that consist of a required key string with
a maximum of 128 characters and an optional value string with a maximum
of 256 characters.
notebookExecution_arn :: Lens' NotebookExecution (Maybe Text) Source #
The Amazon Resource Name (ARN) of the notebook execution.
notebookExecution_editorId :: Lens' NotebookExecution (Maybe Text) Source #
The unique identifier of the EMR Notebook that is used for the notebook execution.
notebookExecution_endTime :: Lens' NotebookExecution (Maybe UTCTime) Source #
The timestamp when notebook execution ended.
notebookExecution_executionEngine :: Lens' NotebookExecution (Maybe ExecutionEngineConfig) Source #
The execution engine, such as an EMR cluster, used to run the EMR notebook and perform the notebook execution.
notebookExecution_lastStateChangeReason :: Lens' NotebookExecution (Maybe Text) Source #
The reason for the latest status change of the notebook execution.
notebookExecution_notebookExecutionId :: Lens' NotebookExecution (Maybe Text) Source #
The unique identifier of a notebook execution.
notebookExecution_notebookExecutionName :: Lens' NotebookExecution (Maybe Text) Source #
A name for the notebook execution.
notebookExecution_notebookInstanceSecurityGroupId :: Lens' NotebookExecution (Maybe Text) Source #
The unique identifier of the EC2 security group associated with the EMR Notebook instance. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
notebookExecution_notebookParams :: Lens' NotebookExecution (Maybe Text) Source #
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
notebookExecution_outputNotebookURI :: Lens' NotebookExecution (Maybe Text) Source #
The location of the notebook execution's output file in Amazon S3.
notebookExecution_startTime :: Lens' NotebookExecution (Maybe UTCTime) Source #
The timestamp when notebook execution started.
notebookExecution_status :: Lens' NotebookExecution (Maybe NotebookExecutionStatus) Source #
The status of the notebook execution.
START_PENDING
indicates that the cluster has received the execution request but execution has not begun.STARTING
indicates that the execution is starting on the cluster.RUNNING
indicates that the execution is being processed by the cluster.FINISHING
indicates that execution processing is in the final stages.FINISHED
indicates that the execution has completed without error.FAILING
indicates that the execution is failing and will not finish successfully.FAILED
indicates that the execution failed.STOP_PENDING
indicates that the cluster has received aStopNotebookExecution
request and the stop is pending.STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request.STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
notebookExecution_tags :: Lens' NotebookExecution (Maybe [Tag]) Source #
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.