AWS cli documentation change
Summary
Updated documentation for update-case-rule command to add new fieldOptions and hidden structures in Tagged Union, including detailed configuration parameters and JSON syntax examples
Security assessment
The changes primarily expand configuration options for case rules with field dependencies and visibility conditions. While the 'hidden' structure controls field visibility, there's no explicit mention of security vulnerabilities or security-specific implementations. The updates appear to be feature enhancements rather than security fixes.
Diff
diff --git a/cli/latest/reference/connectcases/update-case-rule.md b/cli/latest/reference/connectcases/update-case-rule.md index bf35f08a7..5316edb82 100644 --- a//cli/latest/reference/connectcases/update-case-rule.md +++ b//cli/latest/reference/connectcases/update-case-rule.md @@ -15 +15 @@ - * [AWS CLI 2.31.26 Command Reference](../../index.html) » + * [AWS CLI 2.31.27 Command Reference](../../index.html) » @@ -147 +147 @@ 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: `required`. +> This is a Tagged Union structure. Only one of the following top level keys can be set: `required`, `fieldOptions`, `hidden`. @@ -274,0 +275,217 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/connec +>>>>>> +>>>>>> 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. +> +> fieldOptions -> (structure) +> +>> Which options are available in a child field based on the selected value in a parent field. +>> +>> parentFieldId -> (string) +>> +>>> The identifier of the parent field that controls options. +>>> +>>> Constraints: +>>> +>>> * min: `1` +>>> * max: `500` +>>> + +>> +>> childFieldId -> (string) +>> +>>> The identifier of the child field whose options are controlled. +>>> +>>> Constraints: +>>> +>>> * min: `1` +>>> * max: `500` +>>> + +>> +>> parentChildFieldOptionsMappings -> (list) [required] +>> +>>> A mapping between a parent field option value and child field option values. +>>> +>>> Constraints: +>>> +>>> * min: `1` +>>> * max: `200` +>>> + +>>> +>>> (structure) +>>> +>>>> A mapping between a parent field option value and child field option values. +>>>> +>>>> parentFieldOptionValue -> (string) [required] +>>>> +>>>>> The value in the parent field. +>>>>> +>>>>> Constraints: +>>>>> +>>>>> * min: `0` +>>>>> * max: `100` +>>>>> * pattern: `$|^.*[\S]` +>>>>> + +>>>> +>>>> childFieldOptionValues -> (list) [required] +>>>> +>>>>> A list of allowed values in the child field. +>>>>> +>>>>> Constraints: +>>>>> +>>>>> * min: `0` +>>>>> * max: `1500` +>>>>> + +>>>>> +>>>>> (string) +>>>>> +>>>>>> Constraints: +>>>>>> +>>>>>> * min: `0` +>>>>>> * max: `100` +>>>>>> * pattern: `$|^.*[\S]` +>>>>>> + +> +> hidden -> (structure) +> +>> Whether a field is visible, based on values in other fields. +>> +>> defaultValue -> (boolean) [required] +>> +>>> Whether the field is hidden when no conditions match. +>> +>> conditions -> (list) [required] +>> +>>> A list of conditions that determine field visibility. +>>> +>>> 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`. +>>>> +>>>> 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)