list_virtual_gateways
¶
list_virtual_gateways(
mesh_name: ResourceName,
*,
config_overrides: Optional[AppMeshClientConfig] = None,
next_token: Optional[str] = None,
limit: Optional[ListVirtualGatewaysLimit] = None,
mesh_owner: Optional[AccountId] = None,
) -> ListVirtualGatewaysOutput
Returns a list of existing virtual gateways in a service mesh.
Parameters:
-
mesh_name(ResourceName) –The name of the service mesh to list virtual gateways in.
-
next_token(Optional[str], default:None) –The
nextTokenvalue returned from a previous paginatedListVirtualGatewaysrequest 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[ListVirtualGatewaysLimit], default:None) –The maximum number of results returned by
ListVirtualGatewaysin paginated output. When you use this parameter,ListVirtualGatewaysreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualGatewaysrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListVirtualGatewaysreturns 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/app_mesh.py
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 | |