amazonka-glue-2.0: Amazon Glue 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.Glue.GetTableVersion

Description

Retrieves a specified version of a table.

Synopsis

Creating a Request

data GetTableVersion Source #

See: newGetTableVersion smart constructor.

Constructors

GetTableVersion' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

  • versionId :: Maybe Text

    The ID value of the table version to be retrieved. A VersionID is a string representation of an integer. Each version is incremented by 1.

  • databaseName :: Text

    The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

  • tableName :: Text

    The name of the table. For Hive compatibility, this name is entirely lowercase.

Instances

Instances details
ToJSON GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

ToHeaders GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

ToPath GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

ToQuery GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

AWSRequest GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Associated Types

type AWSResponse GetTableVersion #

Generic GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Associated Types

type Rep GetTableVersion :: Type -> Type #

Read GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Show GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

NFData GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Methods

rnf :: GetTableVersion -> () #

Eq GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Hashable GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type AWSResponse GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type Rep GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type Rep GetTableVersion = D1 ('MetaData "GetTableVersion" "Amazonka.Glue.GetTableVersion" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetTableVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetTableVersion Source #

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

GetTableVersion, getTableVersion_catalogId - The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

GetTableVersion, getTableVersion_versionId - The ID value of the table version to be retrieved. A VersionID is a string representation of an integer. Each version is incremented by 1.

GetTableVersion, getTableVersion_databaseName - The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

GetTableVersion, getTableVersion_tableName - The name of the table. For Hive compatibility, this name is entirely lowercase.

Request Lenses

getTableVersion_catalogId :: Lens' GetTableVersion (Maybe Text) Source #

The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

getTableVersion_versionId :: Lens' GetTableVersion (Maybe Text) Source #

The ID value of the table version to be retrieved. A VersionID is a string representation of an integer. Each version is incremented by 1.

getTableVersion_databaseName :: Lens' GetTableVersion Text Source #

The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

getTableVersion_tableName :: Lens' GetTableVersion Text Source #

The name of the table. For Hive compatibility, this name is entirely lowercase.

Destructuring the Response

data GetTableVersionResponse Source #

See: newGetTableVersionResponse smart constructor.

Constructors

GetTableVersionResponse' 

Fields

Instances

Instances details
Generic GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Associated Types

type Rep GetTableVersionResponse :: Type -> Type #

Read GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Show GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

NFData GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Methods

rnf :: GetTableVersionResponse -> () #

Eq GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type Rep GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type Rep GetTableVersionResponse = D1 ('MetaData "GetTableVersionResponse" "Amazonka.Glue.GetTableVersion" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetTableVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableVersion)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTableVersionResponse Source #

Create a value of GetTableVersionResponse 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:tableVersion:GetTableVersionResponse', getTableVersionResponse_tableVersion - The requested table version.

$sel:httpStatus:GetTableVersionResponse', getTableVersionResponse_httpStatus - The response's http status code.

Response Lenses