update_user
async
¶
update_user(
account_id: NonEmptyString,
user_id: NonEmptyString,
*,
config_overrides: Optional[AsyncChimeClientConfig] = None,
license_type: Optional[License] = None,
user_type: Optional[UserType] = None,
alexa_for_business_metadata: Optional[AlexaForBusinessMetadata] = None,
) -> UpdateUserResponse
Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.
Parameters:
-
account_id(NonEmptyString) –The Amazon Chime account ID.
-
user_id(NonEmptyString) –The user ID.
-
license_type(Optional[License], default:None) –The user license type to update. This must be a supported license type for the Amazon Chime account that the user belongs to.
-
user_type(Optional[UserType], default:None) –The user type.
-
alexa_for_business_metadata(Optional[AlexaForBusinessMetadata], default:None) –The Alexa for Business metadata.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime/_services/async_chime.py
4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 | |