{ "version":"2.0", "metadata":{ "apiVersion":"2020-10-19", "endpointPrefix":"wisdom", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon Q Connect", "serviceId":"QConnect", "signatureVersion":"v4", "signingName":"wisdom", "uid":"qconnect-2020-10-19" }, "operations":{ "CreateAssistant":{ "name":"CreateAssistant", "http":{ "method":"POST", "requestUri":"/assistants", "responseCode":200 }, "input":{"shape":"CreateAssistantRequest"}, "output":{"shape":"CreateAssistantResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Creates an Amazon Q in Connect assistant.

", "idempotent":true }, "CreateAssistantAssociation":{ "name":"CreateAssistantAssociation", "http":{ "method":"POST", "requestUri":"/assistants/{assistantId}/associations", "responseCode":200 }, "input":{"shape":"CreateAssistantAssociationRequest"}, "output":{"shape":"CreateAssistantAssociationResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.

", "idempotent":true }, "CreateContent":{ "name":"CreateContent", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents", "responseCode":200 }, "input":{"shape":"CreateContentRequest"}, "output":{"shape":"CreateContentResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Creates Amazon Q content. Before to calling this API, use StartContentUpload to upload an asset.

", "idempotent":true }, "CreateKnowledgeBase":{ "name":"CreateKnowledgeBase", "http":{ "method":"POST", "requestUri":"/knowledgeBases", "responseCode":200 }, "input":{"shape":"CreateKnowledgeBaseRequest"}, "output":{"shape":"CreateKnowledgeBaseResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Creates a knowledge base.

When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an `InvalidRequestException` error.

For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:

1. Call DeleteKnowledgeBase.

2. Call DeleteDataIntegration.

3. Call CreateDataIntegration to recreate the DataIntegration or a create different one.

4. Call CreateKnowledgeBase.

", "idempotent":true }, "CreateQuickResponse":{ "name":"CreateQuickResponse", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses", "responseCode":200 }, "input":{"shape":"CreateQuickResponseRequest"}, "output":{"shape":"CreateQuickResponseResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Creates an Amazon Q quick response.

", "idempotent":true }, "CreateSession":{ "name":"CreateSession", "http":{ "method":"POST", "requestUri":"/assistants/{assistantId}/sessions", "responseCode":200 }, "input":{"shape":"CreateSessionRequest"}, "output":{"shape":"CreateSessionResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q session for each contact on which Amazon Q is enabled.

", "idempotent":true }, "DeleteAssistant":{ "name":"DeleteAssistant", "http":{ "method":"DELETE", "requestUri":"/assistants/{assistantId}", "responseCode":204 }, "input":{"shape":"DeleteAssistantRequest"}, "output":{"shape":"DeleteAssistantResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes an assistant.

", "idempotent":true }, "DeleteAssistantAssociation":{ "name":"DeleteAssistantAssociation", "http":{ "method":"DELETE", "requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}", "responseCode":204 }, "input":{"shape":"DeleteAssistantAssociationRequest"}, "output":{"shape":"DeleteAssistantAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes an assistant association.

", "idempotent":true }, "DeleteContent":{ "name":"DeleteContent", "http":{ "method":"DELETE", "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", "responseCode":204 }, "input":{"shape":"DeleteContentRequest"}, "output":{"shape":"DeleteContentResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes the content.

", "idempotent":true }, "DeleteImportJob":{ "name":"DeleteImportJob", "http":{ "method":"DELETE", "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", "responseCode":204 }, "input":{"shape":"DeleteImportJobRequest"}, "output":{"shape":"DeleteImportJobResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes the quick response import job.

", "idempotent":true }, "DeleteKnowledgeBase":{ "name":"DeleteKnowledgeBase", "http":{ "method":"DELETE", "requestUri":"/knowledgeBases/{knowledgeBaseId}", "responseCode":204 }, "input":{"shape":"DeleteKnowledgeBaseRequest"}, "output":{"shape":"DeleteKnowledgeBaseResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes the knowledge base.

When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.

", "idempotent":true }, "DeleteQuickResponse":{ "name":"DeleteQuickResponse", "http":{ "method":"DELETE", "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", "responseCode":204 }, "input":{"shape":"DeleteQuickResponseRequest"}, "output":{"shape":"DeleteQuickResponseResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes a quick response.

", "idempotent":true }, "GetAssistant":{ "name":"GetAssistant", "http":{ "method":"GET", "requestUri":"/assistants/{assistantId}", "responseCode":200 }, "input":{"shape":"GetAssistantRequest"}, "output":{"shape":"GetAssistantResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves information about an assistant.

" }, "GetAssistantAssociation":{ "name":"GetAssistantAssociation", "http":{ "method":"GET", "requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}", "responseCode":200 }, "input":{"shape":"GetAssistantAssociationRequest"}, "output":{"shape":"GetAssistantAssociationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves information about an assistant association.

" }, "GetContent":{ "name":"GetContent", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", "responseCode":200 }, "input":{"shape":"GetContentRequest"}, "output":{"shape":"GetContentResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves content, including a pre-signed URL to download the content.

" }, "GetContentSummary":{ "name":"GetContentSummary", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", "responseCode":200 }, "input":{"shape":"GetContentSummaryRequest"}, "output":{"shape":"GetContentSummaryResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves summary information about the content.

" }, "GetImportJob":{ "name":"GetImportJob", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", "responseCode":200 }, "input":{"shape":"GetImportJobRequest"}, "output":{"shape":"GetImportJobResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves the started import job.

" }, "GetKnowledgeBase":{ "name":"GetKnowledgeBase", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}", "responseCode":200 }, "input":{"shape":"GetKnowledgeBaseRequest"}, "output":{"shape":"GetKnowledgeBaseResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves information about the knowledge base.

" }, "GetQuickResponse":{ "name":"GetQuickResponse", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", "responseCode":200 }, "input":{"shape":"GetQuickResponseRequest"}, "output":{"shape":"GetQuickResponseResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves the quick response.

" }, "GetRecommendations":{ "name":"GetRecommendations", "http":{ "method":"GET", "requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations", "responseCode":200 }, "input":{"shape":"GetRecommendationsRequest"}, "output":{"shape":"GetRecommendationsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the `waitTimeSeconds` parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.

", "deprecated":true, "deprecatedMessage":"GetRecommendations API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications." }, "GetSession":{ "name":"GetSession", "http":{ "method":"GET", "requestUri":"/assistants/{assistantId}/sessions/{sessionId}", "responseCode":200 }, "input":{"shape":"GetSessionRequest"}, "output":{"shape":"GetSessionResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves information for a specified session.

" }, "ListAssistantAssociations":{ "name":"ListAssistantAssociations", "http":{ "method":"GET", "requestUri":"/assistants/{assistantId}/associations", "responseCode":200 }, "input":{"shape":"ListAssistantAssociationsRequest"}, "output":{"shape":"ListAssistantAssociationsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Lists information about assistant associations.

" }, "ListAssistants":{ "name":"ListAssistants", "http":{ "method":"GET", "requestUri":"/assistants", "responseCode":200 }, "input":{"shape":"ListAssistantsRequest"}, "output":{"shape":"ListAssistantsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Lists information about assistants.

" }, "ListContents":{ "name":"ListContents", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents", "responseCode":200 }, "input":{"shape":"ListContentsRequest"}, "output":{"shape":"ListContentsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Lists the content.

" }, "ListImportJobs":{ "name":"ListImportJobs", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs", "responseCode":200 }, "input":{"shape":"ListImportJobsRequest"}, "output":{"shape":"ListImportJobsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Lists information about import jobs.

" }, "ListKnowledgeBases":{ "name":"ListKnowledgeBases", "http":{ "method":"GET", "requestUri":"/knowledgeBases", "responseCode":200 }, "input":{"shape":"ListKnowledgeBasesRequest"}, "output":{"shape":"ListKnowledgeBasesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Lists the knowledge bases.

" }, "ListQuickResponses":{ "name":"ListQuickResponses", "http":{ "method":"GET", "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses", "responseCode":200 }, "input":{"shape":"ListQuickResponsesRequest"}, "output":{"shape":"ListQuickResponsesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Lists information about quick response.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"} ], "documentation":"

Lists the tags for the specified resource.

" }, "NotifyRecommendationsReceived":{ "name":"NotifyRecommendationsReceived", "http":{ "method":"POST", "requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify", "responseCode":200 }, "input":{"shape":"NotifyRecommendationsReceivedRequest"}, "output":{"shape":"NotifyRecommendationsReceivedResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a `waitTimeSeconds` input for long-polling behavior and avoiding duplicate recommendations.

", "idempotent":true }, "PutFeedback":{ "name":"PutFeedback", "http":{ "method":"PUT", "requestUri":"/assistants/{assistantId}/feedback", "responseCode":200 }, "input":{"shape":"PutFeedbackRequest"}, "output":{"shape":"PutFeedbackResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Provides feedback against the specified assistant for the specified target. This API only supports generative targets.

", "idempotent":true }, "QueryAssistant":{ "name":"QueryAssistant", "http":{ "method":"POST", "requestUri":"/assistants/{assistantId}/query", "responseCode":200 }, "input":{"shape":"QueryAssistantRequest"}, "output":{"shape":"QueryAssistantResponse"}, "errors":[ {"shape":"RequestTimeoutException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.

", "deprecated":true, "deprecatedMessage":"QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications." }, "RemoveKnowledgeBaseTemplateUri":{ "name":"RemoveKnowledgeBaseTemplateUri", "http":{ "method":"DELETE", "requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri", "responseCode":204 }, "input":{"shape":"RemoveKnowledgeBaseTemplateUriRequest"}, "output":{"shape":"RemoveKnowledgeBaseTemplateUriResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes a URI template from a knowledge base.

" }, "SearchContent":{ "name":"SearchContent", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/search", "responseCode":200 }, "input":{"shape":"SearchContentRequest"}, "output":{"shape":"SearchContentResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.

" }, "SearchQuickResponses":{ "name":"SearchQuickResponses", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/search/quickResponses", "responseCode":200 }, "input":{"shape":"SearchQuickResponsesRequest"}, "output":{"shape":"SearchQuickResponsesResponse"}, "errors":[ {"shape":"RequestTimeoutException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Searches existing Amazon Q quick responses in an Amazon Q knowledge base.

" }, "SearchSessions":{ "name":"SearchSessions", "http":{ "method":"POST", "requestUri":"/assistants/{assistantId}/searchSessions", "responseCode":200 }, "input":{"shape":"SearchSessionsRequest"}, "output":{"shape":"SearchSessionsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Searches for sessions.

" }, "StartContentUpload":{ "name":"StartContentUpload", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/upload", "responseCode":200 }, "input":{"shape":"StartContentUploadRequest"}, "output":{"shape":"StartContentUploadResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.

" }, "StartImportJob":{ "name":"StartImportJob", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs", "responseCode":200 }, "input":{"shape":"StartImportJobRequest"}, "output":{"shape":"StartImportJobResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Start an asynchronous job to import Amazon Q resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.

- For importing Amazon Q quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.

", "idempotent":true }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"TooManyTagsException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Adds the specified tags to the specified resource.

", "idempotent":true }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes the specified tags from the specified resource.

", "idempotent":true }, "UpdateContent":{ "name":"UpdateContent", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", "responseCode":200 }, "input":{"shape":"UpdateContentRequest"}, "output":{"shape":"UpdateContentResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"PreconditionFailedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Updates information about the content.

" }, "UpdateKnowledgeBaseTemplateUri":{ "name":"UpdateKnowledgeBaseTemplateUri", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri", "responseCode":200 }, "input":{"shape":"UpdateKnowledgeBaseTemplateUriRequest"}, "output":{"shape":"UpdateKnowledgeBaseTemplateUriResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in `${variable}` format; this interpolated by Amazon Q using ingested content. For example, if you ingest a Salesforce article, it has an `Id` value, and you can set the template URI to `https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view`.

" }, "UpdateQuickResponse":{ "name":"UpdateQuickResponse", "http":{ "method":"POST", "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", "responseCode":200 }, "input":{"shape":"UpdateQuickResponseRequest"}, "output":{"shape":"UpdateQuickResponseResponse"}, "errors":[ {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"PreconditionFailedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Updates an existing Amazon Q quick response.

" } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

You do not have sufficient access to perform this action.

", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "AppIntegrationsConfiguration":{ "type":"structure", "required":["appIntegrationArn"], "members":{ "appIntegrationArn":{ "shape":"GenericArn", "documentation":"

The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.

- For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least `Id`, `ArticleNumber`, `VersionNumber`, `Title`, `PublishStatus`, and `IsDeleted` as source fields.

- For ServiceNow, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least `number`, `short_description`, `sys_mod_count`, `workflow_state`, and `active` as source fields.

- For Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if `objectFields` is not provided, including at least `id`, `title`, `updated_at`, and `draft` as source fields.

- For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among `docx`, `pdf`, `html`, `htm`, and `txt`.

- For Amazon S3, the ObjectConfiguration and FileConfiguration of your AppIntegrations DataIntegration must be null. The `SourceURI` of your DataIntegration must use the following format: `s3://your_s3_bucket_name`.

  The bucket policy of the corresponding S3 bucket must allow the Amazon Web Services principal `app-integrations.amazonaws.com` to perform `s3:ListBucket`, `s3:GetObject`, and `s3:GetBucketLocation` against the bucket.

" }, "objectFields":{ "shape":"ObjectFieldsList", "documentation":"

The fields from the source that are made available to your agents in Amazon Q. Optional if ObjectConfiguration is included in the provided DataIntegration.

- For Salesforce, you must include at least `Id`, `ArticleNumber`, `VersionNumber`, `Title`, `PublishStatus`, and `IsDeleted`.

- For ServiceNow, you must include at least `number`, `short_description`, `sys_mod_count`, `workflow_state`, and `active`.

- For Zendesk, you must include at least `id`, `title`, `updated_at`, and `draft`.

Make sure to include additional fields. These fields are indexed and used to source recommendations.

" } }, "documentation":"

Configuration information for Amazon AppIntegrations to automatically ingest content.

" }, "Arn":{ "type":"string", "pattern":"^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" }, "AssistantAssociationData":{ "type":"structure", "required":[ "assistantArn", "assistantAssociationArn", "assistantAssociationId", "assistantId", "associationData", "associationType" ], "members":{ "assistantArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Q assistant.

" }, "assistantAssociationArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the assistant association.

" }, "assistantAssociationId":{ "shape":"Uuid", "documentation":"

The identifier of the assistant association.

" }, "assistantId":{ "shape":"Uuid", "documentation":"

The identifier of the Amazon Q assistant.

" }, "associationData":{ "shape":"AssistantAssociationOutputData", "documentation":"

A union type that currently has a single argument, the knowledge base ID.

" }, "associationType":{ "shape":"AssociationType", "documentation":"

The type of association.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

Information about the assistant association.

" }, "AssistantAssociationInputData":{ "type":"structure", "members":{ "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" } }, "documentation":"

The data that is input into Amazon Q as a result of the assistant association.

", "union":true }, "AssistantAssociationOutputData":{ "type":"structure", "members":{ "knowledgeBaseAssociation":{ "shape":"KnowledgeBaseAssociationData", "documentation":"

The knowledge base where output data is sent.

" } }, "documentation":"

The data that is output as a result of the assistant association.

", "union":true }, "AssistantAssociationSummary":{ "type":"structure", "required":[ "assistantArn", "assistantAssociationArn", "assistantAssociationId", "assistantId", "associationData", "associationType" ], "members":{ "assistantArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Q assistant.

" }, "assistantAssociationArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the assistant association.

" }, "assistantAssociationId":{ "shape":"Uuid", "documentation":"

The identifier of the assistant association.

" }, "assistantId":{ "shape":"Uuid", "documentation":"

The identifier of the Amazon Q assistant.

" }, "associationData":{ "shape":"AssistantAssociationOutputData", "documentation":"

The association data.

" }, "associationType":{ "shape":"AssociationType", "documentation":"

The type of association.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

Summary information about the assistant association.

" }, "AssistantAssociationSummaryList":{ "type":"list", "member":{"shape":"AssistantAssociationSummary"} }, "AssistantCapabilityConfiguration":{ "type":"structure", "members":{ "type":{ "shape":"AssistantCapabilityType", "documentation":"

The type of Amazon Q assistant capability.

" } }, "documentation":"

The capability configuration for an Amazon Q assistant.

" }, "AssistantCapabilityType":{ "type":"string", "enum":[ "V1", "V2" ] }, "AssistantData":{ "type":"structure", "required":[ "assistantArn", "assistantId", "name", "status", "type" ], "members":{ "assistantArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Q assistant.

" }, "assistantId":{ "shape":"Uuid", "documentation":"

The identifier of the Amazon Q assistant.

" }, "capabilityConfiguration":{ "shape":"AssistantCapabilityConfiguration", "documentation":"

The configuration information for the Amazon Q assistant capability.

" }, "description":{ "shape":"Description", "documentation":"

The description.

" }, "integrationConfiguration":{ "shape":"AssistantIntegrationConfiguration", "documentation":"

The configuration information for the Amazon Q assistant integration.

" }, "name":{ "shape":"Name", "documentation":"

The name.

" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"

The configuration information for the customer managed key used for encryption.

This KMS key must have a policy that allows `kms:CreateGrant`, `kms:DescribeKey`, `kms:Decrypt`, and `kms:GenerateDataKey*` permissions to the IAM identity using the key to invoke Amazon Q. To use Amazon Q with chat, the key policy must also allow `kms:Decrypt`, `kms:GenerateDataKey*`, and `kms:DescribeKey` permissions to the `connect.amazonaws.com` service principal.

For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.

" }, "status":{ "shape":"AssistantStatus", "documentation":"

The status of the assistant.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" }, "type":{ "shape":"AssistantType", "documentation":"

The type of assistant.

" } }, "documentation":"

The assistant data.

" }, "AssistantIntegrationConfiguration":{ "type":"structure", "members":{ "topicIntegrationArn":{ "shape":"GenericArn", "documentation":"

The Amazon Resource Name (ARN) of the integrated Amazon SNS topic used for streaming chat messages.

" } }, "documentation":"

The configuration information for the Amazon Q assistant integration.

" }, "AssistantList":{ "type":"list", "member":{"shape":"AssistantSummary"} }, "AssistantStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETED" ] }, "AssistantSummary":{ "type":"structure", "required":[ "assistantArn", "assistantId", "name", "status", "type" ], "members":{ "assistantArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Q assistant.

" }, "assistantId":{ "shape":"Uuid", "documentation":"

The identifier of the Amazon Q assistant.

" }, "capabilityConfiguration":{ "shape":"AssistantCapabilityConfiguration", "documentation":"

The configuration information for the Amazon Q assistant capability.

" }, "description":{ "shape":"Description", "documentation":"

The description of the assistant.

" }, "integrationConfiguration":{ "shape":"AssistantIntegrationConfiguration", "documentation":"

The configuration information for the Amazon Q assistant integration.

" }, "name":{ "shape":"Name", "documentation":"

The name of the assistant.

" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"

The configuration information for the customer managed key used for encryption.

This KMS key must have a policy that allows `kms:CreateGrant`, `kms:DescribeKey`, `kms:Decrypt`, and `kms:GenerateDataKey*` permissions to the IAM identity using the key to invoke Amazon Q. To use Amazon Q with chat, the key policy must also allow `kms:Decrypt`, `kms:GenerateDataKey*`, and `kms:DescribeKey` permissions to the `connect.amazonaws.com` service principal.

For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.

" }, "status":{ "shape":"AssistantStatus", "documentation":"

The status of the assistant.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" }, "type":{ "shape":"AssistantType", "documentation":"

The type of the assistant.

" } }, "documentation":"

Summary information about the assistant.

" }, "AssistantType":{ "type":"string", "enum":["AGENT"] }, "AssociationType":{ "type":"string", "enum":["KNOWLEDGE_BASE"] }, "Boolean":{ "type":"boolean", "box":true }, "Channel":{ "type":"string", "max":10, "min":1, "sensitive":true }, "Channels":{ "type":"list", "member":{"shape":"Channel"} }, "ClientToken":{ "type":"string", "max":4096, "min":1 }, "Configuration":{ "type":"structure", "members":{ "connectConfiguration":{ "shape":"ConnectConfiguration", "documentation":"

The configuration information of the Amazon Connect data source.

" } }, "documentation":"

The configuration information of the external data source.

", "union":true }, "ConflictException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The request could not be processed because of conflict in the current state of the resource. For example, if you're using a `Create` API (such as `CreateAssistant`) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.

", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "ConnectConfiguration":{ "type":"structure", "members":{ "instanceId":{ "shape":"NonEmptyString", "documentation":"

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

" } }, "documentation":"

The configuration information of the Amazon Connect data source.

" }, "ContactAttributeKey":{"type":"string"}, "ContactAttributeKeys":{ "type":"list", "member":{"shape":"ContactAttributeKey"}, "sensitive":true }, "ContactAttributeValue":{"type":"string"}, "ContactAttributes":{ "type":"map", "key":{"shape":"ContactAttributeKey"}, "value":{"shape":"ContactAttributeValue"}, "sensitive":true }, "ContentData":{ "type":"structure", "required":[ "contentArn", "contentId", "contentType", "knowledgeBaseArn", "knowledgeBaseId", "metadata", "name", "revisionId", "status", "title", "url", "urlExpiry" ], "members":{ "contentArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the content.

" }, "contentId":{ "shape":"Uuid", "documentation":"

The identifier of the content.

" }, "contentType":{ "shape":"ContentType", "documentation":"

The media type of the content.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "linkOutUri":{ "shape":"Uri", "documentation":"

The URI of the content.

" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.

" }, "name":{ "shape":"Name", "documentation":"

The name of the content.

" }, "revisionId":{ "shape":"NonEmptyString", "documentation":"

The identifier of the content revision.

" }, "status":{ "shape":"ContentStatus", "documentation":"

The status of the content.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" }, "title":{ "shape":"ContentTitle", "documentation":"

The title of the content.

" }, "url":{ "shape":"Url", "documentation":"

The URL of the content.

" }, "urlExpiry":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The expiration time of the URL as an epoch timestamp.

" } }, "documentation":"

Information about the content.

" }, "ContentDataDetails":{ "type":"structure", "required":[ "rankingData", "textData" ], "members":{ "rankingData":{ "shape":"RankingData", "documentation":"

Details about the content ranking data.

" }, "textData":{ "shape":"TextData", "documentation":"

Details about the content text data.

" } }, "documentation":"

Details about the content data.

" }, "ContentFeedbackData":{ "type":"structure", "members":{ "generativeContentFeedbackData":{ "shape":"GenerativeContentFeedbackData", "documentation":"

Information about the feedback for a generative target type.

" } }, "documentation":"

Information about the feedback.

", "union":true }, "ContentMetadata":{ "type":"map", "key":{"shape":"NonEmptyString"}, "value":{"shape":"NonEmptyString"}, "max":10, "min":0 }, "ContentReference":{ "type":"structure", "members":{ "contentArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the content.

" }, "contentId":{ "shape":"Uuid", "documentation":"

The identifier of the content.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" } }, "documentation":"

Reference information about the content.

" }, "ContentStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETED", "UPDATE_FAILED" ] }, "ContentSummary":{ "type":"structure", "required":[ "contentArn", "contentId", "contentType", "knowledgeBaseArn", "knowledgeBaseId", "metadata", "name", "revisionId", "status", "title" ], "members":{ "contentArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the content.

" }, "contentId":{ "shape":"Uuid", "documentation":"

The identifier of the content.

" }, "contentType":{ "shape":"ContentType", "documentation":"

The media type of the content.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.

" }, "name":{ "shape":"Name", "documentation":"

The name of the content.

" }, "revisionId":{ "shape":"NonEmptyString", "documentation":"

The identifier of the revision of the content.

" }, "status":{ "shape":"ContentStatus", "documentation":"

The status of the content.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" }, "title":{ "shape":"ContentTitle", "documentation":"

The title of the content.

" } }, "documentation":"

Summary information about the content.

" }, "ContentSummaryList":{ "type":"list", "member":{"shape":"ContentSummary"} }, "ContentTitle":{ "type":"string", "max":255, "min":1 }, "ContentType":{ "type":"string", "pattern":"^(text/(plain|html|csv))|(application/(pdf|vnd\\.openxmlformats-officedocument\\.wordprocessingml\\.document))|(application/x\\.wisdom-json;source=(salesforce|servicenow|zendesk))$" }, "CreateAssistantAssociationRequest":{ "type":"structure", "required":[ "assistantId", "association", "associationType" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "association":{ "shape":"AssistantAssociationInputData", "documentation":"

The identifier of the associated resource.

" }, "associationType":{ "shape":"AssociationType", "documentation":"

The type of association.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken":true }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } } }, "CreateAssistantAssociationResponse":{ "type":"structure", "members":{ "assistantAssociation":{ "shape":"AssistantAssociationData", "documentation":"

The assistant association.

" } } }, "CreateAssistantRequest":{ "type":"structure", "required":[ "name", "type" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken":true }, "description":{ "shape":"Description", "documentation":"

The description of the assistant.

" }, "name":{ "shape":"Name", "documentation":"

The name of the assistant.

" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"

The configuration information for the customer managed key used for encryption.

The customer managed key must have a policy that allows `kms:CreateGrant`, `kms:DescribeKey`, `kms:Decrypt`, and `kms:GenerateDataKey*` permissions to the IAM identity using the key to invoke Amazon Q. To use Amazon Q with chat, the key policy must also allow `kms:Decrypt`, `kms:GenerateDataKey*`, and `kms:DescribeKey` permissions to the `connect.amazonaws.com` service principal.

For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" }, "type":{ "shape":"AssistantType", "documentation":"

The type of assistant.

" } } }, "CreateAssistantResponse":{ "type":"structure", "members":{ "assistant":{ "shape":"AssistantData", "documentation":"

Information about the assistant.

" } } }, "CreateContentRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "name", "uploadId" ], "members":{ "clientToken":{ "shape":"NonEmptyString", "documentation":"

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken":true }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.

" }, "name":{ "shape":"Name", "documentation":"

The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.

" }, "overrideLinkOutUri":{ "shape":"Uri", "documentation":"

The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" }, "title":{ "shape":"ContentTitle", "documentation":"

The title of the content. If not set, the title is equal to the name.

" }, "uploadId":{ "shape":"UploadId", "documentation":"

A pointer to the uploaded asset. This value is returned by StartContentUpload.

" } } }, "CreateContentResponse":{ "type":"structure", "members":{ "content":{ "shape":"ContentData", "documentation":"

The content.

" } } }, "CreateKnowledgeBaseRequest":{ "type":"structure", "required":[ "knowledgeBaseType", "name" ], "members":{ "clientToken":{ "shape":"NonEmptyString", "documentation":"

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken":true }, "description":{ "shape":"Description", "documentation":"

The description.

" }, "knowledgeBaseType":{ "shape":"KnowledgeBaseType", "documentation":"

The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.

" }, "name":{ "shape":"Name", "documentation":"

The name of the knowledge base.

" }, "renderingConfiguration":{ "shape":"RenderingConfiguration", "documentation":"

Information about how to render the content.

" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"

The configuration information for the customer managed key used for encryption.

This KMS key must have a policy that allows `kms:CreateGrant`, `kms:DescribeKey`, `kms:Decrypt`, and `kms:GenerateDataKey*` permissions to the IAM identity using the key to invoke Amazon Q.

For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.

" }, "sourceConfiguration":{ "shape":"SourceConfiguration", "documentation":"

The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } } }, "CreateKnowledgeBaseResponse":{ "type":"structure", "members":{ "knowledgeBase":{ "shape":"KnowledgeBaseData", "documentation":"

The knowledge base.

" } } }, "CreateQuickResponseRequest":{ "type":"structure", "required":[ "content", "knowledgeBaseId", "name" ], "members":{ "channels":{ "shape":"Channels", "documentation":"

The Amazon Connect channels this quick response applies to.

" }, "clientToken":{ "shape":"NonEmptyString", "documentation":"

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken":true }, "content":{ "shape":"QuickResponseDataProvider", "documentation":"

The content of the quick response.

" }, "contentType":{ "shape":"QuickResponseType", "documentation":"

The media type of the quick response content.

- Use `application/x.quickresponse;format=plain` for a quick response written in plain text.

- Use `application/x.quickresponse;format=markdown` for a quick response written in richtext.

" }, "description":{ "shape":"QuickResponseDescription", "documentation":"

The description of the quick response.

" }, "groupingConfiguration":{ "shape":"GroupingConfiguration", "documentation":"

The configuration information of the user groups that the quick response is accessible to.

" }, "isActive":{ "shape":"Boolean", "documentation":"

Whether the quick response is active.

" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "language":{ "shape":"LanguageCode", "documentation":"

The language code value for the language in which the quick response is written. The supported language codes include `de_DE`, `en_US`, `es_ES`, `fr_FR`, `id_ID`, `it_IT`, `ja_JP`, `ko_KR`, `pt_BR`, `zh_CN`, `zh_TW`

" }, "name":{ "shape":"QuickResponseName", "documentation":"

The name of the quick response.

" }, "shortcutKey":{ "shape":"ShortCutKey", "documentation":"

The shortcut key of the quick response. The value should be unique across the knowledge base.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } } }, "CreateQuickResponseResponse":{ "type":"structure", "members":{ "quickResponse":{ "shape":"QuickResponseData", "documentation":"

The quick response.

" } } }, "CreateSessionRequest":{ "type":"structure", "required":[ "assistantId", "name" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "clientToken":{ "shape":"ClientToken", "documentation":"

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken":true }, "description":{ "shape":"Description", "documentation":"

The description.

" }, "name":{ "shape":"Name", "documentation":"

The name of the session.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } } }, "CreateSessionResponse":{ "type":"structure", "members":{ "session":{ "shape":"SessionData", "documentation":"

The session.

" } } }, "DataDetails":{ "type":"structure", "members":{ "contentData":{ "shape":"ContentDataDetails", "documentation":"

Details about the content data.

" }, "generativeData":{ "shape":"GenerativeDataDetails", "documentation":"

Details about the generative data.

" }, "sourceContentData":{ "shape":"SourceContentDataDetails", "documentation":"

Details about the content data.

" } }, "documentation":"

Details about the data.

", "union":true }, "DataReference":{ "type":"structure", "members":{ "contentReference":{"shape":"ContentReference"}, "generativeReference":{ "shape":"GenerativeReference", "documentation":"

Reference information about the generative content.

" } }, "documentation":"

Reference data.

", "union":true }, "DataSummary":{ "type":"structure", "required":[ "details", "reference" ], "members":{ "details":{ "shape":"DataDetails", "documentation":"

Details about the data.

" }, "reference":{ "shape":"DataReference", "documentation":"

Reference information about the content.

" } }, "documentation":"

Summary of the data.

" }, "DataSummaryList":{ "type":"list", "member":{"shape":"DataSummary"} }, "DeleteAssistantAssociationRequest":{ "type":"structure", "required":[ "assistantAssociationId", "assistantId" ], "members":{ "assistantAssociationId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantAssociationId" }, "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" } } }, "DeleteAssistantAssociationResponse":{ "type":"structure", "members":{ } }, "DeleteAssistantRequest":{ "type":"structure", "required":["assistantId"], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" } } }, "DeleteAssistantResponse":{ "type":"structure", "members":{ } }, "DeleteContentRequest":{ "type":"structure", "required":[ "contentId", "knowledgeBaseId" ], "members":{ "contentId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"contentId" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "DeleteContentResponse":{ "type":"structure", "members":{ } }, "DeleteImportJobRequest":{ "type":"structure", "required":[ "importJobId", "knowledgeBaseId" ], "members":{ "importJobId":{ "shape":"Uuid", "documentation":"

The identifier of the import job to be deleted.

", "location":"uri", "locationName":"importJobId" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "DeleteImportJobResponse":{ "type":"structure", "members":{ } }, "DeleteKnowledgeBaseRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "DeleteKnowledgeBaseResponse":{ "type":"structure", "members":{ } }, "DeleteQuickResponseRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "quickResponseId" ], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The knowledge base from which the quick response is deleted. The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

", "location":"uri", "locationName":"knowledgeBaseId" }, "quickResponseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the quick response to delete.

", "location":"uri", "locationName":"quickResponseId" } } }, "DeleteQuickResponseResponse":{ "type":"structure", "members":{ } }, "Description":{ "type":"string", "max":255, "min":1, "pattern":"^[a-zA-Z0-9\\s_.,-]+" }, "Document":{ "type":"structure", "required":["contentReference"], "members":{ "contentReference":{ "shape":"ContentReference", "documentation":"

A reference to the content resource.

" }, "excerpt":{ "shape":"DocumentText", "documentation":"

The excerpt from the document.

" }, "title":{ "shape":"DocumentText", "documentation":"

The title of the document.

" } }, "documentation":"

The document.

" }, "DocumentText":{ "type":"structure", "members":{ "highlights":{ "shape":"Highlights", "documentation":"

Highlights in the document text.

" }, "text":{ "shape":"SensitiveString", "documentation":"

Text in the document.

" } }, "documentation":"

The text of the document.

" }, "ExternalSource":{ "type":"string", "enum":["AMAZON_CONNECT"] }, "ExternalSourceConfiguration":{ "type":"structure", "required":[ "configuration", "source" ], "members":{ "configuration":{ "shape":"Configuration", "documentation":"

The configuration information of the external data source.

" }, "source":{ "shape":"ExternalSource", "documentation":"

The type of the external data source.

" } }, "documentation":"

The configuration information of the external data source.

" }, "Filter":{ "type":"structure", "required":[ "field", "operator", "value" ], "members":{ "field":{ "shape":"FilterField", "documentation":"

The field on which to filter.

" }, "operator":{ "shape":"FilterOperator", "documentation":"

The operator to use for comparing the field’s value with the provided value.

" }, "value":{ "shape":"NonEmptyString", "documentation":"

The desired field value on which to filter.

" } }, "documentation":"

A search filter.

" }, "FilterField":{ "type":"string", "enum":["NAME"] }, "FilterList":{ "type":"list", "member":{"shape":"Filter"} }, "FilterOperator":{ "type":"string", "enum":["EQUALS"] }, "GenerativeContentFeedbackData":{ "type":"structure", "required":["relevance"], "members":{ "relevance":{ "shape":"Relevance", "documentation":"

The relevance of the feedback.

" } }, "documentation":"

The feedback information for a generative target type.

" }, "GenerativeDataDetails":{ "type":"structure", "required":[ "completion", "rankingData", "references" ], "members":{ "completion":{ "shape":"SensitiveString", "documentation":"

The LLM response.

" }, "rankingData":{ "shape":"RankingData", "documentation":"

Details about the generative content ranking data.

" }, "references":{ "shape":"DataSummaryList", "documentation":"

The references used to generative the LLM response.

" } }, "documentation":"

Details about generative data.

" }, "GenerativeReference":{ "type":"structure", "members":{ "generationId":{ "shape":"Uuid", "documentation":"

The identifier of the LLM model.

" }, "modelId":{ "shape":"LlmModelId", "documentation":"

The identifier of the LLM model.

" } }, "documentation":"

Reference information about generative content.

" }, "GenericArn":{ "type":"string", "max":2048, "min":1, "pattern":"^arn:[a-z-]+?:[a-z-]+?:[a-z0-9-]*?:([0-9]{12})?:[a-zA-Z0-9-:/]+$" }, "GetAssistantAssociationRequest":{ "type":"structure", "required":[ "assistantAssociationId", "assistantId" ], "members":{ "assistantAssociationId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantAssociationId" }, "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" } } }, "GetAssistantAssociationResponse":{ "type":"structure", "members":{ "assistantAssociation":{ "shape":"AssistantAssociationData", "documentation":"

The assistant association.

" } } }, "GetAssistantRequest":{ "type":"structure", "required":["assistantId"], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" } } }, "GetAssistantResponse":{ "type":"structure", "members":{ "assistant":{ "shape":"AssistantData", "documentation":"

Information about the assistant.

" } } }, "GetContentRequest":{ "type":"structure", "required":[ "contentId", "knowledgeBaseId" ], "members":{ "contentId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"contentId" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "GetContentResponse":{ "type":"structure", "members":{ "content":{ "shape":"ContentData", "documentation":"

The content.

" } } }, "GetContentSummaryRequest":{ "type":"structure", "required":[ "contentId", "knowledgeBaseId" ], "members":{ "contentId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"contentId" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "GetContentSummaryResponse":{ "type":"structure", "members":{ "contentSummary":{ "shape":"ContentSummary", "documentation":"

The content summary.

" } } }, "GetImportJobRequest":{ "type":"structure", "required":[ "importJobId", "knowledgeBaseId" ], "members":{ "importJobId":{ "shape":"Uuid", "documentation":"

The identifier of the import job to retrieve.

", "location":"uri", "locationName":"importJobId" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base that the import job belongs to.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "GetImportJobResponse":{ "type":"structure", "members":{ "importJob":{ "shape":"ImportJobData", "documentation":"

The import job.

" } } }, "GetKnowledgeBaseRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "GetKnowledgeBaseResponse":{ "type":"structure", "members":{ "knowledgeBase":{ "shape":"KnowledgeBaseData", "documentation":"

The knowledge base.

" } } }, "GetQuickResponseRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "quickResponseId" ], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base.

", "location":"uri", "locationName":"knowledgeBaseId" }, "quickResponseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the quick response.

", "location":"uri", "locationName":"quickResponseId" } } }, "GetQuickResponseResponse":{ "type":"structure", "members":{ "quickResponse":{ "shape":"QuickResponseData", "documentation":"

The quick response.

" } } }, "GetRecommendationsRequest":{ "type":"structure", "required":[ "assistantId", "sessionId" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "sessionId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"sessionId" }, "waitTimeSeconds":{ "shape":"WaitTimeSeconds", "documentation":"

The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than `WaitTimeSeconds`. If no messages are available and the wait time expires, the call returns successfully with an empty list.

", "location":"querystring", "locationName":"waitTimeSeconds" } } }, "GetRecommendationsResponse":{ "type":"structure", "required":["recommendations"], "members":{ "recommendations":{ "shape":"RecommendationList", "documentation":"

The recommendations.

" }, "triggers":{ "shape":"RecommendationTriggerList", "documentation":"

The triggers corresponding to recommendations.

" } } }, "GetSessionRequest":{ "type":"structure", "required":[ "assistantId", "sessionId" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "sessionId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"sessionId" } } }, "GetSessionResponse":{ "type":"structure", "members":{ "session":{ "shape":"SessionData", "documentation":"

The session.

" } } }, "GroupingConfiguration":{ "type":"structure", "members":{ "criteria":{ "shape":"GroupingCriteria", "documentation":"

The criteria used for grouping Amazon Q users.

The following is the list of supported criteria values.

- `RoutingProfileArn`: Grouping the users by their Amazon Connect routing profile ARN. User should have SearchRoutingProfile and DescribeRoutingProfile permissions when setting criteria to this value.

" }, "values":{ "shape":"GroupingValues", "documentation":"

The list of values that define different groups of Amazon Q users.

- When setting `criteria` to `RoutingProfileArn`, you need to provide a list of ARNs of Amazon Connect routing profiles as values of this parameter.

" } }, "documentation":"

The configuration information of the grouping of Amazon Q users.

" }, "GroupingCriteria":{ "type":"string", "max":100, "min":1, "sensitive":true }, "GroupingValue":{ "type":"string", "max":2048, "min":1, "sensitive":true }, "GroupingValues":{ "type":"list", "member":{"shape":"GroupingValue"} }, "Headers":{ "type":"map", "key":{"shape":"NonEmptyString"}, "value":{"shape":"NonEmptyString"} }, "Highlight":{ "type":"structure", "members":{ "beginOffsetInclusive":{ "shape":"HighlightOffset", "documentation":"

The offset for the start of the highlight.

" }, "endOffsetExclusive":{ "shape":"HighlightOffset", "documentation":"

The offset for the end of the highlight.

" } }, "documentation":"

Offset specification to describe highlighting of document excerpts for rendering search results and recommendations.

" }, "HighlightOffset":{"type":"integer"}, "Highlights":{ "type":"list", "member":{"shape":"Highlight"} }, "ImportJobData":{ "type":"structure", "required":[ "createdTime", "importJobId", "importJobType", "knowledgeBaseArn", "knowledgeBaseId", "lastModifiedTime", "status", "uploadId", "url", "urlExpiry" ], "members":{ "createdTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the import job was created.

" }, "externalSourceConfiguration":{"shape":"ExternalSourceConfiguration"}, "failedRecordReport":{ "shape":"Url", "documentation":"

The link to donwload the information of resource data that failed to be imported.

" }, "importJobId":{ "shape":"Uuid", "documentation":"

The identifier of the import job.

" }, "importJobType":{ "shape":"ImportJobType", "documentation":"

The type of the import job.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "lastModifiedTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the import job data was last modified.

" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

The metadata fields of the imported Amazon Q resources.

" }, "status":{ "shape":"ImportJobStatus", "documentation":"

The status of the import job.

" }, "uploadId":{ "shape":"UploadId", "documentation":"

A pointer to the uploaded asset. This value is returned by StartContentUpload.

" }, "url":{ "shape":"Url", "documentation":"

The download link to the resource file that is uploaded to the import job.

" }, "urlExpiry":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The expiration time of the URL as an epoch timestamp.

" } }, "documentation":"

Summary information about the import job.

" }, "ImportJobList":{ "type":"list", "member":{"shape":"ImportJobSummary"} }, "ImportJobStatus":{ "type":"string", "enum":[ "START_IN_PROGRESS", "FAILED", "COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETED" ] }, "ImportJobSummary":{ "type":"structure", "required":[ "createdTime", "importJobId", "importJobType", "knowledgeBaseArn", "knowledgeBaseId", "lastModifiedTime", "status", "uploadId" ], "members":{ "createdTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the import job was created.

" }, "externalSourceConfiguration":{ "shape":"ExternalSourceConfiguration", "documentation":"

The configuration information of the external source that the resource data are imported from.

" }, "importJobId":{ "shape":"Uuid", "documentation":"

The identifier of the import job.

" }, "importJobType":{ "shape":"ImportJobType", "documentation":"

The type of import job.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "lastModifiedTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the import job was last modified.

" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

The metadata fields of the imported Amazon Q resources.

" }, "status":{ "shape":"ImportJobStatus", "documentation":"

The status of the import job.

" }, "uploadId":{ "shape":"UploadId", "documentation":"

A pointer to the uploaded asset. This value is returned by StartContentUpload.

" } }, "documentation":"

Summary information about the import job.

" }, "ImportJobType":{ "type":"string", "enum":["QUICK_RESPONSES"] }, "KnowledgeBaseAssociationData":{ "type":"structure", "members":{ "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" } }, "documentation":"

Association information about the knowledge base.

" }, "KnowledgeBaseData":{ "type":"structure", "required":[ "knowledgeBaseArn", "knowledgeBaseId", "knowledgeBaseType", "name", "status" ], "members":{ "description":{ "shape":"Description", "documentation":"

The description.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "knowledgeBaseType":{ "shape":"KnowledgeBaseType", "documentation":"

The type of knowledge base.

" }, "lastContentModificationTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.

" }, "name":{ "shape":"Name", "documentation":"

The name of the knowledge base.

" }, "renderingConfiguration":{ "shape":"RenderingConfiguration", "documentation":"

Information about how to render the content.

" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"

The configuration information for the customer managed key used for encryption.

This KMS key must have a policy that allows `kms:CreateGrant`, `kms:DescribeKey`, `kms:Decrypt`, and `kms:GenerateDataKey*` permissions to the IAM identity using the key to invoke Amazon Q.

For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.

" }, "sourceConfiguration":{ "shape":"SourceConfiguration", "documentation":"

Source configuration information about the knowledge base.

" }, "status":{ "shape":"KnowledgeBaseStatus", "documentation":"

The status of the knowledge base.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

Information about the knowledge base.

" }, "KnowledgeBaseList":{ "type":"list", "member":{"shape":"KnowledgeBaseSummary"} }, "KnowledgeBaseStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETED" ] }, "KnowledgeBaseSummary":{ "type":"structure", "required":[ "knowledgeBaseArn", "knowledgeBaseId", "knowledgeBaseType", "name", "status" ], "members":{ "description":{ "shape":"Description", "documentation":"

The description of the knowledge base.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "knowledgeBaseType":{ "shape":"KnowledgeBaseType", "documentation":"

The type of knowledge base.

" }, "name":{ "shape":"Name", "documentation":"

The name of the knowledge base.

" }, "renderingConfiguration":{ "shape":"RenderingConfiguration", "documentation":"

Information about how to render the content.

" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"

The configuration information for the customer managed key used for encryption.

This KMS key must have a policy that allows `kms:CreateGrant`, `kms:DescribeKey`, `kms:Decrypt`, and `kms:GenerateDataKey*` permissions to the IAM identity using the key to invoke Amazon Q.

For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.

" }, "sourceConfiguration":{ "shape":"SourceConfiguration", "documentation":"

Configuration information about the external data source.

" }, "status":{ "shape":"KnowledgeBaseStatus", "documentation":"

The status of the knowledge base summary.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

Summary information about the knowledge base.

" }, "KnowledgeBaseType":{ "type":"string", "enum":[ "EXTERNAL", "CUSTOM", "QUICK_RESPONSES" ] }, "LanguageCode":{ "type":"string", "max":5, "min":2 }, "ListAssistantAssociationsRequest":{ "type":"structure", "required":["assistantId"], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListAssistantAssociationsResponse":{ "type":"structure", "required":["assistantAssociationSummaries"], "members":{ "assistantAssociationSummaries":{ "shape":"AssistantAssociationSummaryList", "documentation":"

Summary information about assistant associations.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, this is the token for the next set of results.

" } } }, "ListAssistantsRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListAssistantsResponse":{ "type":"structure", "required":["assistantSummaries"], "members":{ "assistantSummaries":{ "shape":"AssistantList", "documentation":"

Information about the assistants.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, this is the token for the next set of results.

" } } }, "ListContentsRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListContentsResponse":{ "type":"structure", "required":["contentSummaries"], "members":{ "contentSummaries":{ "shape":"ContentSummaryList", "documentation":"

Information about the content.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, this is the token for the next set of results.

" } } }, "ListImportJobsRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListImportJobsResponse":{ "type":"structure", "required":["importJobSummaries"], "members":{ "importJobSummaries":{ "shape":"ImportJobList", "documentation":"

Summary information about the import jobs.

" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

" } } }, "ListKnowledgeBasesRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListKnowledgeBasesResponse":{ "type":"structure", "required":["knowledgeBaseSummaries"], "members":{ "knowledgeBaseSummaries":{ "shape":"KnowledgeBaseList", "documentation":"

Information about the knowledge bases.

" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

If there are additional results, this is the token for the next set of results.

" } } }, "ListQuickResponsesRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" } } }, "ListQuickResponsesResponse":{ "type":"structure", "required":["quickResponseSummaries"], "members":{ "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

" }, "quickResponseSummaries":{ "shape":"QuickResponseSummaryList", "documentation":"

Summary information about the quick responses.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } } }, "LlmModelId":{ "type":"string", "max":128, "min":1 }, "MaxResults":{ "type":"integer", "box":true, "max":100, "min":1 }, "Name":{ "type":"string", "max":255, "min":1, "pattern":"^[a-zA-Z0-9\\s_.,-]+" }, "NextToken":{ "type":"string", "max":2048, "min":1 }, "NonEmptyString":{ "type":"string", "max":4096, "min":1 }, "NotifyRecommendationsReceivedError":{ "type":"structure", "members":{ "message":{ "shape":"NotifyRecommendationsReceivedErrorMessage", "documentation":"

A recommendation is causing an error.

" }, "recommendationId":{ "shape":"RecommendationId", "documentation":"

The identifier of the recommendation that is in error.

" } }, "documentation":"

An error occurred when creating a recommendation.

" }, "NotifyRecommendationsReceivedErrorList":{ "type":"list", "member":{"shape":"NotifyRecommendationsReceivedError"} }, "NotifyRecommendationsReceivedErrorMessage":{"type":"string"}, "NotifyRecommendationsReceivedRequest":{ "type":"structure", "required":[ "assistantId", "recommendationIds", "sessionId" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "recommendationIds":{ "shape":"RecommendationIdList", "documentation":"

The identifiers of the recommendations.

" }, "sessionId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"sessionId" } } }, "NotifyRecommendationsReceivedResponse":{ "type":"structure", "members":{ "errors":{ "shape":"NotifyRecommendationsReceivedErrorList", "documentation":"

The identifiers of recommendations that are causing errors.

" }, "recommendationIds":{ "shape":"RecommendationIdList", "documentation":"

The identifiers of the recommendations.

" } } }, "ObjectFieldsList":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":1 }, "Order":{ "type":"string", "enum":[ "ASC", "DESC" ] }, "PreconditionFailedException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The provided `revisionId` does not match, indicating the content has been modified since it was last read.

", "error":{ "httpStatusCode":412, "senderFault":true }, "exception":true }, "Priority":{ "type":"string", "enum":[ "HIGH", "MEDIUM", "LOW" ] }, "PutFeedbackRequest":{ "type":"structure", "required":[ "assistantId", "contentFeedback", "targetId", "targetType" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant.

", "location":"uri", "locationName":"assistantId" }, "contentFeedback":{ "shape":"ContentFeedbackData", "documentation":"

Information about the feedback provided.

" }, "targetId":{ "shape":"Uuid", "documentation":"

The identifier of the feedback target.

" }, "targetType":{ "shape":"TargetType", "documentation":"

The type of the feedback target.

" } } }, "PutFeedbackResponse":{ "type":"structure", "required":[ "assistantArn", "assistantId", "contentFeedback", "targetId", "targetType" ], "members":{ "assistantArn":{ "shape":"UuidOrArn", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Q assistant.

" }, "assistantId":{ "shape":"Uuid", "documentation":"

The identifier of the Amazon Q assistant.

" }, "contentFeedback":{ "shape":"ContentFeedbackData", "documentation":"

Information about the feedback provided.

" }, "targetId":{ "shape":"Uuid", "documentation":"

The identifier of the feedback target.

" }, "targetType":{ "shape":"TargetType", "documentation":"

The type of the feedback target.

" } } }, "QueryAssistantRequest":{ "type":"structure", "required":[ "assistantId", "queryText" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

" }, "queryCondition":{ "shape":"QueryConditionExpression", "documentation":"

Information about how to query content.

" }, "queryText":{ "shape":"QueryText", "documentation":"

The text to search for.

" }, "sessionId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q session. Can be either the ID or the ARN. URLs cannot contain the ARN.

" } } }, "QueryAssistantResponse":{ "type":"structure", "required":["results"], "members":{ "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, this is the token for the next set of results.

" }, "results":{ "shape":"QueryResultsList", "documentation":"

The results of the query.

" } } }, "QueryCondition":{ "type":"structure", "members":{ "single":{ "shape":"QueryConditionItem", "documentation":"

The condition for the query.

" } }, "documentation":"

Information about how to query content.

", "union":true }, "QueryConditionComparisonOperator":{ "type":"string", "enum":["EQUALS"] }, "QueryConditionExpression":{ "type":"list", "member":{"shape":"QueryCondition"}, "max":1, "min":0 }, "QueryConditionFieldName":{ "type":"string", "enum":["RESULT_TYPE"] }, "QueryConditionItem":{ "type":"structure", "required":[ "comparator", "field", "value" ], "members":{ "comparator":{ "shape":"QueryConditionComparisonOperator", "documentation":"

The comparison operator for query condition to query on.

" }, "field":{ "shape":"QueryConditionFieldName", "documentation":"

The name of the field for query condition to query on.

" }, "value":{ "shape":"NonEmptyString", "documentation":"

The value for the query condition to query on.

" } }, "documentation":"

The condition for the query.

" }, "QueryRecommendationTriggerData":{ "type":"structure", "members":{ "text":{ "shape":"QueryText", "documentation":"

The text associated with the recommendation trigger.

" } }, "documentation":"

Data associated with the QUERY RecommendationTriggerType.

" }, "QueryResultType":{ "type":"string", "enum":[ "KNOWLEDGE_CONTENT", "GENERATIVE_ANSWER" ] }, "QueryResultsList":{ "type":"list", "member":{"shape":"ResultData"} }, "QueryText":{ "type":"string", "max":1024, "min":0, "sensitive":true }, "QuickResponseContent":{ "type":"string", "max":1024, "min":1, "sensitive":true }, "QuickResponseContentProvider":{ "type":"structure", "members":{ "content":{ "shape":"QuickResponseContent", "documentation":"

The content of the quick response.

" } }, "documentation":"

The container quick response content.

", "union":true }, "QuickResponseContents":{ "type":"structure", "members":{ "markdown":{"shape":"QuickResponseContentProvider"}, "plainText":{"shape":"QuickResponseContentProvider"} }, "documentation":"

The content of the quick response stored in different media types.

" }, "QuickResponseData":{ "type":"structure", "required":[ "contentType", "createdTime", "knowledgeBaseArn", "knowledgeBaseId", "lastModifiedTime", "name", "quickResponseArn", "quickResponseId", "status" ], "members":{ "channels":{ "shape":"Channels", "documentation":"

The Amazon Connect contact channels this quick response applies to. The supported contact channel types include `Chat`.

" }, "contentType":{ "shape":"QuickResponseType", "documentation":"

The media type of the quick response content.

- Use `application/x.quickresponse;format=plain` for quick response written in plain text.

- Use `application/x.quickresponse;format=markdown` for quick response written in richtext.

" }, "contents":{ "shape":"QuickResponseContents", "documentation":"

The contents of the quick response.

" }, "createdTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the quick response was created.

" }, "description":{ "shape":"QuickResponseDescription", "documentation":"

The description of the quick response.

" }, "groupingConfiguration":{ "shape":"GroupingConfiguration", "documentation":"

The configuration information of the user groups that the quick response is accessible to.

" }, "isActive":{ "shape":"Boolean", "documentation":"

Whether the quick response is active.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

" }, "language":{ "shape":"LanguageCode", "documentation":"

The language code value for the language in which the quick response is written.

" }, "lastModifiedBy":{ "shape":"GenericArn", "documentation":"

The Amazon Resource Name (ARN) of the user who last updated the quick response data.

" }, "lastModifiedTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the quick response data was last modified.

" }, "name":{ "shape":"QuickResponseName", "documentation":"

The name of the quick response.

" }, "quickResponseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the quick response.

" }, "quickResponseId":{ "shape":"Uuid", "documentation":"

The identifier of the quick response.

" }, "shortcutKey":{ "shape":"ShortCutKey", "documentation":"

The shortcut key of the quick response. The value should be unique across the knowledge base.

" }, "status":{ "shape":"QuickResponseStatus", "documentation":"

The status of the quick response data.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

Information about the quick response.

" }, "QuickResponseDataProvider":{ "type":"structure", "members":{ "content":{ "shape":"QuickResponseContent", "documentation":"

The content of the quick response.

" } }, "documentation":"

The container of quick response data.

", "union":true }, "QuickResponseDescription":{ "type":"string", "max":255, "min":1 }, "QuickResponseFilterField":{ "type":"structure", "required":[ "name", "operator" ], "members":{ "includeNoExistence":{ "shape":"Boolean", "documentation":"

Whether to treat null value as a match for the attribute field.

" }, "name":{ "shape":"NonEmptyString", "documentation":"

The name of the attribute field to filter the quick responses by.

" }, "operator":{ "shape":"QuickResponseFilterOperator", "documentation":"

The operator to use for filtering.

" }, "values":{ "shape":"QuickResponseFilterValueList", "documentation":"

The values of attribute field to filter the quick response by.

" } }, "documentation":"

The quick response fields to filter the quick response query results by.

The following is the list of supported field names.

- name

- description

- shortcutKey

- isActive

- channels

- language

- contentType

- createdTime

- lastModifiedTime

- lastModifiedBy

- groupingConfiguration.criteria

- groupingConfiguration.values

" }, "QuickResponseFilterFieldList":{ "type":"list", "member":{"shape":"QuickResponseFilterField"}, "max":10, "min":0 }, "QuickResponseFilterOperator":{ "type":"string", "enum":[ "EQUALS", "PREFIX" ] }, "QuickResponseFilterValue":{ "type":"string", "max":2048, "min":1 }, "QuickResponseFilterValueList":{ "type":"list", "member":{"shape":"QuickResponseFilterValue"}, "max":5, "min":1 }, "QuickResponseName":{ "type":"string", "max":40, "min":1 }, "QuickResponseOrderField":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"NonEmptyString", "documentation":"

The name of the attribute to order the quick response query results by.

" }, "order":{ "shape":"Order", "documentation":"

The order at which the quick responses are sorted by.

" } }, "documentation":"

The quick response fields to order the quick response query results by.

The following is the list of supported field names.

- name

- description

- shortcutKey

- isActive

- channels

- language

- contentType

- createdTime

- lastModifiedTime

- lastModifiedBy

- groupingConfiguration.criteria

- groupingConfiguration.values

" }, "QuickResponseQueryField":{ "type":"structure", "required":[ "name", "operator", "values" ], "members":{ "allowFuzziness":{ "shape":"Boolean", "documentation":"

Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.

" }, "name":{ "shape":"NonEmptyString", "documentation":"

The name of the attribute to query the quick responses by.

" }, "operator":{ "shape":"QuickResponseQueryOperator", "documentation":"

The operator to use for matching attribute field values in the query.

" }, "priority":{ "shape":"Priority", "documentation":"

The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.

" }, "values":{ "shape":"QuickResponseQueryValueList", "documentation":"

The values of the attribute to query the quick responses by.

" } }, "documentation":"

The quick response fields to query quick responses by.

The following is the list of supported field names.

- content

- name

- description

- shortcutKey

" }, "QuickResponseQueryFieldList":{ "type":"list", "member":{"shape":"QuickResponseQueryField"}, "max":4, "min":0 }, "QuickResponseQueryOperator":{ "type":"string", "enum":[ "CONTAINS", "CONTAINS_AND_PREFIX" ] }, "QuickResponseQueryValue":{ "type":"string", "max":1024, "min":1 }, "QuickResponseQueryValueList":{ "type":"list", "member":{"shape":"QuickResponseQueryValue"}, "max":5, "min":1 }, "QuickResponseSearchExpression":{ "type":"structure", "members":{ "filters":{ "shape":"QuickResponseFilterFieldList", "documentation":"

The configuration of filtering rules applied to quick response query results.

" }, "orderOnField":{ "shape":"QuickResponseOrderField", "documentation":"

The quick response attribute fields on which the query results are ordered.

" }, "queries":{ "shape":"QuickResponseQueryFieldList", "documentation":"

The quick response query expressions.

" } }, "documentation":"

Information about the import job.

" }, "QuickResponseSearchResultData":{ "type":"structure", "required":[ "contentType", "contents", "createdTime", "isActive", "knowledgeBaseArn", "knowledgeBaseId", "lastModifiedTime", "name", "quickResponseArn", "quickResponseId", "status" ], "members":{ "attributesInterpolated":{ "shape":"ContactAttributeKeys", "documentation":"

The user defined contact attributes that are resolved when the search result is returned.

" }, "attributesNotInterpolated":{ "shape":"ContactAttributeKeys", "documentation":"

The user defined contact attributes that are not resolved when the search result is returned.

" }, "channels":{ "shape":"Channels", "documentation":"

The Amazon Connect contact channels this quick response applies to. The supported contact channel types include `Chat`.

" }, "contentType":{ "shape":"QuickResponseType", "documentation":"

The media type of the quick response content.

- Use `application/x.quickresponse;format=plain` for quick response written in plain text.

- Use `application/x.quickresponse;format=markdown` for quick response written in richtext.

" }, "contents":{ "shape":"QuickResponseContents", "documentation":"

The contents of the quick response.

" }, "createdTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the quick response was created.

" }, "description":{ "shape":"QuickResponseDescription", "documentation":"

The description of the quick response.

" }, "groupingConfiguration":{ "shape":"GroupingConfiguration", "documentation":"

The configuration information of the user groups that the quick response is accessible to.

" }, "isActive":{ "shape":"Boolean", "documentation":"

Whether the quick response is active.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

" }, "language":{ "shape":"LanguageCode", "documentation":"

The language code value for the language in which the quick response is written.

" }, "lastModifiedBy":{ "shape":"GenericArn", "documentation":"

The Amazon Resource Name (ARN) of the user who last updated the quick response search result data.

" }, "lastModifiedTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the quick response search result data was last modified.

" }, "name":{ "shape":"QuickResponseName", "documentation":"

The name of the quick response.

" }, "quickResponseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the quick response.

" }, "quickResponseId":{ "shape":"Uuid", "documentation":"

The identifier of the quick response.

" }, "shortcutKey":{ "shape":"ShortCutKey", "documentation":"

The shortcut key of the quick response. The value should be unique across the knowledge base.

" }, "status":{ "shape":"QuickResponseStatus", "documentation":"

The resource status of the quick response.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

The result of quick response search.

" }, "QuickResponseSearchResultsList":{ "type":"list", "member":{"shape":"QuickResponseSearchResultData"} }, "QuickResponseStatus":{ "type":"string", "enum":[ "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED" ] }, "QuickResponseSummary":{ "type":"structure", "required":[ "contentType", "createdTime", "knowledgeBaseArn", "knowledgeBaseId", "lastModifiedTime", "name", "quickResponseArn", "quickResponseId", "status" ], "members":{ "channels":{ "shape":"Channels", "documentation":"

The Amazon Connect contact channels this quick response applies to. The supported contact channel types include `Chat`.

" }, "contentType":{ "shape":"QuickResponseType", "documentation":"

The media type of the quick response content.

- Use `application/x.quickresponse;format=plain` for quick response written in plain text.

- Use `application/x.quickresponse;format=markdown` for quick response written in richtext.

" }, "createdTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the quick response was created.

" }, "description":{ "shape":"QuickResponseDescription", "documentation":"

The description of the quick response.

" }, "isActive":{ "shape":"Boolean", "documentation":"

Whether the quick response is active.

" }, "knowledgeBaseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the knowledge base.

" }, "knowledgeBaseId":{ "shape":"Uuid", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.

" }, "lastModifiedBy":{ "shape":"GenericArn", "documentation":"

The Amazon Resource Name (ARN) of the user who last updated the quick response data.

" }, "lastModifiedTime":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The timestamp when the quick response summary was last modified.

" }, "name":{ "shape":"QuickResponseName", "documentation":"

The name of the quick response.

" }, "quickResponseArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the quick response.

" }, "quickResponseId":{ "shape":"Uuid", "documentation":"

The identifier of the quick response.

" }, "status":{ "shape":"QuickResponseStatus", "documentation":"

The resource status of the quick response.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

The summary information about the quick response.

" }, "QuickResponseSummaryList":{ "type":"list", "member":{"shape":"QuickResponseSummary"} }, "QuickResponseType":{ "type":"string", "pattern":"^(application/x\\.quickresponse;format=(plain|markdown))$" }, "RankingData":{ "type":"structure", "members":{ "relevanceLevel":{ "shape":"RelevanceLevel", "documentation":"

The relevance score of the content.

" }, "relevanceScore":{ "shape":"RelevanceScore", "documentation":"

The relevance level of the recommendation.

" } }, "documentation":"

Details about the source content ranking data.

" }, "RecommendationData":{ "type":"structure", "required":["recommendationId"], "members":{ "data":{ "shape":"DataSummary", "documentation":"

Summary of the recommended content.

" }, "document":{ "shape":"Document", "documentation":"

The recommended document.

" }, "recommendationId":{ "shape":"RecommendationId", "documentation":"

The identifier of the recommendation.

" }, "relevanceLevel":{ "shape":"RelevanceLevel", "documentation":"

The relevance level of the recommendation.

" }, "relevanceScore":{ "shape":"RelevanceScore", "documentation":"

The relevance score of the recommendation.

" }, "type":{ "shape":"RecommendationType", "documentation":"

The type of recommendation.

" } }, "documentation":"

Information about the recommendation.

" }, "RecommendationId":{ "type":"string", "max":2048, "min":1 }, "RecommendationIdList":{ "type":"list", "member":{"shape":"RecommendationId"}, "max":25, "min":0 }, "RecommendationList":{ "type":"list", "member":{"shape":"RecommendationData"} }, "RecommendationSourceType":{ "type":"string", "enum":[ "ISSUE_DETECTION", "RULE_EVALUATION", "OTHER" ] }, "RecommendationTrigger":{ "type":"structure", "required":[ "data", "id", "recommendationIds", "source", "type" ], "members":{ "data":{ "shape":"RecommendationTriggerData", "documentation":"

A union type containing information related to the trigger.

" }, "id":{ "shape":"Uuid", "documentation":"

The identifier of the recommendation trigger.

" }, "recommendationIds":{ "shape":"RecommendationIdList", "documentation":"

The identifiers of the recommendations.

" }, "source":{ "shape":"RecommendationSourceType", "documentation":"

The source of the recommendation trigger.

- ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.

- RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.

" }, "type":{ "shape":"RecommendationTriggerType", "documentation":"

The type of recommendation trigger.

" } }, "documentation":"

A recommendation trigger provides context on the event that produced the referenced recommendations. Recommendations are only referenced in `recommendationIds` by a single RecommendationTrigger.

" }, "RecommendationTriggerData":{ "type":"structure", "members":{ "query":{ "shape":"QueryRecommendationTriggerData", "documentation":"

Data associated with the QUERY RecommendationTriggerType.

" } }, "documentation":"

A union type containing information related to the trigger.

", "union":true }, "RecommendationTriggerList":{ "type":"list", "member":{"shape":"RecommendationTrigger"} }, "RecommendationTriggerType":{ "type":"string", "enum":[ "QUERY", "GENERATIVE" ] }, "RecommendationType":{ "type":"string", "enum":[ "KNOWLEDGE_CONTENT", "GENERATIVE_RESPONSE", "GENERATIVE_ANSWER" ] }, "Relevance":{ "type":"string", "enum":[ "HELPFUL", "NOT_HELPFUL" ] }, "RelevanceLevel":{ "type":"string", "enum":[ "HIGH", "MEDIUM", "LOW" ] }, "RelevanceScore":{ "type":"double", "min":0.0 }, "RemoveKnowledgeBaseTemplateUriRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" } } }, "RemoveKnowledgeBaseTemplateUriResponse":{ "type":"structure", "members":{ } }, "RenderingConfiguration":{ "type":"structure", "members":{ "templateUri":{ "shape":"Uri", "documentation":"

A URI template containing exactly one variable in `${variableName}` format. This can only be set for `EXTERNAL` knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:

- Salesforce: `Id`, `ArticleNumber`, `VersionNumber`, `Title`, `PublishStatus`, or `IsDeleted`

- ServiceNow: `number`, `short_description`, `sys_mod_count`, `workflow_state`, or `active`

- Zendesk: `id`, `title`, `updated_at`, or `draft`

The variable is replaced with the actual value for a piece of content when calling GetContent.

" } }, "documentation":"

Information about how to render the content.

" }, "RequestTimeoutException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.

", "error":{ "httpStatusCode":408, "senderFault":true }, "exception":true, "retryable":{"throttling":false} }, "ResourceNotFoundException":{ "type":"structure", "members":{ "message":{"shape":"String"}, "resourceName":{ "shape":"String", "documentation":"

The specified resource name.

" } }, "documentation":"

The specified resource does not exist.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "ResultData":{ "type":"structure", "required":["resultId"], "members":{ "data":{ "shape":"DataSummary", "documentation":"

Summary of the recommended content.

" }, "document":{ "shape":"Document", "documentation":"

The document.

" }, "relevanceScore":{ "shape":"RelevanceScore", "documentation":"

The relevance score of the results.

" }, "resultId":{ "shape":"Uuid", "documentation":"

The identifier of the result data.

" }, "type":{ "shape":"QueryResultType", "documentation":"

The type of the query result.

" } }, "documentation":"

Information about the result.

" }, "SearchContentRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "searchExpression" ], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "searchExpression":{ "shape":"SearchExpression", "documentation":"

The search expression to filter results.

" } } }, "SearchContentResponse":{ "type":"structure", "required":["contentSummaries"], "members":{ "contentSummaries":{ "shape":"ContentSummaryList", "documentation":"

Summary information about the content.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, this is the token for the next set of results.

" } } }, "SearchExpression":{ "type":"structure", "required":["filters"], "members":{ "filters":{ "shape":"FilterList", "documentation":"

The search expression filters.

" } }, "documentation":"

The search expression.

" }, "SearchQuickResponsesRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "searchExpression" ], "members":{ "attributes":{ "shape":"ContactAttributes", "documentation":"

The user-defined Amazon Connect contact attributes to be resolved when search results are returned.

" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "searchExpression":{ "shape":"QuickResponseSearchExpression", "documentation":"

The search expression for querying the quick response.

" } } }, "SearchQuickResponsesResponse":{ "type":"structure", "required":["results"], "members":{ "nextToken":{ "shape":"NonEmptyString", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

" }, "results":{ "shape":"QuickResponseSearchResultsList", "documentation":"

The results of the quick response search.

" } } }, "SearchSessionsRequest":{ "type":"structure", "required":[ "assistantId", "searchExpression" ], "members":{ "assistantId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"assistantId" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return per page.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "searchExpression":{ "shape":"SearchExpression", "documentation":"

The search expression to filter results.

" } } }, "SearchSessionsResponse":{ "type":"structure", "required":["sessionSummaries"], "members":{ "nextToken":{ "shape":"NextToken", "documentation":"

If there are additional results, this is the token for the next set of results.

" }, "sessionSummaries":{ "shape":"SessionSummaries", "documentation":"

Summary information about the sessions.

" } } }, "SensitiveString":{ "type":"string", "sensitive":true }, "ServerSideEncryptionConfiguration":{ "type":"structure", "members":{ "kmsKeyId":{ "shape":"NonEmptyString", "documentation":"

The customer managed key used for encryption. For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance. For information about valid ID values, see Key identifiers (KeyId).

" } }, "documentation":"

The configuration information for the customer managed key used for encryption.

" }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.

", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true }, "SessionData":{ "type":"structure", "required":[ "name", "sessionArn", "sessionId" ], "members":{ "description":{ "shape":"Description", "documentation":"

The description of the session.

" }, "integrationConfiguration":{ "shape":"SessionIntegrationConfiguration", "documentation":"

The configuration information for the session integration.

" }, "name":{ "shape":"Name", "documentation":"

The name of the session.

" }, "sessionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the session.

" }, "sessionId":{ "shape":"Uuid", "documentation":"

The identifier of the session.

" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } }, "documentation":"

Information about the session.

" }, "SessionIntegrationConfiguration":{ "type":"structure", "members":{ "topicIntegrationArn":{ "shape":"GenericArn", "documentation":"

The Amazon Resource Name (ARN) of the integrated Amazon SNS topic used for streaming chat messages.

" } }, "documentation":"

The configuration information for the session integration.

" }, "SessionSummaries":{ "type":"list", "member":{"shape":"SessionSummary"} }, "SessionSummary":{ "type":"structure", "required":[ "assistantArn", "assistantId", "sessionArn", "sessionId" ], "members":{ "assistantArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the Amazon Q assistant.

" }, "assistantId":{ "shape":"Uuid", "documentation":"

The identifier of the Amazon Q assistant.

" }, "sessionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the session.

" }, "sessionId":{ "shape":"Uuid", "documentation":"

The identifier of the session.

" } }, "documentation":"

Summary information about the session.

" }, "ShortCutKey":{ "type":"string", "max":10, "min":1 }, "SourceConfiguration":{ "type":"structure", "members":{ "appIntegrations":{ "shape":"AppIntegrationsConfiguration", "documentation":"

Configuration information for Amazon AppIntegrations to automatically ingest content.

" } }, "documentation":"

Configuration information about the external data source.

", "union":true }, "SourceContentDataDetails":{ "type":"structure", "required":[ "id", "rankingData", "textData", "type" ], "members":{ "id":{ "shape":"Uuid", "documentation":"

The identifier of the source content.

" }, "rankingData":{ "shape":"RankingData", "documentation":"

Details about the source content ranking data.

" }, "textData":{ "shape":"TextData", "documentation":"

Details about the source content text data.

" }, "type":{ "shape":"SourceContentType", "documentation":"

The type of the source content.

" } }, "documentation":"

Details about the source content data.

" }, "SourceContentType":{ "type":"string", "enum":["KNOWLEDGE_CONTENT"] }, "StartContentUploadRequest":{ "type":"structure", "required":[ "contentType", "knowledgeBaseId" ], "members":{ "contentType":{ "shape":"ContentType", "documentation":"

The type of content to upload.

" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "presignedUrlTimeToLive":{ "shape":"TimeToLive", "documentation":"

The expected expiration time of the generated presigned URL, specified in minutes.

" } } }, "StartContentUploadResponse":{ "type":"structure", "required":[ "headersToInclude", "uploadId", "url", "urlExpiry" ], "members":{ "headersToInclude":{ "shape":"Headers", "documentation":"

The headers to include in the upload.

" }, "uploadId":{ "shape":"UploadId", "documentation":"

The identifier of the upload.

" }, "url":{ "shape":"Url", "documentation":"

The URL of the upload.

" }, "urlExpiry":{ "shape":"SyntheticTimestamp_epoch_seconds", "documentation":"

The expiration time of the URL as an epoch timestamp.

" } } }, "StartImportJobRequest":{ "type":"structure", "required":[ "importJobType", "knowledgeBaseId", "uploadId" ], "members":{ "clientToken":{ "shape":"NonEmptyString", "documentation":"

The tags used to organize, track, or control access for this resource.

", "idempotencyToken":true }, "externalSourceConfiguration":{ "shape":"ExternalSourceConfiguration", "documentation":"

The configuration information of the external source that the resource data are imported from.

" }, "importJobType":{ "shape":"ImportJobType", "documentation":"

The type of the import job.

- For importing quick response resource, set the value to `QUICK_RESPONSES`.

" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

- For importing Amazon Q quick responses, this should be a `QUICK_RESPONSES` type knowledge base.

", "location":"uri", "locationName":"knowledgeBaseId" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

The metadata fields of the imported Amazon Q resources.

" }, "uploadId":{ "shape":"UploadId", "documentation":"

A pointer to the uploaded asset. This value is returned by StartContentUpload.

" } } }, "StartImportJobResponse":{ "type":"structure", "members":{ "importJob":{ "shape":"ImportJobData", "documentation":"

The import job.

" } } }, "String":{"type":"string"}, "SyntheticTimestamp_epoch_seconds":{ "type":"timestamp", "timestampFormat":"unixTimestamp" }, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":50, "min":1 }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"Tags", "documentation":"

The tags used to organize, track, or control access for this resource.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":1 }, "Tags":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"} }, "TargetType":{ "type":"string", "enum":[ "RECOMMENDATION", "RESULT" ] }, "TextData":{ "type":"structure", "members":{ "excerpt":{"shape":"DocumentText"}, "title":{"shape":"DocumentText"} }, "documentation":"

Details about the source content text data.

" }, "TimeToLive":{ "type":"integer", "documentation":"

Expiration time in minutes

", "box":true, "max":60, "min":1 }, "TooManyTagsException":{ "type":"structure", "members":{ "message":{"shape":"String"}, "resourceName":{ "shape":"String", "documentation":"

The specified resource name.

" } }, "documentation":"

Amazon Q in Connect throws this exception if you have too many tags in your tag set.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"

The tag keys.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateContentRequest":{ "type":"structure", "required":[ "contentId", "knowledgeBaseId" ], "members":{ "contentId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"contentId" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN

", "location":"uri", "locationName":"knowledgeBaseId" }, "metadata":{ "shape":"ContentMetadata", "documentation":"

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.

" }, "overrideLinkOutUri":{ "shape":"Uri", "documentation":"

The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing `overrideLinkOurUri`, exclude this argument and set `removeOverrideLinkOutUri` to true.

" }, "removeOverrideLinkOutUri":{ "shape":"Boolean", "documentation":"

Unset the existing `overrideLinkOutUri` if it exists.

" }, "revisionId":{ "shape":"NonEmptyString", "documentation":"

The `revisionId` of the content resource to update, taken from an earlier call to `GetContent`, `GetContentSummary`, `SearchContent`, or `ListContents`. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a `PreconditionFailedException`.

" }, "title":{ "shape":"ContentTitle", "documentation":"

The title of the content.

" }, "uploadId":{ "shape":"UploadId", "documentation":"

A pointer to the uploaded asset. This value is returned by StartContentUpload.

" } } }, "UpdateContentResponse":{ "type":"structure", "members":{ "content":{ "shape":"ContentData", "documentation":"

The content.

" } } }, "UpdateKnowledgeBaseTemplateUriRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "templateUri" ], "members":{ "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "templateUri":{ "shape":"Uri", "documentation":"

The template URI to update.

" } } }, "UpdateKnowledgeBaseTemplateUriResponse":{ "type":"structure", "members":{ "knowledgeBase":{ "shape":"KnowledgeBaseData", "documentation":"

The knowledge base to update.

" } } }, "UpdateQuickResponseRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "quickResponseId" ], "members":{ "channels":{ "shape":"Channels", "documentation":"

The Amazon Connect contact channels this quick response applies to. The supported contact channel types include `Chat`.

" }, "content":{ "shape":"QuickResponseDataProvider", "documentation":"

The updated content of the quick response.

" }, "contentType":{ "shape":"QuickResponseType", "documentation":"

The media type of the quick response content.

- Use `application/x.quickresponse;format=plain` for quick response written in plain text.

- Use `application/x.quickresponse;format=markdown` for quick response written in richtext.

" }, "description":{ "shape":"QuickResponseDescription", "documentation":"

The updated description of the quick response.

" }, "groupingConfiguration":{ "shape":"GroupingConfiguration", "documentation":"

The updated grouping configuration of the quick response.

" }, "isActive":{ "shape":"Boolean", "documentation":"

Whether the quick response is active.

" }, "knowledgeBaseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

", "location":"uri", "locationName":"knowledgeBaseId" }, "language":{ "shape":"LanguageCode", "documentation":"

The language code value for the language in which the quick response is written. The supported language codes include `de_DE`, `en_US`, `es_ES`, `fr_FR`, `id_ID`, `it_IT`, `ja_JP`, `ko_KR`, `pt_BR`, `zh_CN`, `zh_TW`

" }, "name":{ "shape":"QuickResponseName", "documentation":"

The name of the quick response.

" }, "quickResponseId":{ "shape":"UuidOrArn", "documentation":"

The identifier of the quick response.

", "location":"uri", "locationName":"quickResponseId" }, "removeDescription":{ "shape":"Boolean", "documentation":"

Whether to remove the description from the quick response.

" }, "removeGroupingConfiguration":{ "shape":"Boolean", "documentation":"

Whether to remove the grouping configuration of the quick response.

" }, "removeShortcutKey":{ "shape":"Boolean", "documentation":"

Whether to remove the shortcut key of the quick response.

" }, "shortcutKey":{ "shape":"ShortCutKey", "documentation":"

The shortcut key of the quick response. The value should be unique across the knowledge base.

" } } }, "UpdateQuickResponseResponse":{ "type":"structure", "members":{ "quickResponse":{ "shape":"QuickResponseData", "documentation":"

The quick response.

" } } }, "UploadId":{ "type":"string", "max":1200, "min":1 }, "Uri":{ "type":"string", "max":4096, "min":1 }, "Url":{ "type":"string", "max":4096, "min":1, "sensitive":true }, "Uuid":{ "type":"string", "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" }, "UuidOrArn":{ "type":"string", "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" }, "ValidationException":{ "type":"structure", "members":{ "message":{"shape":"String"} }, "documentation":"

The input fails to satisfy the constraints specified by a service.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "WaitTimeSeconds":{ "type":"integer", "max":20, "min":0 } }, "documentation":"

Powered by Amazon Bedrock: Amazon Web Services implements automated abuse detection. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).

Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.

Amazon Q automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q directly using natural language or keywords to answer customer requests.

Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.

For more information, see Use Amazon Q in Connect for generative AI powered agent assistance in real-time in the Amazon Connect Administrator Guide.

" }