CmdID

CmdID / aws / aws iotthingsgraph

aws iotthingsgraph list-tags-for-resource

Lists all tags on an AWS IoT Things Graph resource. AWS CLI reference

1 example 3 options 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 list all tags for a resource

The following list-tags-for-resource example list all tags for an AWS IoT Things Graph resource.

aws iotthingsgraph list-tags-for-resource --resource-arn "arn:aws:iotthingsgraph:us-west-2:123456789012:Deployment/default/Room218"Identify
--resource-arnThe Amazon Resource Name (ARN) of the resource whose tags are to be returned.
Its output
{
    "tags": [
        {
            "key": "Type",
            "value": "Residential"
        }
    ]
}

Options

3 in the AWS CLI reference
--max-resultsThe maximum number of tags to return.
--next-tokenThe token that specifies the next page of results to return.
--resource-arnThe Amazon Resource Name (ARN) of the resource whose tags are to be returned.