update_worker_schedule
async
¶
update_worker_schedule(
farm_id: FarmId,
fleet_id: FleetId,
worker_id: WorkerId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
updated_session_actions: Optional[UpdatedSessionActions] = None,
) -> UpdateWorkerScheduleResponse
Updates the schedule for a worker.
Parameters:
-
farm_id(FarmId) –The farm ID to update.
-
fleet_id(FleetId) –The fleet ID to update.
-
worker_id(WorkerId) –The worker ID to update.
-
updated_session_actions(Optional[UpdatedSessionActions], default:None) –The session actions associated with the worker schedule to update.
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.
Source code in docs_src/capo_deadline/_services/async_deadline.py
5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 | |