aws-sdk-qconnect 1.24.0 → 1.25.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.
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,6 +225,7 @@ 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
@@ -217,7 +289,7 @@ module Aws::QConnect
217
289
  end
218
290
 
219
291
  class AssistantData
220
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
292
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
221
293
  attr_accessor assistant_arn: ::String
222
294
  attr_accessor assistant_id: ::String
223
295
  attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
@@ -237,7 +309,7 @@ module Aws::QConnect
237
309
  end
238
310
 
239
311
  class AssistantSummary
240
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
312
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
241
313
  attr_accessor assistant_arn: ::String
242
314
  attr_accessor assistant_id: ::String
243
315
  attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
@@ -407,6 +479,17 @@ module Aws::QConnect
407
479
  SENSITIVE: []
408
480
  end
409
481
 
482
+ class ConversationContext
483
+ attr_accessor self_service_conversation_history: ::Array[Types::SelfServiceConversationHistory]
484
+ SENSITIVE: []
485
+ end
486
+
487
+ class ConversationState
488
+ attr_accessor reason: ("SUCCESS" | "FAILED" | "REJECTED")
489
+ attr_accessor status: ("CLOSED" | "READY" | "PROCESSING")
490
+ SENSITIVE: []
491
+ end
492
+
410
493
  class CreateAIAgentRequest
411
494
  attr_accessor assistant_id: ::String
412
495
  attr_accessor client_token: ::String
@@ -414,7 +497,7 @@ module Aws::QConnect
414
497
  attr_accessor description: ::String
415
498
  attr_accessor name: ::String
416
499
  attr_accessor tags: ::Hash[::String, ::String]
417
- attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
500
+ attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
418
501
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
419
502
  SENSITIVE: []
420
503
  end
@@ -438,6 +521,42 @@ module Aws::QConnect
438
521
  SENSITIVE: []
439
522
  end
440
523
 
524
+ class CreateAIGuardrailRequest
525
+ attr_accessor assistant_id: ::String
526
+ attr_accessor blocked_input_messaging: ::String
527
+ attr_accessor blocked_outputs_messaging: ::String
528
+ attr_accessor client_token: ::String
529
+ attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
530
+ attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
531
+ attr_accessor description: ::String
532
+ attr_accessor name: ::String
533
+ attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
534
+ attr_accessor tags: ::Hash[::String, ::String]
535
+ attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
536
+ attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
537
+ attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
538
+ SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
539
+ end
540
+
541
+ class CreateAIGuardrailResponse
542
+ attr_accessor ai_guardrail: Types::AIGuardrailData
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class CreateAIGuardrailVersionRequest
547
+ attr_accessor ai_guardrail_id: ::String
548
+ attr_accessor assistant_id: ::String
549
+ attr_accessor client_token: ::String
550
+ attr_accessor modified_time: ::Time
551
+ SENSITIVE: []
552
+ end
553
+
554
+ class CreateAIGuardrailVersionResponse
555
+ attr_accessor ai_guardrail: Types::AIGuardrailData
556
+ attr_accessor version_number: ::Integer
557
+ SENSITIVE: []
558
+ end
559
+
441
560
  class CreateAIPromptRequest
442
561
  attr_accessor api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS")
443
562
  attr_accessor assistant_id: ::String
@@ -448,7 +567,7 @@ module Aws::QConnect
448
567
  attr_accessor tags: ::Hash[::String, ::String]
449
568
  attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
450
569
  attr_accessor template_type: ("TEXT")
451
- attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
570
+ attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
452
571
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
453
572
  SENSITIVE: []
454
573
  end
@@ -619,7 +738,7 @@ module Aws::QConnect
619
738
  end
620
739
 
621
740
  class CreateSessionRequest
622
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
741
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
623
742
  attr_accessor assistant_id: ::String
624
743
  attr_accessor client_token: ::String
625
744
  attr_accessor description: ::String
@@ -769,6 +888,25 @@ module Aws::QConnect
769
888
  class DeleteAIAgentVersionResponse < Aws::EmptyStructure
770
889
  end
771
890
 
891
+ class DeleteAIGuardrailRequest
892
+ attr_accessor ai_guardrail_id: ::String
893
+ attr_accessor assistant_id: ::String
894
+ SENSITIVE: []
895
+ end
896
+
897
+ class DeleteAIGuardrailResponse < Aws::EmptyStructure
898
+ end
899
+
900
+ class DeleteAIGuardrailVersionRequest
901
+ attr_accessor ai_guardrail_id: ::String
902
+ attr_accessor assistant_id: ::String
903
+ attr_accessor version_number: ::Integer
904
+ SENSITIVE: []
905
+ end
906
+
907
+ class DeleteAIGuardrailVersionResponse < Aws::EmptyStructure
908
+ end
909
+
772
910
  class DeleteAIPromptRequest
773
911
  attr_accessor ai_prompt_id: ::String
774
912
  attr_accessor assistant_id: ::String
@@ -974,6 +1112,18 @@ module Aws::QConnect
974
1112
  SENSITIVE: []
975
1113
  end
976
1114
 
1115
+ class GetAIGuardrailRequest
1116
+ attr_accessor ai_guardrail_id: ::String
1117
+ attr_accessor assistant_id: ::String
1118
+ SENSITIVE: []
1119
+ end
1120
+
1121
+ class GetAIGuardrailResponse
1122
+ attr_accessor ai_guardrail: Types::AIGuardrailData
1123
+ attr_accessor version_number: ::Integer
1124
+ SENSITIVE: []
1125
+ end
1126
+
977
1127
  class GetAIPromptRequest
978
1128
  attr_accessor ai_prompt_id: ::String
979
1129
  attr_accessor assistant_id: ::String
@@ -1073,6 +1223,23 @@ module Aws::QConnect
1073
1223
  SENSITIVE: []
1074
1224
  end
1075
1225
 
1226
+ class GetNextMessageRequest
1227
+ attr_accessor assistant_id: ::String
1228
+ attr_accessor next_message_token: ::String
1229
+ attr_accessor session_id: ::String
1230
+ SENSITIVE: []
1231
+ end
1232
+
1233
+ class GetNextMessageResponse
1234
+ attr_accessor conversation_session_data: ::Array[Types::RuntimeSessionData]
1235
+ attr_accessor conversation_state: Types::ConversationState
1236
+ attr_accessor next_message_token: ::String
1237
+ attr_accessor request_message_id: ::String
1238
+ attr_accessor response: Types::MessageOutput
1239
+ attr_accessor type: ("TEXT")
1240
+ SENSITIVE: []
1241
+ end
1242
+
1076
1243
  class GetQuickResponseRequest
1077
1244
  attr_accessor knowledge_base_id: ::String
1078
1245
  attr_accessor quick_response_id: ::String
@@ -1115,6 +1282,51 @@ module Aws::QConnect
1115
1282
  SENSITIVE: [:criteria]
1116
1283
  end
1117
1284
 
1285
+ class GuardrailContentFilterConfig
1286
+ attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
1287
+ attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
1288
+ attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
1289
+ SENSITIVE: [:input_strength, :output_strength, :type]
1290
+ end
1291
+
1292
+ class GuardrailContextualGroundingFilterConfig
1293
+ attr_accessor threshold: ::Float
1294
+ attr_accessor type: ("GROUNDING" | "RELEVANCE")
1295
+ SENSITIVE: [:threshold, :type]
1296
+ end
1297
+
1298
+ class GuardrailManagedWordsConfig
1299
+ attr_accessor type: ("PROFANITY")
1300
+ SENSITIVE: [:type]
1301
+ end
1302
+
1303
+ class GuardrailPiiEntityConfig
1304
+ attr_accessor action: ("BLOCK" | "ANONYMIZE")
1305
+ 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")
1306
+ SENSITIVE: [:action, :type]
1307
+ end
1308
+
1309
+ class GuardrailRegexConfig
1310
+ attr_accessor action: ("BLOCK" | "ANONYMIZE")
1311
+ attr_accessor description: ::String
1312
+ attr_accessor name: ::String
1313
+ attr_accessor pattern: ::String
1314
+ SENSITIVE: [:action, :description, :name, :pattern]
1315
+ end
1316
+
1317
+ class GuardrailTopicConfig
1318
+ attr_accessor definition: ::String
1319
+ attr_accessor examples: ::Array[::String]
1320
+ attr_accessor name: ::String
1321
+ attr_accessor type: ("DENY")
1322
+ SENSITIVE: [:definition, :name, :type]
1323
+ end
1324
+
1325
+ class GuardrailWordConfig
1326
+ attr_accessor text: ::String
1327
+ SENSITIVE: [:text]
1328
+ end
1329
+
1118
1330
  class HierarchicalChunkingConfiguration
1119
1331
  attr_accessor level_configurations: ::Array[Types::HierarchicalChunkingLevelConfiguration]
1120
1332
  attr_accessor overlap_tokens: ::Integer
@@ -1249,6 +1461,33 @@ module Aws::QConnect
1249
1461
  SENSITIVE: []
1250
1462
  end
1251
1463
 
1464
+ class ListAIGuardrailVersionsRequest
1465
+ attr_accessor ai_guardrail_id: ::String
1466
+ attr_accessor assistant_id: ::String
1467
+ attr_accessor max_results: ::Integer
1468
+ attr_accessor next_token: ::String
1469
+ SENSITIVE: []
1470
+ end
1471
+
1472
+ class ListAIGuardrailVersionsResponse
1473
+ attr_accessor ai_guardrail_version_summaries: ::Array[Types::AIGuardrailVersionSummary]
1474
+ attr_accessor next_token: ::String
1475
+ SENSITIVE: []
1476
+ end
1477
+
1478
+ class ListAIGuardrailsRequest
1479
+ attr_accessor assistant_id: ::String
1480
+ attr_accessor max_results: ::Integer
1481
+ attr_accessor next_token: ::String
1482
+ SENSITIVE: []
1483
+ end
1484
+
1485
+ class ListAIGuardrailsResponse
1486
+ attr_accessor ai_guardrail_summaries: ::Array[Types::AIGuardrailSummary]
1487
+ attr_accessor next_token: ::String
1488
+ SENSITIVE: []
1489
+ end
1490
+
1252
1491
  class ListAIPromptVersionsRequest
1253
1492
  attr_accessor ai_prompt_id: ::String
1254
1493
  attr_accessor assistant_id: ::String
@@ -1382,6 +1621,20 @@ module Aws::QConnect
1382
1621
  SENSITIVE: []
1383
1622
  end
1384
1623
 
1624
+ class ListMessagesRequest
1625
+ attr_accessor assistant_id: ::String
1626
+ attr_accessor max_results: ::Integer
1627
+ attr_accessor next_token: ::String
1628
+ attr_accessor session_id: ::String
1629
+ SENSITIVE: []
1630
+ end
1631
+
1632
+ class ListMessagesResponse
1633
+ attr_accessor messages: ::Array[Types::MessageOutput]
1634
+ attr_accessor next_token: ::String
1635
+ SENSITIVE: []
1636
+ end
1637
+
1385
1638
  class ListQuickResponsesRequest
1386
1639
  attr_accessor knowledge_base_id: ::String
1387
1640
  attr_accessor max_results: ::Integer
@@ -1417,11 +1670,36 @@ module Aws::QConnect
1417
1670
  end
1418
1671
 
1419
1672
  class ManualSearchAIAgentConfiguration
1673
+ attr_accessor answer_generation_ai_guardrail_id: ::String
1420
1674
  attr_accessor answer_generation_ai_prompt_id: ::String
1421
1675
  attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
1422
1676
  SENSITIVE: []
1423
1677
  end
1424
1678
 
1679
+ class MessageData
1680
+ attr_accessor text: Types::TextMessage
1681
+ attr_accessor unknown: untyped
1682
+ SENSITIVE: []
1683
+
1684
+ class Text < MessageData
1685
+ end
1686
+ class Unknown < MessageData
1687
+ end
1688
+ end
1689
+
1690
+ class MessageInput
1691
+ attr_accessor value: Types::MessageData
1692
+ SENSITIVE: []
1693
+ end
1694
+
1695
+ class MessageOutput
1696
+ attr_accessor message_id: ::String
1697
+ attr_accessor participant: ("CUSTOMER" | "AGENT" | "BOT")
1698
+ attr_accessor timestamp: ::Time
1699
+ attr_accessor value: Types::MessageData
1700
+ SENSITIVE: []
1701
+ end
1702
+
1425
1703
  class MessageTemplateAttachment
1426
1704
  attr_accessor attachment_id: ::String
1427
1705
  attr_accessor content_disposition: ("ATTACHMENT")
@@ -1848,7 +2126,7 @@ module Aws::QConnect
1848
2126
  end
1849
2127
 
1850
2128
  class RemoveAssistantAIAgentRequest
1851
- attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
2129
+ attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
1852
2130
  attr_accessor assistant_id: ::String
1853
2131
  SENSITIVE: []
1854
2132
  end
@@ -1997,6 +2275,21 @@ module Aws::QConnect
1997
2275
  SENSITIVE: []
1998
2276
  end
1999
2277
 
2278
+ class SelfServiceAIAgentConfiguration
2279
+ attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
2280
+ attr_accessor self_service_ai_guardrail_id: ::String
2281
+ attr_accessor self_service_answer_generation_ai_prompt_id: ::String
2282
+ attr_accessor self_service_pre_processing_ai_prompt_id: ::String
2283
+ SENSITIVE: []
2284
+ end
2285
+
2286
+ class SelfServiceConversationHistory
2287
+ attr_accessor bot_response: ::String
2288
+ attr_accessor input_transcript: ::String
2289
+ attr_accessor turn_number: ::Integer
2290
+ SENSITIVE: [:bot_response, :input_transcript]
2291
+ end
2292
+
2000
2293
  class SemanticChunkingConfiguration
2001
2294
  attr_accessor breakpoint_percentile_threshold: ::Integer
2002
2295
  attr_accessor buffer_size: ::Integer
@@ -2004,6 +2297,22 @@ module Aws::QConnect
2004
2297
  SENSITIVE: []
2005
2298
  end
2006
2299
 
2300
+ class SendMessageRequest
2301
+ attr_accessor assistant_id: ::String
2302
+ attr_accessor client_token: ::String
2303
+ attr_accessor conversation_context: Types::ConversationContext
2304
+ attr_accessor message: Types::MessageInput
2305
+ attr_accessor session_id: ::String
2306
+ attr_accessor type: ("TEXT")
2307
+ SENSITIVE: []
2308
+ end
2309
+
2310
+ class SendMessageResponse
2311
+ attr_accessor next_message_token: ::String
2312
+ attr_accessor request_message_id: ::String
2313
+ SENSITIVE: []
2314
+ end
2315
+
2007
2316
  class ServerSideEncryptionConfiguration
2008
2317
  attr_accessor kms_key_id: ::String
2009
2318
  SENSITIVE: []
@@ -2015,7 +2324,7 @@ module Aws::QConnect
2015
2324
  end
2016
2325
 
2017
2326
  class SessionData
2018
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
2327
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
2019
2328
  attr_accessor description: ::String
2020
2329
  attr_accessor integration_configuration: Types::SessionIntegrationConfiguration
2021
2330
  attr_accessor name: ::String
@@ -2147,6 +2456,11 @@ module Aws::QConnect
2147
2456
  SENSITIVE: [:text]
2148
2457
  end
2149
2458
 
2459
+ class TextMessage
2460
+ attr_accessor value: ::String
2461
+ SENSITIVE: [:value]
2462
+ end
2463
+
2150
2464
  class ThrottlingException
2151
2465
  attr_accessor message: ::String
2152
2466
  SENSITIVE: []
@@ -2182,6 +2496,27 @@ module Aws::QConnect
2182
2496
  SENSITIVE: []
2183
2497
  end
2184
2498
 
2499
+ class UpdateAIGuardrailRequest
2500
+ attr_accessor ai_guardrail_id: ::String
2501
+ attr_accessor assistant_id: ::String
2502
+ attr_accessor blocked_input_messaging: ::String
2503
+ attr_accessor blocked_outputs_messaging: ::String
2504
+ attr_accessor client_token: ::String
2505
+ attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
2506
+ attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
2507
+ attr_accessor description: ::String
2508
+ attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
2509
+ attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
2510
+ attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
2511
+ attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
2512
+ SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
2513
+ end
2514
+
2515
+ class UpdateAIGuardrailResponse
2516
+ attr_accessor ai_guardrail: Types::AIGuardrailData
2517
+ SENSITIVE: []
2518
+ end
2519
+
2185
2520
  class UpdateAIPromptRequest
2186
2521
  attr_accessor ai_prompt_id: ::String
2187
2522
  attr_accessor assistant_id: ::String
@@ -2198,7 +2533,7 @@ module Aws::QConnect
2198
2533
  end
2199
2534
 
2200
2535
  class UpdateAssistantAIAgentRequest
2201
- attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
2536
+ attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
2202
2537
  attr_accessor assistant_id: ::String
2203
2538
  attr_accessor configuration: Types::AIAgentConfigurationData
2204
2539
  SENSITIVE: []
@@ -2305,7 +2640,7 @@ module Aws::QConnect
2305
2640
  end
2306
2641
 
2307
2642
  class UpdateSessionRequest
2308
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
2643
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
2309
2644
  attr_accessor assistant_id: ::String
2310
2645
  attr_accessor description: ::String
2311
2646
  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.24.0
4
+ version: 1.25.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-18 00:00:00.000000000 Z
11
+ date: 2024-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core