Skip to content

QBusinessClient.update_user

rboto-qbusiness==0.4.0 · Service index · Types

Model summary (excerpt): Updates a information associated with a user id.

Install and imports

python -m pip install "rboto[qbusiness]==0.4.0"
from rboto import QBusinessClient
from collections.abc import Sequence
from rboto_qbusiness.types import (
    UpdateUserOutput,
    UserAlias,
)

Signature

async def update_user(
    *,
    application_id: str,
    user_id: str,
    user_aliases_to_update: Sequence[UserAlias] | None = None,
    user_aliases_to_delete: Sequence[UserAlias] | None = None,
) -> UpdateUserOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
application_id Yes The identifier of the application the user is attached to.
user_id Yes The email id attached to the user.
user_aliases_to_update No The user aliases attached to the user id that are to be updated.
user_aliases_to_delete No The user aliases attached to the user id that are to be deleted.

Output

UpdateUserOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
user_aliases_added list[UserAliasOutput] | None Always present UserAliasOutput
user_aliases_updated list[UserAliasOutput] | None Always present UserAliasOutput
user_aliases_deleted list[UserAliasOutput] | None Always present UserAliasOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

UpdateUserOutput, UserAlias

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_qbusiness.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model