describe_snapshot_tier_status
async
¶
describe_snapshot_tier_status(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
33769 33770 33771 33772 33773 33774 33775 33776 33777 33778 33779 33780 33781 33782 33783 33784 33785 33786 33787 33788 33789 33790 33791 33792 33793 33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 33805 33806 33807 33808 33809 33810 33811 33812 33813 33814 33815 33816 33817 33818 33819 33820 33821 33822 33823 33824 33825 33826 | |