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

Description

Returns table metadata for the specified catalog, database, and table.

Synopsis

Creating a Request

data GetTableMetadata Source #

See: newGetTableMetadata smart constructor.

Constructors

GetTableMetadata' 

Fields

  • catalogName :: Text

    The name of the data catalog that contains the database and table metadata to return.

  • databaseName :: Text

    The name of the database that contains the table metadata to return.

  • tableName :: Text

    The name of the table for which metadata is returned.

Instances

Instances details
ToJSON GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToHeaders GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToPath GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToQuery GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

AWSRequest GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type AWSResponse GetTableMetadata #

Generic GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type Rep GetTableMetadata :: Type -> Type #

Read GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Show GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

NFData GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Methods

rnf :: GetTableMetadata -> () #

Eq GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Hashable GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type AWSResponse GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadata = D1 ('MetaData "GetTableMetadata" "Amazonka.Athena.GetTableMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "GetTableMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetTableMetadata Source #

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

GetTableMetadata, getTableMetadata_catalogName - The name of the data catalog that contains the database and table metadata to return.

$sel:databaseName:GetTableMetadata', getTableMetadata_databaseName - The name of the database that contains the table metadata to return.

GetTableMetadata, getTableMetadata_tableName - The name of the table for which metadata is returned.

Request Lenses

getTableMetadata_catalogName :: Lens' GetTableMetadata Text Source #

The name of the data catalog that contains the database and table metadata to return.

getTableMetadata_databaseName :: Lens' GetTableMetadata Text Source #

The name of the database that contains the table metadata to return.

getTableMetadata_tableName :: Lens' GetTableMetadata Text Source #

The name of the table for which metadata is returned.

Destructuring the Response

data GetTableMetadataResponse Source #

See: newGetTableMetadataResponse smart constructor.

Constructors

GetTableMetadataResponse' 

Fields

Instances

Instances details
Generic GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type Rep GetTableMetadataResponse :: Type -> Type #

Read GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Show GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

NFData GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Eq GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadataResponse = D1 ('MetaData "GetTableMetadataResponse" "Amazonka.Athena.GetTableMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "GetTableMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTableMetadataResponse Source #

Create a value of GetTableMetadataResponse 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:tableMetadata:GetTableMetadataResponse', getTableMetadataResponse_tableMetadata - An object that contains table metadata.

$sel:httpStatus:GetTableMetadataResponse', getTableMetadataResponse_httpStatus - The response's http status code.

Response Lenses