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_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_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_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_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_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_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.
-
#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_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.
692 693 694 695 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 692 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.
798 799 800 801 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 798 def create_ai_agent_version(params = {}, = {}) req = build_request(:create_ai_agent_version, params) req.send_request() end |
#create_ai_prompt(params = {}) ⇒ Types::CreateAIPromptResponse
Creates an Amazon Q in Connect AI Prompt.
900 901 902 903 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 900 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.
969 970 971 972 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 969 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.
1060 1061 1062 1063 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1060 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.
1129 1130 1131 1132 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1129 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.
1237 1238 1239 1240 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1237 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.
1334 1335 1336 1337 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1334 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.
1541 1542 1543 1544 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1541 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.
1828 1829 1830 1831 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1828 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.
1898 1899 1900 1901 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1898 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.
2053 2054 2055 2056 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2053 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.
2176 2177 2178 2179 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2176 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.
2294 2295 2296 2297 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2294 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.
2338 2339 2340 2341 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2338 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.
2366 2367 2368 2369 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2366 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.
2398 2399 2400 2401 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2398 def delete_ai_agent_version(params = {}, = {}) req = build_request(:delete_ai_agent_version, params) req.send_request() end |
#delete_ai_prompt(params = {}) ⇒ Struct
Deletes an Amazon Q in Connect AI Prompt.
2426 2427 2428 2429 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2426 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.
2457 2458 2459 2460 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2457 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.
2480 2481 2482 2483 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2480 def delete_assistant(params = {}, = {}) req = build_request(:delete_assistant, params) req.send_request() end |
#delete_assistant_association(params = {}) ⇒ Struct
Deletes an assistant association.
2508 2509 2510 2511 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2508 def delete_assistant_association(params = {}, = {}) req = build_request(:delete_assistant_association, params) req.send_request() end |
#delete_content(params = {}) ⇒ Struct
Deletes the content.
2536 2537 2538 2539 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2536 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.
2575 2576 2577 2578 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2575 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.
2601 2602 2603 2604 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2601 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.
2640 2641 2642 2643 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2640 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.
2673 2674 2675 2676 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2673 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.
2707 2708 2709 2710 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2707 def (params = {}, = {}) req = build_request(:delete_message_template_attachment, params) req.send_request() end |
#delete_quick_response(params = {}) ⇒ Struct
Deletes a quick response.
2734 2735 2736 2737 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2734 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.
2819 2820 2821 2822 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2819 def get_ai_agent(params = {}, = {}) req = build_request(:get_ai_agent, params) req.send_request() end |
#get_ai_prompt(params = {}) ⇒ Types::GetAIPromptResponse
Gets and Amazon Q in Connect AI Prompt.
2870 2871 2872 2873 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2870 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.
2911 2912 2913 2914 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2911 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.
2953 2954 2955 2956 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2953 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.
3003 3004 3005 3006 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3003 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.
3057 3058 3059 3060 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3057 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.
3103 3104 3105 3106 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3103 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.
3149 3150 3151 3152 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3149 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.
3214 3215 3216 3217 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3214 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.
3353 3354 3355 3356 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3353 def (params = {}, = {}) req = build_request(:get_message_template, params) req.send_request() end |
#get_quick_response(params = {}) ⇒ Types::GetQuickResponseResponse
Retrieves the quick response.
3408 3409 3410 3411 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3408 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.
3536 3537 3538 3539 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3536 def get_recommendations(params = {}, = {}) req = build_request(:get_recommendations, params) req.send_request() end |
#get_session(params = {}) ⇒ Types::GetSessionResponse
Retrieves information for a specified session.
3589 3590 3591 3592 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3589 def get_session(params = {}, = {}) req = build_request(:get_session, params) req.send_request() end |
#list_ai_agent_versions(params = {}) ⇒ Types::ListAIAgentVersionsResponse
List AI Agent versions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3693 3694 3695 3696 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3693 def list_ai_agent_versions(params = {}, = {}) req = build_request(:list_ai_agent_versions, params) req.send_request() end |
#list_ai_agents(params = {}) ⇒ Types::ListAIAgentsResponse
Lists AI Agents.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3791 3792 3793 3794 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3791 def list_ai_agents(params = {}, = {}) req = build_request(:list_ai_agents, params) req.send_request() end |
#list_ai_prompt_versions(params = {}) ⇒ Types::ListAIPromptVersionsResponse
Lists AI Prompt versions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3862 3863 3864 3865 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3862 def list_ai_prompt_versions(params = {}, = {}) req = build_request(:list_ai_prompt_versions, params) req.send_request() end |
#list_ai_prompts(params = {}) ⇒ Types::ListAIPromptsResponse
Lists the AI Prompts available on the Amazon Q in Connect assistant.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3927 3928 3929 3930 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3927 def list_ai_prompts(params = {}, = {}) req = build_request(:list_ai_prompts, params) req.send_request() end |
#list_assistant_associations(params = {}) ⇒ Types::ListAssistantAssociationsResponse
Lists information about assistant associations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3979 3980 3981 3982 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3979 def list_assistant_associations(params = {}, = {}) req = build_request(:list_assistant_associations, params) req.send_request() end |
#list_assistants(params = {}) ⇒ Types::ListAssistantsResponse
Lists information about assistants.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4030 4031 4032 4033 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4030 def list_assistants(params = {}, = {}) req = build_request(:list_assistants, params) req.send_request() end |
#list_content_associations(params = {}) ⇒ Types::ListContentAssociationsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4094 4095 4096 4097 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4094 def list_content_associations(params = {}, = {}) req = build_request(:list_content_associations, params) req.send_request() end |
#list_contents(params = {}) ⇒ Types::ListContentsResponse
Lists the content.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4151 4152 4153 4154 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4151 def list_contents(params = {}, = {}) req = build_request(:list_contents, params) req.send_request() end |
#list_import_jobs(params = {}) ⇒ Types::ListImportJobsResponse
Lists information about import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4206 4207 4208 4209 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4206 def list_import_jobs(params = {}, = {}) req = build_request(:list_import_jobs, params) req.send_request() end |
#list_knowledge_bases(params = {}) ⇒ Types::ListKnowledgeBasesResponse
Lists the knowledge bases.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4277 4278 4279 4280 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4277 def list_knowledge_bases(params = {}, = {}) req = build_request(:list_knowledge_bases, params) req.send_request() end |
#list_message_template_versions(params = {}) ⇒ Types::ListMessageTemplateVersionsResponse
Lists all the available versions for the specified Amazon Q in Connect message template.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4334 4335 4336 4337 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4334 def (params = {}, = {}) req = build_request(:list_message_template_versions, params) req.send_request() end |
#list_message_templates(params = {}) ⇒ Types::ListMessageTemplatesResponse
Lists all the available Amazon Q in Connect message templates for the specified knowledge base.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4391 4392 4393 4394 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4391 def (params = {}, = {}) req = build_request(:list_message_templates, params) req.send_request() end |
#list_quick_responses(params = {}) ⇒ Types::ListQuickResponsesResponse
Lists information about quick response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4450 4451 4452 4453 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4450 def list_quick_responses(params = {}, = {}) req = build_request(:list_quick_responses, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
4479 4480 4481 4482 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4479 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#notify_recommendations_received(params = {}) ⇒ Types::NotifyRecommendationsReceivedResponse
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.
4529 4530 4531 4532 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4529 def notify_recommendations_received(params = {}, = {}) req = build_request(:notify_recommendations_received, params) req.send_request() end |
#put_feedback(params = {}) ⇒ Types::PutFeedbackResponse
Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
4582 4583 4584 4585 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4582 def put_feedback(params = {}, = {}) req = build_request(:put_feedback, params) req.send_request() end |
#query_assistant(params = {}) ⇒ Types::QueryAssistantResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4730 4731 4732 4733 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4730 def query_assistant(params = {}, = {}) req = build_request(:query_assistant, params) req.send_request() end |
#remove_assistant_ai_agent(params = {}) ⇒ Struct
Removes the AI Agent that is set for use by defafult on an Amazon Q in Connect Assistant.
4759 4760 4761 4762 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4759 def remove_assistant_ai_agent(params = {}, = {}) req = build_request(:remove_assistant_ai_agent, params) req.send_request() end |
#remove_knowledge_base_template_uri(params = {}) ⇒ Struct
Removes a URI template from a knowledge base.
4782 4783 4784 4785 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4782 def remove_knowledge_base_template_uri(params = {}, = {}) req = build_request(:remove_knowledge_base_template_uri, params) req.send_request() end |
#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. For any variable present in the message template, if the attribute value is neither provided in the attribute request parameter nor the default attribute of the message template, the rendered message content will keep the variable placeholder as it is and return the attribute keys that are missing.
4926 4927 4928 4929 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4926 def (params = {}, = {}) req = build_request(:render_message_template, params) req.send_request() end |
#search_content(params = {}) ⇒ Types::SearchContentResponse
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4996 4997 4998 4999 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 4996 def search_content(params = {}, = {}) req = build_request(:search_content, params) req.send_request() end |
#search_message_templates(params = {}) ⇒ Types::SearchMessageTemplatesResponse
Searches for Amazon Q in Connect message templates in the specified knowledge base.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5084 5085 5086 5087 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5084 def (params = {}, = {}) req = build_request(:search_message_templates, params) req.send_request() end |
#search_quick_responses(params = {}) ⇒ Types::SearchQuickResponsesResponse
Searches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5193 5194 5195 5196 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5193 def search_quick_responses(params = {}, = {}) req = build_request(:search_quick_responses, params) req.send_request() end |
#search_sessions(params = {}) ⇒ Types::SearchSessionsResponse
Searches for sessions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5252 5253 5254 5255 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5252 def search_sessions(params = {}, = {}) req = build_request(:search_sessions, params) req.send_request() end |
#start_content_upload(params = {}) ⇒ Types::StartContentUploadResponse
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.
5307 5308 5309 5310 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5307 def start_content_upload(params = {}, = {}) req = build_request(:start_content_upload, params) req.send_request() end |
#start_import_job(params = {}) ⇒ Types::StartImportJobResponse
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.
^
5413 5414 5415 5416 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5413 def start_import_job(params = {}, = {}) req = build_request(:start_import_job, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
5441 5442 5443 5444 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5441 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
5467 5468 5469 5470 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5467 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_ai_agent(params = {}) ⇒ Types::UpdateAIAgentResponse
Updates an AI Agent.
5659 5660 5661 5662 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5659 def update_ai_agent(params = {}, = {}) req = build_request(:update_ai_agent, params) req.send_request() end |
#update_ai_prompt(params = {}) ⇒ Types::UpdateAIPromptResponse
Updates an AI Prompt.
5738 5739 5740 5741 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5738 def update_ai_prompt(params = {}, = {}) req = build_request(:update_ai_prompt, params) req.send_request() end |
#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.
5792 5793 5794 5795 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5792 def update_assistant_ai_agent(params = {}, = {}) req = build_request(:update_assistant_ai_agent, params) req.send_request() end |
#update_content(params = {}) ⇒ Types::UpdateContentResponse
Updates information about the content.
5882 5883 5884 5885 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5882 def update_content(params = {}, = {}) req = build_request(:update_content, params) req.send_request() end |
#update_knowledge_base_template_uri(params = {}) ⇒ Types::UpdateKnowledgeBaseTemplateUriResponse
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
.
5957 5958 5959 5960 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 5957 def update_knowledge_base_template_uri(params = {}, = {}) req = build_request(:update_knowledge_base_template_uri, params) req.send_request() end |
#update_message_template(params = {}) ⇒ Types::UpdateMessageTemplateResponse
Updates the Amazon Q in Connect message template. Partial update is
supported. If any field is not supplied, it will remain unchanged for
the message template that is referenced by the $LATEST
qualifier.
Any modification will only apply to the message template that is
referenced by the $LATEST
qualifier. The fields for all available
versions will remain unchanged.
6210 6211 6212 6213 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 6210 def (params = {}, = {}) req = build_request(:update_message_template, params) req.send_request() end |
#update_message_template_metadata(params = {}) ⇒ Types::UpdateMessageTemplateMetadataResponse
Updates the Amazon Q in Connect message template metadata. Note that
any modification to the message template’s name, description and
grouping configuration will applied to the message template pointed by
the $LATEST
qualifier and all available versions. Partial update is
supported. If any field is not supplied, it will remain unchanged for
the message template.
6356 6357 6358 6359 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 6356 def (params = {}, = {}) req = build_request(:update_message_template_metadata, params) req.send_request() end |
#update_quick_response(params = {}) ⇒ Types::UpdateQuickResponseResponse
Updates an existing Amazon Q in Connect quick response.
6475 6476 6477 6478 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 6475 def update_quick_response(params = {}, = {}) req = build_request(:update_quick_response, params) req.send_request() end |
#update_session(params = {}) ⇒ Types::UpdateSessionResponse
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.
6574 6575 6576 6577 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 6574 def update_session(params = {}, = {}) req = build_request(:update_session, params) req.send_request() end |
#update_session_data(params = {}) ⇒ Types::UpdateSessionDataResponse
Updates the data stored on an Amazon Q in Connect Session.
6632 6633 6634 6635 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 6632 def update_session_data(params = {}, = {}) req = build_request(:update_session_data, params) req.send_request() end |