update_queue_limit_association
¶
update_queue_limit_association(
farm_id: FarmId,
queue_id: QueueId,
limit_id: LimitId,
status: UpdateQueueLimitAssociationStatus,
*,
config_overrides: Optional[deadlineClientConfig] = None,
) -> UpdateQueueLimitAssociationResponse
Updates the status of the queue. If you set the status to one of the STOP_LIMIT_USAGE* values, there will be a delay before the status transitions to the STOPPED state.
Parameters:
-
farm_id(FarmId) –The unique identifier of the farm that contains the associated queues and limits.
-
queue_id(QueueId) –The unique identifier of the queue associated to the limit.
-
limit_id(LimitId) –The unique identifier of the limit associated to the queue.
-
status(UpdateQueueLimitAssociationStatus) –Sets the status of the limit. You can mark the limit active, or you can stop usage of the limit and either complete existing tasks or cancel any existing tasks immediately.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.