

# AutomatedReasoningPolicyAddRuleMutation
<a name="API_AutomatedReasoningPolicyAddRuleMutation"></a>

A mutation operation that adds a new rule to the policy definition during the build process.

## Contents
<a name="API_AutomatedReasoningPolicyAddRuleMutation_Contents"></a>

 ** rule **   <a name="bedrock-Type-AutomatedReasoningPolicyAddRuleMutation-rule"></a>
The rule definition that specifies the formal logical expression and metadata for the new rule being added to the policy.  
Type: [AutomatedReasoningPolicyDefinitionRule](API_AutomatedReasoningPolicyDefinitionRule.md) object  
Required: Yes

## See Also
<a name="API_AutomatedReasoningPolicyAddRuleMutation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-2023-04-20/AutomatedReasoningPolicyAddRuleMutation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-2023-04-20/AutomatedReasoningPolicyAddRuleMutation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-2023-04-20/AutomatedReasoningPolicyAddRuleMutation) 