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

Description

Retrieves partitions in a batch request.

Synopsis

Creating a Request

data BatchGetPartition Source #

See: newBatchGetPartition smart constructor.

Constructors

BatchGetPartition' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

  • databaseName :: Text

    The name of the catalog database where the partitions reside.

  • tableName :: Text

    The name of the partitions' table.

  • partitionsToGet :: [PartitionValueList]

    A list of partition values identifying the partitions to retrieve.

Instances

Instances details
Eq BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Read BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Show BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Generic BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Associated Types

type Rep BatchGetPartition :: Type -> Type #

NFData BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Methods

rnf :: BatchGetPartition -> () #

Hashable BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

ToJSON BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

AWSRequest BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Associated Types

type AWSResponse BatchGetPartition #

ToHeaders BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

ToPath BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

ToQuery BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

type Rep BatchGetPartition Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

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

Defined in Amazonka.Glue.BatchGetPartition

newBatchGetPartition Source #

Create a value of BatchGetPartition 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:BatchGetPartition', batchGetPartition_catalogId - The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

$sel:databaseName:BatchGetPartition', batchGetPartition_databaseName - The name of the catalog database where the partitions reside.

$sel:tableName:BatchGetPartition', batchGetPartition_tableName - The name of the partitions' table.

$sel:partitionsToGet:BatchGetPartition', batchGetPartition_partitionsToGet - A list of partition values identifying the partitions to retrieve.

Request Lenses

batchGetPartition_catalogId :: Lens' BatchGetPartition (Maybe Text) Source #

The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

batchGetPartition_databaseName :: Lens' BatchGetPartition Text Source #

The name of the catalog database where the partitions reside.

batchGetPartition_tableName :: Lens' BatchGetPartition Text Source #

The name of the partitions' table.

batchGetPartition_partitionsToGet :: Lens' BatchGetPartition [PartitionValueList] Source #

A list of partition values identifying the partitions to retrieve.

Destructuring the Response

data BatchGetPartitionResponse Source #

See: newBatchGetPartitionResponse smart constructor.

Constructors

BatchGetPartitionResponse' 

Fields

Instances

Instances details
Eq BatchGetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Read BatchGetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Show BatchGetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Generic BatchGetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

Associated Types

type Rep BatchGetPartitionResponse :: Type -> Type #

NFData BatchGetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

type Rep BatchGetPartitionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchGetPartition

type Rep BatchGetPartitionResponse = D1 ('MetaData "BatchGetPartitionResponse" "Amazonka.Glue.BatchGetPartition" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchGetPartitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PartitionValueList])) :*: (S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Partition])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetPartitionResponse Source #

Create a value of BatchGetPartitionResponse 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:unprocessedKeys:BatchGetPartitionResponse', batchGetPartitionResponse_unprocessedKeys - A list of the partition values in the request for which partitions were not returned.

$sel:partitions:BatchGetPartitionResponse', batchGetPartitionResponse_partitions - A list of the requested partitions.

$sel:httpStatus:BatchGetPartitionResponse', batchGetPartitionResponse_httpStatus - The response's http status code.

Response Lenses

batchGetPartitionResponse_unprocessedKeys :: Lens' BatchGetPartitionResponse (Maybe [PartitionValueList]) Source #

A list of the partition values in the request for which partitions were not returned.