amazonka-glue-1.6.1: 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.BatchCreatePartition

Contents

Description

Creates one or more partitions in a batch operation.

Synopsis

Creating a Request

batchCreatePartition Source #

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

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

  • bcpCatalogId - The ID of the catalog in which the partion is to be created. Currently, this should be the AWS account ID.
  • bcpDatabaseName - The name of the metadata database in which the partition is to be created.
  • bcpTableName - The name of the metadata table in which the partition is to be created.
  • bcpPartitionInputList - A list of PartitionInput structures that define the partitions to be created.

data BatchCreatePartition Source #

See: batchCreatePartition smart constructor.

Instances
Eq BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Data BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Methods

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

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

toConstr :: BatchCreatePartition -> Constr #

dataTypeOf :: BatchCreatePartition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Show BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Generic BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Associated Types

type Rep BatchCreatePartition :: Type -> Type #

Hashable BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

ToJSON BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

AWSRequest BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Associated Types

type Rs BatchCreatePartition :: Type #

ToHeaders BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

ToPath BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

ToQuery BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

NFData BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Methods

rnf :: BatchCreatePartition -> () #

type Rep BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

type Rep BatchCreatePartition = D1 (MetaData "BatchCreatePartition" "Network.AWS.Glue.BatchCreatePartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "BatchCreatePartition'" PrefixI True) ((S1 (MetaSel (Just "_bcpCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bcpDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_bcpTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bcpPartitionInputList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [PartitionInput]))))
type Rs BatchCreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Request Lenses

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

The ID of the catalog in which the partion is to be created. Currently, this should be the AWS account ID.

bcpDatabaseName :: Lens' BatchCreatePartition Text Source #

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

bcpTableName :: Lens' BatchCreatePartition Text Source #

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

bcpPartitionInputList :: Lens' BatchCreatePartition [PartitionInput] Source #

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

Destructuring the Response

batchCreatePartitionResponse Source #

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

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

data BatchCreatePartitionResponse Source #

See: batchCreatePartitionResponse smart constructor.

Instances
Eq BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Data BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Methods

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

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

toConstr :: BatchCreatePartitionResponse -> Constr #

dataTypeOf :: BatchCreatePartitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Show BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Generic BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

Associated Types

type Rep BatchCreatePartitionResponse :: Type -> Type #

NFData BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

type Rep BatchCreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchCreatePartition

type Rep BatchCreatePartitionResponse = D1 (MetaData "BatchCreatePartitionResponse" "Network.AWS.Glue.BatchCreatePartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "BatchCreatePartitionResponse'" PrefixI True) (S1 (MetaSel (Just "_bcprsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PartitionError])) :*: S1 (MetaSel (Just "_bcprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

bcprsErrors :: Lens' BatchCreatePartitionResponse [PartitionError] Source #

Errors encountered when trying to create the requested partitions.