Skip to content

QBusinessClient.create_user

rboto-qbusiness==0.4.0 · Service index · Types

Model summary (excerpt): Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.

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 (
    CreateUserOutput,
    UserAlias,
)

Signature

async def create_user(
    *,
    application_id: str,
    user_id: str,
    user_aliases: Sequence[UserAlias] | None = None,
    client_token: str | None = None,
) -> CreateUserOutput: ...

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 for which the user mapping will be created.
user_id Yes The user emails attached to a user mapping.
user_aliases No The list of user aliases in the mapping.
client_token No A token that you provide to identify the request to create your Amazon Q Business user mapping.

Output

CreateUserOutput.

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

No fields.

| 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.

CreateUserOutput, 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