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

Description

Creates a new partition.

Synopsis

Creating a Request

data CreatePartition Source #

See: newCreatePartition smart constructor.

Constructors

CreatePartition' 

Fields

  • catalogId :: Maybe Text

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

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

  • partitionInput :: PartitionInput

    A PartitionInput structure defining the partition to be created.

Instances

Instances details
Eq CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Read CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Show CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Generic CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Associated Types

type Rep CreatePartition :: Type -> Type #

NFData CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Methods

rnf :: CreatePartition -> () #

Hashable CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

ToJSON CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

AWSRequest CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Associated Types

type AWSResponse CreatePartition #

ToHeaders CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

ToPath CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

ToQuery CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

type Rep CreatePartition Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

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

Defined in Amazonka.Glue.CreatePartition

newCreatePartition Source #

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

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

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

$sel:partitionInput:CreatePartition', createPartition_partitionInput - A PartitionInput structure defining the partition to be created.

Request Lenses

createPartition_catalogId :: Lens' CreatePartition (Maybe Text) Source #

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

createPartition_databaseName :: Lens' CreatePartition Text Source #

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

createPartition_tableName :: Lens' CreatePartition Text Source #

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

createPartition_partitionInput :: Lens' CreatePartition PartitionInput Source #

A PartitionInput structure defining the partition to be created.

Destructuring the Response

data CreatePartitionResponse Source #

See: newCreatePartitionResponse smart constructor.

Constructors

CreatePartitionResponse' 

Fields

Instances

Instances details
Eq CreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Read CreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Show CreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Generic CreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Associated Types

type Rep CreatePartitionResponse :: Type -> Type #

NFData CreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

Methods

rnf :: CreatePartitionResponse -> () #

type Rep CreatePartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreatePartition

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

newCreatePartitionResponse Source #

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

Response Lenses