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.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 # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Data UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

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 # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Show UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Generic UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Associated Types

type Rep UpdatePartition :: Type -> Type #

Hashable UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

ToJSON UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

AWSRequest UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Associated Types

type Rs UpdatePartition :: Type #

ToHeaders UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

ToPath UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

ToQuery UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

NFData UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Methods

rnf :: UpdatePartition -> () #

type Rep UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

type Rep UpdatePartition = D1 (MetaData "UpdatePartition" "Network.AWS.Glue.UpdatePartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "UpdatePartition'" PrefixI True) ((S1 (MetaSel (Just "_upCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_upTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_upPartitionValueList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]) :*: S1 (MetaSel (Just "_upPartitionInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PartitionInput)))))
type Rs UpdatePartition Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

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 # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Data UpdatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

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 # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Show UpdatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Generic UpdatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Associated Types

type Rep UpdatePartitionResponse :: Type -> Type #

NFData UpdatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

Methods

rnf :: UpdatePartitionResponse -> () #

type Rep UpdatePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdatePartition

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

Response Lenses