Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- createSnapshotFromVolumeRecoveryPoint :: Text -> Text -> CreateSnapshotFromVolumeRecoveryPoint
- data CreateSnapshotFromVolumeRecoveryPoint
- csfvrpVolumeARN :: Lens' CreateSnapshotFromVolumeRecoveryPoint Text
- csfvrpSnapshotDescription :: Lens' CreateSnapshotFromVolumeRecoveryPoint Text
- createSnapshotFromVolumeRecoveryPointResponse :: Int -> CreateSnapshotFromVolumeRecoveryPointResponse
- data CreateSnapshotFromVolumeRecoveryPointResponse
- csfvrprsVolumeRecoveryPointTime :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text)
- csfvrprsVolumeARN :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text)
- csfvrprsSnapshotId :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text)
- csfvrprsResponseStatus :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse Int
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 #
See: createSnapshotFromVolumeRecoveryPoint
smart constructor.
Request Lenses
csfvrpVolumeARN :: Lens' CreateSnapshotFromVolumeRecoveryPoint Text Source #
Undocumented member.
csfvrpSnapshotDescription :: Lens' CreateSnapshotFromVolumeRecoveryPoint Text Source #
Undocumented member.
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 #
See: createSnapshotFromVolumeRecoveryPointResponse
smart constructor.
Response Lenses
csfvrprsVolumeRecoveryPointTime :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text) Source #
Undocumented member.
csfvrprsVolumeARN :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text) Source #
Undocumented member.
csfvrprsSnapshotId :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text) Source #
Undocumented member.
csfvrprsResponseStatus :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse Int Source #
The response status code.