amazonka-storagegateway-1.4.4: Amazon Storage Gateway SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Contents

Description

Initiates a snapshot of a gateway from a volume recovery point. This operation is supported only for the gateway-cached volume architecture.

A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for gateway-cached volumes, use ListVolumeRecoveryPoints.

In the CreateSnapshotFromVolumeRecoveryPoint request, you identify the volume by providing its Amazon Resource Name (ARN). You must also provide a description for the snapshot. When AWS Storage Gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot.

To list or delete a snapshot, you must use the Amazon EC2 API. For more information, in Amazon Elastic Compute Cloud API Reference.

Synopsis

Creating a Request

createSnapshotFromVolumeRecoveryPoint Source #

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

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

data CreateSnapshotFromVolumeRecoveryPoint Source #

Instances

Eq CreateSnapshotFromVolumeRecoveryPoint Source # 
Data CreateSnapshotFromVolumeRecoveryPoint Source # 

Methods

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

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

toConstr :: CreateSnapshotFromVolumeRecoveryPoint -> Constr #

dataTypeOf :: CreateSnapshotFromVolumeRecoveryPoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSnapshotFromVolumeRecoveryPoint Source # 
Show CreateSnapshotFromVolumeRecoveryPoint Source # 
Generic CreateSnapshotFromVolumeRecoveryPoint Source # 
Hashable CreateSnapshotFromVolumeRecoveryPoint Source # 
NFData CreateSnapshotFromVolumeRecoveryPoint Source # 
AWSRequest CreateSnapshotFromVolumeRecoveryPoint Source # 
ToPath CreateSnapshotFromVolumeRecoveryPoint Source # 
ToHeaders CreateSnapshotFromVolumeRecoveryPoint Source # 
ToQuery CreateSnapshotFromVolumeRecoveryPoint Source # 
ToJSON CreateSnapshotFromVolumeRecoveryPoint Source # 
type Rep CreateSnapshotFromVolumeRecoveryPoint Source # 
type Rep CreateSnapshotFromVolumeRecoveryPoint = D1 (MetaData "CreateSnapshotFromVolumeRecoveryPoint" "Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "CreateSnapshotFromVolumeRecoveryPoint'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csfvrpVolumeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_csfvrpSnapshotDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateSnapshotFromVolumeRecoveryPoint Source # 

Request Lenses

Destructuring the Response

data CreateSnapshotFromVolumeRecoveryPointResponse Source #

Instances

Eq CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Data CreateSnapshotFromVolumeRecoveryPointResponse Source # 

Methods

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

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

toConstr :: CreateSnapshotFromVolumeRecoveryPointResponse -> Constr #

dataTypeOf :: CreateSnapshotFromVolumeRecoveryPointResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Show CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Generic CreateSnapshotFromVolumeRecoveryPointResponse Source # 
NFData CreateSnapshotFromVolumeRecoveryPointResponse Source # 
type Rep CreateSnapshotFromVolumeRecoveryPointResponse Source # 
type Rep CreateSnapshotFromVolumeRecoveryPointResponse = D1 (MetaData "CreateSnapshotFromVolumeRecoveryPointResponse" "Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "CreateSnapshotFromVolumeRecoveryPointResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csfvrprsVolumeRecoveryPointTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csfvrprsVolumeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_csfvrprsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csfvrprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses