update_listener
async
¶
update_listener(
service_identifier: ServiceIdentifier,
listener_identifier: ListenerIdentifier,
default_action: RuleAction,
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
) -> UpdateListenerResponse
Updates the specified listener for the specified service.
Parameters:
-
service_identifier(ServiceIdentifier) –The ID or ARN of the service.
-
listener_identifier(ListenerIdentifier) –The ID or ARN of the listener.
-
default_action(RuleAction) –The action for the default rule.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ServiceQuotaExceededException–The request would cause a service quota to be exceeded.
-
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.