associate_member_to_fleet
¶
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[deadlineClientConfig] = 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/deadline.py
4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 | |