AutomatedReasoningPolicyDefinitionQualityReport - Amazon Bedrock

AutomatedReasoningPolicyDefinitionQualityReport

Provides a comprehensive analysis of the quality and completeness of an Automated Reasoning policy definition, highlighting potential issues and optimization opportunities.

Contents

conflictingRules

A list of rules that may conflict with each other, potentially leading to inconsistent policy behavior.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 500 items.

Length Constraints: Fixed length of 12.

Pattern: [A-Z][0-9A-Z]{11}

Required: Yes

disjointRuleSets

Groups of rules that operate on completely separate sets of variables, indicating the policy may be addressing multiple unrelated concerns.

Type: Array of AutomatedReasoningPolicyDisjointRuleSet objects

Required: Yes

ruleCount

The total number of rules defined in the policy.

Type: Integer

Required: Yes

typeCount

The total number of custom types defined in the policy.

Type: Integer

Required: Yes

unusedTypes

A list of custom types that are defined but not referenced by any variables or rules, suggesting they may be unnecessary.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 150 items.

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z][A-Za-z0-9_]*

Required: Yes

unusedTypeValues

A list of type values that are defined but never used in any rules, indicating potential cleanup opportunities.

Type: Array of AutomatedReasoningPolicyDefinitionTypeValuePair objects

Array Members: Minimum number of 1 item. Maximum number of 22500 items.

Required: Yes

unusedVariables

A list of variables that are defined but not referenced by any rules, suggesting they may be unnecessary.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 600 items.

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z][A-Za-z0-9_]*

Required: Yes

variableCount

The total number of variables defined in the policy.

Type: Integer

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: