aws-sdk-bedrock 1.61.0 → 1.65.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +21 -7
- data/lib/aws-sdk-bedrock/client_api.rb +10 -4
- data/lib/aws-sdk-bedrock/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-bedrock/types.rb +30 -8
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88f4e843b57ec20afe2a0f9fa902df4ade648926248e345b70dfcf1912e4e76e
|
|
4
|
+
data.tar.gz: 3fbcdeebc8b9bd47e4fc216186d8c96548a6442bda6fcd56198ee0be7b48c461
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4adfa0e2e4d1ba4002690c4fcfbd003d5f5b29adfea96241f183faebeadcb558762499a1c60afbeeae718e065968c61be85f93dbd2803628889512217cd43a04
|
|
7
|
+
data.tar.gz: 9c4bc551145e79db823b8c545b9521492d7a5134e6e49896f167769dc3ec0b40aa7bac08561af2f0bcca7497c8781e4e80538d488a65df13a1e101a70df8516e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.65.0 (2025-10-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.64.0 (2025-10-15)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
14
|
+
1.63.0 (2025-09-29)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* 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
|
|
18
|
+
|
|
19
|
+
1.62.0 (2025-09-18)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Release includes an increase to the maximum policy build document size, an update to DeleteAutomatedReasoningPolicyBuildWorkflow to add ResourceInUseException, and corrections to UpdateAutomatedReasoningPolicyTestCaseRequest.
|
|
23
|
+
|
|
4
24
|
1.61.0 (2025-08-26)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.65.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
|
#
|
|
@@ -4108,7 +4127,7 @@ module Aws::Bedrock
|
|
|
4108
4127
|
# @example Request syntax with placeholder values
|
|
4109
4128
|
#
|
|
4110
4129
|
# resp = client.get_foundation_model({
|
|
4111
|
-
# model_identifier: "
|
|
4130
|
+
# model_identifier: "GetFoundationModelIdentifier", # required
|
|
4112
4131
|
# })
|
|
4113
4132
|
#
|
|
4114
4133
|
# @example Response structure
|
|
@@ -7211,10 +7230,6 @@ module Aws::Bedrock
|
|
|
7211
7230
|
# The updated minimum confidence level for logic validation. If null is
|
|
7212
7231
|
# provided, the threshold will be removed.
|
|
7213
7232
|
#
|
|
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
7233
|
# @option params [String] :client_request_token
|
|
7219
7234
|
# A unique, case-sensitive identifier to ensure that the operation
|
|
7220
7235
|
# completes no more than one time. If this token matches a previous
|
|
@@ -7239,7 +7254,6 @@ module Aws::Bedrock
|
|
|
7239
7254
|
# last_updated_at: Time.now, # required
|
|
7240
7255
|
# expected_aggregated_findings_result: "VALID", # required, accepts VALID, INVALID, SATISFIABLE, IMPOSSIBLE, TRANSLATION_AMBIGUOUS, TOO_COMPLEX, NO_TRANSLATION
|
|
7241
7256
|
# confidence_threshold: 1.0,
|
|
7242
|
-
# kms_key_arn: "KmsKeyArn",
|
|
7243
7257
|
# client_request_token: "IdempotencyToken",
|
|
7244
7258
|
# })
|
|
7245
7259
|
#
|
|
@@ -7614,7 +7628,7 @@ module Aws::Bedrock
|
|
|
7614
7628
|
tracer: tracer
|
|
7615
7629
|
)
|
|
7616
7630
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7617
|
-
context[:gem_version] = '1.
|
|
7631
|
+
context[:gem_version] = '1.65.0'
|
|
7618
7632
|
Seahorse::Client::Request.new(handlers, context)
|
|
7619
7633
|
end
|
|
7620
7634
|
|
|
@@ -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:
|
|
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"))
|
|
@@ -1305,6 +1306,7 @@ module Aws::Bedrock
|
|
|
1305
1306
|
CreateAutomatedReasoningPolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDescription, location_name: "description"))
|
|
1306
1307
|
CreateAutomatedReasoningPolicyRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
1307
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"))
|
|
1308
1310
|
CreateAutomatedReasoningPolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
1309
1311
|
CreateAutomatedReasoningPolicyRequest.struct_class = Types::CreateAutomatedReasoningPolicyRequest
|
|
1310
1312
|
|
|
@@ -1579,6 +1581,7 @@ module Aws::Bedrock
|
|
|
1579
1581
|
DeleteAutomatedReasoningPolicyBuildWorkflowResponse.struct_class = Types::DeleteAutomatedReasoningPolicyBuildWorkflowResponse
|
|
1580
1582
|
|
|
1581
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"))
|
|
1582
1585
|
DeleteAutomatedReasoningPolicyRequest.struct_class = Types::DeleteAutomatedReasoningPolicyRequest
|
|
1583
1586
|
|
|
1584
1587
|
DeleteAutomatedReasoningPolicyResponse.struct_class = Types::DeleteAutomatedReasoningPolicyResponse
|
|
@@ -1904,6 +1907,7 @@ module Aws::Bedrock
|
|
|
1904
1907
|
GetAutomatedReasoningPolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyId, required: true, location_name: "policyId"))
|
|
1905
1908
|
GetAutomatedReasoningPolicyResponse.add_member(:description, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDescription, location_name: "description"))
|
|
1906
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"))
|
|
1907
1911
|
GetAutomatedReasoningPolicyResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
1908
1912
|
GetAutomatedReasoningPolicyResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updatedAt"))
|
|
1909
1913
|
GetAutomatedReasoningPolicyResponse.struct_class = Types::GetAutomatedReasoningPolicyResponse
|
|
@@ -1988,7 +1992,7 @@ module Aws::Bedrock
|
|
|
1988
1992
|
GetFoundationModelAvailabilityResponse.add_member(:region_availability, Shapes::ShapeRef.new(shape: RegionAvailability, required: true, location_name: "regionAvailability"))
|
|
1989
1993
|
GetFoundationModelAvailabilityResponse.struct_class = Types::GetFoundationModelAvailabilityResponse
|
|
1990
1994
|
|
|
1991
|
-
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape:
|
|
1995
|
+
GetFoundationModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: GetFoundationModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
|
1992
1996
|
GetFoundationModelRequest.struct_class = Types::GetFoundationModelRequest
|
|
1993
1997
|
|
|
1994
1998
|
GetFoundationModelResponse.add_member(:model_details, Shapes::ShapeRef.new(shape: FoundationModelDetails, location_name: "modelDetails"))
|
|
@@ -3226,7 +3230,6 @@ module Aws::Bedrock
|
|
|
3226
3230
|
UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedAt"))
|
|
3227
3231
|
UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:expected_aggregated_findings_result, Shapes::ShapeRef.new(shape: AutomatedReasoningCheckResult, required: true, location_name: "expectedAggregatedFindingsResult"))
|
|
3228
3232
|
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
3233
|
UpdateAutomatedReasoningPolicyTestCaseRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
|
|
3231
3234
|
UpdateAutomatedReasoningPolicyTestCaseRequest.struct_class = Types::UpdateAutomatedReasoningPolicyTestCaseRequest
|
|
3232
3235
|
|
|
@@ -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
|
|
|
@@ -3640,6 +3645,7 @@ module Aws::Bedrock
|
|
|
3640
3645
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3641
3646
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3642
3647
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3648
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
3643
3649
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3644
3650
|
end)
|
|
3645
3651
|
|
|
@@ -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,
|
|
@@ -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
|
|
|
@@ -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]
|
|
@@ -12245,11 +12273,6 @@ module Aws::Bedrock
|
|
|
12245
12273
|
# is provided, the threshold will be removed.
|
|
12246
12274
|
# @return [Float]
|
|
12247
12275
|
#
|
|
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
12276
|
# @!attribute [rw] client_request_token
|
|
12254
12277
|
# A unique, case-sensitive identifier to ensure that the operation
|
|
12255
12278
|
# completes no more than one time. If this token matches a previous
|
|
@@ -12270,7 +12293,6 @@ module Aws::Bedrock
|
|
|
12270
12293
|
:last_updated_at,
|
|
12271
12294
|
:expected_aggregated_findings_result,
|
|
12272
12295
|
:confidence_threshold,
|
|
12273
|
-
:kms_key_arn,
|
|
12274
12296
|
:client_request_token)
|
|
12275
12297
|
SENSITIVE = [:guard_content, :query_content]
|
|
12276
12298
|
include Aws::Structure
|
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
|
|
@@ -2322,7 +2325,6 @@ module Aws
|
|
|
2322
2325
|
last_updated_at: ::Time,
|
|
2323
2326
|
expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION"),
|
|
2324
2327
|
?confidence_threshold: ::Float,
|
|
2325
|
-
?kms_key_arn: ::String,
|
|
2326
2328
|
?client_request_token: ::String
|
|
2327
2329
|
) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
|
|
2328
2330
|
| (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
|
|
@@ -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]
|
|
@@ -3147,7 +3150,6 @@ module Aws::Bedrock
|
|
|
3147
3150
|
attr_accessor last_updated_at: ::Time
|
|
3148
3151
|
attr_accessor expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION")
|
|
3149
3152
|
attr_accessor confidence_threshold: ::Float
|
|
3150
|
-
attr_accessor kms_key_arn: ::String
|
|
3151
3153
|
attr_accessor client_request_token: ::String
|
|
3152
3154
|
SENSITIVE: [:guard_content, :query_content]
|
|
3153
3155
|
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.
|
|
4
|
+
version: 1.65.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.234.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.234.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|