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

Contents

Description

Creates a new partition.

Synopsis

Creating a Request

createPartition Source #

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

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

  • cpCatalogId - The ID of the catalog in which the partion is to be created. Currently, this should be the AWS account ID.
  • cpDatabaseName - The name of the metadata database in which the partition is to be created.
  • cpTableName - The name of the metadata table in which the partition is to be created.
  • cpPartitionInput - A PartitionInput structure defining the partition to be created.

data CreatePartition Source #

See: createPartition smart constructor.

Instances
Eq CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Data CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Methods

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

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

toConstr :: CreatePartition -> Constr #

dataTypeOf :: CreatePartition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Show CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Generic CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Associated Types

type Rep CreatePartition :: Type -> Type #

Hashable CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

ToJSON CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

AWSRequest CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Associated Types

type Rs CreatePartition :: Type #

ToHeaders CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

ToPath CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

ToQuery CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

NFData CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Methods

rnf :: CreatePartition -> () #

type Rep CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

type Rep CreatePartition = D1 (MetaData "CreatePartition" "Network.AWS.Glue.CreatePartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "CreatePartition'" PrefixI True) ((S1 (MetaSel (Just "_cpCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cpDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_cpTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cpPartitionInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PartitionInput))))
type Rs CreatePartition Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Request Lenses

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

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

cpDatabaseName :: Lens' CreatePartition Text Source #

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

cpTableName :: Lens' CreatePartition Text Source #

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

cpPartitionInput :: Lens' CreatePartition PartitionInput Source #

A PartitionInput structure defining the partition to be created.

Destructuring the Response

createPartitionResponse Source #

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

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

data CreatePartitionResponse Source #

See: createPartitionResponse smart constructor.

Instances
Eq CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Data CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Methods

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

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

toConstr :: CreatePartitionResponse -> Constr #

dataTypeOf :: CreatePartitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Show CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Generic CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Associated Types

type Rep CreatePartitionResponse :: Type -> Type #

NFData CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

Methods

rnf :: CreatePartitionResponse -> () #

type Rep CreatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.CreatePartition

type Rep CreatePartitionResponse = D1 (MetaData "CreatePartitionResponse" "Network.AWS.Glue.CreatePartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" True) (C1 (MetaCons "CreatePartitionResponse'" PrefixI True) (S1 (MetaSel (Just "_cprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses