amazonka-dynamodb-1.6.1: Amazon DynamoDB 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.DynamoDB.UpdateGlobalTable

Contents

Description

Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, must have the same name as the global table, must have the same key schema, and must have DynamoDB Streams enabled and must have same provisioned and maximum write capacity units.

If global secondary indexes are specified, then the following conditions must also be met:

  • The global secondary indexes must have the same name.
  • The global secondary indexes must have the same hash key and sort key (if present).
  • The global secondary indexes must have the same provisioned and maximum write capacity units.
Synopsis

Creating a Request

updateGlobalTable Source #

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

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

data UpdateGlobalTable Source #

See: updateGlobalTable smart constructor.

Instances
Eq UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Data UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Methods

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

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

toConstr :: UpdateGlobalTable -> Constr #

dataTypeOf :: UpdateGlobalTable -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Show UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Generic UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Associated Types

type Rep UpdateGlobalTable :: Type -> Type #

Hashable UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

ToJSON UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

AWSRequest UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Associated Types

type Rs UpdateGlobalTable :: Type #

ToHeaders UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

ToPath UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

ToQuery UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

NFData UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Methods

rnf :: UpdateGlobalTable -> () #

type Rep UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

type Rep UpdateGlobalTable = D1 (MetaData "UpdateGlobalTable" "Network.AWS.DynamoDB.UpdateGlobalTable" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "UpdateGlobalTable'" PrefixI True) (S1 (MetaSel (Just "_ugtGlobalTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ugtReplicaUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ReplicaUpdate])))
type Rs UpdateGlobalTable Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Request Lenses

ugtReplicaUpdates :: Lens' UpdateGlobalTable [ReplicaUpdate] Source #

A list of regions that should be added or removed from the global table.

Destructuring the Response

updateGlobalTableResponse Source #

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

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

data UpdateGlobalTableResponse Source #

See: updateGlobalTableResponse smart constructor.

Instances
Eq UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Data UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Methods

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

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

toConstr :: UpdateGlobalTableResponse -> Constr #

dataTypeOf :: UpdateGlobalTableResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Show UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Generic UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

Associated Types

type Rep UpdateGlobalTableResponse :: Type -> Type #

NFData UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

type Rep UpdateGlobalTableResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateGlobalTable

type Rep UpdateGlobalTableResponse = D1 (MetaData "UpdateGlobalTableResponse" "Network.AWS.DynamoDB.UpdateGlobalTable" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "UpdateGlobalTableResponse'" PrefixI True) (S1 (MetaSel (Just "_ugtrsGlobalTableDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GlobalTableDescription)) :*: S1 (MetaSel (Just "_ugtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses