aws-sdk-bedrock 1.61.0 → 1.63.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: 5ab22adc08c7ca3ae2aa5125b331588d83c390196872d7f6a2a1be26d95cc55f
4
- data.tar.gz: 9e91945f4e230e7ee18c82d1f6bbb074e8e53c65167c0a0794e5c2f40929ac2e
3
+ metadata.gz: 3e3dc6dcf0de53c63edc8cb9a77af3a7acae72ca4399624c8c145155d1269aa3
4
+ data.tar.gz: 6a97cd99bc3757dccc91e57f0a26fe4ada897bd24cc90aee47d160f6cb3c60b3
5
5
  SHA512:
6
- metadata.gz: c722eba28bce0e7b12d9503c5f973a7fb2f7a080efec324eac13850fee8eb33132bb520cae9baec40a373ae6929a8a7df71812790a24dedcffe24562f693c377
7
- data.tar.gz: 2b5d99aedb1018d0c41fc189f73a4542dcc64ac4cf3e683eecf4a896d59f2e708bf02f9ff38f6ae633aae56a0af1974e58bbd65f06006043493fb4b33995f053
6
+ metadata.gz: 82ba5f1e5b1fd0de41c0a17889a627439bd179008dd5ca9fde0684c95f2c7da4c9f82c10a24f9a46b40cb02e53534be834f7344d2c8b02638d7a502d88e051db
7
+ data.tar.gz: af2b36e4995136f5d99fee5a4ae8e029074230994bce65e699f8cd8b52567326bcd8dd770876906fbcba00d4d312d3d65aa13f223ad5b4925ee71e51f9cb6890
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2025-09-29)
5
+ ------------------
6
+
7
+ * Feature - Release for fixing GetFoundationModel API behavior. Imported and custom models have their own exclusive API and GetFM should not accept those ARNS as input
8
+
9
+ 1.62.0 (2025-09-18)
10
+ ------------------
11
+
12
+ * Feature - Release includes an increase to the maximum policy build document size, an update to DeleteAutomatedReasoningPolicyBuildWorkflow to add ResourceInUseException, and corrections to UpdateAutomatedReasoningPolicyTestCaseRequest.
13
+
4
14
  1.61.0 (2025-08-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.63.0
@@ -4108,7 +4108,7 @@ module Aws::Bedrock
4108
4108
  # @example Request syntax with placeholder values
4109
4109
  #
4110
4110
  # resp = client.get_foundation_model({
4111
- # model_identifier: "ModelIdentifier", # required
4111
+ # model_identifier: "GetFoundationModelIdentifier", # required
4112
4112
  # })
4113
4113
  #
4114
4114
  # @example Response structure
@@ -7211,10 +7211,6 @@ module Aws::Bedrock
7211
7211
  # The updated minimum confidence level for logic validation. If null is
7212
7212
  # provided, the threshold will be removed.
7213
7213
  #
7214
- # @option params [String] :kms_key_arn
7215
- # The KMS key ARN for encrypting the test at rest. If not provided, the
7216
- # key will not be updated. Use `DISCARD` to remove the key.
7217
- #
7218
7214
  # @option params [String] :client_request_token
7219
7215
  # A unique, case-sensitive identifier to ensure that the operation
7220
7216
  # completes no more than one time. If this token matches a previous
@@ -7239,7 +7235,6 @@ module Aws::Bedrock
7239
7235
  # last_updated_at: Time.now, # required
7240
7236
  # expected_aggregated_findings_result: "VALID", # required, accepts VALID, INVALID, SATISFIABLE, IMPOSSIBLE, TRANSLATION_AMBIGUOUS, TOO_COMPLEX, NO_TRANSLATION
7241
7237
  # confidence_threshold: 1.0,
7242
- # kms_key_arn: "KmsKeyArn",
7243
7238
  # client_request_token: "IdempotencyToken",
7244
7239
  # })
7245
7240
  #
@@ -7614,7 +7609,7 @@ module Aws::Bedrock
7614
7609
  tracer: tracer
7615
7610
  )
7616
7611
  context[:gem_name] = 'aws-sdk-bedrock'
7617
- context[:gem_version] = '1.61.0'
7612
+ context[:gem_version] = '1.63.0'
7618
7613
  Seahorse::Client::Request.new(handlers, context)
7619
7614
  end
7620
7615
 
@@ -74,6 +74,7 @@ module Aws::Bedrock
74
74
  AutomatedReasoningPolicyAnnotationRuleNaturalLanguage = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyAnnotationRuleNaturalLanguage')
75
75
  AutomatedReasoningPolicyAnnotationStatus = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyAnnotationStatus')
76
76
  AutomatedReasoningPolicyArn = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyArn')
77
+ AutomatedReasoningPolicyBuildDocumentBlob = Shapes::BlobShape.new(name: 'AutomatedReasoningPolicyBuildDocumentBlob')
77
78
  AutomatedReasoningPolicyBuildDocumentContentType = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentContentType')
78
79
  AutomatedReasoningPolicyBuildDocumentDescription = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentDescription')
79
80
  AutomatedReasoningPolicyBuildDocumentName = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentName')
@@ -89,7 +90,6 @@ module Aws::Bedrock
89
90
  AutomatedReasoningPolicyBuildStepMessage = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildStepMessage')
90
91
  AutomatedReasoningPolicyBuildStepMessageList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyBuildStepMessageList')
91
92
  AutomatedReasoningPolicyBuildWorkflowDocument = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildWorkflowDocument')
92
- AutomatedReasoningPolicyBuildWorkflowDocumentDocumentBlob = Shapes::BlobShape.new(name: 'AutomatedReasoningPolicyBuildWorkflowDocumentDocumentBlob')
93
93
  AutomatedReasoningPolicyBuildWorkflowDocumentList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyBuildWorkflowDocumentList')
94
94
  AutomatedReasoningPolicyBuildWorkflowId = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildWorkflowId')
95
95
  AutomatedReasoningPolicyBuildWorkflowRepairContent = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildWorkflowRepairContent')
@@ -370,6 +370,7 @@ module Aws::Bedrock
370
370
  GetEvaluationJobResponse = Shapes::StructureShape.new(name: 'GetEvaluationJobResponse')
371
371
  GetFoundationModelAvailabilityRequest = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityRequest')
372
372
  GetFoundationModelAvailabilityResponse = Shapes::StructureShape.new(name: 'GetFoundationModelAvailabilityResponse')
373
+ GetFoundationModelIdentifier = Shapes::StringShape.new(name: 'GetFoundationModelIdentifier')
373
374
  GetFoundationModelRequest = Shapes::StructureShape.new(name: 'GetFoundationModelRequest')
374
375
  GetFoundationModelResponse = Shapes::StructureShape.new(name: 'GetFoundationModelResponse')
375
376
  GetGuardrailRequest = Shapes::StructureShape.new(name: 'GetGuardrailRequest')
@@ -1010,7 +1011,7 @@ module Aws::Bedrock
1010
1011
 
1011
1012
  AutomatedReasoningPolicyBuildStepMessageList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildStepMessage)
1012
1013
 
1013
- AutomatedReasoningPolicyBuildWorkflowDocument.add_member(:document, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowDocumentDocumentBlob, required: true, location_name: "document"))
1014
+ AutomatedReasoningPolicyBuildWorkflowDocument.add_member(:document, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildDocumentBlob, required: true, location_name: "document"))
1014
1015
  AutomatedReasoningPolicyBuildWorkflowDocument.add_member(:document_content_type, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildDocumentContentType, required: true, location_name: "documentContentType"))
1015
1016
  AutomatedReasoningPolicyBuildWorkflowDocument.add_member(:document_name, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildDocumentName, required: true, location_name: "documentName"))
1016
1017
  AutomatedReasoningPolicyBuildWorkflowDocument.add_member(:document_description, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildDocumentDescription, location_name: "documentDescription"))
@@ -1988,7 +1989,7 @@ module Aws::Bedrock
1988
1989
  GetFoundationModelAvailabilityResponse.add_member(:region_availability, Shapes::ShapeRef.new(shape: RegionAvailability, required: true, location_name: "regionAvailability"))
1989
1990
  GetFoundationModelAvailabilityResponse.struct_class = Types::GetFoundationModelAvailabilityResponse
1990
1991
 
1991
- GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
1992
+ GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: GetFoundationModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
1992
1993
  GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
1993
1994
 
1994
1995
  GetFoundationModelResponse.add_member(:model_details, Shapes::ShapeRef.new(shape: FoundationModelDetails, location_name: "modelDetails"))
@@ -3226,7 +3227,6 @@ module Aws::Bedrock
3226
3227
  UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedAt"))
3227
3228
  UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:expected_aggregated_findings_result, Shapes::ShapeRef.new(shape: AutomatedReasoningCheckResult, required: true, location_name: "expectedAggregatedFindingsResult"))
3228
3229
  UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:confidence_threshold, Shapes::ShapeRef.new(shape: AutomatedReasoningCheckTranslationConfidence, location_name: "confidenceThreshold"))
3229
- UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
3230
3230
  UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
3231
3231
  UpdateAutomatedReasoningPolicyTestCaseRequest.struct_class = Types::UpdateAutomatedReasoningPolicyTestCaseRequest
3232
3232
 
@@ -3640,6 +3640,7 @@ module Aws::Bedrock
3640
3640
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3641
3641
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3642
3642
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3643
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3643
3644
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3644
3645
  end)
3645
3646
 
@@ -979,7 +979,7 @@ module Aws::Bedrock
979
979
  :document_content_type,
980
980
  :document_name,
981
981
  :document_description)
982
- SENSITIVE = [:document_name, :document_description]
982
+ SENSITIVE = [:document, :document_name, :document_description]
983
983
  include Aws::Structure
984
984
  end
985
985
 
@@ -12245,11 +12245,6 @@ module Aws::Bedrock
12245
12245
  # is provided, the threshold will be removed.
12246
12246
  # @return [Float]
12247
12247
  #
12248
- # @!attribute [rw] kms_key_arn
12249
- # The KMS key ARN for encrypting the test at rest. If not provided,
12250
- # the key will not be updated. Use `DISCARD` to remove the key.
12251
- # @return [String]
12252
- #
12253
12248
  # @!attribute [rw] client_request_token
12254
12249
  # A unique, case-sensitive identifier to ensure that the operation
12255
12250
  # completes no more than one time. If this token matches a previous
@@ -12270,7 +12265,6 @@ module Aws::Bedrock
12270
12265
  :last_updated_at,
12271
12266
  :expected_aggregated_findings_result,
12272
12267
  :confidence_threshold,
12273
- :kms_key_arn,
12274
12268
  :client_request_token)
12275
12269
  SENSITIVE = [:guard_content, :query_content]
12276
12270
  include Aws::Structure
@@ -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.61.0'
58
+ GEM_VERSION = '1.63.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -2322,7 +2322,6 @@ module Aws
2322
2322
  last_updated_at: ::Time,
2323
2323
  expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION"),
2324
2324
  ?confidence_threshold: ::Float,
2325
- ?kms_key_arn: ::String,
2326
2325
  ?client_request_token: ::String
2327
2326
  ) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
2328
2327
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
data/sig/types.rbs CHANGED
@@ -310,7 +310,7 @@ module Aws::Bedrock
310
310
  attr_accessor document_content_type: ("pdf" | "txt")
311
311
  attr_accessor document_name: ::String
312
312
  attr_accessor document_description: ::String
313
- SENSITIVE: [:document_name, :document_description]
313
+ SENSITIVE: [:document, :document_name, :document_description]
314
314
  end
315
315
 
316
316
  class AutomatedReasoningPolicyBuildWorkflowRepairContent
@@ -3147,7 +3147,6 @@ module Aws::Bedrock
3147
3147
  attr_accessor last_updated_at: ::Time
3148
3148
  attr_accessor expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION")
3149
3149
  attr_accessor confidence_threshold: ::Float
3150
- attr_accessor kms_key_arn: ::String
3151
3150
  attr_accessor client_request_token: ::String
3152
3151
  SENSITIVE: [:guard_content, :query_content]
3153
3152
  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.61.0
4
+ version: 1.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services