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.Types.NotebookMetadata

Description

 
Synopsis

Documentation

data NotebookMetadata Source #

Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.

See: newNotebookMetadata smart constructor.

Constructors

NotebookMetadata' 

Fields

Instances

Instances details
FromJSON NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Generic NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Associated Types

type Rep NotebookMetadata :: Type -> Type #

Read NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Show NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

NFData NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Methods

rnf :: NotebookMetadata -> () #

Eq NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Hashable NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

type Rep NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

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

newNotebookMetadata :: NotebookMetadata Source #

Create a value of NotebookMetadata 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:creationTime:NotebookMetadata', notebookMetadata_creationTime - The time when the notebook was created.

$sel:lastModifiedTime:NotebookMetadata', notebookMetadata_lastModifiedTime - The time when the notebook was last modified.

$sel:name:NotebookMetadata', notebookMetadata_name - The name of the notebook.

$sel:notebookId:NotebookMetadata', notebookMetadata_notebookId - The notebook ID.

$sel:type':NotebookMetadata', notebookMetadata_type - The type of notebook. Currently, the only valid type is IPYNB.

$sel:workGroup:NotebookMetadata', notebookMetadata_workGroup - The name of the Spark enabled workgroup to which the notebook belongs.

notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime) Source #

The time when the notebook was created.

notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime) Source #

The time when the notebook was last modified.

notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType) Source #

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

notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text) Source #

The name of the Spark enabled workgroup to which the notebook belongs.