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

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

AWSRequest DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Associated Types

type AWSResponse DeletePartition #

Generic DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Associated Types

type Rep DeletePartition :: Type -> Type #

Read DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Show DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

NFData DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Methods

rnf :: DeletePartition -> () #

Eq DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Hashable DeletePartition Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

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

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:

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.

DeletePartition, deletePartition_databaseName - The name of the catalog database in which the table in question resides.

DeletePartition, deletePartition_tableName - The name of the table that contains the partition to be deleted.

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

Defined in Amazonka.Glue.DeletePartition

Associated Types

type Rep DeletePartitionResponse :: Type -> Type #

Read DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Show DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

NFData DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

Methods

rnf :: DeletePartitionResponse -> () #

Eq DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

type Rep DeletePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeletePartition

type Rep DeletePartitionResponse = D1 ('MetaData "DeletePartitionResponse" "Amazonka.Glue.DeletePartition" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" '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