aws-sdk-bedrock 1.90.0 → 1.92.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: 5b967fac2c256c6842fcdb69149753cd464e6c9deffe5dfa3b1457c32c074203
4
- data.tar.gz: b23be20fcc7b994a7abfb4cfa273fd0527640f60b4dc1016ade2f3c8e98254a0
3
+ metadata.gz: '09236ae23b9d21c9b370e5e2f541cfc01b824b79266866ffd5a02777567f053a'
4
+ data.tar.gz: a0a32766c945ba844021b84cf184c138d7ac03d9eff14ff2d25698154b985511
5
5
  SHA512:
6
- metadata.gz: bc09b57af163c909aa0af30eb1727a57c879085b41b26bb2287b753f69ddd8e441dfa0d52abf9161c62901d5f15b603d7e3533d981cc37accf081e00c636c307
7
- data.tar.gz: 8385b08a0064c8310f994083976420d61c6809956143eb4c876c3fc2e5d639a696ce78ddab8269fd208eb7d967a22e7921645eab740c3c82afa3b38f270814a6
6
+ metadata.gz: 6654d876f47e8d39772beecc7c6544c0aab0fd1f0f60bf349e06cbfb62768f090dd3b87940abc56402c78b9167474464e3f14dca67c5249dbad5f003059126b1
7
+ data.tar.gz: a6b2f2e1d8aab97d6dfe3449815588912721e25acbdf069c9ed7a149428a59e2b4b7f6ea18eadc37ed7fab51ee49815824bd4fe5b0d8e97bf4def4763774cbec
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2026-09-04)
5
+ ------------------
6
+
7
+ * Feature - New AWS REVIEW mode as supported data retention mode for Bedrock models
8
+
9
+ 1.91.0 (2026-08-24)
10
+ ------------------
11
+
12
+ * Feature - Adds support for specifying an inference profile ID or ARN, or an application inference profile ARN as the target model in CreateAdvancedPromptOptimizationJob.
13
+
4
14
  1.90.0 (2026-07-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.90.0
1
+ 1.92.0
@@ -674,7 +674,7 @@ module Aws::Bedrock
674
674
  # ],
675
675
  # model_configurations: [ # required
676
676
  # {
677
- # model_id: "BedrockModelId", # required
677
+ # model_id: "AdvancedPromptOptimizationModelIdentifier", # required
678
678
  # inference_config: {
679
679
  # max_tokens: 1,
680
680
  # temperature: 1.0,
@@ -3438,7 +3438,7 @@ module Aws::Bedrock
3438
3438
  #
3439
3439
  # @example Response structure
3440
3440
  #
3441
- # resp.mode #=> String, one of "default", "none", "provider_data_share", "inherit"
3441
+ # resp.mode #=> String, one of "default", "none", "aws_review", "provider_data_share", "inherit"
3442
3442
  # resp.updated_at #=> Time
3443
3443
  #
3444
3444
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAccountDataRetention AWS API Documentation
@@ -7061,12 +7061,12 @@ module Aws::Bedrock
7061
7061
  # @example Request syntax with placeholder values
7062
7062
  #
7063
7063
  # resp = client.put_account_data_retention({
7064
- # mode: "default", # required, accepts default, none, provider_data_share, inherit
7064
+ # mode: "default", # required, accepts default, none, aws_review, provider_data_share, inherit
7065
7065
  # })
7066
7066
  #
7067
7067
  # @example Response structure
7068
7068
  #
7069
- # resp.mode #=> String, one of "default", "none", "provider_data_share", "inherit"
7069
+ # resp.mode #=> String, one of "default", "none", "aws_review", "provider_data_share", "inherit"
7070
7070
  # resp.updated_at #=> Time
7071
7071
  #
7072
7072
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutAccountDataRetention AWS API Documentation
@@ -8346,7 +8346,7 @@ module Aws::Bedrock
8346
8346
  tracer: tracer
8347
8347
  )
8348
8348
  context[:gem_name] = 'aws-sdk-bedrock'
8349
- context[:gem_version] = '1.90.0'
8349
+ context[:gem_version] = '1.92.0'
8350
8350
  Seahorse::Client::Request.new(handlers, context)
8351
8351
  end
8352
8352
 
@@ -34,6 +34,7 @@ module Aws::Bedrock
34
34
  AdvancedPromptOptimizationJobStatus = Shapes::StringShape.new(name: 'AdvancedPromptOptimizationJobStatus')
35
35
  AdvancedPromptOptimizationJobSummaries = Shapes::ListShape.new(name: 'AdvancedPromptOptimizationJobSummaries')
36
36
  AdvancedPromptOptimizationJobSummary = Shapes::StructureShape.new(name: 'AdvancedPromptOptimizationJobSummary')
37
+ AdvancedPromptOptimizationModelIdentifier = Shapes::StringShape.new(name: 'AdvancedPromptOptimizationModelIdentifier')
37
38
  AdvancedPromptOptimizationOutputConfig = Shapes::StructureShape.new(name: 'AdvancedPromptOptimizationOutputConfig')
38
39
  AgreementAvailability = Shapes::StructureShape.new(name: 'AgreementAvailability')
39
40
  AgreementStatus = Shapes::StringShape.new(name: 'AgreementStatus')
@@ -3231,7 +3232,7 @@ module Aws::Bedrock
3231
3232
  MetadataConfigurationForReranking.add_member(:selective_mode_configuration, Shapes::ShapeRef.new(shape: RerankingMetadataSelectiveModeConfiguration, location_name: "selectiveModeConfiguration"))
3232
3233
  MetadataConfigurationForReranking.struct_class = Types::MetadataConfigurationForReranking
3233
3234
 
3234
- ModelConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
3235
+ ModelConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape: AdvancedPromptOptimizationModelIdentifier, required: true, location_name: "modelId"))
3235
3236
  ModelConfiguration.add_member(:inference_config, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfig"))
3236
3237
  ModelConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
3237
3238
  ModelConfiguration.struct_class = Types::ModelConfiguration
@@ -11659,7 +11659,25 @@ module Aws::Bedrock
11659
11659
  # optimization job, including the model ID and inference parameters.
11660
11660
  #
11661
11661
  # @!attribute [rw] model_id
11662
- # The ID of the model to use for optimization.
11662
+ # The model to use for optimization. The value depends on the resource
11663
+ # that you use:
11664
+ #
11665
+ # * If you use a base model, specify the model ID or its ARN. For a
11666
+ # list of model IDs, see [Models at a glance][1] in the Amazon
11667
+ # Bedrock User Guide.
11668
+ #
11669
+ # * If you use a cross-Region (system-defined) inference profile,
11670
+ # specify the inference profile ID or its ARN. For a list of
11671
+ # inference profile IDs, see [Supported Regions and models for
11672
+ # inference profiles][2] in the Amazon Bedrock User Guide.
11673
+ #
11674
+ # * If you use an application inference profile, specify its full ARN,
11675
+ # including the account ID and Region.
11676
+ #
11677
+ #
11678
+ #
11679
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-cards.html
11680
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html
11663
11681
  # @return [String]
11664
11682
  #
11665
11683
  # @!attribute [rw] inference_config
@@ -13070,7 +13088,7 @@ module Aws::Bedrock
13070
13088
  #
13071
13089
  # The following example would return data sources with an animals
13072
13090
  # attribute that is a list containing a cat member (for example,
13073
- # `["dog", "cat"]`): `"listContains": { "key": "animals", "value":
13091
+ # `["dog", "cat"] `): `"listContains": { "key": "animals", "value":
13074
13092
  # "cat" }`
13075
13093
  # @return [Types::FilterAttribute]
13076
13094
  #
@@ -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.90.0'
58
+ GEM_VERSION = '1.92.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -926,7 +926,7 @@ module Aws
926
926
 
927
927
  interface _GetAccountDataRetentionResponseSuccess
928
928
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountDataRetentionResponse]
929
- def mode: () -> ("default" | "none" | "provider_data_share" | "inherit")
929
+ def mode: () -> ("default" | "none" | "aws_review" | "provider_data_share" | "inherit")
930
930
  def updated_at: () -> ::Time
931
931
  end
932
932
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_account_data_retention-instance_method
@@ -1734,12 +1734,12 @@ module Aws
1734
1734
 
1735
1735
  interface _PutAccountDataRetentionResponseSuccess
1736
1736
  include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountDataRetentionResponse]
1737
- def mode: () -> ("default" | "none" | "provider_data_share" | "inherit")
1737
+ def mode: () -> ("default" | "none" | "aws_review" | "provider_data_share" | "inherit")
1738
1738
  def updated_at: () -> ::Time
1739
1739
  end
1740
1740
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_account_data_retention-instance_method
1741
1741
  def put_account_data_retention: (
1742
- mode: ("default" | "none" | "provider_data_share" | "inherit")
1742
+ mode: ("default" | "none" | "aws_review" | "provider_data_share" | "inherit")
1743
1743
  ) -> _PutAccountDataRetentionResponseSuccess
1744
1744
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountDataRetentionResponseSuccess
1745
1745
 
data/sig/types.rbs CHANGED
@@ -1684,7 +1684,7 @@ module Aws::Bedrock
1684
1684
  end
1685
1685
 
1686
1686
  class GetAccountDataRetentionResponse
1687
- attr_accessor mode: ("default" | "none" | "provider_data_share" | "inherit")
1687
+ attr_accessor mode: ("default" | "none" | "aws_review" | "provider_data_share" | "inherit")
1688
1688
  attr_accessor updated_at: ::Time
1689
1689
  SENSITIVE: []
1690
1690
  end
@@ -3155,12 +3155,12 @@ module Aws::Bedrock
3155
3155
  end
3156
3156
 
3157
3157
  class PutAccountDataRetentionRequest
3158
- attr_accessor mode: ("default" | "none" | "provider_data_share" | "inherit")
3158
+ attr_accessor mode: ("default" | "none" | "aws_review" | "provider_data_share" | "inherit")
3159
3159
  SENSITIVE: []
3160
3160
  end
3161
3161
 
3162
3162
  class PutAccountDataRetentionResponse
3163
- attr_accessor mode: ("default" | "none" | "provider_data_share" | "inherit")
3163
+ attr_accessor mode: ("default" | "none" | "aws_review" | "provider_data_share" | "inherit")
3164
3164
  attr_accessor updated_at: ::Time
3165
3165
  SENSITIVE: []
3166
3166
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.90.0
4
+ version: 1.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services