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

Defined in Amazonka.Glue.BatchUpdatePartition

Read BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Show BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Generic BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Associated Types

type Rep BatchUpdatePartition :: Type -> Type #

NFData BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Methods

rnf :: BatchUpdatePartition -> () #

Hashable BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

ToJSON BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

AWSRequest BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Associated Types

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

type Rep BatchUpdatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

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

Defined in Amazonka.Glue.BatchUpdatePartition

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:

$sel:catalogId: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.

$sel:databaseName:BatchUpdatePartition', batchUpdatePartition_databaseName - The name of the metadata database in which the partition is to be updated.

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

Defined in Amazonka.Glue.BatchUpdatePartition

Read BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Show BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Generic BatchUpdatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchUpdatePartition

Associated Types

type Rep BatchUpdatePartitionResponse :: Type -> Type #

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