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 |
Starts a notebook execution.
Synopsis
- data StartNotebookExecution = StartNotebookExecution' {}
- newStartNotebookExecution :: Text -> Text -> ExecutionEngineConfig -> Text -> StartNotebookExecution
- startNotebookExecution_notebookExecutionName :: Lens' StartNotebookExecution (Maybe Text)
- startNotebookExecution_notebookInstanceSecurityGroupId :: Lens' StartNotebookExecution (Maybe Text)
- startNotebookExecution_notebookParams :: Lens' StartNotebookExecution (Maybe Text)
- startNotebookExecution_tags :: Lens' StartNotebookExecution (Maybe [Tag])
- startNotebookExecution_editorId :: Lens' StartNotebookExecution Text
- startNotebookExecution_relativePath :: Lens' StartNotebookExecution Text
- startNotebookExecution_executionEngine :: Lens' StartNotebookExecution ExecutionEngineConfig
- startNotebookExecution_serviceRole :: Lens' StartNotebookExecution Text
- data StartNotebookExecutionResponse = StartNotebookExecutionResponse' {}
- newStartNotebookExecutionResponse :: Int -> StartNotebookExecutionResponse
- startNotebookExecutionResponse_notebookExecutionId :: Lens' StartNotebookExecutionResponse (Maybe Text)
- startNotebookExecutionResponse_httpStatus :: Lens' StartNotebookExecutionResponse Int
Creating a Request
data StartNotebookExecution Source #
See: newStartNotebookExecution
smart constructor.
StartNotebookExecution' | |
|
Instances
newStartNotebookExecution Source #
:: Text | |
-> Text | |
-> ExecutionEngineConfig | |
-> Text | |
-> StartNotebookExecution |
Create a value of StartNotebookExecution
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:
StartNotebookExecution
, startNotebookExecution_notebookExecutionName
- An optional name for the notebook execution.
StartNotebookExecution
, startNotebookExecution_notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with
the EMR Notebook for this notebook execution.
StartNotebookExecution
, startNotebookExecution_notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime
for execution.
StartNotebookExecution
, startNotebookExecution_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.
StartNotebookExecution
, startNotebookExecution_editorId
- The unique identifier of the EMR Notebook to use for notebook execution.
$sel:relativePath:StartNotebookExecution'
, startNotebookExecution_relativePath
- The path and file name of the notebook file for this execution, relative
to the path specified for the EMR Notebook. For example, if you specify
a path of s3://MyBucket/MyNotebooks
when you create an EMR Notebook
for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the
file for the notebook execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
StartNotebookExecution
, startNotebookExecution_executionEngine
- Specifies the execution engine (cluster) that runs the notebook
execution.
StartNotebookExecution
, startNotebookExecution_serviceRole
- The name or ARN of the IAM role that is used as the service role for
Amazon EMR (the EMR role) for the notebook execution.
Request Lenses
startNotebookExecution_notebookExecutionName :: Lens' StartNotebookExecution (Maybe Text) Source #
An optional name for the notebook execution.
startNotebookExecution_notebookInstanceSecurityGroupId :: Lens' StartNotebookExecution (Maybe Text) Source #
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.
startNotebookExecution_notebookParams :: Lens' StartNotebookExecution (Maybe Text) Source #
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
startNotebookExecution_tags :: Lens' StartNotebookExecution (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.
startNotebookExecution_editorId :: Lens' StartNotebookExecution Text Source #
The unique identifier of the EMR Notebook to use for notebook execution.
startNotebookExecution_relativePath :: Lens' StartNotebookExecution Text Source #
The path and file name of the notebook file for this execution, relative
to the path specified for the EMR Notebook. For example, if you specify
a path of s3://MyBucket/MyNotebooks
when you create an EMR Notebook
for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the
file for the notebook execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
startNotebookExecution_executionEngine :: Lens' StartNotebookExecution ExecutionEngineConfig Source #
Specifies the execution engine (cluster) that runs the notebook execution.
startNotebookExecution_serviceRole :: Lens' StartNotebookExecution Text Source #
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook execution.
Destructuring the Response
data StartNotebookExecutionResponse Source #
See: newStartNotebookExecutionResponse
smart constructor.
StartNotebookExecutionResponse' | |
|
Instances
Generic StartNotebookExecutionResponse Source # | |
Read StartNotebookExecutionResponse Source # | |
Show StartNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StartNotebookExecution | |
NFData StartNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StartNotebookExecution rnf :: StartNotebookExecutionResponse -> () # | |
Eq StartNotebookExecutionResponse Source # | |
type Rep StartNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StartNotebookExecution type Rep StartNotebookExecutionResponse = D1 ('MetaData "StartNotebookExecutionResponse" "Amazonka.EMR.StartNotebookExecution" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "StartNotebookExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notebookExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartNotebookExecutionResponse Source #
Create a value of StartNotebookExecutionResponse
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:
StartNotebookExecutionResponse
, startNotebookExecutionResponse_notebookExecutionId
- The unique identifier of the notebook execution.
$sel:httpStatus:StartNotebookExecutionResponse'
, startNotebookExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
startNotebookExecutionResponse_notebookExecutionId :: Lens' StartNotebookExecutionResponse (Maybe Text) Source #
The unique identifier of the notebook execution.
startNotebookExecutionResponse_httpStatus :: Lens' StartNotebookExecutionResponse Int Source #
The response's http status code.