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 storage tier status of one or more Amazon EBS snapshots.
This operation returns paginated results.
Synopsis
- data DescribeSnapshotTierStatus = DescribeSnapshotTierStatus' {}
- newDescribeSnapshotTierStatus :: DescribeSnapshotTierStatus
- describeSnapshotTierStatus_dryRun :: Lens' DescribeSnapshotTierStatus (Maybe Bool)
- describeSnapshotTierStatus_filters :: Lens' DescribeSnapshotTierStatus (Maybe [Filter])
- describeSnapshotTierStatus_maxResults :: Lens' DescribeSnapshotTierStatus (Maybe Int)
- describeSnapshotTierStatus_nextToken :: Lens' DescribeSnapshotTierStatus (Maybe Text)
- data DescribeSnapshotTierStatusResponse = DescribeSnapshotTierStatusResponse' {}
- newDescribeSnapshotTierStatusResponse :: Int -> DescribeSnapshotTierStatusResponse
- describeSnapshotTierStatusResponse_nextToken :: Lens' DescribeSnapshotTierStatusResponse (Maybe Text)
- describeSnapshotTierStatusResponse_snapshotTierStatuses :: Lens' DescribeSnapshotTierStatusResponse (Maybe [SnapshotTierStatus])
- describeSnapshotTierStatusResponse_httpStatus :: Lens' DescribeSnapshotTierStatusResponse Int
Creating a Request
data DescribeSnapshotTierStatus Source #
See: newDescribeSnapshotTierStatus
smart constructor.
DescribeSnapshotTierStatus' | |
|
Instances
newDescribeSnapshotTierStatus :: DescribeSnapshotTierStatus Source #
Create a value of DescribeSnapshotTierStatus
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:DescribeSnapshotTierStatus'
, describeSnapshotTierStatus_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:DescribeSnapshotTierStatus'
, describeSnapshotTierStatus_filters
- The filters.
snapshot-id
- The snapshot ID.volume-id
- The ID of the volume the snapshot is for.last-tiering-operation
- The state of the last archive or restore action. (archival-in-progress
|archival-completed
|archival-failed
|permanent-restore-in-progress
|permanent-restore-completed
|permanent-restore-failed
|temporary-restore-in-progress
|temporary-restore-completed
|temporary-restore-failed
)
$sel:maxResults:DescribeSnapshotTierStatus'
, describeSnapshotTierStatus_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.
DescribeSnapshotTierStatus
, describeSnapshotTierStatus_nextToken
- The token for the next page of results.
Request Lenses
describeSnapshotTierStatus_dryRun :: Lens' DescribeSnapshotTierStatus (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
.
describeSnapshotTierStatus_filters :: Lens' DescribeSnapshotTierStatus (Maybe [Filter]) Source #
The filters.
snapshot-id
- The snapshot ID.volume-id
- The ID of the volume the snapshot is for.last-tiering-operation
- The state of the last archive or restore action. (archival-in-progress
|archival-completed
|archival-failed
|permanent-restore-in-progress
|permanent-restore-completed
|permanent-restore-failed
|temporary-restore-in-progress
|temporary-restore-completed
|temporary-restore-failed
)
describeSnapshotTierStatus_maxResults :: Lens' DescribeSnapshotTierStatus (Maybe Int) 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.
describeSnapshotTierStatus_nextToken :: Lens' DescribeSnapshotTierStatus (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeSnapshotTierStatusResponse Source #
See: newDescribeSnapshotTierStatusResponse
smart constructor.
DescribeSnapshotTierStatusResponse' | |
|
Instances
newDescribeSnapshotTierStatusResponse Source #
Create a value of DescribeSnapshotTierStatusResponse
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:
DescribeSnapshotTierStatus
, describeSnapshotTierStatusResponse_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:snapshotTierStatuses:DescribeSnapshotTierStatusResponse'
, describeSnapshotTierStatusResponse_snapshotTierStatuses
- Information about the snapshot's storage tier.
$sel:httpStatus:DescribeSnapshotTierStatusResponse'
, describeSnapshotTierStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describeSnapshotTierStatusResponse_nextToken :: Lens' DescribeSnapshotTierStatusResponse (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.
describeSnapshotTierStatusResponse_snapshotTierStatuses :: Lens' DescribeSnapshotTierStatusResponse (Maybe [SnapshotTierStatus]) Source #
Information about the snapshot's storage tier.
describeSnapshotTierStatusResponse_httpStatus :: Lens' DescribeSnapshotTierStatusResponse Int Source #
The response's http status code.