associate_member_to_fleet
async
¶
associate_member_to_fleet(
farm_id: FarmId,
fleet_id: FleetId,
principal_type: DeadlinePrincipalType,
identity_store_id: IdentityStoreId,
membership_level: MembershipLevel,
principal_id: IdentityCenterPrincipalId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
identity_center_region: Optional[Region] = None,
) -> AssociateMemberToFleetResponse
Assigns a fleet membership level to a member.
Parameters:
-
farm_id(FarmId) –The farm ID of the fleet to associate with the member.
-
fleet_id(FleetId) –The ID of the fleet to associate with a member.
-
principal_type(DeadlinePrincipalType) –The member's principal type to associate with the fleet.
-
identity_store_id(IdentityStoreId) –The member's identity store ID to associate with the fleet.
-
membership_level(MembershipLevel) –The principal's membership level for the associated fleet.
-
principal_id(IdentityCenterPrincipalId) –The member's principal ID to associate with a fleet.
-
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
4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 | |