Start Notebook Execution
| emr_start_notebook_execution | R Documentation |
Starts a notebook execution¶
Description¶
Starts a notebook execution.
Usage¶
emr_start_notebook_execution(EditorId, RelativePath,
NotebookExecutionName, NotebookParams, ExecutionEngine, ServiceRole,
NotebookInstanceSecurityGroupId, Tags, NotebookS3Location,
OutputNotebookS3Location, OutputNotebookFormat, EnvironmentVariables)
Arguments¶
EditorIdThe unique identifier of the Amazon EMR Notebook to use for notebook execution.
RelativePathThe path and file name of the notebook file for this execution, relative to the path specified for the Amazon EMR Notebook. For example, if you specify a path of
s3://MyBucket/MyNotebookswhen you create an Amazon EMR Notebook for a notebook with an ID ofe-ABCDEFGHIJK1234567890ABCD(theEditorIDof this request), and you specify aRelativePathofmy_notebook_executions/notebook_execution.ipynb, the location of the file for the notebook execution iss3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.NotebookExecutionNameAn optional name for the notebook execution.
NotebookParamsInput parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
ExecutionEngine[required] Specifies the execution engine (cluster) that runs the notebook execution.
ServiceRole[required] The name or ARN of the IAM role that is used as the service role for Amazon EMR (the Amazon EMR role) for the notebook execution.
NotebookInstanceSecurityGroupIdThe unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
TagsA 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.
NotebookS3LocationThe Amazon S3 location for the notebook execution input.
OutputNotebookS3LocationThe Amazon S3 location for the notebook execution output.
OutputNotebookFormatThe output format for the notebook execution.
EnvironmentVariablesThe environment variables associated with the notebook execution.
Value¶
A list with the following syntax:
Request syntax¶
svc$start_notebook_execution(
EditorId = "string",
RelativePath = "string",
NotebookExecutionName = "string",
NotebookParams = "string",
ExecutionEngine = list(
Id = "string",
Type = "EMR",
MasterInstanceSecurityGroupId = "string",
ExecutionRoleArn = "string"
),
ServiceRole = "string",
NotebookInstanceSecurityGroupId = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
NotebookS3Location = list(
Bucket = "string",
Key = "string"
),
OutputNotebookS3Location = list(
Bucket = "string",
Key = "string"
),
OutputNotebookFormat = "HTML",
EnvironmentVariables = list(
"string"
)
)