aws-sdk-bedrockagent 1.29.0 → 1.31.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-bedrockagent/client.rb +82 -4
- data/lib/aws-sdk-bedrockagent/client_api.rb +3 -0
- data/lib/aws-sdk-bedrockagent/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-bedrockagent/endpoints.rb +2 -680
- data/lib/aws-sdk-bedrockagent/plugins/endpoints.rb +1 -130
- data/lib/aws-sdk-bedrockagent/types.rb +107 -13
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +11 -9
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::BedrockAgent::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,135 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :associate_agent_knowledge_base
|
74
|
-
Aws::BedrockAgent::Endpoints::AssociateAgentKnowledgeBase.build(context)
|
75
|
-
when :create_agent
|
76
|
-
Aws::BedrockAgent::Endpoints::CreateAgent.build(context)
|
77
|
-
when :create_agent_action_group
|
78
|
-
Aws::BedrockAgent::Endpoints::CreateAgentActionGroup.build(context)
|
79
|
-
when :create_agent_alias
|
80
|
-
Aws::BedrockAgent::Endpoints::CreateAgentAlias.build(context)
|
81
|
-
when :create_data_source
|
82
|
-
Aws::BedrockAgent::Endpoints::CreateDataSource.build(context)
|
83
|
-
when :create_flow
|
84
|
-
Aws::BedrockAgent::Endpoints::CreateFlow.build(context)
|
85
|
-
when :create_flow_alias
|
86
|
-
Aws::BedrockAgent::Endpoints::CreateFlowAlias.build(context)
|
87
|
-
when :create_flow_version
|
88
|
-
Aws::BedrockAgent::Endpoints::CreateFlowVersion.build(context)
|
89
|
-
when :create_knowledge_base
|
90
|
-
Aws::BedrockAgent::Endpoints::CreateKnowledgeBase.build(context)
|
91
|
-
when :create_prompt
|
92
|
-
Aws::BedrockAgent::Endpoints::CreatePrompt.build(context)
|
93
|
-
when :create_prompt_version
|
94
|
-
Aws::BedrockAgent::Endpoints::CreatePromptVersion.build(context)
|
95
|
-
when :delete_agent
|
96
|
-
Aws::BedrockAgent::Endpoints::DeleteAgent.build(context)
|
97
|
-
when :delete_agent_action_group
|
98
|
-
Aws::BedrockAgent::Endpoints::DeleteAgentActionGroup.build(context)
|
99
|
-
when :delete_agent_alias
|
100
|
-
Aws::BedrockAgent::Endpoints::DeleteAgentAlias.build(context)
|
101
|
-
when :delete_agent_version
|
102
|
-
Aws::BedrockAgent::Endpoints::DeleteAgentVersion.build(context)
|
103
|
-
when :delete_data_source
|
104
|
-
Aws::BedrockAgent::Endpoints::DeleteDataSource.build(context)
|
105
|
-
when :delete_flow
|
106
|
-
Aws::BedrockAgent::Endpoints::DeleteFlow.build(context)
|
107
|
-
when :delete_flow_alias
|
108
|
-
Aws::BedrockAgent::Endpoints::DeleteFlowAlias.build(context)
|
109
|
-
when :delete_flow_version
|
110
|
-
Aws::BedrockAgent::Endpoints::DeleteFlowVersion.build(context)
|
111
|
-
when :delete_knowledge_base
|
112
|
-
Aws::BedrockAgent::Endpoints::DeleteKnowledgeBase.build(context)
|
113
|
-
when :delete_prompt
|
114
|
-
Aws::BedrockAgent::Endpoints::DeletePrompt.build(context)
|
115
|
-
when :disassociate_agent_knowledge_base
|
116
|
-
Aws::BedrockAgent::Endpoints::DisassociateAgentKnowledgeBase.build(context)
|
117
|
-
when :get_agent
|
118
|
-
Aws::BedrockAgent::Endpoints::GetAgent.build(context)
|
119
|
-
when :get_agent_action_group
|
120
|
-
Aws::BedrockAgent::Endpoints::GetAgentActionGroup.build(context)
|
121
|
-
when :get_agent_alias
|
122
|
-
Aws::BedrockAgent::Endpoints::GetAgentAlias.build(context)
|
123
|
-
when :get_agent_knowledge_base
|
124
|
-
Aws::BedrockAgent::Endpoints::GetAgentKnowledgeBase.build(context)
|
125
|
-
when :get_agent_version
|
126
|
-
Aws::BedrockAgent::Endpoints::GetAgentVersion.build(context)
|
127
|
-
when :get_data_source
|
128
|
-
Aws::BedrockAgent::Endpoints::GetDataSource.build(context)
|
129
|
-
when :get_flow
|
130
|
-
Aws::BedrockAgent::Endpoints::GetFlow.build(context)
|
131
|
-
when :get_flow_alias
|
132
|
-
Aws::BedrockAgent::Endpoints::GetFlowAlias.build(context)
|
133
|
-
when :get_flow_version
|
134
|
-
Aws::BedrockAgent::Endpoints::GetFlowVersion.build(context)
|
135
|
-
when :get_ingestion_job
|
136
|
-
Aws::BedrockAgent::Endpoints::GetIngestionJob.build(context)
|
137
|
-
when :get_knowledge_base
|
138
|
-
Aws::BedrockAgent::Endpoints::GetKnowledgeBase.build(context)
|
139
|
-
when :get_prompt
|
140
|
-
Aws::BedrockAgent::Endpoints::GetPrompt.build(context)
|
141
|
-
when :list_agent_action_groups
|
142
|
-
Aws::BedrockAgent::Endpoints::ListAgentActionGroups.build(context)
|
143
|
-
when :list_agent_aliases
|
144
|
-
Aws::BedrockAgent::Endpoints::ListAgentAliases.build(context)
|
145
|
-
when :list_agent_knowledge_bases
|
146
|
-
Aws::BedrockAgent::Endpoints::ListAgentKnowledgeBases.build(context)
|
147
|
-
when :list_agent_versions
|
148
|
-
Aws::BedrockAgent::Endpoints::ListAgentVersions.build(context)
|
149
|
-
when :list_agents
|
150
|
-
Aws::BedrockAgent::Endpoints::ListAgents.build(context)
|
151
|
-
when :list_data_sources
|
152
|
-
Aws::BedrockAgent::Endpoints::ListDataSources.build(context)
|
153
|
-
when :list_flow_aliases
|
154
|
-
Aws::BedrockAgent::Endpoints::ListFlowAliases.build(context)
|
155
|
-
when :list_flow_versions
|
156
|
-
Aws::BedrockAgent::Endpoints::ListFlowVersions.build(context)
|
157
|
-
when :list_flows
|
158
|
-
Aws::BedrockAgent::Endpoints::ListFlows.build(context)
|
159
|
-
when :list_ingestion_jobs
|
160
|
-
Aws::BedrockAgent::Endpoints::ListIngestionJobs.build(context)
|
161
|
-
when :list_knowledge_bases
|
162
|
-
Aws::BedrockAgent::Endpoints::ListKnowledgeBases.build(context)
|
163
|
-
when :list_prompts
|
164
|
-
Aws::BedrockAgent::Endpoints::ListPrompts.build(context)
|
165
|
-
when :list_tags_for_resource
|
166
|
-
Aws::BedrockAgent::Endpoints::ListTagsForResource.build(context)
|
167
|
-
when :prepare_agent
|
168
|
-
Aws::BedrockAgent::Endpoints::PrepareAgent.build(context)
|
169
|
-
when :prepare_flow
|
170
|
-
Aws::BedrockAgent::Endpoints::PrepareFlow.build(context)
|
171
|
-
when :start_ingestion_job
|
172
|
-
Aws::BedrockAgent::Endpoints::StartIngestionJob.build(context)
|
173
|
-
when :stop_ingestion_job
|
174
|
-
Aws::BedrockAgent::Endpoints::StopIngestionJob.build(context)
|
175
|
-
when :tag_resource
|
176
|
-
Aws::BedrockAgent::Endpoints::TagResource.build(context)
|
177
|
-
when :untag_resource
|
178
|
-
Aws::BedrockAgent::Endpoints::UntagResource.build(context)
|
179
|
-
when :update_agent
|
180
|
-
Aws::BedrockAgent::Endpoints::UpdateAgent.build(context)
|
181
|
-
when :update_agent_action_group
|
182
|
-
Aws::BedrockAgent::Endpoints::UpdateAgentActionGroup.build(context)
|
183
|
-
when :update_agent_alias
|
184
|
-
Aws::BedrockAgent::Endpoints::UpdateAgentAlias.build(context)
|
185
|
-
when :update_agent_knowledge_base
|
186
|
-
Aws::BedrockAgent::Endpoints::UpdateAgentKnowledgeBase.build(context)
|
187
|
-
when :update_data_source
|
188
|
-
Aws::BedrockAgent::Endpoints::UpdateDataSource.build(context)
|
189
|
-
when :update_flow
|
190
|
-
Aws::BedrockAgent::Endpoints::UpdateFlow.build(context)
|
191
|
-
when :update_flow_alias
|
192
|
-
Aws::BedrockAgent::Endpoints::UpdateFlowAlias.build(context)
|
193
|
-
when :update_knowledge_base
|
194
|
-
Aws::BedrockAgent::Endpoints::UpdateKnowledgeBase.build(context)
|
195
|
-
when :update_prompt
|
196
|
-
Aws::BedrockAgent::Endpoints::UpdatePrompt.build(context)
|
197
|
-
end
|
198
|
-
end
|
199
70
|
end
|
200
71
|
|
201
72
|
def add_handlers(handlers, _config)
|
@@ -1085,7 +1085,7 @@ module Aws::BedrockAgent
|
|
1085
1085
|
#
|
1086
1086
|
class ConditionFlowNodeConfiguration < Struct.new(
|
1087
1087
|
:conditions)
|
1088
|
-
SENSITIVE = [
|
1088
|
+
SENSITIVE = []
|
1089
1089
|
include Aws::Structure
|
1090
1090
|
end
|
1091
1091
|
|
@@ -1409,8 +1409,43 @@ module Aws::BedrockAgent
|
|
1409
1409
|
# @return [String]
|
1410
1410
|
#
|
1411
1411
|
# @!attribute [rw] foundation_model
|
1412
|
-
# The
|
1413
|
-
#
|
1412
|
+
# The identifier for the model that you want to be used for
|
1413
|
+
# orchestration by the agent you create.
|
1414
|
+
#
|
1415
|
+
# The `modelId` to provide depends on the type of model or throughput
|
1416
|
+
# that you use:
|
1417
|
+
#
|
1418
|
+
# * If you use a base model, specify the model ID or its ARN. For a
|
1419
|
+
# list of model IDs for base models, see [Amazon Bedrock base model
|
1420
|
+
# IDs (on-demand throughput)][1] in the Amazon Bedrock User Guide.
|
1421
|
+
#
|
1422
|
+
# * If you use an inference profile, specify the inference profile ID
|
1423
|
+
# or its ARN. For a list of inference profile IDs, see [Supported
|
1424
|
+
# Regions and models for cross-region inference][2] in the Amazon
|
1425
|
+
# Bedrock User Guide.
|
1426
|
+
#
|
1427
|
+
# * If you use a provisioned model, specify the ARN of the Provisioned
|
1428
|
+
# Throughput. For more information, see [Run inference using a
|
1429
|
+
# Provisioned Throughput][3] in the Amazon Bedrock User Guide.
|
1430
|
+
#
|
1431
|
+
# * If you use a custom model, first purchase Provisioned Throughput
|
1432
|
+
# for it. Then specify the ARN of the resulting provisioned model.
|
1433
|
+
# For more information, see [Use a custom model in Amazon
|
1434
|
+
# Bedrock][4] in the Amazon Bedrock User Guide.
|
1435
|
+
#
|
1436
|
+
# * If you use an [imported model][5], specify the ARN of the imported
|
1437
|
+
# model. You can get the model ARN from a successful call to
|
1438
|
+
# [CreateModelImportJob][6] or from the Imported models page in the
|
1439
|
+
# Amazon Bedrock console.
|
1440
|
+
#
|
1441
|
+
#
|
1442
|
+
#
|
1443
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns
|
1444
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html
|
1445
|
+
# [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html
|
1446
|
+
# [4]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html
|
1447
|
+
# [5]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html
|
1448
|
+
# [6]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html
|
1414
1449
|
# @return [String]
|
1415
1450
|
#
|
1416
1451
|
# @!attribute [rw] guardrail_configuration
|
@@ -1724,7 +1759,7 @@ module Aws::BedrockAgent
|
|
1724
1759
|
:execution_role_arn,
|
1725
1760
|
:name,
|
1726
1761
|
:tags)
|
1727
|
-
SENSITIVE = []
|
1762
|
+
SENSITIVE = [:definition]
|
1728
1763
|
include Aws::Structure
|
1729
1764
|
end
|
1730
1765
|
|
@@ -1796,7 +1831,7 @@ module Aws::BedrockAgent
|
|
1796
1831
|
:status,
|
1797
1832
|
:updated_at,
|
1798
1833
|
:version)
|
1799
|
-
SENSITIVE = []
|
1834
|
+
SENSITIVE = [:definition]
|
1800
1835
|
include Aws::Structure
|
1801
1836
|
end
|
1802
1837
|
|
@@ -1893,7 +1928,7 @@ module Aws::BedrockAgent
|
|
1893
1928
|
:name,
|
1894
1929
|
:status,
|
1895
1930
|
:version)
|
1896
|
-
SENSITIVE = []
|
1931
|
+
SENSITIVE = [:definition]
|
1897
1932
|
include Aws::Structure
|
1898
1933
|
end
|
1899
1934
|
|
@@ -3059,7 +3094,7 @@ module Aws::BedrockAgent
|
|
3059
3094
|
class FlowDefinition < Struct.new(
|
3060
3095
|
:connections,
|
3061
3096
|
:nodes)
|
3062
|
-
SENSITIVE = [
|
3097
|
+
SENSITIVE = []
|
3063
3098
|
include Aws::Structure
|
3064
3099
|
end
|
3065
3100
|
|
@@ -3865,7 +3900,7 @@ module Aws::BedrockAgent
|
|
3865
3900
|
:updated_at,
|
3866
3901
|
:validations,
|
3867
3902
|
:version)
|
3868
|
-
SENSITIVE = []
|
3903
|
+
SENSITIVE = [:definition]
|
3869
3904
|
include Aws::Structure
|
3870
3905
|
end
|
3871
3906
|
|
@@ -3947,7 +3982,7 @@ module Aws::BedrockAgent
|
|
3947
3982
|
:name,
|
3948
3983
|
:status,
|
3949
3984
|
:version)
|
3950
|
-
SENSITIVE = []
|
3985
|
+
SENSITIVE = [:definition]
|
3951
3986
|
include Aws::Structure
|
3952
3987
|
end
|
3953
3988
|
|
@@ -5896,6 +5931,17 @@ module Aws::BedrockAgent
|
|
5896
5931
|
|
5897
5932
|
# Contains configurations for a prompt defined inline in the node.
|
5898
5933
|
#
|
5934
|
+
# @!attribute [rw] additional_model_request_fields
|
5935
|
+
# Contains model-specific inference configurations that aren't in the
|
5936
|
+
# `inferenceConfiguration` field. To see model-specific inference
|
5937
|
+
# parameters, see [Inference request parameters and response fields
|
5938
|
+
# for foundation models][1].
|
5939
|
+
#
|
5940
|
+
#
|
5941
|
+
#
|
5942
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html
|
5943
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
5944
|
+
#
|
5899
5945
|
# @!attribute [rw] inference_configuration
|
5900
5946
|
# Contains inference configurations for the prompt.
|
5901
5947
|
# @return [Types::PromptInferenceConfiguration]
|
@@ -5921,6 +5967,7 @@ module Aws::BedrockAgent
|
|
5921
5967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PromptFlowNodeInlineConfiguration AWS API Documentation
|
5922
5968
|
#
|
5923
5969
|
class PromptFlowNodeInlineConfiguration < Struct.new(
|
5970
|
+
:additional_model_request_fields,
|
5924
5971
|
:inference_configuration,
|
5925
5972
|
:model_id,
|
5926
5973
|
:template_configuration,
|
@@ -6197,6 +6244,17 @@ module Aws::BedrockAgent
|
|
6197
6244
|
|
6198
6245
|
# Contains details about a variant of the prompt.
|
6199
6246
|
#
|
6247
|
+
# @!attribute [rw] additional_model_request_fields
|
6248
|
+
# Contains model-specific inference configurations that aren't in the
|
6249
|
+
# `inferenceConfiguration` field. To see model-specific inference
|
6250
|
+
# parameters, see [Inference request parameters and response fields
|
6251
|
+
# for foundation models][1].
|
6252
|
+
#
|
6253
|
+
#
|
6254
|
+
#
|
6255
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html
|
6256
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
6257
|
+
#
|
6200
6258
|
# @!attribute [rw] inference_configuration
|
6201
6259
|
# Contains inference configurations for the prompt variant.
|
6202
6260
|
# @return [Types::PromptInferenceConfiguration]
|
@@ -6235,6 +6293,7 @@ module Aws::BedrockAgent
|
|
6235
6293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PromptVariant AWS API Documentation
|
6236
6294
|
#
|
6237
6295
|
class PromptVariant < Struct.new(
|
6296
|
+
:additional_model_request_fields,
|
6238
6297
|
:inference_configuration,
|
6239
6298
|
:metadata,
|
6240
6299
|
:model_id,
|
@@ -7307,8 +7366,43 @@ module Aws::BedrockAgent
|
|
7307
7366
|
# @return [String]
|
7308
7367
|
#
|
7309
7368
|
# @!attribute [rw] foundation_model
|
7310
|
-
#
|
7311
|
-
# agent.
|
7369
|
+
# The identifier for the model that you want to be used for
|
7370
|
+
# orchestration by the agent you create.
|
7371
|
+
#
|
7372
|
+
# The `modelId` to provide depends on the type of model or throughput
|
7373
|
+
# that you use:
|
7374
|
+
#
|
7375
|
+
# * If you use a base model, specify the model ID or its ARN. For a
|
7376
|
+
# list of model IDs for base models, see [Amazon Bedrock base model
|
7377
|
+
# IDs (on-demand throughput)][1] in the Amazon Bedrock User Guide.
|
7378
|
+
#
|
7379
|
+
# * If you use an inference profile, specify the inference profile ID
|
7380
|
+
# or its ARN. For a list of inference profile IDs, see [Supported
|
7381
|
+
# Regions and models for cross-region inference][2] in the Amazon
|
7382
|
+
# Bedrock User Guide.
|
7383
|
+
#
|
7384
|
+
# * If you use a provisioned model, specify the ARN of the Provisioned
|
7385
|
+
# Throughput. For more information, see [Run inference using a
|
7386
|
+
# Provisioned Throughput][3] in the Amazon Bedrock User Guide.
|
7387
|
+
#
|
7388
|
+
# * If you use a custom model, first purchase Provisioned Throughput
|
7389
|
+
# for it. Then specify the ARN of the resulting provisioned model.
|
7390
|
+
# For more information, see [Use a custom model in Amazon
|
7391
|
+
# Bedrock][4] in the Amazon Bedrock User Guide.
|
7392
|
+
#
|
7393
|
+
# * If you use an [imported model][5], specify the ARN of the imported
|
7394
|
+
# model. You can get the model ARN from a successful call to
|
7395
|
+
# [CreateModelImportJob][6] or from the Imported models page in the
|
7396
|
+
# Amazon Bedrock console.
|
7397
|
+
#
|
7398
|
+
#
|
7399
|
+
#
|
7400
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns
|
7401
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html
|
7402
|
+
# [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html
|
7403
|
+
# [4]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html
|
7404
|
+
# [5]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html
|
7405
|
+
# [6]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html
|
7312
7406
|
# @return [String]
|
7313
7407
|
#
|
7314
7408
|
# @!attribute [rw] guardrail_configuration
|
@@ -7555,7 +7649,7 @@ module Aws::BedrockAgent
|
|
7555
7649
|
:execution_role_arn,
|
7556
7650
|
:flow_identifier,
|
7557
7651
|
:name)
|
7558
|
-
SENSITIVE = []
|
7652
|
+
SENSITIVE = [:definition]
|
7559
7653
|
include Aws::Structure
|
7560
7654
|
end
|
7561
7655
|
|
@@ -7628,7 +7722,7 @@ module Aws::BedrockAgent
|
|
7628
7722
|
:status,
|
7629
7723
|
:updated_at,
|
7630
7724
|
:version)
|
7631
|
-
SENSITIVE = []
|
7725
|
+
SENSITIVE = [:definition]
|
7632
7726
|
include Aws::Structure
|
7633
7727
|
end
|
7634
7728
|
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -426,6 +426,8 @@ module Aws
|
|
426
426
|
prompt: {
|
427
427
|
source_configuration: {
|
428
428
|
inline: {
|
429
|
+
additional_model_request_fields: {
|
430
|
+
}?,
|
429
431
|
inference_configuration: {
|
430
432
|
text: {
|
431
433
|
max_tokens: ::Integer?,
|
@@ -643,6 +645,8 @@ module Aws
|
|
643
645
|
?tags: Hash[::String, ::String],
|
644
646
|
?variants: Array[
|
645
647
|
{
|
648
|
+
additional_model_request_fields: {
|
649
|
+
}?,
|
646
650
|
inference_configuration: {
|
647
651
|
text: {
|
648
652
|
max_tokens: ::Integer?,
|
@@ -1593,6 +1597,8 @@ module Aws
|
|
1593
1597
|
prompt: {
|
1594
1598
|
source_configuration: {
|
1595
1599
|
inline: {
|
1600
|
+
additional_model_request_fields: {
|
1601
|
+
}?,
|
1596
1602
|
inference_configuration: {
|
1597
1603
|
text: {
|
1598
1604
|
max_tokens: ::Integer?,
|
@@ -1786,6 +1792,8 @@ module Aws
|
|
1786
1792
|
prompt_identifier: ::String,
|
1787
1793
|
?variants: Array[
|
1788
1794
|
{
|
1795
|
+
additional_model_request_fields: {
|
1796
|
+
}?,
|
1789
1797
|
inference_configuration: {
|
1790
1798
|
text: {
|
1791
1799
|
max_tokens: ::Integer?,
|
data/sig/types.rbs
CHANGED
@@ -237,7 +237,7 @@ module Aws::BedrockAgent
|
|
237
237
|
|
238
238
|
class ConditionFlowNodeConfiguration
|
239
239
|
attr_accessor conditions: ::Array[Types::FlowCondition]
|
240
|
-
SENSITIVE: [
|
240
|
+
SENSITIVE: []
|
241
241
|
end
|
242
242
|
|
243
243
|
class ConflictException
|
@@ -372,7 +372,7 @@ module Aws::BedrockAgent
|
|
372
372
|
attr_accessor execution_role_arn: ::String
|
373
373
|
attr_accessor name: ::String
|
374
374
|
attr_accessor tags: ::Hash[::String, ::String]
|
375
|
-
SENSITIVE: []
|
375
|
+
SENSITIVE: [:definition]
|
376
376
|
end
|
377
377
|
|
378
378
|
class CreateFlowResponse
|
@@ -387,7 +387,7 @@ module Aws::BedrockAgent
|
|
387
387
|
attr_accessor status: ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
388
388
|
attr_accessor updated_at: ::Time
|
389
389
|
attr_accessor version: ::String
|
390
|
-
SENSITIVE: []
|
390
|
+
SENSITIVE: [:definition]
|
391
391
|
end
|
392
392
|
|
393
393
|
class CreateFlowVersionRequest
|
@@ -408,7 +408,7 @@ module Aws::BedrockAgent
|
|
408
408
|
attr_accessor name: ::String
|
409
409
|
attr_accessor status: ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
410
410
|
attr_accessor version: ::String
|
411
|
-
SENSITIVE: []
|
411
|
+
SENSITIVE: [:definition]
|
412
412
|
end
|
413
413
|
|
414
414
|
class CreateKnowledgeBaseRequest
|
@@ -719,7 +719,7 @@ module Aws::BedrockAgent
|
|
719
719
|
class FlowDefinition
|
720
720
|
attr_accessor connections: ::Array[Types::FlowConnection]
|
721
721
|
attr_accessor nodes: ::Array[Types::FlowNode]
|
722
|
-
SENSITIVE: [
|
722
|
+
SENSITIVE: []
|
723
723
|
end
|
724
724
|
|
725
725
|
class FlowNode
|
@@ -937,7 +937,7 @@ module Aws::BedrockAgent
|
|
937
937
|
attr_accessor updated_at: ::Time
|
938
938
|
attr_accessor validations: ::Array[Types::FlowValidation]
|
939
939
|
attr_accessor version: ::String
|
940
|
-
SENSITIVE: []
|
940
|
+
SENSITIVE: [:definition]
|
941
941
|
end
|
942
942
|
|
943
943
|
class GetFlowVersionRequest
|
@@ -957,7 +957,7 @@ module Aws::BedrockAgent
|
|
957
957
|
attr_accessor name: ::String
|
958
958
|
attr_accessor status: ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
959
959
|
attr_accessor version: ::String
|
960
|
-
SENSITIVE: []
|
960
|
+
SENSITIVE: [:definition]
|
961
961
|
end
|
962
962
|
|
963
963
|
class GetIngestionJobRequest
|
@@ -1433,6 +1433,7 @@ module Aws::BedrockAgent
|
|
1433
1433
|
end
|
1434
1434
|
|
1435
1435
|
class PromptFlowNodeInlineConfiguration
|
1436
|
+
attr_accessor additional_model_request_fields: untyped
|
1436
1437
|
attr_accessor inference_configuration: Types::PromptInferenceConfiguration
|
1437
1438
|
attr_accessor model_id: ::String
|
1438
1439
|
attr_accessor template_configuration: Types::PromptTemplateConfiguration
|
@@ -1518,6 +1519,7 @@ module Aws::BedrockAgent
|
|
1518
1519
|
end
|
1519
1520
|
|
1520
1521
|
class PromptVariant
|
1522
|
+
attr_accessor additional_model_request_fields: untyped
|
1521
1523
|
attr_accessor inference_configuration: Types::PromptInferenceConfiguration
|
1522
1524
|
attr_accessor metadata: ::Array[Types::PromptMetadataEntry]
|
1523
1525
|
attr_accessor model_id: ::String
|
@@ -1877,7 +1879,7 @@ module Aws::BedrockAgent
|
|
1877
1879
|
attr_accessor execution_role_arn: ::String
|
1878
1880
|
attr_accessor flow_identifier: ::String
|
1879
1881
|
attr_accessor name: ::String
|
1880
|
-
SENSITIVE: []
|
1882
|
+
SENSITIVE: [:definition]
|
1881
1883
|
end
|
1882
1884
|
|
1883
1885
|
class UpdateFlowResponse
|
@@ -1892,7 +1894,7 @@ module Aws::BedrockAgent
|
|
1892
1894
|
attr_accessor status: ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
1893
1895
|
attr_accessor updated_at: ::Time
|
1894
1896
|
attr_accessor version: ::String
|
1895
|
-
SENSITIVE: []
|
1897
|
+
SENSITIVE: [:definition]
|
1896
1898
|
end
|
1897
1899
|
|
1898
1900
|
class UpdateKnowledgeBaseRequest
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|