AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-10-10 · Documentation low

File: cli/latest/reference/servicediscovery/update-private-dns-namespace.md

Summary

Added example for updating private DNS namespace using ARN and updated example IDs

Security assessment

Change improves documentation clarity but does not address security vulnerabilities or add security features. Example ID updates are routine documentation maintenance.

Diff

diff --git a/cli/latest/reference/servicediscovery/update-private-dns-namespace.md b/cli/latest/reference/servicediscovery/update-private-dns-namespace.md
index 0fa9d4bcc..92666ca2d 100644
--- a//cli/latest/reference/servicediscovery/update-private-dns-namespace.md
+++ b//cli/latest/reference/servicediscovery/update-private-dns-namespace.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.8 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.10 Command Reference](../../index.html) »
@@ -272 +272 @@ Unless otherwise stated, all examples have unix-like quotation rules. These exam
-**To update a private DNS namespace**
+**Example 1: To update a private DNS namespace using ID**
@@ -274 +274 @@ Unless otherwise stated, all examples have unix-like quotation rules. These exam
-The following `update-private-dns-namespace` example updates the description of a private DNS namespace.
+The following `update-private-dns-namespace` example updates the description of a private DNS namespace using namespace ID.
@@ -278,2 +278,2 @@ The following `update-private-dns-namespace` example updates the description of
-        --id ns-bk3aEXAMPLE \
-        --updater-request-id example-private-request-id \
+        --id ns-abcd1234xmpl5678 \
+        --updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
@@ -287 +287 @@ Output:
-        "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
+        "OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
@@ -292,0 +293,21 @@ To confirm that the operation succeeded, you can run `get-operation`.
+For more information, see [AWS Cloud Map namespaces](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-namespaces.html) in the _AWS Cloud Map Developer Guide_.
+
+**Example 2: To update a private DNS namespace using ARN**
+
+The following `update-private-dns-namespace` example updates a private DNS namespace using its ARN.
+    
+    
+    aws servicediscovery update-private-dns-namespace \
+        --id arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-abcd1234xmpl5678 \
+        --updater-request-id abcd1234-5678-90ab-cdef-xmpl12345678 \
+        --namespace Description="The updated namespace description."
+    
+
+Output:
+    
+    
+    {
+        "OperationId": "abcd1234-5678-90ab-cdef-xmpl12345678"
+    }
+    
+
@@ -317 +338 @@ OperationId -> (string)
-  * [AWS CLI 2.31.8 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.10 Command Reference](../../index.html) »