| 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 |
Amazonka.WorkSpaces.DescribeWorkspaceSnapshots
Description
Describes the snapshots for the specified WorkSpace.
Synopsis
- data DescribeWorkspaceSnapshots = DescribeWorkspaceSnapshots' {
- workspaceId :: Text
- newDescribeWorkspaceSnapshots :: Text -> DescribeWorkspaceSnapshots
- describeWorkspaceSnapshots_workspaceId :: Lens' DescribeWorkspaceSnapshots Text
- data DescribeWorkspaceSnapshotsResponse = DescribeWorkspaceSnapshotsResponse' {
- rebuildSnapshots :: Maybe [Snapshot]
- restoreSnapshots :: Maybe [Snapshot]
- httpStatus :: Int
- newDescribeWorkspaceSnapshotsResponse :: Int -> DescribeWorkspaceSnapshotsResponse
- describeWorkspaceSnapshotsResponse_rebuildSnapshots :: Lens' DescribeWorkspaceSnapshotsResponse (Maybe [Snapshot])
- describeWorkspaceSnapshotsResponse_restoreSnapshots :: Lens' DescribeWorkspaceSnapshotsResponse (Maybe [Snapshot])
- describeWorkspaceSnapshotsResponse_httpStatus :: Lens' DescribeWorkspaceSnapshotsResponse Int
Creating a Request
data DescribeWorkspaceSnapshots Source #
See: newDescribeWorkspaceSnapshots smart constructor.
Constructors
| DescribeWorkspaceSnapshots' | |
Fields
| |
Instances
newDescribeWorkspaceSnapshots Source #
Arguments
| :: Text | |
| -> DescribeWorkspaceSnapshots |
Create a value of DescribeWorkspaceSnapshots 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:
DescribeWorkspaceSnapshots, describeWorkspaceSnapshots_workspaceId - The identifier of the WorkSpace.
Request Lenses
describeWorkspaceSnapshots_workspaceId :: Lens' DescribeWorkspaceSnapshots Text Source #
The identifier of the WorkSpace.
Destructuring the Response
data DescribeWorkspaceSnapshotsResponse Source #
See: newDescribeWorkspaceSnapshotsResponse smart constructor.
Constructors
| DescribeWorkspaceSnapshotsResponse' | |
Fields
| |
Instances
newDescribeWorkspaceSnapshotsResponse Source #
Arguments
| :: Int | |
| -> DescribeWorkspaceSnapshotsResponse |
Create a value of DescribeWorkspaceSnapshotsResponse 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:rebuildSnapshots:DescribeWorkspaceSnapshotsResponse', describeWorkspaceSnapshotsResponse_rebuildSnapshots - Information about the snapshots that can be used to rebuild a WorkSpace.
These snapshots include the user volume.
$sel:restoreSnapshots:DescribeWorkspaceSnapshotsResponse', describeWorkspaceSnapshotsResponse_restoreSnapshots - Information about the snapshots that can be used to restore a WorkSpace.
These snapshots include both the root volume and the user volume.
$sel:httpStatus:DescribeWorkspaceSnapshotsResponse', describeWorkspaceSnapshotsResponse_httpStatus - The response's http status code.
Response Lenses
describeWorkspaceSnapshotsResponse_rebuildSnapshots :: Lens' DescribeWorkspaceSnapshotsResponse (Maybe [Snapshot]) Source #
Information about the snapshots that can be used to rebuild a WorkSpace. These snapshots include the user volume.
describeWorkspaceSnapshotsResponse_restoreSnapshots :: Lens' DescribeWorkspaceSnapshotsResponse (Maybe [Snapshot]) Source #
Information about the snapshots that can be used to restore a WorkSpace. These snapshots include both the root volume and the user volume.
describeWorkspaceSnapshotsResponse_httpStatus :: Lens' DescribeWorkspaceSnapshotsResponse Int Source #
The response's http status code.