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.
467 468 469 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 467 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.
513 514 515 516 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 513 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.
785 786 787 788 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 785 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.
914 915 916 917 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 914 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.
1091 1092 1093 1094 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1091 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.
1181 1182 1183 1184 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1181 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.
1283 1284 1285 1286 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1283 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.
1352 1353 1354 1355 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1352 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.
1443 1444 1445 1446 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1443 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.
1512 1513 1514 1515 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1512 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.
1620 1621 1622 1623 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1620 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.
1717 1718 1719 1720 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1717 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.
1924 1925 1926 1927 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 1924 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.
2211 2212 2213 2214 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2211 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.
2281 2282 2283 2284 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2281 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.
2436 2437 2438 2439 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2436 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.
2559 2560 2561 2562 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2559 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.
2677 2678 2679 2680 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2677 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.
2721 2722 2723 2724 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2721 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.
2749 2750 2751 2752 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2749 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.
2781 2782 2783 2784 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2781 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.
2809 2810 2811 2812 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2809 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.
2840 2841 2842 2843 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2840 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.
2868 2869 2870 2871 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2868 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.
2899 2900 2901 2902 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2899 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.
2922 2923 2924 2925 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2922 def delete_assistant(params = {}, = {}) req = build_request(:delete_assistant, params) req.send_request() end |
#delete_assistant_association(params = {}) ⇒ Struct
Deletes an assistant association.
2950 2951 2952 2953 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2950 def delete_assistant_association(params = {}, = {}) req = build_request(:delete_assistant_association, params) req.send_request() end |
#delete_content(params = {}) ⇒ Struct
Deletes the content.
2978 2979 2980 2981 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 2978 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.
3017 3018 3019 3020 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3017 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.
3043 3044 3045 3046 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3043 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.
3082 3083 3084 3085 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3082 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.
3115 3116 3117 3118 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3115 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.
3149 3150 3151 3152 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3149 def (params = {}, = {}) req = build_request(:delete_message_template_attachment, params) req.send_request() end |
#delete_quick_response(params = {}) ⇒ Struct
Deletes a quick response.
3176 3177 3178 3179 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3176 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.
3284 3285 3286 3287 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3284 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.
3356 3357 3358 3359 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3356 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.
3407 3408 3409 3410 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3407 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.
3448 3449 3450 3451 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3448 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.
3490 3491 3492 3493 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3490 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.
3540 3541 3542 3543 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3540 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.
3594 3595 3596 3597 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3594 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.
3640 3641 3642 3643 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3640 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.
3686 3687 3688 3689 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3686 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.
3751 3752 3753 3754 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3751 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.
3890 3891 3892 3893 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3890 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.
3944 3945 3946 3947 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3944 def (params = {}, = {}) req = build_request(:get_next_message, params) req.send_request() end |
#get_quick_response(params = {}) ⇒ Types::GetQuickResponseResponse
Retrieves the quick response.
3999 4000 4001 4002 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb', line 3999 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.