Skip to content

QBusinessClient.create_retriever

rboto-qbusiness==0.4.0 · Service index · Types

Model summary (excerpt): Adds a retriever to your Amazon Q Business 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 (
    CreateRetrieverOutput,
    RetrieverConfiguration,
    RetrieverType,
    Tag,
)

Signature

async def create_retriever(
    *,
    application_id: str,
    type: RetrieverType,
    display_name: str,
    configuration: RetrieverConfiguration,
    role_arn: str | None = None,
    client_token: str | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateRetrieverOutput: ...

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 your Amazon Q Business application.
type Yes The type of retriever you are using.
display_name Yes The name of your retriever.
configuration Yes
role_arn No The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
client_token No A token that you provide to identify the request to create your Amazon Q Business application retriever.
tags No A list of key-value pairs that identify or categorize the retriever. You can also use tags to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.

Output

CreateRetrieverOutput.

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
retriever_id str | None Always present —
retriever_arn str | None Always present —

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

CreateRetrieverOutput, RetrieverConfiguration, RetrieverType, Tag

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