aws-sdk-qconnect 1.62.0 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qconnect/client.rb +20 -3
- data/lib/aws-sdk-qconnect/client_api.rb +19 -0
- data/lib/aws-sdk-qconnect/types.rb +79 -2
- data/lib/aws-sdk-qconnect.rb +1 -1
- data/sig/client.rbs +8 -4
- data/sig/types.rbs +19 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95cb2393f656340f67ffa52fc6a1326c60e553d773dd96948f8fcbe0663671ef
|
|
4
|
+
data.tar.gz: 58522766b7131cea66e2e87c58c83decc991b6f41b621f35e97d2eb22addfb13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e005c84c91570b0a8ffa8e31f5de440acb78b045727e10eea1765120c8d3d468dbb5237917ed8d33a57ff5065eb616c9fc68596e78f0780b339a4c0bc8b3bef
|
|
7
|
+
data.tar.gz: 51edf7844f28e69ea78b112f12a30c32aa624b45c4b932b86556f38c1c17114a390ee89fd16fb7f0c0c1616feb70b14bd97b619a0fc30aac3792faee65912e5b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.63.0 (2026-09-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Release shapes for the proactive agentic recommendations and the multi-knowledge base search features. Increases the maximum length of QuickResponseContent.
|
|
8
|
+
|
|
4
9
|
1.62.0 (2026-09-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.63.0
|
|
@@ -1830,6 +1830,7 @@ module Aws::QConnect
|
|
|
1830
1830
|
# resp.assistant.capability_configuration.type #=> String, one of "V1", "V2"
|
|
1831
1831
|
# resp.assistant.ai_agent_configuration #=> Hash
|
|
1832
1832
|
# resp.assistant.ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
1833
|
+
# resp.assistant.ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
1833
1834
|
# resp.assistant.orchestrator_configuration_list #=> Array
|
|
1834
1835
|
# resp.assistant.orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
1835
1836
|
# resp.assistant.orchestrator_configuration_list[0].orchestrator_use_case #=> String
|
|
@@ -3220,6 +3221,7 @@ module Aws::QConnect
|
|
|
3220
3221
|
# ai_agent_configuration: {
|
|
3221
3222
|
# "MANUAL_SEARCH" => {
|
|
3222
3223
|
# ai_agent_id: "UuidWithQualifier", # required
|
|
3224
|
+
# enabled: false,
|
|
3223
3225
|
# },
|
|
3224
3226
|
# },
|
|
3225
3227
|
# contact_arn: "GenericArn",
|
|
@@ -3254,6 +3256,7 @@ module Aws::QConnect
|
|
|
3254
3256
|
# resp.session.tag_filter.or_conditions[0].tag_condition.value #=> String
|
|
3255
3257
|
# resp.session.ai_agent_configuration #=> Hash
|
|
3256
3258
|
# resp.session.ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
3259
|
+
# resp.session.ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
3257
3260
|
# resp.session.origin #=> String, one of "SYSTEM", "CUSTOMER"
|
|
3258
3261
|
# resp.session.orchestrator_configuration_list #=> Array
|
|
3259
3262
|
# resp.session.orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
@@ -4120,6 +4123,7 @@ module Aws::QConnect
|
|
|
4120
4123
|
# resp.assistant.capability_configuration.type #=> String, one of "V1", "V2"
|
|
4121
4124
|
# resp.assistant.ai_agent_configuration #=> Hash
|
|
4122
4125
|
# resp.assistant.ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
4126
|
+
# resp.assistant.ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
4123
4127
|
# resp.assistant.orchestrator_configuration_list #=> Array
|
|
4124
4128
|
# resp.assistant.orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
4125
4129
|
# resp.assistant.orchestrator_configuration_list[0].orchestrator_use_case #=> String
|
|
@@ -4801,7 +4805,7 @@ module Aws::QConnect
|
|
|
4801
4805
|
# max_results: 1,
|
|
4802
4806
|
# wait_time_seconds: 1,
|
|
4803
4807
|
# next_chunk_token: "NextToken",
|
|
4804
|
-
# recommendation_type: "KNOWLEDGE_CONTENT", # accepts KNOWLEDGE_CONTENT, GENERATIVE_RESPONSE, GENERATIVE_ANSWER, DETECTED_INTENT, GENERATIVE_ANSWER_CHUNK, BLOCKED_GENERATIVE_ANSWER_CHUNK, INTENT_ANSWER_CHUNK, BLOCKED_INTENT_ANSWER_CHUNK, EMAIL_RESPONSE_CHUNK, EMAIL_OVERVIEW_CHUNK, EMAIL_GENERATIVE_ANSWER_CHUNK, CASE_SUMMARIZATION_CHUNK, BLOCKED_CASE_SUMMARIZATION_CHUNK, SUGGESTED_MESSAGE, NOTES_CHUNK, BLOCKED_NOTES_CHUNK
|
|
4808
|
+
# recommendation_type: "KNOWLEDGE_CONTENT", # accepts KNOWLEDGE_CONTENT, GENERATIVE_RESPONSE, GENERATIVE_ANSWER, DETECTED_INTENT, GENERATIVE_ANSWER_CHUNK, BLOCKED_GENERATIVE_ANSWER_CHUNK, INTENT_ANSWER_CHUNK, BLOCKED_INTENT_ANSWER_CHUNK, EMAIL_RESPONSE_CHUNK, EMAIL_OVERVIEW_CHUNK, EMAIL_GENERATIVE_ANSWER_CHUNK, CASE_SUMMARIZATION_CHUNK, BLOCKED_CASE_SUMMARIZATION_CHUNK, SUGGESTED_MESSAGE, NOTES_CHUNK, BLOCKED_NOTES_CHUNK, PROACTIVE_RECOMMENDATION
|
|
4805
4809
|
# })
|
|
4806
4810
|
#
|
|
4807
4811
|
# @example Response structure
|
|
@@ -4824,7 +4828,7 @@ module Aws::QConnect
|
|
|
4824
4828
|
# resp.recommendations[0].document.excerpt.highlights[0].end_offset_exclusive #=> Integer
|
|
4825
4829
|
# resp.recommendations[0].relevance_score #=> Float
|
|
4826
4830
|
# resp.recommendations[0].relevance_level #=> String, one of "HIGH", "MEDIUM", "LOW"
|
|
4827
|
-
# resp.recommendations[0].type #=> String, one of "KNOWLEDGE_CONTENT", "GENERATIVE_RESPONSE", "GENERATIVE_ANSWER", "DETECTED_INTENT", "GENERATIVE_ANSWER_CHUNK", "BLOCKED_GENERATIVE_ANSWER_CHUNK", "INTENT_ANSWER_CHUNK", "BLOCKED_INTENT_ANSWER_CHUNK", "EMAIL_RESPONSE_CHUNK", "EMAIL_OVERVIEW_CHUNK", "EMAIL_GENERATIVE_ANSWER_CHUNK", "CASE_SUMMARIZATION_CHUNK", "BLOCKED_CASE_SUMMARIZATION_CHUNK", "SUGGESTED_MESSAGE", "NOTES_CHUNK", "BLOCKED_NOTES_CHUNK"
|
|
4831
|
+
# resp.recommendations[0].type #=> String, one of "KNOWLEDGE_CONTENT", "GENERATIVE_RESPONSE", "GENERATIVE_ANSWER", "DETECTED_INTENT", "GENERATIVE_ANSWER_CHUNK", "BLOCKED_GENERATIVE_ANSWER_CHUNK", "INTENT_ANSWER_CHUNK", "BLOCKED_INTENT_ANSWER_CHUNK", "EMAIL_RESPONSE_CHUNK", "EMAIL_OVERVIEW_CHUNK", "EMAIL_GENERATIVE_ANSWER_CHUNK", "CASE_SUMMARIZATION_CHUNK", "BLOCKED_CASE_SUMMARIZATION_CHUNK", "SUGGESTED_MESSAGE", "NOTES_CHUNK", "BLOCKED_NOTES_CHUNK", "PROACTIVE_RECOMMENDATION"
|
|
4828
4832
|
# resp.recommendations[0].data.reference.content_reference.knowledge_base_arn #=> String
|
|
4829
4833
|
# resp.recommendations[0].data.reference.content_reference.knowledge_base_id #=> String
|
|
4830
4834
|
# resp.recommendations[0].data.reference.content_reference.content_arn #=> String
|
|
@@ -4885,6 +4889,7 @@ module Aws::QConnect
|
|
|
4885
4889
|
# resp.recommendations[0].data.details.notes_data.completion #=> String
|
|
4886
4890
|
# resp.recommendations[0].data.details.notes_chunk_data.completion #=> String
|
|
4887
4891
|
# resp.recommendations[0].data.details.notes_chunk_data.next_chunk_token #=> String
|
|
4892
|
+
# resp.recommendations[0].data.details.proactive_recommendation_data.next_message_token #=> String
|
|
4888
4893
|
# resp.triggers #=> Array
|
|
4889
4894
|
# resp.triggers[0].id #=> String
|
|
4890
4895
|
# resp.triggers[0].type #=> String, one of "QUERY", "GENERATIVE"
|
|
@@ -4945,6 +4950,7 @@ module Aws::QConnect
|
|
|
4945
4950
|
# resp.session.tag_filter.or_conditions[0].tag_condition.value #=> String
|
|
4946
4951
|
# resp.session.ai_agent_configuration #=> Hash
|
|
4947
4952
|
# resp.session.ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
4953
|
+
# resp.session.ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
4948
4954
|
# resp.session.origin #=> String, one of "SYSTEM", "CUSTOMER"
|
|
4949
4955
|
# resp.session.orchestrator_configuration_list #=> Array
|
|
4950
4956
|
# resp.session.orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
@@ -5726,6 +5732,7 @@ module Aws::QConnect
|
|
|
5726
5732
|
# resp.assistant_summaries[0].capability_configuration.type #=> String, one of "V1", "V2"
|
|
5727
5733
|
# resp.assistant_summaries[0].ai_agent_configuration #=> Hash
|
|
5728
5734
|
# resp.assistant_summaries[0].ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
5735
|
+
# resp.assistant_summaries[0].ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
5729
5736
|
# resp.assistant_summaries[0].orchestrator_configuration_list #=> Array
|
|
5730
5737
|
# resp.assistant_summaries[0].orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
5731
5738
|
# resp.assistant_summaries[0].orchestrator_configuration_list[0].orchestrator_use_case #=> String
|
|
@@ -6741,6 +6748,7 @@ module Aws::QConnect
|
|
|
6741
6748
|
# resp.results[0].data.details.notes_data.completion #=> String
|
|
6742
6749
|
# resp.results[0].data.details.notes_chunk_data.completion #=> String
|
|
6743
6750
|
# resp.results[0].data.details.notes_chunk_data.next_chunk_token #=> String
|
|
6751
|
+
# resp.results[0].data.details.proactive_recommendation_data.next_message_token #=> String
|
|
6744
6752
|
# resp.results[0].type #=> String, one of "KNOWLEDGE_CONTENT", "INTENT_ANSWER", "GENERATIVE_ANSWER", "GENERATIVE_ANSWER_CHUNK", "BLOCKED_GENERATIVE_ANSWER_CHUNK", "INTENT_ANSWER_CHUNK", "BLOCKED_INTENT_ANSWER_CHUNK", "EMAIL_RESPONSE_CHUNK", "EMAIL_OVERVIEW_CHUNK", "EMAIL_GENERATIVE_ANSWER_CHUNK", "CASE_SUMMARIZATION_CHUNK", "BLOCKED_CASE_SUMMARIZATION_CHUNK", "NOTES", "NOTES_CHUNK", "BLOCKED_NOTES_CHUNK"
|
|
6745
6753
|
# resp.next_token #=> String
|
|
6746
6754
|
#
|
|
@@ -7012,6 +7020,7 @@ module Aws::QConnect
|
|
|
7012
7020
|
# @return [Types::RetrieveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7013
7021
|
#
|
|
7014
7022
|
# * {Types::RetrieveResponse#results #results} => Array<Types::RetrieveResult>
|
|
7023
|
+
# * {Types::RetrieveResponse#errors #errors} => Array<Types::RetrieveError>
|
|
7015
7024
|
#
|
|
7016
7025
|
# @example Request syntax with placeholder values
|
|
7017
7026
|
#
|
|
@@ -7101,6 +7110,10 @@ module Aws::QConnect
|
|
|
7101
7110
|
# resp.results[0].source_id #=> String
|
|
7102
7111
|
# resp.results[0].reference_type #=> String, one of "WEB_CRAWLER", "KNOWLEDGE_BASE", "BEDROCK_KB_S3", "BEDROCK_KB_WEB", "BEDROCK_KB_CONFLUENCE", "BEDROCK_KB_SALESFORCE", "BEDROCK_KB_SHAREPOINT", "BEDROCK_KB_KENDRA", "BEDROCK_KB_CUSTOM_DOCUMENT", "BEDROCK_KB_SQL"
|
|
7103
7112
|
# resp.results[0].content_text #=> String
|
|
7113
|
+
# resp.errors #=> Array
|
|
7114
|
+
# resp.errors[0].association_id #=> String
|
|
7115
|
+
# resp.errors[0].code #=> String, one of "ACCESS_DENIED", "RESOURCE_NOT_FOUND", "VALIDATION_ERROR", "THROTTLED", "DEPENDENCY_FAILED", "INTERNAL_SERVER_ERROR"
|
|
7116
|
+
# resp.errors[0].message #=> String
|
|
7104
7117
|
#
|
|
7105
7118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/Retrieve AWS API Documentation
|
|
7106
7119
|
#
|
|
@@ -8630,6 +8643,7 @@ module Aws::QConnect
|
|
|
8630
8643
|
# ai_agent_type: "MANUAL_SEARCH", # required, accepts MANUAL_SEARCH, ANSWER_RECOMMENDATION, SELF_SERVICE, EMAIL_RESPONSE, EMAIL_OVERVIEW, EMAIL_GENERATIVE_ANSWER, ORCHESTRATION, NOTE_TAKING, CASE_SUMMARIZATION
|
|
8631
8644
|
# configuration: { # required
|
|
8632
8645
|
# ai_agent_id: "UuidWithQualifier", # required
|
|
8646
|
+
# enabled: false,
|
|
8633
8647
|
# },
|
|
8634
8648
|
# orchestrator_use_case: "NonEmptyString",
|
|
8635
8649
|
# })
|
|
@@ -8649,6 +8663,7 @@ module Aws::QConnect
|
|
|
8649
8663
|
# resp.assistant.capability_configuration.type #=> String, one of "V1", "V2"
|
|
8650
8664
|
# resp.assistant.ai_agent_configuration #=> Hash
|
|
8651
8665
|
# resp.assistant.ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
8666
|
+
# resp.assistant.ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
8652
8667
|
# resp.assistant.orchestrator_configuration_list #=> Array
|
|
8653
8668
|
# resp.assistant.orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
8654
8669
|
# resp.assistant.orchestrator_configuration_list[0].orchestrator_use_case #=> String
|
|
@@ -9576,6 +9591,7 @@ module Aws::QConnect
|
|
|
9576
9591
|
# ai_agent_configuration: {
|
|
9577
9592
|
# "MANUAL_SEARCH" => {
|
|
9578
9593
|
# ai_agent_id: "UuidWithQualifier", # required
|
|
9594
|
+
# enabled: false,
|
|
9579
9595
|
# },
|
|
9580
9596
|
# },
|
|
9581
9597
|
# orchestrator_configuration_list: [
|
|
@@ -9609,6 +9625,7 @@ module Aws::QConnect
|
|
|
9609
9625
|
# resp.session.tag_filter.or_conditions[0].tag_condition.value #=> String
|
|
9610
9626
|
# resp.session.ai_agent_configuration #=> Hash
|
|
9611
9627
|
# resp.session.ai_agent_configuration["AIAgentType"].ai_agent_id #=> String
|
|
9628
|
+
# resp.session.ai_agent_configuration["AIAgentType"].enabled #=> Boolean
|
|
9612
9629
|
# resp.session.origin #=> String, one of "SYSTEM", "CUSTOMER"
|
|
9613
9630
|
# resp.session.orchestrator_configuration_list #=> Array
|
|
9614
9631
|
# resp.session.orchestrator_configuration_list[0].ai_agent_id #=> String
|
|
@@ -9699,7 +9716,7 @@ module Aws::QConnect
|
|
|
9699
9716
|
tracer: tracer
|
|
9700
9717
|
)
|
|
9701
9718
|
context[:gem_name] = 'aws-sdk-qconnect'
|
|
9702
|
-
context[:gem_version] = '1.
|
|
9719
|
+
context[:gem_version] = '1.63.0'
|
|
9703
9720
|
Seahorse::Client::Request.new(handlers, context)
|
|
9704
9721
|
end
|
|
9705
9722
|
|
|
@@ -454,6 +454,7 @@ module Aws::QConnect
|
|
|
454
454
|
Participant = Shapes::StringShape.new(name: 'Participant')
|
|
455
455
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
|
456
456
|
Priority = Shapes::StringShape.new(name: 'Priority')
|
|
457
|
+
ProactiveRecommendationDataDetails = Shapes::StructureShape.new(name: 'ProactiveRecommendationDataDetails')
|
|
457
458
|
Probability = Shapes::FloatShape.new(name: 'Probability')
|
|
458
459
|
PushADMMessageTemplateContent = Shapes::StructureShape.new(name: 'PushADMMessageTemplateContent')
|
|
459
460
|
PushAPNSMessageTemplateContent = Shapes::StructureShape.new(name: 'PushAPNSMessageTemplateContent')
|
|
@@ -529,6 +530,10 @@ module Aws::QConnect
|
|
|
529
530
|
RetrievalConfiguration = Shapes::StructureShape.new(name: 'RetrievalConfiguration')
|
|
530
531
|
RetrievalFilterConfiguration = Shapes::UnionShape.new(name: 'RetrievalFilterConfiguration')
|
|
531
532
|
RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
|
|
533
|
+
RetrieveError = Shapes::StructureShape.new(name: 'RetrieveError')
|
|
534
|
+
RetrieveErrorCode = Shapes::StringShape.new(name: 'RetrieveErrorCode')
|
|
535
|
+
RetrieveErrorList = Shapes::ListShape.new(name: 'RetrieveErrorList')
|
|
536
|
+
RetrieveErrorMessageString = Shapes::StringShape.new(name: 'RetrieveErrorMessageString')
|
|
532
537
|
RetrieveRequest = Shapes::StructureShape.new(name: 'RetrieveRequest')
|
|
533
538
|
RetrieveResponse = Shapes::StructureShape.new(name: 'RetrieveResponse')
|
|
534
539
|
RetrieveResult = Shapes::StructureShape.new(name: 'RetrieveResult')
|
|
@@ -723,6 +728,7 @@ module Aws::QConnect
|
|
|
723
728
|
AIAgentConfiguration.struct_class = Types::AIAgentConfiguration
|
|
724
729
|
|
|
725
730
|
AIAgentConfigurationData.add_member(:ai_agent_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, required: true, location_name: "aiAgentId"))
|
|
731
|
+
AIAgentConfigurationData.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
|
726
732
|
AIAgentConfigurationData.struct_class = Types::AIAgentConfigurationData
|
|
727
733
|
|
|
728
734
|
AIAgentConfigurationMap.key = Shapes::ShapeRef.new(shape: AIAgentType)
|
|
@@ -1440,6 +1446,7 @@ module Aws::QConnect
|
|
|
1440
1446
|
DataDetails.add_member(:suggested_message_data, Shapes::ShapeRef.new(shape: SuggestedMessageDataDetails, location_name: "suggestedMessageData"))
|
|
1441
1447
|
DataDetails.add_member(:notes_data, Shapes::ShapeRef.new(shape: NotesDataDetails, location_name: "notesData"))
|
|
1442
1448
|
DataDetails.add_member(:notes_chunk_data, Shapes::ShapeRef.new(shape: NotesChunkDataDetails, location_name: "notesChunkData"))
|
|
1449
|
+
DataDetails.add_member(:proactive_recommendation_data, Shapes::ShapeRef.new(shape: ProactiveRecommendationDataDetails, location_name: "proactiveRecommendationData"))
|
|
1443
1450
|
DataDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1444
1451
|
DataDetails.add_member_subclass(:content_data, Types::DataDetails::ContentData)
|
|
1445
1452
|
DataDetails.add_member_subclass(:generative_data, Types::DataDetails::GenerativeData)
|
|
@@ -1453,6 +1460,7 @@ module Aws::QConnect
|
|
|
1453
1460
|
DataDetails.add_member_subclass(:suggested_message_data, Types::DataDetails::SuggestedMessageData)
|
|
1454
1461
|
DataDetails.add_member_subclass(:notes_data, Types::DataDetails::NotesData)
|
|
1455
1462
|
DataDetails.add_member_subclass(:notes_chunk_data, Types::DataDetails::NotesChunkData)
|
|
1463
|
+
DataDetails.add_member_subclass(:proactive_recommendation_data, Types::DataDetails::ProactiveRecommendationData)
|
|
1456
1464
|
DataDetails.add_member_subclass(:unknown, Types::DataDetails::Unknown)
|
|
1457
1465
|
DataDetails.struct_class = Types::DataDetails
|
|
1458
1466
|
|
|
@@ -2457,6 +2465,9 @@ module Aws::QConnect
|
|
|
2457
2465
|
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
2458
2466
|
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
|
2459
2467
|
|
|
2468
|
+
ProactiveRecommendationDataDetails.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location_name: "nextMessageToken"))
|
|
2469
|
+
ProactiveRecommendationDataDetails.struct_class = Types::ProactiveRecommendationDataDetails
|
|
2470
|
+
|
|
2460
2471
|
PushADMMessageTemplateContent.add_member(:title, Shapes::ShapeRef.new(shape: NonEmptyUnlimitedString, location_name: "title"))
|
|
2461
2472
|
PushADMMessageTemplateContent.add_member(:body, Shapes::ShapeRef.new(shape: MessageTemplateBodyContentProvider, location_name: "body"))
|
|
2462
2473
|
PushADMMessageTemplateContent.add_member(:action, Shapes::ShapeRef.new(shape: PushMessageAction, location_name: "action"))
|
|
@@ -2780,12 +2791,20 @@ module Aws::QConnect
|
|
|
2780
2791
|
|
|
2781
2792
|
RetrievalFilterList.member = Shapes::ShapeRef.new(shape: RetrievalFilterConfiguration)
|
|
2782
2793
|
|
|
2794
|
+
RetrieveError.add_member(:association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "associationId"))
|
|
2795
|
+
RetrieveError.add_member(:code, Shapes::ShapeRef.new(shape: RetrieveErrorCode, required: true, location_name: "code"))
|
|
2796
|
+
RetrieveError.add_member(:message, Shapes::ShapeRef.new(shape: RetrieveErrorMessageString, required: true, location_name: "message"))
|
|
2797
|
+
RetrieveError.struct_class = Types::RetrieveError
|
|
2798
|
+
|
|
2799
|
+
RetrieveErrorList.member = Shapes::ShapeRef.new(shape: RetrieveError)
|
|
2800
|
+
|
|
2783
2801
|
RetrieveRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
|
2784
2802
|
RetrieveRequest.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: RetrievalConfiguration, required: true, location_name: "retrievalConfiguration"))
|
|
2785
2803
|
RetrieveRequest.add_member(:retrieval_query, Shapes::ShapeRef.new(shape: NonEmptySensitiveString, required: true, location_name: "retrievalQuery"))
|
|
2786
2804
|
RetrieveRequest.struct_class = Types::RetrieveRequest
|
|
2787
2805
|
|
|
2788
2806
|
RetrieveResponse.add_member(:results, Shapes::ShapeRef.new(shape: RetrieveResultList, required: true, location_name: "results"))
|
|
2807
|
+
RetrieveResponse.add_member(:errors, Shapes::ShapeRef.new(shape: RetrieveErrorList, location_name: "errors"))
|
|
2789
2808
|
RetrieveResponse.struct_class = Types::RetrieveResponse
|
|
2790
2809
|
|
|
2791
2810
|
RetrieveResult.add_member(:association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "associationId"))
|
|
@@ -93,10 +93,21 @@ module Aws::QConnect
|
|
|
93
93
|
# The ID of the AI Agent to be configured.
|
|
94
94
|
# @return [String]
|
|
95
95
|
#
|
|
96
|
+
# @!attribute [rw] enabled
|
|
97
|
+
# Indicates whether the AI Agent configured for this AI Agent type is
|
|
98
|
+
# enabled. When this value is omitted or set to true, the configured
|
|
99
|
+
# AI Agent runs; when set to false, the AI Agent ID is retained but no
|
|
100
|
+
# AI Agent runs for the AI Agent type. Setting this value to false is
|
|
101
|
+
# currently supported only for the `ANSWER_RECOMMENDATION` AI Agent
|
|
102
|
+
# type; other requests to set it to false are rejected with a
|
|
103
|
+
# validation error.
|
|
104
|
+
# @return [Boolean]
|
|
105
|
+
#
|
|
96
106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/AIAgentConfigurationData AWS API Documentation
|
|
97
107
|
#
|
|
98
108
|
class AIAgentConfigurationData < Struct.new(
|
|
99
|
-
:ai_agent_id
|
|
109
|
+
:ai_agent_id,
|
|
110
|
+
:enabled)
|
|
100
111
|
SENSITIVE = []
|
|
101
112
|
include Aws::Structure
|
|
102
113
|
end
|
|
@@ -3760,6 +3771,11 @@ module Aws::QConnect
|
|
|
3760
3771
|
# Details about notes chunk data.
|
|
3761
3772
|
# @return [Types::NotesChunkDataDetails]
|
|
3762
3773
|
#
|
|
3774
|
+
# @!attribute [rw] proactive_recommendation_data
|
|
3775
|
+
# Details about a proactive recommendation, including the token used
|
|
3776
|
+
# to retrieve its chunked response with `GetNextMessage`.
|
|
3777
|
+
# @return [Types::ProactiveRecommendationDataDetails]
|
|
3778
|
+
#
|
|
3763
3779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DataDetails AWS API Documentation
|
|
3764
3780
|
#
|
|
3765
3781
|
class DataDetails < Struct.new(
|
|
@@ -3775,6 +3791,7 @@ module Aws::QConnect
|
|
|
3775
3791
|
:suggested_message_data,
|
|
3776
3792
|
:notes_data,
|
|
3777
3793
|
:notes_chunk_data,
|
|
3794
|
+
:proactive_recommendation_data,
|
|
3778
3795
|
:unknown)
|
|
3779
3796
|
SENSITIVE = []
|
|
3780
3797
|
include Aws::Structure
|
|
@@ -3792,6 +3809,7 @@ module Aws::QConnect
|
|
|
3792
3809
|
class SuggestedMessageData < DataDetails; end
|
|
3793
3810
|
class NotesData < DataDetails; end
|
|
3794
3811
|
class NotesChunkData < DataDetails; end
|
|
3812
|
+
class ProactiveRecommendationData < DataDetails; end
|
|
3795
3813
|
class Unknown < DataDetails; end
|
|
3796
3814
|
end
|
|
3797
3815
|
|
|
@@ -8556,6 +8574,25 @@ module Aws::QConnect
|
|
|
8556
8574
|
include Aws::Structure
|
|
8557
8575
|
end
|
|
8558
8576
|
|
|
8577
|
+
# Details about a proactive recommendation, including the token used to
|
|
8578
|
+
# retrieve its chunked response with `GetNextMessage`.
|
|
8579
|
+
#
|
|
8580
|
+
# @!attribute [rw] next_message_token
|
|
8581
|
+
# The token used to retrieve the next message in the proactive
|
|
8582
|
+
# recommendation. Pass this token in a `GetNextMessage` request to
|
|
8583
|
+
# continue receiving the chunked proactive response. Each response
|
|
8584
|
+
# returns the next token to use until the chunked response is
|
|
8585
|
+
# complete.
|
|
8586
|
+
# @return [String]
|
|
8587
|
+
#
|
|
8588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ProactiveRecommendationDataDetails AWS API Documentation
|
|
8589
|
+
#
|
|
8590
|
+
class ProactiveRecommendationDataDetails < Struct.new(
|
|
8591
|
+
:next_message_token)
|
|
8592
|
+
SENSITIVE = []
|
|
8593
|
+
include Aws::Structure
|
|
8594
|
+
end
|
|
8595
|
+
|
|
8559
8596
|
# The content of the push message template that applies to ADM (Amazon
|
|
8560
8597
|
# Device Messaging) notification service.
|
|
8561
8598
|
#
|
|
@@ -10148,6 +10185,36 @@ module Aws::QConnect
|
|
|
10148
10185
|
class Unknown < RetrievalFilterConfiguration; end
|
|
10149
10186
|
end
|
|
10150
10187
|
|
|
10188
|
+
# An error returned for a single assistant association whose knowledge
|
|
10189
|
+
# base retrieval failed during a `Retrieve` operation. The overall
|
|
10190
|
+
# operation still succeeds and returns the results from the associations
|
|
10191
|
+
# that were queried successfully.
|
|
10192
|
+
#
|
|
10193
|
+
# @!attribute [rw] association_id
|
|
10194
|
+
# The identifier of the assistant association whose knowledge base
|
|
10195
|
+
# retrieval failed.
|
|
10196
|
+
# @return [String]
|
|
10197
|
+
#
|
|
10198
|
+
# @!attribute [rw] code
|
|
10199
|
+
# The error code that categorizes the retrieval failure for the
|
|
10200
|
+
# assistant association.
|
|
10201
|
+
# @return [String]
|
|
10202
|
+
#
|
|
10203
|
+
# @!attribute [rw] message
|
|
10204
|
+
# A human-readable description of the retrieval failure for the
|
|
10205
|
+
# assistant association.
|
|
10206
|
+
# @return [String]
|
|
10207
|
+
#
|
|
10208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/RetrieveError AWS API Documentation
|
|
10209
|
+
#
|
|
10210
|
+
class RetrieveError < Struct.new(
|
|
10211
|
+
:association_id,
|
|
10212
|
+
:code,
|
|
10213
|
+
:message)
|
|
10214
|
+
SENSITIVE = []
|
|
10215
|
+
include Aws::Structure
|
|
10216
|
+
end
|
|
10217
|
+
|
|
10151
10218
|
# @!attribute [rw] assistant_id
|
|
10152
10219
|
# The identifier of the Amazon Q in Connect assistant for content
|
|
10153
10220
|
# retrieval.
|
|
@@ -10175,10 +10242,20 @@ module Aws::QConnect
|
|
|
10175
10242
|
# The results of the content retrieval operation.
|
|
10176
10243
|
# @return [Array<Types::RetrieveResult>]
|
|
10177
10244
|
#
|
|
10245
|
+
# @!attribute [rw] errors
|
|
10246
|
+
# The per-association errors returned when one or more knowledge base
|
|
10247
|
+
# associations fail during a `Retrieve` operation that spans multiple
|
|
10248
|
+
# assistant associations. The overall operation still succeeds and
|
|
10249
|
+
# returns the results from the associations that were queried
|
|
10250
|
+
# successfully. This list contains one entry for each association that
|
|
10251
|
+
# failed, up to a maximum of five.
|
|
10252
|
+
# @return [Array<Types::RetrieveError>]
|
|
10253
|
+
#
|
|
10178
10254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/RetrieveResponse AWS API Documentation
|
|
10179
10255
|
#
|
|
10180
10256
|
class RetrieveResponse < Struct.new(
|
|
10181
|
-
:results
|
|
10257
|
+
:results,
|
|
10258
|
+
:errors)
|
|
10182
10259
|
SENSITIVE = []
|
|
10183
10260
|
include Aws::Structure
|
|
10184
10261
|
end
|
data/lib/aws-sdk-qconnect.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -460,7 +460,8 @@ module Aws
|
|
|
460
460
|
?tags: Hash[::String, ::String],
|
|
461
461
|
?tag_filter: Params::tag_filter,
|
|
462
462
|
?ai_agent_configuration: Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE" | "EMAIL_RESPONSE" | "EMAIL_OVERVIEW" | "EMAIL_GENERATIVE_ANSWER" | "ORCHESTRATION" | "NOTE_TAKING" | "CASE_SUMMARIZATION"), {
|
|
463
|
-
ai_agent_id: ::String
|
|
463
|
+
ai_agent_id: ::String,
|
|
464
|
+
enabled: bool?
|
|
464
465
|
}],
|
|
465
466
|
?contact_arn: ::String,
|
|
466
467
|
?orchestrator_configuration_list: Array[
|
|
@@ -804,7 +805,7 @@ module Aws
|
|
|
804
805
|
?max_results: ::Integer,
|
|
805
806
|
?wait_time_seconds: ::Integer,
|
|
806
807
|
?next_chunk_token: ::String,
|
|
807
|
-
?recommendation_type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT" | "GENERATIVE_ANSWER_CHUNK" | "BLOCKED_GENERATIVE_ANSWER_CHUNK" | "INTENT_ANSWER_CHUNK" | "BLOCKED_INTENT_ANSWER_CHUNK" | "EMAIL_RESPONSE_CHUNK" | "EMAIL_OVERVIEW_CHUNK" | "EMAIL_GENERATIVE_ANSWER_CHUNK" | "CASE_SUMMARIZATION_CHUNK" | "BLOCKED_CASE_SUMMARIZATION_CHUNK" | "SUGGESTED_MESSAGE" | "NOTES_CHUNK" | "BLOCKED_NOTES_CHUNK")
|
|
808
|
+
?recommendation_type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT" | "GENERATIVE_ANSWER_CHUNK" | "BLOCKED_GENERATIVE_ANSWER_CHUNK" | "INTENT_ANSWER_CHUNK" | "BLOCKED_INTENT_ANSWER_CHUNK" | "EMAIL_RESPONSE_CHUNK" | "EMAIL_OVERVIEW_CHUNK" | "EMAIL_GENERATIVE_ANSWER_CHUNK" | "CASE_SUMMARIZATION_CHUNK" | "BLOCKED_CASE_SUMMARIZATION_CHUNK" | "SUGGESTED_MESSAGE" | "NOTES_CHUNK" | "BLOCKED_NOTES_CHUNK" | "PROACTIVE_RECOMMENDATION")
|
|
808
809
|
) -> _GetRecommendationsResponseSuccess
|
|
809
810
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendationsResponseSuccess
|
|
810
811
|
|
|
@@ -1183,6 +1184,7 @@ module Aws
|
|
|
1183
1184
|
interface _RetrieveResponseSuccess
|
|
1184
1185
|
include ::Seahorse::Client::_ResponseSuccess[Types::RetrieveResponse]
|
|
1185
1186
|
def results: () -> ::Array[Types::RetrieveResult]
|
|
1187
|
+
def errors: () -> ::Array[Types::RetrieveError]
|
|
1186
1188
|
end
|
|
1187
1189
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#retrieve-instance_method
|
|
1188
1190
|
def retrieve: (
|
|
@@ -1525,7 +1527,8 @@ module Aws
|
|
|
1525
1527
|
assistant_id: ::String,
|
|
1526
1528
|
ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE" | "EMAIL_RESPONSE" | "EMAIL_OVERVIEW" | "EMAIL_GENERATIVE_ANSWER" | "ORCHESTRATION" | "NOTE_TAKING" | "CASE_SUMMARIZATION"),
|
|
1527
1529
|
configuration: {
|
|
1528
|
-
ai_agent_id: ::String
|
|
1530
|
+
ai_agent_id: ::String,
|
|
1531
|
+
enabled: bool?
|
|
1529
1532
|
},
|
|
1530
1533
|
?orchestrator_use_case: ::String
|
|
1531
1534
|
) -> _UpdateAssistantAIAgentResponseSuccess
|
|
@@ -1636,7 +1639,8 @@ module Aws
|
|
|
1636
1639
|
?description: ::String,
|
|
1637
1640
|
?tag_filter: Params::tag_filter,
|
|
1638
1641
|
?ai_agent_configuration: Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE" | "EMAIL_RESPONSE" | "EMAIL_OVERVIEW" | "EMAIL_GENERATIVE_ANSWER" | "ORCHESTRATION" | "NOTE_TAKING" | "CASE_SUMMARIZATION"), {
|
|
1639
|
-
ai_agent_id: ::String
|
|
1642
|
+
ai_agent_id: ::String,
|
|
1643
|
+
enabled: bool?
|
|
1640
1644
|
}],
|
|
1641
1645
|
?orchestrator_configuration_list: Array[
|
|
1642
1646
|
{
|
data/sig/types.rbs
CHANGED
|
@@ -45,6 +45,7 @@ module Aws::QConnect
|
|
|
45
45
|
|
|
46
46
|
class AIAgentConfigurationData
|
|
47
47
|
attr_accessor ai_agent_id: ::String
|
|
48
|
+
attr_accessor enabled: bool
|
|
48
49
|
SENSITIVE: []
|
|
49
50
|
end
|
|
50
51
|
|
|
@@ -923,6 +924,7 @@ module Aws::QConnect
|
|
|
923
924
|
attr_accessor suggested_message_data: Types::SuggestedMessageDataDetails
|
|
924
925
|
attr_accessor notes_data: Types::NotesDataDetails
|
|
925
926
|
attr_accessor notes_chunk_data: Types::NotesChunkDataDetails
|
|
927
|
+
attr_accessor proactive_recommendation_data: Types::ProactiveRecommendationDataDetails
|
|
926
928
|
attr_accessor unknown: untyped
|
|
927
929
|
SENSITIVE: []
|
|
928
930
|
|
|
@@ -950,6 +952,8 @@ module Aws::QConnect
|
|
|
950
952
|
end
|
|
951
953
|
class NotesChunkData < DataDetails
|
|
952
954
|
end
|
|
955
|
+
class ProactiveRecommendationData < DataDetails
|
|
956
|
+
end
|
|
953
957
|
class Unknown < DataDetails
|
|
954
958
|
end
|
|
955
959
|
end
|
|
@@ -1453,7 +1457,7 @@ module Aws::QConnect
|
|
|
1453
1457
|
attr_accessor max_results: ::Integer
|
|
1454
1458
|
attr_accessor wait_time_seconds: ::Integer
|
|
1455
1459
|
attr_accessor next_chunk_token: ::String
|
|
1456
|
-
attr_accessor recommendation_type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT" | "GENERATIVE_ANSWER_CHUNK" | "BLOCKED_GENERATIVE_ANSWER_CHUNK" | "INTENT_ANSWER_CHUNK" | "BLOCKED_INTENT_ANSWER_CHUNK" | "EMAIL_RESPONSE_CHUNK" | "EMAIL_OVERVIEW_CHUNK" | "EMAIL_GENERATIVE_ANSWER_CHUNK" | "CASE_SUMMARIZATION_CHUNK" | "BLOCKED_CASE_SUMMARIZATION_CHUNK" | "SUGGESTED_MESSAGE" | "NOTES_CHUNK" | "BLOCKED_NOTES_CHUNK")
|
|
1460
|
+
attr_accessor recommendation_type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT" | "GENERATIVE_ANSWER_CHUNK" | "BLOCKED_GENERATIVE_ANSWER_CHUNK" | "INTENT_ANSWER_CHUNK" | "BLOCKED_INTENT_ANSWER_CHUNK" | "EMAIL_RESPONSE_CHUNK" | "EMAIL_OVERVIEW_CHUNK" | "EMAIL_GENERATIVE_ANSWER_CHUNK" | "CASE_SUMMARIZATION_CHUNK" | "BLOCKED_CASE_SUMMARIZATION_CHUNK" | "SUGGESTED_MESSAGE" | "NOTES_CHUNK" | "BLOCKED_NOTES_CHUNK" | "PROACTIVE_RECOMMENDATION")
|
|
1457
1461
|
SENSITIVE: []
|
|
1458
1462
|
end
|
|
1459
1463
|
|
|
@@ -2261,6 +2265,11 @@ module Aws::QConnect
|
|
|
2261
2265
|
SENSITIVE: []
|
|
2262
2266
|
end
|
|
2263
2267
|
|
|
2268
|
+
class ProactiveRecommendationDataDetails
|
|
2269
|
+
attr_accessor next_message_token: ::String
|
|
2270
|
+
SENSITIVE: []
|
|
2271
|
+
end
|
|
2272
|
+
|
|
2264
2273
|
class PushADMMessageTemplateContent
|
|
2265
2274
|
attr_accessor title: ::String
|
|
2266
2275
|
attr_accessor body: Types::MessageTemplateBodyContentProvider
|
|
@@ -2532,7 +2541,7 @@ module Aws::QConnect
|
|
|
2532
2541
|
attr_accessor document: Types::Document
|
|
2533
2542
|
attr_accessor relevance_score: ::Float
|
|
2534
2543
|
attr_accessor relevance_level: ("HIGH" | "MEDIUM" | "LOW")
|
|
2535
|
-
attr_accessor type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT" | "GENERATIVE_ANSWER_CHUNK" | "BLOCKED_GENERATIVE_ANSWER_CHUNK" | "INTENT_ANSWER_CHUNK" | "BLOCKED_INTENT_ANSWER_CHUNK" | "EMAIL_RESPONSE_CHUNK" | "EMAIL_OVERVIEW_CHUNK" | "EMAIL_GENERATIVE_ANSWER_CHUNK" | "CASE_SUMMARIZATION_CHUNK" | "BLOCKED_CASE_SUMMARIZATION_CHUNK" | "SUGGESTED_MESSAGE" | "NOTES_CHUNK" | "BLOCKED_NOTES_CHUNK")
|
|
2544
|
+
attr_accessor type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT" | "GENERATIVE_ANSWER_CHUNK" | "BLOCKED_GENERATIVE_ANSWER_CHUNK" | "INTENT_ANSWER_CHUNK" | "BLOCKED_INTENT_ANSWER_CHUNK" | "EMAIL_RESPONSE_CHUNK" | "EMAIL_OVERVIEW_CHUNK" | "EMAIL_GENERATIVE_ANSWER_CHUNK" | "CASE_SUMMARIZATION_CHUNK" | "BLOCKED_CASE_SUMMARIZATION_CHUNK" | "SUGGESTED_MESSAGE" | "NOTES_CHUNK" | "BLOCKED_NOTES_CHUNK" | "PROACTIVE_RECOMMENDATION")
|
|
2536
2545
|
attr_accessor data: Types::DataSummary
|
|
2537
2546
|
SENSITIVE: []
|
|
2538
2547
|
end
|
|
@@ -2670,6 +2679,13 @@ module Aws::QConnect
|
|
|
2670
2679
|
end
|
|
2671
2680
|
end
|
|
2672
2681
|
|
|
2682
|
+
class RetrieveError
|
|
2683
|
+
attr_accessor association_id: ::String
|
|
2684
|
+
attr_accessor code: ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "VALIDATION_ERROR" | "THROTTLED" | "DEPENDENCY_FAILED" | "INTERNAL_SERVER_ERROR")
|
|
2685
|
+
attr_accessor message: ::String
|
|
2686
|
+
SENSITIVE: []
|
|
2687
|
+
end
|
|
2688
|
+
|
|
2673
2689
|
class RetrieveRequest
|
|
2674
2690
|
attr_accessor assistant_id: ::String
|
|
2675
2691
|
attr_accessor retrieval_configuration: Types::RetrievalConfiguration
|
|
@@ -2679,6 +2695,7 @@ module Aws::QConnect
|
|
|
2679
2695
|
|
|
2680
2696
|
class RetrieveResponse
|
|
2681
2697
|
attr_accessor results: ::Array[Types::RetrieveResult]
|
|
2698
|
+
attr_accessor errors: ::Array[Types::RetrieveError]
|
|
2682
2699
|
SENSITIVE: []
|
|
2683
2700
|
end
|
|
2684
2701
|
|