Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns an Amazon FSx for OpenZFS volume to the state saved by the specified snapshot.
Synopsis
- data RestoreVolumeFromSnapshot = RestoreVolumeFromSnapshot' {}
- newRestoreVolumeFromSnapshot :: Text -> Text -> RestoreVolumeFromSnapshot
- restoreVolumeFromSnapshot_clientRequestToken :: Lens' RestoreVolumeFromSnapshot (Maybe Text)
- restoreVolumeFromSnapshot_options :: Lens' RestoreVolumeFromSnapshot (Maybe [RestoreOpenZFSVolumeOption])
- restoreVolumeFromSnapshot_volumeId :: Lens' RestoreVolumeFromSnapshot Text
- restoreVolumeFromSnapshot_snapshotId :: Lens' RestoreVolumeFromSnapshot Text
- data RestoreVolumeFromSnapshotResponse = RestoreVolumeFromSnapshotResponse' {}
- newRestoreVolumeFromSnapshotResponse :: Int -> RestoreVolumeFromSnapshotResponse
- restoreVolumeFromSnapshotResponse_administrativeActions :: Lens' RestoreVolumeFromSnapshotResponse (Maybe [AdministrativeAction])
- restoreVolumeFromSnapshotResponse_lifecycle :: Lens' RestoreVolumeFromSnapshotResponse (Maybe VolumeLifecycle)
- restoreVolumeFromSnapshotResponse_volumeId :: Lens' RestoreVolumeFromSnapshotResponse (Maybe Text)
- restoreVolumeFromSnapshotResponse_httpStatus :: Lens' RestoreVolumeFromSnapshotResponse Int
Creating a Request
data RestoreVolumeFromSnapshot Source #
See: newRestoreVolumeFromSnapshot
smart constructor.
RestoreVolumeFromSnapshot' | |
|
Instances
newRestoreVolumeFromSnapshot Source #
Create a value of RestoreVolumeFromSnapshot
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientRequestToken:RestoreVolumeFromSnapshot'
, restoreVolumeFromSnapshot_clientRequestToken
- Undocumented member.
RestoreVolumeFromSnapshot
, restoreVolumeFromSnapshot_options
- The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshot
fails.DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshot
fails.
RestoreVolumeFromSnapshot
, restoreVolumeFromSnapshot_volumeId
- The ID of the volume that you are restoring.
RestoreVolumeFromSnapshot
, restoreVolumeFromSnapshot_snapshotId
- The ID of the source snapshot. Specifies the snapshot that you are
restoring from.
Request Lenses
restoreVolumeFromSnapshot_clientRequestToken :: Lens' RestoreVolumeFromSnapshot (Maybe Text) Source #
Undocumented member.
restoreVolumeFromSnapshot_options :: Lens' RestoreVolumeFromSnapshot (Maybe [RestoreOpenZFSVolumeOption]) Source #
The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshot
fails.DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshot
fails.
restoreVolumeFromSnapshot_volumeId :: Lens' RestoreVolumeFromSnapshot Text Source #
The ID of the volume that you are restoring.
restoreVolumeFromSnapshot_snapshotId :: Lens' RestoreVolumeFromSnapshot Text Source #
The ID of the source snapshot. Specifies the snapshot that you are restoring from.
Destructuring the Response
data RestoreVolumeFromSnapshotResponse Source #
See: newRestoreVolumeFromSnapshotResponse
smart constructor.
RestoreVolumeFromSnapshotResponse' | |
|
Instances
newRestoreVolumeFromSnapshotResponse Source #
Create a value of RestoreVolumeFromSnapshotResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RestoreVolumeFromSnapshotResponse
, restoreVolumeFromSnapshotResponse_administrativeActions
- A list of administrative actions for the file system that are in process
or waiting to be processed. Administrative actions describe changes to
the Amazon FSx system.
RestoreVolumeFromSnapshotResponse
, restoreVolumeFromSnapshotResponse_lifecycle
- The lifecycle state of the volume being restored.
RestoreVolumeFromSnapshot
, restoreVolumeFromSnapshotResponse_volumeId
- The ID of the volume that you restored.
$sel:httpStatus:RestoreVolumeFromSnapshotResponse'
, restoreVolumeFromSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
restoreVolumeFromSnapshotResponse_administrativeActions :: Lens' RestoreVolumeFromSnapshotResponse (Maybe [AdministrativeAction]) Source #
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
restoreVolumeFromSnapshotResponse_lifecycle :: Lens' RestoreVolumeFromSnapshotResponse (Maybe VolumeLifecycle) Source #
The lifecycle state of the volume being restored.
restoreVolumeFromSnapshotResponse_volumeId :: Lens' RestoreVolumeFromSnapshotResponse (Maybe Text) Source #
The ID of the volume that you restored.
restoreVolumeFromSnapshotResponse_httpStatus :: Lens' RestoreVolumeFromSnapshotResponse Int Source #
The response's http status code.