Skip to content

Create Notebook

athena_create_notebook R Documentation

Creates an empty ipynb file in the specified Apache Spark enabled workgroup

Description

Creates an empty ipynb file in the specified Apache Spark enabled workgroup. Throws an error if a file in the workgroup with the same name already exists.

Usage

athena_create_notebook(WorkGroup, Name, ClientRequestToken)

Arguments

WorkGroup

[required] The name of the Spark enabled workgroup in which the notebook will be created.

Name

[required] The name of the ipynb file to be created in the Spark workgroup, without the .ipynb extension.

ClientRequestToken

A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).

This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for you. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

Value

A list with the following syntax:

list(
  NotebookId = "string"
)

Request syntax

svc$create_notebook(
  WorkGroup = "string",
  Name = "string",
  ClientRequestToken = "string"
)