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

Description

Updates one or more partitions in a batch operation.

Synopsis

Creating a Request

data BatchUpdatePartition Source #

See: newBatchUpdatePartition smart constructor.

Constructors

BatchUpdatePartition' 

Fields

Instances

Instances details
ToJSON BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

ToHeaders BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

ToPath BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

ToQuery BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

AWSRequest BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Associated Types

type AWSResponse BatchUpdatePartition #

Generic BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Associated Types

type Rep BatchUpdatePartition :: Type -> Type #

Read BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Show BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

NFData BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Methods

rnf :: BatchUpdatePartition -> () #

Eq BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Hashable BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

type AWSResponse BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

type Rep BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

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

newBatchUpdatePartition Source #

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

BatchUpdatePartition, batchUpdatePartition_catalogId - The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.

BatchUpdatePartition, batchUpdatePartition_databaseName - The name of the metadata database in which the partition is to be updated.

BatchUpdatePartition, batchUpdatePartition_tableName - The name of the metadata table in which the partition is to be updated.

$sel:entries:BatchUpdatePartition', batchUpdatePartition_entries - A list of up to 100 BatchUpdatePartitionRequestEntry objects to update.

Request Lenses

batchUpdatePartition_catalogId :: Lens' BatchUpdatePartition (Maybe Text) Source #

The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.

batchUpdatePartition_databaseName :: Lens' BatchUpdatePartition Text Source #

The name of the metadata database in which the partition is to be updated.

batchUpdatePartition_tableName :: Lens' BatchUpdatePartition Text Source #

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

batchUpdatePartition_entries :: Lens' BatchUpdatePartition (NonEmpty BatchUpdatePartitionRequestEntry) Source #

A list of up to 100 BatchUpdatePartitionRequestEntry objects to update.

Destructuring the Response

data BatchUpdatePartitionResponse Source #

See: newBatchUpdatePartitionResponse smart constructor.

Constructors

BatchUpdatePartitionResponse' 

Fields

Instances

Instances details
Generic BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Associated Types

type Rep BatchUpdatePartitionResponse :: Type -> Type #

Read BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Show BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

NFData BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Eq BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

type Rep BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

type Rep BatchUpdatePartitionResponse = D1 ('MetaData "BatchUpdatePartitionResponse" "Amazonka.Glue.BatchUpdatePartition" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "BatchUpdatePartitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchUpdatePartitionFailureEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchUpdatePartitionResponse Source #

Create a value of BatchUpdatePartitionResponse 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:errors:BatchUpdatePartitionResponse', batchUpdatePartitionResponse_errors - The errors encountered when trying to update the requested partitions. A list of BatchUpdatePartitionFailureEntry objects.

$sel:httpStatus:BatchUpdatePartitionResponse', batchUpdatePartitionResponse_httpStatus - The response's http status code.

Response Lenses

batchUpdatePartitionResponse_errors :: Lens' BatchUpdatePartitionResponse (Maybe [BatchUpdatePartitionFailureEntry]) Source #

The errors encountered when trying to update the requested partitions. A list of BatchUpdatePartitionFailureEntry objects.