assume_queue_role_for_worker
async
¶
assume_queue_role_for_worker(
farm_id: FarmId,
fleet_id: FleetId,
worker_id: WorkerId,
queue_id: QueueId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
) -> AssumeQueueRoleForWorkerResponse
Allows a worker to assume a queue role.
Parameters:
-
farm_id(FarmId) –The farm ID of the worker assuming the queue role.
-
fleet_id(FleetId) –The fleet ID of the worker assuming the queue role.
-
worker_id(WorkerId) –The worker ID of the worker assuming the queue role.
-
queue_id(QueueId) –The queue ID of the worker assuming the queue role.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
ConflictException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
-
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.