CmdID

CmdID / aws / aws resourcegroupstaggingapi

aws resourcegroupstaggingapi get-tag-keys

Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling account. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get a list of all tag keys

The following get-tag-keys example retrieves the list of all tag key names used by resources in the account.

aws resourcegroupstaggingapi get-tag-keysIdentify
Its output
{
    "TagKeys": [
        "Environment",
        "CostCenter",
        "Department"
    ]
}

For more information, see What is Tag Editor? in the Tagging AWS Resources and Tag Editor User Guide.

Options

1 in the AWS CLI reference
--pagination-tokenSpecifies a PaginationToken response value from a previous request to indicate that you want the next page of results.