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

Description

Deletes a specified version of a table.

Synopsis

Creating a Request

data DeleteTableVersion Source #

See: newDeleteTableVersion smart constructor.

Constructors

DeleteTableVersion' 

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.

  • versionId :: Text

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

Instances

Instances details
Eq DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Read DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Show DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Generic DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Associated Types

type Rep DeleteTableVersion :: Type -> Type #

NFData DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Methods

rnf :: DeleteTableVersion -> () #

Hashable DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

ToJSON DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

AWSRequest DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Associated Types

type AWSResponse DeleteTableVersion #

ToHeaders DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

ToPath DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

ToQuery DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

type Rep DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

type Rep DeleteTableVersion = D1 ('MetaData "DeleteTableVersion" "Amazonka.Glue.DeleteTableVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteTableVersion'" '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 "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

newDeleteTableVersion Source #

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

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

$sel:versionId:DeleteTableVersion', deleteTableVersion_versionId - The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.

Request Lenses

deleteTableVersion_catalogId :: Lens' DeleteTableVersion (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.

deleteTableVersion_databaseName :: Lens' DeleteTableVersion Text Source #

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

deleteTableVersion_tableName :: Lens' DeleteTableVersion Text Source #

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

deleteTableVersion_versionId :: Lens' DeleteTableVersion Text Source #

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

Destructuring the Response

data DeleteTableVersionResponse Source #

See: newDeleteTableVersionResponse smart constructor.

Constructors

DeleteTableVersionResponse' 

Fields

Instances

Instances details
Eq DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Read DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Show DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Generic DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Associated Types

type Rep DeleteTableVersionResponse :: Type -> Type #

NFData DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

type Rep DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

type Rep DeleteTableVersionResponse = D1 ('MetaData "DeleteTableVersionResponse" "Amazonka.Glue.DeleteTableVersion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteTableVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTableVersionResponse Source #

Create a value of DeleteTableVersionResponse 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:httpStatus:DeleteTableVersionResponse', deleteTableVersionResponse_httpStatus - The response's http status code.

Response Lenses