Skip to content

/AWS1/CL_ATH=>UPDATENOTEBOOK()

About UpdateNotebook

Updates the contents of a Spark notebook.

Method Signature

IMPORTING

Required arguments:

IV_NOTEBOOKID TYPE /AWS1/ATHNOTEBOOKID /AWS1/ATHNOTEBOOKID

The ID of the notebook to update.

IV_PAYLOAD TYPE /AWS1/ATHPAYLOAD /AWS1/ATHPAYLOAD

The updated content for the notebook.

IV_TYPE TYPE /AWS1/ATHNOTEBOOKTYPE /AWS1/ATHNOTEBOOKTYPE

The notebook content type. Currently, the only valid type is IPYNB.

Optional arguments:

IV_SESSIONID TYPE /AWS1/ATHSESSIONID /AWS1/ATHSESSIONID

The active notebook session ID. Required if the notebook has an active session.

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_ATHUPDNOTEBOOKOUTPUT /AWS1/CL_ATHUPDNOTEBOOKOUTPUT