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 |
Lists one or more snapshots that are currently in the Recycle Bin.
This operation returns paginated results.
Synopsis
- data ListSnapshotsInRecycleBin = ListSnapshotsInRecycleBin' {}
- newListSnapshotsInRecycleBin :: ListSnapshotsInRecycleBin
- listSnapshotsInRecycleBin_dryRun :: Lens' ListSnapshotsInRecycleBin (Maybe Bool)
- listSnapshotsInRecycleBin_maxResults :: Lens' ListSnapshotsInRecycleBin (Maybe Natural)
- listSnapshotsInRecycleBin_nextToken :: Lens' ListSnapshotsInRecycleBin (Maybe Text)
- listSnapshotsInRecycleBin_snapshotIds :: Lens' ListSnapshotsInRecycleBin (Maybe [Text])
- data ListSnapshotsInRecycleBinResponse = ListSnapshotsInRecycleBinResponse' {}
- newListSnapshotsInRecycleBinResponse :: Int -> ListSnapshotsInRecycleBinResponse
- listSnapshotsInRecycleBinResponse_nextToken :: Lens' ListSnapshotsInRecycleBinResponse (Maybe Text)
- listSnapshotsInRecycleBinResponse_snapshots :: Lens' ListSnapshotsInRecycleBinResponse (Maybe [SnapshotRecycleBinInfo])
- listSnapshotsInRecycleBinResponse_httpStatus :: Lens' ListSnapshotsInRecycleBinResponse Int
Creating a Request
data ListSnapshotsInRecycleBin Source #
See: newListSnapshotsInRecycleBin
smart constructor.
ListSnapshotsInRecycleBin' | |
|
Instances
newListSnapshotsInRecycleBin :: ListSnapshotsInRecycleBin Source #
Create a value of ListSnapshotsInRecycleBin
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:dryRun:ListSnapshotsInRecycleBin'
, listSnapshotsInRecycleBin_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:maxResults:ListSnapshotsInRecycleBin'
, listSnapshotsInRecycleBin_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
ListSnapshotsInRecycleBin
, listSnapshotsInRecycleBin_nextToken
- The token for the next page of results.
$sel:snapshotIds:ListSnapshotsInRecycleBin'
, listSnapshotsInRecycleBin_snapshotIds
- The IDs of the snapshots to list. Omit this parameter to list all of the
snapshots that are in the Recycle Bin.
Request Lenses
listSnapshotsInRecycleBin_dryRun :: Lens' ListSnapshotsInRecycleBin (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
listSnapshotsInRecycleBin_maxResults :: Lens' ListSnapshotsInRecycleBin (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listSnapshotsInRecycleBin_nextToken :: Lens' ListSnapshotsInRecycleBin (Maybe Text) Source #
The token for the next page of results.
listSnapshotsInRecycleBin_snapshotIds :: Lens' ListSnapshotsInRecycleBin (Maybe [Text]) Source #
The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
Destructuring the Response
data ListSnapshotsInRecycleBinResponse Source #
See: newListSnapshotsInRecycleBinResponse
smart constructor.
ListSnapshotsInRecycleBinResponse' | |
|
Instances
newListSnapshotsInRecycleBinResponse Source #
Create a value of ListSnapshotsInRecycleBinResponse
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:
ListSnapshotsInRecycleBin
, listSnapshotsInRecycleBinResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:snapshots:ListSnapshotsInRecycleBinResponse'
, listSnapshotsInRecycleBinResponse_snapshots
- Information about the snapshots.
$sel:httpStatus:ListSnapshotsInRecycleBinResponse'
, listSnapshotsInRecycleBinResponse_httpStatus
- The response's http status code.
Response Lenses
listSnapshotsInRecycleBinResponse_nextToken :: Lens' ListSnapshotsInRecycleBinResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
listSnapshotsInRecycleBinResponse_snapshots :: Lens' ListSnapshotsInRecycleBinResponse (Maybe [SnapshotRecycleBinInfo]) Source #
Information about the snapshots.
listSnapshotsInRecycleBinResponse_httpStatus :: Lens' ListSnapshotsInRecycleBinResponse Int Source #
The response's http status code.