AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-01-16 · Documentation low

File: cli/latest/reference/datazone/create-rule.md

Summary

Restructured parameters for create-rule command: reordered parameters, updated pattern constraints by removing regex anchors (^/$), swapped --detail and --target structures, changed tagged union keys from glossaryTermEnforcementDetail/metadataFormEnforcementDetail to domainUnitTarget, and reorganized output fields.

Security assessment

The changes involve parameter reorganization, pattern constraint updates (removing regex anchors), and structural modifications to tagged unions. There is no evidence of security vulnerability fixes, security incident references, or new security features. The modifications appear to be routine updates to command syntax and parameter descriptions without security implications.

Diff

diff --git a/cli/latest/reference/datazone/create-rule.md b/cli/latest/reference/datazone/create-rule.md
index 1cd0563a1..f7e3198ad 100644
--- a//cli/latest/reference/datazone/create-rule.md
+++ b//cli/latest/reference/datazone/create-rule.md
@@ -15 +15 @@
-  * [AWS CLI 2.32.33 Command Reference](../../index.html) »
+  * [AWS CLI 2.33.1 Command Reference](../../index.html) »
@@ -67,4 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-    --action <value>
-    [--client-token <value>]
-    [--description <value>]
-    --detail <value>
@@ -73 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-    --scope <value>
@@ -74,0 +70,5 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
+    --action <value>
+    --scope <value>
+    --detail <value>
+    [--description <value>]
+    [--client-token <value>]
@@ -99,12 +99 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-`--action` (string) [required]
-
-> The action of the rule.
-> 
-> Possible values:
-> 
->   * `CREATE_LISTING_CHANGE_SET`
->   * `CREATE_SUBSCRIPTION_REQUEST`
-> 
-
-
-`--client-token` (string)
+`--domain-identifier` (string) [required]
@@ -112 +101 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-> A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
+> The ID of the domain where the rule is created.
@@ -116,3 +105 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->   * min: `1`
->   * max: `128`
->   * pattern: `^[\x21-\x7E]+$`
+>   * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}`
@@ -122 +109 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-`--description` (string)
+`--name` (string) [required]
@@ -124 +111 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-> The description of the rule.
+> The name of the rule.
@@ -128,2 +115,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->   * min: `0`
->   * max: `2048`
+>   * min: `1`
+>   * max: `256`
+>   * pattern: `[\w -]+`
@@ -133 +121 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-`--detail` (tagged union structure) [required]
+`--target` (tagged union structure) [required]
@@ -135 +123 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-> The detail of the rule.
+> The target of the rule.
@@ -139 +127 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-> This is a Tagged Union structure. Only one of the following top level keys can be set: `glossaryTermEnforcementDetail`, `metadataFormEnforcementDetail`.
+> This is a Tagged Union structure. Only one of the following top level keys can be set: `domainUnitTarget`.
@@ -141 +129 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
-> glossaryTermEnforcementDetail -> (structure)
+> domainUnitTarget -> (structure)
@@ -143 +131 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->> The enforcement details of a glossary term that’s part of the metadata rule.
+>> The ID of the domain unit.
@@ -145 +133 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->> requiredGlossaryTermIds -> (list)
+>> domainUnitId -> (string) [required]
@@ -147 +135 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->>> The ID of the required glossary term.
+>>> The ID of the domain unit.
@@ -152 +140,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->>>   * max: `5`
+>>>   * max: `256`
+>>>   * pattern: `[a-z0-9_\-]+`
@@ -155,12 +143,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->>> 
->>> (string)
->>>
->>>> Constraints:
->>>> 
->>>>   * pattern: `^[a-zA-Z0-9_-]{1,36}$`
->>>> 
-
-> 
-> metadataFormEnforcementDetail -> (structure)
->
->> The enforcement detail of the metadata form.
@@ -168 +145 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->> requiredMetadataForms -> (list)
+>> includeChildDomainUnits -> (boolean)
@@ -170,7 +147 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->>> The required metadata forms.
->>> 
->>> Constraints:
->>> 
->>>   * min: `1`
->>>   * max: `5`
->>> 
+>>> Specifies whether to apply a rule to the child domain units.
@@ -178,15 +149 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->>> 
->>> (structure)
->>>
->>>> The reference of a metadata form.
->>>> 
->>>> typeIdentifier -> (string) [required]
->>>>
->>>>> The type ID of the metadata form reference.
->>>>> 
->>>>> Constraints:
->>>>> 
->>>>>   * min: `1`
->>>>>   * max: `385`
->>>>>   * pattern: `^(?!\.)[\w\.]*\w$`
->>>>> 
+Shorthand Syntax:
@@ -194,10 +151,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo
->>>> 
->>>> typeRevision -> (string) [required]
->>>>
->>>>> The type revision of the metadata form reference.
->>>>> 
->>>>> Constraints:
->>>>> 
->>>>>   * min: `1`
->>>>>   * max: `64`
->>>>> 
+    
+    domainUnitTarget={domainUnitId=string,includeChildDomainUnits=boolean}
@@ -210,11 +159,3 @@ JSON Syntax:
-      "glossaryTermEnforcementDetail": {
-        "requiredGlossaryTermIds": ["string", ...]
-      },
-      "metadataFormEnforcementDetail": {
-        "requiredMetadataForms": [
-          {
-            "typeIdentifier": "string",
-            "typeRevision": "string"
-          }
-          ...
-        ]
+      "domainUnitTarget": {
+        "domainUnitId": "string",
+        "includeChildDomainUnits": true|false
@@ -225,11 +166 @@ JSON Syntax:
-`--domain-identifier` (string) [required]
-
-> The ID of the domain where the rule is created.
-> 
-> Constraints:
-> 
->   * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$`
-> 
-
-
-`--name` (string) [required]
+`--action` (string) [required]
@@ -237 +168 @@ JSON Syntax:
-> The name of the rule.
+> The action of the rule.
@@ -239 +170 @@ JSON Syntax:
-> Constraints:
+> Possible values:
@@ -241,3 +172,2 @@ JSON Syntax:
->   * min: `1`
->   * max: `256`
->   * pattern: `^[\w -]+$`
+>   * `CREATE_LISTING_CHANGE_SET`
+>   * `CREATE_SUBSCRIPTION_REQUEST`
@@ -282 +212 @@ JSON Syntax:
->>>>   * pattern: `^(?!\.)[\w\.]*\w$`
+>>>>   * pattern: `(?!\.)[\w\.]*\w`
@@ -319 +249 @@ JSON Syntax:
->>>>   * pattern: `^[a-zA-Z0-9_-]{1,36}$`
+>>>>   * pattern: `[a-zA-Z0-9_-]{1,36}`
@@ -345 +275 @@ JSON Syntax:
-`--target` (tagged union structure) [required]
+`--detail` (tagged union structure) [required]
@@ -347 +277 @@ JSON Syntax:
-> The target of the rule.
+> The detail of the rule.
@@ -351 +281 @@ JSON Syntax:
-> This is a Tagged Union structure. Only one of the following top level keys can be set: `domainUnitTarget`.
+> This is a Tagged Union structure. Only one of the following top level keys can be set: `metadataFormEnforcementDetail`, `glossaryTermEnforcementDetail`.
@@ -353 +283 @@ JSON Syntax:
-> domainUnitTarget -> (structure)
+> metadataFormEnforcementDetail -> (structure)
@@ -355 +285 @@ JSON Syntax:
->> The ID of the domain unit.
+>> The enforcement detail of the metadata form.
@@ -357 +287 @@ JSON Syntax:
->> domainUnitId -> (string) [required]
+>> requiredMetadataForms -> (list)
@@ -359 +289 @@ JSON Syntax:
->>> The ID of the domain unit.