aws-sdk-qconnect 1.24.0 → 1.26.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qconnect/client.rb +1107 -17
- data/lib/aws-sdk-qconnect/client_api.rb +506 -0
- data/lib/aws-sdk-qconnect/types.rb +1585 -100
- data/lib/aws-sdk-qconnect.rb +1 -1
- data/sig/client.rbs +380 -8
- data/sig/types.rbs +350 -13
- metadata +2 -2
data/sig/types.rbs
CHANGED
@@ -11,6 +11,7 @@ module Aws::QConnect
|
|
11
11
|
class AIAgentConfiguration
|
12
12
|
attr_accessor answer_recommendation_ai_agent_configuration: Types::AnswerRecommendationAIAgentConfiguration
|
13
13
|
attr_accessor manual_search_ai_agent_configuration: Types::ManualSearchAIAgentConfiguration
|
14
|
+
attr_accessor self_service_ai_agent_configuration: Types::SelfServiceAIAgentConfiguration
|
14
15
|
attr_accessor unknown: untyped
|
15
16
|
SENSITIVE: []
|
16
17
|
|
@@ -18,6 +19,8 @@ module Aws::QConnect
|
|
18
19
|
end
|
19
20
|
class ManualSearchAiAgentConfiguration < AIAgentConfiguration
|
20
21
|
end
|
22
|
+
class SelfServiceAiAgentConfiguration < AIAgentConfiguration
|
23
|
+
end
|
21
24
|
class Unknown < AIAgentConfiguration
|
22
25
|
end
|
23
26
|
end
|
@@ -39,7 +42,7 @@ module Aws::QConnect
|
|
39
42
|
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
40
43
|
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
41
44
|
attr_accessor tags: ::Hash[::String, ::String]
|
42
|
-
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
45
|
+
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
|
43
46
|
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
44
47
|
SENSITIVE: []
|
45
48
|
end
|
@@ -56,7 +59,7 @@ module Aws::QConnect
|
|
56
59
|
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
57
60
|
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
58
61
|
attr_accessor tags: ::Hash[::String, ::String]
|
59
|
-
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
62
|
+
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
|
60
63
|
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
61
64
|
SENSITIVE: []
|
62
65
|
end
|
@@ -67,6 +70,74 @@ module Aws::QConnect
|
|
67
70
|
SENSITIVE: []
|
68
71
|
end
|
69
72
|
|
73
|
+
class AIGuardrailContentPolicyConfig
|
74
|
+
attr_accessor filters_config: ::Array[Types::GuardrailContentFilterConfig]
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class AIGuardrailContextualGroundingPolicyConfig
|
79
|
+
attr_accessor filters_config: ::Array[Types::GuardrailContextualGroundingFilterConfig]
|
80
|
+
SENSITIVE: []
|
81
|
+
end
|
82
|
+
|
83
|
+
class AIGuardrailData
|
84
|
+
attr_accessor ai_guardrail_arn: ::String
|
85
|
+
attr_accessor ai_guardrail_id: ::String
|
86
|
+
attr_accessor assistant_arn: ::String
|
87
|
+
attr_accessor assistant_id: ::String
|
88
|
+
attr_accessor blocked_input_messaging: ::String
|
89
|
+
attr_accessor blocked_outputs_messaging: ::String
|
90
|
+
attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
|
91
|
+
attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
|
92
|
+
attr_accessor description: ::String
|
93
|
+
attr_accessor modified_time: ::Time
|
94
|
+
attr_accessor name: ::String
|
95
|
+
attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
|
96
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
97
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
98
|
+
attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
|
99
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
100
|
+
attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
|
101
|
+
SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
|
102
|
+
end
|
103
|
+
|
104
|
+
class AIGuardrailSensitiveInformationPolicyConfig
|
105
|
+
attr_accessor pii_entities_config: ::Array[Types::GuardrailPiiEntityConfig]
|
106
|
+
attr_accessor regexes_config: ::Array[Types::GuardrailRegexConfig]
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
110
|
+
class AIGuardrailSummary
|
111
|
+
attr_accessor ai_guardrail_arn: ::String
|
112
|
+
attr_accessor ai_guardrail_id: ::String
|
113
|
+
attr_accessor assistant_arn: ::String
|
114
|
+
attr_accessor assistant_id: ::String
|
115
|
+
attr_accessor description: ::String
|
116
|
+
attr_accessor modified_time: ::Time
|
117
|
+
attr_accessor name: ::String
|
118
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
119
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
120
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
121
|
+
SENSITIVE: [:description]
|
122
|
+
end
|
123
|
+
|
124
|
+
class AIGuardrailTopicPolicyConfig
|
125
|
+
attr_accessor topics_config: ::Array[Types::GuardrailTopicConfig]
|
126
|
+
SENSITIVE: []
|
127
|
+
end
|
128
|
+
|
129
|
+
class AIGuardrailVersionSummary
|
130
|
+
attr_accessor ai_guardrail_summary: Types::AIGuardrailSummary
|
131
|
+
attr_accessor version_number: ::Integer
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class AIGuardrailWordPolicyConfig
|
136
|
+
attr_accessor managed_word_lists_config: ::Array[Types::GuardrailManagedWordsConfig]
|
137
|
+
attr_accessor words_config: ::Array[Types::GuardrailWordConfig]
|
138
|
+
SENSITIVE: []
|
139
|
+
end
|
140
|
+
|
70
141
|
class AIPromptData
|
71
142
|
attr_accessor ai_prompt_arn: ::String
|
72
143
|
attr_accessor ai_prompt_id: ::String
|
@@ -82,7 +153,7 @@ module Aws::QConnect
|
|
82
153
|
attr_accessor tags: ::Hash[::String, ::String]
|
83
154
|
attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
|
84
155
|
attr_accessor template_type: ("TEXT")
|
85
|
-
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
|
156
|
+
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
|
86
157
|
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
87
158
|
SENSITIVE: []
|
88
159
|
end
|
@@ -101,7 +172,7 @@ module Aws::QConnect
|
|
101
172
|
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
102
173
|
attr_accessor tags: ::Hash[::String, ::String]
|
103
174
|
attr_accessor template_type: ("TEXT")
|
104
|
-
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
|
175
|
+
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
|
105
176
|
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
106
177
|
SENSITIVE: []
|
107
178
|
end
|
@@ -154,9 +225,11 @@ module Aws::QConnect
|
|
154
225
|
end
|
155
226
|
|
156
227
|
class AnswerRecommendationAIAgentConfiguration
|
228
|
+
attr_accessor answer_generation_ai_guardrail_id: ::String
|
157
229
|
attr_accessor answer_generation_ai_prompt_id: ::String
|
158
230
|
attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
|
159
231
|
attr_accessor intent_labeling_generation_ai_prompt_id: ::String
|
232
|
+
attr_accessor locale: ::String
|
160
233
|
attr_accessor query_reformulation_ai_prompt_id: ::String
|
161
234
|
SENSITIVE: []
|
162
235
|
end
|
@@ -217,7 +290,7 @@ module Aws::QConnect
|
|
217
290
|
end
|
218
291
|
|
219
292
|
class AssistantData
|
220
|
-
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
293
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
|
221
294
|
attr_accessor assistant_arn: ::String
|
222
295
|
attr_accessor assistant_id: ::String
|
223
296
|
attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
|
@@ -237,7 +310,7 @@ module Aws::QConnect
|
|
237
310
|
end
|
238
311
|
|
239
312
|
class AssistantSummary
|
240
|
-
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
313
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
|
241
314
|
attr_accessor assistant_arn: ::String
|
242
315
|
attr_accessor assistant_id: ::String
|
243
316
|
attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
|
@@ -407,6 +480,17 @@ module Aws::QConnect
|
|
407
480
|
SENSITIVE: []
|
408
481
|
end
|
409
482
|
|
483
|
+
class ConversationContext
|
484
|
+
attr_accessor self_service_conversation_history: ::Array[Types::SelfServiceConversationHistory]
|
485
|
+
SENSITIVE: []
|
486
|
+
end
|
487
|
+
|
488
|
+
class ConversationState
|
489
|
+
attr_accessor reason: ("SUCCESS" | "FAILED" | "REJECTED")
|
490
|
+
attr_accessor status: ("CLOSED" | "READY" | "PROCESSING")
|
491
|
+
SENSITIVE: []
|
492
|
+
end
|
493
|
+
|
410
494
|
class CreateAIAgentRequest
|
411
495
|
attr_accessor assistant_id: ::String
|
412
496
|
attr_accessor client_token: ::String
|
@@ -414,7 +498,7 @@ module Aws::QConnect
|
|
414
498
|
attr_accessor description: ::String
|
415
499
|
attr_accessor name: ::String
|
416
500
|
attr_accessor tags: ::Hash[::String, ::String]
|
417
|
-
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
501
|
+
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
|
418
502
|
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
419
503
|
SENSITIVE: []
|
420
504
|
end
|
@@ -438,6 +522,42 @@ module Aws::QConnect
|
|
438
522
|
SENSITIVE: []
|
439
523
|
end
|
440
524
|
|
525
|
+
class CreateAIGuardrailRequest
|
526
|
+
attr_accessor assistant_id: ::String
|
527
|
+
attr_accessor blocked_input_messaging: ::String
|
528
|
+
attr_accessor blocked_outputs_messaging: ::String
|
529
|
+
attr_accessor client_token: ::String
|
530
|
+
attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
|
531
|
+
attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
|
532
|
+
attr_accessor description: ::String
|
533
|
+
attr_accessor name: ::String
|
534
|
+
attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
|
535
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
536
|
+
attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
|
537
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
538
|
+
attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
|
539
|
+
SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
|
540
|
+
end
|
541
|
+
|
542
|
+
class CreateAIGuardrailResponse
|
543
|
+
attr_accessor ai_guardrail: Types::AIGuardrailData
|
544
|
+
SENSITIVE: []
|
545
|
+
end
|
546
|
+
|
547
|
+
class CreateAIGuardrailVersionRequest
|
548
|
+
attr_accessor ai_guardrail_id: ::String
|
549
|
+
attr_accessor assistant_id: ::String
|
550
|
+
attr_accessor client_token: ::String
|
551
|
+
attr_accessor modified_time: ::Time
|
552
|
+
SENSITIVE: []
|
553
|
+
end
|
554
|
+
|
555
|
+
class CreateAIGuardrailVersionResponse
|
556
|
+
attr_accessor ai_guardrail: Types::AIGuardrailData
|
557
|
+
attr_accessor version_number: ::Integer
|
558
|
+
SENSITIVE: []
|
559
|
+
end
|
560
|
+
|
441
561
|
class CreateAIPromptRequest
|
442
562
|
attr_accessor api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS")
|
443
563
|
attr_accessor assistant_id: ::String
|
@@ -448,7 +568,7 @@ module Aws::QConnect
|
|
448
568
|
attr_accessor tags: ::Hash[::String, ::String]
|
449
569
|
attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
|
450
570
|
attr_accessor template_type: ("TEXT")
|
451
|
-
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
|
571
|
+
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
|
452
572
|
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
453
573
|
SENSITIVE: []
|
454
574
|
end
|
@@ -619,7 +739,7 @@ module Aws::QConnect
|
|
619
739
|
end
|
620
740
|
|
621
741
|
class CreateSessionRequest
|
622
|
-
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
742
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
|
623
743
|
attr_accessor assistant_id: ::String
|
624
744
|
attr_accessor client_token: ::String
|
625
745
|
attr_accessor description: ::String
|
@@ -769,6 +889,25 @@ module Aws::QConnect
|
|
769
889
|
class DeleteAIAgentVersionResponse < Aws::EmptyStructure
|
770
890
|
end
|
771
891
|
|
892
|
+
class DeleteAIGuardrailRequest
|
893
|
+
attr_accessor ai_guardrail_id: ::String
|
894
|
+
attr_accessor assistant_id: ::String
|
895
|
+
SENSITIVE: []
|
896
|
+
end
|
897
|
+
|
898
|
+
class DeleteAIGuardrailResponse < Aws::EmptyStructure
|
899
|
+
end
|
900
|
+
|
901
|
+
class DeleteAIGuardrailVersionRequest
|
902
|
+
attr_accessor ai_guardrail_id: ::String
|
903
|
+
attr_accessor assistant_id: ::String
|
904
|
+
attr_accessor version_number: ::Integer
|
905
|
+
SENSITIVE: []
|
906
|
+
end
|
907
|
+
|
908
|
+
class DeleteAIGuardrailVersionResponse < Aws::EmptyStructure
|
909
|
+
end
|
910
|
+
|
772
911
|
class DeleteAIPromptRequest
|
773
912
|
attr_accessor ai_prompt_id: ::String
|
774
913
|
attr_accessor assistant_id: ::String
|
@@ -974,6 +1113,18 @@ module Aws::QConnect
|
|
974
1113
|
SENSITIVE: []
|
975
1114
|
end
|
976
1115
|
|
1116
|
+
class GetAIGuardrailRequest
|
1117
|
+
attr_accessor ai_guardrail_id: ::String
|
1118
|
+
attr_accessor assistant_id: ::String
|
1119
|
+
SENSITIVE: []
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
class GetAIGuardrailResponse
|
1123
|
+
attr_accessor ai_guardrail: Types::AIGuardrailData
|
1124
|
+
attr_accessor version_number: ::Integer
|
1125
|
+
SENSITIVE: []
|
1126
|
+
end
|
1127
|
+
|
977
1128
|
class GetAIPromptRequest
|
978
1129
|
attr_accessor ai_prompt_id: ::String
|
979
1130
|
attr_accessor assistant_id: ::String
|
@@ -1073,6 +1224,23 @@ module Aws::QConnect
|
|
1073
1224
|
SENSITIVE: []
|
1074
1225
|
end
|
1075
1226
|
|
1227
|
+
class GetNextMessageRequest
|
1228
|
+
attr_accessor assistant_id: ::String
|
1229
|
+
attr_accessor next_message_token: ::String
|
1230
|
+
attr_accessor session_id: ::String
|
1231
|
+
SENSITIVE: []
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
class GetNextMessageResponse
|
1235
|
+
attr_accessor conversation_session_data: ::Array[Types::RuntimeSessionData]
|
1236
|
+
attr_accessor conversation_state: Types::ConversationState
|
1237
|
+
attr_accessor next_message_token: ::String
|
1238
|
+
attr_accessor request_message_id: ::String
|
1239
|
+
attr_accessor response: Types::MessageOutput
|
1240
|
+
attr_accessor type: ("TEXT")
|
1241
|
+
SENSITIVE: []
|
1242
|
+
end
|
1243
|
+
|
1076
1244
|
class GetQuickResponseRequest
|
1077
1245
|
attr_accessor knowledge_base_id: ::String
|
1078
1246
|
attr_accessor quick_response_id: ::String
|
@@ -1115,6 +1283,51 @@ module Aws::QConnect
|
|
1115
1283
|
SENSITIVE: [:criteria]
|
1116
1284
|
end
|
1117
1285
|
|
1286
|
+
class GuardrailContentFilterConfig
|
1287
|
+
attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
1288
|
+
attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
1289
|
+
attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
|
1290
|
+
SENSITIVE: [:input_strength, :output_strength, :type]
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
class GuardrailContextualGroundingFilterConfig
|
1294
|
+
attr_accessor threshold: ::Float
|
1295
|
+
attr_accessor type: ("GROUNDING" | "RELEVANCE")
|
1296
|
+
SENSITIVE: [:threshold, :type]
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
class GuardrailManagedWordsConfig
|
1300
|
+
attr_accessor type: ("PROFANITY")
|
1301
|
+
SENSITIVE: [:type]
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
class GuardrailPiiEntityConfig
|
1305
|
+
attr_accessor action: ("BLOCK" | "ANONYMIZE")
|
1306
|
+
attr_accessor type: ("ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER")
|
1307
|
+
SENSITIVE: [:action, :type]
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
class GuardrailRegexConfig
|
1311
|
+
attr_accessor action: ("BLOCK" | "ANONYMIZE")
|
1312
|
+
attr_accessor description: ::String
|
1313
|
+
attr_accessor name: ::String
|
1314
|
+
attr_accessor pattern: ::String
|
1315
|
+
SENSITIVE: [:action, :description, :name, :pattern]
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
class GuardrailTopicConfig
|
1319
|
+
attr_accessor definition: ::String
|
1320
|
+
attr_accessor examples: ::Array[::String]
|
1321
|
+
attr_accessor name: ::String
|
1322
|
+
attr_accessor type: ("DENY")
|
1323
|
+
SENSITIVE: [:definition, :name, :type]
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
class GuardrailWordConfig
|
1327
|
+
attr_accessor text: ::String
|
1328
|
+
SENSITIVE: [:text]
|
1329
|
+
end
|
1330
|
+
|
1118
1331
|
class HierarchicalChunkingConfiguration
|
1119
1332
|
attr_accessor level_configurations: ::Array[Types::HierarchicalChunkingLevelConfiguration]
|
1120
1333
|
attr_accessor overlap_tokens: ::Integer
|
@@ -1249,6 +1462,33 @@ module Aws::QConnect
|
|
1249
1462
|
SENSITIVE: []
|
1250
1463
|
end
|
1251
1464
|
|
1465
|
+
class ListAIGuardrailVersionsRequest
|
1466
|
+
attr_accessor ai_guardrail_id: ::String
|
1467
|
+
attr_accessor assistant_id: ::String
|
1468
|
+
attr_accessor max_results: ::Integer
|
1469
|
+
attr_accessor next_token: ::String
|
1470
|
+
SENSITIVE: []
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
class ListAIGuardrailVersionsResponse
|
1474
|
+
attr_accessor ai_guardrail_version_summaries: ::Array[Types::AIGuardrailVersionSummary]
|
1475
|
+
attr_accessor next_token: ::String
|
1476
|
+
SENSITIVE: []
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
class ListAIGuardrailsRequest
|
1480
|
+
attr_accessor assistant_id: ::String
|
1481
|
+
attr_accessor max_results: ::Integer
|
1482
|
+
attr_accessor next_token: ::String
|
1483
|
+
SENSITIVE: []
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
class ListAIGuardrailsResponse
|
1487
|
+
attr_accessor ai_guardrail_summaries: ::Array[Types::AIGuardrailSummary]
|
1488
|
+
attr_accessor next_token: ::String
|
1489
|
+
SENSITIVE: []
|
1490
|
+
end
|
1491
|
+
|
1252
1492
|
class ListAIPromptVersionsRequest
|
1253
1493
|
attr_accessor ai_prompt_id: ::String
|
1254
1494
|
attr_accessor assistant_id: ::String
|
@@ -1382,6 +1622,20 @@ module Aws::QConnect
|
|
1382
1622
|
SENSITIVE: []
|
1383
1623
|
end
|
1384
1624
|
|
1625
|
+
class ListMessagesRequest
|
1626
|
+
attr_accessor assistant_id: ::String
|
1627
|
+
attr_accessor max_results: ::Integer
|
1628
|
+
attr_accessor next_token: ::String
|
1629
|
+
attr_accessor session_id: ::String
|
1630
|
+
SENSITIVE: []
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
class ListMessagesResponse
|
1634
|
+
attr_accessor messages: ::Array[Types::MessageOutput]
|
1635
|
+
attr_accessor next_token: ::String
|
1636
|
+
SENSITIVE: []
|
1637
|
+
end
|
1638
|
+
|
1385
1639
|
class ListQuickResponsesRequest
|
1386
1640
|
attr_accessor knowledge_base_id: ::String
|
1387
1641
|
attr_accessor max_results: ::Integer
|
@@ -1417,8 +1671,34 @@ module Aws::QConnect
|
|
1417
1671
|
end
|
1418
1672
|
|
1419
1673
|
class ManualSearchAIAgentConfiguration
|
1674
|
+
attr_accessor answer_generation_ai_guardrail_id: ::String
|
1420
1675
|
attr_accessor answer_generation_ai_prompt_id: ::String
|
1421
1676
|
attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
|
1677
|
+
attr_accessor locale: ::String
|
1678
|
+
SENSITIVE: []
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
class MessageData
|
1682
|
+
attr_accessor text: Types::TextMessage
|
1683
|
+
attr_accessor unknown: untyped
|
1684
|
+
SENSITIVE: []
|
1685
|
+
|
1686
|
+
class Text < MessageData
|
1687
|
+
end
|
1688
|
+
class Unknown < MessageData
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
class MessageInput
|
1693
|
+
attr_accessor value: Types::MessageData
|
1694
|
+
SENSITIVE: []
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
class MessageOutput
|
1698
|
+
attr_accessor message_id: ::String
|
1699
|
+
attr_accessor participant: ("CUSTOMER" | "AGENT" | "BOT")
|
1700
|
+
attr_accessor timestamp: ::Time
|
1701
|
+
attr_accessor value: Types::MessageData
|
1422
1702
|
SENSITIVE: []
|
1423
1703
|
end
|
1424
1704
|
|
@@ -1848,7 +2128,7 @@ module Aws::QConnect
|
|
1848
2128
|
end
|
1849
2129
|
|
1850
2130
|
class RemoveAssistantAIAgentRequest
|
1851
|
-
attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
2131
|
+
attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
|
1852
2132
|
attr_accessor assistant_id: ::String
|
1853
2133
|
SENSITIVE: []
|
1854
2134
|
end
|
@@ -1997,6 +2277,21 @@ module Aws::QConnect
|
|
1997
2277
|
SENSITIVE: []
|
1998
2278
|
end
|
1999
2279
|
|
2280
|
+
class SelfServiceAIAgentConfiguration
|
2281
|
+
attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
|
2282
|
+
attr_accessor self_service_ai_guardrail_id: ::String
|
2283
|
+
attr_accessor self_service_answer_generation_ai_prompt_id: ::String
|
2284
|
+
attr_accessor self_service_pre_processing_ai_prompt_id: ::String
|
2285
|
+
SENSITIVE: []
|
2286
|
+
end
|
2287
|
+
|
2288
|
+
class SelfServiceConversationHistory
|
2289
|
+
attr_accessor bot_response: ::String
|
2290
|
+
attr_accessor input_transcript: ::String
|
2291
|
+
attr_accessor turn_number: ::Integer
|
2292
|
+
SENSITIVE: [:bot_response, :input_transcript]
|
2293
|
+
end
|
2294
|
+
|
2000
2295
|
class SemanticChunkingConfiguration
|
2001
2296
|
attr_accessor breakpoint_percentile_threshold: ::Integer
|
2002
2297
|
attr_accessor buffer_size: ::Integer
|
@@ -2004,6 +2299,22 @@ module Aws::QConnect
|
|
2004
2299
|
SENSITIVE: []
|
2005
2300
|
end
|
2006
2301
|
|
2302
|
+
class SendMessageRequest
|
2303
|
+
attr_accessor assistant_id: ::String
|
2304
|
+
attr_accessor client_token: ::String
|
2305
|
+
attr_accessor conversation_context: Types::ConversationContext
|
2306
|
+
attr_accessor message: Types::MessageInput
|
2307
|
+
attr_accessor session_id: ::String
|
2308
|
+
attr_accessor type: ("TEXT")
|
2309
|
+
SENSITIVE: []
|
2310
|
+
end
|
2311
|
+
|
2312
|
+
class SendMessageResponse
|
2313
|
+
attr_accessor next_message_token: ::String
|
2314
|
+
attr_accessor request_message_id: ::String
|
2315
|
+
SENSITIVE: []
|
2316
|
+
end
|
2317
|
+
|
2007
2318
|
class ServerSideEncryptionConfiguration
|
2008
2319
|
attr_accessor kms_key_id: ::String
|
2009
2320
|
SENSITIVE: []
|
@@ -2015,7 +2326,7 @@ module Aws::QConnect
|
|
2015
2326
|
end
|
2016
2327
|
|
2017
2328
|
class SessionData
|
2018
|
-
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
2329
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
|
2019
2330
|
attr_accessor description: ::String
|
2020
2331
|
attr_accessor integration_configuration: Types::SessionIntegrationConfiguration
|
2021
2332
|
attr_accessor name: ::String
|
@@ -2147,6 +2458,11 @@ module Aws::QConnect
|
|
2147
2458
|
SENSITIVE: [:text]
|
2148
2459
|
end
|
2149
2460
|
|
2461
|
+
class TextMessage
|
2462
|
+
attr_accessor value: ::String
|
2463
|
+
SENSITIVE: [:value]
|
2464
|
+
end
|
2465
|
+
|
2150
2466
|
class ThrottlingException
|
2151
2467
|
attr_accessor message: ::String
|
2152
2468
|
SENSITIVE: []
|
@@ -2182,6 +2498,27 @@ module Aws::QConnect
|
|
2182
2498
|
SENSITIVE: []
|
2183
2499
|
end
|
2184
2500
|
|
2501
|
+
class UpdateAIGuardrailRequest
|
2502
|
+
attr_accessor ai_guardrail_id: ::String
|
2503
|
+
attr_accessor assistant_id: ::String
|
2504
|
+
attr_accessor blocked_input_messaging: ::String
|
2505
|
+
attr_accessor blocked_outputs_messaging: ::String
|
2506
|
+
attr_accessor client_token: ::String
|
2507
|
+
attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
|
2508
|
+
attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
|
2509
|
+
attr_accessor description: ::String
|
2510
|
+
attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
|
2511
|
+
attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
|
2512
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
2513
|
+
attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
|
2514
|
+
SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
class UpdateAIGuardrailResponse
|
2518
|
+
attr_accessor ai_guardrail: Types::AIGuardrailData
|
2519
|
+
SENSITIVE: []
|
2520
|
+
end
|
2521
|
+
|
2185
2522
|
class UpdateAIPromptRequest
|
2186
2523
|
attr_accessor ai_prompt_id: ::String
|
2187
2524
|
attr_accessor assistant_id: ::String
|
@@ -2198,7 +2535,7 @@ module Aws::QConnect
|
|
2198
2535
|
end
|
2199
2536
|
|
2200
2537
|
class UpdateAssistantAIAgentRequest
|
2201
|
-
attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
2538
|
+
attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
|
2202
2539
|
attr_accessor assistant_id: ::String
|
2203
2540
|
attr_accessor configuration: Types::AIAgentConfigurationData
|
2204
2541
|
SENSITIVE: []
|
@@ -2305,7 +2642,7 @@ module Aws::QConnect
|
|
2305
2642
|
end
|
2306
2643
|
|
2307
2644
|
class UpdateSessionRequest
|
2308
|
-
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
2645
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
|
2309
2646
|
attr_accessor assistant_id: ::String
|
2310
2647
|
attr_accessor description: ::String
|
2311
2648
|
attr_accessor session_id: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-qconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|