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.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
ToJSON DeleteTableVersion Source # 
Instance details

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

AWSRequest DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Associated Types

type AWSResponse DeleteTableVersion #

Generic DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Associated Types

type Rep DeleteTableVersion :: Type -> Type #

Read DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Show DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

NFData DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Methods

rnf :: DeleteTableVersion -> () #

Eq DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Hashable DeleteTableVersion Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" '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))))

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:

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.

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

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

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

Defined in Amazonka.Glue.DeleteTableVersion

Associated Types

type Rep DeleteTableVersionResponse :: Type -> Type #

Read DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Show DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

NFData DeleteTableVersionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteTableVersion

Eq 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" '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