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

Contents

Description

Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.

You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

You must manually set up the following on the restored table:

  • Auto scaling policies
  • IAM policies
  • Cloudwatch metrics and alarms
  • Tags
  • Stream settings
  • Time to Live (TTL) settings
Synopsis

Creating a Request

restoreTableFromBackup Source #

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

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

data RestoreTableFromBackup Source #

See: restoreTableFromBackup smart constructor.

Instances
Eq RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Data RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Methods

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

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

toConstr :: RestoreTableFromBackup -> Constr #

dataTypeOf :: RestoreTableFromBackup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Show RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Generic RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Associated Types

type Rep RestoreTableFromBackup :: Type -> Type #

Hashable RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

ToJSON RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

AWSRequest RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Associated Types

type Rs RestoreTableFromBackup :: Type #

ToHeaders RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

ToPath RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

ToQuery RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

NFData RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Methods

rnf :: RestoreTableFromBackup -> () #

type Rep RestoreTableFromBackup Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

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

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Request Lenses

rtfbTargetTableName :: Lens' RestoreTableFromBackup Text Source #

The name of the new table to which the backup must be restored.

rtfbBackupARN :: Lens' RestoreTableFromBackup Text Source #

The ARN associated with the backup.

Destructuring the Response

restoreTableFromBackupResponse Source #

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

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

data RestoreTableFromBackupResponse Source #

See: restoreTableFromBackupResponse smart constructor.

Instances
Eq RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Data RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Methods

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

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

toConstr :: RestoreTableFromBackupResponse -> Constr #

dataTypeOf :: RestoreTableFromBackupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Show RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Generic RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

Associated Types

type Rep RestoreTableFromBackupResponse :: Type -> Type #

NFData RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

type Rep RestoreTableFromBackupResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.RestoreTableFromBackup

type Rep RestoreTableFromBackupResponse = D1 (MetaData "RestoreTableFromBackupResponse" "Network.AWS.DynamoDB.RestoreTableFromBackup" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "RestoreTableFromBackupResponse'" PrefixI True) (S1 (MetaSel (Just "_rtfbrsTableDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableDescription)) :*: S1 (MetaSel (Just "_rtfbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

rtfbrsTableDescription :: Lens' RestoreTableFromBackupResponse (Maybe TableDescription) Source #

The description of the table created from an existing backup.