Skip to content

AthenaClient.update_notebook_metadata

rboto-athena==0.4.0 · Service index · Types

Model summary (excerpt): Updates the metadata for a notebook.

Install and imports

python -m pip install "rboto[athena]==0.4.0"
from rboto import AthenaClient
from rboto_athena.types import (
    UpdateNotebookMetadataOutput,
)

Signature

async def update_notebook_metadata(
    *,
    notebook_id: str,
    name: str,
    client_request_token: str | None = None,
) -> UpdateNotebookMetadataOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
notebook_id Yes The ID of the notebook to update the metadata for.
name Yes The name to update the notebook to.
client_request_token No 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...

Output

UpdateNotebookMetadataOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

No fields.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

UpdateNotebookMetadataOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_athena.exceptions:

InternalServerError, InvalidRequestError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model