list_service_instances
async
¶
list_service_instances(
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
service_name: Optional[ResourceName] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxPageResults] = None,
filters: Optional[ListServiceInstancesFilterList] = None,
sort_by: Optional[ListServiceInstancesSortBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListServiceInstancesOutput
List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.
Parameters:
-
service_name(Optional[ResourceName], default:None) –The name of the service that the service instance belongs to.
-
next_token(Optional[NextToken], default:None) –A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
-
max_results(Optional[MaxPageResults], default:None) –The maximum number of service instances to list.
-
filters(Optional[ListServiceInstancesFilterList], default:None) –An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
-
sort_by(Optional[ListServiceInstancesSortBy], default:None) –The field that the result list is sorted by.
When you choose to sort by
serviceName, service instances within each service are sorted by service instance name.Default:
serviceName -
sort_order(Optional[SortOrder], default:None) –Result list sort order.
Default:
ASCENDING
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
InternalServerException–The request failed to register with the service.
-
ResourceNotFoundException–The requested resource wasn't found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/async_proton.py
4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 | |