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.ExportNotebook

Description

Exports the specified notebook and its metadata.

Synopsis

Creating a Request

data ExportNotebook Source #

See: newExportNotebook smart constructor.

Constructors

ExportNotebook' 

Fields

Instances

Instances details
ToJSON ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

ToHeaders ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

ToPath ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

ToQuery ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

AWSRequest ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Associated Types

type AWSResponse ExportNotebook #

Generic ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Associated Types

type Rep ExportNotebook :: Type -> Type #

Read ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Show ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

NFData ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Methods

rnf :: ExportNotebook -> () #

Eq ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Hashable ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

type AWSResponse ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

type Rep ExportNotebook Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

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

newExportNotebook Source #

Create a value of ExportNotebook 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:

ExportNotebook, exportNotebook_notebookId - The ID of the notebook to export.

Request Lenses

exportNotebook_notebookId :: Lens' ExportNotebook Text Source #

The ID of the notebook to export.

Destructuring the Response

data ExportNotebookResponse Source #

See: newExportNotebookResponse smart constructor.

Constructors

ExportNotebookResponse' 

Fields

Instances

Instances details
Generic ExportNotebookResponse Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Associated Types

type Rep ExportNotebookResponse :: Type -> Type #

Read ExportNotebookResponse Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Show ExportNotebookResponse Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

NFData ExportNotebookResponse Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

Methods

rnf :: ExportNotebookResponse -> () #

Eq ExportNotebookResponse Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

type Rep ExportNotebookResponse Source # 
Instance details

Defined in Amazonka.Athena.ExportNotebook

type Rep ExportNotebookResponse = D1 ('MetaData "ExportNotebookResponse" "Amazonka.Athena.ExportNotebook" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ExportNotebookResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notebookMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookMetadata)) :*: (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newExportNotebookResponse Source #

Create a value of ExportNotebookResponse 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:notebookMetadata:ExportNotebookResponse', exportNotebookResponse_notebookMetadata - The notebook metadata, including notebook ID, notebook name, and workgroup name.

$sel:payload:ExportNotebookResponse', exportNotebookResponse_payload - The content of the exported notebook.

$sel:httpStatus:ExportNotebookResponse', exportNotebookResponse_httpStatus - The response's http status code.

Response Lenses

exportNotebookResponse_notebookMetadata :: Lens' ExportNotebookResponse (Maybe NotebookMetadata) Source #

The notebook metadata, including notebook ID, notebook name, and workgroup name.