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

Description

Retrieves a list of strings that identify available versions of a specified table.

This operation returns paginated results.

Synopsis

Creating a Request

data GetTableVersions Source #

See: newGetTableVersions smart constructor.

Constructors

GetTableVersions' 

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.

  • nextToken :: Maybe Text

    A continuation token, if this is not the first call.

  • maxResults :: Maybe Natural

    The maximum number of table versions to return in one response.

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

Defined in Amazonka.Glue.GetTableVersions

Read GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Show GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Generic GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Associated Types

type Rep GetTableVersions :: Type -> Type #

NFData GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Methods

rnf :: GetTableVersions -> () #

Hashable GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

ToJSON GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

AWSPager GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

AWSRequest GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Associated Types

type AWSResponse GetTableVersions #

ToHeaders GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

ToPath GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

ToQuery GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

type Rep GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

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

Defined in Amazonka.Glue.GetTableVersions

newGetTableVersions Source #

Create a value of GetTableVersions 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:catalogId:GetTableVersions', getTableVersions_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:nextToken:GetTableVersions', getTableVersions_nextToken - A continuation token, if this is not the first call.

$sel:maxResults:GetTableVersions', getTableVersions_maxResults - The maximum number of table versions to return in one response.

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

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

Request Lenses

getTableVersions_catalogId :: Lens' GetTableVersions (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.

getTableVersions_nextToken :: Lens' GetTableVersions (Maybe Text) Source #

A continuation token, if this is not the first call.

getTableVersions_maxResults :: Lens' GetTableVersions (Maybe Natural) Source #

The maximum number of table versions to return in one response.

getTableVersions_databaseName :: Lens' GetTableVersions Text Source #

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

getTableVersions_tableName :: Lens' GetTableVersions Text Source #

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

Destructuring the Response

data GetTableVersionsResponse Source #

See: newGetTableVersionsResponse smart constructor.

Constructors

GetTableVersionsResponse' 

Fields

Instances

Instances details
Eq GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Read GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Show GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Generic GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Associated Types

type Rep GetTableVersionsResponse :: Type -> Type #

NFData GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

type Rep GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

type Rep GetTableVersionsResponse = D1 ('MetaData "GetTableVersionsResponse" "Amazonka.Glue.GetTableVersions" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTableVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableVersion])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTableVersionsResponse Source #

Create a value of GetTableVersionsResponse 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:tableVersions:GetTableVersionsResponse', getTableVersionsResponse_tableVersions - A list of strings identifying available versions of the specified table.

$sel:nextToken:GetTableVersions', getTableVersionsResponse_nextToken - A continuation token, if the list of available versions does not include the last one.

$sel:httpStatus:GetTableVersionsResponse', getTableVersionsResponse_httpStatus - The response's http status code.

Response Lenses

getTableVersionsResponse_tableVersions :: Lens' GetTableVersionsResponse (Maybe [TableVersion]) Source #

A list of strings identifying available versions of the specified table.

getTableVersionsResponse_nextToken :: Lens' GetTableVersionsResponse (Maybe Text) Source #

A continuation token, if the list of available versions does not include the last one.