list_virtual_routers
¶
list_virtual_routers(
mesh_name: ResourceName,
*,
config_overrides: Optional[AppMeshClientConfig] = None,
next_token: Optional[str] = None,
limit: Optional[ListVirtualRoutersLimit] = None,
mesh_owner: Optional[AccountId] = None,
) -> ListVirtualRoutersOutput
Returns a list of existing virtual routers in a service mesh.
Parameters:
-
mesh_name(ResourceName) –The name of the service mesh to list virtual routers in.
-
next_token(Optional[str], default:None) –The
nextTokenvalue returned from a previous paginatedListVirtualRoutersrequest 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[ListVirtualRoutersLimit], default:None) –The maximum number of results returned by
ListVirtualRoutersin paginated output. When you use this parameter,ListVirtualRoutersreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualRoutersrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListVirtualRoutersreturns 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
2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 | |