associate_member_to_job
async
¶
associate_member_to_job(
farm_id: FarmId,
queue_id: QueueId,
job_id: JobId,
principal_type: DeadlinePrincipalType,
identity_store_id: IdentityStoreId,
membership_level: MembershipLevel,
principal_id: IdentityCenterPrincipalId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
identity_center_region: Optional[Region] = None,
) -> AssociateMemberToJobResponse
Assigns a job membership level to a member
Parameters:
-
farm_id(FarmId) –The farm ID of the job to associate with the member.
-
queue_id(QueueId) –The queue ID to associate to the member.
-
job_id(JobId) –The job ID to associate with the member.
-
principal_type(DeadlinePrincipalType) –The member's principal type to associate with the job.
-
identity_store_id(IdentityStoreId) –The member's identity store ID to associate with the job.
-
membership_level(MembershipLevel) –The principal's membership level for the associated job.
-
principal_id(IdentityCenterPrincipalId) –The member's principal ID to associate with the job.
-
identity_center_region(Optional[Region], default:None) –The Region of the IAM Identity Center instance. If not provided, the service defaults to the Region of the farm.
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.
-
ServiceQuotaExceededException–You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
-
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
7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 | |