aws-sdk-bedrockagent 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +2409 -94
- data/lib/aws-sdk-bedrockagent/client_api.rb +1193 -0
- data/lib/aws-sdk-bedrockagent/endpoints.rb +294 -0
- data/lib/aws-sdk-bedrockagent/plugins/endpoints.rb +42 -0
- data/lib/aws-sdk-bedrockagent/types.rb +3974 -395
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +923 -6
- data/sig/types.rbs +906 -5
- metadata +2 -2
@@ -82,6 +82,48 @@ module Aws::BedrockAgent
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
+
class CreateFlow
|
86
|
+
def self.build(context)
|
87
|
+
unless context.config.regional_endpoint
|
88
|
+
endpoint = context.config.endpoint.to_s
|
89
|
+
end
|
90
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
91
|
+
region: context.config.region,
|
92
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
93
|
+
use_fips: context.config.use_fips_endpoint,
|
94
|
+
endpoint: endpoint,
|
95
|
+
)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
class CreateFlowAlias
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class CreateFlowVersion
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
85
127
|
class CreateKnowledgeBase
|
86
128
|
def self.build(context)
|
87
129
|
unless context.config.regional_endpoint
|
@@ -96,6 +138,34 @@ module Aws::BedrockAgent
|
|
96
138
|
end
|
97
139
|
end
|
98
140
|
|
141
|
+
class CreatePrompt
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
class CreatePromptVersion
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::BedrockAgent::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: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
99
169
|
class DeleteAgent
|
100
170
|
def self.build(context)
|
101
171
|
unless context.config.regional_endpoint
|
@@ -166,6 +236,48 @@ module Aws::BedrockAgent
|
|
166
236
|
end
|
167
237
|
end
|
168
238
|
|
239
|
+
class DeleteFlow
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
class DeleteFlowAlias
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
class DeleteFlowVersion
|
268
|
+
def self.build(context)
|
269
|
+
unless context.config.regional_endpoint
|
270
|
+
endpoint = context.config.endpoint.to_s
|
271
|
+
end
|
272
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
273
|
+
region: context.config.region,
|
274
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
|
+
use_fips: context.config.use_fips_endpoint,
|
276
|
+
endpoint: endpoint,
|
277
|
+
)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
169
281
|
class DeleteKnowledgeBase
|
170
282
|
def self.build(context)
|
171
283
|
unless context.config.regional_endpoint
|
@@ -180,6 +292,20 @@ module Aws::BedrockAgent
|
|
180
292
|
end
|
181
293
|
end
|
182
294
|
|
295
|
+
class DeletePrompt
|
296
|
+
def self.build(context)
|
297
|
+
unless context.config.regional_endpoint
|
298
|
+
endpoint = context.config.endpoint.to_s
|
299
|
+
end
|
300
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
301
|
+
region: context.config.region,
|
302
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
303
|
+
use_fips: context.config.use_fips_endpoint,
|
304
|
+
endpoint: endpoint,
|
305
|
+
)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
183
309
|
class DisassociateAgentKnowledgeBase
|
184
310
|
def self.build(context)
|
185
311
|
unless context.config.regional_endpoint
|
@@ -278,6 +404,48 @@ module Aws::BedrockAgent
|
|
278
404
|
end
|
279
405
|
end
|
280
406
|
|
407
|
+
class GetFlow
|
408
|
+
def self.build(context)
|
409
|
+
unless context.config.regional_endpoint
|
410
|
+
endpoint = context.config.endpoint.to_s
|
411
|
+
end
|
412
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
413
|
+
region: context.config.region,
|
414
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
415
|
+
use_fips: context.config.use_fips_endpoint,
|
416
|
+
endpoint: endpoint,
|
417
|
+
)
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class GetFlowAlias
|
422
|
+
def self.build(context)
|
423
|
+
unless context.config.regional_endpoint
|
424
|
+
endpoint = context.config.endpoint.to_s
|
425
|
+
end
|
426
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
427
|
+
region: context.config.region,
|
428
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
429
|
+
use_fips: context.config.use_fips_endpoint,
|
430
|
+
endpoint: endpoint,
|
431
|
+
)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
class GetFlowVersion
|
436
|
+
def self.build(context)
|
437
|
+
unless context.config.regional_endpoint
|
438
|
+
endpoint = context.config.endpoint.to_s
|
439
|
+
end
|
440
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
441
|
+
region: context.config.region,
|
442
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
443
|
+
use_fips: context.config.use_fips_endpoint,
|
444
|
+
endpoint: endpoint,
|
445
|
+
)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
281
449
|
class GetIngestionJob
|
282
450
|
def self.build(context)
|
283
451
|
unless context.config.regional_endpoint
|
@@ -306,6 +474,20 @@ module Aws::BedrockAgent
|
|
306
474
|
end
|
307
475
|
end
|
308
476
|
|
477
|
+
class GetPrompt
|
478
|
+
def self.build(context)
|
479
|
+
unless context.config.regional_endpoint
|
480
|
+
endpoint = context.config.endpoint.to_s
|
481
|
+
end
|
482
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
483
|
+
region: context.config.region,
|
484
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
485
|
+
use_fips: context.config.use_fips_endpoint,
|
486
|
+
endpoint: endpoint,
|
487
|
+
)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
309
491
|
class ListAgentActionGroups
|
310
492
|
def self.build(context)
|
311
493
|
unless context.config.regional_endpoint
|
@@ -390,6 +572,48 @@ module Aws::BedrockAgent
|
|
390
572
|
end
|
391
573
|
end
|
392
574
|
|
575
|
+
class ListFlowAliases
|
576
|
+
def self.build(context)
|
577
|
+
unless context.config.regional_endpoint
|
578
|
+
endpoint = context.config.endpoint.to_s
|
579
|
+
end
|
580
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
581
|
+
region: context.config.region,
|
582
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
583
|
+
use_fips: context.config.use_fips_endpoint,
|
584
|
+
endpoint: endpoint,
|
585
|
+
)
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class ListFlowVersions
|
590
|
+
def self.build(context)
|
591
|
+
unless context.config.regional_endpoint
|
592
|
+
endpoint = context.config.endpoint.to_s
|
593
|
+
end
|
594
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
595
|
+
region: context.config.region,
|
596
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
597
|
+
use_fips: context.config.use_fips_endpoint,
|
598
|
+
endpoint: endpoint,
|
599
|
+
)
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
class ListFlows
|
604
|
+
def self.build(context)
|
605
|
+
unless context.config.regional_endpoint
|
606
|
+
endpoint = context.config.endpoint.to_s
|
607
|
+
end
|
608
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
609
|
+
region: context.config.region,
|
610
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
611
|
+
use_fips: context.config.use_fips_endpoint,
|
612
|
+
endpoint: endpoint,
|
613
|
+
)
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
393
617
|
class ListIngestionJobs
|
394
618
|
def self.build(context)
|
395
619
|
unless context.config.regional_endpoint
|
@@ -418,6 +642,20 @@ module Aws::BedrockAgent
|
|
418
642
|
end
|
419
643
|
end
|
420
644
|
|
645
|
+
class ListPrompts
|
646
|
+
def self.build(context)
|
647
|
+
unless context.config.regional_endpoint
|
648
|
+
endpoint = context.config.endpoint.to_s
|
649
|
+
end
|
650
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
651
|
+
region: context.config.region,
|
652
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
653
|
+
use_fips: context.config.use_fips_endpoint,
|
654
|
+
endpoint: endpoint,
|
655
|
+
)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
421
659
|
class ListTagsForResource
|
422
660
|
def self.build(context)
|
423
661
|
unless context.config.regional_endpoint
|
@@ -446,6 +684,20 @@ module Aws::BedrockAgent
|
|
446
684
|
end
|
447
685
|
end
|
448
686
|
|
687
|
+
class PrepareFlow
|
688
|
+
def self.build(context)
|
689
|
+
unless context.config.regional_endpoint
|
690
|
+
endpoint = context.config.endpoint.to_s
|
691
|
+
end
|
692
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
693
|
+
region: context.config.region,
|
694
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
695
|
+
use_fips: context.config.use_fips_endpoint,
|
696
|
+
endpoint: endpoint,
|
697
|
+
)
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
449
701
|
class StartIngestionJob
|
450
702
|
def self.build(context)
|
451
703
|
unless context.config.regional_endpoint
|
@@ -558,6 +810,34 @@ module Aws::BedrockAgent
|
|
558
810
|
end
|
559
811
|
end
|
560
812
|
|
813
|
+
class UpdateFlow
|
814
|
+
def self.build(context)
|
815
|
+
unless context.config.regional_endpoint
|
816
|
+
endpoint = context.config.endpoint.to_s
|
817
|
+
end
|
818
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
819
|
+
region: context.config.region,
|
820
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
821
|
+
use_fips: context.config.use_fips_endpoint,
|
822
|
+
endpoint: endpoint,
|
823
|
+
)
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
827
|
+
class UpdateFlowAlias
|
828
|
+
def self.build(context)
|
829
|
+
unless context.config.regional_endpoint
|
830
|
+
endpoint = context.config.endpoint.to_s
|
831
|
+
end
|
832
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
833
|
+
region: context.config.region,
|
834
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
835
|
+
use_fips: context.config.use_fips_endpoint,
|
836
|
+
endpoint: endpoint,
|
837
|
+
)
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
561
841
|
class UpdateKnowledgeBase
|
562
842
|
def self.build(context)
|
563
843
|
unless context.config.regional_endpoint
|
@@ -572,5 +852,19 @@ module Aws::BedrockAgent
|
|
572
852
|
end
|
573
853
|
end
|
574
854
|
|
855
|
+
class UpdatePrompt
|
856
|
+
def self.build(context)
|
857
|
+
unless context.config.regional_endpoint
|
858
|
+
endpoint = context.config.endpoint.to_s
|
859
|
+
end
|
860
|
+
Aws::BedrockAgent::EndpointParameters.new(
|
861
|
+
region: context.config.region,
|
862
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
863
|
+
use_fips: context.config.use_fips_endpoint,
|
864
|
+
endpoint: endpoint,
|
865
|
+
)
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
575
869
|
end
|
576
870
|
end
|
@@ -68,8 +68,18 @@ module Aws::BedrockAgent
|
|
68
68
|
Aws::BedrockAgent::Endpoints::CreateAgentAlias.build(context)
|
69
69
|
when :create_data_source
|
70
70
|
Aws::BedrockAgent::Endpoints::CreateDataSource.build(context)
|
71
|
+
when :create_flow
|
72
|
+
Aws::BedrockAgent::Endpoints::CreateFlow.build(context)
|
73
|
+
when :create_flow_alias
|
74
|
+
Aws::BedrockAgent::Endpoints::CreateFlowAlias.build(context)
|
75
|
+
when :create_flow_version
|
76
|
+
Aws::BedrockAgent::Endpoints::CreateFlowVersion.build(context)
|
71
77
|
when :create_knowledge_base
|
72
78
|
Aws::BedrockAgent::Endpoints::CreateKnowledgeBase.build(context)
|
79
|
+
when :create_prompt
|
80
|
+
Aws::BedrockAgent::Endpoints::CreatePrompt.build(context)
|
81
|
+
when :create_prompt_version
|
82
|
+
Aws::BedrockAgent::Endpoints::CreatePromptVersion.build(context)
|
73
83
|
when :delete_agent
|
74
84
|
Aws::BedrockAgent::Endpoints::DeleteAgent.build(context)
|
75
85
|
when :delete_agent_action_group
|
@@ -80,8 +90,16 @@ module Aws::BedrockAgent
|
|
80
90
|
Aws::BedrockAgent::Endpoints::DeleteAgentVersion.build(context)
|
81
91
|
when :delete_data_source
|
82
92
|
Aws::BedrockAgent::Endpoints::DeleteDataSource.build(context)
|
93
|
+
when :delete_flow
|
94
|
+
Aws::BedrockAgent::Endpoints::DeleteFlow.build(context)
|
95
|
+
when :delete_flow_alias
|
96
|
+
Aws::BedrockAgent::Endpoints::DeleteFlowAlias.build(context)
|
97
|
+
when :delete_flow_version
|
98
|
+
Aws::BedrockAgent::Endpoints::DeleteFlowVersion.build(context)
|
83
99
|
when :delete_knowledge_base
|
84
100
|
Aws::BedrockAgent::Endpoints::DeleteKnowledgeBase.build(context)
|
101
|
+
when :delete_prompt
|
102
|
+
Aws::BedrockAgent::Endpoints::DeletePrompt.build(context)
|
85
103
|
when :disassociate_agent_knowledge_base
|
86
104
|
Aws::BedrockAgent::Endpoints::DisassociateAgentKnowledgeBase.build(context)
|
87
105
|
when :get_agent
|
@@ -96,10 +114,18 @@ module Aws::BedrockAgent
|
|
96
114
|
Aws::BedrockAgent::Endpoints::GetAgentVersion.build(context)
|
97
115
|
when :get_data_source
|
98
116
|
Aws::BedrockAgent::Endpoints::GetDataSource.build(context)
|
117
|
+
when :get_flow
|
118
|
+
Aws::BedrockAgent::Endpoints::GetFlow.build(context)
|
119
|
+
when :get_flow_alias
|
120
|
+
Aws::BedrockAgent::Endpoints::GetFlowAlias.build(context)
|
121
|
+
when :get_flow_version
|
122
|
+
Aws::BedrockAgent::Endpoints::GetFlowVersion.build(context)
|
99
123
|
when :get_ingestion_job
|
100
124
|
Aws::BedrockAgent::Endpoints::GetIngestionJob.build(context)
|
101
125
|
when :get_knowledge_base
|
102
126
|
Aws::BedrockAgent::Endpoints::GetKnowledgeBase.build(context)
|
127
|
+
when :get_prompt
|
128
|
+
Aws::BedrockAgent::Endpoints::GetPrompt.build(context)
|
103
129
|
when :list_agent_action_groups
|
104
130
|
Aws::BedrockAgent::Endpoints::ListAgentActionGroups.build(context)
|
105
131
|
when :list_agent_aliases
|
@@ -112,14 +138,24 @@ module Aws::BedrockAgent
|
|
112
138
|
Aws::BedrockAgent::Endpoints::ListAgents.build(context)
|
113
139
|
when :list_data_sources
|
114
140
|
Aws::BedrockAgent::Endpoints::ListDataSources.build(context)
|
141
|
+
when :list_flow_aliases
|
142
|
+
Aws::BedrockAgent::Endpoints::ListFlowAliases.build(context)
|
143
|
+
when :list_flow_versions
|
144
|
+
Aws::BedrockAgent::Endpoints::ListFlowVersions.build(context)
|
145
|
+
when :list_flows
|
146
|
+
Aws::BedrockAgent::Endpoints::ListFlows.build(context)
|
115
147
|
when :list_ingestion_jobs
|
116
148
|
Aws::BedrockAgent::Endpoints::ListIngestionJobs.build(context)
|
117
149
|
when :list_knowledge_bases
|
118
150
|
Aws::BedrockAgent::Endpoints::ListKnowledgeBases.build(context)
|
151
|
+
when :list_prompts
|
152
|
+
Aws::BedrockAgent::Endpoints::ListPrompts.build(context)
|
119
153
|
when :list_tags_for_resource
|
120
154
|
Aws::BedrockAgent::Endpoints::ListTagsForResource.build(context)
|
121
155
|
when :prepare_agent
|
122
156
|
Aws::BedrockAgent::Endpoints::PrepareAgent.build(context)
|
157
|
+
when :prepare_flow
|
158
|
+
Aws::BedrockAgent::Endpoints::PrepareFlow.build(context)
|
123
159
|
when :start_ingestion_job
|
124
160
|
Aws::BedrockAgent::Endpoints::StartIngestionJob.build(context)
|
125
161
|
when :tag_resource
|
@@ -136,8 +172,14 @@ module Aws::BedrockAgent
|
|
136
172
|
Aws::BedrockAgent::Endpoints::UpdateAgentKnowledgeBase.build(context)
|
137
173
|
when :update_data_source
|
138
174
|
Aws::BedrockAgent::Endpoints::UpdateDataSource.build(context)
|
175
|
+
when :update_flow
|
176
|
+
Aws::BedrockAgent::Endpoints::UpdateFlow.build(context)
|
177
|
+
when :update_flow_alias
|
178
|
+
Aws::BedrockAgent::Endpoints::UpdateFlowAlias.build(context)
|
139
179
|
when :update_knowledge_base
|
140
180
|
Aws::BedrockAgent::Endpoints::UpdateKnowledgeBase.build(context)
|
181
|
+
when :update_prompt
|
182
|
+
Aws::BedrockAgent::Endpoints::UpdatePrompt.build(context)
|
141
183
|
end
|
142
184
|
end
|
143
185
|
end
|