

# List tags for resource
<a name="w2aac46c25b7"></a>

 Amazon Textract resources like adapters can be tagged using the [TagResource](API_TagResource.md) operation. You can list all the tags associated with a resource by using the [ListTagsForResource](API_ListTagsForResource.md) 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 create an adapter: 

------
#### [ 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"
    }
}
```

------