Skip to content

Commit 5f250f4

Browse files
author
AWS
committed
Amazon Bedrock Update: This release includes model updates and enhanced SDK documentation for union fields in automated reasoning policy components. Added docs cover policy definitions, mutations (add/update for rules/types/variables), build assets, workflow sources, test results, and tag exception handling.
1 parent 3d0f116 commit 5f250f4

File tree

2 files changed

+55
-12
lines changed

2 files changed

+55
-12
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock",
4+
"contributor": "",
5+
"description": "This release includes model updates and enhanced SDK documentation for union fields in automated reasoning policy components. Added docs cover policy definitions, mutations (add/update for rules/types/variables), build assets, workflow sources, test results, and tag exception handling."
6+
}

services/bedrock/src/main/resources/codegen-resources/service-2.json

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
{"shape":"ValidationException"},
113113
{"shape":"ConflictException"},
114114
{"shape":"InternalServerException"},
115+
{"shape":"TooManyTagsException"},
115116
{"shape":"ServiceQuotaExceededException"},
116117
{"shape":"ThrottlingException"}
117118
],
@@ -2287,7 +2288,10 @@
22872288
"type":"structure",
22882289
"required":["rule"],
22892290
"members":{
2290-
"rule":{"shape":"AutomatedReasoningPolicyDefinitionRule"}
2291+
"rule":{
2292+
"shape":"AutomatedReasoningPolicyDefinitionRule",
2293+
"documentation":"<p>The rule definition that specifies the formal logical expression and metadata for the new rule being added to the policy.</p>"
2294+
}
22912295
},
22922296
"documentation":"<p>A mutation operation that adds a new rule to the policy definition during the build process.</p>"
22932297
},
@@ -2318,7 +2322,10 @@
23182322
"type":"structure",
23192323
"required":["type"],
23202324
"members":{
2321-
"type":{"shape":"AutomatedReasoningPolicyDefinitionType"}
2325+
"type":{
2326+
"shape":"AutomatedReasoningPolicyDefinitionType",
2327+
"documentation":"<p>The type definition that specifies the name, description, and possible values for the new custom type being added to the policy.</p>"
2328+
}
23222329
},
23232330
"documentation":"<p>A mutation operation that adds a new custom type to the policy definition during the build process.</p>"
23242331
},
@@ -2364,7 +2371,10 @@
23642371
"type":"structure",
23652372
"required":["variable"],
23662373
"members":{
2367-
"variable":{"shape":"AutomatedReasoningPolicyDefinitionVariable"}
2374+
"variable":{
2375+
"shape":"AutomatedReasoningPolicyDefinitionVariable",
2376+
"documentation":"<p>The variable definition that specifies the name, type, and description for the new variable being added to the policy.</p>"
2377+
}
23682378
},
23692379
"documentation":"<p>A mutation operation that adds a new variable to the policy definition during the build process.</p>"
23702380
},
@@ -2543,7 +2553,10 @@
25432553
"AutomatedReasoningPolicyBuildResultAssets":{
25442554
"type":"structure",
25452555
"members":{
2546-
"policyDefinition":{"shape":"AutomatedReasoningPolicyDefinition"},
2556+
"policyDefinition":{
2557+
"shape":"AutomatedReasoningPolicyDefinition",
2558+
"documentation":"<p>The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.</p>"
2559+
},
25472560
"qualityReport":{
25482561
"shape":"AutomatedReasoningPolicyDefinitionQualityReport",
25492562
"documentation":"<p>A comprehensive report analyzing the quality of the generated policy, including metrics about rule coverage, potential conflicts, and unused elements.</p>"
@@ -2677,7 +2690,10 @@
26772690
"AutomatedReasoningPolicyBuildWorkflowSource":{
26782691
"type":"structure",
26792692
"members":{
2680-
"policyDefinition":{"shape":"AutomatedReasoningPolicyDefinition"},
2693+
"policyDefinition":{
2694+
"shape":"AutomatedReasoningPolicyDefinition",
2695+
"documentation":"<p>An existing policy definition that serves as the starting point for the build workflow, typically used in policy repair or update scenarios.</p>"
2696+
},
26812697
"workflowContent":{
26822698
"shape":"AutomatedReasoningPolicyWorkflowTypeContent",
26832699
"documentation":"<p>The actual content to be processed in the build workflow, such as documents to analyze or repair instructions to apply.</p>"
@@ -2781,9 +2797,18 @@
27812797
"AutomatedReasoningPolicyDefinitionElement":{
27822798
"type":"structure",
27832799
"members":{
2784-
"policyDefinitionVariable":{"shape":"AutomatedReasoningPolicyDefinitionVariable"},
2785-
"policyDefinitionType":{"shape":"AutomatedReasoningPolicyDefinitionType"},
2786-
"policyDefinitionRule":{"shape":"AutomatedReasoningPolicyDefinitionRule"}
2800+
"policyDefinitionVariable":{
2801+
"shape":"AutomatedReasoningPolicyDefinitionVariable",
2802+
"documentation":"<p>A variable element within the policy definition that represents a concept used in logical expressions and rules.</p>"
2803+
},
2804+
"policyDefinitionType":{
2805+
"shape":"AutomatedReasoningPolicyDefinitionType",
2806+
"documentation":"<p>A custom type element within the policy definition that defines a set of possible values for variables.</p>"
2807+
},
2808+
"policyDefinitionRule":{
2809+
"shape":"AutomatedReasoningPolicyDefinitionRule",
2810+
"documentation":"<p>A rule element within the policy definition that contains a formal logical expression used for validation.</p>"
2811+
}
27872812
},
27882813
"documentation":"<p>Represents a single element in an Automated Reasoning policy definition, such as a rule, variable, or type definition.</p>",
27892814
"union":true
@@ -3410,7 +3435,10 @@
34103435
"updatedAt"
34113436
],
34123437
"members":{
3413-
"testCase":{"shape":"AutomatedReasoningPolicyTestCase"},
3438+
"testCase":{
3439+
"shape":"AutomatedReasoningPolicyTestCase",
3440+
"documentation":"<p>The test case that was executed, including the input content, expected results, and configuration parameters used during validation.</p>"
3441+
},
34143442
"policyArn":{
34153443
"shape":"AutomatedReasoningPolicyArn",
34163444
"documentation":"<p>The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.</p>"
@@ -3536,7 +3564,10 @@
35363564
"type":"structure",
35373565
"required":["rule"],
35383566
"members":{
3539-
"rule":{"shape":"AutomatedReasoningPolicyDefinitionRule"}
3567+
"rule":{
3568+
"shape":"AutomatedReasoningPolicyDefinitionRule",
3569+
"documentation":"<p>The updated rule definition containing the modified formal logical expression and any changed metadata for the existing rule.</p>"
3570+
}
35403571
},
35413572
"documentation":"<p>A mutation operation that modifies an existing rule in the policy definition during the build process.</p>"
35423573
},
@@ -3570,7 +3601,10 @@
35703601
"type":"structure",
35713602
"required":["type"],
35723603
"members":{
3573-
"type":{"shape":"AutomatedReasoningPolicyDefinitionType"}
3604+
"type":{
3605+
"shape":"AutomatedReasoningPolicyDefinitionType",
3606+
"documentation":"<p>The updated type definition containing the modified name, description, or values for the existing custom type.</p>"
3607+
}
35743608
},
35753609
"documentation":"<p>A mutation operation that modifies an existing custom type in the policy definition during the build process.</p>"
35763610
},
@@ -3616,7 +3650,10 @@
36163650
"type":"structure",
36173651
"required":["variable"],
36183652
"members":{
3619-
"variable":{"shape":"AutomatedReasoningPolicyDefinitionVariable"}
3653+
"variable":{
3654+
"shape":"AutomatedReasoningPolicyDefinitionVariable",
3655+
"documentation":"<p>The updated variable definition containing the modified name, type, or description for the existing variable.</p>"
3656+
}
36203657
},
36213658
"documentation":"<p>A mutation operation that modifies an existing variable in the policy definition during the build process.</p>"
36223659
},

0 commit comments

Comments
 (0)