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

Description

Updates a partition.

Synopsis

Creating a Request

data UpdatePartition Source #

See: newUpdatePartition smart constructor.

Constructors

UpdatePartition' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the partition to be updated 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 in which the partition to be updated is located.

  • partitionValueList :: [Text]

    List of partition key values that define the partition to update.

  • partitionInput :: PartitionInput

    The new partition object to update the partition to.

    The Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

Instances

Instances details
Eq UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Read UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Show UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Generic UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Associated Types

type Rep UpdatePartition :: Type -> Type #

NFData UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Methods

rnf :: UpdatePartition -> () #

Hashable UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

ToJSON UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

AWSRequest UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Associated Types

type AWSResponse UpdatePartition #

ToHeaders UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

ToPath UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

ToQuery UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

type Rep UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

type Rep UpdatePartition = D1 ('MetaData "UpdatePartition" "Amazonka.Glue.UpdatePartition" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "UpdatePartition'" '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 "partitionValueList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "partitionInput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PartitionInput)))))
type AWSResponse UpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

newUpdatePartition Source #

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

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

$sel:tableName:UpdatePartition', updatePartition_tableName - The name of the table in which the partition to be updated is located.

$sel:partitionValueList:UpdatePartition', updatePartition_partitionValueList - List of partition key values that define the partition to update.

$sel:partitionInput:UpdatePartition', updatePartition_partitionInput - The new partition object to update the partition to.

The Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

Request Lenses

updatePartition_catalogId :: Lens' UpdatePartition (Maybe Text) Source #

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

updatePartition_databaseName :: Lens' UpdatePartition Text Source #

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

updatePartition_tableName :: Lens' UpdatePartition Text Source #

The name of the table in which the partition to be updated is located.

updatePartition_partitionValueList :: Lens' UpdatePartition [Text] Source #

List of partition key values that define the partition to update.

updatePartition_partitionInput :: Lens' UpdatePartition PartitionInput Source #

The new partition object to update the partition to.

The Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

Destructuring the Response

data UpdatePartitionResponse Source #

See: newUpdatePartitionResponse smart constructor.

Constructors

UpdatePartitionResponse' 

Fields

Instances

Instances details
Eq UpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Read UpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Show UpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Generic UpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Associated Types

type Rep UpdatePartitionResponse :: Type -> Type #

NFData UpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

Methods

rnf :: UpdatePartitionResponse -> () #

type Rep UpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdatePartition

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

newUpdatePartitionResponse Source #

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

Response Lenses