list_virtual_services
async
¶
list_virtual_services(
mesh_name: ResourceName,
*,
config_overrides: Optional[AsyncAppMeshClientConfig] = None,
next_token: Optional[str] = None,
limit: Optional[ListVirtualServicesLimit] = None,
mesh_owner: Optional[AccountId] = None,
) -> ListVirtualServicesOutput
Returns a list of existing virtual services in a service mesh.
Parameters:
-
mesh_name(ResourceName) –The name of the service mesh to list virtual services in.
-
next_token(Optional[str], default:None) –The
nextTokenvalue returned from a previous paginatedListVirtualServicesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. -
limit(Optional[ListVirtualServicesLimit], default:None) –The maximum number of results returned by
ListVirtualServicesin paginated output. When you use this parameter,ListVirtualServicesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualServicesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListVirtualServicesreturns up to 100 results and anextTokenvalue if applicable. -
mesh_owner(Optional[AccountId], default:None) –The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
Raises:
-
BadRequestException–The request syntax was malformed. Check your request syntax and try again.
-
ForbiddenException–You don't have permissions to perform this action.
-
InternalServerErrorException–The request processing has failed because of an unknown error, exception, or failure.
-
NotFoundException–The specified resource doesn't exist. Check your request syntax and try again.
-
ServiceUnavailableException–The request has failed due to a temporary failure of the service.
-
TooManyRequestsException–The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_app_mesh/_services/async_app_mesh.py
2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 | |