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

Description

Returns the specified data catalog.

Synopsis

Creating a Request

data GetDataCatalog Source #

See: newGetDataCatalog smart constructor.

Constructors

GetDataCatalog' 

Fields

  • name :: Text

    The name of the data catalog to return.

Instances

Instances details
ToJSON GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

ToHeaders GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

ToPath GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

ToQuery GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

AWSRequest GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Associated Types

type AWSResponse GetDataCatalog #

Generic GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Associated Types

type Rep GetDataCatalog :: Type -> Type #

Read GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Show GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

NFData GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Methods

rnf :: GetDataCatalog -> () #

Eq GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Hashable GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

type AWSResponse GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

type Rep GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

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

newGetDataCatalog Source #

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

GetDataCatalog, getDataCatalog_name - The name of the data catalog to return.

Request Lenses

getDataCatalog_name :: Lens' GetDataCatalog Text Source #

The name of the data catalog to return.

Destructuring the Response

data GetDataCatalogResponse Source #

See: newGetDataCatalogResponse smart constructor.

Constructors

GetDataCatalogResponse' 

Fields

Instances

Instances details
Generic GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Associated Types

type Rep GetDataCatalogResponse :: Type -> Type #

Read GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Show GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

NFData GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Methods

rnf :: GetDataCatalogResponse -> () #

Eq GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

type Rep GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

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

newGetDataCatalogResponse Source #

Create a value of GetDataCatalogResponse 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:dataCatalog:GetDataCatalogResponse', getDataCatalogResponse_dataCatalog - The data catalog returned.

$sel:httpStatus:GetDataCatalogResponse', getDataCatalogResponse_httpStatus - The response's http status code.

Response Lenses