Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes the snapshots for the specified WorkSpace.
Synopsis
- data DescribeWorkspaceSnapshots = DescribeWorkspaceSnapshots' {
- workspaceId :: Text
- newDescribeWorkspaceSnapshots :: Text -> DescribeWorkspaceSnapshots
- describeWorkspaceSnapshots_workspaceId :: Lens' DescribeWorkspaceSnapshots Text
- data DescribeWorkspaceSnapshotsResponse = DescribeWorkspaceSnapshotsResponse' {
- restoreSnapshots :: Maybe [Snapshot]
- rebuildSnapshots :: Maybe [Snapshot]
- httpStatus :: Int
- newDescribeWorkspaceSnapshotsResponse :: Int -> DescribeWorkspaceSnapshotsResponse
- describeWorkspaceSnapshotsResponse_restoreSnapshots :: Lens' DescribeWorkspaceSnapshotsResponse (Maybe [Snapshot])
- describeWorkspaceSnapshotsResponse_rebuildSnapshots :: Lens' DescribeWorkspaceSnapshotsResponse (Maybe [Snapshot])
- describeWorkspaceSnapshotsResponse_httpStatus :: Lens' DescribeWorkspaceSnapshotsResponse Int
Creating a Request
data DescribeWorkspaceSnapshots Source #
See: newDescribeWorkspaceSnapshots
smart constructor.
DescribeWorkspaceSnapshots' | |
|
Instances
newDescribeWorkspaceSnapshots Source #
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:
$sel:workspaceId: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.
DescribeWorkspaceSnapshotsResponse' | |
|
Instances
newDescribeWorkspaceSnapshotsResponse Source #
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: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:rebuildSnapshots:DescribeWorkspaceSnapshotsResponse'
, describeWorkspaceSnapshotsResponse_rebuildSnapshots
- Information about the snapshots that can be used to rebuild a WorkSpace.
These snapshots include the user volume.
$sel:httpStatus:DescribeWorkspaceSnapshotsResponse'
, describeWorkspaceSnapshotsResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' DescribeWorkspaceSnapshotsResponse Int Source #
The response's http status code.