aws-sdk-bedrock 1.76.0 → 1.78.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 +12 -4
- data/lib/aws-sdk-bedrock/client_api.rb +16 -0
- data/lib/aws-sdk-bedrock/types.rb +32 -2
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +7 -3
- data/sig/types.rbs +11 -3
- 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: c71113ac2eaaebc85d30559990644fbae7aedefa2376786b1a85fe06e9bb9f88
|
|
4
|
+
data.tar.gz: e3533024403ece68505b4bad37b0fc27b903c234f378803bd5ad238d3fa6cc04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45e0aa3f8b07a9bb8a2ca48b81e921fe8187fa06b50e3bfdc1c761f3a1083a316f3fe8d84d560c68a2aeb61d5a3fade7875c1ce4e53e5911f5824a44c496fa4d
|
|
7
|
+
data.tar.gz: f9c3d84ae6b2f45b98cb7052cc38dcbc2da499d33032de3066d6f8a983b4a7e31c17003d22de45dbfd2dce950ab604c88e5b5f4f0f8ed62a8936ce520f0483ba
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.78.0 (2026-03-16)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - You can now generate policy scenarios on demand using the new GENERATE POLICY SCENARIOS build workflow type. Scenarios will no longer be automatically generated during INGEST CONTENT, REFINE POLICY, and IMPORT POLICY workflows, resulting in faster completion times for these operations.
|
|
8
|
+
|
|
9
|
+
1.77.0 (2026-03-06)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon Bedrock Guardrails account-level enforcement APIs now support lists for model inclusion and exclusion from guardrail enforcement.
|
|
13
|
+
|
|
4
14
|
1.76.0 (2026-02-27)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.78.0
|
|
@@ -3417,7 +3417,7 @@ module Aws::Bedrock
|
|
|
3417
3417
|
# resp.policy_arn #=> String
|
|
3418
3418
|
# resp.build_workflow_id #=> String
|
|
3419
3419
|
# resp.status #=> String, one of "SCHEDULED", "CANCEL_REQUESTED", "PREPROCESSING", "BUILDING", "TESTING", "COMPLETED", "FAILED", "CANCELLED"
|
|
3420
|
-
# resp.build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT"
|
|
3420
|
+
# resp.build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS"
|
|
3421
3421
|
# resp.document_name #=> String
|
|
3422
3422
|
# resp.document_content_type #=> String, one of "pdf", "txt"
|
|
3423
3423
|
# resp.document_description #=> String
|
|
@@ -5137,7 +5137,7 @@ module Aws::Bedrock
|
|
|
5137
5137
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].policy_arn #=> String
|
|
5138
5138
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_id #=> String
|
|
5139
5139
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].status #=> String, one of "SCHEDULED", "CANCEL_REQUESTED", "PREPROCESSING", "BUILDING", "TESTING", "COMPLETED", "FAILED", "CANCELLED"
|
|
5140
|
-
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT"
|
|
5140
|
+
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS"
|
|
5141
5141
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].created_at #=> Time
|
|
5142
5142
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].updated_at #=> Time
|
|
5143
5143
|
# resp.next_token #=> String
|
|
@@ -5607,6 +5607,10 @@ module Aws::Bedrock
|
|
|
5607
5607
|
# resp.guardrails_config[0].updated_at #=> Time
|
|
5608
5608
|
# resp.guardrails_config[0].updated_by #=> String
|
|
5609
5609
|
# resp.guardrails_config[0].owner #=> String, one of "ACCOUNT"
|
|
5610
|
+
# resp.guardrails_config[0].model_enforcement.included_models #=> Array
|
|
5611
|
+
# resp.guardrails_config[0].model_enforcement.included_models[0] #=> String
|
|
5612
|
+
# resp.guardrails_config[0].model_enforcement.excluded_models #=> Array
|
|
5613
|
+
# resp.guardrails_config[0].model_enforcement.excluded_models[0] #=> String
|
|
5610
5614
|
# resp.next_token #=> String
|
|
5611
5615
|
#
|
|
5612
5616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfiguration AWS API Documentation
|
|
@@ -6721,6 +6725,10 @@ module Aws::Bedrock
|
|
|
6721
6725
|
# guardrail_identifier: "GuardrailIdentifier", # required
|
|
6722
6726
|
# guardrail_version: "GuardrailNumericalVersion", # required
|
|
6723
6727
|
# input_tags: "HONOR", # required, accepts HONOR, IGNORE
|
|
6728
|
+
# model_enforcement: {
|
|
6729
|
+
# included_models: ["IncludedModelId"], # required
|
|
6730
|
+
# excluded_models: ["ExcludedModelId"], # required
|
|
6731
|
+
# },
|
|
6724
6732
|
# },
|
|
6725
6733
|
# })
|
|
6726
6734
|
#
|
|
@@ -6885,7 +6893,7 @@ module Aws::Bedrock
|
|
|
6885
6893
|
#
|
|
6886
6894
|
# resp = client.start_automated_reasoning_policy_build_workflow({
|
|
6887
6895
|
# policy_arn: "AutomatedReasoningPolicyArn", # required
|
|
6888
|
-
# build_workflow_type: "INGEST_CONTENT", # required, accepts INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT
|
|
6896
|
+
# build_workflow_type: "INGEST_CONTENT", # required, accepts INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS
|
|
6889
6897
|
# client_request_token: "IdempotencyToken",
|
|
6890
6898
|
# source_content: { # required
|
|
6891
6899
|
# policy_definition: {
|
|
@@ -7895,7 +7903,7 @@ module Aws::Bedrock
|
|
|
7895
7903
|
tracer: tracer
|
|
7896
7904
|
)
|
|
7897
7905
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7898
|
-
context[:gem_version] = '1.
|
|
7906
|
+
context[:gem_version] = '1.78.0'
|
|
7899
7907
|
Seahorse::Client::Request.new(handlers, context)
|
|
7900
7908
|
end
|
|
7901
7909
|
|
|
@@ -376,6 +376,8 @@ module Aws::Bedrock
|
|
|
376
376
|
EvaluatorModelConfig = Shapes::UnionShape.new(name: 'EvaluatorModelConfig')
|
|
377
377
|
EvaluatorModelIdentifier = Shapes::StringShape.new(name: 'EvaluatorModelIdentifier')
|
|
378
378
|
EvaluatorModelIdentifiers = Shapes::ListShape.new(name: 'EvaluatorModelIdentifiers')
|
|
379
|
+
ExcludedModelId = Shapes::StringShape.new(name: 'ExcludedModelId')
|
|
380
|
+
ExcludedModelsList = Shapes::ListShape.new(name: 'ExcludedModelsList')
|
|
379
381
|
ExportAutomatedReasoningPolicyVersionRequest = Shapes::StructureShape.new(name: 'ExportAutomatedReasoningPolicyVersionRequest')
|
|
380
382
|
ExportAutomatedReasoningPolicyVersionResponse = Shapes::StructureShape.new(name: 'ExportAutomatedReasoningPolicyVersionResponse')
|
|
381
383
|
ExternalSource = Shapes::StructureShape.new(name: 'ExternalSource')
|
|
@@ -560,6 +562,8 @@ module Aws::Bedrock
|
|
|
560
562
|
ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
|
|
561
563
|
ImportedModelSummary = Shapes::StructureShape.new(name: 'ImportedModelSummary')
|
|
562
564
|
ImportedModelSummaryList = Shapes::ListShape.new(name: 'ImportedModelSummaryList')
|
|
565
|
+
IncludedModelId = Shapes::StringShape.new(name: 'IncludedModelId')
|
|
566
|
+
IncludedModelsList = Shapes::ListShape.new(name: 'IncludedModelsList')
|
|
563
567
|
InferenceProfileArn = Shapes::StringShape.new(name: 'InferenceProfileArn')
|
|
564
568
|
InferenceProfileDescription = Shapes::StringShape.new(name: 'InferenceProfileDescription')
|
|
565
569
|
InferenceProfileId = Shapes::StringShape.new(name: 'InferenceProfileId')
|
|
@@ -671,6 +675,7 @@ module Aws::Bedrock
|
|
|
671
675
|
ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
|
|
672
676
|
ModelDataSource = Shapes::UnionShape.new(name: 'ModelDataSource')
|
|
673
677
|
ModelDeploymentName = Shapes::StringShape.new(name: 'ModelDeploymentName')
|
|
678
|
+
ModelEnforcement = Shapes::StructureShape.new(name: 'ModelEnforcement')
|
|
674
679
|
ModelId = Shapes::StringShape.new(name: 'ModelId')
|
|
675
680
|
ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
|
|
676
681
|
ModelImportJobArn = Shapes::StringShape.new(name: 'ModelImportJobArn')
|
|
@@ -867,6 +872,7 @@ module Aws::Bedrock
|
|
|
867
872
|
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location_name: "guardrailIdentifier"))
|
|
868
873
|
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, required: true, location_name: "guardrailVersion"))
|
|
869
874
|
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:input_tags, Shapes::ShapeRef.new(shape: InputTags, required: true, location_name: "inputTags"))
|
|
875
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:model_enforcement, Shapes::ShapeRef.new(shape: ModelEnforcement, location_name: "modelEnforcement"))
|
|
870
876
|
AccountEnforcedGuardrailInferenceInputConfiguration.struct_class = Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
871
877
|
|
|
872
878
|
AccountEnforcedGuardrailOutputConfiguration.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
@@ -879,6 +885,7 @@ module Aws::Bedrock
|
|
|
879
885
|
AccountEnforcedGuardrailOutputConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
880
886
|
AccountEnforcedGuardrailOutputConfiguration.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
|
|
881
887
|
AccountEnforcedGuardrailOutputConfiguration.add_member(:owner, Shapes::ShapeRef.new(shape: ConfigurationOwner, location_name: "owner"))
|
|
888
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:model_enforcement, Shapes::ShapeRef.new(shape: ModelEnforcement, location_name: "modelEnforcement"))
|
|
882
889
|
AccountEnforcedGuardrailOutputConfiguration.struct_class = Types::AccountEnforcedGuardrailOutputConfiguration
|
|
883
890
|
|
|
884
891
|
AccountEnforcedGuardrailsOutputConfiguration.member = Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailOutputConfiguration)
|
|
@@ -2010,6 +2017,8 @@ module Aws::Bedrock
|
|
|
2010
2017
|
|
|
2011
2018
|
EvaluatorModelIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluatorModelIdentifier)
|
|
2012
2019
|
|
|
2020
|
+
ExcludedModelsList.member = Shapes::ShapeRef.new(shape: ExcludedModelId)
|
|
2021
|
+
|
|
2013
2022
|
ExportAutomatedReasoningPolicyVersionRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyArn, required: true, location: "uri", location_name: "policyArn"))
|
|
2014
2023
|
ExportAutomatedReasoningPolicyVersionRequest.struct_class = Types::ExportAutomatedReasoningPolicyVersionRequest
|
|
2015
2024
|
|
|
@@ -2693,6 +2702,8 @@ module Aws::Bedrock
|
|
|
2693
2702
|
|
|
2694
2703
|
ImportedModelSummaryList.member = Shapes::ShapeRef.new(shape: ImportedModelSummary)
|
|
2695
2704
|
|
|
2705
|
+
IncludedModelsList.member = Shapes::ShapeRef.new(shape: IncludedModelId)
|
|
2706
|
+
|
|
2696
2707
|
InferenceProfileModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, location_name: "modelArn"))
|
|
2697
2708
|
InferenceProfileModel.struct_class = Types::InferenceProfileModel
|
|
2698
2709
|
|
|
@@ -3085,6 +3096,10 @@ module Aws::Bedrock
|
|
|
3085
3096
|
ModelDataSource.add_member_subclass(:unknown, Types::ModelDataSource::Unknown)
|
|
3086
3097
|
ModelDataSource.struct_class = Types::ModelDataSource
|
|
3087
3098
|
|
|
3099
|
+
ModelEnforcement.add_member(:included_models, Shapes::ShapeRef.new(shape: IncludedModelsList, required: true, location_name: "includedModels"))
|
|
3100
|
+
ModelEnforcement.add_member(:excluded_models, Shapes::ShapeRef.new(shape: ExcludedModelsList, required: true, location_name: "excludedModels"))
|
|
3101
|
+
ModelEnforcement.struct_class = Types::ModelEnforcement
|
|
3102
|
+
|
|
3088
3103
|
ModelImportJobSummaries.member = Shapes::ShapeRef.new(shape: ModelImportJobSummary)
|
|
3089
3104
|
|
|
3090
3105
|
ModelImportJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelImportJobArn, required: true, location_name: "jobArn"))
|
|
@@ -4012,6 +4027,7 @@ module Aws::Bedrock
|
|
|
4012
4027
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4013
4028
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4014
4029
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4030
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
4015
4031
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4016
4032
|
end)
|
|
4017
4033
|
|
|
@@ -37,12 +37,18 @@ module Aws::Bedrock
|
|
|
37
37
|
# Whether to honor or ignore input tags at runtime.
|
|
38
38
|
# @return [String]
|
|
39
39
|
#
|
|
40
|
+
# @!attribute [rw] model_enforcement
|
|
41
|
+
# Model-specific information for the enforced guardrail configuration.
|
|
42
|
+
# If not present, the configuration is enforced on all models
|
|
43
|
+
# @return [Types::ModelEnforcement]
|
|
44
|
+
#
|
|
40
45
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AccountEnforcedGuardrailInferenceInputConfiguration AWS API Documentation
|
|
41
46
|
#
|
|
42
47
|
class AccountEnforcedGuardrailInferenceInputConfiguration < Struct.new(
|
|
43
48
|
:guardrail_identifier,
|
|
44
49
|
:guardrail_version,
|
|
45
|
-
:input_tags
|
|
50
|
+
:input_tags,
|
|
51
|
+
:model_enforcement)
|
|
46
52
|
SENSITIVE = []
|
|
47
53
|
include Aws::Structure
|
|
48
54
|
end
|
|
@@ -89,6 +95,10 @@ module Aws::Bedrock
|
|
|
89
95
|
# Configuration owner type.
|
|
90
96
|
# @return [String]
|
|
91
97
|
#
|
|
98
|
+
# @!attribute [rw] model_enforcement
|
|
99
|
+
# Model-specific information for the enforced guardrail configuration.
|
|
100
|
+
# @return [Types::ModelEnforcement]
|
|
101
|
+
#
|
|
92
102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AccountEnforcedGuardrailOutputConfiguration AWS API Documentation
|
|
93
103
|
#
|
|
94
104
|
class AccountEnforcedGuardrailOutputConfiguration < Struct.new(
|
|
@@ -101,7 +111,8 @@ module Aws::Bedrock
|
|
|
101
111
|
:created_by,
|
|
102
112
|
:updated_at,
|
|
103
113
|
:updated_by,
|
|
104
|
-
:owner
|
|
114
|
+
:owner,
|
|
115
|
+
:model_enforcement)
|
|
105
116
|
SENSITIVE = []
|
|
106
117
|
include Aws::Structure
|
|
107
118
|
end
|
|
@@ -11251,6 +11262,25 @@ module Aws::Bedrock
|
|
|
11251
11262
|
class Unknown < ModelDataSource; end
|
|
11252
11263
|
end
|
|
11253
11264
|
|
|
11265
|
+
# Model-specific information for the enforced guardrail configuration.
|
|
11266
|
+
#
|
|
11267
|
+
# @!attribute [rw] included_models
|
|
11268
|
+
# Models to enforce the guardrail on.
|
|
11269
|
+
# @return [Array<String>]
|
|
11270
|
+
#
|
|
11271
|
+
# @!attribute [rw] excluded_models
|
|
11272
|
+
# Models to exclude from enforcement of the guardrail.
|
|
11273
|
+
# @return [Array<String>]
|
|
11274
|
+
#
|
|
11275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelEnforcement AWS API Documentation
|
|
11276
|
+
#
|
|
11277
|
+
class ModelEnforcement < Struct.new(
|
|
11278
|
+
:included_models,
|
|
11279
|
+
:excluded_models)
|
|
11280
|
+
SENSITIVE = []
|
|
11281
|
+
include Aws::Structure
|
|
11282
|
+
end
|
|
11283
|
+
|
|
11254
11284
|
# Information about the import job.
|
|
11255
11285
|
#
|
|
11256
11286
|
# @!attribute [rw] job_arn
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1263,7 +1263,7 @@ module Aws
|
|
|
1263
1263
|
def policy_arn: () -> ::String
|
|
1264
1264
|
def build_workflow_id: () -> ::String
|
|
1265
1265
|
def status: () -> ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
1266
|
-
def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT")
|
|
1266
|
+
def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
1267
1267
|
def document_name: () -> ::String
|
|
1268
1268
|
def document_content_type: () -> ("pdf" | "txt")
|
|
1269
1269
|
def document_description: () -> ::String
|
|
@@ -1986,7 +1986,11 @@ module Aws
|
|
|
1986
1986
|
guardrail_inference_config: {
|
|
1987
1987
|
guardrail_identifier: ::String,
|
|
1988
1988
|
guardrail_version: ::String,
|
|
1989
|
-
input_tags: ("HONOR" | "IGNORE")
|
|
1989
|
+
input_tags: ("HONOR" | "IGNORE"),
|
|
1990
|
+
model_enforcement: {
|
|
1991
|
+
included_models: Array[::String],
|
|
1992
|
+
excluded_models: Array[::String]
|
|
1993
|
+
}?
|
|
1990
1994
|
}
|
|
1991
1995
|
) -> _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1992
1996
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
@@ -2046,7 +2050,7 @@ module Aws
|
|
|
2046
2050
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#start_automated_reasoning_policy_build_workflow-instance_method
|
|
2047
2051
|
def start_automated_reasoning_policy_build_workflow: (
|
|
2048
2052
|
policy_arn: ::String,
|
|
2049
|
-
build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT"),
|
|
2053
|
+
build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS"),
|
|
2050
2054
|
?client_request_token: ::String,
|
|
2051
2055
|
source_content: {
|
|
2052
2056
|
policy_definition: {
|
data/sig/types.rbs
CHANGED
|
@@ -17,6 +17,7 @@ module Aws::Bedrock
|
|
|
17
17
|
attr_accessor guardrail_identifier: ::String
|
|
18
18
|
attr_accessor guardrail_version: ::String
|
|
19
19
|
attr_accessor input_tags: ("HONOR" | "IGNORE")
|
|
20
|
+
attr_accessor model_enforcement: Types::ModelEnforcement
|
|
20
21
|
SENSITIVE: []
|
|
21
22
|
end
|
|
22
23
|
|
|
@@ -31,6 +32,7 @@ module Aws::Bedrock
|
|
|
31
32
|
attr_accessor updated_at: ::Time
|
|
32
33
|
attr_accessor updated_by: ::String
|
|
33
34
|
attr_accessor owner: ("ACCOUNT")
|
|
35
|
+
attr_accessor model_enforcement: Types::ModelEnforcement
|
|
34
36
|
SENSITIVE: []
|
|
35
37
|
end
|
|
36
38
|
|
|
@@ -406,7 +408,7 @@ module Aws::Bedrock
|
|
|
406
408
|
attr_accessor policy_arn: ::String
|
|
407
409
|
attr_accessor build_workflow_id: ::String
|
|
408
410
|
attr_accessor status: ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
409
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT")
|
|
411
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
410
412
|
attr_accessor created_at: ::Time
|
|
411
413
|
attr_accessor updated_at: ::Time
|
|
412
414
|
SENSITIVE: []
|
|
@@ -1614,7 +1616,7 @@ module Aws::Bedrock
|
|
|
1614
1616
|
attr_accessor policy_arn: ::String
|
|
1615
1617
|
attr_accessor build_workflow_id: ::String
|
|
1616
1618
|
attr_accessor status: ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
1617
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT")
|
|
1619
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
1618
1620
|
attr_accessor document_name: ::String
|
|
1619
1621
|
attr_accessor document_content_type: ("pdf" | "txt")
|
|
1620
1622
|
attr_accessor document_description: ::String
|
|
@@ -2840,6 +2842,12 @@ module Aws::Bedrock
|
|
|
2840
2842
|
end
|
|
2841
2843
|
end
|
|
2842
2844
|
|
|
2845
|
+
class ModelEnforcement
|
|
2846
|
+
attr_accessor included_models: ::Array[::String]
|
|
2847
|
+
attr_accessor excluded_models: ::Array[::String]
|
|
2848
|
+
SENSITIVE: []
|
|
2849
|
+
end
|
|
2850
|
+
|
|
2843
2851
|
class ModelImportJobSummary
|
|
2844
2852
|
attr_accessor job_arn: ::String
|
|
2845
2853
|
attr_accessor job_name: ::String
|
|
@@ -3224,7 +3232,7 @@ module Aws::Bedrock
|
|
|
3224
3232
|
|
|
3225
3233
|
class StartAutomatedReasoningPolicyBuildWorkflowRequest
|
|
3226
3234
|
attr_accessor policy_arn: ::String
|
|
3227
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT")
|
|
3235
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
3228
3236
|
attr_accessor client_request_token: ::String
|
|
3229
3237
|
attr_accessor source_content: Types::AutomatedReasoningPolicyBuildWorkflowSource
|
|
3230
3238
|
SENSITIVE: []
|