aws-sdk-qconnect 1.24.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,6 +24,18 @@ module Aws::QConnect
24
24
  AIAgentType = Shapes::StringShape.new(name: 'AIAgentType')
25
25
  AIAgentVersionSummariesList = Shapes::ListShape.new(name: 'AIAgentVersionSummariesList')
26
26
  AIAgentVersionSummary = Shapes::StructureShape.new(name: 'AIAgentVersionSummary')
27
+ AIGuardrailBlockedMessaging = Shapes::StringShape.new(name: 'AIGuardrailBlockedMessaging')
28
+ AIGuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'AIGuardrailContentPolicyConfig')
29
+ AIGuardrailContextualGroundingPolicyConfig = Shapes::StructureShape.new(name: 'AIGuardrailContextualGroundingPolicyConfig')
30
+ AIGuardrailData = Shapes::StructureShape.new(name: 'AIGuardrailData')
31
+ AIGuardrailDescription = Shapes::StringShape.new(name: 'AIGuardrailDescription')
32
+ AIGuardrailSensitiveInformationPolicyConfig = Shapes::StructureShape.new(name: 'AIGuardrailSensitiveInformationPolicyConfig')
33
+ AIGuardrailSummariesList = Shapes::ListShape.new(name: 'AIGuardrailSummariesList')
34
+ AIGuardrailSummary = Shapes::StructureShape.new(name: 'AIGuardrailSummary')
35
+ AIGuardrailTopicPolicyConfig = Shapes::StructureShape.new(name: 'AIGuardrailTopicPolicyConfig')
36
+ AIGuardrailVersionSummariesList = Shapes::ListShape.new(name: 'AIGuardrailVersionSummariesList')
37
+ AIGuardrailVersionSummary = Shapes::StructureShape.new(name: 'AIGuardrailVersionSummary')
38
+ AIGuardrailWordPolicyConfig = Shapes::StructureShape.new(name: 'AIGuardrailWordPolicyConfig')
27
39
  AIPromptAPIFormat = Shapes::StringShape.new(name: 'AIPromptAPIFormat')
28
40
  AIPromptData = Shapes::StructureShape.new(name: 'AIPromptData')
29
41
  AIPromptModelIdentifier = Shapes::StringShape.new(name: 'AIPromptModelIdentifier')
@@ -96,10 +108,18 @@ module Aws::QConnect
96
108
  ContentSummaryList = Shapes::ListShape.new(name: 'ContentSummaryList')
97
109
  ContentTitle = Shapes::StringShape.new(name: 'ContentTitle')
98
110
  ContentType = Shapes::StringShape.new(name: 'ContentType')
111
+ ConversationContext = Shapes::StructureShape.new(name: 'ConversationContext')
112
+ ConversationState = Shapes::StructureShape.new(name: 'ConversationState')
113
+ ConversationStatus = Shapes::StringShape.new(name: 'ConversationStatus')
114
+ ConversationStatusReason = Shapes::StringShape.new(name: 'ConversationStatusReason')
99
115
  CreateAIAgentRequest = Shapes::StructureShape.new(name: 'CreateAIAgentRequest')
100
116
  CreateAIAgentResponse = Shapes::StructureShape.new(name: 'CreateAIAgentResponse')
101
117
  CreateAIAgentVersionRequest = Shapes::StructureShape.new(name: 'CreateAIAgentVersionRequest')
102
118
  CreateAIAgentVersionResponse = Shapes::StructureShape.new(name: 'CreateAIAgentVersionResponse')
119
+ CreateAIGuardrailRequest = Shapes::StructureShape.new(name: 'CreateAIGuardrailRequest')
120
+ CreateAIGuardrailResponse = Shapes::StructureShape.new(name: 'CreateAIGuardrailResponse')
121
+ CreateAIGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateAIGuardrailVersionRequest')
122
+ CreateAIGuardrailVersionResponse = Shapes::StructureShape.new(name: 'CreateAIGuardrailVersionResponse')
103
123
  CreateAIPromptRequest = Shapes::StructureShape.new(name: 'CreateAIPromptRequest')
104
124
  CreateAIPromptResponse = Shapes::StructureShape.new(name: 'CreateAIPromptResponse')
105
125
  CreateAIPromptVersionRequest = Shapes::StructureShape.new(name: 'CreateAIPromptVersionRequest')
@@ -136,6 +156,10 @@ module Aws::QConnect
136
156
  DeleteAIAgentResponse = Shapes::StructureShape.new(name: 'DeleteAIAgentResponse')
137
157
  DeleteAIAgentVersionRequest = Shapes::StructureShape.new(name: 'DeleteAIAgentVersionRequest')
138
158
  DeleteAIAgentVersionResponse = Shapes::StructureShape.new(name: 'DeleteAIAgentVersionResponse')
159
+ DeleteAIGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteAIGuardrailRequest')
160
+ DeleteAIGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteAIGuardrailResponse')
161
+ DeleteAIGuardrailVersionRequest = Shapes::StructureShape.new(name: 'DeleteAIGuardrailVersionRequest')
162
+ DeleteAIGuardrailVersionResponse = Shapes::StructureShape.new(name: 'DeleteAIGuardrailVersionResponse')
139
163
  DeleteAIPromptRequest = Shapes::StructureShape.new(name: 'DeleteAIPromptRequest')
140
164
  DeleteAIPromptResponse = Shapes::StructureShape.new(name: 'DeleteAIPromptResponse')
141
165
  DeleteAIPromptVersionRequest = Shapes::StructureShape.new(name: 'DeleteAIPromptVersionRequest')
@@ -184,6 +208,8 @@ module Aws::QConnect
184
208
  GenericArn = Shapes::StringShape.new(name: 'GenericArn')
185
209
  GetAIAgentRequest = Shapes::StructureShape.new(name: 'GetAIAgentRequest')
186
210
  GetAIAgentResponse = Shapes::StructureShape.new(name: 'GetAIAgentResponse')
211
+ GetAIGuardrailRequest = Shapes::StructureShape.new(name: 'GetAIGuardrailRequest')
212
+ GetAIGuardrailResponse = Shapes::StructureShape.new(name: 'GetAIGuardrailResponse')
187
213
  GetAIPromptRequest = Shapes::StructureShape.new(name: 'GetAIPromptRequest')
188
214
  GetAIPromptResponse = Shapes::StructureShape.new(name: 'GetAIPromptResponse')
189
215
  GetAssistantAssociationRequest = Shapes::StructureShape.new(name: 'GetAssistantAssociationRequest')
@@ -202,6 +228,8 @@ module Aws::QConnect
202
228
  GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
203
229
  GetMessageTemplateRequest = Shapes::StructureShape.new(name: 'GetMessageTemplateRequest')
204
230
  GetMessageTemplateResponse = Shapes::StructureShape.new(name: 'GetMessageTemplateResponse')
231
+ GetNextMessageRequest = Shapes::StructureShape.new(name: 'GetNextMessageRequest')
232
+ GetNextMessageResponse = Shapes::StructureShape.new(name: 'GetNextMessageResponse')
205
233
  GetQuickResponseRequest = Shapes::StructureShape.new(name: 'GetQuickResponseRequest')
206
234
  GetQuickResponseResponse = Shapes::StructureShape.new(name: 'GetQuickResponseResponse')
207
235
  GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
@@ -212,6 +240,36 @@ module Aws::QConnect
212
240
  GroupingCriteria = Shapes::StringShape.new(name: 'GroupingCriteria')
213
241
  GroupingValue = Shapes::StringShape.new(name: 'GroupingValue')
214
242
  GroupingValues = Shapes::ListShape.new(name: 'GroupingValues')
243
+ GuardrailContentFilterConfig = Shapes::StructureShape.new(name: 'GuardrailContentFilterConfig')
244
+ GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
245
+ GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
246
+ GuardrailContextualGroundingFilterConfig = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingFilterConfig')
247
+ GuardrailContextualGroundingFilterThreshold = Shapes::FloatShape.new(name: 'GuardrailContextualGroundingFilterThreshold')
248
+ GuardrailContextualGroundingFilterType = Shapes::StringShape.new(name: 'GuardrailContextualGroundingFilterType')
249
+ GuardrailContextualGroundingFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContextualGroundingFiltersConfig')
250
+ GuardrailFilterStrength = Shapes::StringShape.new(name: 'GuardrailFilterStrength')
251
+ GuardrailManagedWordListsConfig = Shapes::ListShape.new(name: 'GuardrailManagedWordListsConfig')
252
+ GuardrailManagedWordsConfig = Shapes::StructureShape.new(name: 'GuardrailManagedWordsConfig')
253
+ GuardrailManagedWordsType = Shapes::StringShape.new(name: 'GuardrailManagedWordsType')
254
+ GuardrailPiiEntitiesConfig = Shapes::ListShape.new(name: 'GuardrailPiiEntitiesConfig')
255
+ GuardrailPiiEntityConfig = Shapes::StructureShape.new(name: 'GuardrailPiiEntityConfig')
256
+ GuardrailPiiEntityType = Shapes::StringShape.new(name: 'GuardrailPiiEntityType')
257
+ GuardrailRegexConfig = Shapes::StructureShape.new(name: 'GuardrailRegexConfig')
258
+ GuardrailRegexDescription = Shapes::StringShape.new(name: 'GuardrailRegexDescription')
259
+ GuardrailRegexName = Shapes::StringShape.new(name: 'GuardrailRegexName')
260
+ GuardrailRegexPattern = Shapes::StringShape.new(name: 'GuardrailRegexPattern')
261
+ GuardrailRegexesConfig = Shapes::ListShape.new(name: 'GuardrailRegexesConfig')
262
+ GuardrailSensitiveInformationAction = Shapes::StringShape.new(name: 'GuardrailSensitiveInformationAction')
263
+ GuardrailTopicConfig = Shapes::StructureShape.new(name: 'GuardrailTopicConfig')
264
+ GuardrailTopicDefinition = Shapes::StringShape.new(name: 'GuardrailTopicDefinition')
265
+ GuardrailTopicExample = Shapes::StringShape.new(name: 'GuardrailTopicExample')
266
+ GuardrailTopicExamples = Shapes::ListShape.new(name: 'GuardrailTopicExamples')
267
+ GuardrailTopicName = Shapes::StringShape.new(name: 'GuardrailTopicName')
268
+ GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
269
+ GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
270
+ GuardrailWordConfig = Shapes::StructureShape.new(name: 'GuardrailWordConfig')
271
+ GuardrailWordText = Shapes::StringShape.new(name: 'GuardrailWordText')
272
+ GuardrailWordsConfig = Shapes::ListShape.new(name: 'GuardrailWordsConfig')
215
273
  Headers = Shapes::MapShape.new(name: 'Headers')
216
274
  HierarchicalChunkingConfiguration = Shapes::StructureShape.new(name: 'HierarchicalChunkingConfiguration')
217
275
  HierarchicalChunkingConfigurationOverlapTokensInteger = Shapes::IntegerShape.new(name: 'HierarchicalChunkingConfigurationOverlapTokensInteger')
@@ -226,6 +284,7 @@ module Aws::QConnect
226
284
  ImportJobStatus = Shapes::StringShape.new(name: 'ImportJobStatus')
227
285
  ImportJobSummary = Shapes::StructureShape.new(name: 'ImportJobSummary')
228
286
  ImportJobType = Shapes::StringShape.new(name: 'ImportJobType')
287
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
229
288
  IntentDetectedDataDetails = Shapes::StructureShape.new(name: 'IntentDetectedDataDetails')
230
289
  IntentInputData = Shapes::StructureShape.new(name: 'IntentInputData')
231
290
  KnowledgeBaseAssociationConfigurationData = Shapes::StructureShape.new(name: 'KnowledgeBaseAssociationConfigurationData')
@@ -241,6 +300,10 @@ module Aws::QConnect
241
300
  ListAIAgentVersionsResponse = Shapes::StructureShape.new(name: 'ListAIAgentVersionsResponse')
242
301
  ListAIAgentsRequest = Shapes::StructureShape.new(name: 'ListAIAgentsRequest')
243
302
  ListAIAgentsResponse = Shapes::StructureShape.new(name: 'ListAIAgentsResponse')
303
+ ListAIGuardrailVersionsRequest = Shapes::StructureShape.new(name: 'ListAIGuardrailVersionsRequest')
304
+ ListAIGuardrailVersionsResponse = Shapes::StructureShape.new(name: 'ListAIGuardrailVersionsResponse')
305
+ ListAIGuardrailsRequest = Shapes::StructureShape.new(name: 'ListAIGuardrailsRequest')
306
+ ListAIGuardrailsResponse = Shapes::StructureShape.new(name: 'ListAIGuardrailsResponse')
244
307
  ListAIPromptVersionsRequest = Shapes::StructureShape.new(name: 'ListAIPromptVersionsRequest')
245
308
  ListAIPromptVersionsResponse = Shapes::StructureShape.new(name: 'ListAIPromptVersionsResponse')
246
309
  ListAIPromptsRequest = Shapes::StructureShape.new(name: 'ListAIPromptsRequest')
@@ -261,6 +324,8 @@ module Aws::QConnect
261
324
  ListMessageTemplateVersionsResponse = Shapes::StructureShape.new(name: 'ListMessageTemplateVersionsResponse')
262
325
  ListMessageTemplatesRequest = Shapes::StructureShape.new(name: 'ListMessageTemplatesRequest')
263
326
  ListMessageTemplatesResponse = Shapes::StructureShape.new(name: 'ListMessageTemplatesResponse')
327
+ ListMessagesRequest = Shapes::StructureShape.new(name: 'ListMessagesRequest')
328
+ ListMessagesResponse = Shapes::StructureShape.new(name: 'ListMessagesResponse')
264
329
  ListQuickResponsesRequest = Shapes::StructureShape.new(name: 'ListQuickResponsesRequest')
265
330
  ListQuickResponsesResponse = Shapes::StructureShape.new(name: 'ListQuickResponsesResponse')
266
331
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -269,6 +334,10 @@ module Aws::QConnect
269
334
  ManagedSourceConfiguration = Shapes::UnionShape.new(name: 'ManagedSourceConfiguration')
270
335
  ManualSearchAIAgentConfiguration = Shapes::StructureShape.new(name: 'ManualSearchAIAgentConfiguration')
271
336
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
337
+ MessageData = Shapes::UnionShape.new(name: 'MessageData')
338
+ MessageInput = Shapes::StructureShape.new(name: 'MessageInput')
339
+ MessageList = Shapes::ListShape.new(name: 'MessageList')
340
+ MessageOutput = Shapes::StructureShape.new(name: 'MessageOutput')
272
341
  MessageTemplateAttachment = Shapes::StructureShape.new(name: 'MessageTemplateAttachment')
273
342
  MessageTemplateAttachmentList = Shapes::ListShape.new(name: 'MessageTemplateAttachmentList')
274
343
  MessageTemplateAttributeKey = Shapes::StringShape.new(name: 'MessageTemplateAttributeKey')
@@ -299,6 +368,7 @@ module Aws::QConnect
299
368
  MessageTemplateSummaryList = Shapes::ListShape.new(name: 'MessageTemplateSummaryList')
300
369
  MessageTemplateVersionSummary = Shapes::StructureShape.new(name: 'MessageTemplateVersionSummary')
301
370
  MessageTemplateVersionSummaryList = Shapes::ListShape.new(name: 'MessageTemplateVersionSummaryList')
371
+ MessageType = Shapes::StringShape.new(name: 'MessageType')
302
372
  Name = Shapes::StringShape.new(name: 'Name')
303
373
  NextToken = Shapes::StringShape.new(name: 'NextToken')
304
374
  NonEmptySensitiveString = Shapes::StringShape.new(name: 'NonEmptySensitiveString')
@@ -318,6 +388,7 @@ module Aws::QConnect
318
388
  ParsingPrompt = Shapes::StructureShape.new(name: 'ParsingPrompt')
319
389
  ParsingPromptText = Shapes::StringShape.new(name: 'ParsingPromptText')
320
390
  ParsingStrategy = Shapes::StringShape.new(name: 'ParsingStrategy')
391
+ Participant = Shapes::StringShape.new(name: 'Participant')
321
392
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
322
393
  Priority = Shapes::StringShape.new(name: 'Priority')
323
394
  PutFeedbackRequest = Shapes::StructureShape.new(name: 'PutFeedbackRequest')
@@ -401,10 +472,15 @@ module Aws::QConnect
401
472
  SearchSessionsResponse = Shapes::StructureShape.new(name: 'SearchSessionsResponse')
402
473
  SeedUrl = Shapes::StructureShape.new(name: 'SeedUrl')
403
474
  SeedUrls = Shapes::ListShape.new(name: 'SeedUrls')
475
+ SelfServiceAIAgentConfiguration = Shapes::StructureShape.new(name: 'SelfServiceAIAgentConfiguration')
476
+ SelfServiceConversationHistory = Shapes::StructureShape.new(name: 'SelfServiceConversationHistory')
477
+ SelfServiceConversationHistoryList = Shapes::ListShape.new(name: 'SelfServiceConversationHistoryList')
404
478
  SemanticChunkingConfiguration = Shapes::StructureShape.new(name: 'SemanticChunkingConfiguration')
405
479
  SemanticChunkingConfigurationBreakpointPercentileThresholdInteger = Shapes::IntegerShape.new(name: 'SemanticChunkingConfigurationBreakpointPercentileThresholdInteger')
406
480
  SemanticChunkingConfigurationBufferSizeInteger = Shapes::IntegerShape.new(name: 'SemanticChunkingConfigurationBufferSizeInteger')
407
481
  SemanticChunkingConfigurationMaxTokensInteger = Shapes::IntegerShape.new(name: 'SemanticChunkingConfigurationMaxTokensInteger')
482
+ SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
483
+ SendMessageResponse = Shapes::StructureShape.new(name: 'SendMessageResponse')
408
484
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
409
485
  ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
410
486
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -440,6 +516,8 @@ module Aws::QConnect
440
516
  TextAIPrompt = Shapes::StringShape.new(name: 'TextAIPrompt')
441
517
  TextData = Shapes::StructureShape.new(name: 'TextData')
442
518
  TextFullAIPromptEditTemplateConfiguration = Shapes::StructureShape.new(name: 'TextFullAIPromptEditTemplateConfiguration')
519
+ TextMessage = Shapes::StructureShape.new(name: 'TextMessage')
520
+ TextMessageValueString = Shapes::StringShape.new(name: 'TextMessageValueString')
443
521
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
444
522
  TimeToLive = Shapes::IntegerShape.new(name: 'TimeToLive')
445
523
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -448,6 +526,8 @@ module Aws::QConnect
448
526
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
449
527
  UpdateAIAgentRequest = Shapes::StructureShape.new(name: 'UpdateAIAgentRequest')
450
528
  UpdateAIAgentResponse = Shapes::StructureShape.new(name: 'UpdateAIAgentResponse')
529
+ UpdateAIGuardrailRequest = Shapes::StructureShape.new(name: 'UpdateAIGuardrailRequest')
530
+ UpdateAIGuardrailResponse = Shapes::StructureShape.new(name: 'UpdateAIGuardrailResponse')
451
531
  UpdateAIPromptRequest = Shapes::StructureShape.new(name: 'UpdateAIPromptRequest')
452
532
  UpdateAIPromptResponse = Shapes::StructureShape.new(name: 'UpdateAIPromptResponse')
453
533
  UpdateAssistantAIAgentRequest = Shapes::StructureShape.new(name: 'UpdateAssistantAIAgentRequest')
@@ -489,9 +569,11 @@ module Aws::QConnect
489
569
 
490
570
  AIAgentConfiguration.add_member(:answer_recommendation_ai_agent_configuration, Shapes::ShapeRef.new(shape: AnswerRecommendationAIAgentConfiguration, location_name: "answerRecommendationAIAgentConfiguration"))
491
571
  AIAgentConfiguration.add_member(:manual_search_ai_agent_configuration, Shapes::ShapeRef.new(shape: ManualSearchAIAgentConfiguration, location_name: "manualSearchAIAgentConfiguration"))
572
+ AIAgentConfiguration.add_member(:self_service_ai_agent_configuration, Shapes::ShapeRef.new(shape: SelfServiceAIAgentConfiguration, location_name: "selfServiceAIAgentConfiguration"))
492
573
  AIAgentConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
493
574
  AIAgentConfiguration.add_member_subclass(:answer_recommendation_ai_agent_configuration, Types::AIAgentConfiguration::AnswerRecommendationAiAgentConfiguration)
494
575
  AIAgentConfiguration.add_member_subclass(:manual_search_ai_agent_configuration, Types::AIAgentConfiguration::ManualSearchAiAgentConfiguration)
576
+ AIAgentConfiguration.add_member_subclass(:self_service_ai_agent_configuration, Types::AIAgentConfiguration::SelfServiceAiAgentConfiguration)
495
577
  AIAgentConfiguration.add_member_subclass(:unknown, Types::AIAgentConfiguration::Unknown)
496
578
  AIAgentConfiguration.struct_class = Types::AIAgentConfiguration
497
579
 
@@ -539,6 +621,62 @@ module Aws::QConnect
539
621
  AIAgentVersionSummary.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
540
622
  AIAgentVersionSummary.struct_class = Types::AIAgentVersionSummary
541
623
 
624
+ AIGuardrailContentPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersConfig, required: true, location_name: "filtersConfig"))
625
+ AIGuardrailContentPolicyConfig.struct_class = Types::AIGuardrailContentPolicyConfig
626
+
627
+ AIGuardrailContextualGroundingPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFiltersConfig, required: true, location_name: "filtersConfig"))
628
+ AIGuardrailContextualGroundingPolicyConfig.struct_class = Types::AIGuardrailContextualGroundingPolicyConfig
629
+
630
+ AIGuardrailData.add_member(:ai_guardrail_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "aiGuardrailArn"))
631
+ AIGuardrailData.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "aiGuardrailId"))
632
+ AIGuardrailData.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
633
+ AIGuardrailData.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
634
+ AIGuardrailData.add_member(:blocked_input_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedInputMessaging"))
635
+ AIGuardrailData.add_member(:blocked_outputs_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedOutputsMessaging"))
636
+ AIGuardrailData.add_member(:content_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContentPolicyConfig, location_name: "contentPolicyConfig"))
637
+ AIGuardrailData.add_member(:contextual_grounding_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContextualGroundingPolicyConfig, location_name: "contextualGroundingPolicyConfig"))
638
+ AIGuardrailData.add_member(:description, Shapes::ShapeRef.new(shape: AIGuardrailDescription, location_name: "description"))
639
+ AIGuardrailData.add_member(:modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedTime"))
640
+ AIGuardrailData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
641
+ AIGuardrailData.add_member(:sensitive_information_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailSensitiveInformationPolicyConfig, location_name: "sensitiveInformationPolicyConfig"))
642
+ AIGuardrailData.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
643
+ AIGuardrailData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
644
+ AIGuardrailData.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
645
+ AIGuardrailData.add_member(:visibility_status, Shapes::ShapeRef.new(shape: VisibilityStatus, required: true, location_name: "visibilityStatus"))
646
+ AIGuardrailData.add_member(:word_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailWordPolicyConfig, location_name: "wordPolicyConfig"))
647
+ AIGuardrailData.struct_class = Types::AIGuardrailData
648
+
649
+ AIGuardrailSensitiveInformationPolicyConfig.add_member(:pii_entities_config, Shapes::ShapeRef.new(shape: GuardrailPiiEntitiesConfig, location_name: "piiEntitiesConfig"))
650
+ AIGuardrailSensitiveInformationPolicyConfig.add_member(:regexes_config, Shapes::ShapeRef.new(shape: GuardrailRegexesConfig, location_name: "regexesConfig"))
651
+ AIGuardrailSensitiveInformationPolicyConfig.struct_class = Types::AIGuardrailSensitiveInformationPolicyConfig
652
+
653
+ AIGuardrailSummariesList.member = Shapes::ShapeRef.new(shape: AIGuardrailSummary)
654
+
655
+ AIGuardrailSummary.add_member(:ai_guardrail_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "aiGuardrailArn"))
656
+ AIGuardrailSummary.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "aiGuardrailId"))
657
+ AIGuardrailSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
658
+ AIGuardrailSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
659
+ AIGuardrailSummary.add_member(:description, Shapes::ShapeRef.new(shape: AIGuardrailDescription, location_name: "description"))
660
+ AIGuardrailSummary.add_member(:modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedTime"))
661
+ AIGuardrailSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
662
+ AIGuardrailSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
663
+ AIGuardrailSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
664
+ AIGuardrailSummary.add_member(:visibility_status, Shapes::ShapeRef.new(shape: VisibilityStatus, required: true, location_name: "visibilityStatus"))
665
+ AIGuardrailSummary.struct_class = Types::AIGuardrailSummary
666
+
667
+ AIGuardrailTopicPolicyConfig.add_member(:topics_config, Shapes::ShapeRef.new(shape: GuardrailTopicsConfig, required: true, location_name: "topicsConfig"))
668
+ AIGuardrailTopicPolicyConfig.struct_class = Types::AIGuardrailTopicPolicyConfig
669
+
670
+ AIGuardrailVersionSummariesList.member = Shapes::ShapeRef.new(shape: AIGuardrailVersionSummary)
671
+
672
+ AIGuardrailVersionSummary.add_member(:ai_guardrail_summary, Shapes::ShapeRef.new(shape: AIGuardrailSummary, location_name: "aiGuardrailSummary"))
673
+ AIGuardrailVersionSummary.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
674
+ AIGuardrailVersionSummary.struct_class = Types::AIGuardrailVersionSummary
675
+
676
+ AIGuardrailWordPolicyConfig.add_member(:managed_word_lists_config, Shapes::ShapeRef.new(shape: GuardrailManagedWordListsConfig, location_name: "managedWordListsConfig"))
677
+ AIGuardrailWordPolicyConfig.add_member(:words_config, Shapes::ShapeRef.new(shape: GuardrailWordsConfig, location_name: "wordsConfig"))
678
+ AIGuardrailWordPolicyConfig.struct_class = Types::AIGuardrailWordPolicyConfig
679
+
542
680
  AIPromptData.add_member(:ai_prompt_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "aiPromptArn"))
543
681
  AIPromptData.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "aiPromptId"))
544
682
  AIPromptData.add_member(:api_format, Shapes::ShapeRef.new(shape: AIPromptAPIFormat, required: true, location_name: "apiFormat"))
@@ -610,9 +748,11 @@ module Aws::QConnect
610
748
 
611
749
  AndConditions.member = Shapes::ShapeRef.new(shape: TagCondition)
612
750
 
751
+ AnswerRecommendationAIAgentConfiguration.add_member(:answer_generation_ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "answerGenerationAIGuardrailId"))
613
752
  AnswerRecommendationAIAgentConfiguration.add_member(:answer_generation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "answerGenerationAIPromptId"))
614
753
  AnswerRecommendationAIAgentConfiguration.add_member(:association_configurations, Shapes::ShapeRef.new(shape: AssociationConfigurationList, location_name: "associationConfigurations"))
615
754
  AnswerRecommendationAIAgentConfiguration.add_member(:intent_labeling_generation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "intentLabelingGenerationAIPromptId"))
755
+ AnswerRecommendationAIAgentConfiguration.add_member(:locale, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "locale"))
616
756
  AnswerRecommendationAIAgentConfiguration.add_member(:query_reformulation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "queryReformulationAIPromptId"))
617
757
  AnswerRecommendationAIAgentConfiguration.struct_class = Types::AnswerRecommendationAIAgentConfiguration
618
758
 
@@ -814,6 +954,13 @@ module Aws::QConnect
814
954
 
815
955
  ContentSummaryList.member = Shapes::ShapeRef.new(shape: ContentSummary)
816
956
 
957
+ ConversationContext.add_member(:self_service_conversation_history, Shapes::ShapeRef.new(shape: SelfServiceConversationHistoryList, required: true, location_name: "selfServiceConversationHistory"))
958
+ ConversationContext.struct_class = Types::ConversationContext
959
+
960
+ ConversationState.add_member(:reason, Shapes::ShapeRef.new(shape: ConversationStatusReason, location_name: "reason"))
961
+ ConversationState.add_member(:status, Shapes::ShapeRef.new(shape: ConversationStatus, required: true, location_name: "status"))
962
+ ConversationState.struct_class = Types::ConversationState
963
+
817
964
  CreateAIAgentRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
818
965
  CreateAIAgentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
819
966
  CreateAIAgentRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: AIAgentConfiguration, required: true, location_name: "configuration"))
@@ -837,6 +984,34 @@ module Aws::QConnect
837
984
  CreateAIAgentVersionResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
838
985
  CreateAIAgentVersionResponse.struct_class = Types::CreateAIAgentVersionResponse
839
986
 
987
+ CreateAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
988
+ CreateAIGuardrailRequest.add_member(:blocked_input_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedInputMessaging"))
989
+ CreateAIGuardrailRequest.add_member(:blocked_outputs_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedOutputsMessaging"))
990
+ CreateAIGuardrailRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
991
+ CreateAIGuardrailRequest.add_member(:content_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContentPolicyConfig, location_name: "contentPolicyConfig"))
992
+ CreateAIGuardrailRequest.add_member(:contextual_grounding_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContextualGroundingPolicyConfig, location_name: "contextualGroundingPolicyConfig"))
993
+ CreateAIGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: AIGuardrailDescription, location_name: "description"))
994
+ CreateAIGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
995
+ CreateAIGuardrailRequest.add_member(:sensitive_information_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailSensitiveInformationPolicyConfig, location_name: "sensitiveInformationPolicyConfig"))
996
+ CreateAIGuardrailRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
997
+ CreateAIGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
998
+ CreateAIGuardrailRequest.add_member(:visibility_status, Shapes::ShapeRef.new(shape: VisibilityStatus, required: true, location_name: "visibilityStatus"))
999
+ CreateAIGuardrailRequest.add_member(:word_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailWordPolicyConfig, location_name: "wordPolicyConfig"))
1000
+ CreateAIGuardrailRequest.struct_class = Types::CreateAIGuardrailRequest
1001
+
1002
+ CreateAIGuardrailResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
1003
+ CreateAIGuardrailResponse.struct_class = Types::CreateAIGuardrailResponse
1004
+
1005
+ CreateAIGuardrailVersionRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1006
+ CreateAIGuardrailVersionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1007
+ CreateAIGuardrailVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1008
+ CreateAIGuardrailVersionRequest.add_member(:modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedTime"))
1009
+ CreateAIGuardrailVersionRequest.struct_class = Types::CreateAIGuardrailVersionRequest
1010
+
1011
+ CreateAIGuardrailVersionResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
1012
+ CreateAIGuardrailVersionResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
1013
+ CreateAIGuardrailVersionResponse.struct_class = Types::CreateAIGuardrailVersionResponse
1014
+
840
1015
  CreateAIPromptRequest.add_member(:api_format, Shapes::ShapeRef.new(shape: AIPromptAPIFormat, required: true, location_name: "apiFormat"))
841
1016
  CreateAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
842
1017
  CreateAIPromptRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -1097,6 +1272,19 @@ module Aws::QConnect
1097
1272
 
1098
1273
  DeleteAIAgentVersionResponse.struct_class = Types::DeleteAIAgentVersionResponse
1099
1274
 
1275
+ DeleteAIGuardrailRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1276
+ DeleteAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1277
+ DeleteAIGuardrailRequest.struct_class = Types::DeleteAIGuardrailRequest
1278
+
1279
+ DeleteAIGuardrailResponse.struct_class = Types::DeleteAIGuardrailResponse
1280
+
1281
+ DeleteAIGuardrailVersionRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1282
+ DeleteAIGuardrailVersionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1283
+ DeleteAIGuardrailVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "versionNumber"))
1284
+ DeleteAIGuardrailVersionRequest.struct_class = Types::DeleteAIGuardrailVersionRequest
1285
+
1286
+ DeleteAIGuardrailVersionResponse.struct_class = Types::DeleteAIGuardrailVersionResponse
1287
+
1100
1288
  DeleteAIPromptRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
1101
1289
  DeleteAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1102
1290
  DeleteAIPromptRequest.struct_class = Types::DeleteAIPromptRequest
@@ -1247,6 +1435,14 @@ module Aws::QConnect
1247
1435
  GetAIAgentResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
1248
1436
  GetAIAgentResponse.struct_class = Types::GetAIAgentResponse
1249
1437
 
1438
+ GetAIGuardrailRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1439
+ GetAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1440
+ GetAIGuardrailRequest.struct_class = Types::GetAIGuardrailRequest
1441
+
1442
+ GetAIGuardrailResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
1443
+ GetAIGuardrailResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
1444
+ GetAIGuardrailResponse.struct_class = Types::GetAIGuardrailResponse
1445
+
1250
1446
  GetAIPromptRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
1251
1447
  GetAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1252
1448
  GetAIPromptRequest.struct_class = Types::GetAIPromptRequest
@@ -1310,6 +1506,19 @@ module Aws::QConnect
1310
1506
  GetMessageTemplateResponse.add_member(:message_template, Shapes::ShapeRef.new(shape: ExtendedMessageTemplateData, location_name: "messageTemplate"))
1311
1507
  GetMessageTemplateResponse.struct_class = Types::GetMessageTemplateResponse
1312
1508
 
1509
+ GetNextMessageRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1510
+ GetNextMessageRequest.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location: "querystring", location_name: "nextMessageToken"))
1511
+ GetNextMessageRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
1512
+ GetNextMessageRequest.struct_class = Types::GetNextMessageRequest
1513
+
1514
+ GetNextMessageResponse.add_member(:conversation_session_data, Shapes::ShapeRef.new(shape: RuntimeSessionDataList, location_name: "conversationSessionData"))
1515
+ GetNextMessageResponse.add_member(:conversation_state, Shapes::ShapeRef.new(shape: ConversationState, required: true, location_name: "conversationState"))
1516
+ GetNextMessageResponse.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextMessageToken"))
1517
+ GetNextMessageResponse.add_member(:request_message_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "requestMessageId"))
1518
+ GetNextMessageResponse.add_member(:response, Shapes::ShapeRef.new(shape: MessageOutput, required: true, location_name: "response"))
1519
+ GetNextMessageResponse.add_member(:type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "type"))
1520
+ GetNextMessageResponse.struct_class = Types::GetNextMessageResponse
1521
+
1313
1522
  GetQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1314
1523
  GetQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
1315
1524
  GetQuickResponseRequest.struct_class = Types::GetQuickResponseRequest
@@ -1340,6 +1549,53 @@ module Aws::QConnect
1340
1549
 
1341
1550
  GroupingValues.member = Shapes::ShapeRef.new(shape: GroupingValue)
1342
1551
 
1552
+ GuardrailContentFilterConfig.add_member(:input_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "inputStrength"))
1553
+ GuardrailContentFilterConfig.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
1554
+ GuardrailContentFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
1555
+ GuardrailContentFilterConfig.struct_class = Types::GuardrailContentFilterConfig
1556
+
1557
+ GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
1558
+
1559
+ GuardrailContextualGroundingFilterConfig.add_member(:threshold, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterThreshold, required: true, location_name: "threshold"))
1560
+ GuardrailContextualGroundingFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
1561
+ GuardrailContextualGroundingFilterConfig.struct_class = Types::GuardrailContextualGroundingFilterConfig
1562
+
1563
+ GuardrailContextualGroundingFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterConfig)
1564
+
1565
+ GuardrailManagedWordListsConfig.member = Shapes::ShapeRef.new(shape: GuardrailManagedWordsConfig)
1566
+
1567
+ GuardrailManagedWordsConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
1568
+ GuardrailManagedWordsConfig.struct_class = Types::GuardrailManagedWordsConfig
1569
+
1570
+ GuardrailPiiEntitiesConfig.member = Shapes::ShapeRef.new(shape: GuardrailPiiEntityConfig)
1571
+
1572
+ GuardrailPiiEntityConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
1573
+ GuardrailPiiEntityConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailPiiEntityType, required: true, location_name: "type"))
1574
+ GuardrailPiiEntityConfig.struct_class = Types::GuardrailPiiEntityConfig
1575
+
1576
+ GuardrailRegexConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
1577
+ GuardrailRegexConfig.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailRegexDescription, location_name: "description"))
1578
+ GuardrailRegexConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailRegexName, required: true, location_name: "name"))
1579
+ GuardrailRegexConfig.add_member(:pattern, Shapes::ShapeRef.new(shape: GuardrailRegexPattern, required: true, location_name: "pattern"))
1580
+ GuardrailRegexConfig.struct_class = Types::GuardrailRegexConfig
1581
+
1582
+ GuardrailRegexesConfig.member = Shapes::ShapeRef.new(shape: GuardrailRegexConfig)
1583
+
1584
+ GuardrailTopicConfig.add_member(:definition, Shapes::ShapeRef.new(shape: GuardrailTopicDefinition, required: true, location_name: "definition"))
1585
+ GuardrailTopicConfig.add_member(:examples, Shapes::ShapeRef.new(shape: GuardrailTopicExamples, location_name: "examples"))
1586
+ GuardrailTopicConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailTopicName, required: true, location_name: "name"))
1587
+ GuardrailTopicConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailTopicType, required: true, location_name: "type"))
1588
+ GuardrailTopicConfig.struct_class = Types::GuardrailTopicConfig
1589
+
1590
+ GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
1591
+
1592
+ GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
1593
+
1594
+ GuardrailWordConfig.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordText, required: true, location_name: "text"))
1595
+ GuardrailWordConfig.struct_class = Types::GuardrailWordConfig
1596
+
1597
+ GuardrailWordsConfig.member = Shapes::ShapeRef.new(shape: GuardrailWordConfig)
1598
+
1343
1599
  Headers.key = Shapes::ShapeRef.new(shape: NonEmptyString)
1344
1600
  Headers.value = Shapes::ShapeRef.new(shape: NonEmptyString)
1345
1601
 
@@ -1455,6 +1711,25 @@ module Aws::QConnect
1455
1711
  ListAIAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1456
1712
  ListAIAgentsResponse.struct_class = Types::ListAIAgentsResponse
1457
1713
 
1714
+ ListAIGuardrailVersionsRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1715
+ ListAIGuardrailVersionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1716
+ ListAIGuardrailVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1717
+ ListAIGuardrailVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1718
+ ListAIGuardrailVersionsRequest.struct_class = Types::ListAIGuardrailVersionsRequest
1719
+
1720
+ ListAIGuardrailVersionsResponse.add_member(:ai_guardrail_version_summaries, Shapes::ShapeRef.new(shape: AIGuardrailVersionSummariesList, required: true, location_name: "aiGuardrailVersionSummaries"))
1721
+ ListAIGuardrailVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1722
+ ListAIGuardrailVersionsResponse.struct_class = Types::ListAIGuardrailVersionsResponse
1723
+
1724
+ ListAIGuardrailsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1725
+ ListAIGuardrailsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1726
+ ListAIGuardrailsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1727
+ ListAIGuardrailsRequest.struct_class = Types::ListAIGuardrailsRequest
1728
+
1729
+ ListAIGuardrailsResponse.add_member(:ai_guardrail_summaries, Shapes::ShapeRef.new(shape: AIGuardrailSummariesList, required: true, location_name: "aiGuardrailSummaries"))
1730
+ ListAIGuardrailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1731
+ ListAIGuardrailsResponse.struct_class = Types::ListAIGuardrailsResponse
1732
+
1458
1733
  ListAIPromptVersionsRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
1459
1734
  ListAIPromptVersionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1460
1735
  ListAIPromptVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1548,6 +1823,16 @@ module Aws::QConnect
1548
1823
  ListMessageTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1549
1824
  ListMessageTemplatesResponse.struct_class = Types::ListMessageTemplatesResponse
1550
1825
 
1826
+ ListMessagesRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1827
+ ListMessagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1828
+ ListMessagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1829
+ ListMessagesRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
1830
+ ListMessagesRequest.struct_class = Types::ListMessagesRequest
1831
+
1832
+ ListMessagesResponse.add_member(:messages, Shapes::ShapeRef.new(shape: MessageList, required: true, location_name: "messages"))
1833
+ ListMessagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1834
+ ListMessagesResponse.struct_class = Types::ListMessagesResponse
1835
+
1551
1836
  ListQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1552
1837
  ListQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1553
1838
  ListQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
@@ -1569,10 +1854,29 @@ module Aws::QConnect
1569
1854
  ManagedSourceConfiguration.add_member_subclass(:unknown, Types::ManagedSourceConfiguration::Unknown)
1570
1855
  ManagedSourceConfiguration.struct_class = Types::ManagedSourceConfiguration
1571
1856
 
1857
+ ManualSearchAIAgentConfiguration.add_member(:answer_generation_ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "answerGenerationAIGuardrailId"))
1572
1858
  ManualSearchAIAgentConfiguration.add_member(:answer_generation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "answerGenerationAIPromptId"))
1573
1859
  ManualSearchAIAgentConfiguration.add_member(:association_configurations, Shapes::ShapeRef.new(shape: AssociationConfigurationList, location_name: "associationConfigurations"))
1860
+ ManualSearchAIAgentConfiguration.add_member(:locale, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "locale"))
1574
1861
  ManualSearchAIAgentConfiguration.struct_class = Types::ManualSearchAIAgentConfiguration
1575
1862
 
1863
+ MessageData.add_member(:text, Shapes::ShapeRef.new(shape: TextMessage, location_name: "text"))
1864
+ MessageData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1865
+ MessageData.add_member_subclass(:text, Types::MessageData::Text)
1866
+ MessageData.add_member_subclass(:unknown, Types::MessageData::Unknown)
1867
+ MessageData.struct_class = Types::MessageData
1868
+
1869
+ MessageInput.add_member(:value, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "value"))
1870
+ MessageInput.struct_class = Types::MessageInput
1871
+
1872
+ MessageList.member = Shapes::ShapeRef.new(shape: MessageOutput)
1873
+
1874
+ MessageOutput.add_member(:message_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "messageId"))
1875
+ MessageOutput.add_member(:participant, Shapes::ShapeRef.new(shape: Participant, required: true, location_name: "participant"))
1876
+ MessageOutput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
1877
+ MessageOutput.add_member(:value, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "value"))
1878
+ MessageOutput.struct_class = Types::MessageOutput
1879
+
1576
1880
  MessageTemplateAttachment.add_member(:attachment_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "attachmentId"))
1577
1881
  MessageTemplateAttachment.add_member(:content_disposition, Shapes::ShapeRef.new(shape: ContentDisposition, required: true, location_name: "contentDisposition"))
1578
1882
  MessageTemplateAttachment.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentFileName, required: true, location_name: "name"))
@@ -2040,11 +2344,36 @@ module Aws::QConnect
2040
2344
 
2041
2345
  SeedUrls.member = Shapes::ShapeRef.new(shape: SeedUrl)
2042
2346
 
2347
+ SelfServiceAIAgentConfiguration.add_member(:association_configurations, Shapes::ShapeRef.new(shape: AssociationConfigurationList, location_name: "associationConfigurations"))
2348
+ SelfServiceAIAgentConfiguration.add_member(:self_service_ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "selfServiceAIGuardrailId"))
2349
+ SelfServiceAIAgentConfiguration.add_member(:self_service_answer_generation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "selfServiceAnswerGenerationAIPromptId"))
2350
+ SelfServiceAIAgentConfiguration.add_member(:self_service_pre_processing_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "selfServicePreProcessingAIPromptId"))
2351
+ SelfServiceAIAgentConfiguration.struct_class = Types::SelfServiceAIAgentConfiguration
2352
+
2353
+ SelfServiceConversationHistory.add_member(:bot_response, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "botResponse"))
2354
+ SelfServiceConversationHistory.add_member(:input_transcript, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "inputTranscript"))
2355
+ SelfServiceConversationHistory.add_member(:turn_number, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "turnNumber"))
2356
+ SelfServiceConversationHistory.struct_class = Types::SelfServiceConversationHistory
2357
+
2358
+ SelfServiceConversationHistoryList.member = Shapes::ShapeRef.new(shape: SelfServiceConversationHistory)
2359
+
2043
2360
  SemanticChunkingConfiguration.add_member(:breakpoint_percentile_threshold, Shapes::ShapeRef.new(shape: SemanticChunkingConfigurationBreakpointPercentileThresholdInteger, required: true, location_name: "breakpointPercentileThreshold"))
2044
2361
  SemanticChunkingConfiguration.add_member(:buffer_size, Shapes::ShapeRef.new(shape: SemanticChunkingConfigurationBufferSizeInteger, required: true, location_name: "bufferSize"))
2045
2362
  SemanticChunkingConfiguration.add_member(:max_tokens, Shapes::ShapeRef.new(shape: SemanticChunkingConfigurationMaxTokensInteger, required: true, location_name: "maxTokens"))
2046
2363
  SemanticChunkingConfiguration.struct_class = Types::SemanticChunkingConfiguration
2047
2364
 
2365
+ SendMessageRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2366
+ SendMessageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2367
+ SendMessageRequest.add_member(:conversation_context, Shapes::ShapeRef.new(shape: ConversationContext, location_name: "conversationContext"))
2368
+ SendMessageRequest.add_member(:message, Shapes::ShapeRef.new(shape: MessageInput, required: true, location_name: "message"))
2369
+ SendMessageRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
2370
+ SendMessageRequest.add_member(:type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "type"))
2371
+ SendMessageRequest.struct_class = Types::SendMessageRequest
2372
+
2373
+ SendMessageResponse.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location_name: "nextMessageToken"))
2374
+ SendMessageResponse.add_member(:request_message_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "requestMessageId"))
2375
+ SendMessageResponse.struct_class = Types::SendMessageResponse
2376
+
2048
2377
  ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
2049
2378
  ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
2050
2379
 
@@ -2149,6 +2478,9 @@ module Aws::QConnect
2149
2478
  TextFullAIPromptEditTemplateConfiguration.add_member(:text, Shapes::ShapeRef.new(shape: TextAIPrompt, required: true, location_name: "text"))
2150
2479
  TextFullAIPromptEditTemplateConfiguration.struct_class = Types::TextFullAIPromptEditTemplateConfiguration
2151
2480
 
2481
+ TextMessage.add_member(:value, Shapes::ShapeRef.new(shape: TextMessageValueString, location_name: "value"))
2482
+ TextMessage.struct_class = Types::TextMessage
2483
+
2152
2484
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2153
2485
  ThrottlingException.struct_class = Types::ThrottlingException
2154
2486
 
@@ -2173,6 +2505,23 @@ module Aws::QConnect
2173
2505
  UpdateAIAgentResponse.add_member(:ai_agent, Shapes::ShapeRef.new(shape: AIAgentData, location_name: "aiAgent"))
2174
2506
  UpdateAIAgentResponse.struct_class = Types::UpdateAIAgentResponse
2175
2507
 
2508
+ UpdateAIGuardrailRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
2509
+ UpdateAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2510
+ UpdateAIGuardrailRequest.add_member(:blocked_input_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedInputMessaging"))
2511
+ UpdateAIGuardrailRequest.add_member(:blocked_outputs_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedOutputsMessaging"))
2512
+ UpdateAIGuardrailRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2513
+ UpdateAIGuardrailRequest.add_member(:content_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContentPolicyConfig, location_name: "contentPolicyConfig"))
2514
+ UpdateAIGuardrailRequest.add_member(:contextual_grounding_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContextualGroundingPolicyConfig, location_name: "contextualGroundingPolicyConfig"))
2515
+ UpdateAIGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: AIGuardrailDescription, location_name: "description"))
2516
+ UpdateAIGuardrailRequest.add_member(:sensitive_information_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailSensitiveInformationPolicyConfig, location_name: "sensitiveInformationPolicyConfig"))
2517
+ UpdateAIGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
2518
+ UpdateAIGuardrailRequest.add_member(:visibility_status, Shapes::ShapeRef.new(shape: VisibilityStatus, required: true, location_name: "visibilityStatus"))
2519
+ UpdateAIGuardrailRequest.add_member(:word_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailWordPolicyConfig, location_name: "wordPolicyConfig"))
2520
+ UpdateAIGuardrailRequest.struct_class = Types::UpdateAIGuardrailRequest
2521
+
2522
+ UpdateAIGuardrailResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
2523
+ UpdateAIGuardrailResponse.struct_class = Types::UpdateAIGuardrailResponse
2524
+
2176
2525
  UpdateAIPromptRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
2177
2526
  UpdateAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2178
2527
  UpdateAIPromptRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -2356,6 +2705,34 @@ module Aws::QConnect
2356
2705
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2357
2706
  end)
2358
2707
 
2708
+ api.add_operation(:create_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
2709
+ o.name = "CreateAIGuardrail"
2710
+ o.http_method = "POST"
2711
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails"
2712
+ o.input = Shapes::ShapeRef.new(shape: CreateAIGuardrailRequest)
2713
+ o.output = Shapes::ShapeRef.new(shape: CreateAIGuardrailResponse)
2714
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2715
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2716
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2717
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2719
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2720
+ end)
2721
+
2722
+ api.add_operation(:create_ai_guardrail_version, Seahorse::Model::Operation.new.tap do |o|
2723
+ o.name = "CreateAIGuardrailVersion"
2724
+ o.http_method = "POST"
2725
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions"
2726
+ o.input = Shapes::ShapeRef.new(shape: CreateAIGuardrailVersionRequest)
2727
+ o.output = Shapes::ShapeRef.new(shape: CreateAIGuardrailVersionResponse)
2728
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2729
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2730
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2731
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2732
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2733
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2734
+ end)
2735
+
2359
2736
  api.add_operation(:create_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
2360
2737
  o.name = "CreateAIPrompt"
2361
2738
  o.http_method = "POST"
@@ -2553,6 +2930,32 @@ module Aws::QConnect
2553
2930
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2554
2931
  end)
2555
2932
 
2933
+ api.add_operation(:delete_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
2934
+ o.name = "DeleteAIGuardrail"
2935
+ o.http_method = "DELETE"
2936
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}"
2937
+ o.input = Shapes::ShapeRef.new(shape: DeleteAIGuardrailRequest)
2938
+ o.output = Shapes::ShapeRef.new(shape: DeleteAIGuardrailResponse)
2939
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2940
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2941
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2942
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2943
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2944
+ end)
2945
+
2946
+ api.add_operation(:delete_ai_guardrail_version, Seahorse::Model::Operation.new.tap do |o|
2947
+ o.name = "DeleteAIGuardrailVersion"
2948
+ o.http_method = "DELETE"
2949
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions/{versionNumber}"
2950
+ o.input = Shapes::ShapeRef.new(shape: DeleteAIGuardrailVersionRequest)
2951
+ o.output = Shapes::ShapeRef.new(shape: DeleteAIGuardrailVersionResponse)
2952
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2953
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2954
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2955
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2956
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2957
+ end)
2958
+
2556
2959
  api.add_operation(:delete_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
2557
2960
  o.name = "DeleteAIPrompt"
2558
2961
  o.http_method = "DELETE"
@@ -2695,6 +3098,18 @@ module Aws::QConnect
2695
3098
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2696
3099
  end)
2697
3100
 
3101
+ api.add_operation(:get_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
3102
+ o.name = "GetAIGuardrail"
3103
+ o.http_method = "GET"
3104
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}"
3105
+ o.input = Shapes::ShapeRef.new(shape: GetAIGuardrailRequest)
3106
+ o.output = Shapes::ShapeRef.new(shape: GetAIGuardrailResponse)
3107
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3108
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3109
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3110
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3111
+ end)
3112
+
2698
3113
  api.add_operation(:get_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
2699
3114
  o.name = "GetAIPrompt"
2700
3115
  o.http_method = "GET"
@@ -2796,6 +3211,17 @@ module Aws::QConnect
2796
3211
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2797
3212
  end)
2798
3213
 
3214
+ api.add_operation(:get_next_message, Seahorse::Model::Operation.new.tap do |o|
3215
+ o.name = "GetNextMessage"
3216
+ o.http_method = "GET"
3217
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/messages/next"
3218
+ o.input = Shapes::ShapeRef.new(shape: GetNextMessageRequest)
3219
+ o.output = Shapes::ShapeRef.new(shape: GetNextMessageResponse)
3220
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3221
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3222
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3223
+ end)
3224
+
2799
3225
  api.add_operation(:get_quick_response, Seahorse::Model::Operation.new.tap do |o|
2800
3226
  o.name = "GetQuickResponse"
2801
3227
  o.http_method = "GET"
@@ -2866,6 +3292,42 @@ module Aws::QConnect
2866
3292
  )
2867
3293
  end)
2868
3294
 
3295
+ api.add_operation(:list_ai_guardrail_versions, Seahorse::Model::Operation.new.tap do |o|
3296
+ o.name = "ListAIGuardrailVersions"
3297
+ o.http_method = "GET"
3298
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions"
3299
+ o.input = Shapes::ShapeRef.new(shape: ListAIGuardrailVersionsRequest)
3300
+ o.output = Shapes::ShapeRef.new(shape: ListAIGuardrailVersionsResponse)
3301
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3302
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3303
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3304
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3305
+ o[:pager] = Aws::Pager.new(
3306
+ limit_key: "max_results",
3307
+ tokens: {
3308
+ "next_token" => "next_token"
3309
+ }
3310
+ )
3311
+ end)
3312
+
3313
+ api.add_operation(:list_ai_guardrails, Seahorse::Model::Operation.new.tap do |o|
3314
+ o.name = "ListAIGuardrails"
3315
+ o.http_method = "GET"
3316
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails"
3317
+ o.input = Shapes::ShapeRef.new(shape: ListAIGuardrailsRequest)
3318
+ o.output = Shapes::ShapeRef.new(shape: ListAIGuardrailsResponse)
3319
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3320
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3322
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3323
+ o[:pager] = Aws::Pager.new(
3324
+ limit_key: "max_results",
3325
+ tokens: {
3326
+ "next_token" => "next_token"
3327
+ }
3328
+ )
3329
+ end)
3330
+
2869
3331
  api.add_operation(:list_ai_prompt_versions, Seahorse::Model::Operation.new.tap do |o|
2870
3332
  o.name = "ListAIPromptVersions"
2871
3333
  o.http_method = "GET"
@@ -3037,6 +3499,23 @@ module Aws::QConnect
3037
3499
  )
3038
3500
  end)
3039
3501
 
3502
+ api.add_operation(:list_messages, Seahorse::Model::Operation.new.tap do |o|
3503
+ o.name = "ListMessages"
3504
+ o.http_method = "GET"
3505
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/messages"
3506
+ o.input = Shapes::ShapeRef.new(shape: ListMessagesRequest)
3507
+ o.output = Shapes::ShapeRef.new(shape: ListMessagesResponse)
3508
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3509
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3510
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3511
+ o[:pager] = Aws::Pager.new(
3512
+ limit_key: "max_results",
3513
+ tokens: {
3514
+ "next_token" => "next_token"
3515
+ }
3516
+ )
3517
+ end)
3518
+
3040
3519
  api.add_operation(:list_quick_responses, Seahorse::Model::Operation.new.tap do |o|
3041
3520
  o.name = "ListQuickResponses"
3042
3521
  o.http_method = "GET"
@@ -3209,6 +3688,20 @@ module Aws::QConnect
3209
3688
  )
3210
3689
  end)
3211
3690
 
3691
+ api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
3692
+ o.name = "SendMessage"
3693
+ o.http_method = "POST"
3694
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/message"
3695
+ o.input = Shapes::ShapeRef.new(shape: SendMessageRequest)
3696
+ o.output = Shapes::ShapeRef.new(shape: SendMessageResponse)
3697
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
3698
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3699
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3700
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3701
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3702
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3703
+ end)
3704
+
3212
3705
  api.add_operation(:start_content_upload, Seahorse::Model::Operation.new.tap do |o|
3213
3706
  o.name = "StartContentUpload"
3214
3707
  o.http_method = "POST"
@@ -3265,6 +3758,19 @@ module Aws::QConnect
3265
3758
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3266
3759
  end)
3267
3760
 
3761
+ api.add_operation(:update_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
3762
+ o.name = "UpdateAIGuardrail"
3763
+ o.http_method = "POST"
3764
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}"
3765
+ o.input = Shapes::ShapeRef.new(shape: UpdateAIGuardrailRequest)
3766
+ o.output = Shapes::ShapeRef.new(shape: UpdateAIGuardrailResponse)
3767
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3769
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3771
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3772
+ end)
3773
+
3268
3774
  api.add_operation(:update_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
3269
3775
  o.name = "UpdateAIPrompt"
3270
3776
  o.http_method = "POST"