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

Description

Deletes a specified partition.

Synopsis

Creating a Request

data DeletePartition Source #

See: newDeletePartition smart constructor.

Constructors

DeletePartition' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

  • databaseName :: Text

    The name of the catalog database in which the table in question resides.

  • tableName :: Text

    The name of the table that contains the partition to be deleted.

  • partitionValues :: [Text]

    The values that define the partition.

Instances

Instances details
Eq DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Read DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Show DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Generic DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Associated Types

type Rep DeletePartition :: Type -> Type #

NFData DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Methods

rnf :: DeletePartition -> () #

Hashable DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

ToJSON DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

AWSRequest DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Associated Types

type AWSResponse DeletePartition #

ToHeaders DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

ToPath DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

ToQuery DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

type Rep DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

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

Defined in Amazonka.Glue.DeletePartition

newDeletePartition Source #

Create a value of DeletePartition 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:DeletePartition', deletePartition_catalogId - The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

$sel:databaseName:DeletePartition', deletePartition_databaseName - The name of the catalog database in which the table in question resides.

$sel:tableName:DeletePartition', deletePartition_tableName - The name of the table that contains the partition to be deleted.

$sel:partitionValues:DeletePartition', deletePartition_partitionValues - The values that define the partition.

Request Lenses

deletePartition_catalogId :: Lens' DeletePartition (Maybe Text) Source #

The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

deletePartition_databaseName :: Lens' DeletePartition Text Source #

The name of the catalog database in which the table in question resides.

deletePartition_tableName :: Lens' DeletePartition Text Source #

The name of the table that contains the partition to be deleted.

deletePartition_partitionValues :: Lens' DeletePartition [Text] Source #

The values that define the partition.

Destructuring the Response

data DeletePartitionResponse Source #

See: newDeletePartitionResponse smart constructor.

Constructors

DeletePartitionResponse' 

Fields

Instances

Instances details
Eq DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Read DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Show DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Generic DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Associated Types

type Rep DeletePartitionResponse :: Type -> Type #

NFData DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Methods

rnf :: DeletePartitionResponse -> () #

type Rep DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

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

newDeletePartitionResponse Source #

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

Response Lenses