aws-sdk-qconnect 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:qconnect)
23
23
  # structure.
24
24
  #
25
25
  # q_connect = Aws::QConnect::Client.new
26
- # resp = q_connect.create_assistant(params)
26
+ # resp = q_connect.create_ai_agent(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -54,7 +54,7 @@ module Aws::QConnect
54
54
  autoload :EndpointProvider, 'aws-sdk-qconnect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-qconnect/endpoints'
56
56
 
57
- GEM_VERSION = '1.20.0'
57
+ GEM_VERSION = '1.21.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -75,6 +75,160 @@ module Aws
75
75
  | (?Hash[Symbol, untyped]) -> instance
76
76
 
77
77
 
78
+ interface _CreateAIAgentResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAIAgentResponse]
80
+ def ai_agent: () -> Types::AIAgentData
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_ai_agent-instance_method
83
+ def create_ai_agent: (
84
+ assistant_id: ::String,
85
+ ?client_token: ::String,
86
+ configuration: {
87
+ answer_recommendation_ai_agent_configuration: {
88
+ answer_generation_ai_prompt_id: ::String?,
89
+ association_configurations: Array[
90
+ {
91
+ association_configuration_data: {
92
+ knowledge_base_association_configuration_data: {
93
+ content_tag_filter: {
94
+ and_conditions: Array[
95
+ {
96
+ key: ::String,
97
+ value: ::String?
98
+ },
99
+ ]?,
100
+ or_conditions: Array[
101
+ {
102
+ and_conditions: Array[
103
+ {
104
+ key: ::String,
105
+ value: ::String?
106
+ },
107
+ ]?,
108
+ tag_condition: {
109
+ key: ::String,
110
+ value: ::String?
111
+ }?
112
+ },
113
+ ]?,
114
+ tag_condition: {
115
+ key: ::String,
116
+ value: ::String?
117
+ }?
118
+ }?,
119
+ max_results: ::Integer?,
120
+ override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC")?
121
+ }?
122
+ }?,
123
+ association_id: ::String?,
124
+ association_type: ("KNOWLEDGE_BASE")?
125
+ },
126
+ ]?,
127
+ intent_labeling_generation_ai_prompt_id: ::String?,
128
+ query_reformulation_ai_prompt_id: ::String?
129
+ }?,
130
+ manual_search_ai_agent_configuration: {
131
+ answer_generation_ai_prompt_id: ::String?,
132
+ association_configurations: Array[
133
+ {
134
+ association_configuration_data: {
135
+ knowledge_base_association_configuration_data: {
136
+ content_tag_filter: {
137
+ and_conditions: Array[
138
+ {
139
+ key: ::String,
140
+ value: ::String?
141
+ },
142
+ ]?,
143
+ or_conditions: Array[
144
+ {
145
+ and_conditions: Array[
146
+ {
147
+ key: ::String,
148
+ value: ::String?
149
+ },
150
+ ]?,
151
+ tag_condition: {
152
+ key: ::String,
153
+ value: ::String?
154
+ }?
155
+ },
156
+ ]?,
157
+ tag_condition: {
158
+ key: ::String,
159
+ value: ::String?
160
+ }?
161
+ }?,
162
+ max_results: ::Integer?,
163
+ override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC")?
164
+ }?
165
+ }?,
166
+ association_id: ::String?,
167
+ association_type: ("KNOWLEDGE_BASE")?
168
+ },
169
+ ]?
170
+ }?
171
+ },
172
+ ?description: ::String,
173
+ name: ::String,
174
+ ?tags: Hash[::String, ::String],
175
+ type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"),
176
+ visibility_status: ("SAVED" | "PUBLISHED")
177
+ ) -> _CreateAIAgentResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAIAgentResponseSuccess
179
+
180
+ interface _CreateAIAgentVersionResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAIAgentVersionResponse]
182
+ def ai_agent: () -> Types::AIAgentData
183
+ def version_number: () -> ::Integer
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_ai_agent_version-instance_method
186
+ def create_ai_agent_version: (
187
+ ai_agent_id: ::String,
188
+ assistant_id: ::String,
189
+ ?client_token: ::String,
190
+ ?modified_time: ::Time
191
+ ) -> _CreateAIAgentVersionResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAIAgentVersionResponseSuccess
193
+
194
+ interface _CreateAIPromptResponseSuccess
195
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAIPromptResponse]
196
+ def ai_prompt: () -> Types::AIPromptData
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_ai_prompt-instance_method
199
+ def create_ai_prompt: (
200
+ api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS"),
201
+ assistant_id: ::String,
202
+ ?client_token: ::String,
203
+ ?description: ::String,
204
+ model_id: ::String,
205
+ name: ::String,
206
+ ?tags: Hash[::String, ::String],
207
+ template_configuration: {
208
+ text_full_ai_prompt_edit_template_configuration: {
209
+ text: ::String
210
+ }?
211
+ },
212
+ template_type: ("TEXT"),
213
+ type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION"),
214
+ visibility_status: ("SAVED" | "PUBLISHED")
215
+ ) -> _CreateAIPromptResponseSuccess
216
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAIPromptResponseSuccess
217
+
218
+ interface _CreateAIPromptVersionResponseSuccess
219
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAIPromptVersionResponse]
220
+ def ai_prompt: () -> Types::AIPromptData
221
+ def version_number: () -> ::Integer
222
+ end
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_ai_prompt_version-instance_method
224
+ def create_ai_prompt_version: (
225
+ ai_prompt_id: ::String,
226
+ assistant_id: ::String,
227
+ ?client_token: ::String,
228
+ ?modified_time: ::Time
229
+ ) -> _CreateAIPromptVersionResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAIPromptVersionResponseSuccess
231
+
78
232
  interface _CreateAssistantResponseSuccess
79
233
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssistantResponse]
80
234
  def assistant: () -> Types::AssistantData
@@ -152,7 +306,7 @@ module Aws
152
306
  def create_knowledge_base: (
153
307
  ?client_token: ::String,
154
308
  ?description: ::String,
155
- knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES"),
309
+ knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES" | "MESSAGE_TEMPLATES" | "MANAGED"),
156
310
  name: ::String,
157
311
  ?rendering_configuration: {
158
312
  template_uri: ::String?
@@ -164,9 +318,57 @@ module Aws
164
318
  app_integrations: {
165
319
  app_integration_arn: ::String,
166
320
  object_fields: Array[::String]?
321
+ }?,
322
+ managed_source_configuration: {
323
+ web_crawler_configuration: {
324
+ crawler_limits: {
325
+ rate_limit: ::Integer?
326
+ }?,
327
+ exclusion_filters: Array[::String]?,
328
+ inclusion_filters: Array[::String]?,
329
+ scope: ("HOST_ONLY" | "SUBDOMAINS")?,
330
+ url_configuration: {
331
+ seed_urls: Array[
332
+ {
333
+ url: ::String?
334
+ },
335
+ ]?
336
+ }
337
+ }?
167
338
  }?
168
339
  },
169
- ?tags: Hash[::String, ::String]
340
+ ?tags: Hash[::String, ::String],
341
+ ?vector_ingestion_configuration: {
342
+ chunking_configuration: {
343
+ chunking_strategy: ("FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC"),
344
+ fixed_size_chunking_configuration: {
345
+ max_tokens: ::Integer,
346
+ overlap_percentage: ::Integer
347
+ }?,
348
+ hierarchical_chunking_configuration: {
349
+ level_configurations: Array[
350
+ {
351
+ max_tokens: ::Integer
352
+ },
353
+ ],
354
+ overlap_tokens: ::Integer
355
+ }?,
356
+ semantic_chunking_configuration: {
357
+ breakpoint_percentile_threshold: ::Integer,
358
+ buffer_size: ::Integer,
359
+ max_tokens: ::Integer
360
+ }?
361
+ }?,
362
+ parsing_configuration: {
363
+ bedrock_foundation_model_configuration: {
364
+ model_arn: ::String,
365
+ parsing_prompt: {
366
+ parsing_prompt_text: ::String
367
+ }?
368
+ }?,
369
+ parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
370
+ }?
371
+ }
170
372
  ) -> _CreateKnowledgeBaseResponseSuccess
171
373
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKnowledgeBaseResponseSuccess
172
374
 
@@ -202,6 +404,9 @@ module Aws
202
404
  end
203
405
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_session-instance_method
204
406
  def create_session: (
407
+ ?ai_agent_configuration: Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), {
408
+ ai_agent_id: ::String
409
+ }],
205
410
  assistant_id: ::String,
206
411
  ?client_token: ::String,
207
412
  ?description: ::String,
@@ -236,6 +441,48 @@ module Aws
236
441
  ) -> _CreateSessionResponseSuccess
237
442
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
238
443
 
444
+ interface _DeleteAIAgentResponseSuccess
445
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAIAgentResponse]
446
+ end
447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_ai_agent-instance_method
448
+ def delete_ai_agent: (
449
+ ai_agent_id: ::String,
450
+ assistant_id: ::String
451
+ ) -> _DeleteAIAgentResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAIAgentResponseSuccess
453
+
454
+ interface _DeleteAIAgentVersionResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAIAgentVersionResponse]
456
+ end
457
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_ai_agent_version-instance_method
458
+ def delete_ai_agent_version: (
459
+ ai_agent_id: ::String,
460
+ assistant_id: ::String,
461
+ version_number: ::Integer
462
+ ) -> _DeleteAIAgentVersionResponseSuccess
463
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAIAgentVersionResponseSuccess
464
+
465
+ interface _DeleteAIPromptResponseSuccess
466
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAIPromptResponse]
467
+ end
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_ai_prompt-instance_method
469
+ def delete_ai_prompt: (
470
+ ai_prompt_id: ::String,
471
+ assistant_id: ::String
472
+ ) -> _DeleteAIPromptResponseSuccess
473
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAIPromptResponseSuccess
474
+
475
+ interface _DeleteAIPromptVersionResponseSuccess
476
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAIPromptVersionResponse]
477
+ end
478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_ai_prompt_version-instance_method
479
+ def delete_ai_prompt_version: (
480
+ ai_prompt_id: ::String,
481
+ assistant_id: ::String,
482
+ version_number: ::Integer
483
+ ) -> _DeleteAIPromptVersionResponseSuccess
484
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAIPromptVersionResponseSuccess
485
+
239
486
  interface _DeleteAssistantResponseSuccess
240
487
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssistantResponse]
241
488
  end
@@ -305,6 +552,30 @@ module Aws
305
552
  ) -> _DeleteQuickResponseResponseSuccess
306
553
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQuickResponseResponseSuccess
307
554
 
555
+ interface _GetAIAgentResponseSuccess
556
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAIAgentResponse]
557
+ def ai_agent: () -> Types::AIAgentData
558
+ def version_number: () -> ::Integer
559
+ end
560
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#get_ai_agent-instance_method
561
+ def get_ai_agent: (
562
+ ai_agent_id: ::String,
563
+ assistant_id: ::String
564
+ ) -> _GetAIAgentResponseSuccess
565
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAIAgentResponseSuccess
566
+
567
+ interface _GetAIPromptResponseSuccess
568
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAIPromptResponse]
569
+ def ai_prompt: () -> Types::AIPromptData
570
+ def version_number: () -> ::Integer
571
+ end
572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#get_ai_prompt-instance_method
573
+ def get_ai_prompt: (
574
+ ai_prompt_id: ::String,
575
+ assistant_id: ::String
576
+ ) -> _GetAIPromptResponseSuccess
577
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAIPromptResponseSuccess
578
+
308
579
  interface _GetAssistantResponseSuccess
309
580
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAssistantResponse]
310
581
  def assistant: () -> Types::AssistantData
@@ -417,6 +688,64 @@ module Aws
417
688
  ) -> _GetSessionResponseSuccess
418
689
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
419
690
 
691
+ interface _ListAIAgentVersionsResponseSuccess
692
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAIAgentVersionsResponse]
693
+ def ai_agent_version_summaries: () -> ::Array[Types::AIAgentVersionSummary]
694
+ def next_token: () -> ::String
695
+ end
696
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_ai_agent_versions-instance_method
697
+ def list_ai_agent_versions: (
698
+ ai_agent_id: ::String,
699
+ assistant_id: ::String,
700
+ ?max_results: ::Integer,
701
+ ?next_token: ::String,
702
+ ?origin: ("SYSTEM" | "CUSTOMER")
703
+ ) -> _ListAIAgentVersionsResponseSuccess
704
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAIAgentVersionsResponseSuccess
705
+
706
+ interface _ListAIAgentsResponseSuccess
707
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAIAgentsResponse]
708
+ def ai_agent_summaries: () -> ::Array[Types::AIAgentSummary]
709
+ def next_token: () -> ::String
710
+ end
711
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_ai_agents-instance_method
712
+ def list_ai_agents: (
713
+ assistant_id: ::String,
714
+ ?max_results: ::Integer,
715
+ ?next_token: ::String,
716
+ ?origin: ("SYSTEM" | "CUSTOMER")
717
+ ) -> _ListAIAgentsResponseSuccess
718
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAIAgentsResponseSuccess
719
+
720
+ interface _ListAIPromptVersionsResponseSuccess
721
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAIPromptVersionsResponse]
722
+ def ai_prompt_version_summaries: () -> ::Array[Types::AIPromptVersionSummary]
723
+ def next_token: () -> ::String
724
+ end
725
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_ai_prompt_versions-instance_method
726
+ def list_ai_prompt_versions: (
727
+ ai_prompt_id: ::String,
728
+ assistant_id: ::String,
729
+ ?max_results: ::Integer,
730
+ ?next_token: ::String,
731
+ ?origin: ("SYSTEM" | "CUSTOMER")
732
+ ) -> _ListAIPromptVersionsResponseSuccess
733
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAIPromptVersionsResponseSuccess
734
+
735
+ interface _ListAIPromptsResponseSuccess
736
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAIPromptsResponse]
737
+ def ai_prompt_summaries: () -> ::Array[Types::AIPromptSummary]
738
+ def next_token: () -> ::String
739
+ end
740
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_ai_prompts-instance_method
741
+ def list_ai_prompts: (
742
+ assistant_id: ::String,
743
+ ?max_results: ::Integer,
744
+ ?next_token: ::String,
745
+ ?origin: ("SYSTEM" | "CUSTOMER")
746
+ ) -> _ListAIPromptsResponseSuccess
747
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAIPromptsResponseSuccess
748
+
420
749
  interface _ListAssistantAssociationsResponseSuccess
421
750
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAssistantAssociationsResponse]
422
751
  def assistant_association_summaries: () -> ::Array[Types::AssistantAssociationSummary]
@@ -561,6 +890,7 @@ module Aws
561
890
  assistant_id: ::String,
562
891
  ?max_results: ::Integer,
563
892
  ?next_token: ::String,
893
+ ?override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC"),
564
894
  ?query_condition: Array[
565
895
  {
566
896
  single: {
@@ -570,11 +900,29 @@ module Aws
570
900
  }?
571
901
  },
572
902
  ],
573
- query_text: ::String,
903
+ ?query_input_data: {
904
+ intent_input_data: {
905
+ intent_id: ::String
906
+ }?,
907
+ query_text_input_data: {
908
+ text: ::String
909
+ }?
910
+ },
911
+ ?query_text: ::String,
574
912
  ?session_id: ::String
575
913
  ) -> _QueryAssistantResponseSuccess
576
914
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryAssistantResponseSuccess
577
915
 
916
+ interface _RemoveAssistantAIAgentResponseSuccess
917
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveAssistantAIAgentResponse]
918
+ end
919
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#remove_assistant_ai_agent-instance_method
920
+ def remove_assistant_ai_agent: (
921
+ ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"),
922
+ assistant_id: ::String
923
+ ) -> _RemoveAssistantAIAgentResponseSuccess
924
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveAssistantAIAgentResponseSuccess
925
+
578
926
  interface _RemoveKnowledgeBaseTemplateUriResponseSuccess
579
927
  include ::Seahorse::Client::_ResponseSuccess[Types::RemoveKnowledgeBaseTemplateUriResponse]
580
928
  end
@@ -722,6 +1070,139 @@ module Aws
722
1070
  ) -> _UntagResourceResponseSuccess
723
1071
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
724
1072
 
1073
+ interface _UpdateAIAgentResponseSuccess
1074
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAIAgentResponse]
1075
+ def ai_agent: () -> Types::AIAgentData
1076
+ end
1077
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_ai_agent-instance_method
1078
+ def update_ai_agent: (
1079
+ ai_agent_id: ::String,
1080
+ assistant_id: ::String,
1081
+ ?client_token: ::String,
1082
+ ?configuration: {
1083
+ answer_recommendation_ai_agent_configuration: {
1084
+ answer_generation_ai_prompt_id: ::String?,
1085
+ association_configurations: Array[
1086
+ {
1087
+ association_configuration_data: {
1088
+ knowledge_base_association_configuration_data: {
1089
+ content_tag_filter: {
1090
+ and_conditions: Array[
1091
+ {
1092
+ key: ::String,
1093
+ value: ::String?
1094
+ },
1095
+ ]?,
1096
+ or_conditions: Array[
1097
+ {
1098
+ and_conditions: Array[
1099
+ {
1100
+ key: ::String,
1101
+ value: ::String?
1102
+ },
1103
+ ]?,
1104
+ tag_condition: {
1105
+ key: ::String,
1106
+ value: ::String?
1107
+ }?
1108
+ },
1109
+ ]?,
1110
+ tag_condition: {
1111
+ key: ::String,
1112
+ value: ::String?
1113
+ }?
1114
+ }?,
1115
+ max_results: ::Integer?,
1116
+ override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC")?
1117
+ }?
1118
+ }?,
1119
+ association_id: ::String?,
1120
+ association_type: ("KNOWLEDGE_BASE")?
1121
+ },
1122
+ ]?,
1123
+ intent_labeling_generation_ai_prompt_id: ::String?,
1124
+ query_reformulation_ai_prompt_id: ::String?
1125
+ }?,
1126
+ manual_search_ai_agent_configuration: {
1127
+ answer_generation_ai_prompt_id: ::String?,
1128
+ association_configurations: Array[
1129
+ {
1130
+ association_configuration_data: {
1131
+ knowledge_base_association_configuration_data: {
1132
+ content_tag_filter: {
1133
+ and_conditions: Array[
1134
+ {
1135
+ key: ::String,
1136
+ value: ::String?
1137
+ },
1138
+ ]?,
1139
+ or_conditions: Array[
1140
+ {
1141
+ and_conditions: Array[
1142
+ {
1143
+ key: ::String,
1144
+ value: ::String?
1145
+ },
1146
+ ]?,
1147
+ tag_condition: {
1148
+ key: ::String,
1149
+ value: ::String?
1150
+ }?
1151
+ },
1152
+ ]?,
1153
+ tag_condition: {
1154
+ key: ::String,
1155
+ value: ::String?
1156
+ }?
1157
+ }?,
1158
+ max_results: ::Integer?,
1159
+ override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC")?
1160
+ }?
1161
+ }?,
1162
+ association_id: ::String?,
1163
+ association_type: ("KNOWLEDGE_BASE")?
1164
+ },
1165
+ ]?
1166
+ }?
1167
+ },
1168
+ ?description: ::String,
1169
+ visibility_status: ("SAVED" | "PUBLISHED")
1170
+ ) -> _UpdateAIAgentResponseSuccess
1171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAIAgentResponseSuccess
1172
+
1173
+ interface _UpdateAIPromptResponseSuccess
1174
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAIPromptResponse]
1175
+ def ai_prompt: () -> Types::AIPromptData
1176
+ end
1177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_ai_prompt-instance_method
1178
+ def update_ai_prompt: (
1179
+ ai_prompt_id: ::String,
1180
+ assistant_id: ::String,
1181
+ ?client_token: ::String,
1182
+ ?description: ::String,
1183
+ ?template_configuration: {
1184
+ text_full_ai_prompt_edit_template_configuration: {
1185
+ text: ::String
1186
+ }?
1187
+ },
1188
+ visibility_status: ("SAVED" | "PUBLISHED")
1189
+ ) -> _UpdateAIPromptResponseSuccess
1190
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAIPromptResponseSuccess
1191
+
1192
+ interface _UpdateAssistantAIAgentResponseSuccess
1193
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssistantAIAgentResponse]
1194
+ def assistant: () -> Types::AssistantData
1195
+ end
1196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_assistant_ai_agent-instance_method
1197
+ def update_assistant_ai_agent: (
1198
+ ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"),
1199
+ assistant_id: ::String,
1200
+ configuration: {
1201
+ ai_agent_id: ::String
1202
+ }
1203
+ ) -> _UpdateAssistantAIAgentResponseSuccess
1204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssistantAIAgentResponseSuccess
1205
+
725
1206
  interface _UpdateContentResponseSuccess
726
1207
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContentResponse]
727
1208
  def content: () -> Types::ContentData
@@ -784,6 +1265,9 @@ module Aws
784
1265
  end
785
1266
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_session-instance_method
786
1267
  def update_session: (
1268
+ ?ai_agent_configuration: Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), {
1269
+ ai_agent_id: ::String
1270
+ }],
787
1271
  assistant_id: ::String,
788
1272
  ?description: ::String,
789
1273
  session_id: ::String,
@@ -815,6 +1299,28 @@ module Aws
815
1299
  }
816
1300
  ) -> _UpdateSessionResponseSuccess
817
1301
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSessionResponseSuccess
1302
+
1303
+ interface _UpdateSessionDataResponseSuccess
1304
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSessionDataResponse]
1305
+ def namespace: () -> ("Custom")
1306
+ def session_arn: () -> ::String
1307
+ def session_id: () -> ::String
1308
+ end
1309
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_session_data-instance_method
1310
+ def update_session_data: (
1311
+ assistant_id: ::String,
1312
+ data: Array[
1313
+ {
1314
+ key: ::String,
1315
+ value: {
1316
+ string_value: ::String?
1317
+ }
1318
+ },
1319
+ ],
1320
+ ?namespace: ("Custom"),
1321
+ session_id: ::String
1322
+ ) -> _UpdateSessionDataResponseSuccess
1323
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSessionDataResponseSuccess
818
1324
  end
819
1325
  end
820
1326
  end