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

Description

Creates one or more partitions in a batch operation.

Synopsis

Creating a Request

data BatchCreatePartition Source #

See: newBatchCreatePartition smart constructor.

Constructors

BatchCreatePartition' 

Fields

  • catalogId :: Maybe Text

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

  • databaseName :: Text

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

  • tableName :: Text

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

  • partitionInputList :: [PartitionInput]

    A list of PartitionInput structures that define the partitions to be created.

Instances

Instances details
Eq BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Read BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Show BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Generic BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Associated Types

type Rep BatchCreatePartition :: Type -> Type #

NFData BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Methods

rnf :: BatchCreatePartition -> () #

Hashable BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

ToJSON BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

AWSRequest BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Associated Types

type AWSResponse BatchCreatePartition #

ToHeaders BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

ToPath BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

ToQuery BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

type Rep BatchCreatePartition Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

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

Defined in Amazonka.Glue.BatchCreatePartition

newBatchCreatePartition Source #

Create a value of BatchCreatePartition 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:BatchCreatePartition', batchCreatePartition_catalogId - The ID of the catalog in which the partition is to be created. Currently, this should be the Amazon Web Services account ID.

$sel:databaseName:BatchCreatePartition', batchCreatePartition_databaseName - The name of the metadata database in which the partition is to be created.

$sel:tableName:BatchCreatePartition', batchCreatePartition_tableName - The name of the metadata table in which the partition is to be created.

$sel:partitionInputList:BatchCreatePartition', batchCreatePartition_partitionInputList - A list of PartitionInput structures that define the partitions to be created.

Request Lenses

batchCreatePartition_catalogId :: Lens' BatchCreatePartition (Maybe Text) Source #

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

batchCreatePartition_databaseName :: Lens' BatchCreatePartition Text Source #

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

batchCreatePartition_tableName :: Lens' BatchCreatePartition Text Source #

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

batchCreatePartition_partitionInputList :: Lens' BatchCreatePartition [PartitionInput] Source #

A list of PartitionInput structures that define the partitions to be created.

Destructuring the Response

data BatchCreatePartitionResponse Source #

See: newBatchCreatePartitionResponse smart constructor.

Constructors

BatchCreatePartitionResponse' 

Fields

Instances

Instances details
Eq BatchCreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Read BatchCreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Show BatchCreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Generic BatchCreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

Associated Types

type Rep BatchCreatePartitionResponse :: Type -> Type #

NFData BatchCreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

type Rep BatchCreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchCreatePartition

type Rep BatchCreatePartitionResponse = D1 ('MetaData "BatchCreatePartitionResponse" "Amazonka.Glue.BatchCreatePartition" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchCreatePartitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PartitionError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchCreatePartitionResponse Source #

Create a value of BatchCreatePartitionResponse 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:BatchCreatePartitionResponse', batchCreatePartitionResponse_errors - The errors encountered when trying to create the requested partitions.

$sel:httpStatus:BatchCreatePartitionResponse', batchCreatePartitionResponse_httpStatus - The response's http status code.

Response Lenses

batchCreatePartitionResponse_errors :: Lens' BatchCreatePartitionResponse (Maybe [PartitionError]) Source #

The errors encountered when trying to create the requested partitions.