associate_member_to_job
¶
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[deadlineClientConfig] = 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/deadline.py
7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 | |