Class: Aws::QConnect::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::QConnect::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb
Overview
An API client for QConnect. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::QConnect::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#activate_message_template(params = {}) ⇒ Types::ActivateMessageTemplateResponse
Activates a specific version of the Amazon Q in Connect message template.
-
#create_ai_agent(params = {}) ⇒ Types::CreateAIAgentResponse
Creates an Amazon Q in Connect AI Agent.
-
#create_ai_agent_version(params = {}) ⇒ Types::CreateAIAgentVersionResponse
Creates and Amazon Q in Connect AI Agent version.
-
#create_ai_guardrail(params = {}) ⇒ Types::CreateAIGuardrailResponse
Creates an Amazon Q in Connect AI Guardrail.
-
#create_ai_guardrail_version(params = {}) ⇒ Types::CreateAIGuardrailVersionResponse
Creates an Amazon Q in Connect AI Guardrail version.
-
#create_ai_prompt(params = {}) ⇒ Types::CreateAIPromptResponse
Creates an Amazon Q in Connect AI Prompt.
-
#create_ai_prompt_version(params = {}) ⇒ Types::CreateAIPromptVersionResponse
Creates an Amazon Q in Connect AI Prompt version.
-
#create_assistant(params = {}) ⇒ Types::CreateAssistantResponse
Creates an Amazon Q in Connect assistant.
-
#create_assistant_association(params = {}) ⇒ Types::CreateAssistantAssociationResponse
Creates an association between an Amazon Q in Connect assistant and another resource.
-
#create_content(params = {}) ⇒ Types::CreateContentResponse
Creates Amazon Q in Connect content.
-
#create_content_association(params = {}) ⇒ Types::CreateContentAssociationResponse
Creates an association between a content resource in a knowledge base and [step-by-step guides][1].
-
#create_knowledge_base(params = {}) ⇒ Types::CreateKnowledgeBaseResponse
Creates a knowledge base.
-
#create_message_template(params = {}) ⇒ Types::CreateMessageTemplateResponse
Creates an Amazon Q in Connect message template.
-
#create_message_template_attachment(params = {}) ⇒ Types::CreateMessageTemplateAttachmentResponse
Uploads an attachment file to the specified Amazon Q in Connect message template.
-
#create_message_template_version(params = {}) ⇒ Types::CreateMessageTemplateVersionResponse
Creates a new Amazon Q in Connect message template version from the current content and configuration of a message template.
-
#create_quick_response(params = {}) ⇒ Types::CreateQuickResponseResponse
Creates an Amazon Q in Connect quick response.
-
#create_session(params = {}) ⇒ Types::CreateSessionResponse
Creates a session.
-
#deactivate_message_template(params = {}) ⇒ Types::DeactivateMessageTemplateResponse
Deactivates a specific version of the Amazon Q in Connect message template .
-
#delete_ai_agent(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Agent.
-
#delete_ai_agent_version(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Agent Version.
-
#delete_ai_guardrail(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Guardrail.
-
#delete_ai_guardrail_version(params = {}) ⇒ Struct
Delete and Amazon Q in Connect AI Guardrail version.
-
#delete_ai_prompt(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Prompt.
-
#delete_ai_prompt_version(params = {}) ⇒ Struct
Delete and Amazon Q in Connect AI Prompt version.
-
#delete_assistant(params = {}) ⇒ Struct
Deletes an assistant.
-
#delete_assistant_association(params = {}) ⇒ Struct
Deletes an assistant association.
-
#delete_content(params = {}) ⇒ Struct
Deletes the content.
-
#delete_content_association(params = {}) ⇒ Struct
Deletes the content association.
-
#delete_import_job(params = {}) ⇒ Struct
Deletes the quick response import job.
-
#delete_knowledge_base(params = {}) ⇒ Struct
Deletes the knowledge base.
-
#delete_message_template(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect message template entirely or a specific version of the message template if version is supplied in the request.
-
#delete_message_template_attachment(params = {}) ⇒ Struct
Deletes the attachment file from the Amazon Q in Connect message template that is referenced by
$LATEST
qualifier. -
#delete_quick_response(params = {}) ⇒ Struct
Deletes a quick response.
-
#get_ai_agent(params = {}) ⇒ Types::GetAIAgentResponse
Gets an Amazon Q in Connect AI Agent.
-
#get_ai_guardrail(params = {}) ⇒ Types::GetAIGuardrailResponse
Gets the Amazon Q in Connect AI Guardrail.
-
#get_ai_prompt(params = {}) ⇒ Types::GetAIPromptResponse
Gets and Amazon Q in Connect AI Prompt.
-
#get_assistant(params = {}) ⇒ Types::GetAssistantResponse
Retrieves information about an assistant.
-
#get_assistant_association(params = {}) ⇒ Types::GetAssistantAssociationResponse
Retrieves information about an assistant association.
-
#get_content(params = {}) ⇒ Types::GetContentResponse
Retrieves content, including a pre-signed URL to download the content.
-
#get_content_association(params = {}) ⇒ Types::GetContentAssociationResponse
Returns the content association.
-
#get_content_summary(params = {}) ⇒ Types::GetContentSummaryResponse
Retrieves summary information about the content.
-
#get_import_job(params = {}) ⇒ Types::GetImportJobResponse
Retrieves the started import job.
-
#get_knowledge_base(params = {}) ⇒ Types::GetKnowledgeBaseResponse
Retrieves information about the knowledge base.
-
#get_message_template(params = {}) ⇒ Types::GetMessageTemplateResponse
Retrieves the Amazon Q in Connect message template.
-
#get_next_message(params = {}) ⇒ Types::GetNextMessageResponse
Retrieves next message on an Amazon Q in Connect session.
-
#get_quick_response(params = {}) ⇒ Types::GetQuickResponseResponse
Retrieves the quick response.
-
#get_recommendations(params = {}) ⇒ Types::GetRecommendationsResponse
This API will be discontinued starting June 1, 2024.
-
#get_session(params = {}) ⇒ Types::GetSessionResponse
Retrieves information for a specified session.
-
#list_ai_agent_versions(params = {}) ⇒ Types::ListAIAgentVersionsResponse
List AI Agent versions.
-
#list_ai_agents(params = {}) ⇒ Types::ListAIAgentsResponse
Lists AI Agents.
-
#list_ai_guardrail_versions(params = {}) ⇒ Types::ListAIGuardrailVersionsResponse
Lists AI Guardrail versions.
-
#list_ai_guardrails(params = {}) ⇒ Types::ListAIGuardrailsResponse
Lists the AI Guardrails available on the Amazon Q in Connect assistant.
-
#list_ai_prompt_versions(params = {}) ⇒ Types::ListAIPromptVersionsResponse
Lists AI Prompt versions.
-
#list_ai_prompts(params = {}) ⇒ Types::ListAIPromptsResponse
Lists the AI Prompts available on the Amazon Q in Connect assistant.
-
#list_assistant_associations(params = {}) ⇒ Types::ListAssistantAssociationsResponse
Lists information about assistant associations.
-
#list_assistants(params = {}) ⇒ Types::ListAssistantsResponse
Lists information about assistants.
-
#list_content_associations(params = {}) ⇒ Types::ListContentAssociationsResponse
Lists the content associations.
-
#list_contents(params = {}) ⇒ Types::ListContentsResponse
Lists the content.
-
#list_import_jobs(params = {}) ⇒ Types::ListImportJobsResponse
Lists information about import jobs.
-
#list_knowledge_bases(params = {}) ⇒ Types::ListKnowledgeBasesResponse
Lists the knowledge bases.
-
#list_message_template_versions(params = {}) ⇒ Types::ListMessageTemplateVersionsResponse
Lists all the available versions for the specified Amazon Q in Connect message template.
-
#list_message_templates(params = {}) ⇒ Types::ListMessageTemplatesResponse
Lists all the available Amazon Q in Connect message templates for the specified knowledge base.
-
#list_messages(params = {}) ⇒ Types::ListMessagesResponse
Lists messages on an Amazon Q in Connect session.
-
#list_quick_responses(params = {}) ⇒ Types::ListQuickResponsesResponse
Lists information about quick response.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
-
#notify_recommendations_received(params = {}) ⇒ Types::NotifyRecommendationsReceivedResponse
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
-
#put_feedback(params = {}) ⇒ Types::PutFeedbackResponse
Provides feedback against the specified assistant for the specified target.
-
#query_assistant(params = {}) ⇒ Types::QueryAssistantResponse
This API will be discontinued starting June 1, 2024.
-
#remove_assistant_ai_agent(params = {}) ⇒ Struct
Removes the AI Agent that is set for use by defafult on an Amazon Q in Connect Assistant.
-
#remove_knowledge_base_template_uri(params = {}) ⇒ Struct
Removes a URI template from a knowledge base.
-
#render_message_template(params = {}) ⇒ Types::RenderMessageTemplateResponse
Renders the Amazon Q in Connect message template based on the attribute values provided and generates the message content.
-
#search_content(params = {}) ⇒ Types::SearchContentResponse
Searches for content in a specified knowledge base.
-
#search_message_templates(params = {}) ⇒ Types::SearchMessageTemplatesResponse
Searches for Amazon Q in Connect message templates in the specified knowledge base.
-
#search_quick_responses(params = {}) ⇒ Types::SearchQuickResponsesResponse
Searches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
-
#search_sessions(params = {}) ⇒ Types::SearchSessionsResponse
Searches for sessions.
-
#send_message(params = {}) ⇒ Types::SendMessageResponse
Submits a message to the Amazon Q in Connect session.
-
#start_content_upload(params = {}) ⇒ Types::StartContentUploadResponse
Get a URL to upload content to a knowledge base.
-
#start_import_job(params = {}) ⇒ Types::StartImportJobResponse
Start an asynchronous job to import Amazon Q in Connect resources from an uploaded source file.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
-
#update_ai_agent(params = {}) ⇒ Types::UpdateAIAgentResponse
Updates an AI Agent.
-
#update_ai_guardrail(params = {}) ⇒ Types::UpdateAIGuardrailResponse
Updates an AI Guardrail.
-
#update_ai_prompt(params = {}) ⇒ Types::UpdateAIPromptResponse
Updates an AI Prompt.
-
#update_assistant_ai_agent(params = {}) ⇒ Types::UpdateAssistantAIAgentResponse
Updates the AI Agent that is set for use by defafult on an Amazon Q in Connect Assistant.
-
#update_content(params = {}) ⇒ Types::UpdateContentResponse
Updates information about the content.
-
#update_knowledge_base_template_uri(params = {}) ⇒ Types::UpdateKnowledgeBaseTemplateUriResponse
Updates the template URI of a knowledge base.
-
#update_message_template(params = {}) ⇒ Types::UpdateMessageTemplateResponse
Updates the Amazon Q in Connect message template.
-
#update_message_template_metadata(params = {}) ⇒ Types::UpdateMessageTemplateMetadataResponse
Updates the Amazon Q in Connect message template metadata.
-
#update_quick_response(params = {}) ⇒ Types::UpdateQuickResponseResponse
Updates an existing Amazon Q in Connect quick response.
-
#update_session(params = {}) ⇒ Types::UpdateSessionResponse
Updates a session.
-
#update_session_data(params = {}) ⇒ Types::UpdateSessionDataResponse
Updates the data stored on an Amazon Q in Connect Session.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#activate_message_template(params = {}) ⇒ Types::ActivateMessageTemplateResponse
Activates a specific version of the Amazon Q in Connect message
template. After the version is activated, the previous active version
will be deactivated automatically. You can use the $ACTIVE_VERSION
qualifier later to reference the version that is in active status.
490 491 492 493 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 490 def (params = {}, = {}) req = build_request(:activate_message_template, params) req.send_request() end |
#create_ai_agent(params = {}) ⇒ Types::CreateAIAgentResponse
Creates an Amazon Q in Connect AI Agent.
758 759 760 761 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 758 def create_ai_agent(params = {}, = {}) req = build_request(:create_ai_agent, params) req.send_request() end |
#create_ai_agent_version(params = {}) ⇒ Types::CreateAIAgentVersionResponse
Creates and Amazon Q in Connect AI Agent version.
885 886 887 888 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 885 def create_ai_agent_version(params = {}, = {}) req = build_request(:create_ai_agent_version, params) req.send_request() end |
#create_ai_guardrail(params = {}) ⇒ Types::CreateAIGuardrailResponse
Creates an Amazon Q in Connect AI Guardrail.
1062 1063 1064 1065 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1062 def create_ai_guardrail(params = {}, = {}) req = build_request(:create_ai_guardrail, params) req.send_request() end |
#create_ai_guardrail_version(params = {}) ⇒ Types::CreateAIGuardrailVersionResponse
Creates an Amazon Q in Connect AI Guardrail version.
1152 1153 1154 1155 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1152 def create_ai_guardrail_version(params = {}, = {}) req = build_request(:create_ai_guardrail_version, params) req.send_request() end |
#create_ai_prompt(params = {}) ⇒ Types::CreateAIPromptResponse
Creates an Amazon Q in Connect AI Prompt.
1254 1255 1256 1257 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1254 def create_ai_prompt(params = {}, = {}) req = build_request(:create_ai_prompt, params) req.send_request() end |
#create_ai_prompt_version(params = {}) ⇒ Types::CreateAIPromptVersionResponse
Creates an Amazon Q in Connect AI Prompt version.
1323 1324 1325 1326 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1323 def create_ai_prompt_version(params = {}, = {}) req = build_request(:create_ai_prompt_version, params) req.send_request() end |
#create_assistant(params = {}) ⇒ Types::CreateAssistantResponse
Creates an Amazon Q in Connect assistant.
1414 1415 1416 1417 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1414 def create_assistant(params = {}, = {}) req = build_request(:create_assistant, params) req.send_request() end |
#create_assistant_association(params = {}) ⇒ Types::CreateAssistantAssociationResponse
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.
1483 1484 1485 1486 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1483 def create_assistant_association(params = {}, = {}) req = build_request(:create_assistant_association, params) req.send_request() end |
#create_content(params = {}) ⇒ Types::CreateContentResponse
Creates Amazon Q in Connect content. Before to calling this API, use StartContentUpload to upload an asset.
1591 1592 1593 1594 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1591 def create_content(params = {}, = {}) req = build_request(:create_content, params) req.send_request() end |
#create_content_association(params = {}) ⇒ Types::CreateContentAssociationResponse
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.
1688 1689 1690 1691 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1688 def create_content_association(params = {}, = {}) req = build_request(:create_content_association, params) req.send_request() end |
#create_knowledge_base(params = {}) ⇒ Types::CreateKnowledgeBaseResponse
Creates a knowledge base.
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.
1895 1896 1897 1898 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1895 def create_knowledge_base(params = {}, = {}) req = build_request(:create_knowledge_base, params) req.send_request() end |
#create_message_template(params = {}) ⇒ Types::CreateMessageTemplateResponse
Creates an Amazon Q in Connect message template. The name of the
message template has to be unique for each knowledge base. The channel
subtype of the message template is immutable and cannot be modified
after creation. After the message template is created, you can use the
$LATEST
qualifier to reference the created message template.
2182 2183 2184 2185 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2182 def (params = {}, = {}) req = build_request(:create_message_template, params) req.send_request() end |
#create_message_template_attachment(params = {}) ⇒ Types::CreateMessageTemplateAttachmentResponse
Uploads an attachment file to the specified Amazon Q in Connect
message template. The name of the message template attachment has to
be unique for each message template referenced by the $LATEST
qualifier. The body of the attachment file should be encoded using
base64 encoding. After the file is uploaded, you can use the
pre-signed Amazon S3 URL returned in response to download the uploaded
file.
2252 2253 2254 2255 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2252 def (params = {}, = {}) req = build_request(:create_message_template_attachment, params) req.send_request() end |
#create_message_template_version(params = {}) ⇒ Types::CreateMessageTemplateVersionResponse
Creates a new Amazon Q in Connect message template version from the
current content and configuration of a message template. Versions are
immutable and monotonically increasing. Once a version is created, you
can reference a specific version of the message template by passing in
<message-template-id>:<versionNumber>
as the message template
identifier. An error is displayed if the supplied
messageTemplateContentSha256
is different from the
messageTemplateContentSha256
of the message template with $LATEST
qualifier. If multiple CreateMessageTemplateVersion
requests are
made while the message template remains the same, only the first
invocation creates a new version and the succeeding requests will
return the same response as the first invocation.
2407 2408 2409 2410 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2407 def (params = {}, = {}) req = build_request(:create_message_template_version, params) req.send_request() end |
#create_quick_response(params = {}) ⇒ Types::CreateQuickResponseResponse
Creates an Amazon Q in Connect quick response.
2530 2531 2532 2533 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2530 def create_quick_response(params = {}, = {}) req = build_request(:create_quick_response, params) req.send_request() end |
#create_session(params = {}) ⇒ Types::CreateSessionResponse
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.
2648 2649 2650 2651 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2648 def create_session(params = {}, = {}) req = build_request(:create_session, params) req.send_request() end |
#deactivate_message_template(params = {}) ⇒ Types::DeactivateMessageTemplateResponse
Deactivates a specific version of the Amazon Q in Connect message
template . After the version is deactivated, you can no longer use the
$ACTIVE_VERSION
qualifier to reference the version in active status.
2692 2693 2694 2695 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2692 def (params = {}, = {}) req = build_request(:deactivate_message_template, params) req.send_request() end |
#delete_ai_agent(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Agent.
2720 2721 2722 2723 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2720 def delete_ai_agent(params = {}, = {}) req = build_request(:delete_ai_agent, params) req.send_request() end |
#delete_ai_agent_version(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Agent Version.
2752 2753 2754 2755 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2752 def delete_ai_agent_version(params = {}, = {}) req = build_request(:delete_ai_agent_version, params) req.send_request() end |
#delete_ai_guardrail(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Guardrail.
2780 2781 2782 2783 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2780 def delete_ai_guardrail(params = {}, = {}) req = build_request(:delete_ai_guardrail, params) req.send_request() end |
#delete_ai_guardrail_version(params = {}) ⇒ Struct
Delete and Amazon Q in Connect AI Guardrail version.
2811 2812 2813 2814 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2811 def delete_ai_guardrail_version(params = {}, = {}) req = build_request(:delete_ai_guardrail_version, params) req.send_request() end |
#delete_ai_prompt(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Prompt.
2839 2840 2841 2842 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2839 def delete_ai_prompt(params = {}, = {}) req = build_request(:delete_ai_prompt, params) req.send_request() end |
#delete_ai_prompt_version(params = {}) ⇒ Struct
Delete and Amazon Q in Connect AI Prompt version.
2870 2871 2872 2873 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2870 def delete_ai_prompt_version(params = {}, = {}) req = build_request(:delete_ai_prompt_version, params) req.send_request() end |
#delete_assistant(params = {}) ⇒ Struct
Deletes an assistant.
2893 2894 2895 2896 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2893 def delete_assistant(params = {}, = {}) req = build_request(:delete_assistant, params) req.send_request() end |
#delete_assistant_association(params = {}) ⇒ Struct
Deletes an assistant association.
2921 2922 2923 2924 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2921 def delete_assistant_association(params = {}, = {}) req = build_request(:delete_assistant_association, params) req.send_request() end |
#delete_content(params = {}) ⇒ Struct
Deletes the content.
2949 2950 2951 2952 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2949 def delete_content(params = {}, = {}) req = build_request(:delete_content, params) req.send_request() end |
#delete_content_association(params = {}) ⇒ Struct
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.
2988 2989 2990 2991 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2988 def delete_content_association(params = {}, = {}) req = build_request(:delete_content_association, params) req.send_request() end |
#delete_import_job(params = {}) ⇒ Struct
Deletes the quick response import job.
3014 3015 3016 3017 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3014 def delete_import_job(params = {}, = {}) req = build_request(:delete_import_job, params) req.send_request() end |
#delete_knowledge_base(params = {}) ⇒ Struct
Deletes the knowledge base.
3053 3054 3055 3056 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3053 def delete_knowledge_base(params = {}, = {}) req = build_request(:delete_knowledge_base, params) req.send_request() end |
#delete_message_template(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect message template entirely or a specific
version of the message template if version is supplied in the request.
You can provide the message template identifier as
<message-template-id>:<versionNumber>
to delete a specific version
of the message template. If it is not supplied, the message template
and all available versions will be deleted.
3086 3087 3088 3089 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3086 def (params = {}, = {}) req = build_request(:delete_message_template, params) req.send_request() end |
#delete_message_template_attachment(params = {}) ⇒ Struct
Deletes the attachment file from the Amazon Q in Connect message
template that is referenced by $LATEST
qualifier. Attachments on
available message template versions will remain unchanged.
3120 3121 3122 3123 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3120 def (params = {}, = {}) req = build_request(:delete_message_template_attachment, params) req.send_request() end |
#delete_quick_response(params = {}) ⇒ Struct
Deletes a quick response.
3147 3148 3149 3150 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3147 def delete_quick_response(params = {}, = {}) req = build_request(:delete_quick_response, params) req.send_request() end |
#get_ai_agent(params = {}) ⇒ Types::GetAIAgentResponse
Gets an Amazon Q in Connect AI Agent.
3253 3254 3255 3256 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3253 def get_ai_agent(params = {}, = {}) req = build_request(:get_ai_agent, params) req.send_request() end |
#get_ai_guardrail(params = {}) ⇒ Types::GetAIGuardrailResponse
Gets the Amazon Q in Connect AI Guardrail.
3325 3326 3327 3328 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3325 def get_ai_guardrail(params = {}, = {}) req = build_request(:get_ai_guardrail, params) req.send_request() end |
#get_ai_prompt(params = {}) ⇒ Types::GetAIPromptResponse
Gets and Amazon Q in Connect AI Prompt.
3376 3377 3378 3379 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3376 def get_ai_prompt(params = {}, = {}) req = build_request(:get_ai_prompt, params) req.send_request() end |
#get_assistant(params = {}) ⇒ Types::GetAssistantResponse
Retrieves information about an assistant.
3417 3418 3419 3420 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3417 def get_assistant(params = {}, = {}) req = build_request(:get_assistant, params) req.send_request() end |
#get_assistant_association(params = {}) ⇒ Types::GetAssistantAssociationResponse
Retrieves information about an assistant association.
3459 3460 3461 3462 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3459 def get_assistant_association(params = {}, = {}) req = build_request(:get_assistant_association, params) req.send_request() end |
#get_content(params = {}) ⇒ Types::GetContentResponse
Retrieves content, including a pre-signed URL to download the content.
3509 3510 3511 3512 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3509 def get_content(params = {}, = {}) req = build_request(:get_content, params) req.send_request() end |
#get_content_association(params = {}) ⇒ Types::GetContentAssociationResponse
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.
3563 3564 3565 3566 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3563 def get_content_association(params = {}, = {}) req = build_request(:get_content_association, params) req.send_request() end |
#get_content_summary(params = {}) ⇒ Types::GetContentSummaryResponse
Retrieves summary information about the content.
3609 3610 3611 3612 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3609 def get_content_summary(params = {}, = {}) req = build_request(:get_content_summary, params) req.send_request() end |
#get_import_job(params = {}) ⇒ Types::GetImportJobResponse
Retrieves the started import job.
3655 3656 3657 3658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3655 def get_import_job(params = {}, = {}) req = build_request(:get_import_job, params) req.send_request() end |
#get_knowledge_base(params = {}) ⇒ Types::GetKnowledgeBaseResponse
Retrieves information about the knowledge base.
3720 3721 3722 3723 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3720 def get_knowledge_base(params = {}, = {}) req = build_request(:get_knowledge_base, params) req.send_request() end |
#get_message_template(params = {}) ⇒ Types::GetMessageTemplateResponse
Retrieves the Amazon Q in Connect message template. The message
template identifier can contain an optional qualifier, for example,
<message-template-id>:<qualifier>
, which is either an actual version
number or an Amazon Q Connect managed qualifier $ACTIVE_VERSION
|
$LATEST
. If it is not supplied, then $LATEST
is assumed
implicitly.
3859 3860 3861 3862 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3859 def (params = {}, = {}) req = build_request(:get_message_template, params) req.send_request() end |
#get_next_message(params = {}) ⇒ Types::GetNextMessageResponse
Retrieves next message on an Amazon Q in Connect session.
3913 3914 3915 3916 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3913 def (params = {}, = {}) req = build_request(:get_next_message, params) req.send_request() end |
#get_quick_response(params = {}) ⇒ Types::GetQuickResponseResponse
Retrieves the quick response.
3968 3969 3970 3971 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3968 def get_quick_response(params = {}, = {}) req = build_request(:get_quick_response, params) req.send_request() end |
#get_recommendations(params = {}) ⇒ Types::GetRecommendationsResponse
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.