Learn R Programming

paws.analytics (version 0.1.11)

emr_start_notebook_execution: Starts a notebook execution

Description

Starts a notebook execution.

Usage

emr_start_notebook_execution(EditorId, RelativePath,
  NotebookExecutionName, NotebookParams, ExecutionEngine, ServiceRole,
  NotebookInstanceSecurityGroupId, Tags)

Arguments

EditorId

[required] The unique identifier of the EMR Notebook to use for notebook execution.

RelativePath

[required] 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.

NotebookExecutionName

An optional name for the notebook execution.

NotebookParams

Input parameters in JSON format passed to the 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 EMR role) for the notebook execution.

NotebookInstanceSecurityGroupId

The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.

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.

Value

A list with the following syntax:

list(
  NotebookExecutionId = "string"
)

Request syntax

svc$start_notebook_execution(
  EditorId = "string",
  RelativePath = "string",
  NotebookExecutionName = "string",
  NotebookParams = "string",
  ExecutionEngine = list(
    Id = "string",
    Type = "EMR",
    MasterInstanceSecurityGroupId = "string"
  ),
  ServiceRole = "string",
  NotebookInstanceSecurityGroupId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)