@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonQConnectClient extends AmazonWebServiceClient implements AmazonQConnect
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 in Connect 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 in Connect 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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonQConnectClientBuilder builder()
public CreateAssistantResult createAssistant(CreateAssistantRequest request)
Creates an Amazon Q in Connect assistant.
createAssistant in interface AmazonQConnectcreateAssistantRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.public CreateAssistantAssociationResult createAssistantAssociation(CreateAssistantAssociationRequest request)
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.
createAssistantAssociation in interface AmazonQConnectcreateAssistantAssociationRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public CreateContentResult createContent(CreateContentRequest request)
Creates Amazon Q in Connect content. Before to calling this API, use StartContentUpload to upload an asset.
createContent in interface AmazonQConnectcreateContentRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public CreateContentAssociationResult createContentAssociation(CreateContentAssociationRequest request)
Creates an association between a content resource in a knowledge base and step-by-step guides. Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides.
After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content.
Note the following limitations:
You can create only one content association for each content resource in a knowledge base.
You can associate a step-by-step guide with multiple content resources.
For more information, see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
createContentAssociation in interface AmazonQConnectcreateContentAssociationRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The throttling limit has been exceeded.public CreateKnowledgeBaseResult createKnowledgeBase(CreateKnowledgeBaseRequest request)
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:
Call DeleteKnowledgeBase.
Call DeleteDataIntegration.
Call CreateDataIntegration to recreate the DataIntegration or a create different one.
Call CreateKnowledgeBase.
createKnowledgeBase in interface AmazonQConnectcreateKnowledgeBaseRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.public CreateQuickResponseResult createQuickResponse(CreateQuickResponseRequest request)
Creates an Amazon Q in Connect quick response.
createQuickResponse in interface AmazonQConnectcreateQuickResponseRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public CreateSessionResult createSession(CreateSessionRequest request)
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
createSession in interface AmazonQConnectcreateSessionRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteAssistantResult deleteAssistant(DeleteAssistantRequest request)
Deletes an assistant.
deleteAssistant in interface AmazonQConnectdeleteAssistantRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteAssistantAssociationResult deleteAssistantAssociation(DeleteAssistantAssociationRequest request)
Deletes an assistant association.
deleteAssistantAssociation in interface AmazonQConnectdeleteAssistantAssociationRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteContentResult deleteContent(DeleteContentRequest request)
Deletes the content.
deleteContent in interface AmazonQConnectdeleteContentRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteContentAssociationResult deleteContentAssociation(DeleteContentAssociationRequest request)
Deletes the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
deleteContentAssociation in interface AmazonQConnectdeleteContentAssociationRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteImportJobResult deleteImportJob(DeleteImportJobRequest request)
Deletes the quick response import job.
deleteImportJob in interface AmazonQConnectdeleteImportJobRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteKnowledgeBaseResult deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
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.
deleteKnowledgeBase in interface AmazonQConnectdeleteKnowledgeBaseRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public DeleteQuickResponseResult deleteQuickResponse(DeleteQuickResponseRequest request)
Deletes a quick response.
deleteQuickResponse in interface AmazonQConnectdeleteQuickResponseRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetAssistantResult getAssistant(GetAssistantRequest request)
Retrieves information about an assistant.
getAssistant in interface AmazonQConnectgetAssistantRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetAssistantAssociationResult getAssistantAssociation(GetAssistantAssociationRequest request)
Retrieves information about an assistant association.
getAssistantAssociation in interface AmazonQConnectgetAssistantAssociationRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetContentResult getContent(GetContentRequest request)
Retrieves content, including a pre-signed URL to download the content.
getContent in interface AmazonQConnectgetContentRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetContentAssociationResult getContentAssociation(GetContentAssociationRequest request)
Returns the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
getContentAssociation in interface AmazonQConnectgetContentAssociationRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetContentSummaryResult getContentSummary(GetContentSummaryRequest request)
Retrieves summary information about the content.
getContentSummary in interface AmazonQConnectgetContentSummaryRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetImportJobResult getImportJob(GetImportJobRequest request)
Retrieves the started import job.
getImportJob in interface AmazonQConnectgetImportJobRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetKnowledgeBaseResult getKnowledgeBase(GetKnowledgeBaseRequest request)
Retrieves information about the knowledge base.
getKnowledgeBase in interface AmazonQConnectgetKnowledgeBaseRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetQuickResponseResult getQuickResponse(GetQuickResponseRequest request)
Retrieves the quick response.
getQuickResponse in interface AmazonQConnectgetQuickResponseRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.@Deprecated public GetRecommendationsResult getRecommendations(GetRecommendationsRequest request)
This 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 Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
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.
getRecommendations in interface AmazonQConnectgetRecommendationsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public GetSessionResult getSession(GetSessionRequest request)
Retrieves information for a specified session.
getSession in interface AmazonQConnectgetSessionRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public ListAssistantAssociationsResult listAssistantAssociations(ListAssistantAssociationsRequest request)
Lists information about assistant associations.
listAssistantAssociations in interface AmazonQConnectlistAssistantAssociationsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public ListAssistantsResult listAssistants(ListAssistantsRequest request)
Lists information about assistants.
listAssistants in interface AmazonQConnectlistAssistantsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.public ListContentAssociationsResult listContentAssociations(ListContentAssociationsRequest request)
Lists the content associations.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
listContentAssociations in interface AmazonQConnectlistContentAssociationsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public ListContentsResult listContents(ListContentsRequest request)
Lists the content.
listContents in interface AmazonQConnectlistContentsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public ListImportJobsResult listImportJobs(ListImportJobsRequest request)
Lists information about import jobs.
listImportJobs in interface AmazonQConnectlistImportJobsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.public ListKnowledgeBasesResult listKnowledgeBases(ListKnowledgeBasesRequest request)
Lists the knowledge bases.
listKnowledgeBases in interface AmazonQConnectlistKnowledgeBasesRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.public ListQuickResponsesResult listQuickResponses(ListQuickResponsesRequest request)
Lists information about quick response.
listQuickResponses in interface AmazonQConnectlistQuickResponsesRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource in interface AmazonQConnectlistTagsForResourceRequest - ResourceNotFoundException - The specified resource does not exist.public NotifyRecommendationsReceivedResult notifyRecommendationsReceived(NotifyRecommendationsReceivedRequest request)
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.
notifyRecommendationsReceived in interface AmazonQConnectnotifyRecommendationsReceivedRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public PutFeedbackResult putFeedback(PutFeedbackRequest request)
Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
putFeedback in interface AmazonQConnectputFeedbackRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.@Deprecated public QueryAssistantResult queryAssistant(QueryAssistantRequest request)
This 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 Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
queryAssistant in interface AmazonQConnectqueryAssistantRequest - RequestTimeoutException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public RemoveKnowledgeBaseTemplateUriResult removeKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest request)
Removes a URI template from a knowledge base.
removeKnowledgeBaseTemplateUri in interface AmazonQConnectremoveKnowledgeBaseTemplateUriRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public SearchContentResult searchContent(SearchContentRequest request)
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
searchContent in interface AmazonQConnectsearchContentRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public SearchQuickResponsesResult searchQuickResponses(SearchQuickResponsesRequest request)
Searches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
searchQuickResponses in interface AmazonQConnectsearchQuickResponsesRequest - RequestTimeoutException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public SearchSessionsResult searchSessions(SearchSessionsRequest request)
Searches for sessions.
searchSessions in interface AmazonQConnectsearchSessionsRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public StartContentUploadResult startContentUpload(StartContentUploadRequest request)
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.
startContentUpload in interface AmazonQConnectstartContentUploadRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public StartImportJobResult startImportJob(StartImportJobRequest request)
Start an asynchronous job to import Amazon Q in Connect 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 in Connect 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.
startImportJob in interface AmazonQConnectstartImportJobRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.ServiceQuotaExceededException - 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.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
tagResource in interface AmazonQConnecttagResourceRequest - TooManyTagsException - Amazon Q in Connect throws this exception if you have too many tags in your tag set.ResourceNotFoundException - The specified resource does not exist.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
untagResource in interface AmazonQConnectuntagResourceRequest - ResourceNotFoundException - The specified resource does not exist.public UpdateContentResult updateContent(UpdateContentRequest request)
Updates information about the content.
updateContent in interface AmazonQConnectupdateContentRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.PreconditionFailedException - The provided revisionId does not match, indicating the content has been modified since it
was last read.ResourceNotFoundException - The specified resource does not exist.public UpdateKnowledgeBaseTemplateUriResult updateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest request)
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 in Connect 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.
updateKnowledgeBaseTemplateUri in interface AmazonQConnectupdateKnowledgeBaseTemplateUriRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public UpdateQuickResponseResult updateQuickResponse(UpdateQuickResponseRequest request)
Updates an existing Amazon Q in Connect quick response.
updateQuickResponse in interface AmazonQConnectupdateQuickResponseRequest - ConflictException - 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.ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.PreconditionFailedException - The provided revisionId does not match, indicating the content has been modified since it
was last read.ResourceNotFoundException - The specified resource does not exist.public UpdateSessionResult updateSession(UpdateSessionRequest request)
Updates a session. A session is a contextual container used for generating recommendations. Amazon Connect updates the existing Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
updateSession in interface AmazonQConnectupdateSessionRequest - ValidationException - The input fails to satisfy the constraints specified by a service.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonQConnectrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonQConnectshutdown in class AmazonWebServiceClient