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

Contents

Description

Updates a partition.

Synopsis

Creating a Request

updatePartition Source #

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

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

  • upCatalogId - The ID of the Data Catalog where the partition to be updated resides. If none is supplied, the AWS account ID is used by default.
  • upDatabaseName - The name of the catalog database in which the table in question resides.
  • upTableName - The name of the table where the partition to be updated is located.
  • upPartitionValueList - A list of the values defining the partition.
  • upPartitionInput - The new partition object to which to update the partition.

data UpdatePartition Source #

See: updatePartition smart constructor.

Instances

Eq UpdatePartition Source # 
Data UpdatePartition Source # 

Methods

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

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

toConstr :: UpdatePartition -> Constr #

dataTypeOf :: UpdatePartition -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdatePartition -> () #

AWSRequest UpdatePartition Source # 
ToHeaders UpdatePartition Source # 
ToPath UpdatePartition Source # 
ToQuery UpdatePartition Source # 
type Rep UpdatePartition Source # 
type Rep UpdatePartition = D1 * (MetaData "UpdatePartition" "Network.AWS.Glue.UpdatePartition" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "UpdatePartition'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_upCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_upDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_upPartitionValueList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])) (S1 * (MetaSel (Just Symbol "_upPartitionInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * PartitionInput))))))
type Rs UpdatePartition Source # 

Request Lenses

upCatalogId :: Lens' UpdatePartition (Maybe Text) Source #

The ID of the Data Catalog where the partition to be updated resides. If none is supplied, the AWS account ID is used by default.

upDatabaseName :: Lens' UpdatePartition Text Source #

The name of the catalog database in which the table in question resides.

upTableName :: Lens' UpdatePartition Text Source #

The name of the table where the partition to be updated is located.

upPartitionValueList :: Lens' UpdatePartition [Text] Source #

A list of the values defining the partition.

upPartitionInput :: Lens' UpdatePartition PartitionInput Source #

The new partition object to which to update the partition.

Destructuring the Response

updatePartitionResponse Source #

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

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

data UpdatePartitionResponse Source #

See: updatePartitionResponse smart constructor.

Instances

Eq UpdatePartitionResponse Source # 
Data UpdatePartitionResponse Source # 

Methods

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

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

toConstr :: UpdatePartitionResponse -> Constr #

dataTypeOf :: UpdatePartitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePartitionResponse Source # 
Show UpdatePartitionResponse Source # 
Generic UpdatePartitionResponse Source # 
NFData UpdatePartitionResponse Source # 

Methods

rnf :: UpdatePartitionResponse -> () #

type Rep UpdatePartitionResponse Source # 
type Rep UpdatePartitionResponse = D1 * (MetaData "UpdatePartitionResponse" "Network.AWS.Glue.UpdatePartition" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" True) (C1 * (MetaCons "UpdatePartitionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses