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

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

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

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

Defined in Amazonka.Glue.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

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 #

Generic GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Associated Types

type Rep GetTableVersions :: Type -> Type #

Read GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Show GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

NFData GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Methods

rnf :: GetTableVersions -> () #

Eq GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Hashable GetTableVersions Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetTableVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

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:maxResults:GetTableVersions', getTableVersions_maxResults - The maximum number of table versions to return in one response.

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

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

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_maxResults :: Lens' GetTableVersions (Maybe Natural) Source #

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

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

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

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
Generic GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Associated Types

type Rep GetTableVersionsResponse :: Type -> Type #

Read GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Show GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

NFData GetTableVersionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTableVersions

Eq 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetTableVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tableVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableVersion])) :*: 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:

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

$sel:tableVersions:GetTableVersionsResponse', getTableVersionsResponse_tableVersions - A list of strings identifying available versions of the specified table.

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

Response Lenses

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

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

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

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