aws-sdk-bedrock 1.23.0 → 1.24.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +8 -5
- data/lib/aws-sdk-bedrock/types.rb +17 -11
- data/lib/aws-sdk-bedrock.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fa9a362ab4b486bbf1b63c8d8267ba7cf49f437d66fa8f11e1b849c63cfdcc6
|
4
|
+
data.tar.gz: 411ce796a58b177efaf83fd4ad051175a383d383811f7a8faaf0401e0f069a77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c4a3647d629cb842140bf604aaa05c738e539c5adba4fd5de7403787caaad0479ee1f9848f62802c7e24610532e035ab22d8757b7318134fce2a5785470a97
|
7
|
+
data.tar.gz: 0fe9b1caadcf16d2a866a5566cd1efbbb92ade7d2789db1ef53ce079109535c069d89df951142b7295f4a5723e8038683a06c45a51b0908ee534ddc4adcaa576
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:bedrock)
|
40
|
-
|
41
39
|
module Aws::Bedrock
|
42
40
|
# An API client for Bedrock. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -542,8 +540,13 @@ module Aws::Bedrock
|
|
542
540
|
#
|
543
541
|
# @option params [required, Types::EvaluationInferenceConfig] :inference_config
|
544
542
|
# Specify the models you want to use in your model evaluation job.
|
545
|
-
# Automatic model evaluation jobs support a single model
|
546
|
-
# evaluation job that use human workers support
|
543
|
+
# Automatic model evaluation jobs support a single model or [inference
|
544
|
+
# profile][1], and model evaluation job that use human workers support
|
545
|
+
# two models or inference profiles.
|
546
|
+
#
|
547
|
+
#
|
548
|
+
#
|
549
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
547
550
|
#
|
548
551
|
# @option params [required, Types::EvaluationOutputDataConfig] :output_data_config
|
549
552
|
# An object that defines where the results of model evaluation job will
|
@@ -3600,7 +3603,7 @@ module Aws::Bedrock
|
|
3600
3603
|
tracer: tracer
|
3601
3604
|
)
|
3602
3605
|
context[:gem_name] = 'aws-sdk-bedrock'
|
3603
|
-
context[:gem_version] = '1.
|
3606
|
+
context[:gem_version] = '1.24.0'
|
3604
3607
|
Seahorse::Client::Request.new(handlers, context)
|
3605
3608
|
end
|
3606
3609
|
|
@@ -205,8 +205,13 @@ module Aws::Bedrock
|
|
205
205
|
#
|
206
206
|
# @!attribute [rw] inference_config
|
207
207
|
# Specify the models you want to use in your model evaluation job.
|
208
|
-
# Automatic model evaluation jobs support a single model
|
209
|
-
# evaluation job that use human workers support
|
208
|
+
# Automatic model evaluation jobs support a single model or [inference
|
209
|
+
# profile][1], and model evaluation job that use human workers support
|
210
|
+
# two models or inference profiles.
|
211
|
+
#
|
212
|
+
#
|
213
|
+
#
|
214
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
210
215
|
# @return [Types::EvaluationInferenceConfig]
|
211
216
|
#
|
212
217
|
# @!attribute [rw] output_data_config
|
@@ -970,11 +975,11 @@ module Aws::Bedrock
|
|
970
975
|
#
|
971
976
|
class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure; end
|
972
977
|
|
973
|
-
# Contains the ARN of the Amazon Bedrock
|
974
|
-
# evaluation job. Each Amazon Bedrock model
|
975
|
-
# `inferenceParams`. To learn more about supported
|
976
|
-
# for Amazon Bedrock models, see [Inference
|
977
|
-
# models][
|
978
|
+
# Contains the ARN of the Amazon Bedrock model or [inference profile][1]
|
979
|
+
# specified in your model evaluation job. Each Amazon Bedrock model
|
980
|
+
# supports different `inferenceParams`. To learn more about supported
|
981
|
+
# inference parameters for Amazon Bedrock models, see [Inference
|
982
|
+
# parameters for foundation models][2].
|
978
983
|
#
|
979
984
|
# The `inferenceParams` are specified using JSON. To successfully insert
|
980
985
|
# JSON as string make sure that all quotations are properly escaped. For
|
@@ -984,10 +989,11 @@ module Aws::Bedrock
|
|
984
989
|
#
|
985
990
|
#
|
986
991
|
#
|
987
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
992
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
993
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html
|
988
994
|
#
|
989
995
|
# @!attribute [rw] model_identifier
|
990
|
-
# The ARN of the Amazon Bedrock model specified.
|
996
|
+
# The ARN of the Amazon Bedrock model or inference profile specified.
|
991
997
|
# @return [String]
|
992
998
|
#
|
993
999
|
# @!attribute [rw] inference_params
|
@@ -1146,8 +1152,8 @@ module Aws::Bedrock
|
|
1146
1152
|
# @note EvaluationModelConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationModelConfig corresponding to the set member.
|
1147
1153
|
#
|
1148
1154
|
# @!attribute [rw] bedrock_model
|
1149
|
-
# Defines the Amazon Bedrock model
|
1150
|
-
# used.
|
1155
|
+
# Defines the Amazon Bedrock model or inference profile and inference
|
1156
|
+
# parameters you want used.
|
1151
1157
|
# @return [Types::EvaluationBedrockModel]
|
1152
1158
|
#
|
1153
1159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationModelConfig AWS API Documentation
|
data/lib/aws-sdk-bedrock.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:bedrock)
|
15
|
+
|
14
16
|
# This module provides support for Amazon Bedrock. This module is available in the
|
15
17
|
# `aws-sdk-bedrock` gem.
|
16
18
|
#
|
@@ -53,7 +55,7 @@ module Aws::Bedrock
|
|
53
55
|
autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
|
54
56
|
autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.24.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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-09-
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|