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
@@ -12,6 +12,50 @@ module Aws::QConnect
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class CreateAIAgent
|
16
|
+
def self.build(context)
|
17
|
+
Aws::QConnect::EndpointParameters.new(
|
18
|
+
region: context.config.region,
|
19
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
20
|
+
use_fips: context.config.use_fips_endpoint,
|
21
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
22
|
+
)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
class CreateAIAgentVersion
|
27
|
+
def self.build(context)
|
28
|
+
Aws::QConnect::EndpointParameters.new(
|
29
|
+
region: context.config.region,
|
30
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
31
|
+
use_fips: context.config.use_fips_endpoint,
|
32
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
|
+
)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
class CreateAIPrompt
|
38
|
+
def self.build(context)
|
39
|
+
Aws::QConnect::EndpointParameters.new(
|
40
|
+
region: context.config.region,
|
41
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
42
|
+
use_fips: context.config.use_fips_endpoint,
|
43
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
44
|
+
)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
class CreateAIPromptVersion
|
49
|
+
def self.build(context)
|
50
|
+
Aws::QConnect::EndpointParameters.new(
|
51
|
+
region: context.config.region,
|
52
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
+
use_fips: context.config.use_fips_endpoint,
|
54
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
+
)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
15
59
|
class CreateAssistant
|
16
60
|
def self.build(context)
|
17
61
|
Aws::QConnect::EndpointParameters.new(
|
@@ -89,6 +133,50 @@ module Aws::QConnect
|
|
89
133
|
end
|
90
134
|
end
|
91
135
|
|
136
|
+
class DeleteAIAgent
|
137
|
+
def self.build(context)
|
138
|
+
Aws::QConnect::EndpointParameters.new(
|
139
|
+
region: context.config.region,
|
140
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
141
|
+
use_fips: context.config.use_fips_endpoint,
|
142
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
143
|
+
)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
class DeleteAIAgentVersion
|
148
|
+
def self.build(context)
|
149
|
+
Aws::QConnect::EndpointParameters.new(
|
150
|
+
region: context.config.region,
|
151
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
152
|
+
use_fips: context.config.use_fips_endpoint,
|
153
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
154
|
+
)
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
class DeleteAIPrompt
|
159
|
+
def self.build(context)
|
160
|
+
Aws::QConnect::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class DeleteAIPromptVersion
|
170
|
+
def self.build(context)
|
171
|
+
Aws::QConnect::EndpointParameters.new(
|
172
|
+
region: context.config.region,
|
173
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
174
|
+
use_fips: context.config.use_fips_endpoint,
|
175
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
176
|
+
)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
92
180
|
class DeleteAssistant
|
93
181
|
def self.build(context)
|
94
182
|
Aws::QConnect::EndpointParameters.new(
|
@@ -166,6 +254,28 @@ module Aws::QConnect
|
|
166
254
|
end
|
167
255
|
end
|
168
256
|
|
257
|
+
class GetAIAgent
|
258
|
+
def self.build(context)
|
259
|
+
Aws::QConnect::EndpointParameters.new(
|
260
|
+
region: context.config.region,
|
261
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
262
|
+
use_fips: context.config.use_fips_endpoint,
|
263
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
264
|
+
)
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
class GetAIPrompt
|
269
|
+
def self.build(context)
|
270
|
+
Aws::QConnect::EndpointParameters.new(
|
271
|
+
region: context.config.region,
|
272
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
273
|
+
use_fips: context.config.use_fips_endpoint,
|
274
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
275
|
+
)
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
169
279
|
class GetAssistant
|
170
280
|
def self.build(context)
|
171
281
|
Aws::QConnect::EndpointParameters.new(
|
@@ -276,6 +386,50 @@ module Aws::QConnect
|
|
276
386
|
end
|
277
387
|
end
|
278
388
|
|
389
|
+
class ListAIAgentVersions
|
390
|
+
def self.build(context)
|
391
|
+
Aws::QConnect::EndpointParameters.new(
|
392
|
+
region: context.config.region,
|
393
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
394
|
+
use_fips: context.config.use_fips_endpoint,
|
395
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
396
|
+
)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class ListAIAgents
|
401
|
+
def self.build(context)
|
402
|
+
Aws::QConnect::EndpointParameters.new(
|
403
|
+
region: context.config.region,
|
404
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
405
|
+
use_fips: context.config.use_fips_endpoint,
|
406
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
407
|
+
)
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
class ListAIPromptVersions
|
412
|
+
def self.build(context)
|
413
|
+
Aws::QConnect::EndpointParameters.new(
|
414
|
+
region: context.config.region,
|
415
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
416
|
+
use_fips: context.config.use_fips_endpoint,
|
417
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
418
|
+
)
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
class ListAIPrompts
|
423
|
+
def self.build(context)
|
424
|
+
Aws::QConnect::EndpointParameters.new(
|
425
|
+
region: context.config.region,
|
426
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
427
|
+
use_fips: context.config.use_fips_endpoint,
|
428
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
429
|
+
)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
279
433
|
class ListAssistantAssociations
|
280
434
|
def self.build(context)
|
281
435
|
Aws::QConnect::EndpointParameters.new(
|
@@ -397,6 +551,17 @@ module Aws::QConnect
|
|
397
551
|
end
|
398
552
|
end
|
399
553
|
|
554
|
+
class RemoveAssistantAIAgent
|
555
|
+
def self.build(context)
|
556
|
+
Aws::QConnect::EndpointParameters.new(
|
557
|
+
region: context.config.region,
|
558
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
559
|
+
use_fips: context.config.use_fips_endpoint,
|
560
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
561
|
+
)
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
400
565
|
class RemoveKnowledgeBaseTemplateUri
|
401
566
|
def self.build(context)
|
402
567
|
Aws::QConnect::EndpointParameters.new(
|
@@ -485,6 +650,39 @@ module Aws::QConnect
|
|
485
650
|
end
|
486
651
|
end
|
487
652
|
|
653
|
+
class UpdateAIAgent
|
654
|
+
def self.build(context)
|
655
|
+
Aws::QConnect::EndpointParameters.new(
|
656
|
+
region: context.config.region,
|
657
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
658
|
+
use_fips: context.config.use_fips_endpoint,
|
659
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
660
|
+
)
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
class UpdateAIPrompt
|
665
|
+
def self.build(context)
|
666
|
+
Aws::QConnect::EndpointParameters.new(
|
667
|
+
region: context.config.region,
|
668
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
669
|
+
use_fips: context.config.use_fips_endpoint,
|
670
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
671
|
+
)
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
class UpdateAssistantAIAgent
|
676
|
+
def self.build(context)
|
677
|
+
Aws::QConnect::EndpointParameters.new(
|
678
|
+
region: context.config.region,
|
679
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
680
|
+
use_fips: context.config.use_fips_endpoint,
|
681
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
682
|
+
)
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
488
686
|
class UpdateContent
|
489
687
|
def self.build(context)
|
490
688
|
Aws::QConnect::EndpointParameters.new(
|
@@ -529,5 +727,16 @@ module Aws::QConnect
|
|
529
727
|
end
|
530
728
|
end
|
531
729
|
|
730
|
+
class UpdateSessionData
|
731
|
+
def self.build(context)
|
732
|
+
Aws::QConnect::EndpointParameters.new(
|
733
|
+
region: context.config.region,
|
734
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
735
|
+
use_fips: context.config.use_fips_endpoint,
|
736
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
737
|
+
)
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
532
741
|
end
|
533
742
|
end
|
@@ -70,6 +70,14 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
70
70
|
|
71
71
|
def parameters_for_operation(context)
|
72
72
|
case context.operation_name
|
73
|
+
when :create_ai_agent
|
74
|
+
Aws::QConnect::Endpoints::CreateAIAgent.build(context)
|
75
|
+
when :create_ai_agent_version
|
76
|
+
Aws::QConnect::Endpoints::CreateAIAgentVersion.build(context)
|
77
|
+
when :create_ai_prompt
|
78
|
+
Aws::QConnect::Endpoints::CreateAIPrompt.build(context)
|
79
|
+
when :create_ai_prompt_version
|
80
|
+
Aws::QConnect::Endpoints::CreateAIPromptVersion.build(context)
|
73
81
|
when :create_assistant
|
74
82
|
Aws::QConnect::Endpoints::CreateAssistant.build(context)
|
75
83
|
when :create_assistant_association
|
@@ -84,6 +92,14 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
84
92
|
Aws::QConnect::Endpoints::CreateQuickResponse.build(context)
|
85
93
|
when :create_session
|
86
94
|
Aws::QConnect::Endpoints::CreateSession.build(context)
|
95
|
+
when :delete_ai_agent
|
96
|
+
Aws::QConnect::Endpoints::DeleteAIAgent.build(context)
|
97
|
+
when :delete_ai_agent_version
|
98
|
+
Aws::QConnect::Endpoints::DeleteAIAgentVersion.build(context)
|
99
|
+
when :delete_ai_prompt
|
100
|
+
Aws::QConnect::Endpoints::DeleteAIPrompt.build(context)
|
101
|
+
when :delete_ai_prompt_version
|
102
|
+
Aws::QConnect::Endpoints::DeleteAIPromptVersion.build(context)
|
87
103
|
when :delete_assistant
|
88
104
|
Aws::QConnect::Endpoints::DeleteAssistant.build(context)
|
89
105
|
when :delete_assistant_association
|
@@ -98,6 +114,10 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
98
114
|
Aws::QConnect::Endpoints::DeleteKnowledgeBase.build(context)
|
99
115
|
when :delete_quick_response
|
100
116
|
Aws::QConnect::Endpoints::DeleteQuickResponse.build(context)
|
117
|
+
when :get_ai_agent
|
118
|
+
Aws::QConnect::Endpoints::GetAIAgent.build(context)
|
119
|
+
when :get_ai_prompt
|
120
|
+
Aws::QConnect::Endpoints::GetAIPrompt.build(context)
|
101
121
|
when :get_assistant
|
102
122
|
Aws::QConnect::Endpoints::GetAssistant.build(context)
|
103
123
|
when :get_assistant_association
|
@@ -118,6 +138,14 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
118
138
|
Aws::QConnect::Endpoints::GetRecommendations.build(context)
|
119
139
|
when :get_session
|
120
140
|
Aws::QConnect::Endpoints::GetSession.build(context)
|
141
|
+
when :list_ai_agent_versions
|
142
|
+
Aws::QConnect::Endpoints::ListAIAgentVersions.build(context)
|
143
|
+
when :list_ai_agents
|
144
|
+
Aws::QConnect::Endpoints::ListAIAgents.build(context)
|
145
|
+
when :list_ai_prompt_versions
|
146
|
+
Aws::QConnect::Endpoints::ListAIPromptVersions.build(context)
|
147
|
+
when :list_ai_prompts
|
148
|
+
Aws::QConnect::Endpoints::ListAIPrompts.build(context)
|
121
149
|
when :list_assistant_associations
|
122
150
|
Aws::QConnect::Endpoints::ListAssistantAssociations.build(context)
|
123
151
|
when :list_assistants
|
@@ -140,6 +168,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
140
168
|
Aws::QConnect::Endpoints::PutFeedback.build(context)
|
141
169
|
when :query_assistant
|
142
170
|
Aws::QConnect::Endpoints::QueryAssistant.build(context)
|
171
|
+
when :remove_assistant_ai_agent
|
172
|
+
Aws::QConnect::Endpoints::RemoveAssistantAIAgent.build(context)
|
143
173
|
when :remove_knowledge_base_template_uri
|
144
174
|
Aws::QConnect::Endpoints::RemoveKnowledgeBaseTemplateUri.build(context)
|
145
175
|
when :search_content
|
@@ -156,6 +186,12 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
156
186
|
Aws::QConnect::Endpoints::TagResource.build(context)
|
157
187
|
when :untag_resource
|
158
188
|
Aws::QConnect::Endpoints::UntagResource.build(context)
|
189
|
+
when :update_ai_agent
|
190
|
+
Aws::QConnect::Endpoints::UpdateAIAgent.build(context)
|
191
|
+
when :update_ai_prompt
|
192
|
+
Aws::QConnect::Endpoints::UpdateAIPrompt.build(context)
|
193
|
+
when :update_assistant_ai_agent
|
194
|
+
Aws::QConnect::Endpoints::UpdateAssistantAIAgent.build(context)
|
159
195
|
when :update_content
|
160
196
|
Aws::QConnect::Endpoints::UpdateContent.build(context)
|
161
197
|
when :update_knowledge_base_template_uri
|
@@ -164,6 +200,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
164
200
|
Aws::QConnect::Endpoints::UpdateQuickResponse.build(context)
|
165
201
|
when :update_session
|
166
202
|
Aws::QConnect::Endpoints::UpdateSession.build(context)
|
203
|
+
when :update_session_data
|
204
|
+
Aws::QConnect::Endpoints::UpdateSessionData.build(context)
|
167
205
|
end
|
168
206
|
end
|
169
207
|
end
|