AWS cli documentation change
Summary
Updated AWS CLI version from 2.34.45 to 2.34.48 and added examples section
Security assessment
The added examples demonstrate normal usage of LF-tags for metadata access control, but don't address security vulnerabilities or introduce new security features. Version update is routine maintenance.
Diff
diff --git a/cli/latest/reference/lakeformation/list-lf-tags.md b/cli/latest/reference/lakeformation/list-lf-tags.md index 3b71069ac..caef5d701 100644 --- a//cli/latest/reference/lakeformation/list-lf-tags.md +++ b//cli/latest/reference/lakeformation/list-lf-tags.md @@ -15 +15 @@ - * [AWS CLI 2.34.45 Command Reference](../../index.html) » + * [AWS CLI 2.34.48 Command Reference](../../index.html) » @@ -35,0 +36 @@ + * Examples @@ -250,0 +252,54 @@ The formatting style for error output. By default, errors are displayed in enhan +## Examples¶ + +### Note + +To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the _AWS CLI User Guide_ for more information. + +Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the _AWS CLI User Guide_ . + +**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_. + @@ -327 +382 @@ NextToken -> (string) - * [AWS CLI 2.34.45 Command Reference](../../index.html) » + * [AWS CLI 2.34.48 Command Reference](../../index.html) »