aws-sdk-bedrock 1.65.0 → 1.67.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +111 -3
- data/lib/aws-sdk-bedrock/client_api.rb +112 -0
- data/lib/aws-sdk-bedrock/types.rb +245 -4
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +38 -1
- data/sig/types.rbs +69 -1
- 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: 9d377019bfc35e650d86e1bc619a8b85ba238a10a597998127e1da6a8e1ec2ed
|
|
4
|
+
data.tar.gz: daea0efd0af60c43a687c54b6333a5bd2cc4c47a1cf441b1baae81a216a072d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92b3f4b6eca8c5e985f9315014bc4e5400fa8b03b5a7806ddd0c350d0550dc0cde311125c47ca5668cd223309a11c05d354f2f6bebea4aac06e982e82f63acf1
|
|
7
|
+
data.tar.gz: 8defda555a899ed7e3cfdf3d26f4ab1637f3eafdcdd70e7531e5f37115d8fc8aa18164ef0d2cadbf6f2becb159a53af315abde56904d3f4419e4450a66560e87
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.67.0 (2025-11-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support to automatically enforce safeguards across accounts within an AWS Organization.
|
|
8
|
+
|
|
9
|
+
1.66.0 (2025-11-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Automated Reasoning checks in Amazon Bedrock Guardrails now automatically generate Q&A tests for new Automated Reasoning policies. The GetAutomatedReasoningPolicyBuildWorkflowResultAssets API adds GENERATED_TEST_CASES asset type, allowing customers to retrieve tests generated by the build workflow.
|
|
13
|
+
|
|
4
14
|
1.65.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.67.0
|
|
@@ -2940,6 +2940,28 @@ module Aws::Bedrock
|
|
|
2940
2940
|
req.send_request(options)
|
|
2941
2941
|
end
|
|
2942
2942
|
|
|
2943
|
+
# Deletes the account-level enforced guardrail configuration.
|
|
2944
|
+
#
|
|
2945
|
+
# @option params [required, String] :config_id
|
|
2946
|
+
# Unique ID for the account enforced configuration.
|
|
2947
|
+
#
|
|
2948
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2949
|
+
#
|
|
2950
|
+
# @example Request syntax with placeholder values
|
|
2951
|
+
#
|
|
2952
|
+
# resp = client.delete_enforced_guardrail_configuration({
|
|
2953
|
+
# config_id: "AccountEnforcedGuardrailConfigurationId", # required
|
|
2954
|
+
# })
|
|
2955
|
+
#
|
|
2956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteEnforcedGuardrailConfiguration AWS API Documentation
|
|
2957
|
+
#
|
|
2958
|
+
# @overload delete_enforced_guardrail_configuration(params = {})
|
|
2959
|
+
# @param [Hash] params ({})
|
|
2960
|
+
def delete_enforced_guardrail_configuration(params = {}, options = {})
|
|
2961
|
+
req = build_request(:delete_enforced_guardrail_configuration, params)
|
|
2962
|
+
req.send_request(options)
|
|
2963
|
+
end
|
|
2964
|
+
|
|
2943
2965
|
# Delete the model access agreement for the specified model.
|
|
2944
2966
|
#
|
|
2945
2967
|
# @option params [required, String] :model_id
|
|
@@ -3417,7 +3439,7 @@ module Aws::Bedrock
|
|
|
3417
3439
|
# resp = client.get_automated_reasoning_policy_build_workflow_result_assets({
|
|
3418
3440
|
# policy_arn: "AutomatedReasoningPolicyArn", # required
|
|
3419
3441
|
# build_workflow_id: "AutomatedReasoningPolicyBuildWorkflowId", # required
|
|
3420
|
-
# asset_type: "BUILD_LOG", # required, accepts BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION
|
|
3442
|
+
# asset_type: "BUILD_LOG", # required, accepts BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, GENERATED_TEST_CASES
|
|
3421
3443
|
# })
|
|
3422
3444
|
#
|
|
3423
3445
|
# @example Response structure
|
|
@@ -3534,6 +3556,10 @@ module Aws::Bedrock
|
|
|
3534
3556
|
# resp.build_workflow_assets.build_log.entries[0].build_steps[0].messages #=> Array
|
|
3535
3557
|
# resp.build_workflow_assets.build_log.entries[0].build_steps[0].messages[0].message #=> String
|
|
3536
3558
|
# resp.build_workflow_assets.build_log.entries[0].build_steps[0].messages[0].message_type #=> String, one of "INFO", "WARNING", "ERROR"
|
|
3559
|
+
# resp.build_workflow_assets.generated_test_cases.generated_test_cases #=> Array
|
|
3560
|
+
# resp.build_workflow_assets.generated_test_cases.generated_test_cases[0].query_content #=> String
|
|
3561
|
+
# resp.build_workflow_assets.generated_test_cases.generated_test_cases[0].guard_content #=> String
|
|
3562
|
+
# resp.build_workflow_assets.generated_test_cases.generated_test_cases[0].expected_aggregated_findings_result #=> String, one of "VALID", "INVALID", "SATISFIABLE", "IMPOSSIBLE", "TRANSLATION_AMBIGUOUS", "TOO_COMPLEX", "NO_TRANSLATION"
|
|
3537
3563
|
#
|
|
3538
3564
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAutomatedReasoningPolicyBuildWorkflowResultAssets AWS API Documentation
|
|
3539
3565
|
#
|
|
@@ -5443,6 +5469,48 @@ module Aws::Bedrock
|
|
|
5443
5469
|
req.send_request(options)
|
|
5444
5470
|
end
|
|
5445
5471
|
|
|
5472
|
+
# Lists the account-level enforced guardrail configurations.
|
|
5473
|
+
#
|
|
5474
|
+
# @option params [String] :next_token
|
|
5475
|
+
# Opaque continuation token of previous paginated response.
|
|
5476
|
+
#
|
|
5477
|
+
# @return [Types::ListEnforcedGuardrailsConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5478
|
+
#
|
|
5479
|
+
# * {Types::ListEnforcedGuardrailsConfigurationResponse#guardrails_config #guardrails_config} => Array<Types::AccountEnforcedGuardrailOutputConfiguration>
|
|
5480
|
+
# * {Types::ListEnforcedGuardrailsConfigurationResponse#next_token #next_token} => String
|
|
5481
|
+
#
|
|
5482
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5483
|
+
#
|
|
5484
|
+
# @example Request syntax with placeholder values
|
|
5485
|
+
#
|
|
5486
|
+
# resp = client.list_enforced_guardrails_configuration({
|
|
5487
|
+
# next_token: "PaginationToken",
|
|
5488
|
+
# })
|
|
5489
|
+
#
|
|
5490
|
+
# @example Response structure
|
|
5491
|
+
#
|
|
5492
|
+
# resp.guardrails_config #=> Array
|
|
5493
|
+
# resp.guardrails_config[0].config_id #=> String
|
|
5494
|
+
# resp.guardrails_config[0].guardrail_arn #=> String
|
|
5495
|
+
# resp.guardrails_config[0].guardrail_id #=> String
|
|
5496
|
+
# resp.guardrails_config[0].input_tags #=> String, one of "HONOR", "IGNORE"
|
|
5497
|
+
# resp.guardrails_config[0].guardrail_version #=> String
|
|
5498
|
+
# resp.guardrails_config[0].created_at #=> Time
|
|
5499
|
+
# resp.guardrails_config[0].created_by #=> String
|
|
5500
|
+
# resp.guardrails_config[0].updated_at #=> Time
|
|
5501
|
+
# resp.guardrails_config[0].updated_by #=> String
|
|
5502
|
+
# resp.guardrails_config[0].owner #=> String, one of "ACCOUNT"
|
|
5503
|
+
# resp.next_token #=> String
|
|
5504
|
+
#
|
|
5505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfiguration AWS API Documentation
|
|
5506
|
+
#
|
|
5507
|
+
# @overload list_enforced_guardrails_configuration(params = {})
|
|
5508
|
+
# @param [Hash] params ({})
|
|
5509
|
+
def list_enforced_guardrails_configuration(params = {}, options = {})
|
|
5510
|
+
req = build_request(:list_enforced_guardrails_configuration, params)
|
|
5511
|
+
req.send_request(options)
|
|
5512
|
+
end
|
|
5513
|
+
|
|
5446
5514
|
# Lists all existing evaluation jobs.
|
|
5447
5515
|
#
|
|
5448
5516
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
|
@@ -6244,7 +6312,7 @@ module Aws::Bedrock
|
|
|
6244
6312
|
#
|
|
6245
6313
|
# * Failed – This job has failed. Check the failure message for any
|
|
6246
6314
|
# further details. For further assistance, reach out to the [Amazon
|
|
6247
|
-
# Web
|
|
6315
|
+
# Web Services Support Center][3].
|
|
6248
6316
|
#
|
|
6249
6317
|
# * Stopped – This job was stopped by a user.
|
|
6250
6318
|
#
|
|
@@ -6519,6 +6587,46 @@ module Aws::Bedrock
|
|
|
6519
6587
|
req.send_request(options)
|
|
6520
6588
|
end
|
|
6521
6589
|
|
|
6590
|
+
# Sets the account-level enforced guardrail configuration.
|
|
6591
|
+
#
|
|
6592
|
+
# @option params [String] :config_id
|
|
6593
|
+
# Unique ID for the account enforced configuration.
|
|
6594
|
+
#
|
|
6595
|
+
# @option params [required, Types::AccountEnforcedGuardrailInferenceInputConfiguration] :guardrail_inference_config
|
|
6596
|
+
# Account-level enforced guardrail input configuration.
|
|
6597
|
+
#
|
|
6598
|
+
# @return [Types::PutEnforcedGuardrailConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6599
|
+
#
|
|
6600
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#config_id #config_id} => String
|
|
6601
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#updated_at #updated_at} => Time
|
|
6602
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#updated_by #updated_by} => String
|
|
6603
|
+
#
|
|
6604
|
+
# @example Request syntax with placeholder values
|
|
6605
|
+
#
|
|
6606
|
+
# resp = client.put_enforced_guardrail_configuration({
|
|
6607
|
+
# config_id: "AccountEnforcedGuardrailConfigurationId",
|
|
6608
|
+
# guardrail_inference_config: { # required
|
|
6609
|
+
# guardrail_identifier: "GuardrailIdentifier", # required
|
|
6610
|
+
# guardrail_version: "GuardrailNumericalVersion", # required
|
|
6611
|
+
# input_tags: "HONOR", # required, accepts HONOR, IGNORE
|
|
6612
|
+
# },
|
|
6613
|
+
# })
|
|
6614
|
+
#
|
|
6615
|
+
# @example Response structure
|
|
6616
|
+
#
|
|
6617
|
+
# resp.config_id #=> String
|
|
6618
|
+
# resp.updated_at #=> Time
|
|
6619
|
+
# resp.updated_by #=> String
|
|
6620
|
+
#
|
|
6621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfiguration AWS API Documentation
|
|
6622
|
+
#
|
|
6623
|
+
# @overload put_enforced_guardrail_configuration(params = {})
|
|
6624
|
+
# @param [Hash] params ({})
|
|
6625
|
+
def put_enforced_guardrail_configuration(params = {}, options = {})
|
|
6626
|
+
req = build_request(:put_enforced_guardrail_configuration, params)
|
|
6627
|
+
req.send_request(options)
|
|
6628
|
+
end
|
|
6629
|
+
|
|
6522
6630
|
# Set the configuration values for model invocation logging.
|
|
6523
6631
|
#
|
|
6524
6632
|
# @option params [required, Types::LoggingConfig] :logging_config
|
|
@@ -7628,7 +7736,7 @@ module Aws::Bedrock
|
|
|
7628
7736
|
tracer: tracer
|
|
7629
7737
|
)
|
|
7630
7738
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7631
|
-
context[:gem_version] = '1.
|
|
7739
|
+
context[:gem_version] = '1.67.0'
|
|
7632
7740
|
Seahorse::Client::Request.new(handlers, context)
|
|
7633
7741
|
end
|
|
7634
7742
|
|
|
@@ -16,6 +16,10 @@ module Aws::Bedrock
|
|
|
16
16
|
|
|
17
17
|
AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
|
|
18
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
19
|
+
AccountEnforcedGuardrailConfigurationId = Shapes::StringShape.new(name: 'AccountEnforcedGuardrailConfigurationId')
|
|
20
|
+
AccountEnforcedGuardrailInferenceInputConfiguration = Shapes::StructureShape.new(name: 'AccountEnforcedGuardrailInferenceInputConfiguration')
|
|
21
|
+
AccountEnforcedGuardrailOutputConfiguration = Shapes::StructureShape.new(name: 'AccountEnforcedGuardrailOutputConfiguration')
|
|
22
|
+
AccountEnforcedGuardrailsOutputConfiguration = Shapes::ListShape.new(name: 'AccountEnforcedGuardrailsOutputConfiguration')
|
|
19
23
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
20
24
|
AcknowledgementFormDataBody = Shapes::BlobShape.new(name: 'AcknowledgementFormDataBody')
|
|
21
25
|
AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
|
|
@@ -136,6 +140,9 @@ module Aws::Bedrock
|
|
|
136
140
|
AutomatedReasoningPolicyDisjointRuleSetList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyDisjointRuleSetList')
|
|
137
141
|
AutomatedReasoningPolicyDisjointedRuleIdList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyDisjointedRuleIdList')
|
|
138
142
|
AutomatedReasoningPolicyFormatVersion = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyFormatVersion')
|
|
143
|
+
AutomatedReasoningPolicyGeneratedTestCase = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyGeneratedTestCase')
|
|
144
|
+
AutomatedReasoningPolicyGeneratedTestCaseList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyGeneratedTestCaseList')
|
|
145
|
+
AutomatedReasoningPolicyGeneratedTestCases = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyGeneratedTestCases')
|
|
139
146
|
AutomatedReasoningPolicyHash = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyHash')
|
|
140
147
|
AutomatedReasoningPolicyId = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyId')
|
|
141
148
|
AutomatedReasoningPolicyIngestContentAnnotation = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyIngestContentAnnotation')
|
|
@@ -191,6 +198,7 @@ module Aws::Bedrock
|
|
|
191
198
|
CancelAutomatedReasoningPolicyBuildWorkflowResponse = Shapes::StructureShape.new(name: 'CancelAutomatedReasoningPolicyBuildWorkflowResponse')
|
|
192
199
|
CloudWatchConfig = Shapes::StructureShape.new(name: 'CloudWatchConfig')
|
|
193
200
|
CommitmentDuration = Shapes::StringShape.new(name: 'CommitmentDuration')
|
|
201
|
+
ConfigurationOwner = Shapes::StringShape.new(name: 'ConfigurationOwner')
|
|
194
202
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
195
203
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
|
196
204
|
CreateAutomatedReasoningPolicyRequest = Shapes::StructureShape.new(name: 'CreateAutomatedReasoningPolicyRequest')
|
|
@@ -257,6 +265,8 @@ module Aws::Bedrock
|
|
|
257
265
|
DeleteCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelDeploymentResponse')
|
|
258
266
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
|
259
267
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
|
268
|
+
DeleteEnforcedGuardrailConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteEnforcedGuardrailConfigurationRequest')
|
|
269
|
+
DeleteEnforcedGuardrailConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteEnforcedGuardrailConfigurationResponse')
|
|
260
270
|
DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
|
|
261
271
|
DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
|
|
262
272
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
|
@@ -524,6 +534,7 @@ module Aws::Bedrock
|
|
|
524
534
|
InferenceProfileType = Shapes::StringShape.new(name: 'InferenceProfileType')
|
|
525
535
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
|
526
536
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
|
537
|
+
InputTags = Shapes::StringShape.new(name: 'InputTags')
|
|
527
538
|
InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
|
|
528
539
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
|
529
540
|
InstructSupported = Shapes::BooleanShape.new(name: 'InstructSupported')
|
|
@@ -556,6 +567,8 @@ module Aws::Bedrock
|
|
|
556
567
|
ListCustomModelDeploymentsResponse = Shapes::StructureShape.new(name: 'ListCustomModelDeploymentsResponse')
|
|
557
568
|
ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
|
|
558
569
|
ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
|
|
570
|
+
ListEnforcedGuardrailsConfigurationRequest = Shapes::StructureShape.new(name: 'ListEnforcedGuardrailsConfigurationRequest')
|
|
571
|
+
ListEnforcedGuardrailsConfigurationResponse = Shapes::StructureShape.new(name: 'ListEnforcedGuardrailsConfigurationResponse')
|
|
559
572
|
ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
|
|
560
573
|
ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
|
|
561
574
|
ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
|
|
@@ -670,6 +683,8 @@ module Aws::Bedrock
|
|
|
670
683
|
ProvisionedModelStatus = Shapes::StringShape.new(name: 'ProvisionedModelStatus')
|
|
671
684
|
ProvisionedModelSummaries = Shapes::ListShape.new(name: 'ProvisionedModelSummaries')
|
|
672
685
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
|
686
|
+
PutEnforcedGuardrailConfigurationRequest = Shapes::StructureShape.new(name: 'PutEnforcedGuardrailConfigurationRequest')
|
|
687
|
+
PutEnforcedGuardrailConfigurationResponse = Shapes::StructureShape.new(name: 'PutEnforcedGuardrailConfigurationResponse')
|
|
673
688
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
|
674
689
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
|
675
690
|
PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
|
|
@@ -794,6 +809,25 @@ module Aws::Bedrock
|
|
|
794
809
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
795
810
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
796
811
|
|
|
812
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location_name: "guardrailIdentifier"))
|
|
813
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, required: true, location_name: "guardrailVersion"))
|
|
814
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:input_tags, Shapes::ShapeRef.new(shape: InputTags, required: true, location_name: "inputTags"))
|
|
815
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.struct_class = Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
816
|
+
|
|
817
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
818
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:guardrail_arn, Shapes::ShapeRef.new(shape: GuardrailArn, location_name: "guardrailArn"))
|
|
819
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailId, location_name: "guardrailId"))
|
|
820
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:input_tags, Shapes::ShapeRef.new(shape: InputTags, location_name: "inputTags"))
|
|
821
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location_name: "guardrailVersion"))
|
|
822
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
823
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
|
|
824
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
825
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
|
|
826
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:owner, Shapes::ShapeRef.new(shape: ConfigurationOwner, location_name: "owner"))
|
|
827
|
+
AccountEnforcedGuardrailOutputConfiguration.struct_class = Types::AccountEnforcedGuardrailOutputConfiguration
|
|
828
|
+
|
|
829
|
+
AccountEnforcedGuardrailsOutputConfiguration.member = Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailOutputConfiguration)
|
|
830
|
+
|
|
797
831
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
|
798
832
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
|
799
833
|
|
|
@@ -983,10 +1017,12 @@ module Aws::Bedrock
|
|
|
983
1017
|
AutomatedReasoningPolicyBuildResultAssets.add_member(:policy_definition, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinition, location_name: "policyDefinition"))
|
|
984
1018
|
AutomatedReasoningPolicyBuildResultAssets.add_member(:quality_report, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinitionQualityReport, location_name: "qualityReport"))
|
|
985
1019
|
AutomatedReasoningPolicyBuildResultAssets.add_member(:build_log, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildLog, location_name: "buildLog"))
|
|
1020
|
+
AutomatedReasoningPolicyBuildResultAssets.add_member(:generated_test_cases, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyGeneratedTestCases, location_name: "generatedTestCases"))
|
|
986
1021
|
AutomatedReasoningPolicyBuildResultAssets.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
987
1022
|
AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:policy_definition, Types::AutomatedReasoningPolicyBuildResultAssets::PolicyDefinition)
|
|
988
1023
|
AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:quality_report, Types::AutomatedReasoningPolicyBuildResultAssets::QualityReport)
|
|
989
1024
|
AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:build_log, Types::AutomatedReasoningPolicyBuildResultAssets::BuildLog)
|
|
1025
|
+
AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:generated_test_cases, Types::AutomatedReasoningPolicyBuildResultAssets::GeneratedTestCases)
|
|
990
1026
|
AutomatedReasoningPolicyBuildResultAssets.add_member_subclass(:unknown, Types::AutomatedReasoningPolicyBuildResultAssets::Unknown)
|
|
991
1027
|
AutomatedReasoningPolicyBuildResultAssets.struct_class = Types::AutomatedReasoningPolicyBuildResultAssets
|
|
992
1028
|
|
|
@@ -1132,6 +1168,16 @@ module Aws::Bedrock
|
|
|
1132
1168
|
|
|
1133
1169
|
AutomatedReasoningPolicyDisjointedRuleIdList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyDefinitionRuleId)
|
|
1134
1170
|
|
|
1171
|
+
AutomatedReasoningPolicyGeneratedTestCase.add_member(:query_content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyTestQueryContent, required: true, location_name: "queryContent"))
|
|
1172
|
+
AutomatedReasoningPolicyGeneratedTestCase.add_member(:guard_content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyTestGuardContent, required: true, location_name: "guardContent"))
|
|
1173
|
+
AutomatedReasoningPolicyGeneratedTestCase.add_member(:expected_aggregated_findings_result, Shapes::ShapeRef.new(shape: AutomatedReasoningCheckResult, required: true, location_name: "expectedAggregatedFindingsResult"))
|
|
1174
|
+
AutomatedReasoningPolicyGeneratedTestCase.struct_class = Types::AutomatedReasoningPolicyGeneratedTestCase
|
|
1175
|
+
|
|
1176
|
+
AutomatedReasoningPolicyGeneratedTestCaseList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyGeneratedTestCase)
|
|
1177
|
+
|
|
1178
|
+
AutomatedReasoningPolicyGeneratedTestCases.add_member(:generated_test_cases, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyGeneratedTestCaseList, required: true, location_name: "generatedTestCases"))
|
|
1179
|
+
AutomatedReasoningPolicyGeneratedTestCases.struct_class = Types::AutomatedReasoningPolicyGeneratedTestCases
|
|
1180
|
+
|
|
1135
1181
|
AutomatedReasoningPolicyIngestContentAnnotation.add_member(:content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyAnnotationIngestContent, required: true, location_name: "content"))
|
|
1136
1182
|
AutomatedReasoningPolicyIngestContentAnnotation.struct_class = Types::AutomatedReasoningPolicyIngestContentAnnotation
|
|
1137
1183
|
|
|
@@ -1603,6 +1649,11 @@ module Aws::Bedrock
|
|
|
1603
1649
|
|
|
1604
1650
|
DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
|
|
1605
1651
|
|
|
1652
|
+
DeleteEnforcedGuardrailConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, required: true, location: "uri", location_name: "configId"))
|
|
1653
|
+
DeleteEnforcedGuardrailConfigurationRequest.struct_class = Types::DeleteEnforcedGuardrailConfigurationRequest
|
|
1654
|
+
|
|
1655
|
+
DeleteEnforcedGuardrailConfigurationResponse.struct_class = Types::DeleteEnforcedGuardrailConfigurationResponse
|
|
1656
|
+
|
|
1606
1657
|
DeleteFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
|
1607
1658
|
DeleteFoundationModelAgreementRequest.struct_class = Types::DeleteFoundationModelAgreementRequest
|
|
1608
1659
|
|
|
@@ -2593,6 +2644,13 @@ module Aws::Bedrock
|
|
|
2593
2644
|
ListCustomModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: CustomModelSummaryList, location_name: "modelSummaries"))
|
|
2594
2645
|
ListCustomModelsResponse.struct_class = Types::ListCustomModelsResponse
|
|
2595
2646
|
|
|
2647
|
+
ListEnforcedGuardrailsConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
|
2648
|
+
ListEnforcedGuardrailsConfigurationRequest.struct_class = Types::ListEnforcedGuardrailsConfigurationRequest
|
|
2649
|
+
|
|
2650
|
+
ListEnforcedGuardrailsConfigurationResponse.add_member(:guardrails_config, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailsOutputConfiguration, required: true, location_name: "guardrailsConfig"))
|
|
2651
|
+
ListEnforcedGuardrailsConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
2652
|
+
ListEnforcedGuardrailsConfigurationResponse.struct_class = Types::ListEnforcedGuardrailsConfigurationResponse
|
|
2653
|
+
|
|
2596
2654
|
ListEvaluationJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
|
2597
2655
|
ListEvaluationJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
|
2598
2656
|
ListEvaluationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: EvaluationJobStatus, location: "querystring", location_name: "statusEquals"))
|
|
@@ -2946,6 +3004,15 @@ module Aws::Bedrock
|
|
|
2946
3004
|
ProvisionedModelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
|
|
2947
3005
|
ProvisionedModelSummary.struct_class = Types::ProvisionedModelSummary
|
|
2948
3006
|
|
|
3007
|
+
PutEnforcedGuardrailConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3008
|
+
PutEnforcedGuardrailConfigurationRequest.add_member(:guardrail_inference_config, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailInferenceInputConfiguration, required: true, location_name: "guardrailInferenceConfig"))
|
|
3009
|
+
PutEnforcedGuardrailConfigurationRequest.struct_class = Types::PutEnforcedGuardrailConfigurationRequest
|
|
3010
|
+
|
|
3011
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3012
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
3013
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
|
|
3014
|
+
PutEnforcedGuardrailConfigurationResponse.struct_class = Types::PutEnforcedGuardrailConfigurationResponse
|
|
3015
|
+
|
|
2949
3016
|
PutModelInvocationLoggingConfigurationRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, required: true, location_name: "loggingConfig"))
|
|
2950
3017
|
PutModelInvocationLoggingConfigurationRequest.struct_class = Types::PutModelInvocationLoggingConfigurationRequest
|
|
2951
3018
|
|
|
@@ -3692,6 +3759,19 @@ module Aws::Bedrock
|
|
|
3692
3759
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3693
3760
|
end)
|
|
3694
3761
|
|
|
3762
|
+
api.add_operation(:delete_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3763
|
+
o.name = "DeleteEnforcedGuardrailConfiguration"
|
|
3764
|
+
o.http_method = "DELETE"
|
|
3765
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration/{configId}"
|
|
3766
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEnforcedGuardrailConfigurationRequest)
|
|
3767
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEnforcedGuardrailConfigurationResponse)
|
|
3768
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3769
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3770
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3771
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3772
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3773
|
+
end)
|
|
3774
|
+
|
|
3695
3775
|
api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
|
3696
3776
|
o.name = "DeleteFoundationModelAgreement"
|
|
3697
3777
|
o.http_method = "POST"
|
|
@@ -4248,6 +4328,24 @@ module Aws::Bedrock
|
|
|
4248
4328
|
)
|
|
4249
4329
|
end)
|
|
4250
4330
|
|
|
4331
|
+
api.add_operation(:list_enforced_guardrails_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4332
|
+
o.name = "ListEnforcedGuardrailsConfiguration"
|
|
4333
|
+
o.http_method = "GET"
|
|
4334
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration"
|
|
4335
|
+
o.input = Shapes::ShapeRef.new(shape: ListEnforcedGuardrailsConfigurationRequest)
|
|
4336
|
+
o.output = Shapes::ShapeRef.new(shape: ListEnforcedGuardrailsConfigurationResponse)
|
|
4337
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4338
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4339
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4340
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4342
|
+
o[:pager] = Aws::Pager.new(
|
|
4343
|
+
tokens: {
|
|
4344
|
+
"next_token" => "next_token"
|
|
4345
|
+
}
|
|
4346
|
+
)
|
|
4347
|
+
end)
|
|
4348
|
+
|
|
4251
4349
|
api.add_operation(:list_evaluation_jobs, Seahorse::Model::Operation.new.tap do |o|
|
|
4252
4350
|
o.name = "ListEvaluationJobs"
|
|
4253
4351
|
o.http_method = "GET"
|
|
@@ -4487,6 +4585,20 @@ module Aws::Bedrock
|
|
|
4487
4585
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4488
4586
|
end)
|
|
4489
4587
|
|
|
4588
|
+
api.add_operation(:put_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4589
|
+
o.name = "PutEnforcedGuardrailConfiguration"
|
|
4590
|
+
o.http_method = "PUT"
|
|
4591
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration"
|
|
4592
|
+
o.input = Shapes::ShapeRef.new(shape: PutEnforcedGuardrailConfigurationRequest)
|
|
4593
|
+
o.output = Shapes::ShapeRef.new(shape: PutEnforcedGuardrailConfigurationResponse)
|
|
4594
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4595
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4596
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4597
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4598
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4599
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4600
|
+
end)
|
|
4601
|
+
|
|
4490
4602
|
api.add_operation(:put_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4491
4603
|
o.name = "PutModelInvocationLoggingConfiguration"
|
|
4492
4604
|
o.http_method = "PUT"
|
|
@@ -23,6 +23,89 @@ module Aws::Bedrock
|
|
|
23
23
|
include Aws::Structure
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# Account-level enforced guardrail input configuration.
|
|
27
|
+
#
|
|
28
|
+
# @!attribute [rw] guardrail_identifier
|
|
29
|
+
# Identifier for the guardrail, could be the ID or the ARN.
|
|
30
|
+
# @return [String]
|
|
31
|
+
#
|
|
32
|
+
# @!attribute [rw] guardrail_version
|
|
33
|
+
# Numerical guardrail version.
|
|
34
|
+
# @return [String]
|
|
35
|
+
#
|
|
36
|
+
# @!attribute [rw] input_tags
|
|
37
|
+
# Whether to honor or ignore input tags at runtime.
|
|
38
|
+
# @return [String]
|
|
39
|
+
#
|
|
40
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AccountEnforcedGuardrailInferenceInputConfiguration AWS API Documentation
|
|
41
|
+
#
|
|
42
|
+
class AccountEnforcedGuardrailInferenceInputConfiguration < Struct.new(
|
|
43
|
+
:guardrail_identifier,
|
|
44
|
+
:guardrail_version,
|
|
45
|
+
:input_tags)
|
|
46
|
+
SENSITIVE = []
|
|
47
|
+
include Aws::Structure
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Account enforced guardrail output configuration.
|
|
51
|
+
#
|
|
52
|
+
# @!attribute [rw] config_id
|
|
53
|
+
# Unique ID for the account enforced configuration.
|
|
54
|
+
# @return [String]
|
|
55
|
+
#
|
|
56
|
+
# @!attribute [rw] guardrail_arn
|
|
57
|
+
# ARN representation for the guardrail.
|
|
58
|
+
# @return [String]
|
|
59
|
+
#
|
|
60
|
+
# @!attribute [rw] guardrail_id
|
|
61
|
+
# Unique ID for the guardrail.
|
|
62
|
+
# @return [String]
|
|
63
|
+
#
|
|
64
|
+
# @!attribute [rw] input_tags
|
|
65
|
+
# Whether to honor or ignore input tags at runtime.
|
|
66
|
+
# @return [String]
|
|
67
|
+
#
|
|
68
|
+
# @!attribute [rw] guardrail_version
|
|
69
|
+
# Numerical guardrail version.
|
|
70
|
+
# @return [String]
|
|
71
|
+
#
|
|
72
|
+
# @!attribute [rw] created_at
|
|
73
|
+
# Timestamp.
|
|
74
|
+
# @return [Time]
|
|
75
|
+
#
|
|
76
|
+
# @!attribute [rw] created_by
|
|
77
|
+
# The ARN of the role used to update the configuration.
|
|
78
|
+
# @return [String]
|
|
79
|
+
#
|
|
80
|
+
# @!attribute [rw] updated_at
|
|
81
|
+
# Timestamp.
|
|
82
|
+
# @return [Time]
|
|
83
|
+
#
|
|
84
|
+
# @!attribute [rw] updated_by
|
|
85
|
+
# The ARN of the role used to update the configuration.
|
|
86
|
+
# @return [String]
|
|
87
|
+
#
|
|
88
|
+
# @!attribute [rw] owner
|
|
89
|
+
# Configuration owner type.
|
|
90
|
+
# @return [String]
|
|
91
|
+
#
|
|
92
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AccountEnforcedGuardrailOutputConfiguration AWS API Documentation
|
|
93
|
+
#
|
|
94
|
+
class AccountEnforcedGuardrailOutputConfiguration < Struct.new(
|
|
95
|
+
:config_id,
|
|
96
|
+
:guardrail_arn,
|
|
97
|
+
:guardrail_id,
|
|
98
|
+
:input_tags,
|
|
99
|
+
:guardrail_version,
|
|
100
|
+
:created_at,
|
|
101
|
+
:created_by,
|
|
102
|
+
:updated_at,
|
|
103
|
+
:updated_by,
|
|
104
|
+
:owner)
|
|
105
|
+
SENSITIVE = []
|
|
106
|
+
include Aws::Structure
|
|
107
|
+
end
|
|
108
|
+
|
|
26
109
|
# Information about the agreement availability
|
|
27
110
|
#
|
|
28
111
|
# @!attribute [rw] status
|
|
@@ -830,7 +913,8 @@ module Aws::Bedrock
|
|
|
830
913
|
end
|
|
831
914
|
|
|
832
915
|
# Contains the various assets generated during a policy build workflow,
|
|
833
|
-
# including logs, quality reports, and the final policy
|
|
916
|
+
# including logs, quality reports, test cases, and the final policy
|
|
917
|
+
# definition.
|
|
834
918
|
#
|
|
835
919
|
# @note AutomatedReasoningPolicyBuildResultAssets is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AutomatedReasoningPolicyBuildResultAssets corresponding to the set member.
|
|
836
920
|
#
|
|
@@ -851,12 +935,18 @@ module Aws::Bedrock
|
|
|
851
935
|
# step in the policy generation process.
|
|
852
936
|
# @return [Types::AutomatedReasoningPolicyBuildLog]
|
|
853
937
|
#
|
|
938
|
+
# @!attribute [rw] generated_test_cases
|
|
939
|
+
# A comprehensive test suite generated by the build workflow,
|
|
940
|
+
# providing validation capabilities for automated reasoning policies.
|
|
941
|
+
# @return [Types::AutomatedReasoningPolicyGeneratedTestCases]
|
|
942
|
+
#
|
|
854
943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyBuildResultAssets AWS API Documentation
|
|
855
944
|
#
|
|
856
945
|
class AutomatedReasoningPolicyBuildResultAssets < Struct.new(
|
|
857
946
|
:policy_definition,
|
|
858
947
|
:quality_report,
|
|
859
948
|
:build_log,
|
|
949
|
+
:generated_test_cases,
|
|
860
950
|
:unknown)
|
|
861
951
|
SENSITIVE = []
|
|
862
952
|
include Aws::Structure
|
|
@@ -865,6 +955,7 @@ module Aws::Bedrock
|
|
|
865
955
|
class PolicyDefinition < AutomatedReasoningPolicyBuildResultAssets; end
|
|
866
956
|
class QualityReport < AutomatedReasoningPolicyBuildResultAssets; end
|
|
867
957
|
class BuildLog < AutomatedReasoningPolicyBuildResultAssets; end
|
|
958
|
+
class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets; end
|
|
868
959
|
class Unknown < AutomatedReasoningPolicyBuildResultAssets; end
|
|
869
960
|
end
|
|
870
961
|
|
|
@@ -1451,6 +1542,72 @@ module Aws::Bedrock
|
|
|
1451
1542
|
include Aws::Structure
|
|
1452
1543
|
end
|
|
1453
1544
|
|
|
1545
|
+
# Represents a generated test case, consisting of query content, guard
|
|
1546
|
+
# content, and expected results.
|
|
1547
|
+
#
|
|
1548
|
+
# @!attribute [rw] query_content
|
|
1549
|
+
# The input query or prompt that generated the content. This provides
|
|
1550
|
+
# context for the validation.
|
|
1551
|
+
# @return [String]
|
|
1552
|
+
#
|
|
1553
|
+
# @!attribute [rw] guard_content
|
|
1554
|
+
# The output content that's validated by the Automated Reasoning
|
|
1555
|
+
# policy. This represents the foundation model response that will be
|
|
1556
|
+
# checked for accuracy.
|
|
1557
|
+
# @return [String]
|
|
1558
|
+
#
|
|
1559
|
+
# @!attribute [rw] expected_aggregated_findings_result
|
|
1560
|
+
# The expected results of the generated test case. Possible values
|
|
1561
|
+
# include:
|
|
1562
|
+
#
|
|
1563
|
+
# * `VALID` - The claims are true. The claims are implied by the
|
|
1564
|
+
# premises and the Automated Reasoning policy. Given the Automated
|
|
1565
|
+
# Reasoning policy and premises, it is not possible for these claims
|
|
1566
|
+
# to be false. In other words, there are no alternative answers that
|
|
1567
|
+
# are true that contradict the claims.
|
|
1568
|
+
#
|
|
1569
|
+
# * `INVALID` - The claims are false. The claims are not implied by
|
|
1570
|
+
# the premises and Automated Reasoning policy. Furthermore, there
|
|
1571
|
+
# exists different claims that are consistent with the premises and
|
|
1572
|
+
# Automated Reasoning policy.
|
|
1573
|
+
#
|
|
1574
|
+
# * `SATISFIABLE` - The claims can be true or false. It depends on
|
|
1575
|
+
# what assumptions are made for the claim to be implied from the
|
|
1576
|
+
# premises and Automated Reasoning policy rules. In this situation,
|
|
1577
|
+
# different assumptions can make input claims false and alternative
|
|
1578
|
+
# claims true.
|
|
1579
|
+
#
|
|
1580
|
+
# * `IMPOSSIBLE` - Automated Reasoning can’t make a statement about
|
|
1581
|
+
# the claims. This can happen if the premises are logically
|
|
1582
|
+
# incorrect, or if there is a conflict within the Automated
|
|
1583
|
+
# Reasoning policy itself.
|
|
1584
|
+
# @return [String]
|
|
1585
|
+
#
|
|
1586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyGeneratedTestCase AWS API Documentation
|
|
1587
|
+
#
|
|
1588
|
+
class AutomatedReasoningPolicyGeneratedTestCase < Struct.new(
|
|
1589
|
+
:query_content,
|
|
1590
|
+
:guard_content,
|
|
1591
|
+
:expected_aggregated_findings_result)
|
|
1592
|
+
SENSITIVE = [:query_content, :guard_content]
|
|
1593
|
+
include Aws::Structure
|
|
1594
|
+
end
|
|
1595
|
+
|
|
1596
|
+
# Contains a comprehensive test suite generated by the build workflow,
|
|
1597
|
+
# providing validation capabilities for automated reasoning policies.
|
|
1598
|
+
#
|
|
1599
|
+
# @!attribute [rw] generated_test_cases
|
|
1600
|
+
# Represents a collection of generated test cases.
|
|
1601
|
+
# @return [Array<Types::AutomatedReasoningPolicyGeneratedTestCase>]
|
|
1602
|
+
#
|
|
1603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyGeneratedTestCases AWS API Documentation
|
|
1604
|
+
#
|
|
1605
|
+
class AutomatedReasoningPolicyGeneratedTestCases < Struct.new(
|
|
1606
|
+
:generated_test_cases)
|
|
1607
|
+
SENSITIVE = []
|
|
1608
|
+
include Aws::Structure
|
|
1609
|
+
end
|
|
1610
|
+
|
|
1454
1611
|
# An annotation for processing and incorporating new content into an
|
|
1455
1612
|
# Automated Reasoning policy.
|
|
1456
1613
|
#
|
|
@@ -3946,6 +4103,22 @@ module Aws::Bedrock
|
|
|
3946
4103
|
#
|
|
3947
4104
|
class DeleteCustomModelResponse < Aws::EmptyStructure; end
|
|
3948
4105
|
|
|
4106
|
+
# @!attribute [rw] config_id
|
|
4107
|
+
# Unique ID for the account enforced configuration.
|
|
4108
|
+
# @return [String]
|
|
4109
|
+
#
|
|
4110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteEnforcedGuardrailConfigurationRequest AWS API Documentation
|
|
4111
|
+
#
|
|
4112
|
+
class DeleteEnforcedGuardrailConfigurationRequest < Struct.new(
|
|
4113
|
+
:config_id)
|
|
4114
|
+
SENSITIVE = []
|
|
4115
|
+
include Aws::Structure
|
|
4116
|
+
end
|
|
4117
|
+
|
|
4118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteEnforcedGuardrailConfigurationResponse AWS API Documentation
|
|
4119
|
+
#
|
|
4120
|
+
class DeleteEnforcedGuardrailConfigurationResponse < Aws::EmptyStructure; end
|
|
4121
|
+
|
|
3949
4122
|
# @!attribute [rw] model_id
|
|
3950
4123
|
# Model Id of the model access to delete.
|
|
3951
4124
|
# @return [String]
|
|
@@ -6435,7 +6608,7 @@ module Aws::Bedrock
|
|
|
6435
6608
|
#
|
|
6436
6609
|
# * Failed – This job has failed. Check the failure message for any
|
|
6437
6610
|
# further details. For further assistance, reach out to the [Amazon
|
|
6438
|
-
# Web
|
|
6611
|
+
# Web Services Support Center][3].
|
|
6439
6612
|
#
|
|
6440
6613
|
# * Stopped – This job was stopped by a user.
|
|
6441
6614
|
#
|
|
@@ -9200,6 +9373,35 @@ module Aws::Bedrock
|
|
|
9200
9373
|
include Aws::Structure
|
|
9201
9374
|
end
|
|
9202
9375
|
|
|
9376
|
+
# @!attribute [rw] next_token
|
|
9377
|
+
# Opaque continuation token of previous paginated response.
|
|
9378
|
+
# @return [String]
|
|
9379
|
+
#
|
|
9380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfigurationRequest AWS API Documentation
|
|
9381
|
+
#
|
|
9382
|
+
class ListEnforcedGuardrailsConfigurationRequest < Struct.new(
|
|
9383
|
+
:next_token)
|
|
9384
|
+
SENSITIVE = []
|
|
9385
|
+
include Aws::Structure
|
|
9386
|
+
end
|
|
9387
|
+
|
|
9388
|
+
# @!attribute [rw] guardrails_config
|
|
9389
|
+
# Array of AccountEnforcedGuardrailOutputConfiguration objects.
|
|
9390
|
+
# @return [Array<Types::AccountEnforcedGuardrailOutputConfiguration>]
|
|
9391
|
+
#
|
|
9392
|
+
# @!attribute [rw] next_token
|
|
9393
|
+
# Opaque continuation token of previous paginated response.
|
|
9394
|
+
# @return [String]
|
|
9395
|
+
#
|
|
9396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfigurationResponse AWS API Documentation
|
|
9397
|
+
#
|
|
9398
|
+
class ListEnforcedGuardrailsConfigurationResponse < Struct.new(
|
|
9399
|
+
:guardrails_config,
|
|
9400
|
+
:next_token)
|
|
9401
|
+
SENSITIVE = []
|
|
9402
|
+
include Aws::Structure
|
|
9403
|
+
end
|
|
9404
|
+
|
|
9203
9405
|
# @!attribute [rw] creation_time_after
|
|
9204
9406
|
# A filter to only list evaluation jobs created after a specified
|
|
9205
9407
|
# time.
|
|
@@ -9865,7 +10067,7 @@ module Aws::Bedrock
|
|
|
9865
10067
|
#
|
|
9866
10068
|
# * Failed – This job has failed. Check the failure message for any
|
|
9867
10069
|
# further details. For further assistance, reach out to the [Amazon
|
|
9868
|
-
# Web
|
|
10070
|
+
# Web Services Support Center][3].
|
|
9869
10071
|
#
|
|
9870
10072
|
# * Stopped – This job was stopped by a user.
|
|
9871
10073
|
#
|
|
@@ -10682,7 +10884,7 @@ module Aws::Bedrock
|
|
|
10682
10884
|
#
|
|
10683
10885
|
# * Failed – This job has failed. Check the failure message for any
|
|
10684
10886
|
# further details. For further assistance, reach out to the [Amazon
|
|
10685
|
-
# Web
|
|
10887
|
+
# Web Services Support Center][3].
|
|
10686
10888
|
#
|
|
10687
10889
|
# * Stopped – This job was stopped by a user.
|
|
10688
10890
|
#
|
|
@@ -11030,6 +11232,45 @@ module Aws::Bedrock
|
|
|
11030
11232
|
include Aws::Structure
|
|
11031
11233
|
end
|
|
11032
11234
|
|
|
11235
|
+
# @!attribute [rw] config_id
|
|
11236
|
+
# Unique ID for the account enforced configuration.
|
|
11237
|
+
# @return [String]
|
|
11238
|
+
#
|
|
11239
|
+
# @!attribute [rw] guardrail_inference_config
|
|
11240
|
+
# Account-level enforced guardrail input configuration.
|
|
11241
|
+
# @return [Types::AccountEnforcedGuardrailInferenceInputConfiguration]
|
|
11242
|
+
#
|
|
11243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfigurationRequest AWS API Documentation
|
|
11244
|
+
#
|
|
11245
|
+
class PutEnforcedGuardrailConfigurationRequest < Struct.new(
|
|
11246
|
+
:config_id,
|
|
11247
|
+
:guardrail_inference_config)
|
|
11248
|
+
SENSITIVE = []
|
|
11249
|
+
include Aws::Structure
|
|
11250
|
+
end
|
|
11251
|
+
|
|
11252
|
+
# @!attribute [rw] config_id
|
|
11253
|
+
# Unique ID for the account enforced configuration.
|
|
11254
|
+
# @return [String]
|
|
11255
|
+
#
|
|
11256
|
+
# @!attribute [rw] updated_at
|
|
11257
|
+
# Timestamp.
|
|
11258
|
+
# @return [Time]
|
|
11259
|
+
#
|
|
11260
|
+
# @!attribute [rw] updated_by
|
|
11261
|
+
# The ARN of the role used to update the configuration.
|
|
11262
|
+
# @return [String]
|
|
11263
|
+
#
|
|
11264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfigurationResponse AWS API Documentation
|
|
11265
|
+
#
|
|
11266
|
+
class PutEnforcedGuardrailConfigurationResponse < Struct.new(
|
|
11267
|
+
:config_id,
|
|
11268
|
+
:updated_at,
|
|
11269
|
+
:updated_by)
|
|
11270
|
+
SENSITIVE = []
|
|
11271
|
+
include Aws::Structure
|
|
11272
|
+
end
|
|
11273
|
+
|
|
11033
11274
|
# @!attribute [rw] logging_config
|
|
11034
11275
|
# The logging configuration values to set.
|
|
11035
11276
|
# @return [Types::LoggingConfig]
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1106,6 +1106,15 @@ module Aws
|
|
|
1106
1106
|
) -> _DeleteCustomModelDeploymentResponseSuccess
|
|
1107
1107
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelDeploymentResponseSuccess
|
|
1108
1108
|
|
|
1109
|
+
interface _DeleteEnforcedGuardrailConfigurationResponseSuccess
|
|
1110
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEnforcedGuardrailConfigurationResponse]
|
|
1111
|
+
end
|
|
1112
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_enforced_guardrail_configuration-instance_method
|
|
1113
|
+
def delete_enforced_guardrail_configuration: (
|
|
1114
|
+
config_id: ::String
|
|
1115
|
+
) -> _DeleteEnforcedGuardrailConfigurationResponseSuccess
|
|
1116
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEnforcedGuardrailConfigurationResponseSuccess
|
|
1117
|
+
|
|
1109
1118
|
interface _DeleteFoundationModelAgreementResponseSuccess
|
|
1110
1119
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFoundationModelAgreementResponse]
|
|
1111
1120
|
end
|
|
@@ -1260,7 +1269,7 @@ module Aws
|
|
|
1260
1269
|
def get_automated_reasoning_policy_build_workflow_result_assets: (
|
|
1261
1270
|
policy_arn: ::String,
|
|
1262
1271
|
build_workflow_id: ::String,
|
|
1263
|
-
asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION")
|
|
1272
|
+
asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION" | "GENERATED_TEST_CASES")
|
|
1264
1273
|
) -> _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
|
|
1265
1274
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
|
|
1266
1275
|
|
|
@@ -1717,6 +1726,17 @@ module Aws
|
|
|
1717
1726
|
) -> _ListCustomModelsResponseSuccess
|
|
1718
1727
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelsResponseSuccess
|
|
1719
1728
|
|
|
1729
|
+
interface _ListEnforcedGuardrailsConfigurationResponseSuccess
|
|
1730
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnforcedGuardrailsConfigurationResponse]
|
|
1731
|
+
def guardrails_config: () -> ::Array[Types::AccountEnforcedGuardrailOutputConfiguration]
|
|
1732
|
+
def next_token: () -> ::String
|
|
1733
|
+
end
|
|
1734
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_enforced_guardrails_configuration-instance_method
|
|
1735
|
+
def list_enforced_guardrails_configuration: (
|
|
1736
|
+
?next_token: ::String
|
|
1737
|
+
) -> _ListEnforcedGuardrailsConfigurationResponseSuccess
|
|
1738
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnforcedGuardrailsConfigurationResponseSuccess
|
|
1739
|
+
|
|
1720
1740
|
interface _ListEvaluationJobsResponseSuccess
|
|
1721
1741
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEvaluationJobsResponse]
|
|
1722
1742
|
def next_token: () -> ::String
|
|
@@ -1933,6 +1953,23 @@ module Aws
|
|
|
1933
1953
|
) -> _ListTagsForResourceResponseSuccess
|
|
1934
1954
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
1935
1955
|
|
|
1956
|
+
interface _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1957
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutEnforcedGuardrailConfigurationResponse]
|
|
1958
|
+
def config_id: () -> ::String
|
|
1959
|
+
def updated_at: () -> ::Time
|
|
1960
|
+
def updated_by: () -> ::String
|
|
1961
|
+
end
|
|
1962
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_enforced_guardrail_configuration-instance_method
|
|
1963
|
+
def put_enforced_guardrail_configuration: (
|
|
1964
|
+
?config_id: ::String,
|
|
1965
|
+
guardrail_inference_config: {
|
|
1966
|
+
guardrail_identifier: ::String,
|
|
1967
|
+
guardrail_version: ::String,
|
|
1968
|
+
input_tags: ("HONOR" | "IGNORE")
|
|
1969
|
+
}
|
|
1970
|
+
) -> _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1971
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1972
|
+
|
|
1936
1973
|
interface _PutModelInvocationLoggingConfigurationResponseSuccess
|
|
1937
1974
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutModelInvocationLoggingConfigurationResponse]
|
|
1938
1975
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -13,6 +13,27 @@ module Aws::Bedrock
|
|
|
13
13
|
SENSITIVE: []
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
class AccountEnforcedGuardrailInferenceInputConfiguration
|
|
17
|
+
attr_accessor guardrail_identifier: ::String
|
|
18
|
+
attr_accessor guardrail_version: ::String
|
|
19
|
+
attr_accessor input_tags: ("HONOR" | "IGNORE")
|
|
20
|
+
SENSITIVE: []
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
class AccountEnforcedGuardrailOutputConfiguration
|
|
24
|
+
attr_accessor config_id: ::String
|
|
25
|
+
attr_accessor guardrail_arn: ::String
|
|
26
|
+
attr_accessor guardrail_id: ::String
|
|
27
|
+
attr_accessor input_tags: ("HONOR" | "IGNORE")
|
|
28
|
+
attr_accessor guardrail_version: ::String
|
|
29
|
+
attr_accessor created_at: ::Time
|
|
30
|
+
attr_accessor created_by: ::String
|
|
31
|
+
attr_accessor updated_at: ::Time
|
|
32
|
+
attr_accessor updated_by: ::String
|
|
33
|
+
attr_accessor owner: ("ACCOUNT")
|
|
34
|
+
SENSITIVE: []
|
|
35
|
+
end
|
|
36
|
+
|
|
16
37
|
class AgreementAvailability
|
|
17
38
|
attr_accessor status: ("AVAILABLE" | "PENDING" | "NOT_AVAILABLE" | "ERROR")
|
|
18
39
|
attr_accessor error_message: ::String
|
|
@@ -265,6 +286,7 @@ module Aws::Bedrock
|
|
|
265
286
|
attr_accessor policy_definition: Types::AutomatedReasoningPolicyDefinition
|
|
266
287
|
attr_accessor quality_report: Types::AutomatedReasoningPolicyDefinitionQualityReport
|
|
267
288
|
attr_accessor build_log: Types::AutomatedReasoningPolicyBuildLog
|
|
289
|
+
attr_accessor generated_test_cases: Types::AutomatedReasoningPolicyGeneratedTestCases
|
|
268
290
|
attr_accessor unknown: untyped
|
|
269
291
|
SENSITIVE: []
|
|
270
292
|
|
|
@@ -274,6 +296,8 @@ module Aws::Bedrock
|
|
|
274
296
|
end
|
|
275
297
|
class BuildLog < AutomatedReasoningPolicyBuildResultAssets
|
|
276
298
|
end
|
|
299
|
+
class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets
|
|
300
|
+
end
|
|
277
301
|
class Unknown < AutomatedReasoningPolicyBuildResultAssets
|
|
278
302
|
end
|
|
279
303
|
end
|
|
@@ -445,6 +469,18 @@ module Aws::Bedrock
|
|
|
445
469
|
SENSITIVE: []
|
|
446
470
|
end
|
|
447
471
|
|
|
472
|
+
class AutomatedReasoningPolicyGeneratedTestCase
|
|
473
|
+
attr_accessor query_content: ::String
|
|
474
|
+
attr_accessor guard_content: ::String
|
|
475
|
+
attr_accessor expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION")
|
|
476
|
+
SENSITIVE: [:query_content, :guard_content]
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
class AutomatedReasoningPolicyGeneratedTestCases
|
|
480
|
+
attr_accessor generated_test_cases: ::Array[Types::AutomatedReasoningPolicyGeneratedTestCase]
|
|
481
|
+
SENSITIVE: []
|
|
482
|
+
end
|
|
483
|
+
|
|
448
484
|
class AutomatedReasoningPolicyIngestContentAnnotation
|
|
449
485
|
attr_accessor content: ::String
|
|
450
486
|
SENSITIVE: [:content]
|
|
@@ -1070,6 +1106,14 @@ module Aws::Bedrock
|
|
|
1070
1106
|
class DeleteCustomModelResponse < Aws::EmptyStructure
|
|
1071
1107
|
end
|
|
1072
1108
|
|
|
1109
|
+
class DeleteEnforcedGuardrailConfigurationRequest
|
|
1110
|
+
attr_accessor config_id: ::String
|
|
1111
|
+
SENSITIVE: []
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
class DeleteEnforcedGuardrailConfigurationResponse < Aws::EmptyStructure
|
|
1115
|
+
end
|
|
1116
|
+
|
|
1073
1117
|
class DeleteFoundationModelAgreementRequest
|
|
1074
1118
|
attr_accessor model_id: ::String
|
|
1075
1119
|
SENSITIVE: []
|
|
@@ -1439,7 +1483,7 @@ module Aws::Bedrock
|
|
|
1439
1483
|
class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest
|
|
1440
1484
|
attr_accessor policy_arn: ::String
|
|
1441
1485
|
attr_accessor build_workflow_id: ::String
|
|
1442
|
-
attr_accessor asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION")
|
|
1486
|
+
attr_accessor asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION" | "GENERATED_TEST_CASES")
|
|
1443
1487
|
SENSITIVE: []
|
|
1444
1488
|
end
|
|
1445
1489
|
|
|
@@ -2319,6 +2363,17 @@ module Aws::Bedrock
|
|
|
2319
2363
|
SENSITIVE: []
|
|
2320
2364
|
end
|
|
2321
2365
|
|
|
2366
|
+
class ListEnforcedGuardrailsConfigurationRequest
|
|
2367
|
+
attr_accessor next_token: ::String
|
|
2368
|
+
SENSITIVE: []
|
|
2369
|
+
end
|
|
2370
|
+
|
|
2371
|
+
class ListEnforcedGuardrailsConfigurationResponse
|
|
2372
|
+
attr_accessor guardrails_config: ::Array[Types::AccountEnforcedGuardrailOutputConfiguration]
|
|
2373
|
+
attr_accessor next_token: ::String
|
|
2374
|
+
SENSITIVE: []
|
|
2375
|
+
end
|
|
2376
|
+
|
|
2322
2377
|
class ListEvaluationJobsRequest
|
|
2323
2378
|
attr_accessor creation_time_after: ::Time
|
|
2324
2379
|
attr_accessor creation_time_before: ::Time
|
|
@@ -2756,6 +2811,19 @@ module Aws::Bedrock
|
|
|
2756
2811
|
SENSITIVE: []
|
|
2757
2812
|
end
|
|
2758
2813
|
|
|
2814
|
+
class PutEnforcedGuardrailConfigurationRequest
|
|
2815
|
+
attr_accessor config_id: ::String
|
|
2816
|
+
attr_accessor guardrail_inference_config: Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
2817
|
+
SENSITIVE: []
|
|
2818
|
+
end
|
|
2819
|
+
|
|
2820
|
+
class PutEnforcedGuardrailConfigurationResponse
|
|
2821
|
+
attr_accessor config_id: ::String
|
|
2822
|
+
attr_accessor updated_at: ::Time
|
|
2823
|
+
attr_accessor updated_by: ::String
|
|
2824
|
+
SENSITIVE: []
|
|
2825
|
+
end
|
|
2826
|
+
|
|
2759
2827
|
class PutModelInvocationLoggingConfigurationRequest
|
|
2760
2828
|
attr_accessor logging_config: Types::LoggingConfig
|
|
2761
2829
|
SENSITIVE: []
|
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.67.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.239.1
|
|
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.239.1
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|