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

Description

Deletes a specified partition index from an existing table.

Synopsis

Creating a Request

data DeletePartitionIndex Source #

See: newDeletePartitionIndex smart constructor.

Constructors

DeletePartitionIndex' 

Fields

  • catalogId :: Maybe Text

    The catalog ID where the table resides.

  • databaseName :: Text

    Specifies the name of a database from which you want to delete a partition index.

  • tableName :: Text

    Specifies the name of a table from which you want to delete a partition index.

  • indexName :: Text

    The name of the partition index to be deleted.

Instances

Instances details
ToJSON DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

ToHeaders DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

ToPath DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

ToQuery DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

AWSRequest DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Associated Types

type AWSResponse DeletePartitionIndex #

Generic DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Associated Types

type Rep DeletePartitionIndex :: Type -> Type #

Read DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Show DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

NFData DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Methods

rnf :: DeletePartitionIndex -> () #

Eq DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Hashable DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

type AWSResponse DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

type Rep DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

type Rep DeletePartitionIndex = D1 ('MetaData "DeletePartitionIndex" "Amazonka.Glue.DeletePartitionIndex" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "DeletePartitionIndex'" '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 "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeletePartitionIndex Source #

Create a value of DeletePartitionIndex 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:

DeletePartitionIndex, deletePartitionIndex_catalogId - The catalog ID where the table resides.

DeletePartitionIndex, deletePartitionIndex_databaseName - Specifies the name of a database from which you want to delete a partition index.

DeletePartitionIndex, deletePartitionIndex_tableName - Specifies the name of a table from which you want to delete a partition index.

DeletePartitionIndex, deletePartitionIndex_indexName - The name of the partition index to be deleted.

Request Lenses

deletePartitionIndex_catalogId :: Lens' DeletePartitionIndex (Maybe Text) Source #

The catalog ID where the table resides.

deletePartitionIndex_databaseName :: Lens' DeletePartitionIndex Text Source #

Specifies the name of a database from which you want to delete a partition index.

deletePartitionIndex_tableName :: Lens' DeletePartitionIndex Text Source #

Specifies the name of a table from which you want to delete a partition index.

deletePartitionIndex_indexName :: Lens' DeletePartitionIndex Text Source #

The name of the partition index to be deleted.

Destructuring the Response

data DeletePartitionIndexResponse Source #

See: newDeletePartitionIndexResponse smart constructor.

Constructors

DeletePartitionIndexResponse' 

Fields

Instances

Instances details
Generic DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Associated Types

type Rep DeletePartitionIndexResponse :: Type -> Type #

Read DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Show DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

NFData DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Eq DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

type Rep DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

type Rep DeletePartitionIndexResponse = D1 ('MetaData "DeletePartitionIndexResponse" "Amazonka.Glue.DeletePartitionIndex" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "DeletePartitionIndexResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeletePartitionIndexResponse Source #

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

Response Lenses