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 |
Describes the state of fast snapshot restores for your snapshots.
This operation returns paginated results.
Synopsis
- data DescribeFastSnapshotRestores = DescribeFastSnapshotRestores' {}
- newDescribeFastSnapshotRestores :: DescribeFastSnapshotRestores
- describeFastSnapshotRestores_dryRun :: Lens' DescribeFastSnapshotRestores (Maybe Bool)
- describeFastSnapshotRestores_filters :: Lens' DescribeFastSnapshotRestores (Maybe [Filter])
- describeFastSnapshotRestores_maxResults :: Lens' DescribeFastSnapshotRestores (Maybe Natural)
- describeFastSnapshotRestores_nextToken :: Lens' DescribeFastSnapshotRestores (Maybe Text)
- data DescribeFastSnapshotRestoresResponse = DescribeFastSnapshotRestoresResponse' {}
- newDescribeFastSnapshotRestoresResponse :: Int -> DescribeFastSnapshotRestoresResponse
- describeFastSnapshotRestoresResponse_fastSnapshotRestores :: Lens' DescribeFastSnapshotRestoresResponse (Maybe [DescribeFastSnapshotRestoreSuccessItem])
- describeFastSnapshotRestoresResponse_nextToken :: Lens' DescribeFastSnapshotRestoresResponse (Maybe Text)
- describeFastSnapshotRestoresResponse_httpStatus :: Lens' DescribeFastSnapshotRestoresResponse Int
Creating a Request
data DescribeFastSnapshotRestores Source #
See: newDescribeFastSnapshotRestores
smart constructor.
DescribeFastSnapshotRestores' | |
|
Instances
newDescribeFastSnapshotRestores :: DescribeFastSnapshotRestores Source #
Create a value of DescribeFastSnapshotRestores
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:DescribeFastSnapshotRestores'
, describeFastSnapshotRestores_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:filters:DescribeFastSnapshotRestores'
, describeFastSnapshotRestores_filters
- The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot.snapshot-id
: The ID of the snapshot.state
: The state of fast snapshot restores for the snapshot (enabling
|optimizing
|enabled
|disabling
|disabled
).
$sel:maxResults:DescribeFastSnapshotRestores'
, describeFastSnapshotRestores_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.
DescribeFastSnapshotRestores
, describeFastSnapshotRestores_nextToken
- The token for the next page of results.
Request Lenses
describeFastSnapshotRestores_dryRun :: Lens' DescribeFastSnapshotRestores (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
.
describeFastSnapshotRestores_filters :: Lens' DescribeFastSnapshotRestores (Maybe [Filter]) Source #
The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot.snapshot-id
: The ID of the snapshot.state
: The state of fast snapshot restores for the snapshot (enabling
|optimizing
|enabled
|disabling
|disabled
).
describeFastSnapshotRestores_maxResults :: Lens' DescribeFastSnapshotRestores (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.
describeFastSnapshotRestores_nextToken :: Lens' DescribeFastSnapshotRestores (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeFastSnapshotRestoresResponse Source #
See: newDescribeFastSnapshotRestoresResponse
smart constructor.
DescribeFastSnapshotRestoresResponse' | |
|
Instances
newDescribeFastSnapshotRestoresResponse Source #
Create a value of DescribeFastSnapshotRestoresResponse
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:fastSnapshotRestores:DescribeFastSnapshotRestoresResponse'
, describeFastSnapshotRestoresResponse_fastSnapshotRestores
- Information about the state of fast snapshot restores.
DescribeFastSnapshotRestores
, describeFastSnapshotRestoresResponse_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:httpStatus:DescribeFastSnapshotRestoresResponse'
, describeFastSnapshotRestoresResponse_httpStatus
- The response's http status code.
Response Lenses
describeFastSnapshotRestoresResponse_fastSnapshotRestores :: Lens' DescribeFastSnapshotRestoresResponse (Maybe [DescribeFastSnapshotRestoreSuccessItem]) Source #
Information about the state of fast snapshot restores.
describeFastSnapshotRestoresResponse_nextToken :: Lens' DescribeFastSnapshotRestoresResponse (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.
describeFastSnapshotRestoresResponse_httpStatus :: Lens' DescribeFastSnapshotRestoresResponse Int Source #
The response's http status code.