list_service_instances
¶
list_service_instances(
*,
config_overrides: Optional[ProtonClientConfig] = 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/proton.py
4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 | |