QBusinessClient.create_plugin
rboto-qbusiness==0.4.0 · Service index · Types
Model summary (excerpt): Creates an Amazon Q Business plugin.
Install and imports
from rboto import QBusinessClient
from collections.abc import Sequence
from rboto_qbusiness.types import (
CreatePluginOutput,
CustomPluginConfiguration,
PluginAuthConfiguration,
PluginType,
Tag,
)
Signature
async def create_plugin(
*,
application_id: str,
display_name: str,
type: PluginType,
auth_configuration: PluginAuthConfiguration,
server_url: str | None = None,
custom_plugin_configuration: CustomPluginConfiguration | None = None,
tags: Sequence[Tag] | None = None,
client_token: str | None = None,
) -> CreatePluginOutput: ...
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 that will contain the plugin. |
display_name |
Yes | A the name for your plugin. |
type |
Yes | The type of plugin you want to create. |
auth_configuration |
Yes | |
server_url |
No | The source URL used for plugin configuration. |
custom_plugin_configuration |
No | Contains configuration for a custom plugin. |
tags |
No | A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @. |
client_token |
No | A token that you provide to identify the request to create your Amazon Q Business plugin. |
Output
CreatePluginOutput.
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 |
|---|---|---|---|
plugin_id |
str | None |
Always present | — |
plugin_arn |
str | None |
Always present | — |
build_status |
PluginBuildStatusOutput | None |
Always present | PluginBuildStatusOutput |
| 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.
Related types
CreatePluginOutput, CustomPluginConfiguration, PluginAuthConfiguration, PluginType, 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.