aws-sdk-bedrock 1.87.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +15 -4
- data/lib/aws-sdk-bedrock/client_api.rb +11 -0
- data/lib/aws-sdk-bedrock/types.rb +31 -0
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +13 -2
- data/sig/types.rbs +12 -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: 3580fa914665d1d9840b701f0e297881daf038e3761c4cf698ac8a18e8fee1a6
|
|
4
|
+
data.tar.gz: 4127f6bb34a89421a6879f76889b289535944fb7eda70f3ff9af9ccb849ef2ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7979a88caf9166147ac7af18c38a5455d8fb814d81314a39609bf8e2df82de13a839529ef03f5f638f7ed2a9d22b3421c967d50d158acb3bf5a3c4d3cfc3a1ae
|
|
7
|
+
data.tar.gz: ddb507e6e199d1501aa06d2141045a7e96c593483f35e29b8382932f454041cd72fced20044d62ea59db5b833fbaa6e19a712290ecc433a324401fba1a5a7d07
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.88.0 (2026-05-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Automated Reasoning checks - Added two build workflows for policies. Iterative Refine Policy uses AI to update policy definitions based on test results and feedback. Resolve Policy Ambiguities consolidates ambiguous variables in Automated Reasoning policies, a common source of ambiguous validation.
|
|
8
|
+
|
|
4
9
|
1.87.0 (2026-05-28)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.88.0
|
|
@@ -3648,7 +3648,7 @@ module Aws::Bedrock
|
|
|
3648
3648
|
# resp.policy_arn #=> String
|
|
3649
3649
|
# resp.build_workflow_id #=> String
|
|
3650
3650
|
# resp.status #=> String, one of "SCHEDULED", "CANCEL_REQUESTED", "PREPROCESSING", "BUILDING", "TESTING", "COMPLETED", "FAILED", "CANCELLED"
|
|
3651
|
-
# resp.build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS"
|
|
3651
|
+
# resp.build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS", "RESOLVE_POLICY_AMBIGUITIES", "ITERATIVELY_REFINE_POLICY"
|
|
3652
3652
|
# resp.document_name #=> String
|
|
3653
3653
|
# resp.document_content_type #=> String, one of "pdf", "txt"
|
|
3654
3654
|
# resp.document_description #=> String
|
|
@@ -5455,7 +5455,7 @@ module Aws::Bedrock
|
|
|
5455
5455
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].policy_arn #=> String
|
|
5456
5456
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_id #=> String
|
|
5457
5457
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].status #=> String, one of "SCHEDULED", "CANCEL_REQUESTED", "PREPROCESSING", "BUILDING", "TESTING", "COMPLETED", "FAILED", "CANCELLED"
|
|
5458
|
-
# 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"
|
|
5458
|
+
# 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", "RESOLVE_POLICY_AMBIGUITIES", "ITERATIVELY_REFINE_POLICY"
|
|
5459
5459
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].created_at #=> Time
|
|
5460
5460
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].updated_at #=> Time
|
|
5461
5461
|
# resp.next_token #=> String
|
|
@@ -7252,7 +7252,7 @@ module Aws::Bedrock
|
|
|
7252
7252
|
#
|
|
7253
7253
|
# resp = client.start_automated_reasoning_policy_build_workflow({
|
|
7254
7254
|
# policy_arn: "AutomatedReasoningPolicyArn", # required
|
|
7255
|
-
# build_workflow_type: "INGEST_CONTENT", # required, accepts INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS
|
|
7255
|
+
# build_workflow_type: "INGEST_CONTENT", # required, accepts INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS, RESOLVE_POLICY_AMBIGUITIES, ITERATIVELY_REFINE_POLICY
|
|
7256
7256
|
# client_request_token: "IdempotencyToken",
|
|
7257
7257
|
# source_content: { # required
|
|
7258
7258
|
# policy_definition: {
|
|
@@ -7381,6 +7381,17 @@ module Aws::Bedrock
|
|
|
7381
7381
|
# },
|
|
7382
7382
|
# ],
|
|
7383
7383
|
# },
|
|
7384
|
+
# iterative_refinement_content: {
|
|
7385
|
+
# documents: [ # required
|
|
7386
|
+
# {
|
|
7387
|
+
# document: "data", # required
|
|
7388
|
+
# document_content_type: "pdf", # required, accepts pdf, txt
|
|
7389
|
+
# document_name: "AutomatedReasoningPolicyBuildDocumentName", # required
|
|
7390
|
+
# document_description: "AutomatedReasoningPolicyBuildDocumentDescription",
|
|
7391
|
+
# },
|
|
7392
|
+
# ],
|
|
7393
|
+
# feedback: "AutomatedReasoningPolicyBuildFeedback",
|
|
7394
|
+
# },
|
|
7384
7395
|
# },
|
|
7385
7396
|
# },
|
|
7386
7397
|
# })
|
|
@@ -8284,7 +8295,7 @@ module Aws::Bedrock
|
|
|
8284
8295
|
tracer: tracer
|
|
8285
8296
|
)
|
|
8286
8297
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
8287
|
-
context[:gem_version] = '1.
|
|
8298
|
+
context[:gem_version] = '1.88.0'
|
|
8288
8299
|
Seahorse::Client::Request.new(handlers, context)
|
|
8289
8300
|
end
|
|
8290
8301
|
|
|
@@ -100,6 +100,7 @@ module Aws::Bedrock
|
|
|
100
100
|
AutomatedReasoningPolicyBuildDocumentContentType = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentContentType')
|
|
101
101
|
AutomatedReasoningPolicyBuildDocumentDescription = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentDescription')
|
|
102
102
|
AutomatedReasoningPolicyBuildDocumentName = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentName')
|
|
103
|
+
AutomatedReasoningPolicyBuildFeedback = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildFeedback')
|
|
103
104
|
AutomatedReasoningPolicyBuildLog = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildLog')
|
|
104
105
|
AutomatedReasoningPolicyBuildLogEntry = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildLogEntry')
|
|
105
106
|
AutomatedReasoningPolicyBuildLogEntryList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyBuildLogEntryList')
|
|
@@ -175,6 +176,8 @@ module Aws::Bedrock
|
|
|
175
176
|
AutomatedReasoningPolicyHash = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyHash')
|
|
176
177
|
AutomatedReasoningPolicyId = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyId')
|
|
177
178
|
AutomatedReasoningPolicyIngestContentAnnotation = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyIngestContentAnnotation')
|
|
179
|
+
AutomatedReasoningPolicyIterativeRefinementContent = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyIterativeRefinementContent')
|
|
180
|
+
AutomatedReasoningPolicyIterativeRefinementDocumentList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyIterativeRefinementDocumentList')
|
|
178
181
|
AutomatedReasoningPolicyJustificationList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyJustificationList')
|
|
179
182
|
AutomatedReasoningPolicyJustificationText = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyJustificationText')
|
|
180
183
|
AutomatedReasoningPolicyLineNumberList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyLineNumberList')
|
|
@@ -1366,6 +1369,12 @@ module Aws::Bedrock
|
|
|
1366
1369
|
AutomatedReasoningPolicyIngestContentAnnotation.add_member(:content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyAnnotationIngestContent, required: true, location_name: "content"))
|
|
1367
1370
|
AutomatedReasoningPolicyIngestContentAnnotation.struct_class = Types::AutomatedReasoningPolicyIngestContentAnnotation
|
|
1368
1371
|
|
|
1372
|
+
AutomatedReasoningPolicyIterativeRefinementContent.add_member(:documents, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyIterativeRefinementDocumentList, required: true, location_name: "documents"))
|
|
1373
|
+
AutomatedReasoningPolicyIterativeRefinementContent.add_member(:feedback, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildFeedback, location_name: "feedback"))
|
|
1374
|
+
AutomatedReasoningPolicyIterativeRefinementContent.struct_class = Types::AutomatedReasoningPolicyIterativeRefinementContent
|
|
1375
|
+
|
|
1376
|
+
AutomatedReasoningPolicyIterativeRefinementDocumentList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowDocument)
|
|
1377
|
+
|
|
1369
1378
|
AutomatedReasoningPolicyJustificationList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyJustificationText)
|
|
1370
1379
|
|
|
1371
1380
|
AutomatedReasoningPolicyLineNumberList.member = Shapes::ShapeRef.new(shape: Integer)
|
|
@@ -1538,10 +1547,12 @@ module Aws::Bedrock
|
|
|
1538
1547
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:documents, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowDocumentList, location_name: "documents"))
|
|
1539
1548
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:policy_repair_assets, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowRepairContent, location_name: "policyRepairAssets"))
|
|
1540
1549
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:generate_fidelity_report_content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyGenerateFidelityReportContent, location_name: "generateFidelityReportContent"))
|
|
1550
|
+
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:iterative_refinement_content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyIterativeRefinementContent, location_name: "iterativeRefinementContent"))
|
|
1541
1551
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1542
1552
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:documents, Types::AutomatedReasoningPolicyWorkflowTypeContent::Documents)
|
|
1543
1553
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:policy_repair_assets, Types::AutomatedReasoningPolicyWorkflowTypeContent::PolicyRepairAssets)
|
|
1544
1554
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:generate_fidelity_report_content, Types::AutomatedReasoningPolicyWorkflowTypeContent::GenerateFidelityReportContent)
|
|
1555
|
+
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:iterative_refinement_content, Types::AutomatedReasoningPolicyWorkflowTypeContent::IterativeRefinementContent)
|
|
1545
1556
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:unknown, Types::AutomatedReasoningPolicyWorkflowTypeContent::Unknown)
|
|
1546
1557
|
AutomatedReasoningPolicyWorkflowTypeContent.struct_class = Types::AutomatedReasoningPolicyWorkflowTypeContent
|
|
1547
1558
|
|
|
@@ -1953,6 +1953,29 @@ module Aws::Bedrock
|
|
|
1953
1953
|
include Aws::Structure
|
|
1954
1954
|
end
|
|
1955
1955
|
|
|
1956
|
+
# Configuration for an iterative policy refinement workflow, including
|
|
1957
|
+
# source documents to process and optional feedback to guide the
|
|
1958
|
+
# refinement.
|
|
1959
|
+
#
|
|
1960
|
+
# @!attribute [rw] documents
|
|
1961
|
+
# Source documents used for iterative policy refinement. These
|
|
1962
|
+
# documents provide context for refining the policy definition.
|
|
1963
|
+
# @return [Array<Types::AutomatedReasoningPolicyBuildWorkflowDocument>]
|
|
1964
|
+
#
|
|
1965
|
+
# @!attribute [rw] feedback
|
|
1966
|
+
# Optional feedback to guide the iterative refinement workflow.
|
|
1967
|
+
# Provide specific instructions or constraints for policy refinement.
|
|
1968
|
+
# @return [String]
|
|
1969
|
+
#
|
|
1970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyIterativeRefinementContent AWS API Documentation
|
|
1971
|
+
#
|
|
1972
|
+
class AutomatedReasoningPolicyIterativeRefinementContent < Struct.new(
|
|
1973
|
+
:documents,
|
|
1974
|
+
:feedback)
|
|
1975
|
+
SENSITIVE = [:feedback]
|
|
1976
|
+
include Aws::Structure
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1956
1979
|
# A container for various mutation operations that can be applied to an
|
|
1957
1980
|
# Automated Reasoning policy, including adding, updating, and deleting
|
|
1958
1981
|
# policy elements.
|
|
@@ -2682,12 +2705,19 @@ module Aws::Bedrock
|
|
|
2682
2705
|
# report to update with a new policy definition.
|
|
2683
2706
|
# @return [Types::AutomatedReasoningPolicyGenerateFidelityReportContent]
|
|
2684
2707
|
#
|
|
2708
|
+
# @!attribute [rw] iterative_refinement_content
|
|
2709
|
+
# Content configuration to start an iterative policy refinement
|
|
2710
|
+
# workflow that uses generative AI to automatically make changes to
|
|
2711
|
+
# the policy based on test results and the optional feedback provided.
|
|
2712
|
+
# @return [Types::AutomatedReasoningPolicyIterativeRefinementContent]
|
|
2713
|
+
#
|
|
2685
2714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyWorkflowTypeContent AWS API Documentation
|
|
2686
2715
|
#
|
|
2687
2716
|
class AutomatedReasoningPolicyWorkflowTypeContent < Struct.new(
|
|
2688
2717
|
:documents,
|
|
2689
2718
|
:policy_repair_assets,
|
|
2690
2719
|
:generate_fidelity_report_content,
|
|
2720
|
+
:iterative_refinement_content,
|
|
2691
2721
|
:unknown)
|
|
2692
2722
|
SENSITIVE = []
|
|
2693
2723
|
include Aws::Structure
|
|
@@ -2696,6 +2726,7 @@ module Aws::Bedrock
|
|
|
2696
2726
|
class Documents < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2697
2727
|
class PolicyRepairAssets < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2698
2728
|
class GenerateFidelityReportContent < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2729
|
+
class IterativeRefinementContent < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2699
2730
|
class Unknown < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2700
2731
|
end
|
|
2701
2732
|
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -983,7 +983,7 @@ module Aws
|
|
|
983
983
|
def policy_arn: () -> ::String
|
|
984
984
|
def build_workflow_id: () -> ::String
|
|
985
985
|
def status: () -> ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
986
|
-
def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
986
|
+
def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
987
987
|
def document_name: () -> ::String
|
|
988
988
|
def document_content_type: () -> ("pdf" | "txt")
|
|
989
989
|
def document_description: () -> ::String
|
|
@@ -1812,7 +1812,7 @@ module Aws
|
|
|
1812
1812
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#start_automated_reasoning_policy_build_workflow-instance_method
|
|
1813
1813
|
def start_automated_reasoning_policy_build_workflow: (
|
|
1814
1814
|
policy_arn: ::String,
|
|
1815
|
-
build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS"),
|
|
1815
|
+
build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY"),
|
|
1816
1816
|
?client_request_token: ::String,
|
|
1817
1817
|
source_content: {
|
|
1818
1818
|
policy_definition: Params::automated_reasoning_policy_definition?,
|
|
@@ -1839,6 +1839,17 @@ module Aws
|
|
|
1839
1839
|
document_description: ::String?
|
|
1840
1840
|
}
|
|
1841
1841
|
]?
|
|
1842
|
+
}?,
|
|
1843
|
+
iterative_refinement_content: {
|
|
1844
|
+
documents: Array[
|
|
1845
|
+
{
|
|
1846
|
+
document: ::String,
|
|
1847
|
+
document_content_type: ("pdf" | "txt"),
|
|
1848
|
+
document_name: ::String,
|
|
1849
|
+
document_description: ::String?
|
|
1850
|
+
}
|
|
1851
|
+
],
|
|
1852
|
+
feedback: ::String?
|
|
1842
1853
|
}?
|
|
1843
1854
|
}?
|
|
1844
1855
|
}
|
data/sig/types.rbs
CHANGED
|
@@ -428,7 +428,7 @@ module Aws::Bedrock
|
|
|
428
428
|
attr_accessor policy_arn: ::String
|
|
429
429
|
attr_accessor build_workflow_id: ::String
|
|
430
430
|
attr_accessor status: ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
431
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
431
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
432
432
|
attr_accessor created_at: ::Time
|
|
433
433
|
attr_accessor updated_at: ::Time
|
|
434
434
|
SENSITIVE: []
|
|
@@ -582,6 +582,12 @@ module Aws::Bedrock
|
|
|
582
582
|
SENSITIVE: [:content]
|
|
583
583
|
end
|
|
584
584
|
|
|
585
|
+
class AutomatedReasoningPolicyIterativeRefinementContent
|
|
586
|
+
attr_accessor documents: ::Array[Types::AutomatedReasoningPolicyBuildWorkflowDocument]
|
|
587
|
+
attr_accessor feedback: ::String
|
|
588
|
+
SENSITIVE: [:feedback]
|
|
589
|
+
end
|
|
590
|
+
|
|
585
591
|
class AutomatedReasoningPolicyMutation
|
|
586
592
|
attr_accessor add_type: Types::AutomatedReasoningPolicyAddTypeMutation
|
|
587
593
|
attr_accessor update_type: Types::AutomatedReasoningPolicyUpdateTypeMutation
|
|
@@ -790,6 +796,7 @@ module Aws::Bedrock
|
|
|
790
796
|
attr_accessor documents: ::Array[Types::AutomatedReasoningPolicyBuildWorkflowDocument]
|
|
791
797
|
attr_accessor policy_repair_assets: Types::AutomatedReasoningPolicyBuildWorkflowRepairContent
|
|
792
798
|
attr_accessor generate_fidelity_report_content: Types::AutomatedReasoningPolicyGenerateFidelityReportContent
|
|
799
|
+
attr_accessor iterative_refinement_content: Types::AutomatedReasoningPolicyIterativeRefinementContent
|
|
793
800
|
attr_accessor unknown: untyped
|
|
794
801
|
SENSITIVE: []
|
|
795
802
|
|
|
@@ -799,6 +806,8 @@ module Aws::Bedrock
|
|
|
799
806
|
end
|
|
800
807
|
class GenerateFidelityReportContent < AutomatedReasoningPolicyWorkflowTypeContent
|
|
801
808
|
end
|
|
809
|
+
class IterativeRefinementContent < AutomatedReasoningPolicyWorkflowTypeContent
|
|
810
|
+
end
|
|
802
811
|
class Unknown < AutomatedReasoningPolicyWorkflowTypeContent
|
|
803
812
|
end
|
|
804
813
|
end
|
|
@@ -1717,7 +1726,7 @@ module Aws::Bedrock
|
|
|
1717
1726
|
attr_accessor policy_arn: ::String
|
|
1718
1727
|
attr_accessor build_workflow_id: ::String
|
|
1719
1728
|
attr_accessor status: ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
1720
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
1729
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
1721
1730
|
attr_accessor document_name: ::String
|
|
1722
1731
|
attr_accessor document_content_type: ("pdf" | "txt")
|
|
1723
1732
|
attr_accessor document_description: ::String
|
|
@@ -3402,7 +3411,7 @@ module Aws::Bedrock
|
|
|
3402
3411
|
|
|
3403
3412
|
class StartAutomatedReasoningPolicyBuildWorkflowRequest
|
|
3404
3413
|
attr_accessor policy_arn: ::String
|
|
3405
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
3414
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
3406
3415
|
attr_accessor client_request_token: ::String
|
|
3407
3416
|
attr_accessor source_content: Types::AutomatedReasoningPolicyBuildWorkflowSource
|
|
3408
3417
|
SENSITIVE: []
|