diff --git a/clients/client-qbusiness/README.md b/clients/client-qbusiness/README.md
index e353e1987d2d9..693906b8d34c9 100644
--- a/clients/client-qbusiness/README.md
+++ b/clients/client-qbusiness/README.md
@@ -6,9 +6,6 @@
AWS SDK for JavaScript QBusiness Client for Node.js, Browser and React Native.
- Amazon Q is in preview release and is subject to change.
This is the Amazon Q Business API Reference. Amazon Q Business is a fully
managed, generative-AI powered enterprise chat assistant that you can deploy within your
organization. Amazon Q Business enhances employee productivity by supporting key tasks such
@@ -299,6 +296,14 @@ BatchPutDocument
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/BatchPutDocumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/BatchPutDocumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/BatchPutDocumentCommandOutput/)
+
+ Amazon Q is in preview release and is subject to change. This is the Amazon Q Business API Reference. Amazon Q Business is a fully
+ * This is the Amazon Q Business API Reference. Amazon Q Business is a fully
* managed, generative-AI powered enterprise chat assistant that you can deploy within your
* organization. Amazon Q Business enhances employee productivity by supporting key tasks such
* as question-answering, knowledge discovery, writing email messages, summarizing text,
diff --git a/clients/client-qbusiness/src/QBusinessClient.ts b/clients/client-qbusiness/src/QBusinessClient.ts
index c5c37b67c2732..e007bd29a7c8c 100644
--- a/clients/client-qbusiness/src/QBusinessClient.ts
+++ b/clients/client-qbusiness/src/QBusinessClient.ts
@@ -1,4 +1,9 @@
// smithy-typescript generated code
+import {
+ EventStreamInputConfig,
+ EventStreamResolvedConfig,
+ resolveEventStreamConfig,
+} from "@aws-sdk/middleware-eventstream";
import {
getHostHeaderPlugin,
HostHeaderInputConfig,
@@ -13,12 +18,18 @@ import {
UserAgentInputConfig,
UserAgentResolvedConfig,
} from "@aws-sdk/middleware-user-agent";
+import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
import { RegionInputConfig, RegionResolvedConfig, resolveRegionConfig } from "@smithy/config-resolver";
import {
DefaultIdentityProviderConfig,
getHttpAuthSchemeEndpointRuleSetPlugin,
getHttpSigningPlugin,
} from "@smithy/core";
+import {
+ EventStreamSerdeInputConfig,
+ EventStreamSerdeResolvedConfig,
+ resolveEventStreamSerdeConfig,
+} from "@smithy/eventstream-serde-config-resolver";
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint";
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
@@ -37,6 +48,7 @@ import {
Decoder as __Decoder,
Encoder as __Encoder,
EndpointV2 as __EndpointV2,
+ EventStreamSerdeProvider as __EventStreamSerdeProvider,
HashConstructor as __HashConstructor,
HttpHandlerOptions as __HttpHandlerOptions,
Logger as __Logger,
@@ -58,6 +70,7 @@ import {
BatchDeleteDocumentCommandOutput,
} from "./commands/BatchDeleteDocumentCommand";
import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "./commands/BatchPutDocumentCommand";
+import { ChatCommandInput, ChatCommandOutput } from "./commands/ChatCommand";
import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSyncCommand";
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
@@ -158,6 +171,7 @@ export { __Client };
export type ServiceInputTypes =
| BatchDeleteDocumentCommandInput
| BatchPutDocumentCommandInput
+ | ChatCommandInput
| ChatSyncCommandInput
| CreateApplicationCommandInput
| CreateDataSourceCommandInput
@@ -218,6 +232,7 @@ export type ServiceInputTypes =
export type ServiceOutputTypes =
| BatchDeleteDocumentCommandOutput
| BatchPutDocumentCommandOutput
+ | ChatCommandOutput
| ChatSyncCommandOutput
| CreateApplicationCommandOutput
| CreateDataSourceCommandOutput
@@ -398,10 +413,21 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
*/
extensions?: RuntimeExtension[];
+ /**
+ * The function that provides necessary utilities for generating and parsing event stream
+ */
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
+
/**
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
*/
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
+
+ /**
+ * The function that provides necessary utilities for handling request event stream.
+ * @internal
+ */
+ eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
}
/**
@@ -414,7 +440,9 @@ export type QBusinessClientConfigType = Partial<__SmithyConfiguration<__HttpHand
RetryInputConfig &
HostHeaderInputConfig &
UserAgentInputConfig &
+ EventStreamSerdeInputConfig &
HttpAuthSchemeInputConfig &
+ EventStreamInputConfig &
ClientInputEndpointParameters;
/**
* @public
@@ -434,7 +462,9 @@ export type QBusinessClientResolvedConfigType = __SmithyResolvedConfiguration<__
RetryResolvedConfig &
HostHeaderResolvedConfig &
UserAgentResolvedConfig &
+ EventStreamSerdeResolvedConfig &
HttpAuthSchemeResolvedConfig &
+ EventStreamResolvedConfig &
ClientResolvedEndpointParameters;
/**
* @public
@@ -444,10 +474,7 @@ export type QBusinessClientResolvedConfigType = __SmithyResolvedConfiguration<__
export interface QBusinessClientResolvedConfig extends QBusinessClientResolvedConfigType {}
/**
- * Amazon Q is in preview release and is subject to change. This is the Amazon Q Business API Reference. Amazon Q Business is a fully
+ * This is the Amazon Q Business API Reference. Amazon Q Business is a fully
* managed, generative-AI powered enterprise chat assistant that you can deploy within your
* organization. Amazon Q Business enhances employee productivity by supporting key tasks such
* as question-answering, knowledge discovery, writing email messages, summarizing text,
@@ -547,10 +574,12 @@ export class QBusinessClient extends __Client<
const _config_4 = resolveRetryConfig(_config_3);
const _config_5 = resolveHostHeaderConfig(_config_4);
const _config_6 = resolveUserAgentConfig(_config_5);
- const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
- super(_config_8);
- this.config = _config_8;
+ const _config_7 = resolveEventStreamSerdeConfig(_config_6);
+ const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
+ const _config_9 = resolveEventStreamConfig(_config_8);
+ const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
+ super(_config_10);
+ this.config = _config_10;
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
diff --git a/clients/client-qbusiness/src/commands/ChatCommand.ts b/clients/client-qbusiness/src/commands/ChatCommand.ts
new file mode 100644
index 0000000000000..c98a8d8b37de1
--- /dev/null
+++ b/clients/client-qbusiness/src/commands/ChatCommand.ts
@@ -0,0 +1,313 @@
+// smithy-typescript generated code
+import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { ChatInput, ChatInputFilterSensitiveLog, ChatOutput, ChatOutputFilterSensitiveLog } from "../models/models_0";
+import { de_ChatCommand, se_ChatCommand } from "../protocols/Aws_restJson1";
+import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ChatCommand}.
+ */
+export interface ChatCommandInput extends ChatInput {}
+/**
+ * @public
+ *
+ * The output of {@link ChatCommand}.
+ */
+export interface ChatCommandOutput extends ChatOutput, __MetadataBearer {}
+
+/**
+ * Starts or continues a streaming Amazon Q Business conversation. You don't have access to perform this action. Make sure you have the required
+ * permission policies and user accounts and try again. You are trying to perform an action that conflicts with the current status of your
+ * resource. Fix any inconsistences with your resources and try again. An issue occurred with the internal server used for your Amazon Q Business service. Wait
+ * some minutes and try again, or contact Support for help. You don't have permissions to perform the action because your license is inactive. Ask
+ * your admin to activate your license and try again after your licence is active. The resource you want to use doesn’t exist. Make sure you have provided the correct
+ * resource and try again. The request was denied due to throttling. Reduce the number of requests and try
+ * again. The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
+ * correct input and try again. Base exception class for all service exceptions from QBusiness service. Creates an Amazon Q Business application. There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are
+ * also available in Amazon Q Business Lite. For information on what's included in
+ * Amazon Q Business Lite and what's included in
+ * Amazon Q Business Pro, see Amazon Q Business tiers.
+ * You must use the Amazon Q Business console to assign subscription tiers to users. Amazon Q is in preview release and is subject to change. This is the Amazon Q Business API Reference. Amazon Q Business is a fully
+ * This is the Amazon Q Business API Reference. Amazon Q Business is a fully
* managed, generative-AI powered enterprise chat assistant that you can deploy within your
* organization. Amazon Q Business enhances employee productivity by supporting key tasks such
* as question-answering, knowledge discovery, writing email messages, summarizing text,
diff --git a/clients/client-qbusiness/src/models/models_0.ts b/clients/client-qbusiness/src/models/models_0.ts
index 0a9683f811c57..310c3a01a2723 100644
--- a/clients/client-qbusiness/src/models/models_0.ts
+++ b/clients/client-qbusiness/src/models/models_0.ts
@@ -248,6 +248,33 @@ export interface ActionExecution {
payloadFieldNameSeparator: string | undefined;
}
+/**
+ * A request from an end user signalling an intent to perform an Amazon Q Business plugin
+ * action during a streaming chat. The identifier of the plugin for which the action is being requested. A mapping of field names to the field values in input that an end user provides to
+ * Amazon Q Business requests to perform their plugin action. A string used to retain information about the hierarchical contexts within a action
+ * execution event payload. The field level description of each action review input field. This could be an
+ * explanation of the field. In the Amazon Q Business web experience, these descriptions could
+ * be used to display as tool tips to help users understand the field. The type of field. The expected data format for the action review input field value. For example, in PTO
+ * request, Information about whether the field is required. An output event that Amazon Q Business returns to an user who wants to perform a plugin
+ * action during a streaming chat conversation. It contains information about the selected
+ * action with a list of possible user input fields, some pre-populated by Amazon Q Business.
+ * The identifier of the conversation with which the action review event is
+ * associated. The identifier of the conversation with which the plugin action is associated. The identifier of an Amazon Q Business AI generated associated with the action review
+ * event. The identifier of the plugin associated with the action review event. The type of plugin. Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to
+ * perform the requested plugin action. A string used to retain information about the hierarchical contexts within an action
+ * review event payload. Information required for Amazon Q Business to find a specific file in an Amazon S3
+ * bucket. The name of the S3 bucket that contains the file. The name of the file. Contains details about the OpenAPI schema for a custom plugin. For more information,
+ * see custom plugin OpenAPI schemas. You can either include
+ * the schema directly in the payload field or you can upload it to an S3 bucket and
+ * specify the S3 bucket location in the The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.
+ * Contains details about the S3 object containing the OpenAPI schema for a custom
+ * plugin. The schema could be in either JSON or YAML format.
+Chat
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/ChatCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ChatCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ChatCommandOutput/)
+
diff --git a/clients/client-qbusiness/package.json b/clients/client-qbusiness/package.json
index 14f1051439604..4c275d247f3e3 100644
--- a/clients/client-qbusiness/package.json
+++ b/clients/client-qbusiness/package.json
@@ -22,6 +22,8 @@
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/core": "*",
"@aws-sdk/credential-provider-node": "*",
+ "@aws-sdk/eventstream-handler-node": "*",
+ "@aws-sdk/middleware-eventstream": "*",
"@aws-sdk/middleware-host-header": "*",
"@aws-sdk/middleware-logger": "*",
"@aws-sdk/middleware-recursion-detection": "*",
@@ -33,6 +35,9 @@
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.2",
+ "@smithy/eventstream-serde-browser": "^2.2.0",
+ "@smithy/eventstream-serde-config-resolver": "^2.2.0",
+ "@smithy/eventstream-serde-node": "^2.2.0",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
diff --git a/clients/client-qbusiness/src/QBusiness.ts b/clients/client-qbusiness/src/QBusiness.ts
index 1f5b346d956a6..9f6846840e939 100644
--- a/clients/client-qbusiness/src/QBusiness.ts
+++ b/clients/client-qbusiness/src/QBusiness.ts
@@ -12,6 +12,7 @@ import {
BatchPutDocumentCommandInput,
BatchPutDocumentCommandOutput,
} from "./commands/BatchPutDocumentCommand";
+import { ChatCommand, ChatCommandInput, ChatCommandOutput } from "./commands/ChatCommand";
import { ChatSyncCommand, ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSyncCommand";
import {
CreateApplicationCommand,
@@ -210,6 +211,7 @@ import { QBusinessClient, QBusinessClientConfig } from "./QBusinessClient";
const commands = {
BatchDeleteDocumentCommand,
BatchPutDocumentCommand,
+ ChatCommand,
ChatSyncCommand,
CreateApplicationCommand,
CreateDataSourceCommand,
@@ -300,6 +302,13 @@ export interface QBusiness {
cb: (err: any, data?: BatchPutDocumentCommandOutput) => void
): void;
+ /**
+ * @see {@link ChatCommand}
+ */
+ chat(args: ChatCommandInput, options?: __HttpHandlerOptions): Promise
from
and to
would be of datetime
allowed
+ * format. s3
field.
The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either @@ -956,6 +1144,20 @@ export interface IndexCapacityConfiguration { units?: number; } +/** + * @public + * @enum + */ +export const IndexType = { + ENTERPRISE: "ENTERPRISE", + STARTER: "STARTER", +} as const; + +/** + * @public + */ +export type IndexType = (typeof IndexType)[keyof typeof IndexType]; + /** * @public */ @@ -972,6 +1174,14 @@ export interface CreateIndexRequest { */ displayName: string | undefined; + /** + *
The index type that's suitable for your needs. For more information on what's included + * in each type of index or index tier, see Amazon Q Business + * tiers.
+ * @public + */ + type?: IndexType; + /** *A description for the Amazon Q Business index.
* @public @@ -1169,8 +1379,8 @@ export interface DocumentAttributeCondition { *The identifier of the document attribute used for the condition.
*For example, 'Source_URI' could be an identifier for the attribute or metadata field * that contains source URIs associated with the documents.
- *Amazon Kendra currently does not support _document_body
as an
- * attribute key used for the condition.
Amazon Q Business currently does not support _document_body
as an attribute
+ * key used for the condition.
Provides the configuration information for invoking a Lambda function in * Lambda to alter document metadata and content when ingesting * documents into Amazon Q Business.
- *You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on - * the original or raw documents.
+ *You can configure your Lambda function using the
+ * PreExtractionHookConfiguration
parameter if you want to apply advanced
+ * alterations on the original or raw documents.
If you want to apply advanced alterations on the Amazon Q Business structured documents, - * you must configure your Lambda function using PostExtractionHookConfiguration.
+ * you must configure your Lambda function using + *PostExtractionHookConfiguration
.
* You can only invoke one Lambda function. However, this function can invoke * other functions it requires.
*For more information, see Custom document enrichment.
@@ -1378,10 +1590,12 @@ export interface DocumentEnrichmentConfiguration { *Provides the configuration information for invoking a Lambda function in * Lambda to alter document metadata and content when ingesting * documents into Amazon Q Business.
- *You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on - * the original or raw documents.
+ *You can configure your Lambda function using the
+ * PreExtractionHookConfiguration
parameter if you want to apply advanced
+ * alterations on the original or raw documents.
If you want to apply advanced alterations on the Amazon Q Business structured documents, - * you must configure your Lambda function using PostExtractionHookConfiguration.
+ * you must configure your Lambda function using + *PostExtractionHookConfiguration
.
* You can only invoke one Lambda function. However, this function can invoke * other functions it requires.
*For more information, see Custom document enrichment.
@@ -1393,10 +1607,12 @@ export interface DocumentEnrichmentConfiguration { *Provides the configuration information for invoking a Lambda function in * Lambda to alter document metadata and content when ingesting * documents into Amazon Q Business.
- *You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on - * the original or raw documents.
+ *You can configure your Lambda function using the
+ * PreExtractionHookConfiguration
parameter if you want to apply advanced
+ * alterations on the original or raw documents.
If you want to apply advanced alterations on the Amazon Q Business structured documents, - * you must configure your Lambda function using PostExtractionHookConfiguration.
+ * you must configure your Lambda function using + *PostExtractionHookConfiguration
.
* You can only invoke one Lambda function. However, this function can invoke * other functions it requires.
*For more information, see Custom document enrichment.
@@ -2053,6 +2269,12 @@ export interface GetIndexResponse { */ displayName?: string; + /** + *The type of index attached to your Amazon Q Business application.
+ * @public + */ + type?: IndexType; + /** *The Amazon Resource Name (ARN) of the Amazon Q Business index.
* @public @@ -2301,6 +2523,13 @@ export interface BasicAuthConfiguration { roleArn: string | undefined; } +/** + *Information about invoking a custom plugin without any authentication or authorization + * requirement.
+ * @public + */ +export interface NoAuthConfiguration {} + /** *Information about the OAuth 2.0 authentication credential/token used to configure a * plugin.
@@ -2328,6 +2557,7 @@ export interface OAuth2ClientCredentialConfiguration { */ export type PluginAuthConfiguration = | PluginAuthConfiguration.BasicAuthConfigurationMember + | PluginAuthConfiguration.NoAuthConfigurationMember | PluginAuthConfiguration.OAuth2ClientCredentialConfigurationMember | PluginAuthConfiguration.$UnknownMember; @@ -2343,6 +2573,7 @@ export namespace PluginAuthConfiguration { export interface BasicAuthConfigurationMember { basicAuthConfiguration: BasicAuthConfiguration; oAuth2ClientCredentialConfiguration?: never; + noAuthConfiguration?: never; $unknown?: never; } @@ -2354,6 +2585,18 @@ export namespace PluginAuthConfiguration { export interface OAuth2ClientCredentialConfigurationMember { basicAuthConfiguration?: never; oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfiguration; + noAuthConfiguration?: never; + $unknown?: never; + } + + /** + *Information about invoking a custom plugin without any authentication.
+ * @public + */ + export interface NoAuthConfigurationMember { + basicAuthConfiguration?: never; + oAuth2ClientCredentialConfiguration?: never; + noAuthConfiguration: NoAuthConfiguration; $unknown?: never; } @@ -2363,12 +2606,14 @@ export namespace PluginAuthConfiguration { export interface $UnknownMember { basicAuthConfiguration?: never; oAuth2ClientCredentialConfiguration?: never; + noAuthConfiguration?: never; $unknown: [string, any]; } export interface VisitorConfiguration information required to create a custom plugin.
+ * @public + */ +export interface CustomPluginConfiguration { + /** + *A description for your custom plugin configuration.
+ * @public + */ + description: string | undefined; + + /** + *The type of OpenAPI schema to use.
+ * @public + */ + apiSchemaType: APISchemaType | undefined; + + /** + *Contains either details about the S3 object containing the OpenAPI schema for the + * action group or the JSON or YAML-formatted payload defining the schema.
+ * @public + */ + apiSchema: APISchema | undefined; +} + /** * @public */ @@ -2402,17 +2673,23 @@ export interface CreatePluginRequest { */ type: PluginType | undefined; + /** + *Authentication configuration information for an Amazon Q Business plugin.
+ * @public + */ + authConfiguration: PluginAuthConfiguration | undefined; + /** *The source URL used for plugin configuration.
* @public */ - serverUrl: string | undefined; + serverUrl?: string; /** - *Authentication configuration information for an Amazon Q Business plugin.
+ *Contains configuration for a custom plugin.
* @public */ - authConfiguration: PluginAuthConfiguration | undefined; + customPluginConfiguration?: CustomPluginConfiguration; /** *A list of key-value pairs that identify or categorize the data source connector. You @@ -2431,6 +2708,25 @@ export interface CreatePluginRequest { clientToken?: string; } +/** + * @public + * @enum + */ +export const PluginBuildStatus = { + CREATE_FAILED: "CREATE_FAILED", + CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", + DELETE_FAILED: "DELETE_FAILED", + DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", + READY: "READY", + UPDATE_FAILED: "UPDATE_FAILED", + UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", +} as const; + +/** + * @public + */ +export type PluginBuildStatus = (typeof PluginBuildStatus)[keyof typeof PluginBuildStatus]; + /** * @public */ @@ -2446,6 +2742,12 @@ export interface CreatePluginResponse { * @public */ pluginArn?: string; + + /** + *
The current status of a plugin. A plugin is modified asynchronously.
+ * @public + */ + buildStatus?: PluginBuildStatus; } /** @@ -2541,6 +2843,18 @@ export interface GetPluginResponse { */ authConfiguration?: PluginAuthConfiguration; + /** + *Configuration information required to create a custom plugin.
+ * @public + */ + customPluginConfiguration?: CustomPluginConfiguration; + + /** + *The current status of a plugin. A plugin is modified asynchronously.
+ * @public + */ + buildStatus?: PluginBuildStatus; + /** *The Amazon Resource Name (ARN) of the role with permission to access resources needed * to create the plugin.
@@ -2627,6 +2941,12 @@ export interface Plugin { */ state?: PluginState; + /** + *The status of the plugin.
+ * @public + */ + buildStatus?: PluginBuildStatus; + /** *The timestamp for when the plugin was created.
* @public @@ -2693,6 +3013,12 @@ export interface UpdatePluginRequest { */ serverUrl?: string; + /** + *The configuration for a custom plugin.
+ * @public + */ + customPluginConfiguration?: CustomPluginConfiguration; + /** *The authentication configuration the plugin is using.
* @public @@ -3378,6 +3704,13 @@ export interface UpdateApplicationRequest { */ applicationId: string | undefined; + /** + *The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either + * creating for—or connecting to—your Amazon Q Business application.
+ * @public + */ + identityCenterInstanceArn?: string; + /** *A name for the Amazon Q Business application.
* @public @@ -3672,13 +4005,13 @@ export interface GetWebExperienceResponse { status?: WebExperienceStatus; /** - *The Unix timestamp when the retriever was created.
+ *The Unix timestamp when the Amazon Q Business web experience was last created.
* @public */ createdAt?: Date; /** - *The Unix timestamp when the data source connector was last updated.
+ *The Unix timestamp when the Amazon Q Business web experience was last updated.
* @public */ updatedAt?: Date; @@ -3717,6 +4050,8 @@ export interface GetWebExperienceResponse { roleArn?: string; /** + * @deprecated + * *The authentication configuration information for your Amazon Q Business web * experience.
* @public @@ -3830,6 +4165,15 @@ export interface UpdateWebExperienceRequest { webExperienceId: string | undefined; /** + *The Amazon Resource Name (ARN) of the role with permission to access the Amazon Q Business + * web experience and required resources.
+ * @public + */ + roleArn?: string; + + /** + * @deprecated + * *The authentication configuration of the Amazon Q Business web experience.
* @public */ @@ -3915,6 +4259,19 @@ export interface AttachmentInput { data: Uint8Array | undefined; } +/** + *A file input event activated by a end user request to upload files into their web + * experience chat.
+ * @public + */ +export interface AttachmentInputEvent { + /** + *A file directly uploaded into a web experience chat.
+ * @public + */ + attachment?: AttachmentInput; +} + /** * @public * @enum @@ -3972,10 +4329,65 @@ export interface DocumentAttribute { } /** - *A document deleted from an Amazon Q Business data source connector.
+ *A request made by Amazon Q Business to a third paty authentication server to authenticate + * a custom plugin user.
* @public */ -export interface DeleteDocument { +export interface AuthChallengeRequest { + /** + *The URL sent by Amazon Q Business to the third party authentication server to authenticate + * a custom plugin user through an OAuth protocol.
+ * @public + */ + authorizationUrl: string | undefined; +} + +/** + *An authentication verification event activated by an end user request to use a custom + * plugin.
+ * @public + */ +export interface AuthChallengeRequestEvent { + /** + *The URL sent by Amazon Q Business to a third party authentication server in response to an + * authentication verification event activated by an end user request to use a custom + * plugin.
+ * @public + */ + authorizationUrl: string | undefined; +} + +/** + *Contains details of the authentication information received from a third party + * authentication server in response to an authentication challenge.
+ * @public + */ +export interface AuthChallengeResponse { + /** + *The mapping of key-value pairs in an authentication challenge response.
+ * @public + */ + responseMap: RecordAn authentication verification event response by a third party authentication server + * to Amazon Q Business.
+ * @public + */ +export interface AuthChallengeResponseEvent { + /** + *The mapping of key-value pairs in an authentication challenge response.
+ * @public + */ + responseMap: RecordA document deleted from an Amazon Q Business data source connector.
+ * @public + */ +export interface DeleteDocument { /** *The identifier of the deleted document.
* @public @@ -4054,25 +4466,6 @@ export interface BatchDeleteDocumentResponse { failedDocuments?: FailedDocument[]; } -/** - *Information required for Amazon Q Business to find a specific file in an Amazon S3 - * bucket.
- * @public - */ -export interface S3 { - /** - *The name of the S3 bucket that contains the file.
- * @public - */ - bucket: string | undefined; - - /** - *The name of the file.
- * @public - */ - key: string | undefined; -} - /** *The contents of a document.
* @public @@ -4371,6 +4764,68 @@ export namespace ChatModeConfiguration { }; } +/** + *The end of the streaming input for the Chat
API.
An input event for a end user message in an Amazon Q Business web experience.
+ * @public + */ +export interface TextInputEvent { + /** + *A user message in a text message input event.
+ * @public + */ + userMessage: string | undefined; +} + +/** + *A failed file upload during web experience chat.
+ * @public + */ +export interface FailedAttachmentEvent { + /** + *The identifier of the conversation associated with the failed file upload.
+ * @public + */ + conversationId?: string; + + /** + *The identifier of the end user chat message associated with the file upload.
+ * @public + */ + userMessageId?: string; + + /** + *The identifier of the AI-generated message associated with the file upload.
+ * @public + */ + systemMessageId?: string; + + /** + *The details of a file uploaded during chat.
+ * @public + */ + attachment?: AttachmentOutput; +} + +/** + *Contains the relevant text excerpt from a source that was used to generate a citation + * text segment in an Amazon Q Business chat response.
+ * @public + */ +export interface SnippetExcerpt { + /** + *The relevant text excerpt from a source that was used to generate a citation text + * segment in an Amazon Q chat response.
+ * @public + */ + text?: string; +} + /** *Provides information about a text extract in a chat response that can be attributed to * a source document.
@@ -4390,6 +4845,13 @@ export interface TextSegment { * @public */ endOffset?: number; + + /** + *The relevant text excerpt from a source that was used to generate a citation text + * segment in an Amazon Q Business chat response.
+ * @public + */ + snippetExcerpt?: SnippetExcerpt; } /** @@ -4438,20 +4900,24 @@ export interface SourceAttribution { } /** + *A metadata event for a AI-generated text output message in a Amazon Q Business + * conversation, containing associated metadata generated.
* @public */ -export interface ChatSyncOutput { +export interface MetadataEvent { /** - *The identifier of the Amazon Q Business conversation.
+ *The identifier of the conversation with which the generated metadata is + * associated.
* @public */ conversationId?: string; /** - *An AI-generated message in a conversation.
+ *The identifier of an Amazon Q Business end user text input message within the + * conversation.
* @public */ - systemMessage?: string; + userMessageId?: string; /** *The identifier of an Amazon Q Business AI generated message within the @@ -4461,30 +4927,176 @@ export interface ChatSyncOutput { systemMessageId?: string; /** - *
The identifier of an Amazon Q Business end user text input message within the - * conversation.
+ *The source documents used to generate the conversation response.
+ * @public + */ + sourceAttributions?: SourceAttribution[]; + + /** + *The final text output message generated by the system.
+ * @public + */ + finalTextMessage?: string; +} + +/** + *An output event for an AI-generated response in an Amazon Q Business web + * experience.
+ * @public + */ +export interface TextOutputEvent { + /** + *The identifier of the conversation with which the text output event is + * associated.
+ * @public + */ + conversationId?: string; + + /** + *The identifier of an end user message in a TextOutputEvent
.
The identifier of an AI-generated message in a TextOutputEvent
.
An AI-generated message in a TextOutputEvent
.
The streaming output for the Chat
API.
Information about the payload of the ChatOutputStream
event containing
+ * the AI-generated message output.
A metadata event for a AI-generated text output message in a Amazon Q Business + * conversation.
+ * @public + */ + export interface MetadataEventMember { + textEvent?: never; + metadataEvent: MetadataEvent; + actionReviewEvent?: never; + failedAttachmentEvent?: never; + authChallengeRequestEvent?: never; + $unknown?: never; + } + /** *A request from Amazon Q Business to the end user for information Amazon Q Business needs to * successfully complete a requested plugin action.
* @public */ - actionReview?: ActionReview; + export interface ActionReviewEventMember { + textEvent?: never; + metadataEvent?: never; + actionReviewEvent: ActionReviewEvent; + failedAttachmentEvent?: never; + authChallengeRequestEvent?: never; + $unknown?: never; + } /** - *The source documents used to generate the conversation response.
+ *A failed file upload event during a web experience chat.
* @public */ - sourceAttributions?: SourceAttribution[]; + export interface FailedAttachmentEventMember { + textEvent?: never; + metadataEvent?: never; + actionReviewEvent?: never; + failedAttachmentEvent: FailedAttachmentEvent; + authChallengeRequestEvent?: never; + $unknown?: never; + } /** - *A list of files which failed to upload during chat.
+ *An authentication verification event activated by an end user request to use a custom + * plugin.
* @public */ - failedAttachments?: AttachmentOutput[]; + export interface AuthChallengeRequestEventMember { + textEvent?: never; + metadataEvent?: never; + actionReviewEvent?: never; + failedAttachmentEvent?: never; + authChallengeRequestEvent: AuthChallengeRequestEvent; + $unknown?: never; + } + + /** + * @public + */ + export interface $UnknownMember { + textEvent?: never; + metadataEvent?: never; + actionReviewEvent?: never; + failedAttachmentEvent?: never; + authChallengeRequestEvent?: never; + $unknown: [string, any]; + } + + export interface VisitorThe streaming output for the Chat
API.
The identifier of the Amazon Q Business conversation.
+ * @public + */ + conversationId?: string; + + /** + *An AI-generated message in a conversation.
+ * @public + */ + systemMessage?: string; + + /** + *The identifier of an Amazon Q Business AI generated message within the + * conversation.
+ * @public + */ + systemMessageId?: string; + + /** + *The identifier of an Amazon Q Business end user text input message within the + * conversation.
+ * @public + */ + userMessageId?: string; + + /** + *A request from Amazon Q Business to the end user for information Amazon Q Business needs to + * successfully complete a requested plugin action.
+ * @public + */ + actionReview?: ActionReview; + + /** + *An authentication verification event activated by an end user request to use a custom + * plugin.
+ * @public + */ + authChallengeRequest?: AuthChallengeRequest; + + /** + *The source documents used to generate the conversation response.
+ * @public + */ + sourceAttributions?: SourceAttribution[]; + + /** + *A list of files which failed to upload during chat.
+ * @public + */ + failedAttachments?: AttachmentOutput[]; +} + /** *A rule for configuring how Amazon Q Business responds when it encounters a a blocked * topic. You can configure a custom message to inform your end users that they have asked @@ -6256,6 +6925,13 @@ export interface ChatSyncInput { */ actionExecution?: ActionExecution; + /** + *
An authentication verification event response by a third party authentication server + * to Amazon Q Business.
+ * @public + */ + authChallengeResponse?: AuthChallengeResponse; + /** *The identifier of the Amazon Q Business conversation.
* @public @@ -6276,7 +6952,7 @@ export interface ChatSyncInput { attributeFilter?: AttributeFilter; /** - *The chat modes available in an Amazon Q Business web experience.
+ *The chat modes available to an Amazon Q Business end user.
*@@ -6316,6 +6992,250 @@ export interface ChatSyncInput { clientToken?: string; } +/** + *
A configuration event activated by an end user request to select a specific chat + * mode.
+ * @public + */ +export interface ConfigurationEvent { + /** + *The chat modes available to an Amazon Q Business end user.
+ *
+ * RETRIEVAL_MODE
- The default chat mode for an
+ * Amazon Q Business application. When this mode is enabled, Amazon Q Business generates
+ * responses only from data sources connected to an Amazon Q Business
+ * application.
+ * CREATOR_MODE
- By selecting this mode, users can choose to
+ * generate responses only from the LLM knowledge, without consulting connected
+ * data sources, for a chat request.
+ * PLUGIN_MODE
- By selecting this mode, users can choose to
+ * use plugins in chat.
For more information, see Admin controls and guardrails, Plugins, + * and Conversation settings.
+ * @public + */ + chatMode?: ChatMode; + + /** + *Configuration information for Amazon Q Business conversation modes.
+ *For more information, see Admin controls and guardrails and Conversation settings.
+ * @public + */ + chatModeConfiguration?: ChatModeConfiguration; + + /** + *Enables filtering of responses based on document attributes or metadata fields.
+ * @public + */ + attributeFilter?: AttributeFilter; +} + +/** + *The streaming input for the Chat
API.
A configuration event activated by an end user request to select a specific chat + * mode.
+ * @public + */ + export interface ConfigurationEventMember { + configurationEvent: ConfigurationEvent; + textEvent?: never; + attachmentEvent?: never; + actionExecutionEvent?: never; + endOfInputEvent?: never; + authChallengeResponseEvent?: never; + $unknown?: never; + } + + /** + *Information about the payload of the ChatInputStream
event containing the
+ * end user message input.
A request by an end user to upload a file during chat.
+ * @public + */ + export interface AttachmentEventMember { + configurationEvent?: never; + textEvent?: never; + attachmentEvent: AttachmentInputEvent; + actionExecutionEvent?: never; + endOfInputEvent?: never; + authChallengeResponseEvent?: never; + $unknown?: never; + } + + /** + *A request from an end user to perform an Amazon Q Business plugin action.
+ * @public + */ + export interface ActionExecutionEventMember { + configurationEvent?: never; + textEvent?: never; + attachmentEvent?: never; + actionExecutionEvent: ActionExecutionEvent; + endOfInputEvent?: never; + authChallengeResponseEvent?: never; + $unknown?: never; + } + + /** + *The end of the streaming input for the Chat
API.
An authentication verification event response by a third party authentication server + * to Amazon Q Business.
+ * @public + */ + export interface AuthChallengeResponseEventMember { + configurationEvent?: never; + textEvent?: never; + attachmentEvent?: never; + actionExecutionEvent?: never; + endOfInputEvent?: never; + authChallengeResponseEvent: AuthChallengeResponseEvent; + $unknown?: never; + } + + /** + * @public + */ + export interface $UnknownMember { + configurationEvent?: never; + textEvent?: never; + attachmentEvent?: never; + actionExecutionEvent?: never; + endOfInputEvent?: never; + authChallengeResponseEvent?: never; + $unknown: [string, any]; + } + + export interface VisitorThe identifier of the Amazon Q Business application linked to a streaming Amazon Q Business + * conversation.
+ * @public + */ + applicationId: string | undefined; + + /** + *The identifier of the user attached to the chat input.
+ * @public + */ + userId?: string; + + /** + *The groups that a user associated with the chat input belongs to.
+ * @public + */ + userGroups?: string[]; + + /** + *The identifier of the Amazon Q Business conversation.
+ * @public + */ + conversationId?: string; + + /** + *The identifier used to associate a user message with a AI generated response.
+ * @public + */ + parentMessageId?: string; + + /** + *A token that you provide to identify the chat input.
+ * @public + */ + clientToken?: string; + + /** + *The streaming input for the Chat
API.
The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.\n
" + } + }, + "s3": { + "target": "com.amazonaws.qbusiness#S3", + "traits": { + "smithy.api#documentation": "Contains details about the S3 object containing the OpenAPI schema for a custom\n plugin. The schema could be in either JSON or YAML format.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains details about the OpenAPI schema for a custom plugin. For more information,\n see custom plugin OpenAPI schemas. You can either include\n the schema directly in the payload field or you can upload it to an S3 bucket and\n specify the S3 bucket location in the s3
field.
Performs an Amazon Q Business plugin action during a non-streaming chat\n conversation.
" } }, + "com.amazonaws.qbusiness#ActionExecutionEvent": { + "type": "structure", + "members": { + "pluginId": { + "target": "com.amazonaws.qbusiness#PluginId", + "traits": { + "smithy.api#documentation": "The identifier of the plugin for which the action is being requested.
", + "smithy.api#required": {} + } + }, + "payload": { + "target": "com.amazonaws.qbusiness#ActionExecutionPayload", + "traits": { + "smithy.api#documentation": "A mapping of field names to the field values in input that an end user provides to\n Amazon Q Business requests to perform their plugin action.
", + "smithy.api#required": {} + } + }, + "payloadFieldNameSeparator": { + "target": "com.amazonaws.qbusiness#ActionPayloadFieldNameSeparator", + "traits": { + "smithy.api#documentation": "A string used to retain information about the hierarchical contexts within a action\n execution event payload.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A request from an end user signalling an intent to perform an Amazon Q Business plugin\n action during a streaming chat.
" + } + }, "com.amazonaws.qbusiness#ActionExecutionPayload": { "type": "map", "key": { @@ -199,6 +259,56 @@ "smithy.api#documentation": "An output event that Amazon Q Business returns to an user who wants to perform a plugin\n action during a non-streaming chat conversation. It contains information about the\n selected action with a list of possible user input fields, some pre-populated by\n Amazon Q Business.
" } }, + "com.amazonaws.qbusiness#ActionReviewEvent": { + "type": "structure", + "members": { + "conversationId": { + "target": "com.amazonaws.qbusiness#ConversationId", + "traits": { + "smithy.api#documentation": "The identifier of the conversation with which the action review event is\n associated.
" + } + }, + "userMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of the conversation with which the plugin action is associated.
" + } + }, + "systemMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of an Amazon Q Business AI generated associated with the action review\n event.
" + } + }, + "pluginId": { + "target": "com.amazonaws.qbusiness#PluginId", + "traits": { + "smithy.api#documentation": "The identifier of the plugin associated with the action review event.
" + } + }, + "pluginType": { + "target": "com.amazonaws.qbusiness#PluginType", + "traits": { + "smithy.api#documentation": "The type of plugin.
" + } + }, + "payload": { + "target": "com.amazonaws.qbusiness#ActionReviewPayload", + "traits": { + "smithy.api#documentation": "Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to\n perform the requested plugin action.
" + } + }, + "payloadFieldNameSeparator": { + "target": "com.amazonaws.qbusiness#ActionPayloadFieldNameSeparator", + "traits": { + "smithy.api#documentation": "A string used to retain information about the hierarchical contexts within an action\n review event payload.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An output event that Amazon Q Business returns to an user who wants to perform a plugin\n action during a streaming chat conversation. It contains information about the selected\n action with a list of possible user input fields, some pre-populated by Amazon Q Business.\n
" + } + }, "com.amazonaws.qbusiness#ActionReviewPayload": { "type": "map", "key": { @@ -223,6 +333,12 @@ "smithy.api#documentation": "The display order of fields in a payload.
" } }, + "displayDescription": { + "target": "com.amazonaws.qbusiness#String", + "traits": { + "smithy.api#documentation": "The field level description of each action review input field. This could be an\n explanation of the field. In the Amazon Q Business web experience, these descriptions could\n be used to display as tool tips to help users understand the field.
" + } + }, "type": { "target": "com.amazonaws.qbusiness#ActionPayloadFieldType", "traits": { @@ -241,6 +357,12 @@ "smithy.api#documentation": "Information about the field values that an end user can use to provide to\n Amazon Q Business for Amazon Q Business to perform the requested plugin action.
" } }, + "allowedFormat": { + "target": "com.amazonaws.qbusiness#String", + "traits": { + "smithy.api#documentation": "The expected data format for the action review input field value. For example, in PTO\n request, from
and to
would be of datetime
allowed\n format.
A file directly uploaded into a web experience chat.
" } }, + "com.amazonaws.qbusiness#AttachmentInputEvent": { + "type": "structure", + "members": { + "attachment": { + "target": "com.amazonaws.qbusiness#AttachmentInput" + } + }, + "traits": { + "smithy.api#documentation": "A file input event activated by a end user request to upload files into their web\n experience chat.
" + } + }, "com.amazonaws.qbusiness#AttachmentName": { "type": "string", "traits": { @@ -705,6 +838,93 @@ } } }, + "com.amazonaws.qbusiness#AuthChallengeRequest": { + "type": "structure", + "members": { + "authorizationUrl": { + "target": "com.amazonaws.qbusiness#Url", + "traits": { + "smithy.api#documentation": "The URL sent by Amazon Q Business to the third party authentication server to authenticate\n a custom plugin user through an OAuth protocol.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A request made by Amazon Q Business to a third paty authentication server to authenticate\n a custom plugin user.
" + } + }, + "com.amazonaws.qbusiness#AuthChallengeRequestEvent": { + "type": "structure", + "members": { + "authorizationUrl": { + "target": "com.amazonaws.qbusiness#Url", + "traits": { + "smithy.api#documentation": "The URL sent by Amazon Q Business to a third party authentication server in response to an\n authentication verification event activated by an end user request to use a custom\n plugin.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An authentication verification event activated by an end user request to use a custom\n plugin.
" + } + }, + "com.amazonaws.qbusiness#AuthChallengeResponse": { + "type": "structure", + "members": { + "responseMap": { + "target": "com.amazonaws.qbusiness#AuthorizationResponseMap", + "traits": { + "smithy.api#documentation": "The mapping of key-value pairs in an authentication challenge response.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Contains details of the authentication information received from a third party\n authentication server in response to an authentication challenge.
" + } + }, + "com.amazonaws.qbusiness#AuthChallengeResponseEvent": { + "type": "structure", + "members": { + "responseMap": { + "target": "com.amazonaws.qbusiness#AuthorizationResponseMap", + "traits": { + "smithy.api#documentation": "The mapping of key-value pairs in an authentication challenge response.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An authentication verification event response by a third party authentication server\n to Amazon Q Business.
" + } + }, + "com.amazonaws.qbusiness#AuthResponseKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.qbusiness#AuthResponseValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "com.amazonaws.qbusiness#AuthorizationResponseMap": { + "type": "map", + "key": { + "target": "com.amazonaws.qbusiness#AuthResponseKey" + }, + "value": { + "target": "com.amazonaws.qbusiness#AuthResponseValue" + } + }, "com.amazonaws.qbusiness#BasicAuthConfiguration": { "type": "structure", "members": { @@ -988,6 +1208,149 @@ } } }, + "com.amazonaws.qbusiness#Chat": { + "type": "operation", + "input": { + "target": "com.amazonaws.qbusiness#ChatInput" + }, + "output": { + "target": "com.amazonaws.qbusiness#ChatOutput" + }, + "errors": [ + { + "target": "com.amazonaws.qbusiness#AccessDeniedException" + }, + { + "target": "com.amazonaws.qbusiness#ConflictException" + }, + { + "target": "com.amazonaws.qbusiness#InternalServerException" + }, + { + "target": "com.amazonaws.qbusiness#LicenseNotFoundException" + }, + { + "target": "com.amazonaws.qbusiness#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.qbusiness#ThrottlingException" + }, + { + "target": "com.amazonaws.qbusiness#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Starts or continues a streaming Amazon Q Business conversation.
", + "smithy.api#http": { + "uri": "/applications/{applicationId}/conversations", + "method": "POST" + } + } + }, + "com.amazonaws.qbusiness#ChatInput": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.qbusiness#ApplicationId", + "traits": { + "smithy.api#documentation": "The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business\n conversation.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "userId": { + "target": "com.amazonaws.qbusiness#UserId", + "traits": { + "smithy.api#documentation": "The identifier of the user attached to the chat input.
", + "smithy.api#httpQuery": "userId" + } + }, + "userGroups": { + "target": "com.amazonaws.qbusiness#UserGroups", + "traits": { + "smithy.api#documentation": "The groups that a user associated with the chat input belongs to.
", + "smithy.api#httpQuery": "userGroups" + } + }, + "conversationId": { + "target": "com.amazonaws.qbusiness#ConversationId", + "traits": { + "smithy.api#documentation": "The identifier of the Amazon Q Business conversation.
", + "smithy.api#httpQuery": "conversationId" + } + }, + "parentMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier used to associate a user message with a AI generated response.
", + "smithy.api#httpQuery": "parentMessageId" + } + }, + "clientToken": { + "target": "com.amazonaws.qbusiness#ClientToken", + "traits": { + "smithy.api#documentation": "A token that you provide to identify the chat input.
", + "smithy.api#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } + }, + "inputStream": { + "target": "com.amazonaws.qbusiness#ChatInputStream", + "traits": { + "smithy.api#documentation": "The streaming input for the Chat
API.
A configuration event activated by an end user request to select a specific chat\n mode.
" + } + }, + "textEvent": { + "target": "com.amazonaws.qbusiness#TextInputEvent", + "traits": { + "smithy.api#documentation": "Information about the payload of the ChatInputStream
event containing the\n end user message input.
A request by an end user to upload a file during chat.
" + } + }, + "actionExecutionEvent": { + "target": "com.amazonaws.qbusiness#ActionExecutionEvent", + "traits": { + "smithy.api#documentation": "A request from an end user to perform an Amazon Q Business plugin action.
" + } + }, + "endOfInputEvent": { + "target": "com.amazonaws.qbusiness#EndOfInputEvent", + "traits": { + "smithy.api#documentation": "The end of the streaming input for the Chat
API.
An authentication verification event response by a third party authentication server\n to Amazon Q Business.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The streaming input for the Chat
API.
Configuration information for Amazon Q Business conversation modes.
\nFor more information, see Admin controls and guardrails and Conversation settings.
" } }, + "com.amazonaws.qbusiness#ChatOutput": { + "type": "structure", + "members": { + "outputStream": { + "target": "com.amazonaws.qbusiness#ChatOutputStream", + "traits": { + "smithy.api#documentation": "The streaming output for the Chat
API.
Information about the payload of the ChatOutputStream
event containing\n the AI-generated message output.
A metadata event for a AI-generated text output message in a Amazon Q Business\n conversation.
" + } + }, + "actionReviewEvent": { + "target": "com.amazonaws.qbusiness#ActionReviewEvent", + "traits": { + "smithy.api#documentation": "A request from Amazon Q Business to the end user for information Amazon Q Business needs to\n successfully complete a requested plugin action.
" + } + }, + "failedAttachmentEvent": { + "target": "com.amazonaws.qbusiness#FailedAttachmentEvent", + "traits": { + "smithy.api#documentation": "A failed file upload event during a web experience chat.
" + } + }, + "authChallengeRequestEvent": { + "target": "com.amazonaws.qbusiness#AuthChallengeRequestEvent", + "traits": { + "smithy.api#documentation": "An authentication verification event activated by an end user request to use a custom\n plugin.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The streaming output for the Chat
API.
A request from an end user to perform an Amazon Q Business plugin action.
" } }, + "authChallengeResponse": { + "target": "com.amazonaws.qbusiness#AuthChallengeResponse", + "traits": { + "smithy.api#documentation": "An authentication verification event response by a third party authentication server\n to Amazon Q Business.
" + } + }, "conversationId": { "target": "com.amazonaws.qbusiness#ConversationId", "traits": { @@ -1128,7 +1551,7 @@ "chatMode": { "target": "com.amazonaws.qbusiness#ChatMode", "traits": { - "smithy.api#documentation": "The chat modes available in an Amazon Q Business web experience.
\n\n RETRIEVAL_MODE
- The default chat mode for an\n Amazon Q Business application. When this mode is enabled, Amazon Q Business generates\n responses only from data sources connected to an Amazon Q Business\n application.
\n CREATOR_MODE
- By selecting this mode, users can choose to\n generate responses only from the LLM knowledge, without consulting connected\n data sources, for a chat request.
\n PLUGIN_MODE
- By selecting this mode, users can choose to\n use plugins in chat.
For more information, see Admin controls and guardrails, Plugins,\n and Conversation settings.
" + "smithy.api#documentation": "The chat modes available to an Amazon Q Business end user.
\n\n RETRIEVAL_MODE
- The default chat mode for an\n Amazon Q Business application. When this mode is enabled, Amazon Q Business generates\n responses only from data sources connected to an Amazon Q Business\n application.
\n CREATOR_MODE
- By selecting this mode, users can choose to\n generate responses only from the LLM knowledge, without consulting connected\n data sources, for a chat request.
\n PLUGIN_MODE
- By selecting this mode, users can choose to\n use plugins in chat.
For more information, see Admin controls and guardrails, Plugins,\n and Conversation settings.
" } }, "chatModeConfiguration": { @@ -1182,6 +1605,12 @@ "smithy.api#documentation": "A request from Amazon Q Business to the end user for information Amazon Q Business needs to\n successfully complete a requested plugin action.
" } }, + "authChallengeRequest": { + "target": "com.amazonaws.qbusiness#AuthChallengeRequest", + "traits": { + "smithy.api#documentation": "An authentication verification event activated by an end user request to use a custom\n plugin.
" + } + }, "sourceAttributions": { "target": "com.amazonaws.qbusiness#SourceAttributions", "traits": { @@ -1208,6 +1637,26 @@ } } }, + "com.amazonaws.qbusiness#ConfigurationEvent": { + "type": "structure", + "members": { + "chatMode": { + "target": "com.amazonaws.qbusiness#ChatMode", + "traits": { + "smithy.api#documentation": "The chat modes available to an Amazon Q Business end user.
\n\n RETRIEVAL_MODE
- The default chat mode for an\n Amazon Q Business application. When this mode is enabled, Amazon Q Business generates\n responses only from data sources connected to an Amazon Q Business\n application.
\n CREATOR_MODE
- By selecting this mode, users can choose to\n generate responses only from the LLM knowledge, without consulting connected\n data sources, for a chat request.
\n PLUGIN_MODE
- By selecting this mode, users can choose to\n use plugins in chat.
For more information, see Admin controls and guardrails, Plugins,\n and Conversation settings.
" + } + }, + "chatModeConfiguration": { + "target": "com.amazonaws.qbusiness#ChatModeConfiguration" + }, + "attributeFilter": { + "target": "com.amazonaws.qbusiness#AttributeFilter" + } + }, + "traits": { + "smithy.api#documentation": "A configuration event activated by an end user request to select a specific chat\n mode.
" + } + }, "com.amazonaws.qbusiness#ConflictException": { "type": "structure", "members": { @@ -1429,7 +1878,7 @@ "kms:DescribeKey", "kms:CreateGrant" ], - "smithy.api#documentation": "Creates an Amazon Q Business application.
", + "smithy.api#documentation": "Creates an Amazon Q Business application.
\nThere are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are \n also available in Amazon Q Business Lite. For information on what's included in \n Amazon Q Business Lite and what's included in \n Amazon Q Business Pro, see Amazon Q Business tiers. \n You must use the Amazon Q Business console to assign subscription tiers to users.
\nThe Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon\n CloudWatch logs and metrics.
", - "smithy.api#required": {} + "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon\n CloudWatch logs and metrics.
" } }, "identityCenterInstanceArn": { @@ -1723,6 +2171,12 @@ "smithy.api#required": {} } }, + "type": { + "target": "com.amazonaws.qbusiness#IndexType", + "traits": { + "smithy.api#documentation": "The index type that's suitable for your needs. For more information on what's included\n in each type of index or index tier, see Amazon Q Business\n tiers.
" + } + }, "description": { "target": "com.amazonaws.qbusiness#Description", "traits": { @@ -1806,6 +2260,7 @@ } ], "traits": { + "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], "aws.iam#requiredActions": [ "qbusiness:GetPlugin", "qbusiness:TagResource", @@ -1845,17 +2300,22 @@ "smithy.api#required": {} } }, + "authConfiguration": { + "target": "com.amazonaws.qbusiness#PluginAuthConfiguration", + "traits": { + "smithy.api#required": {} + } + }, "serverUrl": { "target": "com.amazonaws.qbusiness#Url", "traits": { - "smithy.api#documentation": "The source URL used for plugin configuration.
", - "smithy.api#required": {} + "smithy.api#documentation": "The source URL used for plugin configuration.
" } }, - "authConfiguration": { - "target": "com.amazonaws.qbusiness#PluginAuthConfiguration", + "customPluginConfiguration": { + "target": "com.amazonaws.qbusiness#CustomPluginConfiguration", "traits": { - "smithy.api#required": {} + "smithy.api#documentation": "Contains configuration for a custom plugin.
" } }, "tags": { @@ -1891,6 +2351,12 @@ "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of a plugin.
" } + }, + "buildStatus": { + "target": "com.amazonaws.qbusiness#PluginBuildStatus", + "traits": { + "smithy.api#documentation": "The current status of a plugin. A plugin is modified asynchronously.
" + } } }, "traits": { @@ -2263,6 +2729,35 @@ } } }, + "com.amazonaws.qbusiness#CustomPluginConfiguration": { + "type": "structure", + "members": { + "description": { + "target": "com.amazonaws.qbusiness#PluginDescription", + "traits": { + "smithy.api#documentation": "A description for your custom plugin configuration.
", + "smithy.api#required": {} + } + }, + "apiSchemaType": { + "target": "com.amazonaws.qbusiness#APISchemaType", + "traits": { + "smithy.api#documentation": "The type of OpenAPI schema to use.
", + "smithy.api#required": {} + } + }, + "apiSchema": { + "target": "com.amazonaws.qbusiness#APISchema", + "traits": { + "smithy.api#documentation": "Contains either details about the S3 object containing the OpenAPI schema for the\n action group or the JSON or YAML-formatted payload defining the schema.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration information required to create a custom plugin.
" + } + }, "com.amazonaws.qbusiness#DataSource": { "type": "structure", "members": { @@ -3526,7 +4021,7 @@ "operator": { "target": "com.amazonaws.qbusiness#DocumentEnrichmentConditionOperator", "traits": { - "smithy.api#documentation": "The identifier of the document attribute used for the condition.
\nFor example, 'Source_URI' could be an identifier for the attribute or metadata field\n that contains source URIs associated with the documents.
\nAmazon Kendra currently does not support _document_body
as an\n attribute key used for the condition.
The identifier of the document attribute used for the condition.
\nFor example, 'Source_URI' could be an identifier for the attribute or metadata field\n that contains source URIs associated with the documents.
\nAmazon Q Business currently does not support _document_body
as an attribute\n key used for the condition.
The name of the document attribute.
" } @@ -3847,6 +4342,16 @@ "smithy.api#pattern": "^\\P{C}*$" } }, + "com.amazonaws.qbusiness#DocumentMetadataConfigurationName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 30 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_][a-zA-Z0-9_-]*$" + } + }, "com.amazonaws.qbusiness#DocumentStatus": { "type": "enum", "members": { @@ -3957,6 +4462,13 @@ "smithy.api#documentation": "Provides the identifier of the KMS key used to encrypt data indexed by\n Amazon Q Business. Amazon Q Business doesn't support asymmetric keys.
" } }, + "com.amazonaws.qbusiness#EndOfInputEvent": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "The end of the streaming input for the Chat
API.
Amazon Q is in preview release and is subject to change.
\nThis is the Amazon Q Business API Reference. Amazon Q Business is a fully\n managed, generative-AI powered enterprise chat assistant that you can deploy within your\n organization. Amazon Q Business enhances employee productivity by supporting key tasks such\n as question-answering, knowledge discovery, writing email messages, summarizing text,\n drafting document outlines, and brainstorming ideas. Users ask questions of\n Amazon Q Business and get answers that are presented in a conversational manner. For an\n introduction to the service, see the \n Amazon Q Business User Guide\n .
\nFor an overview of the Amazon Q Business APIs, see Overview of Amazon Q Business API operations.
\nFor information about the IAM access control permissions you need to\n use this API, see IAM roles for Amazon Q Business in the\n Amazon Q Business User Guide.
\nYou can use the following AWS SDKs to access Amazon Q Business APIs:
\n\n AWS SDK for C++\n
\n\n AWS SDK for Go\n
\n\n AWS SDK for Java\n
\n\n AWS SDK for .NET\n
\n\n AWS SDK for Ruby\n
\nThe following resources provide additional information about using the Amazon Q Business\n API:
\n\n \n Setting up for\n Amazon Q Business\n \n
\n\n \n Amazon Q Business CLI Reference\n \n
\n\n \n Amazon Web Services General Reference\n \n
\nThis is the Amazon Q Business API Reference. Amazon Q Business is a fully\n managed, generative-AI powered enterprise chat assistant that you can deploy within your\n organization. Amazon Q Business enhances employee productivity by supporting key tasks such\n as question-answering, knowledge discovery, writing email messages, summarizing text,\n drafting document outlines, and brainstorming ideas. Users ask questions of\n Amazon Q Business and get answers that are presented in a conversational manner. For an\n introduction to the service, see the \n Amazon Q Business User Guide\n .
\nFor an overview of the Amazon Q Business APIs, see Overview of Amazon Q Business API operations.
\nFor information about the IAM access control permissions you need to\n use this API, see IAM roles for Amazon Q Business in the\n Amazon Q Business User Guide.
\nYou can use the following AWS SDKs to access Amazon Q Business APIs:
\n\n AWS SDK for C++\n
\n\n AWS SDK for Go\n
\n\n AWS SDK for Java\n
\n\n AWS SDK for .NET\n
\n\n AWS SDK for Ruby\n
\nThe following resources provide additional information about using the Amazon Q Business\n API:
\n\n \n Setting up for\n Amazon Q Business\n \n
\n\n \n Amazon Q Business CLI Reference\n \n
\n\n \n Amazon Web Services General Reference\n \n
\nThe identifier of the conversation associated with the failed file upload.
" + } + }, + "userMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of the end user chat message associated with the file upload.
" + } + }, + "systemMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of the AI-generated message associated with the file upload.
" + } + }, + "attachment": { + "target": "com.amazonaws.qbusiness#AttachmentOutput" + } + }, + "traits": { + "smithy.api#documentation": "A failed file upload during web experience chat.
" + } + }, "com.amazonaws.qbusiness#FailedDocument": { "type": "structure", "members": { @@ -5135,6 +5679,12 @@ "smithy.api#documentation": "The name of the Amazon Q Business index.
" } }, + "type": { + "target": "com.amazonaws.qbusiness#IndexType", + "traits": { + "smithy.api#documentation": "The type of index attached to your Amazon Q Business application.
" + } + }, "indexArn": { "target": "com.amazonaws.qbusiness#IndexArn", "traits": { @@ -5290,6 +5840,18 @@ "authConfiguration": { "target": "com.amazonaws.qbusiness#PluginAuthConfiguration" }, + "customPluginConfiguration": { + "target": "com.amazonaws.qbusiness#CustomPluginConfiguration", + "traits": { + "smithy.api#documentation": "Configuration information required to create a custom plugin.
" + } + }, + "buildStatus": { + "target": "com.amazonaws.qbusiness#PluginBuildStatus", + "traits": { + "smithy.api#documentation": "The current status of a plugin. A plugin is modified asynchronously.
" + } + }, "pluginArn": { "target": "com.amazonaws.qbusiness#PluginArn", "traits": { @@ -5613,13 +6175,13 @@ "createdAt": { "target": "com.amazonaws.qbusiness#Timestamp", "traits": { - "smithy.api#documentation": "The Unix timestamp when the retriever was created.
" + "smithy.api#documentation": "The Unix timestamp when the Amazon Q Business web experience was last created.
" } }, "updatedAt": { "target": "com.amazonaws.qbusiness#Timestamp", "traits": { - "smithy.api#documentation": "The Unix timestamp when the data source connector was last updated.
" + "smithy.api#documentation": "The Unix timestamp when the Amazon Q Business web experience was last updated.
" } }, "title": { @@ -5655,6 +6217,9 @@ "authenticationConfiguration": { "target": "com.amazonaws.qbusiness#WebExperienceAuthConfiguration", "traits": { + "smithy.api#deprecated": { + "message": "Property associated with legacy SAML IdP flow. Deprecated in favor of using AWS IAM Identity Center for user management." + }, "smithy.api#documentation": "The authentication configuration information for your Amazon Q Business web\n experience.
" } }, @@ -5816,7 +6381,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides the configuration information for invoking a Lambda function in\n Lambda to alter document metadata and content when ingesting\n documents into Amazon Q Business.
\nYou can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on\n the original or raw documents.
\nIf you want to apply advanced alterations on the Amazon Q Business structured documents,\n you must configure your Lambda function using PostExtractionHookConfiguration.
\nYou can only invoke one Lambda function. However, this function can invoke\n other functions it requires.
\nFor more information, see Custom document enrichment.
" + "smithy.api#documentation": "Provides the configuration information for invoking a Lambda function in\n Lambda to alter document metadata and content when ingesting\n documents into Amazon Q Business.
\nYou can configure your Lambda function using the\n PreExtractionHookConfiguration
parameter if you want to apply advanced\n alterations on the original or raw documents.
If you want to apply advanced alterations on the Amazon Q Business structured documents,\n you must configure your Lambda function using\n PostExtractionHookConfiguration
.
You can only invoke one Lambda function. However, this function can invoke\n other functions it requires.
\nFor more information, see Custom document enrichment.
" } }, "com.amazonaws.qbusiness#IdcApplicationArn": { @@ -6004,6 +6569,23 @@ } } }, + "com.amazonaws.qbusiness#IndexType": { + "type": "enum", + "members": { + "ENTERPRISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTERPRISE" + } + }, + "STARTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTER" + } + } + } + }, "com.amazonaws.qbusiness#IndexedTextBytes": { "type": "long", "traits": { @@ -7747,6 +8329,44 @@ "target": "com.amazonaws.qbusiness#Message" } }, + "com.amazonaws.qbusiness#MetadataEvent": { + "type": "structure", + "members": { + "conversationId": { + "target": "com.amazonaws.qbusiness#ConversationId", + "traits": { + "smithy.api#documentation": "The identifier of the conversation with which the generated metadata is\n associated.
" + } + }, + "userMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of an Amazon Q Business end user text input message within the\n conversation.
" + } + }, + "systemMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of an Amazon Q Business AI generated message within the\n conversation.
" + } + }, + "sourceAttributions": { + "target": "com.amazonaws.qbusiness#SourceAttributions", + "traits": { + "smithy.api#documentation": "The source documents used to generate the conversation response.
" + } + }, + "finalTextMessage": { + "target": "com.amazonaws.qbusiness#String", + "traits": { + "smithy.api#documentation": "The final text output message generated by the system.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A metadata event for a AI-generated text output message in a Amazon Q Business\n conversation, containing associated metadata generated.
" + } + }, "com.amazonaws.qbusiness#MetricValue": { "type": "string", "traits": { @@ -7783,6 +8403,13 @@ } } }, + "com.amazonaws.qbusiness#NoAuthConfiguration": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "Information about invoking a custom plugin without any authentication or authorization\n requirement.
" + } + }, "com.amazonaws.qbusiness#NumberAttributeBoostingConfiguration": { "type": "structure", "members": { @@ -7843,6 +8470,12 @@ "smithy.api#documentation": "Information about the OAuth 2.0 authentication credential/token used to configure a\n plugin.
" } }, + "com.amazonaws.qbusiness#Payload": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, "com.amazonaws.qbusiness#Plugin": { "type": "structure", "members": { @@ -7876,6 +8509,12 @@ "smithy.api#documentation": "The current status of the plugin.
" } }, + "buildStatus": { + "target": "com.amazonaws.qbusiness#PluginBuildStatus", + "traits": { + "smithy.api#documentation": "The status of the plugin.
" + } + }, "createdAt": { "target": "com.amazonaws.qbusiness#Timestamp", "traits": { @@ -7917,12 +8556,65 @@ "traits": { "smithy.api#documentation": "Information about the OAuth 2.0 authentication credential/token used to configure a\n plugin.
" } + }, + "noAuthConfiguration": { + "target": "com.amazonaws.qbusiness#NoAuthConfiguration", + "traits": { + "smithy.api#documentation": "Information about invoking a custom plugin without any authentication.
" + } } }, "traits": { "smithy.api#documentation": "Authentication configuration information for an Amazon Q Business plugin.
" } }, + "com.amazonaws.qbusiness#PluginBuildStatus": { + "type": "enum", + "members": { + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "CREATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_IN_PROGRESS" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_IN_PROGRESS" + } + }, + "UPDATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_FAILED" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_IN_PROGRESS" + } + }, + "DELETE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_FAILED" + } + } + } + }, "com.amazonaws.qbusiness#PluginConfiguration": { "type": "structure", "members": { @@ -7938,6 +8630,15 @@ "smithy.api#documentation": "Configuration information required to invoke chat in PLUGIN_MODE
.
For more information, see Admin controls and guardrails, Plugins,\n and Conversation settings.
" } }, + "com.amazonaws.qbusiness#PluginDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, "com.amazonaws.qbusiness#PluginId": { "type": "string", "traits": { @@ -8032,6 +8733,12 @@ "traits": { "smithy.api#enumValue": "ZENDESK" } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } } } }, @@ -8778,6 +9485,23 @@ "smithy.api#httpError": 402 } }, + "com.amazonaws.qbusiness#SnippetExcerpt": { + "type": "structure", + "members": { + "text": { + "target": "com.amazonaws.qbusiness#SnippetExcerptText", + "traits": { + "smithy.api#documentation": "The relevant text excerpt from a source that was used to generate a citation text\n segment in an Amazon Q chat response.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains the relevant text excerpt from a source that was used to generate a citation\n text segment in an Amazon Q Business chat response.
" + } + }, + "com.amazonaws.qbusiness#SnippetExcerptText": { + "type": "string" + }, "com.amazonaws.qbusiness#SourceAttribution": { "type": "structure", "members": { @@ -9289,6 +10013,53 @@ "smithy.api#documentation": "Provides information about text documents in an index.
" } }, + "com.amazonaws.qbusiness#TextInputEvent": { + "type": "structure", + "members": { + "userMessage": { + "target": "com.amazonaws.qbusiness#UserMessage", + "traits": { + "smithy.api#documentation": "A user message in a text message input event.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An input event for a end user message in an Amazon Q Business web experience.
" + } + }, + "com.amazonaws.qbusiness#TextOutputEvent": { + "type": "structure", + "members": { + "conversationId": { + "target": "com.amazonaws.qbusiness#ConversationId", + "traits": { + "smithy.api#documentation": "The identifier of the conversation with which the text output event is\n associated.
" + } + }, + "userMessageId": { + "target": "com.amazonaws.qbusiness#MessageId", + "traits": { + "smithy.api#documentation": "The identifier of an end user message in a TextOutputEvent
.
The identifier of an AI-generated message in a TextOutputEvent
.
An AI-generated message in a TextOutputEvent
.
An output event for an AI-generated response in an Amazon Q Business web\n experience.
" + } + }, "com.amazonaws.qbusiness#TextSegment": { "type": "structure", "members": { @@ -9303,6 +10074,12 @@ "traits": { "smithy.api#documentation": "The zero-based location in the response string where the source attribution\n ends.
" } + }, + "snippetExcerpt": { + "target": "com.amazonaws.qbusiness#SnippetExcerpt", + "traits": { + "smithy.api#documentation": "The relevant text excerpt from a source that was used to generate a citation text\n segment in an Amazon Q Business chat response.
" + } } }, "traits": { @@ -9528,6 +10305,12 @@ "smithy.api#required": {} } }, + "identityCenterInstanceArn": { + "target": "com.amazonaws.qbusiness#InstanceArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either\n creating for—or connecting to—your Amazon Q Business application.
" + } + }, "displayName": { "target": "com.amazonaws.qbusiness#ApplicationName", "traits": { @@ -9966,6 +10749,12 @@ "smithy.api#documentation": "The source URL used for plugin configuration.
" } }, + "customPluginConfiguration": { + "target": "com.amazonaws.qbusiness#CustomPluginConfiguration", + "traits": { + "smithy.api#documentation": "The configuration for a custom plugin.
" + } + }, "authConfiguration": { "target": "com.amazonaws.qbusiness#PluginAuthConfiguration", "traits": { @@ -10239,9 +11028,18 @@ "smithy.api#required": {} } }, + "roleArn": { + "target": "com.amazonaws.qbusiness#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the role with permission to access the Amazon Q Business\n web experience and required resources.
" + } + }, "authenticationConfiguration": { "target": "com.amazonaws.qbusiness#WebExperienceAuthConfiguration", "traits": { + "smithy.api#deprecated": { + "message": "Property associated with legacy SAML IdP flow. Deprecated in favor of using AWS IAM Identity Center for user management." + }, "smithy.api#documentation": "The authentication configuration of the Amazon Q Business web experience.
" } },