Skip to content

/AWS1/CL_ATH=>CREATENOTEBOOK()

About CreateNotebook

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.

Method Signature

IMPORTING

Required arguments:

IV_WORKGROUP TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

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

IV_NAME TYPE /AWS1/ATHNOTEBOOKNAME /AWS1/ATHNOTEBOOKNAME

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

Optional arguments:

IV_CLIENTREQUESTTOKEN TYPE /AWS1/ATHCLIENTREQUESTTOKEN /AWS1/ATHCLIENTREQUESTTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHCREATENOTEBOOKOUT /AWS1/CL_ATHCREATENOTEBOOKOUT