describe_recovery_snapshots
async
¶
describe_recovery_snapshots(
source_server_id: SourceServerID,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
filters: Optional[DescribeRecoverySnapshotsRequestFilters] = None,
order: Optional[RecoverySnapshotsOrder] = None,
max_results: Optional[StrictlyPositiveInteger] = None,
next_token: Optional[PaginationToken] = None,
) -> DescribeRecoverySnapshotsResponse
Lists all Recovery Snapshots for a single Source Server.
Parameters:
-
source_server_id(SourceServerID) –Filter Recovery Snapshots by Source Server ID.
-
filters(Optional[DescribeRecoverySnapshotsRequestFilters], default:None) –A set of filters by which to return Recovery Snapshots.
-
order(Optional[RecoverySnapshotsOrder], default:None) –The sorted ordering by which to return Recovery Snapshots.
-
max_results(Optional[StrictlyPositiveInteger], default:None) –Maximum number of Recovery Snapshots to retrieve.
-
next_token(Optional[PaginationToken], default:None) –The token of the next Recovery Snapshot to retrieve.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 | |