libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Read GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Show GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Generic GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type Rep GetTableMetadata :: Type -> Type #

NFData GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Methods

rnf :: GetTableMetadata -> () #

Hashable GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToJSON GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

AWSRequest GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type AWSResponse 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

type Rep GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadata = D1 ('MetaData "GetTableMetadata" "Amazonka.Athena.GetTableMetadata" "libZSservicesZSamazonka-athenaZSamazonka-athena" '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))))
type AWSResponse GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

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:

$sel:catalogName: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.

$sel:tableName: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
Eq GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Read GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Show GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Generic GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type Rep GetTableMetadataResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-athenaZSamazonka-athena" '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