associate_member_to_queue
async
¶
associate_member_to_queue(
farm_id: FarmId,
queue_id: QueueId,
principal_type: DeadlinePrincipalType,
identity_store_id: IdentityStoreId,
membership_level: MembershipLevel,
principal_id: IdentityCenterPrincipalId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
identity_center_region: Optional[Region] = None,
) -> AssociateMemberToQueueResponse
Assigns a queue membership level to a member
Parameters:
-
farm_id(FarmId) –The farm ID of the queue to associate with the member.
-
queue_id(QueueId) –The ID of the queue to associate to the member.
-
principal_type(DeadlinePrincipalType) –The member's principal type to associate with the queue.
-
identity_store_id(IdentityStoreId) –The member's identity store ID to associate with the queue.
-
membership_level(MembershipLevel) –The principal's membership level for the associated queue.
-
principal_id(IdentityCenterPrincipalId) –The member's principal ID to associate with the queue.
-
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
6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 | |