list_virtual_nodes
¶
list_virtual_nodes(
mesh_name: ResourceName,
*,
config_overrides: Optional[AppMeshClientConfig] = None,
next_token: Optional[str] = None,
limit: Optional[ListVirtualNodesLimit] = None,
mesh_owner: Optional[AccountId] = None,
) -> ListVirtualNodesOutput
Returns a list of existing virtual nodes.
Parameters:
-
mesh_name(ResourceName) –The name of the service mesh to list virtual nodes in.
-
next_token(Optional[str], default:None) –The
nextTokenvalue returned from a previous paginatedListVirtualNodesrequest 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[ListVirtualNodesLimit], default:None) –The maximum number of results returned by
ListVirtualNodesin paginated output. When you use this parameter,ListVirtualNodesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListVirtualNodesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListVirtualNodesreturns 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
1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 | |