list_rules
async
¶
list_rules(
service_identifier: ServiceIdentifier,
listener_identifier: ListenerIdentifier,
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListRulesResponse
Lists the rules for the specified listener.
Parameters:
-
service_identifier(ServiceIdentifier) –The ID or ARN of the service.
-
listener_identifier(ListenerIdentifier) –The ID or ARN of the listener.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –A pagination token for the next page of results.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.