aws-sdk-bedrock 1.63.0 → 1.64.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +20 -1
- data/lib/aws-sdk-bedrock/client_api.rb +5 -0
- data/lib/aws-sdk-bedrock/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-bedrock/types.rb +29 -1
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b41e06532c6b8a6b6e9611cc5f18dc9a9a6599eabba47d8567e58e86eb5a3ccf
|
4
|
+
data.tar.gz: 766113085c768082db9d89a86fbeae3d09ea1fa9fff08f1601d2814cb41cbc38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e213104fc1b7fcd43627a50fb1913f321597fcda0ac0bb380b820f80c377560066b20c26d8bdc4c9dc64f9c616cd29d5550dfbe2caf2ce84320b2a637fdc25
|
7
|
+
data.tar.gz: 812a676cb59bfc8a2f699f5abb7337165053e40f2eaf60db775b6913ab07d365351cecf2f8f5bce7ef9da50bd67c45405a9a59a7fe00d3d2c7618f6872a1dcda
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2025-10-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Bedrock Automated Reasoning Policy now offers enhanced AWS KMS integration. The CreateAutomatedReasoningPolicy API includes a new kmsKeyId field, allowing customers to specify their preferred KMS key for encryption, improving control and compliance with AWS encryption mandates.
|
8
|
+
|
4
9
|
1.63.0 (2025-09-29)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -610,6 +610,13 @@ module Aws::Bedrock
|
|
610
610
|
# and custom variable types used to validate foundation model responses
|
611
611
|
# in your application.
|
612
612
|
#
|
613
|
+
# @option params [String] :kms_key_id
|
614
|
+
# The identifier of the KMS key to use for encrypting the automated
|
615
|
+
# reasoning policy and its associated artifacts. If you don't specify a
|
616
|
+
# KMS key, Amazon Bedrock uses an KMS managed key for encryption. For
|
617
|
+
# enhanced security and control, you can specify a customer managed KMS
|
618
|
+
# key.
|
619
|
+
#
|
613
620
|
# @option params [Array<Types::Tag>] :tags
|
614
621
|
# A list of tags to associate with the Automated Reasoning policy. Tags
|
615
622
|
# help you organize and manage your policies.
|
@@ -659,6 +666,7 @@ module Aws::Bedrock
|
|
659
666
|
# },
|
660
667
|
# ],
|
661
668
|
# },
|
669
|
+
# kms_key_id: "KmsKeyId",
|
662
670
|
# tags: [
|
663
671
|
# {
|
664
672
|
# key: "TagKey", # required
|
@@ -2770,12 +2778,21 @@ module Aws::Bedrock
|
|
2770
2778
|
# The Amazon Resource Name (ARN) of the Automated Reasoning policy to
|
2771
2779
|
# delete.
|
2772
2780
|
#
|
2781
|
+
# @option params [Boolean] :force
|
2782
|
+
# Specifies whether to force delete the automated reasoning policy even
|
2783
|
+
# if it has active resources. When `false`, Amazon Bedrock validates if
|
2784
|
+
# all artifacts have been deleted (e.g. policy version, test case, test
|
2785
|
+
# result) for a policy before deletion. When `true`, Amazon Bedrock will
|
2786
|
+
# delete the policy and all its artifacts without validation. Default is
|
2787
|
+
# `false`.
|
2788
|
+
#
|
2773
2789
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2774
2790
|
#
|
2775
2791
|
# @example Request syntax with placeholder values
|
2776
2792
|
#
|
2777
2793
|
# resp = client.delete_automated_reasoning_policy({
|
2778
2794
|
# policy_arn: "AutomatedReasoningPolicyArn", # required
|
2795
|
+
# force: false,
|
2779
2796
|
# })
|
2780
2797
|
#
|
2781
2798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteAutomatedReasoningPolicy AWS API Documentation
|
@@ -3210,6 +3227,7 @@ module Aws::Bedrock
|
|
3210
3227
|
# * {Types::GetAutomatedReasoningPolicyResponse#policy_id #policy_id} => String
|
3211
3228
|
# * {Types::GetAutomatedReasoningPolicyResponse#description #description} => String
|
3212
3229
|
# * {Types::GetAutomatedReasoningPolicyResponse#definition_hash #definition_hash} => String
|
3230
|
+
# * {Types::GetAutomatedReasoningPolicyResponse#kms_key_arn #kms_key_arn} => String
|
3213
3231
|
# * {Types::GetAutomatedReasoningPolicyResponse#created_at #created_at} => Time
|
3214
3232
|
# * {Types::GetAutomatedReasoningPolicyResponse#updated_at #updated_at} => Time
|
3215
3233
|
#
|
@@ -3227,6 +3245,7 @@ module Aws::Bedrock
|
|
3227
3245
|
# resp.policy_id #=> String
|
3228
3246
|
# resp.description #=> String
|
3229
3247
|
# resp.definition_hash #=> String
|
3248
|
+
# resp.kms_key_arn #=> String
|
3230
3249
|
# resp.created_at #=> Time
|
3231
3250
|
# resp.updated_at #=> Time
|
3232
3251
|
#
|
@@ -7609,7 +7628,7 @@ module Aws::Bedrock
|
|
7609
7628
|
tracer: tracer
|
7610
7629
|
)
|
7611
7630
|
context[:gem_name] = 'aws-sdk-bedrock'
|
7612
|
-
context[:gem_version] = '1.
|
7631
|
+
context[:gem_version] = '1.64.0'
|
7613
7632
|
Seahorse::Client::Request.new(handlers, context)
|
7614
7633
|
end
|
7615
7634
|
|
@@ -1306,6 +1306,7 @@ module Aws::Bedrock
|
|
1306
1306
|
CreateAutomatedReasoningPolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDescription, location_name: "description"))
|
1307
1307
|
CreateAutomatedReasoningPolicyRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
1308
1308
|
CreateAutomatedReasoningPolicyRequest.add_member(:policy_definition, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinition, location_name: "policyDefinition"))
|
1309
|
+
CreateAutomatedReasoningPolicyRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
1309
1310
|
CreateAutomatedReasoningPolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1310
1311
|
CreateAutomatedReasoningPolicyRequest.struct_class = Types::CreateAutomatedReasoningPolicyRequest
|
1311
1312
|
|
@@ -1580,6 +1581,7 @@ module Aws::Bedrock
|
|
1580
1581
|
DeleteAutomatedReasoningPolicyBuildWorkflowResponse.struct_class = Types::DeleteAutomatedReasoningPolicyBuildWorkflowResponse
|
1581
1582
|
|
1582
1583
|
DeleteAutomatedReasoningPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyArn, required: true, location: "uri", location_name: "policyArn"))
|
1584
|
+
DeleteAutomatedReasoningPolicyRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "force"))
|
1583
1585
|
DeleteAutomatedReasoningPolicyRequest.struct_class = Types::DeleteAutomatedReasoningPolicyRequest
|
1584
1586
|
|
1585
1587
|
DeleteAutomatedReasoningPolicyResponse.struct_class = Types::DeleteAutomatedReasoningPolicyResponse
|
@@ -1905,6 +1907,7 @@ module Aws::Bedrock
|
|
1905
1907
|
GetAutomatedReasoningPolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyId, required: true, location_name: "policyId"))
|
1906
1908
|
GetAutomatedReasoningPolicyResponse.add_member(:description, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDescription, location_name: "description"))
|
1907
1909
|
GetAutomatedReasoningPolicyResponse.add_member(:definition_hash, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyHash, required: true, location_name: "definitionHash"))
|
1910
|
+
GetAutomatedReasoningPolicyResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
1908
1911
|
GetAutomatedReasoningPolicyResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1909
1912
|
GetAutomatedReasoningPolicyResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
|
1910
1913
|
GetAutomatedReasoningPolicyResponse.struct_class = Types::GetAutomatedReasoningPolicyResponse
|
@@ -3625,7 +3628,9 @@ module Aws::Bedrock
|
|
3625
3628
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3626
3629
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3627
3630
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3631
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3628
3632
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3633
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
3629
3634
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3630
3635
|
end)
|
3631
3636
|
|
@@ -13,22 +13,22 @@ module Aws::Bedrock
|
|
13
13
|
# @!attribute region
|
14
14
|
# The AWS region used to dispatch the request.
|
15
15
|
#
|
16
|
-
# @return [
|
16
|
+
# @return [string]
|
17
17
|
#
|
18
18
|
# @!attribute use_dual_stack
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
20
|
#
|
21
|
-
# @return [
|
21
|
+
# @return [boolean]
|
22
22
|
#
|
23
23
|
# @!attribute use_fips
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
25
|
#
|
26
|
-
# @return [
|
26
|
+
# @return [boolean]
|
27
27
|
#
|
28
28
|
# @!attribute endpoint
|
29
29
|
# Override the endpoint used to send this request
|
30
30
|
#
|
31
|
-
# @return [
|
31
|
+
# @return [string]
|
32
32
|
#
|
33
33
|
EndpointParameters = Struct.new(
|
34
34
|
:region,
|
@@ -2201,6 +2201,14 @@ module Aws::Bedrock
|
|
2201
2201
|
# model responses in your application.
|
2202
2202
|
# @return [Types::AutomatedReasoningPolicyDefinition]
|
2203
2203
|
#
|
2204
|
+
# @!attribute [rw] kms_key_id
|
2205
|
+
# The identifier of the KMS key to use for encrypting the automated
|
2206
|
+
# reasoning policy and its associated artifacts. If you don't specify
|
2207
|
+
# a KMS key, Amazon Bedrock uses an KMS managed key for encryption.
|
2208
|
+
# For enhanced security and control, you can specify a customer
|
2209
|
+
# managed KMS key.
|
2210
|
+
# @return [String]
|
2211
|
+
#
|
2204
2212
|
# @!attribute [rw] tags
|
2205
2213
|
# A list of tags to associate with the Automated Reasoning policy.
|
2206
2214
|
# Tags help you organize and manage your policies.
|
@@ -2213,6 +2221,7 @@ module Aws::Bedrock
|
|
2213
2221
|
:description,
|
2214
2222
|
:client_request_token,
|
2215
2223
|
:policy_definition,
|
2224
|
+
:kms_key_id,
|
2216
2225
|
:tags)
|
2217
2226
|
SENSITIVE = [:name, :description]
|
2218
2227
|
include Aws::Structure
|
@@ -3854,10 +3863,20 @@ module Aws::Bedrock
|
|
3854
3863
|
# delete.
|
3855
3864
|
# @return [String]
|
3856
3865
|
#
|
3866
|
+
# @!attribute [rw] force
|
3867
|
+
# Specifies whether to force delete the automated reasoning policy
|
3868
|
+
# even if it has active resources. When `false`, Amazon Bedrock
|
3869
|
+
# validates if all artifacts have been deleted (e.g. policy version,
|
3870
|
+
# test case, test result) for a policy before deletion. When `true`,
|
3871
|
+
# Amazon Bedrock will delete the policy and all its artifacts without
|
3872
|
+
# validation. Default is `false`.
|
3873
|
+
# @return [Boolean]
|
3874
|
+
#
|
3857
3875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteAutomatedReasoningPolicyRequest AWS API Documentation
|
3858
3876
|
#
|
3859
3877
|
class DeleteAutomatedReasoningPolicyRequest < Struct.new(
|
3860
|
-
:policy_arn
|
3878
|
+
:policy_arn,
|
3879
|
+
:force)
|
3861
3880
|
SENSITIVE = []
|
3862
3881
|
include Aws::Structure
|
3863
3882
|
end
|
@@ -5251,6 +5270,14 @@ module Aws::Bedrock
|
|
5251
5270
|
# The hash of the policy definition used as a concurrency token.
|
5252
5271
|
# @return [String]
|
5253
5272
|
#
|
5273
|
+
# @!attribute [rw] kms_key_arn
|
5274
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
5275
|
+
# automated reasoning policy and its associated artifacts. If a KMS
|
5276
|
+
# key is not provided during the initial
|
5277
|
+
# CreateAutomatedReasoningPolicyRequest, the kmsKeyArn won't be
|
5278
|
+
# included in the GetAutomatedReasoningPolicyResponse.
|
5279
|
+
# @return [String]
|
5280
|
+
#
|
5254
5281
|
# @!attribute [rw] created_at
|
5255
5282
|
# The timestamp when the policy was created.
|
5256
5283
|
# @return [Time]
|
@@ -5268,6 +5295,7 @@ module Aws::Bedrock
|
|
5268
5295
|
:policy_id,
|
5269
5296
|
:description,
|
5270
5297
|
:definition_hash,
|
5298
|
+
:kms_key_arn,
|
5271
5299
|
:created_at,
|
5272
5300
|
:updated_at)
|
5273
5301
|
SENSITIVE = [:name, :description]
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -143,6 +143,7 @@ module Aws
|
|
143
143
|
},
|
144
144
|
]?
|
145
145
|
},
|
146
|
+
?kms_key_id: ::String,
|
146
147
|
?tags: Array[
|
147
148
|
{
|
148
149
|
key: ::String,
|
@@ -1060,7 +1061,8 @@ module Aws
|
|
1060
1061
|
end
|
1061
1062
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_automated_reasoning_policy-instance_method
|
1062
1063
|
def delete_automated_reasoning_policy: (
|
1063
|
-
policy_arn: ::String
|
1064
|
+
policy_arn: ::String,
|
1065
|
+
?force: bool
|
1064
1066
|
) -> _DeleteAutomatedReasoningPolicyResponseSuccess
|
1065
1067
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAutomatedReasoningPolicyResponseSuccess
|
1066
1068
|
|
@@ -1203,6 +1205,7 @@ module Aws
|
|
1203
1205
|
def policy_id: () -> ::String
|
1204
1206
|
def description: () -> ::String
|
1205
1207
|
def definition_hash: () -> ::String
|
1208
|
+
def kms_key_arn: () -> ::String
|
1206
1209
|
def created_at: () -> ::Time
|
1207
1210
|
def updated_at: () -> ::Time
|
1208
1211
|
end
|
data/sig/types.rbs
CHANGED
@@ -678,6 +678,7 @@ module Aws::Bedrock
|
|
678
678
|
attr_accessor description: ::String
|
679
679
|
attr_accessor client_request_token: ::String
|
680
680
|
attr_accessor policy_definition: Types::AutomatedReasoningPolicyDefinition
|
681
|
+
attr_accessor kms_key_id: ::String
|
681
682
|
attr_accessor tags: ::Array[Types::Tag]
|
682
683
|
SENSITIVE: [:name, :description]
|
683
684
|
end
|
@@ -1036,6 +1037,7 @@ module Aws::Bedrock
|
|
1036
1037
|
|
1037
1038
|
class DeleteAutomatedReasoningPolicyRequest
|
1038
1039
|
attr_accessor policy_arn: ::String
|
1040
|
+
attr_accessor force: bool
|
1039
1041
|
SENSITIVE: []
|
1040
1042
|
end
|
1041
1043
|
|
@@ -1472,6 +1474,7 @@ module Aws::Bedrock
|
|
1472
1474
|
attr_accessor policy_id: ::String
|
1473
1475
|
attr_accessor description: ::String
|
1474
1476
|
attr_accessor definition_hash: ::String
|
1477
|
+
attr_accessor kms_key_arn: ::String
|
1475
1478
|
attr_accessor created_at: ::Time
|
1476
1479
|
attr_accessor updated_at: ::Time
|
1477
1480
|
SENSITIVE: [:name, :description]
|