amazonka-glue-1.6.0: Amazon Glue SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Glue.BatchGetPartition

Contents

Description

Retrieves partitions in a batch request.

Synopsis

Creating a Request

batchGetPartition Source #

Creates a value of BatchGetPartition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bgpCatalogId - The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
  • bgpDatabaseName - The name of the catalog database where the partitions reside.
  • bgpTableName - The name of the partitions' table.
  • bgpPartitionsToGet - A list of partition values identifying the partitions to retrieve.

data BatchGetPartition Source #

See: batchGetPartition smart constructor.

Instances

Eq BatchGetPartition Source # 
Data BatchGetPartition Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchGetPartition -> c BatchGetPartition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchGetPartition #

toConstr :: BatchGetPartition -> Constr #

dataTypeOf :: BatchGetPartition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BatchGetPartition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchGetPartition) #

gmapT :: (forall b. Data b => b -> b) -> BatchGetPartition -> BatchGetPartition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchGetPartition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchGetPartition -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchGetPartition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchGetPartition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchGetPartition -> m BatchGetPartition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchGetPartition -> m BatchGetPartition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchGetPartition -> m BatchGetPartition #

Read BatchGetPartition Source # 
Show BatchGetPartition Source # 
Generic BatchGetPartition Source # 
Hashable BatchGetPartition Source # 
ToJSON BatchGetPartition Source # 
NFData BatchGetPartition Source # 

Methods

rnf :: BatchGetPartition -> () #

AWSRequest BatchGetPartition Source # 
ToHeaders BatchGetPartition Source # 
ToPath BatchGetPartition Source # 
ToQuery BatchGetPartition Source # 
type Rep BatchGetPartition Source # 
type Rep BatchGetPartition = D1 * (MetaData "BatchGetPartition" "Network.AWS.Glue.BatchGetPartition" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "BatchGetPartition'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_bgpCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bgpDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgpTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_bgpPartitionsToGet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [PartitionValueList])))))
type Rs BatchGetPartition Source # 

Request Lenses

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

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

bgpDatabaseName :: Lens' BatchGetPartition Text Source #

The name of the catalog database where the partitions reside.

bgpTableName :: Lens' BatchGetPartition Text Source #

The name of the partitions' table.

bgpPartitionsToGet :: Lens' BatchGetPartition [PartitionValueList] Source #

A list of partition values identifying the partitions to retrieve.

Destructuring the Response

batchGetPartitionResponse Source #

Creates a value of BatchGetPartitionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BatchGetPartitionResponse Source #

See: batchGetPartitionResponse smart constructor.

Instances

Eq BatchGetPartitionResponse Source # 
Data BatchGetPartitionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchGetPartitionResponse -> c BatchGetPartitionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchGetPartitionResponse #

toConstr :: BatchGetPartitionResponse -> Constr #

dataTypeOf :: BatchGetPartitionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BatchGetPartitionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchGetPartitionResponse) #

gmapT :: (forall b. Data b => b -> b) -> BatchGetPartitionResponse -> BatchGetPartitionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchGetPartitionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchGetPartitionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchGetPartitionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchGetPartitionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchGetPartitionResponse -> m BatchGetPartitionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchGetPartitionResponse -> m BatchGetPartitionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchGetPartitionResponse -> m BatchGetPartitionResponse #

Read BatchGetPartitionResponse Source # 
Show BatchGetPartitionResponse Source # 
Generic BatchGetPartitionResponse Source # 
NFData BatchGetPartitionResponse Source # 
type Rep BatchGetPartitionResponse Source # 
type Rep BatchGetPartitionResponse = D1 * (MetaData "BatchGetPartitionResponse" "Network.AWS.Glue.BatchGetPartition" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "BatchGetPartitionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgprsUnprocessedKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PartitionValueList]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgprsPartitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Partition]))) (S1 * (MetaSel (Just Symbol "_bgprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

bgprsUnprocessedKeys :: Lens' BatchGetPartitionResponse [PartitionValueList] Source #

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

bgprsPartitions :: Lens' BatchGetPartitionResponse [Partition] Source #

A list of the requested partitions.