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.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
Eq DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Read DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Show DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Generic DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Associated Types

type Rep DeletePartitionIndex :: Type -> Type #

NFData DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Methods

rnf :: DeletePartitionIndex -> () #

Hashable DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

ToJSON DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

AWSRequest DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Associated Types

type AWSResponse 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

type Rep DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

type Rep DeletePartitionIndex = D1 ('MetaData "DeletePartitionIndex" "Amazonka.Glue.DeletePartitionIndex" "libZSservicesZSamazonka-glueZSamazonka-glue" '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))))
type AWSResponse DeletePartitionIndex Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

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:

$sel:catalogId:DeletePartitionIndex', deletePartitionIndex_catalogId - The catalog ID where the table resides.

$sel:databaseName:DeletePartitionIndex', deletePartitionIndex_databaseName - Specifies the name of a database from which you want to delete a partition index.

$sel:tableName:DeletePartitionIndex', deletePartitionIndex_tableName - Specifies the name of a table from which you want to delete a partition index.

$sel:indexName: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
Eq DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Read DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Show DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Generic DeletePartitionIndexResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartitionIndex

Associated Types

type Rep DeletePartitionIndexResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-glueZSamazonka-glue" '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