v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1460298233.0 KB

Updates the contents of a Spark notebook.

post/#X-Amz-Target=AmazonAthena.UpdateNotebook

Headers

X-Amz-Target'AmazonAthena.UpdateNotebook' required

Request body

NotebookIdstring required

The ID of the notebook to update.

Payloadstring required

The updated content for the notebook.

Type'IPYNB' required

The notebook content type. Currently, the only valid type is <code>IPYNB</code>.

SessionIdstring

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

ClientRequestTokenstring
<p>A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).</p> <important> <p>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.</p> </important>

Response

Success

UpdateNotebookOutput required