amazonka-storagegateway-1.6.1: Amazon Storage Gateway 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.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Contents

Description

Initiates a snapshot of a gateway from a volume recovery point. This operation is only supported in the cached volume gateway type.

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 cached volume gateway, 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 the gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, the 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.

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

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Data CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

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

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Show CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Generic CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Hashable CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

ToJSON CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

AWSRequest CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

ToHeaders CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

ToPath CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

ToQuery CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

NFData CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

type Rep CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

type Rep CreateSnapshotFromVolumeRecoveryPoint = D1 (MetaData "CreateSnapshotFromVolumeRecoveryPoint" "Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "CreateSnapshotFromVolumeRecoveryPoint'" PrefixI True) (S1 (MetaSel (Just "_csfvrpVolumeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_csfvrpSnapshotDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateSnapshotFromVolumeRecoveryPoint Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Request Lenses

Destructuring the Response

createSnapshotFromVolumeRecoveryPointResponse Source #

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

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

data CreateSnapshotFromVolumeRecoveryPointResponse Source #

Instances
Eq CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Data CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

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

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Show CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

Generic CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

NFData CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

type Rep CreateSnapshotFromVolumeRecoveryPointResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint

type Rep CreateSnapshotFromVolumeRecoveryPointResponse = D1 (MetaData "CreateSnapshotFromVolumeRecoveryPointResponse" "Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "CreateSnapshotFromVolumeRecoveryPointResponse'" PrefixI True) ((S1 (MetaSel (Just "_csfvrprsVolumeRecoveryPointTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csfvrprsVolumeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_csfvrprsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csfvrprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses