AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-05-16 · Documentation low

File: code-library/latest/ug/cli_2_lakeformation_code_examples.md

Summary

Moved 'list-lf-tags' example section to a different location in the document while removing 'get-resource-lf-tags' example. Content remains similar but references different API.

Security assessment

This is a documentation reorganization without security implications. The change updates example references but doesn't address vulnerabilities or security features. LF-tags are access control mechanisms, but this change doesn't modify security guidance.

Diff

diff --git a/code-library/latest/ug/cli_2_lakeformation_code_examples.md b/code-library/latest/ug/cli_2_lakeformation_code_examples.md
index 605c5b961..c081889d7 100644
--- a//code-library/latest/ug/cli_2_lakeformation_code_examples.md
+++ b//code-library/latest/ug/cli_2_lakeformation_code_examples.md
@@ -895,54 +894,0 @@ For more information, see [Transactional data operations](https://docs.aws.amazo
-The following code example shows how to use `get-resource-lf-tags`.
-
-**AWS CLI**
-    
-
-**To list LF-tags**
-
-The following `list-lf-tags` example returns list of LF-tags that the requester has permission to view.
-    
-    
-    aws lakeformation list-lf-tags \
-        --cli-input-json file://input.json
-    
-
-Contents of `input.json`:
-    
-    
-    {
-        "CatalogId": "123456789111",
-        "ResourceShareType": "ALL",
-        "MaxResults": 2
-    }
-
-Output:
-    
-    
-    {
-    "LFTags": [{
-            "CatalogId": "123456789111",
-            "TagKey": "category",
-            "TagValues": [
-                "private",
-                "public"
-            ]
-        },
-        {
-            "CatalogId": "123456789111",
-            "TagKey": "group",
-            "TagValues": [
-                "analyst",
-                "campaign",
-                "developer"
-            ]
-        }],
-        "NextToken": "kIiwiZXhwaXJhdGlvbiI6eyJzZWNvbmRzIjoxNjYwMDY4dCI6ZmFsc2V9"
-    }
-
-For more information, see [Managing LF-Tags for metadata access control](https://docs.aws.amazon.com/lake-formation/latest/dg/managing-tags.html) in the _AWS Lake Formation Developer Guide_.
-
-  * For API details, see [GetResourceLfTags](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lakeformation/get-resource-lf-tags.html) in _AWS CLI Command Reference_. 
-
-
-
-
@@ -1319,0 +1266,54 @@ For more information, see [Data filtering and cell-level security in Lake Format
+The following code example shows how to use `list-lf-tags`.
+
+**AWS CLI**
+    
+
+**To list LF-tags**
+
+The following `list-lf-tags` example returns list of LF-tags that the requester has permission to view.
+    
+    
+    aws lakeformation list-lf-tags \
+        --cli-input-json file://input.json
+    
+
+Contents of `input.json`:
+    
+    
+    {
+        "CatalogId": "123456789111",
+        "ResourceShareType": "ALL",
+        "MaxResults": 2
+    }
+
+Output:
+    
+    
+    {
+    "LFTags": [{
+            "CatalogId": "123456789111",
+            "TagKey": "category",
+            "TagValues": [
+                "private",
+                "public"
+            ]
+        },
+        {
+            "CatalogId": "123456789111",
+            "TagKey": "group",
+            "TagValues": [
+                "analyst",
+                "campaign",
+                "developer"
+            ]
+        }],
+        "NextToken": "kIiwiZXhwaXJhdGlvbiI6eyJzZWNvbmRzIjoxNjYwMDY4dCI6ZmFsc2V9"
+    }
+
+For more information, see [Managing LF-Tags for metadata access control](https://docs.aws.amazon.com/lake-formation/latest/dg/managing-tags.html) in the _AWS Lake Formation Developer Guide_.
+
+  * For API details, see [ListLfTags](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lakeformation/list-lf-tags.html) in _AWS CLI Command Reference_. 
+
+
+
+