Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Starts a notebook execution.
Synopsis
- data StartNotebookExecution = StartNotebookExecution' {}
- newStartNotebookExecution :: Text -> Text -> ExecutionEngineConfig -> Text -> StartNotebookExecution
- startNotebookExecution_notebookInstanceSecurityGroupId :: Lens' StartNotebookExecution (Maybe Text)
- startNotebookExecution_notebookExecutionName :: 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:
$sel:notebookInstanceSecurityGroupId:StartNotebookExecution'
, startNotebookExecution_notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with
the EMR Notebook for this notebook execution.
$sel:notebookExecutionName:StartNotebookExecution'
, startNotebookExecution_notebookExecutionName
- An optional name for the notebook execution.
$sel:notebookParams:StartNotebookExecution'
, startNotebookExecution_notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime
for execution.
$sel:tags: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.
$sel:editorId: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
.
$sel:executionEngine:StartNotebookExecution'
, startNotebookExecution_executionEngine
- Specifies the execution engine (cluster) that runs the notebook
execution.
$sel:serviceRole: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_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_notebookExecutionName :: Lens' StartNotebookExecution (Maybe Text) Source #
An optional name for the 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
Eq StartNotebookExecutionResponse Source # | |
Read StartNotebookExecutionResponse Source # | |
Show StartNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StartNotebookExecution | |
Generic StartNotebookExecutionResponse Source # | |
NFData StartNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StartNotebookExecution rnf :: StartNotebookExecutionResponse -> () # | |
type Rep StartNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StartNotebookExecution type Rep StartNotebookExecutionResponse = D1 ('MetaData "StartNotebookExecutionResponse" "Amazonka.EMR.StartNotebookExecution" "libZSservicesZSamazonka-emrZSamazonka-emr" '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:
$sel:notebookExecutionId: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.