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

Description

Deletes a specified batch of versions of a table.

Synopsis

Creating a Request

data BatchDeleteTableVersion Source #

See: newBatchDeleteTableVersion smart constructor.

Constructors

BatchDeleteTableVersion' 

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.

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

  • versionIds :: [Text]

    A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1.

Instances

Instances details
Eq BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Read BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Show BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Generic BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Associated Types

type Rep BatchDeleteTableVersion :: Type -> Type #

NFData BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Methods

rnf :: BatchDeleteTableVersion -> () #

Hashable BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

ToJSON BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

AWSRequest BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

ToHeaders BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

ToPath BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

ToQuery BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

type Rep BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

type Rep BatchDeleteTableVersion = D1 ('MetaData "BatchDeleteTableVersion" "Amazonka.Glue.BatchDeleteTableVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchDeleteTableVersion'" 'PrefixI 'True) ((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) :*: S1 ('MetaSel ('Just "versionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse BatchDeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

newBatchDeleteTableVersion Source #

Create a value of BatchDeleteTableVersion 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:BatchDeleteTableVersion', batchDeleteTableVersion_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:BatchDeleteTableVersion', batchDeleteTableVersion_databaseName - The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

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

$sel:versionIds:BatchDeleteTableVersion', batchDeleteTableVersion_versionIds - A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1.

Request Lenses

batchDeleteTableVersion_catalogId :: Lens' BatchDeleteTableVersion (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.

batchDeleteTableVersion_databaseName :: Lens' BatchDeleteTableVersion Text Source #

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

batchDeleteTableVersion_tableName :: Lens' BatchDeleteTableVersion Text Source #

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

batchDeleteTableVersion_versionIds :: Lens' BatchDeleteTableVersion [Text] Source #

A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1.

Destructuring the Response

data BatchDeleteTableVersionResponse Source #

See: newBatchDeleteTableVersionResponse smart constructor.

Constructors

BatchDeleteTableVersionResponse' 

Fields

Instances

Instances details
Eq BatchDeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Read BatchDeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Show BatchDeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Generic BatchDeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

Associated Types

type Rep BatchDeleteTableVersionResponse :: Type -> Type #

NFData BatchDeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

type Rep BatchDeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteTableVersion

type Rep BatchDeleteTableVersionResponse = D1 ('MetaData "BatchDeleteTableVersionResponse" "Amazonka.Glue.BatchDeleteTableVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchDeleteTableVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableVersionError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchDeleteTableVersionResponse Source #

Create a value of BatchDeleteTableVersionResponse 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:errors:BatchDeleteTableVersionResponse', batchDeleteTableVersionResponse_errors - A list of errors encountered while trying to delete the specified table versions.

$sel:httpStatus:BatchDeleteTableVersionResponse', batchDeleteTableVersionResponse_httpStatus - The response's http status code.

Response Lenses

batchDeleteTableVersionResponse_errors :: Lens' BatchDeleteTableVersionResponse (Maybe [TableVersionError]) Source #

A list of errors encountered while trying to delete the specified table versions.