aws-sdk-qconnect 1.24.0 → 1.25.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,6 +748,7 @@ 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"))
@@ -814,6 +953,13 @@ module Aws::QConnect
814
953
 
815
954
  ContentSummaryList.member = Shapes::ShapeRef.new(shape: ContentSummary)
816
955
 
956
+ ConversationContext.add_member(:self_service_conversation_history, Shapes::ShapeRef.new(shape: SelfServiceConversationHistoryList, required: true, location_name: "selfServiceConversationHistory"))
957
+ ConversationContext.struct_class = Types::ConversationContext
958
+
959
+ ConversationState.add_member(:reason, Shapes::ShapeRef.new(shape: ConversationStatusReason, location_name: "reason"))
960
+ ConversationState.add_member(:status, Shapes::ShapeRef.new(shape: ConversationStatus, required: true, location_name: "status"))
961
+ ConversationState.struct_class = Types::ConversationState
962
+
817
963
  CreateAIAgentRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
818
964
  CreateAIAgentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
819
965
  CreateAIAgentRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: AIAgentConfiguration, required: true, location_name: "configuration"))
@@ -837,6 +983,34 @@ module Aws::QConnect
837
983
  CreateAIAgentVersionResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
838
984
  CreateAIAgentVersionResponse.struct_class = Types::CreateAIAgentVersionResponse
839
985
 
986
+ CreateAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
987
+ CreateAIGuardrailRequest.add_member(:blocked_input_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedInputMessaging"))
988
+ CreateAIGuardrailRequest.add_member(:blocked_outputs_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedOutputsMessaging"))
989
+ CreateAIGuardrailRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
990
+ CreateAIGuardrailRequest.add_member(:content_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContentPolicyConfig, location_name: "contentPolicyConfig"))
991
+ CreateAIGuardrailRequest.add_member(:contextual_grounding_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContextualGroundingPolicyConfig, location_name: "contextualGroundingPolicyConfig"))
992
+ CreateAIGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: AIGuardrailDescription, location_name: "description"))
993
+ CreateAIGuardrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
994
+ CreateAIGuardrailRequest.add_member(:sensitive_information_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailSensitiveInformationPolicyConfig, location_name: "sensitiveInformationPolicyConfig"))
995
+ CreateAIGuardrailRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
996
+ CreateAIGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
997
+ CreateAIGuardrailRequest.add_member(:visibility_status, Shapes::ShapeRef.new(shape: VisibilityStatus, required: true, location_name: "visibilityStatus"))
998
+ CreateAIGuardrailRequest.add_member(:word_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailWordPolicyConfig, location_name: "wordPolicyConfig"))
999
+ CreateAIGuardrailRequest.struct_class = Types::CreateAIGuardrailRequest
1000
+
1001
+ CreateAIGuardrailResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
1002
+ CreateAIGuardrailResponse.struct_class = Types::CreateAIGuardrailResponse
1003
+
1004
+ CreateAIGuardrailVersionRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1005
+ CreateAIGuardrailVersionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1006
+ CreateAIGuardrailVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1007
+ CreateAIGuardrailVersionRequest.add_member(:modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedTime"))
1008
+ CreateAIGuardrailVersionRequest.struct_class = Types::CreateAIGuardrailVersionRequest
1009
+
1010
+ CreateAIGuardrailVersionResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
1011
+ CreateAIGuardrailVersionResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
1012
+ CreateAIGuardrailVersionResponse.struct_class = Types::CreateAIGuardrailVersionResponse
1013
+
840
1014
  CreateAIPromptRequest.add_member(:api_format, Shapes::ShapeRef.new(shape: AIPromptAPIFormat, required: true, location_name: "apiFormat"))
841
1015
  CreateAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
842
1016
  CreateAIPromptRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -1097,6 +1271,19 @@ module Aws::QConnect
1097
1271
 
1098
1272
  DeleteAIAgentVersionResponse.struct_class = Types::DeleteAIAgentVersionResponse
1099
1273
 
1274
+ DeleteAIGuardrailRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1275
+ DeleteAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1276
+ DeleteAIGuardrailRequest.struct_class = Types::DeleteAIGuardrailRequest
1277
+
1278
+ DeleteAIGuardrailResponse.struct_class = Types::DeleteAIGuardrailResponse
1279
+
1280
+ DeleteAIGuardrailVersionRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1281
+ DeleteAIGuardrailVersionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1282
+ DeleteAIGuardrailVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "versionNumber"))
1283
+ DeleteAIGuardrailVersionRequest.struct_class = Types::DeleteAIGuardrailVersionRequest
1284
+
1285
+ DeleteAIGuardrailVersionResponse.struct_class = Types::DeleteAIGuardrailVersionResponse
1286
+
1100
1287
  DeleteAIPromptRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
1101
1288
  DeleteAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1102
1289
  DeleteAIPromptRequest.struct_class = Types::DeleteAIPromptRequest
@@ -1247,6 +1434,14 @@ module Aws::QConnect
1247
1434
  GetAIAgentResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
1248
1435
  GetAIAgentResponse.struct_class = Types::GetAIAgentResponse
1249
1436
 
1437
+ GetAIGuardrailRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1438
+ GetAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1439
+ GetAIGuardrailRequest.struct_class = Types::GetAIGuardrailRequest
1440
+
1441
+ GetAIGuardrailResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
1442
+ GetAIGuardrailResponse.add_member(:version_number, Shapes::ShapeRef.new(shape: Version, location_name: "versionNumber"))
1443
+ GetAIGuardrailResponse.struct_class = Types::GetAIGuardrailResponse
1444
+
1250
1445
  GetAIPromptRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
1251
1446
  GetAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1252
1447
  GetAIPromptRequest.struct_class = Types::GetAIPromptRequest
@@ -1310,6 +1505,19 @@ module Aws::QConnect
1310
1505
  GetMessageTemplateResponse.add_member(:message_template, Shapes::ShapeRef.new(shape: ExtendedMessageTemplateData, location_name: "messageTemplate"))
1311
1506
  GetMessageTemplateResponse.struct_class = Types::GetMessageTemplateResponse
1312
1507
 
1508
+ GetNextMessageRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1509
+ GetNextMessageRequest.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location: "querystring", location_name: "nextMessageToken"))
1510
+ GetNextMessageRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
1511
+ GetNextMessageRequest.struct_class = Types::GetNextMessageRequest
1512
+
1513
+ GetNextMessageResponse.add_member(:conversation_session_data, Shapes::ShapeRef.new(shape: RuntimeSessionDataList, location_name: "conversationSessionData"))
1514
+ GetNextMessageResponse.add_member(:conversation_state, Shapes::ShapeRef.new(shape: ConversationState, required: true, location_name: "conversationState"))
1515
+ GetNextMessageResponse.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextMessageToken"))
1516
+ GetNextMessageResponse.add_member(:request_message_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "requestMessageId"))
1517
+ GetNextMessageResponse.add_member(:response, Shapes::ShapeRef.new(shape: MessageOutput, required: true, location_name: "response"))
1518
+ GetNextMessageResponse.add_member(:type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "type"))
1519
+ GetNextMessageResponse.struct_class = Types::GetNextMessageResponse
1520
+
1313
1521
  GetQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1314
1522
  GetQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
1315
1523
  GetQuickResponseRequest.struct_class = Types::GetQuickResponseRequest
@@ -1340,6 +1548,53 @@ module Aws::QConnect
1340
1548
 
1341
1549
  GroupingValues.member = Shapes::ShapeRef.new(shape: GroupingValue)
1342
1550
 
1551
+ GuardrailContentFilterConfig.add_member(:input_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "inputStrength"))
1552
+ GuardrailContentFilterConfig.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
1553
+ GuardrailContentFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
1554
+ GuardrailContentFilterConfig.struct_class = Types::GuardrailContentFilterConfig
1555
+
1556
+ GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
1557
+
1558
+ GuardrailContextualGroundingFilterConfig.add_member(:threshold, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterThreshold, required: true, location_name: "threshold"))
1559
+ GuardrailContextualGroundingFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
1560
+ GuardrailContextualGroundingFilterConfig.struct_class = Types::GuardrailContextualGroundingFilterConfig
1561
+
1562
+ GuardrailContextualGroundingFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterConfig)
1563
+
1564
+ GuardrailManagedWordListsConfig.member = Shapes::ShapeRef.new(shape: GuardrailManagedWordsConfig)
1565
+
1566
+ GuardrailManagedWordsConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
1567
+ GuardrailManagedWordsConfig.struct_class = Types::GuardrailManagedWordsConfig
1568
+
1569
+ GuardrailPiiEntitiesConfig.member = Shapes::ShapeRef.new(shape: GuardrailPiiEntityConfig)
1570
+
1571
+ GuardrailPiiEntityConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
1572
+ GuardrailPiiEntityConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailPiiEntityType, required: true, location_name: "type"))
1573
+ GuardrailPiiEntityConfig.struct_class = Types::GuardrailPiiEntityConfig
1574
+
1575
+ GuardrailRegexConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
1576
+ GuardrailRegexConfig.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailRegexDescription, location_name: "description"))
1577
+ GuardrailRegexConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailRegexName, required: true, location_name: "name"))
1578
+ GuardrailRegexConfig.add_member(:pattern, Shapes::ShapeRef.new(shape: GuardrailRegexPattern, required: true, location_name: "pattern"))
1579
+ GuardrailRegexConfig.struct_class = Types::GuardrailRegexConfig
1580
+
1581
+ GuardrailRegexesConfig.member = Shapes::ShapeRef.new(shape: GuardrailRegexConfig)
1582
+
1583
+ GuardrailTopicConfig.add_member(:definition, Shapes::ShapeRef.new(shape: GuardrailTopicDefinition, required: true, location_name: "definition"))
1584
+ GuardrailTopicConfig.add_member(:examples, Shapes::ShapeRef.new(shape: GuardrailTopicExamples, location_name: "examples"))
1585
+ GuardrailTopicConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailTopicName, required: true, location_name: "name"))
1586
+ GuardrailTopicConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailTopicType, required: true, location_name: "type"))
1587
+ GuardrailTopicConfig.struct_class = Types::GuardrailTopicConfig
1588
+
1589
+ GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
1590
+
1591
+ GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
1592
+
1593
+ GuardrailWordConfig.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordText, required: true, location_name: "text"))
1594
+ GuardrailWordConfig.struct_class = Types::GuardrailWordConfig
1595
+
1596
+ GuardrailWordsConfig.member = Shapes::ShapeRef.new(shape: GuardrailWordConfig)
1597
+
1343
1598
  Headers.key = Shapes::ShapeRef.new(shape: NonEmptyString)
1344
1599
  Headers.value = Shapes::ShapeRef.new(shape: NonEmptyString)
1345
1600
 
@@ -1455,6 +1710,25 @@ module Aws::QConnect
1455
1710
  ListAIAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1456
1711
  ListAIAgentsResponse.struct_class = Types::ListAIAgentsResponse
1457
1712
 
1713
+ ListAIGuardrailVersionsRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
1714
+ ListAIGuardrailVersionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1715
+ ListAIGuardrailVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1716
+ ListAIGuardrailVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1717
+ ListAIGuardrailVersionsRequest.struct_class = Types::ListAIGuardrailVersionsRequest
1718
+
1719
+ ListAIGuardrailVersionsResponse.add_member(:ai_guardrail_version_summaries, Shapes::ShapeRef.new(shape: AIGuardrailVersionSummariesList, required: true, location_name: "aiGuardrailVersionSummaries"))
1720
+ ListAIGuardrailVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1721
+ ListAIGuardrailVersionsResponse.struct_class = Types::ListAIGuardrailVersionsResponse
1722
+
1723
+ ListAIGuardrailsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1724
+ ListAIGuardrailsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1725
+ ListAIGuardrailsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1726
+ ListAIGuardrailsRequest.struct_class = Types::ListAIGuardrailsRequest
1727
+
1728
+ ListAIGuardrailsResponse.add_member(:ai_guardrail_summaries, Shapes::ShapeRef.new(shape: AIGuardrailSummariesList, required: true, location_name: "aiGuardrailSummaries"))
1729
+ ListAIGuardrailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1730
+ ListAIGuardrailsResponse.struct_class = Types::ListAIGuardrailsResponse
1731
+
1458
1732
  ListAIPromptVersionsRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
1459
1733
  ListAIPromptVersionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1460
1734
  ListAIPromptVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1548,6 +1822,16 @@ module Aws::QConnect
1548
1822
  ListMessageTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1549
1823
  ListMessageTemplatesResponse.struct_class = Types::ListMessageTemplatesResponse
1550
1824
 
1825
+ ListMessagesRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
1826
+ ListMessagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1827
+ ListMessagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1828
+ ListMessagesRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
1829
+ ListMessagesRequest.struct_class = Types::ListMessagesRequest
1830
+
1831
+ ListMessagesResponse.add_member(:messages, Shapes::ShapeRef.new(shape: MessageList, required: true, location_name: "messages"))
1832
+ ListMessagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1833
+ ListMessagesResponse.struct_class = Types::ListMessagesResponse
1834
+
1551
1835
  ListQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1552
1836
  ListQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1553
1837
  ListQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
@@ -1569,10 +1853,28 @@ module Aws::QConnect
1569
1853
  ManagedSourceConfiguration.add_member_subclass(:unknown, Types::ManagedSourceConfiguration::Unknown)
1570
1854
  ManagedSourceConfiguration.struct_class = Types::ManagedSourceConfiguration
1571
1855
 
1856
+ ManualSearchAIAgentConfiguration.add_member(:answer_generation_ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "answerGenerationAIGuardrailId"))
1572
1857
  ManualSearchAIAgentConfiguration.add_member(:answer_generation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "answerGenerationAIPromptId"))
1573
1858
  ManualSearchAIAgentConfiguration.add_member(:association_configurations, Shapes::ShapeRef.new(shape: AssociationConfigurationList, location_name: "associationConfigurations"))
1574
1859
  ManualSearchAIAgentConfiguration.struct_class = Types::ManualSearchAIAgentConfiguration
1575
1860
 
1861
+ MessageData.add_member(:text, Shapes::ShapeRef.new(shape: TextMessage, location_name: "text"))
1862
+ MessageData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1863
+ MessageData.add_member_subclass(:text, Types::MessageData::Text)
1864
+ MessageData.add_member_subclass(:unknown, Types::MessageData::Unknown)
1865
+ MessageData.struct_class = Types::MessageData
1866
+
1867
+ MessageInput.add_member(:value, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "value"))
1868
+ MessageInput.struct_class = Types::MessageInput
1869
+
1870
+ MessageList.member = Shapes::ShapeRef.new(shape: MessageOutput)
1871
+
1872
+ MessageOutput.add_member(:message_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "messageId"))
1873
+ MessageOutput.add_member(:participant, Shapes::ShapeRef.new(shape: Participant, required: true, location_name: "participant"))
1874
+ MessageOutput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
1875
+ MessageOutput.add_member(:value, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "value"))
1876
+ MessageOutput.struct_class = Types::MessageOutput
1877
+
1576
1878
  MessageTemplateAttachment.add_member(:attachment_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "attachmentId"))
1577
1879
  MessageTemplateAttachment.add_member(:content_disposition, Shapes::ShapeRef.new(shape: ContentDisposition, required: true, location_name: "contentDisposition"))
1578
1880
  MessageTemplateAttachment.add_member(:name, Shapes::ShapeRef.new(shape: AttachmentFileName, required: true, location_name: "name"))
@@ -2040,11 +2342,36 @@ module Aws::QConnect
2040
2342
 
2041
2343
  SeedUrls.member = Shapes::ShapeRef.new(shape: SeedUrl)
2042
2344
 
2345
+ SelfServiceAIAgentConfiguration.add_member(:association_configurations, Shapes::ShapeRef.new(shape: AssociationConfigurationList, location_name: "associationConfigurations"))
2346
+ SelfServiceAIAgentConfiguration.add_member(:self_service_ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "selfServiceAIGuardrailId"))
2347
+ SelfServiceAIAgentConfiguration.add_member(:self_service_answer_generation_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "selfServiceAnswerGenerationAIPromptId"))
2348
+ SelfServiceAIAgentConfiguration.add_member(:self_service_pre_processing_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "selfServicePreProcessingAIPromptId"))
2349
+ SelfServiceAIAgentConfiguration.struct_class = Types::SelfServiceAIAgentConfiguration
2350
+
2351
+ SelfServiceConversationHistory.add_member(:bot_response, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "botResponse"))
2352
+ SelfServiceConversationHistory.add_member(:input_transcript, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "inputTranscript"))
2353
+ SelfServiceConversationHistory.add_member(:turn_number, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "turnNumber"))
2354
+ SelfServiceConversationHistory.struct_class = Types::SelfServiceConversationHistory
2355
+
2356
+ SelfServiceConversationHistoryList.member = Shapes::ShapeRef.new(shape: SelfServiceConversationHistory)
2357
+
2043
2358
  SemanticChunkingConfiguration.add_member(:breakpoint_percentile_threshold, Shapes::ShapeRef.new(shape: SemanticChunkingConfigurationBreakpointPercentileThresholdInteger, required: true, location_name: "breakpointPercentileThreshold"))
2044
2359
  SemanticChunkingConfiguration.add_member(:buffer_size, Shapes::ShapeRef.new(shape: SemanticChunkingConfigurationBufferSizeInteger, required: true, location_name: "bufferSize"))
2045
2360
  SemanticChunkingConfiguration.add_member(:max_tokens, Shapes::ShapeRef.new(shape: SemanticChunkingConfigurationMaxTokensInteger, required: true, location_name: "maxTokens"))
2046
2361
  SemanticChunkingConfiguration.struct_class = Types::SemanticChunkingConfiguration
2047
2362
 
2363
+ SendMessageRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2364
+ SendMessageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2365
+ SendMessageRequest.add_member(:conversation_context, Shapes::ShapeRef.new(shape: ConversationContext, location_name: "conversationContext"))
2366
+ SendMessageRequest.add_member(:message, Shapes::ShapeRef.new(shape: MessageInput, required: true, location_name: "message"))
2367
+ SendMessageRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
2368
+ SendMessageRequest.add_member(:type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "type"))
2369
+ SendMessageRequest.struct_class = Types::SendMessageRequest
2370
+
2371
+ SendMessageResponse.add_member(:next_message_token, Shapes::ShapeRef.new(shape: NextToken, required: true, location_name: "nextMessageToken"))
2372
+ SendMessageResponse.add_member(:request_message_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "requestMessageId"))
2373
+ SendMessageResponse.struct_class = Types::SendMessageResponse
2374
+
2048
2375
  ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
2049
2376
  ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
2050
2377
 
@@ -2149,6 +2476,9 @@ module Aws::QConnect
2149
2476
  TextFullAIPromptEditTemplateConfiguration.add_member(:text, Shapes::ShapeRef.new(shape: TextAIPrompt, required: true, location_name: "text"))
2150
2477
  TextFullAIPromptEditTemplateConfiguration.struct_class = Types::TextFullAIPromptEditTemplateConfiguration
2151
2478
 
2479
+ TextMessage.add_member(:value, Shapes::ShapeRef.new(shape: TextMessageValueString, location_name: "value"))
2480
+ TextMessage.struct_class = Types::TextMessage
2481
+
2152
2482
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2153
2483
  ThrottlingException.struct_class = Types::ThrottlingException
2154
2484
 
@@ -2173,6 +2503,23 @@ module Aws::QConnect
2173
2503
  UpdateAIAgentResponse.add_member(:ai_agent, Shapes::ShapeRef.new(shape: AIAgentData, location_name: "aiAgent"))
2174
2504
  UpdateAIAgentResponse.struct_class = Types::UpdateAIAgentResponse
2175
2505
 
2506
+ UpdateAIGuardrailRequest.add_member(:ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiGuardrailId"))
2507
+ UpdateAIGuardrailRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2508
+ UpdateAIGuardrailRequest.add_member(:blocked_input_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedInputMessaging"))
2509
+ UpdateAIGuardrailRequest.add_member(:blocked_outputs_messaging, Shapes::ShapeRef.new(shape: AIGuardrailBlockedMessaging, required: true, location_name: "blockedOutputsMessaging"))
2510
+ UpdateAIGuardrailRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2511
+ UpdateAIGuardrailRequest.add_member(:content_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContentPolicyConfig, location_name: "contentPolicyConfig"))
2512
+ UpdateAIGuardrailRequest.add_member(:contextual_grounding_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailContextualGroundingPolicyConfig, location_name: "contextualGroundingPolicyConfig"))
2513
+ UpdateAIGuardrailRequest.add_member(:description, Shapes::ShapeRef.new(shape: AIGuardrailDescription, location_name: "description"))
2514
+ UpdateAIGuardrailRequest.add_member(:sensitive_information_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailSensitiveInformationPolicyConfig, location_name: "sensitiveInformationPolicyConfig"))
2515
+ UpdateAIGuardrailRequest.add_member(:topic_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailTopicPolicyConfig, location_name: "topicPolicyConfig"))
2516
+ UpdateAIGuardrailRequest.add_member(:visibility_status, Shapes::ShapeRef.new(shape: VisibilityStatus, required: true, location_name: "visibilityStatus"))
2517
+ UpdateAIGuardrailRequest.add_member(:word_policy_config, Shapes::ShapeRef.new(shape: AIGuardrailWordPolicyConfig, location_name: "wordPolicyConfig"))
2518
+ UpdateAIGuardrailRequest.struct_class = Types::UpdateAIGuardrailRequest
2519
+
2520
+ UpdateAIGuardrailResponse.add_member(:ai_guardrail, Shapes::ShapeRef.new(shape: AIGuardrailData, location_name: "aiGuardrail"))
2521
+ UpdateAIGuardrailResponse.struct_class = Types::UpdateAIGuardrailResponse
2522
+
2176
2523
  UpdateAIPromptRequest.add_member(:ai_prompt_id, Shapes::ShapeRef.new(shape: UuidOrArnOrEitherWithQualifier, required: true, location: "uri", location_name: "aiPromptId"))
2177
2524
  UpdateAIPromptRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2178
2525
  UpdateAIPromptRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -2356,6 +2703,34 @@ module Aws::QConnect
2356
2703
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2357
2704
  end)
2358
2705
 
2706
+ api.add_operation(:create_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
2707
+ o.name = "CreateAIGuardrail"
2708
+ o.http_method = "POST"
2709
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails"
2710
+ o.input = Shapes::ShapeRef.new(shape: CreateAIGuardrailRequest)
2711
+ o.output = Shapes::ShapeRef.new(shape: CreateAIGuardrailResponse)
2712
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2713
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2714
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2715
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2716
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2718
+ end)
2719
+
2720
+ api.add_operation(:create_ai_guardrail_version, Seahorse::Model::Operation.new.tap do |o|
2721
+ o.name = "CreateAIGuardrailVersion"
2722
+ o.http_method = "POST"
2723
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions"
2724
+ o.input = Shapes::ShapeRef.new(shape: CreateAIGuardrailVersionRequest)
2725
+ o.output = Shapes::ShapeRef.new(shape: CreateAIGuardrailVersionResponse)
2726
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2727
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2728
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2729
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2730
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2732
+ end)
2733
+
2359
2734
  api.add_operation(:create_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
2360
2735
  o.name = "CreateAIPrompt"
2361
2736
  o.http_method = "POST"
@@ -2553,6 +2928,32 @@ module Aws::QConnect
2553
2928
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2554
2929
  end)
2555
2930
 
2931
+ api.add_operation(:delete_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
2932
+ o.name = "DeleteAIGuardrail"
2933
+ o.http_method = "DELETE"
2934
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}"
2935
+ o.input = Shapes::ShapeRef.new(shape: DeleteAIGuardrailRequest)
2936
+ o.output = Shapes::ShapeRef.new(shape: DeleteAIGuardrailResponse)
2937
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2938
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2939
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2940
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2941
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2942
+ end)
2943
+
2944
+ api.add_operation(:delete_ai_guardrail_version, Seahorse::Model::Operation.new.tap do |o|
2945
+ o.name = "DeleteAIGuardrailVersion"
2946
+ o.http_method = "DELETE"
2947
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions/{versionNumber}"
2948
+ o.input = Shapes::ShapeRef.new(shape: DeleteAIGuardrailVersionRequest)
2949
+ o.output = Shapes::ShapeRef.new(shape: DeleteAIGuardrailVersionResponse)
2950
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2951
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2952
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2953
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2954
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2955
+ end)
2956
+
2556
2957
  api.add_operation(:delete_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
2557
2958
  o.name = "DeleteAIPrompt"
2558
2959
  o.http_method = "DELETE"
@@ -2695,6 +3096,18 @@ module Aws::QConnect
2695
3096
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2696
3097
  end)
2697
3098
 
3099
+ api.add_operation(:get_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
3100
+ o.name = "GetAIGuardrail"
3101
+ o.http_method = "GET"
3102
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}"
3103
+ o.input = Shapes::ShapeRef.new(shape: GetAIGuardrailRequest)
3104
+ o.output = Shapes::ShapeRef.new(shape: GetAIGuardrailResponse)
3105
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3106
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3107
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3108
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3109
+ end)
3110
+
2698
3111
  api.add_operation(:get_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
2699
3112
  o.name = "GetAIPrompt"
2700
3113
  o.http_method = "GET"
@@ -2796,6 +3209,17 @@ module Aws::QConnect
2796
3209
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2797
3210
  end)
2798
3211
 
3212
+ api.add_operation(:get_next_message, Seahorse::Model::Operation.new.tap do |o|
3213
+ o.name = "GetNextMessage"
3214
+ o.http_method = "GET"
3215
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/messages/next"
3216
+ o.input = Shapes::ShapeRef.new(shape: GetNextMessageRequest)
3217
+ o.output = Shapes::ShapeRef.new(shape: GetNextMessageResponse)
3218
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3219
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3220
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3221
+ end)
3222
+
2799
3223
  api.add_operation(:get_quick_response, Seahorse::Model::Operation.new.tap do |o|
2800
3224
  o.name = "GetQuickResponse"
2801
3225
  o.http_method = "GET"
@@ -2866,6 +3290,42 @@ module Aws::QConnect
2866
3290
  )
2867
3291
  end)
2868
3292
 
3293
+ api.add_operation(:list_ai_guardrail_versions, Seahorse::Model::Operation.new.tap do |o|
3294
+ o.name = "ListAIGuardrailVersions"
3295
+ o.http_method = "GET"
3296
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions"
3297
+ o.input = Shapes::ShapeRef.new(shape: ListAIGuardrailVersionsRequest)
3298
+ o.output = Shapes::ShapeRef.new(shape: ListAIGuardrailVersionsResponse)
3299
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3300
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3301
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3302
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3303
+ o[:pager] = Aws::Pager.new(
3304
+ limit_key: "max_results",
3305
+ tokens: {
3306
+ "next_token" => "next_token"
3307
+ }
3308
+ )
3309
+ end)
3310
+
3311
+ api.add_operation(:list_ai_guardrails, Seahorse::Model::Operation.new.tap do |o|
3312
+ o.name = "ListAIGuardrails"
3313
+ o.http_method = "GET"
3314
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails"
3315
+ o.input = Shapes::ShapeRef.new(shape: ListAIGuardrailsRequest)
3316
+ o.output = Shapes::ShapeRef.new(shape: ListAIGuardrailsResponse)
3317
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3318
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3319
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3320
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3321
+ o[:pager] = Aws::Pager.new(
3322
+ limit_key: "max_results",
3323
+ tokens: {
3324
+ "next_token" => "next_token"
3325
+ }
3326
+ )
3327
+ end)
3328
+
2869
3329
  api.add_operation(:list_ai_prompt_versions, Seahorse::Model::Operation.new.tap do |o|
2870
3330
  o.name = "ListAIPromptVersions"
2871
3331
  o.http_method = "GET"
@@ -3037,6 +3497,23 @@ module Aws::QConnect
3037
3497
  )
3038
3498
  end)
3039
3499
 
3500
+ api.add_operation(:list_messages, Seahorse::Model::Operation.new.tap do |o|
3501
+ o.name = "ListMessages"
3502
+ o.http_method = "GET"
3503
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/messages"
3504
+ o.input = Shapes::ShapeRef.new(shape: ListMessagesRequest)
3505
+ o.output = Shapes::ShapeRef.new(shape: ListMessagesResponse)
3506
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3507
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3508
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3509
+ o[:pager] = Aws::Pager.new(
3510
+ limit_key: "max_results",
3511
+ tokens: {
3512
+ "next_token" => "next_token"
3513
+ }
3514
+ )
3515
+ end)
3516
+
3040
3517
  api.add_operation(:list_quick_responses, Seahorse::Model::Operation.new.tap do |o|
3041
3518
  o.name = "ListQuickResponses"
3042
3519
  o.http_method = "GET"
@@ -3209,6 +3686,20 @@ module Aws::QConnect
3209
3686
  )
3210
3687
  end)
3211
3688
 
3689
+ api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
3690
+ o.name = "SendMessage"
3691
+ o.http_method = "POST"
3692
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/message"
3693
+ o.input = Shapes::ShapeRef.new(shape: SendMessageRequest)
3694
+ o.output = Shapes::ShapeRef.new(shape: SendMessageResponse)
3695
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
3696
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3697
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3698
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3699
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3700
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3701
+ end)
3702
+
3212
3703
  api.add_operation(:start_content_upload, Seahorse::Model::Operation.new.tap do |o|
3213
3704
  o.name = "StartContentUpload"
3214
3705
  o.http_method = "POST"
@@ -3265,6 +3756,19 @@ module Aws::QConnect
3265
3756
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3266
3757
  end)
3267
3758
 
3759
+ api.add_operation(:update_ai_guardrail, Seahorse::Model::Operation.new.tap do |o|
3760
+ o.name = "UpdateAIGuardrail"
3761
+ o.http_method = "POST"
3762
+ o.http_request_uri = "/assistants/{assistantId}/aiguardrails/{aiGuardrailId}"
3763
+ o.input = Shapes::ShapeRef.new(shape: UpdateAIGuardrailRequest)
3764
+ o.output = Shapes::ShapeRef.new(shape: UpdateAIGuardrailResponse)
3765
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3766
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3767
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3768
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3769
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3770
+ end)
3771
+
3268
3772
  api.add_operation(:update_ai_prompt, Seahorse::Model::Operation.new.tap do |o|
3269
3773
  o.name = "UpdateAIPrompt"
3270
3774
  o.http_method = "POST"