describe_snapshot_tier_status
¶
describe_snapshot_tier_status(
*,
config_overrides: Optional[EC2ClientConfig] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeSnapshotTierStatusMaxResults] = None,
) -> DescribeSnapshotTierStatusResult
Describes the storage tier status of one or more Amazon EBS snapshots.
Parameters:
-
filters(Optional[FilterList], default:None) –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)
-
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
next_token(Optional[String], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
max_results(Optional[DescribeSnapshotTierStatusMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
33326 33327 33328 33329 33330 33331 33332 33333 33334 33335 33336 33337 33338 33339 33340 33341 33342 33343 33344 33345 33346 33347 33348 33349 33350 33351 33352 33353 33354 33355 33356 33357 33358 33359 33360 33361 33362 33363 33364 33365 33366 33367 33368 33369 33370 33371 33372 33373 33374 33375 33376 33377 33378 33379 33380 33381 33382 | |