list_meshes
async
¶
list_meshes(
*,
config_overrides: Optional[AsyncAppMeshClientConfig] = None,
next_token: Optional[str] = None,
limit: Optional[ListMeshesLimit] = None,
) -> ListMeshesOutput
Returns a list of existing service meshes.
Parameters:
-
next_token(Optional[str], default:None) –The
nextTokenvalue returned from a previous paginatedListMeshesrequest wherelimitwas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
-
limit(Optional[ListMeshesLimit], default:None) –The maximum number of results returned by
ListMeshesin paginated output. When you use this parameter,ListMeshesreturns onlylimitresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListMeshesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListMeshesreturns up to 100 results and anextTokenvalue if applicable.
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.