amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Athena.UpdateNotebookMetadata

Description

Updates the metadata for a notebook.

Synopsis

Creating a Request

data UpdateNotebookMetadata Source #

See: newUpdateNotebookMetadata smart constructor.

Constructors

UpdateNotebookMetadata' 

Fields

  • clientRequestToken :: Maybe Text

    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.

  • notebookId :: Text

    The ID of the notebook to update the metadata for.

  • name :: Text

    The name to update the notebook to.

Instances

Instances details
ToJSON UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

ToHeaders UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

ToPath UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

ToQuery UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

AWSRequest UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Associated Types

type AWSResponse UpdateNotebookMetadata #

Generic UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Associated Types

type Rep UpdateNotebookMetadata :: Type -> Type #

Read UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Show UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

NFData UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Methods

rnf :: UpdateNotebookMetadata -> () #

Eq UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Hashable UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

type AWSResponse UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

type Rep UpdateNotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

type Rep UpdateNotebookMetadata = D1 ('MetaData "UpdateNotebookMetadata" "Amazonka.Athena.UpdateNotebookMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "UpdateNotebookMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notebookId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateNotebookMetadata Source #

Create a value of UpdateNotebookMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientRequestToken:UpdateNotebookMetadata', updateNotebookMetadata_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.

UpdateNotebookMetadata, updateNotebookMetadata_notebookId - The ID of the notebook to update the metadata for.

UpdateNotebookMetadata, updateNotebookMetadata_name - The name to update the notebook to.

Request Lenses

updateNotebookMetadata_clientRequestToken :: Lens' UpdateNotebookMetadata (Maybe Text) Source #

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.

updateNotebookMetadata_notebookId :: Lens' UpdateNotebookMetadata Text Source #

The ID of the notebook to update the metadata for.

Destructuring the Response

data UpdateNotebookMetadataResponse Source #

See: newUpdateNotebookMetadataResponse smart constructor.

Constructors

UpdateNotebookMetadataResponse' 

Fields

Instances

Instances details
Generic UpdateNotebookMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Associated Types

type Rep UpdateNotebookMetadataResponse :: Type -> Type #

Read UpdateNotebookMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Show UpdateNotebookMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

NFData UpdateNotebookMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

Eq UpdateNotebookMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

type Rep UpdateNotebookMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateNotebookMetadata

type Rep UpdateNotebookMetadataResponse = D1 ('MetaData "UpdateNotebookMetadataResponse" "Amazonka.Athena.UpdateNotebookMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "UpdateNotebookMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateNotebookMetadataResponse Source #

Create a value of UpdateNotebookMetadataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateNotebookMetadataResponse', updateNotebookMetadataResponse_httpStatus - The response's http status code.

Response Lenses