describe_recovery_instances
async
¶
describe_recovery_instances(
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
filters: Optional[DescribeRecoveryInstancesRequestFilters] = None,
max_results: Optional[StrictlyPositiveInteger] = None,
next_token: Optional[PaginationToken] = None,
) -> DescribeRecoveryInstancesResponse
Lists all Recovery Instances or multiple Recovery Instances by ID.
Parameters:
-
filters(Optional[DescribeRecoveryInstancesRequestFilters], default:None) –A set of filters by which to return Recovery Instances.
-
max_results(Optional[StrictlyPositiveInteger], default:None) –Maximum number of Recovery Instances to retrieve.
-
next_token(Optional[PaginationToken], default:None) –The token of the next Recovery Instance 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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 | |