

# List tags for resource

 Amazon Textract resources like adapters and Amazon Textract Insights projects, blueprints, and jobs can be tagged using the [TagResource](https://docs.aws.amazon.com/textract/latest/APIReference/API_TagResource.html) operation. You can list all the tags associated with a resource by using the [ListTagsForResource](https://docs.aws.amazon.com/textract/latest/APIReference/API_ListTagsForResource.html) operation and providing the Amazon Resource Name (ARN) associated with the resource that you want to retrieve tags for. 

To list tags for a resource with the AWS CLI or AWS SDK:
+ If you haven't already done so, install and configure the AWS CLI and the AWS SDKs. For more information, see [Step 2: Set up the AWS CLI and AWS SDKs](setup-awscli-sdk.md).
+ Use the following code to list the tags for a resource: 

------
#### [ CLI ]

```
aws textract list-tags-for-resource --region us-east-1 --resource-arn arn:aws:textract:us-east-1:000000000000:/adapters/a1b2c3d4e5c6 \
{
    "Tags": {
        "Tag": "Key"
    }
}
```

------

For an Amazon Textract Insights project, blueprint, or job, use its ARN. For examples, see [Tagging Amazon Textract Insights resources](insights-tagging.md).