AppMesh / Client / list_virtual_routers
list_virtual_routers#
- AppMesh.Client.list_virtual_routers(**kwargs)#
Returns a list of existing virtual routers in a service mesh.
See also: AWS API Documentation
Request Syntax
response = client.list_virtual_routers( limit=123, meshName='string', meshOwner='string', nextToken='string' )
- Parameters:
limit (integer) – 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.meshName (string) –
[REQUIRED]
The name of the service mesh to list virtual routers in.
meshOwner (string) – 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.
nextToken (string) – 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'virtualRouters': [ { 'arn': 'string', 'createdAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'meshName': 'string', 'meshOwner': 'string', 'resourceOwner': 'string', 'version': 123, 'virtualRouterName': 'string' }, ] }
Response Structure
(dict) –
nextToken (string) –
The
nextTokenvalue to include in a futureListVirtualRoutersrequest. When the results of aListVirtualRoutersrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.virtualRouters (list) –
The list of existing virtual routers for the specified service mesh.
(dict) –
An object that represents a virtual router returned by a list operation.
arn (string) –
The full Amazon Resource Name (ARN) for the virtual router.
createdAt (datetime) –
The Unix epoch timestamp in seconds for when the resource was created.
lastUpdatedAt (datetime) –
The Unix epoch timestamp in seconds for when the resource was last updated.
meshName (string) –
The name of the service mesh that the virtual router resides in.
meshOwner (string) –
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.
resourceOwner (string) –
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it’s the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
version (integer) –
The version of the resource. Resources are created at version 1, and this version is incremented each time that they’re updated.
virtualRouterName (string) –
The name of the virtual router.
Exceptions
AppMesh.Client.exceptions.NotFoundExceptionAppMesh.Client.exceptions.BadRequestExceptionAppMesh.Client.exceptions.TooManyRequestsExceptionAppMesh.Client.exceptions.ForbiddenExceptionAppMesh.Client.exceptions.ServiceUnavailableExceptionAppMesh.Client.exceptions.InternalServerErrorException