aws-sdk-qconnect 1.23.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs CHANGED
@@ -11,6 +11,7 @@ module Aws::QConnect
11
11
  class AIAgentConfiguration
12
12
  attr_accessor answer_recommendation_ai_agent_configuration: Types::AnswerRecommendationAIAgentConfiguration
13
13
  attr_accessor manual_search_ai_agent_configuration: Types::ManualSearchAIAgentConfiguration
14
+ attr_accessor self_service_ai_agent_configuration: Types::SelfServiceAIAgentConfiguration
14
15
  attr_accessor unknown: untyped
15
16
  SENSITIVE: []
16
17
 
@@ -18,6 +19,8 @@ module Aws::QConnect
18
19
  end
19
20
  class ManualSearchAiAgentConfiguration < AIAgentConfiguration
20
21
  end
22
+ class SelfServiceAiAgentConfiguration < AIAgentConfiguration
23
+ end
21
24
  class Unknown < AIAgentConfiguration
22
25
  end
23
26
  end
@@ -39,7 +42,7 @@ module Aws::QConnect
39
42
  attr_accessor origin: ("SYSTEM" | "CUSTOMER")
40
43
  attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
41
44
  attr_accessor tags: ::Hash[::String, ::String]
42
- attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
45
+ attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
43
46
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
44
47
  SENSITIVE: []
45
48
  end
@@ -56,7 +59,7 @@ module Aws::QConnect
56
59
  attr_accessor origin: ("SYSTEM" | "CUSTOMER")
57
60
  attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
58
61
  attr_accessor tags: ::Hash[::String, ::String]
59
- attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
62
+ attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
60
63
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
61
64
  SENSITIVE: []
62
65
  end
@@ -67,6 +70,74 @@ module Aws::QConnect
67
70
  SENSITIVE: []
68
71
  end
69
72
 
73
+ class AIGuardrailContentPolicyConfig
74
+ attr_accessor filters_config: ::Array[Types::GuardrailContentFilterConfig]
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class AIGuardrailContextualGroundingPolicyConfig
79
+ attr_accessor filters_config: ::Array[Types::GuardrailContextualGroundingFilterConfig]
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class AIGuardrailData
84
+ attr_accessor ai_guardrail_arn: ::String
85
+ attr_accessor ai_guardrail_id: ::String
86
+ attr_accessor assistant_arn: ::String
87
+ attr_accessor assistant_id: ::String
88
+ attr_accessor blocked_input_messaging: ::String
89
+ attr_accessor blocked_outputs_messaging: ::String
90
+ attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
91
+ attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
92
+ attr_accessor description: ::String
93
+ attr_accessor modified_time: ::Time
94
+ attr_accessor name: ::String
95
+ attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
96
+ attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
97
+ attr_accessor tags: ::Hash[::String, ::String]
98
+ attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
99
+ attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
100
+ attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
101
+ SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
102
+ end
103
+
104
+ class AIGuardrailSensitiveInformationPolicyConfig
105
+ attr_accessor pii_entities_config: ::Array[Types::GuardrailPiiEntityConfig]
106
+ attr_accessor regexes_config: ::Array[Types::GuardrailRegexConfig]
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class AIGuardrailSummary
111
+ attr_accessor ai_guardrail_arn: ::String
112
+ attr_accessor ai_guardrail_id: ::String
113
+ attr_accessor assistant_arn: ::String
114
+ attr_accessor assistant_id: ::String
115
+ attr_accessor description: ::String
116
+ attr_accessor modified_time: ::Time
117
+ attr_accessor name: ::String
118
+ attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
119
+ attr_accessor tags: ::Hash[::String, ::String]
120
+ attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
121
+ SENSITIVE: [:description]
122
+ end
123
+
124
+ class AIGuardrailTopicPolicyConfig
125
+ attr_accessor topics_config: ::Array[Types::GuardrailTopicConfig]
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class AIGuardrailVersionSummary
130
+ attr_accessor ai_guardrail_summary: Types::AIGuardrailSummary
131
+ attr_accessor version_number: ::Integer
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class AIGuardrailWordPolicyConfig
136
+ attr_accessor managed_word_lists_config: ::Array[Types::GuardrailManagedWordsConfig]
137
+ attr_accessor words_config: ::Array[Types::GuardrailWordConfig]
138
+ SENSITIVE: []
139
+ end
140
+
70
141
  class AIPromptData
71
142
  attr_accessor ai_prompt_arn: ::String
72
143
  attr_accessor ai_prompt_id: ::String
@@ -82,7 +153,7 @@ module Aws::QConnect
82
153
  attr_accessor tags: ::Hash[::String, ::String]
83
154
  attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
84
155
  attr_accessor template_type: ("TEXT")
85
- attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
156
+ attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
86
157
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
87
158
  SENSITIVE: []
88
159
  end
@@ -101,7 +172,7 @@ module Aws::QConnect
101
172
  attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
102
173
  attr_accessor tags: ::Hash[::String, ::String]
103
174
  attr_accessor template_type: ("TEXT")
104
- attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
175
+ attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
105
176
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
106
177
  SENSITIVE: []
107
178
  end
@@ -128,12 +199,33 @@ module Aws::QConnect
128
199
  SENSITIVE: []
129
200
  end
130
201
 
202
+ class ActivateMessageTemplateRequest
203
+ attr_accessor knowledge_base_id: ::String
204
+ attr_accessor message_template_id: ::String
205
+ attr_accessor version_number: ::Integer
206
+ SENSITIVE: []
207
+ end
208
+
209
+ class ActivateMessageTemplateResponse
210
+ attr_accessor message_template_arn: ::String
211
+ attr_accessor message_template_id: ::String
212
+ attr_accessor version_number: ::Integer
213
+ SENSITIVE: []
214
+ end
215
+
216
+ class AgentAttributes
217
+ attr_accessor first_name: ::String
218
+ attr_accessor last_name: ::String
219
+ SENSITIVE: [:first_name, :last_name]
220
+ end
221
+
131
222
  class AmazonConnectGuideAssociationData
132
223
  attr_accessor flow_id: ::String
133
224
  SENSITIVE: []
134
225
  end
135
226
 
136
227
  class AnswerRecommendationAIAgentConfiguration
228
+ attr_accessor answer_generation_ai_guardrail_id: ::String
137
229
  attr_accessor answer_generation_ai_prompt_id: ::String
138
230
  attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
139
231
  attr_accessor intent_labeling_generation_ai_prompt_id: ::String
@@ -197,7 +289,7 @@ module Aws::QConnect
197
289
  end
198
290
 
199
291
  class AssistantData
200
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
292
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
201
293
  attr_accessor assistant_arn: ::String
202
294
  attr_accessor assistant_id: ::String
203
295
  attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
@@ -217,7 +309,7 @@ module Aws::QConnect
217
309
  end
218
310
 
219
311
  class AssistantSummary
220
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
312
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
221
313
  attr_accessor assistant_arn: ::String
222
314
  attr_accessor assistant_id: ::String
223
315
  attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
@@ -387,6 +479,17 @@ module Aws::QConnect
387
479
  SENSITIVE: []
388
480
  end
389
481
 
482
+ class ConversationContext
483
+ attr_accessor self_service_conversation_history: ::Array[Types::SelfServiceConversationHistory]
484
+ SENSITIVE: []
485
+ end
486
+
487
+ class ConversationState
488
+ attr_accessor reason: ("SUCCESS" | "FAILED" | "REJECTED")
489
+ attr_accessor status: ("CLOSED" | "READY" | "PROCESSING")
490
+ SENSITIVE: []
491
+ end
492
+
390
493
  class CreateAIAgentRequest
391
494
  attr_accessor assistant_id: ::String
392
495
  attr_accessor client_token: ::String
@@ -394,7 +497,7 @@ module Aws::QConnect
394
497
  attr_accessor description: ::String
395
498
  attr_accessor name: ::String
396
499
  attr_accessor tags: ::Hash[::String, ::String]
397
- attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
500
+ attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
398
501
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
399
502
  SENSITIVE: []
400
503
  end
@@ -418,6 +521,42 @@ module Aws::QConnect
418
521
  SENSITIVE: []
419
522
  end
420
523
 
524
+ class CreateAIGuardrailRequest
525
+ attr_accessor assistant_id: ::String
526
+ attr_accessor blocked_input_messaging: ::String
527
+ attr_accessor blocked_outputs_messaging: ::String
528
+ attr_accessor client_token: ::String
529
+ attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
530
+ attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
531
+ attr_accessor description: ::String
532
+ attr_accessor name: ::String
533
+ attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
534
+ attr_accessor tags: ::Hash[::String, ::String]
535
+ attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
536
+ attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
537
+ attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
538
+ SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
539
+ end
540
+
541
+ class CreateAIGuardrailResponse
542
+ attr_accessor ai_guardrail: Types::AIGuardrailData
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class CreateAIGuardrailVersionRequest
547
+ attr_accessor ai_guardrail_id: ::String
548
+ attr_accessor assistant_id: ::String
549
+ attr_accessor client_token: ::String
550
+ attr_accessor modified_time: ::Time
551
+ SENSITIVE: []
552
+ end
553
+
554
+ class CreateAIGuardrailVersionResponse
555
+ attr_accessor ai_guardrail: Types::AIGuardrailData
556
+ attr_accessor version_number: ::Integer
557
+ SENSITIVE: []
558
+ end
559
+
421
560
  class CreateAIPromptRequest
422
561
  attr_accessor api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS")
423
562
  attr_accessor assistant_id: ::String
@@ -428,7 +567,7 @@ module Aws::QConnect
428
567
  attr_accessor tags: ::Hash[::String, ::String]
429
568
  attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
430
569
  attr_accessor template_type: ("TEXT")
431
- attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
570
+ attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION")
432
571
  attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
433
572
  SENSITIVE: []
434
573
  end
@@ -531,6 +670,52 @@ module Aws::QConnect
531
670
  SENSITIVE: []
532
671
  end
533
672
 
673
+ class CreateMessageTemplateAttachmentRequest
674
+ attr_accessor body: ::String
675
+ attr_accessor client_token: ::String
676
+ attr_accessor content_disposition: ("ATTACHMENT")
677
+ attr_accessor knowledge_base_id: ::String
678
+ attr_accessor message_template_id: ::String
679
+ attr_accessor name: ::String
680
+ SENSITIVE: [:body, :name]
681
+ end
682
+
683
+ class CreateMessageTemplateAttachmentResponse
684
+ attr_accessor attachment: Types::MessageTemplateAttachment
685
+ SENSITIVE: []
686
+ end
687
+
688
+ class CreateMessageTemplateRequest
689
+ attr_accessor channel_subtype: ("EMAIL" | "SMS")
690
+ attr_accessor client_token: ::String
691
+ attr_accessor content: Types::MessageTemplateContentProvider
692
+ attr_accessor default_attributes: Types::MessageTemplateAttributes
693
+ attr_accessor description: ::String
694
+ attr_accessor grouping_configuration: Types::GroupingConfiguration
695
+ attr_accessor knowledge_base_id: ::String
696
+ attr_accessor language: ::String
697
+ attr_accessor name: ::String
698
+ attr_accessor tags: ::Hash[::String, ::String]
699
+ SENSITIVE: []
700
+ end
701
+
702
+ class CreateMessageTemplateResponse
703
+ attr_accessor message_template: Types::MessageTemplateData
704
+ SENSITIVE: []
705
+ end
706
+
707
+ class CreateMessageTemplateVersionRequest
708
+ attr_accessor knowledge_base_id: ::String
709
+ attr_accessor message_template_content_sha_256: ::String
710
+ attr_accessor message_template_id: ::String
711
+ SENSITIVE: []
712
+ end
713
+
714
+ class CreateMessageTemplateVersionResponse
715
+ attr_accessor message_template: Types::ExtendedMessageTemplateData
716
+ SENSITIVE: []
717
+ end
718
+
534
719
  class CreateQuickResponseRequest
535
720
  attr_accessor channels: ::Array[::String]
536
721
  attr_accessor client_token: ::String
@@ -553,7 +738,7 @@ module Aws::QConnect
553
738
  end
554
739
 
555
740
  class CreateSessionRequest
556
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
741
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
557
742
  attr_accessor assistant_id: ::String
558
743
  attr_accessor client_token: ::String
559
744
  attr_accessor description: ::String
@@ -568,6 +753,68 @@ module Aws::QConnect
568
753
  SENSITIVE: []
569
754
  end
570
755
 
756
+ class CustomerProfileAttributes
757
+ attr_accessor account_number: ::String
758
+ attr_accessor additional_information: ::String
759
+ attr_accessor address1: ::String
760
+ attr_accessor address2: ::String
761
+ attr_accessor address3: ::String
762
+ attr_accessor address4: ::String
763
+ attr_accessor billing_address_1: ::String
764
+ attr_accessor billing_address_2: ::String
765
+ attr_accessor billing_address_3: ::String
766
+ attr_accessor billing_address_4: ::String
767
+ attr_accessor billing_city: ::String
768
+ attr_accessor billing_country: ::String
769
+ attr_accessor billing_county: ::String
770
+ attr_accessor billing_postal_code: ::String
771
+ attr_accessor billing_province: ::String
772
+ attr_accessor billing_state: ::String
773
+ attr_accessor birth_date: ::String
774
+ attr_accessor business_email_address: ::String
775
+ attr_accessor business_name: ::String
776
+ attr_accessor business_phone_number: ::String
777
+ attr_accessor city: ::String
778
+ attr_accessor country: ::String
779
+ attr_accessor county: ::String
780
+ attr_accessor custom: ::Hash[::String, ::String]
781
+ attr_accessor email_address: ::String
782
+ attr_accessor first_name: ::String
783
+ attr_accessor gender: ::String
784
+ attr_accessor home_phone_number: ::String
785
+ attr_accessor last_name: ::String
786
+ attr_accessor mailing_address_1: ::String
787
+ attr_accessor mailing_address_2: ::String
788
+ attr_accessor mailing_address_3: ::String
789
+ attr_accessor mailing_address_4: ::String
790
+ attr_accessor mailing_city: ::String
791
+ attr_accessor mailing_country: ::String
792
+ attr_accessor mailing_county: ::String
793
+ attr_accessor mailing_postal_code: ::String
794
+ attr_accessor mailing_province: ::String
795
+ attr_accessor mailing_state: ::String
796
+ attr_accessor middle_name: ::String
797
+ attr_accessor mobile_phone_number: ::String
798
+ attr_accessor party_type: ::String
799
+ attr_accessor phone_number: ::String
800
+ attr_accessor postal_code: ::String
801
+ attr_accessor profile_arn: ::String
802
+ attr_accessor profile_id: ::String
803
+ attr_accessor province: ::String
804
+ attr_accessor shipping_address_1: ::String
805
+ attr_accessor shipping_address_2: ::String
806
+ attr_accessor shipping_address_3: ::String
807
+ attr_accessor shipping_address_4: ::String
808
+ attr_accessor shipping_city: ::String
809
+ attr_accessor shipping_country: ::String
810
+ attr_accessor shipping_county: ::String
811
+ attr_accessor shipping_postal_code: ::String
812
+ attr_accessor shipping_province: ::String
813
+ attr_accessor shipping_state: ::String
814
+ attr_accessor state: ::String
815
+ SENSITIVE: [:account_number, :additional_information, :address1, :address2, :address3, :address4, :billing_address_1, :billing_address_2, :billing_address_3, :billing_address_4, :billing_city, :billing_country, :billing_county, :billing_postal_code, :billing_province, :billing_state, :birth_date, :business_email_address, :business_name, :business_phone_number, :city, :country, :county, :custom, :email_address, :first_name, :gender, :home_phone_number, :last_name, :mailing_address_1, :mailing_address_2, :mailing_address_3, :mailing_address_4, :mailing_city, :mailing_country, :mailing_county, :mailing_postal_code, :mailing_province, :mailing_state, :middle_name, :mobile_phone_number, :party_type, :phone_number, :postal_code, :profile_arn, :profile_id, :province, :shipping_address_1, :shipping_address_2, :shipping_address_3, :shipping_address_4, :shipping_city, :shipping_country, :shipping_county, :shipping_postal_code, :shipping_province, :shipping_state, :state]
816
+ end
817
+
571
818
  class DataDetails
572
819
  attr_accessor content_data: Types::ContentDataDetails
573
820
  attr_accessor generative_data: Types::GenerativeDataDetails
@@ -608,6 +855,20 @@ module Aws::QConnect
608
855
  SENSITIVE: []
609
856
  end
610
857
 
858
+ class DeactivateMessageTemplateRequest
859
+ attr_accessor knowledge_base_id: ::String
860
+ attr_accessor message_template_id: ::String
861
+ attr_accessor version_number: ::Integer
862
+ SENSITIVE: []
863
+ end
864
+
865
+ class DeactivateMessageTemplateResponse
866
+ attr_accessor message_template_arn: ::String
867
+ attr_accessor message_template_id: ::String
868
+ attr_accessor version_number: ::Integer
869
+ SENSITIVE: []
870
+ end
871
+
611
872
  class DeleteAIAgentRequest
612
873
  attr_accessor ai_agent_id: ::String
613
874
  attr_accessor assistant_id: ::String
@@ -627,6 +888,25 @@ module Aws::QConnect
627
888
  class DeleteAIAgentVersionResponse < Aws::EmptyStructure
628
889
  end
629
890
 
891
+ class DeleteAIGuardrailRequest
892
+ attr_accessor ai_guardrail_id: ::String
893
+ attr_accessor assistant_id: ::String
894
+ SENSITIVE: []
895
+ end
896
+
897
+ class DeleteAIGuardrailResponse < Aws::EmptyStructure
898
+ end
899
+
900
+ class DeleteAIGuardrailVersionRequest
901
+ attr_accessor ai_guardrail_id: ::String
902
+ attr_accessor assistant_id: ::String
903
+ attr_accessor version_number: ::Integer
904
+ SENSITIVE: []
905
+ end
906
+
907
+ class DeleteAIGuardrailVersionResponse < Aws::EmptyStructure
908
+ end
909
+
630
910
  class DeleteAIPromptRequest
631
911
  attr_accessor ai_prompt_id: ::String
632
912
  attr_accessor assistant_id: ::String
@@ -699,6 +979,25 @@ module Aws::QConnect
699
979
  class DeleteKnowledgeBaseResponse < Aws::EmptyStructure
700
980
  end
701
981
 
982
+ class DeleteMessageTemplateAttachmentRequest
983
+ attr_accessor attachment_id: ::String
984
+ attr_accessor knowledge_base_id: ::String
985
+ attr_accessor message_template_id: ::String
986
+ SENSITIVE: []
987
+ end
988
+
989
+ class DeleteMessageTemplateAttachmentResponse < Aws::EmptyStructure
990
+ end
991
+
992
+ class DeleteMessageTemplateRequest
993
+ attr_accessor knowledge_base_id: ::String
994
+ attr_accessor message_template_id: ::String
995
+ SENSITIVE: []
996
+ end
997
+
998
+ class DeleteMessageTemplateResponse < Aws::EmptyStructure
999
+ end
1000
+
702
1001
  class DeleteQuickResponseRequest
703
1002
  attr_accessor knowledge_base_id: ::String
704
1003
  attr_accessor quick_response_id: ::String
@@ -721,6 +1020,49 @@ module Aws::QConnect
721
1020
  SENSITIVE: [:text]
722
1021
  end
723
1022
 
1023
+ class EmailHeader
1024
+ attr_accessor name: ::String
1025
+ attr_accessor value: ::String
1026
+ SENSITIVE: [:value]
1027
+ end
1028
+
1029
+ class EmailMessageTemplateContent
1030
+ attr_accessor body: Types::EmailMessageTemplateContentBody
1031
+ attr_accessor headers: ::Array[Types::EmailHeader]
1032
+ attr_accessor subject: ::String
1033
+ SENSITIVE: [:subject]
1034
+ end
1035
+
1036
+ class EmailMessageTemplateContentBody
1037
+ attr_accessor html: Types::MessageTemplateBodyContentProvider
1038
+ attr_accessor plain_text: Types::MessageTemplateBodyContentProvider
1039
+ SENSITIVE: []
1040
+ end
1041
+
1042
+ class ExtendedMessageTemplateData
1043
+ attr_accessor attachments: ::Array[Types::MessageTemplateAttachment]
1044
+ attr_accessor attribute_types: ::Array[("SYSTEM" | "AGENT" | "CUSTOMER_PROFILE" | "CUSTOM")]
1045
+ attr_accessor channel_subtype: ("EMAIL" | "SMS")
1046
+ attr_accessor content: Types::MessageTemplateContentProvider
1047
+ attr_accessor created_time: ::Time
1048
+ attr_accessor default_attributes: Types::MessageTemplateAttributes
1049
+ attr_accessor description: ::String
1050
+ attr_accessor grouping_configuration: Types::GroupingConfiguration
1051
+ attr_accessor is_active: bool
1052
+ attr_accessor knowledge_base_arn: ::String
1053
+ attr_accessor knowledge_base_id: ::String
1054
+ attr_accessor language: ::String
1055
+ attr_accessor last_modified_by: ::String
1056
+ attr_accessor last_modified_time: ::Time
1057
+ attr_accessor message_template_arn: ::String
1058
+ attr_accessor message_template_content_sha_256: ::String
1059
+ attr_accessor message_template_id: ::String
1060
+ attr_accessor name: ::String
1061
+ attr_accessor tags: ::Hash[::String, ::String]
1062
+ attr_accessor version_number: ::Integer
1063
+ SENSITIVE: []
1064
+ end
1065
+
724
1066
  class ExternalSourceConfiguration
725
1067
  attr_accessor configuration: Types::Configuration
726
1068
  attr_accessor source: ("AMAZON_CONNECT")
@@ -770,6 +1112,18 @@ module Aws::QConnect
770
1112
  SENSITIVE: []
771
1113
  end
772
1114
 
1115
+ class GetAIGuardrailRequest
1116
+ attr_accessor ai_guardrail_id: ::String
1117
+ attr_accessor assistant_id: ::String
1118
+ SENSITIVE: []
1119
+ end
1120
+
1121
+ class GetAIGuardrailResponse
1122
+ attr_accessor ai_guardrail: Types::AIGuardrailData
1123
+ attr_accessor version_number: ::Integer
1124
+ SENSITIVE: []
1125
+ end
1126
+
773
1127
  class GetAIPromptRequest
774
1128
  attr_accessor ai_prompt_id: ::String
775
1129
  attr_accessor assistant_id: ::String
@@ -858,6 +1212,34 @@ module Aws::QConnect
858
1212
  SENSITIVE: []
859
1213
  end
860
1214
 
1215
+ class GetMessageTemplateRequest
1216
+ attr_accessor knowledge_base_id: ::String
1217
+ attr_accessor message_template_id: ::String
1218
+ SENSITIVE: []
1219
+ end
1220
+
1221
+ class GetMessageTemplateResponse
1222
+ attr_accessor message_template: Types::ExtendedMessageTemplateData
1223
+ SENSITIVE: []
1224
+ end
1225
+
1226
+ class GetNextMessageRequest
1227
+ attr_accessor assistant_id: ::String
1228
+ attr_accessor next_message_token: ::String
1229
+ attr_accessor session_id: ::String
1230
+ SENSITIVE: []
1231
+ end
1232
+
1233
+ class GetNextMessageResponse
1234
+ attr_accessor conversation_session_data: ::Array[Types::RuntimeSessionData]
1235
+ attr_accessor conversation_state: Types::ConversationState
1236
+ attr_accessor next_message_token: ::String
1237
+ attr_accessor request_message_id: ::String
1238
+ attr_accessor response: Types::MessageOutput
1239
+ attr_accessor type: ("TEXT")
1240
+ SENSITIVE: []
1241
+ end
1242
+
861
1243
  class GetQuickResponseRequest
862
1244
  attr_accessor knowledge_base_id: ::String
863
1245
  attr_accessor quick_response_id: ::String
@@ -900,6 +1282,51 @@ module Aws::QConnect
900
1282
  SENSITIVE: [:criteria]
901
1283
  end
902
1284
 
1285
+ class GuardrailContentFilterConfig
1286
+ attr_accessor input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
1287
+ attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
1288
+ attr_accessor type: ("SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK")
1289
+ SENSITIVE: [:input_strength, :output_strength, :type]
1290
+ end
1291
+
1292
+ class GuardrailContextualGroundingFilterConfig
1293
+ attr_accessor threshold: ::Float
1294
+ attr_accessor type: ("GROUNDING" | "RELEVANCE")
1295
+ SENSITIVE: [:threshold, :type]
1296
+ end
1297
+
1298
+ class GuardrailManagedWordsConfig
1299
+ attr_accessor type: ("PROFANITY")
1300
+ SENSITIVE: [:type]
1301
+ end
1302
+
1303
+ class GuardrailPiiEntityConfig
1304
+ attr_accessor action: ("BLOCK" | "ANONYMIZE")
1305
+ attr_accessor type: ("ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER")
1306
+ SENSITIVE: [:action, :type]
1307
+ end
1308
+
1309
+ class GuardrailRegexConfig
1310
+ attr_accessor action: ("BLOCK" | "ANONYMIZE")
1311
+ attr_accessor description: ::String
1312
+ attr_accessor name: ::String
1313
+ attr_accessor pattern: ::String
1314
+ SENSITIVE: [:action, :description, :name, :pattern]
1315
+ end
1316
+
1317
+ class GuardrailTopicConfig
1318
+ attr_accessor definition: ::String
1319
+ attr_accessor examples: ::Array[::String]
1320
+ attr_accessor name: ::String
1321
+ attr_accessor type: ("DENY")
1322
+ SENSITIVE: [:definition, :name, :type]
1323
+ end
1324
+
1325
+ class GuardrailWordConfig
1326
+ attr_accessor text: ::String
1327
+ SENSITIVE: [:text]
1328
+ end
1329
+
903
1330
  class HierarchicalChunkingConfiguration
904
1331
  attr_accessor level_configurations: ::Array[Types::HierarchicalChunkingLevelConfiguration]
905
1332
  attr_accessor overlap_tokens: ::Integer
@@ -1034,6 +1461,33 @@ module Aws::QConnect
1034
1461
  SENSITIVE: []
1035
1462
  end
1036
1463
 
1464
+ class ListAIGuardrailVersionsRequest
1465
+ attr_accessor ai_guardrail_id: ::String
1466
+ attr_accessor assistant_id: ::String
1467
+ attr_accessor max_results: ::Integer
1468
+ attr_accessor next_token: ::String
1469
+ SENSITIVE: []
1470
+ end
1471
+
1472
+ class ListAIGuardrailVersionsResponse
1473
+ attr_accessor ai_guardrail_version_summaries: ::Array[Types::AIGuardrailVersionSummary]
1474
+ attr_accessor next_token: ::String
1475
+ SENSITIVE: []
1476
+ end
1477
+
1478
+ class ListAIGuardrailsRequest
1479
+ attr_accessor assistant_id: ::String
1480
+ attr_accessor max_results: ::Integer
1481
+ attr_accessor next_token: ::String
1482
+ SENSITIVE: []
1483
+ end
1484
+
1485
+ class ListAIGuardrailsResponse
1486
+ attr_accessor ai_guardrail_summaries: ::Array[Types::AIGuardrailSummary]
1487
+ attr_accessor next_token: ::String
1488
+ SENSITIVE: []
1489
+ end
1490
+
1037
1491
  class ListAIPromptVersionsRequest
1038
1492
  attr_accessor ai_prompt_id: ::String
1039
1493
  attr_accessor assistant_id: ::String
@@ -1140,6 +1594,47 @@ module Aws::QConnect
1140
1594
  SENSITIVE: []
1141
1595
  end
1142
1596
 
1597
+ class ListMessageTemplateVersionsRequest
1598
+ attr_accessor knowledge_base_id: ::String
1599
+ attr_accessor max_results: ::Integer
1600
+ attr_accessor message_template_id: ::String
1601
+ attr_accessor next_token: ::String
1602
+ SENSITIVE: []
1603
+ end
1604
+
1605
+ class ListMessageTemplateVersionsResponse
1606
+ attr_accessor message_template_version_summaries: ::Array[Types::MessageTemplateVersionSummary]
1607
+ attr_accessor next_token: ::String
1608
+ SENSITIVE: []
1609
+ end
1610
+
1611
+ class ListMessageTemplatesRequest
1612
+ attr_accessor knowledge_base_id: ::String
1613
+ attr_accessor max_results: ::Integer
1614
+ attr_accessor next_token: ::String
1615
+ SENSITIVE: []
1616
+ end
1617
+
1618
+ class ListMessageTemplatesResponse
1619
+ attr_accessor message_template_summaries: ::Array[Types::MessageTemplateSummary]
1620
+ attr_accessor next_token: ::String
1621
+ SENSITIVE: []
1622
+ end
1623
+
1624
+ class ListMessagesRequest
1625
+ attr_accessor assistant_id: ::String
1626
+ attr_accessor max_results: ::Integer
1627
+ attr_accessor next_token: ::String
1628
+ attr_accessor session_id: ::String
1629
+ SENSITIVE: []
1630
+ end
1631
+
1632
+ class ListMessagesResponse
1633
+ attr_accessor messages: ::Array[Types::MessageOutput]
1634
+ attr_accessor next_token: ::String
1635
+ SENSITIVE: []
1636
+ end
1637
+
1143
1638
  class ListQuickResponsesRequest
1144
1639
  attr_accessor knowledge_base_id: ::String
1145
1640
  attr_accessor max_results: ::Integer
@@ -1175,11 +1670,177 @@ module Aws::QConnect
1175
1670
  end
1176
1671
 
1177
1672
  class ManualSearchAIAgentConfiguration
1673
+ attr_accessor answer_generation_ai_guardrail_id: ::String
1178
1674
  attr_accessor answer_generation_ai_prompt_id: ::String
1179
1675
  attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
1180
1676
  SENSITIVE: []
1181
1677
  end
1182
1678
 
1679
+ class MessageData
1680
+ attr_accessor text: Types::TextMessage
1681
+ attr_accessor unknown: untyped
1682
+ SENSITIVE: []
1683
+
1684
+ class Text < MessageData
1685
+ end
1686
+ class Unknown < MessageData
1687
+ end
1688
+ end
1689
+
1690
+ class MessageInput
1691
+ attr_accessor value: Types::MessageData
1692
+ SENSITIVE: []
1693
+ end
1694
+
1695
+ class MessageOutput
1696
+ attr_accessor message_id: ::String
1697
+ attr_accessor participant: ("CUSTOMER" | "AGENT" | "BOT")
1698
+ attr_accessor timestamp: ::Time
1699
+ attr_accessor value: Types::MessageData
1700
+ SENSITIVE: []
1701
+ end
1702
+
1703
+ class MessageTemplateAttachment
1704
+ attr_accessor attachment_id: ::String
1705
+ attr_accessor content_disposition: ("ATTACHMENT")
1706
+ attr_accessor name: ::String
1707
+ attr_accessor uploaded_time: ::Time
1708
+ attr_accessor url: ::String
1709
+ attr_accessor url_expiry: ::Time
1710
+ SENSITIVE: [:name, :url]
1711
+ end
1712
+
1713
+ class MessageTemplateAttributes
1714
+ attr_accessor agent_attributes: Types::AgentAttributes
1715
+ attr_accessor custom_attributes: ::Hash[::String, ::String]
1716
+ attr_accessor customer_profile_attributes: Types::CustomerProfileAttributes
1717
+ attr_accessor system_attributes: Types::SystemAttributes
1718
+ SENSITIVE: [:custom_attributes]
1719
+ end
1720
+
1721
+ class MessageTemplateBodyContentProvider
1722
+ attr_accessor content: ::String
1723
+ attr_accessor unknown: untyped
1724
+ SENSITIVE: [:content]
1725
+
1726
+ class Content < MessageTemplateBodyContentProvider
1727
+ end
1728
+ class Unknown < MessageTemplateBodyContentProvider
1729
+ end
1730
+ end
1731
+
1732
+ class MessageTemplateContentProvider
1733
+ attr_accessor email: Types::EmailMessageTemplateContent
1734
+ attr_accessor sms: Types::SMSMessageTemplateContent
1735
+ attr_accessor unknown: untyped
1736
+ SENSITIVE: []
1737
+
1738
+ class Email < MessageTemplateContentProvider
1739
+ end
1740
+ class Sms < MessageTemplateContentProvider
1741
+ end
1742
+ class Unknown < MessageTemplateContentProvider
1743
+ end
1744
+ end
1745
+
1746
+ class MessageTemplateData
1747
+ attr_accessor attribute_types: ::Array[("SYSTEM" | "AGENT" | "CUSTOMER_PROFILE" | "CUSTOM")]
1748
+ attr_accessor channel_subtype: ("EMAIL" | "SMS")
1749
+ attr_accessor content: Types::MessageTemplateContentProvider
1750
+ attr_accessor created_time: ::Time
1751
+ attr_accessor default_attributes: Types::MessageTemplateAttributes
1752
+ attr_accessor description: ::String
1753
+ attr_accessor grouping_configuration: Types::GroupingConfiguration
1754
+ attr_accessor knowledge_base_arn: ::String
1755
+ attr_accessor knowledge_base_id: ::String
1756
+ attr_accessor language: ::String
1757
+ attr_accessor last_modified_by: ::String
1758
+ attr_accessor last_modified_time: ::Time
1759
+ attr_accessor message_template_arn: ::String
1760
+ attr_accessor message_template_content_sha_256: ::String
1761
+ attr_accessor message_template_id: ::String
1762
+ attr_accessor name: ::String
1763
+ attr_accessor tags: ::Hash[::String, ::String]
1764
+ SENSITIVE: []
1765
+ end
1766
+
1767
+ class MessageTemplateFilterField
1768
+ attr_accessor include_no_existence: bool
1769
+ attr_accessor name: ::String
1770
+ attr_accessor operator: ("EQUALS" | "PREFIX")
1771
+ attr_accessor values: ::Array[::String]
1772
+ SENSITIVE: []
1773
+ end
1774
+
1775
+ class MessageTemplateOrderField
1776
+ attr_accessor name: ::String
1777
+ attr_accessor order: ("ASC" | "DESC")
1778
+ SENSITIVE: []
1779
+ end
1780
+
1781
+ class MessageTemplateQueryField
1782
+ attr_accessor allow_fuzziness: bool
1783
+ attr_accessor name: ::String
1784
+ attr_accessor operator: ("CONTAINS" | "CONTAINS_AND_PREFIX")
1785
+ attr_accessor priority: ("HIGH" | "MEDIUM" | "LOW")
1786
+ attr_accessor values: ::Array[::String]
1787
+ SENSITIVE: []
1788
+ end
1789
+
1790
+ class MessageTemplateSearchExpression
1791
+ attr_accessor filters: ::Array[Types::MessageTemplateFilterField]
1792
+ attr_accessor order_on_field: Types::MessageTemplateOrderField
1793
+ attr_accessor queries: ::Array[Types::MessageTemplateQueryField]
1794
+ SENSITIVE: []
1795
+ end
1796
+
1797
+ class MessageTemplateSearchResultData
1798
+ attr_accessor channel_subtype: ("EMAIL" | "SMS")
1799
+ attr_accessor created_time: ::Time
1800
+ attr_accessor description: ::String
1801
+ attr_accessor grouping_configuration: Types::GroupingConfiguration
1802
+ attr_accessor is_active: bool
1803
+ attr_accessor knowledge_base_arn: ::String
1804
+ attr_accessor knowledge_base_id: ::String
1805
+ attr_accessor language: ::String
1806
+ attr_accessor last_modified_by: ::String
1807
+ attr_accessor last_modified_time: ::Time
1808
+ attr_accessor message_template_arn: ::String
1809
+ attr_accessor message_template_id: ::String
1810
+ attr_accessor name: ::String
1811
+ attr_accessor tags: ::Hash[::String, ::String]
1812
+ attr_accessor version_number: ::Integer
1813
+ SENSITIVE: []
1814
+ end
1815
+
1816
+ class MessageTemplateSummary
1817
+ attr_accessor active_version_number: ::Integer
1818
+ attr_accessor channel_subtype: ("EMAIL" | "SMS")
1819
+ attr_accessor created_time: ::Time
1820
+ attr_accessor description: ::String
1821
+ attr_accessor knowledge_base_arn: ::String
1822
+ attr_accessor knowledge_base_id: ::String
1823
+ attr_accessor last_modified_by: ::String
1824
+ attr_accessor last_modified_time: ::Time
1825
+ attr_accessor message_template_arn: ::String
1826
+ attr_accessor message_template_id: ::String
1827
+ attr_accessor name: ::String
1828
+ attr_accessor tags: ::Hash[::String, ::String]
1829
+ SENSITIVE: []
1830
+ end
1831
+
1832
+ class MessageTemplateVersionSummary
1833
+ attr_accessor channel_subtype: ("EMAIL" | "SMS")
1834
+ attr_accessor is_active: bool
1835
+ attr_accessor knowledge_base_arn: ::String
1836
+ attr_accessor knowledge_base_id: ::String
1837
+ attr_accessor message_template_arn: ::String
1838
+ attr_accessor message_template_id: ::String
1839
+ attr_accessor name: ::String
1840
+ attr_accessor version_number: ::Integer
1841
+ SENSITIVE: []
1842
+ end
1843
+
1183
1844
  class NotifyRecommendationsReceivedError
1184
1845
  attr_accessor message: ::String
1185
1846
  attr_accessor recommendation_id: ::String
@@ -1465,7 +2126,7 @@ module Aws::QConnect
1465
2126
  end
1466
2127
 
1467
2128
  class RemoveAssistantAIAgentRequest
1468
- attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
2129
+ attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
1469
2130
  attr_accessor assistant_id: ::String
1470
2131
  SENSITIVE: []
1471
2132
  end
@@ -1481,6 +2142,20 @@ module Aws::QConnect
1481
2142
  class RemoveKnowledgeBaseTemplateUriResponse < Aws::EmptyStructure
1482
2143
  end
1483
2144
 
2145
+ class RenderMessageTemplateRequest
2146
+ attr_accessor attributes: Types::MessageTemplateAttributes
2147
+ attr_accessor knowledge_base_id: ::String
2148
+ attr_accessor message_template_id: ::String
2149
+ SENSITIVE: []
2150
+ end
2151
+
2152
+ class RenderMessageTemplateResponse
2153
+ attr_accessor attachments: ::Array[Types::MessageTemplateAttachment]
2154
+ attr_accessor attributes_not_interpolated: ::Array[::String]
2155
+ attr_accessor content: Types::MessageTemplateContentProvider
2156
+ SENSITIVE: [:attributes_not_interpolated]
2157
+ end
2158
+
1484
2159
  class RenderingConfiguration
1485
2160
  attr_accessor template_uri: ::String
1486
2161
  SENSITIVE: []
@@ -1523,6 +2198,16 @@ module Aws::QConnect
1523
2198
  end
1524
2199
  end
1525
2200
 
2201
+ class SMSMessageTemplateContent
2202
+ attr_accessor body: Types::SMSMessageTemplateContentBody
2203
+ SENSITIVE: []
2204
+ end
2205
+
2206
+ class SMSMessageTemplateContentBody
2207
+ attr_accessor plain_text: Types::MessageTemplateBodyContentProvider
2208
+ SENSITIVE: []
2209
+ end
2210
+
1526
2211
  class SearchContentRequest
1527
2212
  attr_accessor knowledge_base_id: ::String
1528
2213
  attr_accessor max_results: ::Integer
@@ -1542,6 +2227,20 @@ module Aws::QConnect
1542
2227
  SENSITIVE: []
1543
2228
  end
1544
2229
 
2230
+ class SearchMessageTemplatesRequest
2231
+ attr_accessor knowledge_base_id: ::String
2232
+ attr_accessor max_results: ::Integer
2233
+ attr_accessor next_token: ::String
2234
+ attr_accessor search_expression: Types::MessageTemplateSearchExpression
2235
+ SENSITIVE: []
2236
+ end
2237
+
2238
+ class SearchMessageTemplatesResponse
2239
+ attr_accessor next_token: ::String
2240
+ attr_accessor results: ::Array[Types::MessageTemplateSearchResultData]
2241
+ SENSITIVE: []
2242
+ end
2243
+
1545
2244
  class SearchQuickResponsesRequest
1546
2245
  attr_accessor attributes: ::Hash[::String, ::String]
1547
2246
  attr_accessor knowledge_base_id: ::String
@@ -1576,6 +2275,21 @@ module Aws::QConnect
1576
2275
  SENSITIVE: []
1577
2276
  end
1578
2277
 
2278
+ class SelfServiceAIAgentConfiguration
2279
+ attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
2280
+ attr_accessor self_service_ai_guardrail_id: ::String
2281
+ attr_accessor self_service_answer_generation_ai_prompt_id: ::String
2282
+ attr_accessor self_service_pre_processing_ai_prompt_id: ::String
2283
+ SENSITIVE: []
2284
+ end
2285
+
2286
+ class SelfServiceConversationHistory
2287
+ attr_accessor bot_response: ::String
2288
+ attr_accessor input_transcript: ::String
2289
+ attr_accessor turn_number: ::Integer
2290
+ SENSITIVE: [:bot_response, :input_transcript]
2291
+ end
2292
+
1579
2293
  class SemanticChunkingConfiguration
1580
2294
  attr_accessor breakpoint_percentile_threshold: ::Integer
1581
2295
  attr_accessor buffer_size: ::Integer
@@ -1583,6 +2297,22 @@ module Aws::QConnect
1583
2297
  SENSITIVE: []
1584
2298
  end
1585
2299
 
2300
+ class SendMessageRequest
2301
+ attr_accessor assistant_id: ::String
2302
+ attr_accessor client_token: ::String
2303
+ attr_accessor conversation_context: Types::ConversationContext
2304
+ attr_accessor message: Types::MessageInput
2305
+ attr_accessor session_id: ::String
2306
+ attr_accessor type: ("TEXT")
2307
+ SENSITIVE: []
2308
+ end
2309
+
2310
+ class SendMessageResponse
2311
+ attr_accessor next_message_token: ::String
2312
+ attr_accessor request_message_id: ::String
2313
+ SENSITIVE: []
2314
+ end
2315
+
1586
2316
  class ServerSideEncryptionConfiguration
1587
2317
  attr_accessor kms_key_id: ::String
1588
2318
  SENSITIVE: []
@@ -1594,7 +2324,7 @@ module Aws::QConnect
1594
2324
  end
1595
2325
 
1596
2326
  class SessionData
1597
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
2327
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
1598
2328
  attr_accessor description: ::String
1599
2329
  attr_accessor integration_configuration: Types::SessionIntegrationConfiguration
1600
2330
  attr_accessor name: ::String
@@ -1671,6 +2401,18 @@ module Aws::QConnect
1671
2401
  SENSITIVE: []
1672
2402
  end
1673
2403
 
2404
+ class SystemAttributes
2405
+ attr_accessor customer_endpoint: Types::SystemEndpointAttributes
2406
+ attr_accessor name: ::String
2407
+ attr_accessor system_endpoint: Types::SystemEndpointAttributes
2408
+ SENSITIVE: [:name]
2409
+ end
2410
+
2411
+ class SystemEndpointAttributes
2412
+ attr_accessor address: ::String
2413
+ SENSITIVE: [:address]
2414
+ end
2415
+
1674
2416
  class TagCondition
1675
2417
  attr_accessor key: ::String
1676
2418
  attr_accessor value: ::String
@@ -1714,6 +2456,11 @@ module Aws::QConnect
1714
2456
  SENSITIVE: [:text]
1715
2457
  end
1716
2458
 
2459
+ class TextMessage
2460
+ attr_accessor value: ::String
2461
+ SENSITIVE: [:value]
2462
+ end
2463
+
1717
2464
  class ThrottlingException
1718
2465
  attr_accessor message: ::String
1719
2466
  SENSITIVE: []
@@ -1749,6 +2496,27 @@ module Aws::QConnect
1749
2496
  SENSITIVE: []
1750
2497
  end
1751
2498
 
2499
+ class UpdateAIGuardrailRequest
2500
+ attr_accessor ai_guardrail_id: ::String
2501
+ attr_accessor assistant_id: ::String
2502
+ attr_accessor blocked_input_messaging: ::String
2503
+ attr_accessor blocked_outputs_messaging: ::String
2504
+ attr_accessor client_token: ::String
2505
+ attr_accessor content_policy_config: Types::AIGuardrailContentPolicyConfig
2506
+ attr_accessor contextual_grounding_policy_config: Types::AIGuardrailContextualGroundingPolicyConfig
2507
+ attr_accessor description: ::String
2508
+ attr_accessor sensitive_information_policy_config: Types::AIGuardrailSensitiveInformationPolicyConfig
2509
+ attr_accessor topic_policy_config: Types::AIGuardrailTopicPolicyConfig
2510
+ attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
2511
+ attr_accessor word_policy_config: Types::AIGuardrailWordPolicyConfig
2512
+ SENSITIVE: [:blocked_input_messaging, :blocked_outputs_messaging, :description]
2513
+ end
2514
+
2515
+ class UpdateAIGuardrailResponse
2516
+ attr_accessor ai_guardrail: Types::AIGuardrailData
2517
+ SENSITIVE: []
2518
+ end
2519
+
1752
2520
  class UpdateAIPromptRequest
1753
2521
  attr_accessor ai_prompt_id: ::String
1754
2522
  attr_accessor assistant_id: ::String
@@ -1765,7 +2533,7 @@ module Aws::QConnect
1765
2533
  end
1766
2534
 
1767
2535
  class UpdateAssistantAIAgentRequest
1768
- attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
2536
+ attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE")
1769
2537
  attr_accessor assistant_id: ::String
1770
2538
  attr_accessor configuration: Types::AIAgentConfigurationData
1771
2539
  SENSITIVE: []
@@ -1804,6 +2572,34 @@ module Aws::QConnect
1804
2572
  SENSITIVE: []
1805
2573
  end
1806
2574
 
2575
+ class UpdateMessageTemplateMetadataRequest
2576
+ attr_accessor description: ::String
2577
+ attr_accessor grouping_configuration: Types::GroupingConfiguration
2578
+ attr_accessor knowledge_base_id: ::String
2579
+ attr_accessor message_template_id: ::String
2580
+ attr_accessor name: ::String
2581
+ SENSITIVE: []
2582
+ end
2583
+
2584
+ class UpdateMessageTemplateMetadataResponse
2585
+ attr_accessor message_template: Types::MessageTemplateData
2586
+ SENSITIVE: []
2587
+ end
2588
+
2589
+ class UpdateMessageTemplateRequest
2590
+ attr_accessor content: Types::MessageTemplateContentProvider
2591
+ attr_accessor default_attributes: Types::MessageTemplateAttributes
2592
+ attr_accessor knowledge_base_id: ::String
2593
+ attr_accessor language: ::String
2594
+ attr_accessor message_template_id: ::String
2595
+ SENSITIVE: []
2596
+ end
2597
+
2598
+ class UpdateMessageTemplateResponse
2599
+ attr_accessor message_template: Types::MessageTemplateData
2600
+ SENSITIVE: []
2601
+ end
2602
+
1807
2603
  class UpdateQuickResponseRequest
1808
2604
  attr_accessor channels: ::Array[::String]
1809
2605
  attr_accessor content: Types::QuickResponseDataProvider
@@ -1844,7 +2640,7 @@ module Aws::QConnect
1844
2640
  end
1845
2641
 
1846
2642
  class UpdateSessionRequest
1847
- attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
2643
+ attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE"), Types::AIAgentConfigurationData]
1848
2644
  attr_accessor assistant_id: ::String
1849
2645
  attr_accessor description: ::String
1850
2646
  attr_accessor session_id: ::String