aws-sdk-bedrock 1.32.0 → 1.33.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1965cf57435038e212a92f05af9c84d609ec6ba74798652c67bfc6041d9faf2
4
- data.tar.gz: 9919a5e74bfd073c3eb9f1098784619e6556875bcbc8a043e74de083a813b2d3
3
+ metadata.gz: 418f3a75dfac5bdc9207f01099f97bfe0fd8092c9a9e87719be1afde5d95c99a
4
+ data.tar.gz: eade76425ddc80094752736f5e7a784212923a160d39ec0917fae3a49d4ad334
5
5
  SHA512:
6
- metadata.gz: edfe744b4d287b3efe2fda3cfcd8e0e27687d7bd866c4ba17fc5830eb821b0d90626e5ddb01ce0144ff672b908705a759f3e326d23b7339edff350572e46f8b6
7
- data.tar.gz: 2c4ab45626fbcef3fdd69289d9b5d5b3a8c3ffc184ca5b11fc08f4dd26585e244445a6a033fcdf4a14b32c1ef73de86e104e400e2c164d9922c48ef5b9c3130c
6
+ metadata.gz: 3ca8d032e4566772d7b21d92370276dbc0f24688618b2d1cdbe12002f7a3b7bf42ab4ed0c1af86224e88c67fa4782a5e378e088a29cceeb35a04b9fc33700ffd
7
+ data.tar.gz: 561f8cc7c9aca3b860d9591cebd6dd4b52ab4bbaa5e7e5d625e45bba8a175ba6737f4d41908220b08447a79f1639d13efd5b811f1fdb385d8a21ef4896f0a290
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2025-01-13)
5
+ ------------------
6
+
7
+ * Feature - With this release, Bedrock Evaluation will now support latency-optimized inference for foundation models.
8
+
4
9
  1.32.0 (2024-12-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.33.0
@@ -622,6 +622,9 @@ module Aws::Bedrock
622
622
  # bedrock_model: {
623
623
  # model_identifier: "EvaluationModelIdentifier", # required
624
624
  # inference_params: "EvaluationModelInferenceParams",
625
+ # performance_config: {
626
+ # latency: "standard", # accepts standard, optimized
627
+ # },
625
628
  # },
626
629
  # },
627
630
  # ],
@@ -2221,6 +2224,7 @@ module Aws::Bedrock
2221
2224
  # resp.inference_config.models #=> Array
2222
2225
  # resp.inference_config.models[0].bedrock_model.model_identifier #=> String
2223
2226
  # resp.inference_config.models[0].bedrock_model.inference_params #=> String
2227
+ # resp.inference_config.models[0].bedrock_model.performance_config.latency #=> String, one of "standard", "optimized"
2224
2228
  # resp.inference_config.rag_configs #=> Array
2225
2229
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_id #=> String
2226
2230
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.number_of_results #=> Integer
@@ -4633,7 +4637,7 @@ module Aws::Bedrock
4633
4637
  tracer: tracer
4634
4638
  )
4635
4639
  context[:gem_name] = 'aws-sdk-bedrock'
4636
- context[:gem_version] = '1.32.0'
4640
+ context[:gem_version] = '1.33.0'
4637
4641
  Seahorse::Client::Request.new(handlers, context)
4638
4642
  end
4639
4643
 
@@ -370,6 +370,8 @@ module Aws::Bedrock
370
370
  OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
371
371
  OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
372
372
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
373
+ PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
374
+ PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
373
375
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
374
376
  PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
375
377
  PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
@@ -731,6 +733,7 @@ module Aws::Bedrock
731
733
 
732
734
  EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier"))
733
735
  EvaluationBedrockModel.add_member(:inference_params, Shapes::ShapeRef.new(shape: EvaluationModelInferenceParams, location_name: "inferenceParams"))
736
+ EvaluationBedrockModel.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
734
737
  EvaluationBedrockModel.struct_class = Types::EvaluationBedrockModel
735
738
 
736
739
  EvaluationConfig.add_member(:automated, Shapes::ShapeRef.new(shape: AutomatedEvaluationConfig, location_name: "automated"))
@@ -1626,6 +1629,9 @@ module Aws::Bedrock
1626
1629
  OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
1627
1630
  OutputDataConfig.struct_class = Types::OutputDataConfig
1628
1631
 
1632
+ PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
1633
+ PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
1634
+
1629
1635
  PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
1630
1636
 
1631
1637
  PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
@@ -1303,11 +1303,16 @@ module Aws::Bedrock
1303
1303
  # change how the model behaves during inference.
1304
1304
  # @return [String]
1305
1305
  #
1306
+ # @!attribute [rw] performance_config
1307
+ # Specifies performance settings for the model or inference profile.
1308
+ # @return [Types::PerformanceConfiguration]
1309
+ #
1306
1310
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationBedrockModel AWS API Documentation
1307
1311
  #
1308
1312
  class EvaluationBedrockModel < Struct.new(
1309
1313
  :model_identifier,
1310
- :inference_params)
1314
+ :inference_params,
1315
+ :performance_config)
1311
1316
  SENSITIVE = [:inference_params]
1312
1317
  include Aws::Structure
1313
1318
  end
@@ -5978,6 +5983,21 @@ module Aws::Bedrock
5978
5983
  include Aws::Structure
5979
5984
  end
5980
5985
 
5986
+ # Contains performance settings for a model.
5987
+ #
5988
+ # @!attribute [rw] latency
5989
+ # Specifies whether to use the latency-optimized or standard version
5990
+ # of a model or inference profile.
5991
+ # @return [String]
5992
+ #
5993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PerformanceConfiguration AWS API Documentation
5994
+ #
5995
+ class PerformanceConfiguration < Struct.new(
5996
+ :latency)
5997
+ SENSITIVE = []
5998
+ include Aws::Structure
5999
+ end
6000
+
5981
6001
  # Details about a prompt router.
5982
6002
  #
5983
6003
  # @!attribute [rw] prompt_router_name
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.32.0'
58
+ GEM_VERSION = '1.33.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -157,7 +157,10 @@ module Aws
157
157
  {
158
158
  bedrock_model: {
159
159
  model_identifier: ::String,
160
- inference_params: ::String?
160
+ inference_params: ::String?,
161
+ performance_config: {
162
+ latency: ("standard" | "optimized")?
163
+ }?
161
164
  }?
162
165
  },
163
166
  ]?,
data/sig/types.rbs CHANGED
@@ -346,6 +346,7 @@ module Aws::Bedrock
346
346
  class EvaluationBedrockModel
347
347
  attr_accessor model_identifier: ::String
348
348
  attr_accessor inference_params: ::String
349
+ attr_accessor performance_config: Types::PerformanceConfiguration
349
350
  SENSITIVE: [:inference_params]
350
351
  end
351
352
 
@@ -1448,6 +1449,11 @@ module Aws::Bedrock
1448
1449
  SENSITIVE: []
1449
1450
  end
1450
1451
 
1452
+ class PerformanceConfiguration
1453
+ attr_accessor latency: ("standard" | "optimized")
1454
+ SENSITIVE: []
1455
+ end
1456
+
1451
1457
  class PromptRouterSummary
1452
1458
  attr_accessor prompt_router_name: ::String
1453
1459
  attr_accessor routing_criteria: Types::RoutingCriteria
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.32.0
4
+ version: 1.33.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-12-04 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core