AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-03-13 · Documentation low

File: cli/latest/reference/connectcases/update-case-rule.md

Summary

Updated documentation to add 'andAll' and 'orAll' logical operators for compound conditions in case rules, including detailed structure definitions and JSON syntax examples

Security assessment

The changes add documentation for new logical operators (AND/OR) in condition combinations but do not address vulnerabilities or security weaknesses. While enhanced condition logic could be used to create more precise security rules, the documentation update itself describes general feature enhancements rather than security fixes or security-specific capabilities.

Diff

diff --git a/cli/latest/reference/connectcases/update-case-rule.md b/cli/latest/reference/connectcases/update-case-rule.md
index 5a60be04f..1f5d1a46e 100644
--- a//cli/latest/reference/connectcases/update-case-rule.md
+++ b//cli/latest/reference/connectcases/update-case-rule.md
@@ -15 +15 @@
-  * [AWS CLI 2.34.5 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.8 Command Reference](../../index.html) »
@@ -175 +175 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/connec
->>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `equalTo`, `notEqualTo`.
+>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `equalTo`, `notEqualTo`, `andAll`, `orAll`.
@@ -291,0 +292,294 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/connec
+>>>> 
+>>>> andAll -> (structure)
+>>>>
+>>>>> Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.
+>>>>> 
+>>>>> conditions -> (list) [required]
+>>>>>
+>>>>>> The list of conditions to combine using the logical operator.
+>>>>>> 
+>>>>>> Constraints:
+>>>>>> 
+>>>>>>   * min: `0`
+>>>>>>   * max: `100`
+>>>>>> 
+
+>>>>>> 
+>>>>>> (tagged union structure)
+>>>>>>
+>>>>>>> Boolean condition for a rule. In the Amazon Connect admin website, case rules are known as _case field conditions_ . For more information about case field conditions, see [Add case field conditions to a case template](https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html) .
+>>>>>>> 
+>>>>>>> ### Note
+>>>>>>> 
+>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `equalTo`, `notEqualTo`, `andAll`, `orAll`.
+>>>>>>> 
+>>>>>>> equalTo -> (structure)
+>>>>>>>
+>>>>>>>> Tests that operandOne is equal to operandTwo.
+>>>>>>>> 
+>>>>>>>> operandOne -> (tagged union structure) [required]
+>>>>>>>>
+>>>>>>>>> Represents the left hand operand in the condition.
+>>>>>>>>> 
+>>>>>>>>> ### Note
+>>>>>>>>> 
+>>>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `fieldId`.
+>>>>>>>>> 
+>>>>>>>>> fieldId -> (string)
+>>>>>>>>>
+>>>>>>>>>> The field ID that this operand should take the value of.
+>>>>>>>>>> 
+>>>>>>>>>> Constraints:
+>>>>>>>>>> 
+>>>>>>>>>>   * min: `1`
+>>>>>>>>>>   * max: `500`
+>>>>>>>>>> 
+
+>>>>>>>> 
+>>>>>>>> operandTwo -> (tagged union structure) [required]
+>>>>>>>>
+>>>>>>>>> Represents the right hand operand in the condition.
+>>>>>>>>> 
+>>>>>>>>> ### Note
+>>>>>>>>> 
+>>>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `stringValue`, `booleanValue`, `doubleValue`, `emptyValue`.
+>>>>>>>>> 
+>>>>>>>>> stringValue -> (string)
+>>>>>>>>>
+>>>>>>>>>> String value type.
+>>>>>>>>>> 
+>>>>>>>>>> Constraints:
+>>>>>>>>>> 
+>>>>>>>>>>   * min: `1`
+>>>>>>>>>>   * max: `1500`
+>>>>>>>>>> 
+
+>>>>>>>>> 
+>>>>>>>>> booleanValue -> (boolean)
+>>>>>>>>>
+>>>>>>>>>> Boolean value type.
+>>>>>>>>> 
+>>>>>>>>> doubleValue -> (double)
+>>>>>>>>>
+>>>>>>>>>> Double value type.
+>>>>>>>>> 
+>>>>>>>>> emptyValue -> (structure)
+>>>>>>>>>
+>>>>>>>>>> Empty value type.
+>>>>>>>> 
+>>>>>>>> result -> (boolean) [required]
+>>>>>>>>
+>>>>>>>>> The value of the outer rule if the condition evaluates to true.
+>>>>>>> 
+>>>>>>> notEqualTo -> (structure)
+>>>>>>>
+>>>>>>>> Tests that operandOne is not equal to operandTwo.
+>>>>>>>> 
+>>>>>>>> operandOne -> (tagged union structure) [required]
+>>>>>>>>
+>>>>>>>>> Represents the left hand operand in the condition.
+>>>>>>>>> 
+>>>>>>>>> ### Note
+>>>>>>>>> 
+>>>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `fieldId`.
+>>>>>>>>> 
+>>>>>>>>> fieldId -> (string)
+>>>>>>>>>
+>>>>>>>>>> The field ID that this operand should take the value of.
+>>>>>>>>>> 
+>>>>>>>>>> Constraints:
+>>>>>>>>>> 
+>>>>>>>>>>   * min: `1`
+>>>>>>>>>>   * max: `500`
+>>>>>>>>>> 
+
+>>>>>>>> 
+>>>>>>>> operandTwo -> (tagged union structure) [required]
+>>>>>>>>
+>>>>>>>>> Represents the right hand operand in the condition.
+>>>>>>>>> 
+>>>>>>>>> ### Note
+>>>>>>>>> 
+>>>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `stringValue`, `booleanValue`, `doubleValue`, `emptyValue`.
+>>>>>>>>> 
+>>>>>>>>> stringValue -> (string)
+>>>>>>>>>
+>>>>>>>>>> String value type.
+>>>>>>>>>> 
+>>>>>>>>>> Constraints:
+>>>>>>>>>> 
+>>>>>>>>>>   * min: `1`
+>>>>>>>>>>   * max: `1500`
+>>>>>>>>>> 
+
+>>>>>>>>> 
+>>>>>>>>> booleanValue -> (boolean)
+>>>>>>>>>
+>>>>>>>>>> Boolean value type.
+>>>>>>>>> 
+>>>>>>>>> doubleValue -> (double)
+>>>>>>>>>
+>>>>>>>>>> Double value type.
+>>>>>>>>> 
+>>>>>>>>> emptyValue -> (structure)
+>>>>>>>>>
+>>>>>>>>>> Empty value type.
+>>>>>>>> 
+>>>>>>>> result -> (boolean) [required]
+>>>>>>>>
+>>>>>>>>> The value of the outer rule if the condition evaluates to true.
+>>>>>>> 
+>>>>>>> andAll -> (structure)
+>>>>>>>
+>>>>>>>> Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.
+>>>>>>> 
+>>>>>>> orAll -> (structure)
+>>>>>>>
+>>>>>>>> Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.
+>>>> 
+>>>> orAll -> (structure)
+>>>>
+>>>>> Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.
+>>>>> 
+>>>>> conditions -> (list) [required]
+>>>>>
+>>>>>> The list of conditions to combine using the logical operator.
+>>>>>> 
+>>>>>> Constraints:
+>>>>>> 
+>>>>>>   * min: `0`
+>>>>>>   * max: `100`
+>>>>>> 
+
+>>>>>> 
+>>>>>> (tagged union structure)
+>>>>>>
+>>>>>>> Boolean condition for a rule. In the Amazon Connect admin website, case rules are known as _case field conditions_ . For more information about case field conditions, see [Add case field conditions to a case template](https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html) .
+>>>>>>> 
+>>>>>>> ### Note
+>>>>>>> 
+>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `equalTo`, `notEqualTo`, `andAll`, `orAll`.
+>>>>>>> 
+>>>>>>> equalTo -> (structure)
+>>>>>>>
+>>>>>>>> Tests that operandOne is equal to operandTwo.
+>>>>>>>> 
+>>>>>>>> operandOne -> (tagged union structure) [required]
+>>>>>>>>
+>>>>>>>>> Represents the left hand operand in the condition.
+>>>>>>>>> 
+>>>>>>>>> ### Note
+>>>>>>>>> 
+>>>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `fieldId`.
+>>>>>>>>> 
+>>>>>>>>> fieldId -> (string)
+>>>>>>>>>
+>>>>>>>>>> The field ID that this operand should take the value of.
+>>>>>>>>>> 
+>>>>>>>>>> Constraints:
+>>>>>>>>>>