aws-sdk-qconnect 1.19.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qconnect/client.rb +1733 -46
- data/lib/aws-sdk-qconnect/client_api.rb +819 -1
- data/lib/aws-sdk-qconnect/endpoints.rb +209 -0
- data/lib/aws-sdk-qconnect/plugins/endpoints.rb +38 -0
- data/lib/aws-sdk-qconnect/types.rb +2153 -101
- data/lib/aws-sdk-qconnect.rb +4 -2
- data/sig/client.rbs +509 -3
- data/sig/types.rbs +580 -5
- metadata +4 -4
data/sig/types.rbs
CHANGED
@@ -8,6 +8,121 @@
|
|
8
8
|
module Aws::QConnect
|
9
9
|
module Types
|
10
10
|
|
11
|
+
class AIAgentConfiguration
|
12
|
+
attr_accessor answer_recommendation_ai_agent_configuration: Types::AnswerRecommendationAIAgentConfiguration
|
13
|
+
attr_accessor manual_search_ai_agent_configuration: Types::ManualSearchAIAgentConfiguration
|
14
|
+
attr_accessor unknown: untyped
|
15
|
+
SENSITIVE: []
|
16
|
+
|
17
|
+
class AnswerRecommendationAiAgentConfiguration < AIAgentConfiguration
|
18
|
+
end
|
19
|
+
class ManualSearchAiAgentConfiguration < AIAgentConfiguration
|
20
|
+
end
|
21
|
+
class Unknown < AIAgentConfiguration
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
class AIAgentConfigurationData
|
26
|
+
attr_accessor ai_agent_id: ::String
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class AIAgentData
|
31
|
+
attr_accessor ai_agent_arn: ::String
|
32
|
+
attr_accessor ai_agent_id: ::String
|
33
|
+
attr_accessor assistant_arn: ::String
|
34
|
+
attr_accessor assistant_id: ::String
|
35
|
+
attr_accessor configuration: Types::AIAgentConfiguration
|
36
|
+
attr_accessor description: ::String
|
37
|
+
attr_accessor modified_time: ::Time
|
38
|
+
attr_accessor name: ::String
|
39
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
40
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
41
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
42
|
+
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
43
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class AIAgentSummary
|
48
|
+
attr_accessor ai_agent_arn: ::String
|
49
|
+
attr_accessor ai_agent_id: ::String
|
50
|
+
attr_accessor assistant_arn: ::String
|
51
|
+
attr_accessor assistant_id: ::String
|
52
|
+
attr_accessor configuration: Types::AIAgentConfiguration
|
53
|
+
attr_accessor description: ::String
|
54
|
+
attr_accessor modified_time: ::Time
|
55
|
+
attr_accessor name: ::String
|
56
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
57
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
58
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
59
|
+
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
60
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
61
|
+
SENSITIVE: []
|
62
|
+
end
|
63
|
+
|
64
|
+
class AIAgentVersionSummary
|
65
|
+
attr_accessor ai_agent_summary: Types::AIAgentSummary
|
66
|
+
attr_accessor version_number: ::Integer
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class AIPromptData
|
71
|
+
attr_accessor ai_prompt_arn: ::String
|
72
|
+
attr_accessor ai_prompt_id: ::String
|
73
|
+
attr_accessor api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS")
|
74
|
+
attr_accessor assistant_arn: ::String
|
75
|
+
attr_accessor assistant_id: ::String
|
76
|
+
attr_accessor description: ::String
|
77
|
+
attr_accessor model_id: ::String
|
78
|
+
attr_accessor modified_time: ::Time
|
79
|
+
attr_accessor name: ::String
|
80
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
81
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
82
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
83
|
+
attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
|
84
|
+
attr_accessor template_type: ("TEXT")
|
85
|
+
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
|
86
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
87
|
+
SENSITIVE: []
|
88
|
+
end
|
89
|
+
|
90
|
+
class AIPromptSummary
|
91
|
+
attr_accessor ai_prompt_arn: ::String
|
92
|
+
attr_accessor ai_prompt_id: ::String
|
93
|
+
attr_accessor api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS")
|
94
|
+
attr_accessor assistant_arn: ::String
|
95
|
+
attr_accessor assistant_id: ::String
|
96
|
+
attr_accessor description: ::String
|
97
|
+
attr_accessor model_id: ::String
|
98
|
+
attr_accessor modified_time: ::Time
|
99
|
+
attr_accessor name: ::String
|
100
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
101
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
102
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
103
|
+
attr_accessor template_type: ("TEXT")
|
104
|
+
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
|
105
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
106
|
+
SENSITIVE: []
|
107
|
+
end
|
108
|
+
|
109
|
+
class AIPromptTemplateConfiguration
|
110
|
+
attr_accessor text_full_ai_prompt_edit_template_configuration: Types::TextFullAIPromptEditTemplateConfiguration
|
111
|
+
attr_accessor unknown: untyped
|
112
|
+
SENSITIVE: []
|
113
|
+
|
114
|
+
class TextFullAiPromptEditTemplateConfiguration < AIPromptTemplateConfiguration
|
115
|
+
end
|
116
|
+
class Unknown < AIPromptTemplateConfiguration
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
class AIPromptVersionSummary
|
121
|
+
attr_accessor ai_prompt_summary: Types::AIPromptSummary
|
122
|
+
attr_accessor version_number: ::Integer
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
11
126
|
class AccessDeniedException
|
12
127
|
attr_accessor message: ::String
|
13
128
|
SENSITIVE: []
|
@@ -18,6 +133,14 @@ module Aws::QConnect
|
|
18
133
|
SENSITIVE: []
|
19
134
|
end
|
20
135
|
|
136
|
+
class AnswerRecommendationAIAgentConfiguration
|
137
|
+
attr_accessor answer_generation_ai_prompt_id: ::String
|
138
|
+
attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
|
139
|
+
attr_accessor intent_labeling_generation_ai_prompt_id: ::String
|
140
|
+
attr_accessor query_reformulation_ai_prompt_id: ::String
|
141
|
+
SENSITIVE: []
|
142
|
+
end
|
143
|
+
|
21
144
|
class AppIntegrationsConfiguration
|
22
145
|
attr_accessor app_integration_arn: ::String
|
23
146
|
attr_accessor object_fields: ::Array[::String]
|
@@ -74,6 +197,7 @@ module Aws::QConnect
|
|
74
197
|
end
|
75
198
|
|
76
199
|
class AssistantData
|
200
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
77
201
|
attr_accessor assistant_arn: ::String
|
78
202
|
attr_accessor assistant_id: ::String
|
79
203
|
attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
|
@@ -93,6 +217,7 @@ module Aws::QConnect
|
|
93
217
|
end
|
94
218
|
|
95
219
|
class AssistantSummary
|
220
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
96
221
|
attr_accessor assistant_arn: ::String
|
97
222
|
attr_accessor assistant_id: ::String
|
98
223
|
attr_accessor capability_configuration: Types::AssistantCapabilityConfiguration
|
@@ -106,6 +231,44 @@ module Aws::QConnect
|
|
106
231
|
SENSITIVE: []
|
107
232
|
end
|
108
233
|
|
234
|
+
class AssociationConfiguration
|
235
|
+
attr_accessor association_configuration_data: Types::AssociationConfigurationData
|
236
|
+
attr_accessor association_id: ::String
|
237
|
+
attr_accessor association_type: ("KNOWLEDGE_BASE")
|
238
|
+
SENSITIVE: []
|
239
|
+
end
|
240
|
+
|
241
|
+
class AssociationConfigurationData
|
242
|
+
attr_accessor knowledge_base_association_configuration_data: Types::KnowledgeBaseAssociationConfigurationData
|
243
|
+
attr_accessor unknown: untyped
|
244
|
+
SENSITIVE: []
|
245
|
+
|
246
|
+
class KnowledgeBaseAssociationConfigurationData < AssociationConfigurationData
|
247
|
+
end
|
248
|
+
class Unknown < AssociationConfigurationData
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class BedrockFoundationModelConfigurationForParsing
|
253
|
+
attr_accessor model_arn: ::String
|
254
|
+
attr_accessor parsing_prompt: Types::ParsingPrompt
|
255
|
+
SENSITIVE: []
|
256
|
+
end
|
257
|
+
|
258
|
+
class ChunkingConfiguration
|
259
|
+
attr_accessor chunking_strategy: ("FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC")
|
260
|
+
attr_accessor fixed_size_chunking_configuration: Types::FixedSizeChunkingConfiguration
|
261
|
+
attr_accessor hierarchical_chunking_configuration: Types::HierarchicalChunkingConfiguration
|
262
|
+
attr_accessor semantic_chunking_configuration: Types::SemanticChunkingConfiguration
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
266
|
+
class CitationSpan
|
267
|
+
attr_accessor begin_offset_inclusive: ::Integer
|
268
|
+
attr_accessor end_offset_exclusive: ::Integer
|
269
|
+
SENSITIVE: []
|
270
|
+
end
|
271
|
+
|
109
272
|
class Configuration
|
110
273
|
attr_accessor connect_configuration: Types::ConnectConfiguration
|
111
274
|
attr_accessor unknown: untyped
|
@@ -204,6 +367,8 @@ module Aws::QConnect
|
|
204
367
|
attr_accessor content_id: ::String
|
205
368
|
attr_accessor knowledge_base_arn: ::String
|
206
369
|
attr_accessor knowledge_base_id: ::String
|
370
|
+
attr_accessor reference_type: ("WEB_CRAWLER" | "KNOWLEDGE_BASE")
|
371
|
+
attr_accessor source_url: ::String
|
207
372
|
SENSITIVE: []
|
208
373
|
end
|
209
374
|
|
@@ -222,6 +387,71 @@ module Aws::QConnect
|
|
222
387
|
SENSITIVE: []
|
223
388
|
end
|
224
389
|
|
390
|
+
class CreateAIAgentRequest
|
391
|
+
attr_accessor assistant_id: ::String
|
392
|
+
attr_accessor client_token: ::String
|
393
|
+
attr_accessor configuration: Types::AIAgentConfiguration
|
394
|
+
attr_accessor description: ::String
|
395
|
+
attr_accessor name: ::String
|
396
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
397
|
+
attr_accessor type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
398
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
399
|
+
SENSITIVE: []
|
400
|
+
end
|
401
|
+
|
402
|
+
class CreateAIAgentResponse
|
403
|
+
attr_accessor ai_agent: Types::AIAgentData
|
404
|
+
SENSITIVE: []
|
405
|
+
end
|
406
|
+
|
407
|
+
class CreateAIAgentVersionRequest
|
408
|
+
attr_accessor ai_agent_id: ::String
|
409
|
+
attr_accessor assistant_id: ::String
|
410
|
+
attr_accessor client_token: ::String
|
411
|
+
attr_accessor modified_time: ::Time
|
412
|
+
SENSITIVE: []
|
413
|
+
end
|
414
|
+
|
415
|
+
class CreateAIAgentVersionResponse
|
416
|
+
attr_accessor ai_agent: Types::AIAgentData
|
417
|
+
attr_accessor version_number: ::Integer
|
418
|
+
SENSITIVE: []
|
419
|
+
end
|
420
|
+
|
421
|
+
class CreateAIPromptRequest
|
422
|
+
attr_accessor api_format: ("ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS")
|
423
|
+
attr_accessor assistant_id: ::String
|
424
|
+
attr_accessor client_token: ::String
|
425
|
+
attr_accessor description: ::String
|
426
|
+
attr_accessor model_id: ::String
|
427
|
+
attr_accessor name: ::String
|
428
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
429
|
+
attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
|
430
|
+
attr_accessor template_type: ("TEXT")
|
431
|
+
attr_accessor type: ("ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION")
|
432
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
433
|
+
SENSITIVE: []
|
434
|
+
end
|
435
|
+
|
436
|
+
class CreateAIPromptResponse
|
437
|
+
attr_accessor ai_prompt: Types::AIPromptData
|
438
|
+
SENSITIVE: []
|
439
|
+
end
|
440
|
+
|
441
|
+
class CreateAIPromptVersionRequest
|
442
|
+
attr_accessor ai_prompt_id: ::String
|
443
|
+
attr_accessor assistant_id: ::String
|
444
|
+
attr_accessor client_token: ::String
|
445
|
+
attr_accessor modified_time: ::Time
|
446
|
+
SENSITIVE: []
|
447
|
+
end
|
448
|
+
|
449
|
+
class CreateAIPromptVersionResponse
|
450
|
+
attr_accessor ai_prompt: Types::AIPromptData
|
451
|
+
attr_accessor version_number: ::Integer
|
452
|
+
SENSITIVE: []
|
453
|
+
end
|
454
|
+
|
225
455
|
class CreateAssistantAssociationRequest
|
226
456
|
attr_accessor assistant_id: ::String
|
227
457
|
attr_accessor association: Types::AssistantAssociationInputData
|
@@ -286,12 +516,13 @@ module Aws::QConnect
|
|
286
516
|
class CreateKnowledgeBaseRequest
|
287
517
|
attr_accessor client_token: ::String
|
288
518
|
attr_accessor description: ::String
|
289
|
-
attr_accessor knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES")
|
519
|
+
attr_accessor knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES" | "MESSAGE_TEMPLATES" | "MANAGED")
|
290
520
|
attr_accessor name: ::String
|
291
521
|
attr_accessor rendering_configuration: Types::RenderingConfiguration
|
292
522
|
attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
|
293
523
|
attr_accessor source_configuration: Types::SourceConfiguration
|
294
524
|
attr_accessor tags: ::Hash[::String, ::String]
|
525
|
+
attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
|
295
526
|
SENSITIVE: []
|
296
527
|
end
|
297
528
|
|
@@ -322,6 +553,7 @@ module Aws::QConnect
|
|
322
553
|
end
|
323
554
|
|
324
555
|
class CreateSessionRequest
|
556
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
325
557
|
attr_accessor assistant_id: ::String
|
326
558
|
attr_accessor client_token: ::String
|
327
559
|
attr_accessor description: ::String
|
@@ -339,6 +571,7 @@ module Aws::QConnect
|
|
339
571
|
class DataDetails
|
340
572
|
attr_accessor content_data: Types::ContentDataDetails
|
341
573
|
attr_accessor generative_data: Types::GenerativeDataDetails
|
574
|
+
attr_accessor intent_detected_data: Types::IntentDetectedDataDetails
|
342
575
|
attr_accessor source_content_data: Types::SourceContentDataDetails
|
343
576
|
attr_accessor unknown: untyped
|
344
577
|
SENSITIVE: []
|
@@ -347,6 +580,8 @@ module Aws::QConnect
|
|
347
580
|
end
|
348
581
|
class GenerativeData < DataDetails
|
349
582
|
end
|
583
|
+
class IntentDetectedData < DataDetails
|
584
|
+
end
|
350
585
|
class SourceContentData < DataDetails
|
351
586
|
end
|
352
587
|
class Unknown < DataDetails
|
@@ -373,6 +608,44 @@ module Aws::QConnect
|
|
373
608
|
SENSITIVE: []
|
374
609
|
end
|
375
610
|
|
611
|
+
class DeleteAIAgentRequest
|
612
|
+
attr_accessor ai_agent_id: ::String
|
613
|
+
attr_accessor assistant_id: ::String
|
614
|
+
SENSITIVE: []
|
615
|
+
end
|
616
|
+
|
617
|
+
class DeleteAIAgentResponse < Aws::EmptyStructure
|
618
|
+
end
|
619
|
+
|
620
|
+
class DeleteAIAgentVersionRequest
|
621
|
+
attr_accessor ai_agent_id: ::String
|
622
|
+
attr_accessor assistant_id: ::String
|
623
|
+
attr_accessor version_number: ::Integer
|
624
|
+
SENSITIVE: []
|
625
|
+
end
|
626
|
+
|
627
|
+
class DeleteAIAgentVersionResponse < Aws::EmptyStructure
|
628
|
+
end
|
629
|
+
|
630
|
+
class DeleteAIPromptRequest
|
631
|
+
attr_accessor ai_prompt_id: ::String
|
632
|
+
attr_accessor assistant_id: ::String
|
633
|
+
SENSITIVE: []
|
634
|
+
end
|
635
|
+
|
636
|
+
class DeleteAIPromptResponse < Aws::EmptyStructure
|
637
|
+
end
|
638
|
+
|
639
|
+
class DeleteAIPromptVersionRequest
|
640
|
+
attr_accessor ai_prompt_id: ::String
|
641
|
+
attr_accessor assistant_id: ::String
|
642
|
+
attr_accessor version_number: ::Integer
|
643
|
+
SENSITIVE: []
|
644
|
+
end
|
645
|
+
|
646
|
+
class DeleteAIPromptVersionResponse < Aws::EmptyStructure
|
647
|
+
end
|
648
|
+
|
376
649
|
class DeleteAssistantAssociationRequest
|
377
650
|
attr_accessor assistant_association_id: ::String
|
378
651
|
attr_accessor assistant_id: ::String
|
@@ -461,6 +734,12 @@ module Aws::QConnect
|
|
461
734
|
SENSITIVE: []
|
462
735
|
end
|
463
736
|
|
737
|
+
class FixedSizeChunkingConfiguration
|
738
|
+
attr_accessor max_tokens: ::Integer
|
739
|
+
attr_accessor overlap_percentage: ::Integer
|
740
|
+
SENSITIVE: []
|
741
|
+
end
|
742
|
+
|
464
743
|
class GenerativeContentFeedbackData
|
465
744
|
attr_accessor relevance: ("HELPFUL" | "NOT_HELPFUL")
|
466
745
|
SENSITIVE: []
|
@@ -479,6 +758,30 @@ module Aws::QConnect
|
|
479
758
|
SENSITIVE: []
|
480
759
|
end
|
481
760
|
|
761
|
+
class GetAIAgentRequest
|
762
|
+
attr_accessor ai_agent_id: ::String
|
763
|
+
attr_accessor assistant_id: ::String
|
764
|
+
SENSITIVE: []
|
765
|
+
end
|
766
|
+
|
767
|
+
class GetAIAgentResponse
|
768
|
+
attr_accessor ai_agent: Types::AIAgentData
|
769
|
+
attr_accessor version_number: ::Integer
|
770
|
+
SENSITIVE: []
|
771
|
+
end
|
772
|
+
|
773
|
+
class GetAIPromptRequest
|
774
|
+
attr_accessor ai_prompt_id: ::String
|
775
|
+
attr_accessor assistant_id: ::String
|
776
|
+
SENSITIVE: []
|
777
|
+
end
|
778
|
+
|
779
|
+
class GetAIPromptResponse
|
780
|
+
attr_accessor ai_prompt: Types::AIPromptData
|
781
|
+
attr_accessor version_number: ::Integer
|
782
|
+
SENSITIVE: []
|
783
|
+
end
|
784
|
+
|
482
785
|
class GetAssistantAssociationRequest
|
483
786
|
attr_accessor assistant_association_id: ::String
|
484
787
|
attr_accessor assistant_id: ::String
|
@@ -597,6 +900,17 @@ module Aws::QConnect
|
|
597
900
|
SENSITIVE: [:criteria]
|
598
901
|
end
|
599
902
|
|
903
|
+
class HierarchicalChunkingConfiguration
|
904
|
+
attr_accessor level_configurations: ::Array[Types::HierarchicalChunkingLevelConfiguration]
|
905
|
+
attr_accessor overlap_tokens: ::Integer
|
906
|
+
SENSITIVE: []
|
907
|
+
end
|
908
|
+
|
909
|
+
class HierarchicalChunkingLevelConfiguration
|
910
|
+
attr_accessor max_tokens: ::Integer
|
911
|
+
SENSITIVE: []
|
912
|
+
end
|
913
|
+
|
600
914
|
class Highlight
|
601
915
|
attr_accessor begin_offset_inclusive: ::Integer
|
602
916
|
attr_accessor end_offset_exclusive: ::Integer
|
@@ -634,6 +948,24 @@ module Aws::QConnect
|
|
634
948
|
SENSITIVE: []
|
635
949
|
end
|
636
950
|
|
951
|
+
class IntentDetectedDataDetails
|
952
|
+
attr_accessor intent: ::String
|
953
|
+
attr_accessor intent_id: ::String
|
954
|
+
SENSITIVE: [:intent]
|
955
|
+
end
|
956
|
+
|
957
|
+
class IntentInputData
|
958
|
+
attr_accessor intent_id: ::String
|
959
|
+
SENSITIVE: []
|
960
|
+
end
|
961
|
+
|
962
|
+
class KnowledgeBaseAssociationConfigurationData
|
963
|
+
attr_accessor content_tag_filter: Types::TagFilter
|
964
|
+
attr_accessor max_results: ::Integer
|
965
|
+
attr_accessor override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC")
|
966
|
+
SENSITIVE: []
|
967
|
+
end
|
968
|
+
|
637
969
|
class KnowledgeBaseAssociationData
|
638
970
|
attr_accessor knowledge_base_arn: ::String
|
639
971
|
attr_accessor knowledge_base_id: ::String
|
@@ -642,9 +974,11 @@ module Aws::QConnect
|
|
642
974
|
|
643
975
|
class KnowledgeBaseData
|
644
976
|
attr_accessor description: ::String
|
977
|
+
attr_accessor ingestion_failure_reasons: ::Array[::String]
|
978
|
+
attr_accessor ingestion_status: ("SYNC_FAILED" | "SYNCING_IN_PROGRESS" | "SYNC_SUCCESS" | "CREATE_IN_PROGRESS")
|
645
979
|
attr_accessor knowledge_base_arn: ::String
|
646
980
|
attr_accessor knowledge_base_id: ::String
|
647
|
-
attr_accessor knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES")
|
981
|
+
attr_accessor knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES" | "MESSAGE_TEMPLATES" | "MANAGED")
|
648
982
|
attr_accessor last_content_modification_time: ::Time
|
649
983
|
attr_accessor name: ::String
|
650
984
|
attr_accessor rendering_configuration: Types::RenderingConfiguration
|
@@ -652,6 +986,7 @@ module Aws::QConnect
|
|
652
986
|
attr_accessor source_configuration: Types::SourceConfiguration
|
653
987
|
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
654
988
|
attr_accessor tags: ::Hash[::String, ::String]
|
989
|
+
attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
|
655
990
|
SENSITIVE: []
|
656
991
|
end
|
657
992
|
|
@@ -659,13 +994,72 @@ module Aws::QConnect
|
|
659
994
|
attr_accessor description: ::String
|
660
995
|
attr_accessor knowledge_base_arn: ::String
|
661
996
|
attr_accessor knowledge_base_id: ::String
|
662
|
-
attr_accessor knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES")
|
997
|
+
attr_accessor knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES" | "MESSAGE_TEMPLATES" | "MANAGED")
|
663
998
|
attr_accessor name: ::String
|
664
999
|
attr_accessor rendering_configuration: Types::RenderingConfiguration
|
665
1000
|
attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
|
666
1001
|
attr_accessor source_configuration: Types::SourceConfiguration
|
667
1002
|
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED")
|
668
1003
|
attr_accessor tags: ::Hash[::String, ::String]
|
1004
|
+
attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
|
1005
|
+
SENSITIVE: []
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class ListAIAgentVersionsRequest
|
1009
|
+
attr_accessor ai_agent_id: ::String
|
1010
|
+
attr_accessor assistant_id: ::String
|
1011
|
+
attr_accessor max_results: ::Integer
|
1012
|
+
attr_accessor next_token: ::String
|
1013
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
1014
|
+
SENSITIVE: []
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
class ListAIAgentVersionsResponse
|
1018
|
+
attr_accessor ai_agent_version_summaries: ::Array[Types::AIAgentVersionSummary]
|
1019
|
+
attr_accessor next_token: ::String
|
1020
|
+
SENSITIVE: []
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
class ListAIAgentsRequest
|
1024
|
+
attr_accessor assistant_id: ::String
|
1025
|
+
attr_accessor max_results: ::Integer
|
1026
|
+
attr_accessor next_token: ::String
|
1027
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
1028
|
+
SENSITIVE: []
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
class ListAIAgentsResponse
|
1032
|
+
attr_accessor ai_agent_summaries: ::Array[Types::AIAgentSummary]
|
1033
|
+
attr_accessor next_token: ::String
|
1034
|
+
SENSITIVE: []
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
class ListAIPromptVersionsRequest
|
1038
|
+
attr_accessor ai_prompt_id: ::String
|
1039
|
+
attr_accessor assistant_id: ::String
|
1040
|
+
attr_accessor max_results: ::Integer
|
1041
|
+
attr_accessor next_token: ::String
|
1042
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
1043
|
+
SENSITIVE: []
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
class ListAIPromptVersionsResponse
|
1047
|
+
attr_accessor ai_prompt_version_summaries: ::Array[Types::AIPromptVersionSummary]
|
1048
|
+
attr_accessor next_token: ::String
|
1049
|
+
SENSITIVE: []
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
class ListAIPromptsRequest
|
1053
|
+
attr_accessor assistant_id: ::String
|
1054
|
+
attr_accessor max_results: ::Integer
|
1055
|
+
attr_accessor next_token: ::String
|
1056
|
+
attr_accessor origin: ("SYSTEM" | "CUSTOMER")
|
1057
|
+
SENSITIVE: []
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
class ListAIPromptsResponse
|
1061
|
+
attr_accessor ai_prompt_summaries: ::Array[Types::AIPromptSummary]
|
1062
|
+
attr_accessor next_token: ::String
|
669
1063
|
SENSITIVE: []
|
670
1064
|
end
|
671
1065
|
|
@@ -769,6 +1163,23 @@ module Aws::QConnect
|
|
769
1163
|
SENSITIVE: []
|
770
1164
|
end
|
771
1165
|
|
1166
|
+
class ManagedSourceConfiguration
|
1167
|
+
attr_accessor web_crawler_configuration: Types::WebCrawlerConfiguration
|
1168
|
+
attr_accessor unknown: untyped
|
1169
|
+
SENSITIVE: []
|
1170
|
+
|
1171
|
+
class WebCrawlerConfiguration < ManagedSourceConfiguration
|
1172
|
+
end
|
1173
|
+
class Unknown < ManagedSourceConfiguration
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
class ManualSearchAIAgentConfiguration
|
1178
|
+
attr_accessor answer_generation_ai_prompt_id: ::String
|
1179
|
+
attr_accessor association_configurations: ::Array[Types::AssociationConfiguration]
|
1180
|
+
SENSITIVE: []
|
1181
|
+
end
|
1182
|
+
|
772
1183
|
class NotifyRecommendationsReceivedError
|
773
1184
|
attr_accessor message: ::String
|
774
1185
|
attr_accessor recommendation_id: ::String
|
@@ -802,6 +1213,17 @@ module Aws::QConnect
|
|
802
1213
|
end
|
803
1214
|
end
|
804
1215
|
|
1216
|
+
class ParsingConfiguration
|
1217
|
+
attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelConfigurationForParsing
|
1218
|
+
attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
|
1219
|
+
SENSITIVE: []
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
class ParsingPrompt
|
1223
|
+
attr_accessor parsing_prompt_text: ::String
|
1224
|
+
SENSITIVE: []
|
1225
|
+
end
|
1226
|
+
|
805
1227
|
class PreconditionFailedException
|
806
1228
|
attr_accessor message: ::String
|
807
1229
|
SENSITIVE: []
|
@@ -828,7 +1250,9 @@ module Aws::QConnect
|
|
828
1250
|
attr_accessor assistant_id: ::String
|
829
1251
|
attr_accessor max_results: ::Integer
|
830
1252
|
attr_accessor next_token: ::String
|
1253
|
+
attr_accessor override_knowledge_base_search_type: ("HYBRID" | "SEMANTIC")
|
831
1254
|
attr_accessor query_condition: ::Array[Types::QueryCondition]
|
1255
|
+
attr_accessor query_input_data: Types::QueryInputData
|
832
1256
|
attr_accessor query_text: ::String
|
833
1257
|
attr_accessor session_id: ::String
|
834
1258
|
SENSITIVE: [:query_text]
|
@@ -858,11 +1282,30 @@ module Aws::QConnect
|
|
858
1282
|
SENSITIVE: []
|
859
1283
|
end
|
860
1284
|
|
1285
|
+
class QueryInputData
|
1286
|
+
attr_accessor intent_input_data: Types::IntentInputData
|
1287
|
+
attr_accessor query_text_input_data: Types::QueryTextInputData
|
1288
|
+
attr_accessor unknown: untyped
|
1289
|
+
SENSITIVE: []
|
1290
|
+
|
1291
|
+
class IntentInputData < QueryInputData
|
1292
|
+
end
|
1293
|
+
class QueryTextInputData < QueryInputData
|
1294
|
+
end
|
1295
|
+
class Unknown < QueryInputData
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
|
861
1299
|
class QueryRecommendationTriggerData
|
862
1300
|
attr_accessor text: ::String
|
863
1301
|
SENSITIVE: [:text]
|
864
1302
|
end
|
865
1303
|
|
1304
|
+
class QueryTextInputData
|
1305
|
+
attr_accessor text: ::String
|
1306
|
+
SENSITIVE: [:text]
|
1307
|
+
end
|
1308
|
+
|
866
1309
|
class QuickResponseContentProvider
|
867
1310
|
attr_accessor content: ::String
|
868
1311
|
attr_accessor unknown: untyped
|
@@ -997,7 +1440,7 @@ module Aws::QConnect
|
|
997
1440
|
attr_accessor recommendation_id: ::String
|
998
1441
|
attr_accessor relevance_level: ("HIGH" | "MEDIUM" | "LOW")
|
999
1442
|
attr_accessor relevance_score: ::Float
|
1000
|
-
attr_accessor type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER")
|
1443
|
+
attr_accessor type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_RESPONSE" | "GENERATIVE_ANSWER" | "DETECTED_INTENT")
|
1001
1444
|
SENSITIVE: []
|
1002
1445
|
end
|
1003
1446
|
|
@@ -1021,6 +1464,15 @@ module Aws::QConnect
|
|
1021
1464
|
end
|
1022
1465
|
end
|
1023
1466
|
|
1467
|
+
class RemoveAssistantAIAgentRequest
|
1468
|
+
attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
1469
|
+
attr_accessor assistant_id: ::String
|
1470
|
+
SENSITIVE: []
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
class RemoveAssistantAIAgentResponse < Aws::EmptyStructure
|
1474
|
+
end
|
1475
|
+
|
1024
1476
|
class RemoveKnowledgeBaseTemplateUriRequest
|
1025
1477
|
attr_accessor knowledge_base_id: ::String
|
1026
1478
|
SENSITIVE: []
|
@@ -1050,10 +1502,27 @@ module Aws::QConnect
|
|
1050
1502
|
attr_accessor document: Types::Document
|
1051
1503
|
attr_accessor relevance_score: ::Float
|
1052
1504
|
attr_accessor result_id: ::String
|
1053
|
-
attr_accessor type: ("KNOWLEDGE_CONTENT" | "GENERATIVE_ANSWER")
|
1505
|
+
attr_accessor type: ("KNOWLEDGE_CONTENT" | "INTENT_ANSWER" | "GENERATIVE_ANSWER")
|
1054
1506
|
SENSITIVE: []
|
1055
1507
|
end
|
1056
1508
|
|
1509
|
+
class RuntimeSessionData
|
1510
|
+
attr_accessor key: ::String
|
1511
|
+
attr_accessor value: Types::RuntimeSessionDataValue
|
1512
|
+
SENSITIVE: [:key]
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
class RuntimeSessionDataValue
|
1516
|
+
attr_accessor string_value: ::String
|
1517
|
+
attr_accessor unknown: untyped
|
1518
|
+
SENSITIVE: [:string_value]
|
1519
|
+
|
1520
|
+
class StringValue < RuntimeSessionDataValue
|
1521
|
+
end
|
1522
|
+
class Unknown < RuntimeSessionDataValue
|
1523
|
+
end
|
1524
|
+
end
|
1525
|
+
|
1057
1526
|
class SearchContentRequest
|
1058
1527
|
attr_accessor knowledge_base_id: ::String
|
1059
1528
|
attr_accessor max_results: ::Integer
|
@@ -1102,6 +1571,18 @@ module Aws::QConnect
|
|
1102
1571
|
SENSITIVE: []
|
1103
1572
|
end
|
1104
1573
|
|
1574
|
+
class SeedUrl
|
1575
|
+
attr_accessor url: ::String
|
1576
|
+
SENSITIVE: []
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
class SemanticChunkingConfiguration
|
1580
|
+
attr_accessor breakpoint_percentile_threshold: ::Integer
|
1581
|
+
attr_accessor buffer_size: ::Integer
|
1582
|
+
attr_accessor max_tokens: ::Integer
|
1583
|
+
SENSITIVE: []
|
1584
|
+
end
|
1585
|
+
|
1105
1586
|
class ServerSideEncryptionConfiguration
|
1106
1587
|
attr_accessor kms_key_id: ::String
|
1107
1588
|
SENSITIVE: []
|
@@ -1113,6 +1594,7 @@ module Aws::QConnect
|
|
1113
1594
|
end
|
1114
1595
|
|
1115
1596
|
class SessionData
|
1597
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
1116
1598
|
attr_accessor description: ::String
|
1117
1599
|
attr_accessor integration_configuration: Types::SessionIntegrationConfiguration
|
1118
1600
|
attr_accessor name: ::String
|
@@ -1138,16 +1620,20 @@ module Aws::QConnect
|
|
1138
1620
|
|
1139
1621
|
class SourceConfiguration
|
1140
1622
|
attr_accessor app_integrations: Types::AppIntegrationsConfiguration
|
1623
|
+
attr_accessor managed_source_configuration: Types::ManagedSourceConfiguration
|
1141
1624
|
attr_accessor unknown: untyped
|
1142
1625
|
SENSITIVE: []
|
1143
1626
|
|
1144
1627
|
class AppIntegrations < SourceConfiguration
|
1145
1628
|
end
|
1629
|
+
class ManagedSourceConfiguration < SourceConfiguration
|
1630
|
+
end
|
1146
1631
|
class Unknown < SourceConfiguration
|
1147
1632
|
end
|
1148
1633
|
end
|
1149
1634
|
|
1150
1635
|
class SourceContentDataDetails
|
1636
|
+
attr_accessor citation_span: Types::CitationSpan
|
1151
1637
|
attr_accessor id: ::String
|
1152
1638
|
attr_accessor ranking_data: Types::RankingData
|
1153
1639
|
attr_accessor text_data: Types::TextData
|
@@ -1223,6 +1709,11 @@ module Aws::QConnect
|
|
1223
1709
|
SENSITIVE: []
|
1224
1710
|
end
|
1225
1711
|
|
1712
|
+
class TextFullAIPromptEditTemplateConfiguration
|
1713
|
+
attr_accessor text: ::String
|
1714
|
+
SENSITIVE: [:text]
|
1715
|
+
end
|
1716
|
+
|
1226
1717
|
class ThrottlingException
|
1227
1718
|
attr_accessor message: ::String
|
1228
1719
|
SENSITIVE: []
|
@@ -1243,6 +1734,48 @@ module Aws::QConnect
|
|
1243
1734
|
class UntagResourceResponse < Aws::EmptyStructure
|
1244
1735
|
end
|
1245
1736
|
|
1737
|
+
class UpdateAIAgentRequest
|
1738
|
+
attr_accessor ai_agent_id: ::String
|
1739
|
+
attr_accessor assistant_id: ::String
|
1740
|
+
attr_accessor client_token: ::String
|
1741
|
+
attr_accessor configuration: Types::AIAgentConfiguration
|
1742
|
+
attr_accessor description: ::String
|
1743
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
1744
|
+
SENSITIVE: []
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
class UpdateAIAgentResponse
|
1748
|
+
attr_accessor ai_agent: Types::AIAgentData
|
1749
|
+
SENSITIVE: []
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
class UpdateAIPromptRequest
|
1753
|
+
attr_accessor ai_prompt_id: ::String
|
1754
|
+
attr_accessor assistant_id: ::String
|
1755
|
+
attr_accessor client_token: ::String
|
1756
|
+
attr_accessor description: ::String
|
1757
|
+
attr_accessor template_configuration: Types::AIPromptTemplateConfiguration
|
1758
|
+
attr_accessor visibility_status: ("SAVED" | "PUBLISHED")
|
1759
|
+
SENSITIVE: []
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
class UpdateAIPromptResponse
|
1763
|
+
attr_accessor ai_prompt: Types::AIPromptData
|
1764
|
+
SENSITIVE: []
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
class UpdateAssistantAIAgentRequest
|
1768
|
+
attr_accessor ai_agent_type: ("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION")
|
1769
|
+
attr_accessor assistant_id: ::String
|
1770
|
+
attr_accessor configuration: Types::AIAgentConfigurationData
|
1771
|
+
SENSITIVE: []
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
class UpdateAssistantAIAgentResponse
|
1775
|
+
attr_accessor assistant: Types::AssistantData
|
1776
|
+
SENSITIVE: []
|
1777
|
+
end
|
1778
|
+
|
1246
1779
|
class UpdateContentRequest
|
1247
1780
|
attr_accessor content_id: ::String
|
1248
1781
|
attr_accessor knowledge_base_id: ::String
|
@@ -1294,7 +1827,24 @@ module Aws::QConnect
|
|
1294
1827
|
SENSITIVE: []
|
1295
1828
|
end
|
1296
1829
|
|
1830
|
+
class UpdateSessionDataRequest
|
1831
|
+
attr_accessor assistant_id: ::String
|
1832
|
+
attr_accessor data: ::Array[Types::RuntimeSessionData]
|
1833
|
+
attr_accessor namespace: ("Custom")
|
1834
|
+
attr_accessor session_id: ::String
|
1835
|
+
SENSITIVE: []
|
1836
|
+
end
|
1837
|
+
|
1838
|
+
class UpdateSessionDataResponse
|
1839
|
+
attr_accessor data: ::Array[Types::RuntimeSessionData]
|
1840
|
+
attr_accessor namespace: ("Custom")
|
1841
|
+
attr_accessor session_arn: ::String
|
1842
|
+
attr_accessor session_id: ::String
|
1843
|
+
SENSITIVE: []
|
1844
|
+
end
|
1845
|
+
|
1297
1846
|
class UpdateSessionRequest
|
1847
|
+
attr_accessor ai_agent_configuration: ::Hash[("MANUAL_SEARCH" | "ANSWER_RECOMMENDATION"), Types::AIAgentConfigurationData]
|
1298
1848
|
attr_accessor assistant_id: ::String
|
1299
1849
|
attr_accessor description: ::String
|
1300
1850
|
attr_accessor session_id: ::String
|
@@ -1307,9 +1857,34 @@ module Aws::QConnect
|
|
1307
1857
|
SENSITIVE: []
|
1308
1858
|
end
|
1309
1859
|
|
1860
|
+
class UrlConfiguration
|
1861
|
+
attr_accessor seed_urls: ::Array[Types::SeedUrl]
|
1862
|
+
SENSITIVE: []
|
1863
|
+
end
|
1864
|
+
|
1310
1865
|
class ValidationException
|
1311
1866
|
attr_accessor message: ::String
|
1312
1867
|
SENSITIVE: []
|
1313
1868
|
end
|
1869
|
+
|
1870
|
+
class VectorIngestionConfiguration
|
1871
|
+
attr_accessor chunking_configuration: Types::ChunkingConfiguration
|
1872
|
+
attr_accessor parsing_configuration: Types::ParsingConfiguration
|
1873
|
+
SENSITIVE: []
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
class WebCrawlerConfiguration
|
1877
|
+
attr_accessor crawler_limits: Types::WebCrawlerLimits
|
1878
|
+
attr_accessor exclusion_filters: ::Array[::String]
|
1879
|
+
attr_accessor inclusion_filters: ::Array[::String]
|
1880
|
+
attr_accessor scope: ("HOST_ONLY" | "SUBDOMAINS")
|
1881
|
+
attr_accessor url_configuration: Types::UrlConfiguration
|
1882
|
+
SENSITIVE: [:exclusion_filters, :inclusion_filters]
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
class WebCrawlerLimits
|
1886
|
+
attr_accessor rate_limit: ::Integer
|
1887
|
+
SENSITIVE: []
|
1888
|
+
end
|
1314
1889
|
end
|
1315
1890
|
end
|