Skip to content

QBusinessClient.create_data_accessor

rboto-qbusiness==0.4.0 · Service index · Types

Model summary (excerpt): Creates a new data accessor for an ISV to access data from a Amazon Q Business application. The data accessor is an entity that represents the ISV's access to the Amazon Q Business application's data. It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the specific actions the ISV is allowed to perform and any associated data filters. When...

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 (
    ActionConfiguration,
    CreateDataAccessorOutput,
    DataAccessorAuthenticationDetail,
    Tag,
)

Signature

async def create_data_accessor(
    *,
    application_id: str,
    principal: str,
    action_configurations: Sequence[ActionConfiguration],
    display_name: str,
    client_token: str | None = None,
    authentication_detail: DataAccessorAuthenticationDetail | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateDataAccessorOutput: ...

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 unique identifier of the Amazon Q Business application.
principal Yes The Amazon Resource Name (ARN) of the IAM role for the ISV that will be accessing the data.
action_configurations Yes A list of action configurations specifying the allowed actions and any associated filters.
display_name Yes A friendly name for the data accessor.
client_token No A unique, case-sensitive identifier you provide to ensure idempotency of the request.
authentication_detail No The authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.
tags No The tags to associate with the data accessor.

Output

CreateDataAccessorOutput.

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
data_accessor_id str Always present —
idc_application_arn str Always present —
data_accessor_arn str 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.

ActionConfiguration, CreateDataAccessorOutput, DataAccessorAuthenticationDetail, 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