libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.GetTableVersion

Description

Retrieves a specified version of a table.

Synopsis

Creating a Request

data GetTableVersion Source #

See: newGetTableVersion smart constructor.

Constructors

GetTableVersion' 

Fields

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

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

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

Defined in Amazonka.Glue.GetTableVersion

Read GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Show GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Generic GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Associated Types

type Rep GetTableVersion :: Type -> Type #

NFData GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Methods

rnf :: GetTableVersion -> () #

Hashable GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

ToJSON GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

AWSRequest GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Associated Types

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

type Rep GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type Rep GetTableVersion = D1 ('MetaData "GetTableVersion" "Amazonka.Glue.GetTableVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTableVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetTableVersion Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

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:

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

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

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

$sel:tableName:GetTableVersion', getTableVersion_tableName - The name of the table. For Hive compatibility, this name is entirely lowercase.

Request Lenses

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

Defined in Amazonka.Glue.GetTableVersion

Read GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Show GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Generic GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Associated Types

type Rep GetTableVersionResponse :: Type -> Type #

NFData GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

Methods

rnf :: GetTableVersionResponse -> () #

type Rep GetTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersion

type Rep GetTableVersionResponse = D1 ('MetaData "GetTableVersionResponse" "Amazonka.Glue.GetTableVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" '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