ListTagsForResource
The ListTagsForResource API allows you to return a resource's tags.
Request Syntax
GET /tags/resourceArn
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- resourceArn
-
The resource's Amazon Resource Name (ARN).
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
^arn:aws:honeycode:.+:[0-9]{12}:.+:.+$
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"tags": {
"string" : "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
-
The resource's tags.
Type: String to string map
Map Entries: Maximum number of 100 items.
Key Length Constraints: Minimum length of 1. Maximum length of 100.
Key Pattern:
^[^\n\r\x00\x08\x0B\x0C\x0E\x1F]*$
Value Length Constraints: Minimum length of 1. Maximum length of 100.
Value Pattern:
^[^\n\r\x00\x08\x0B\x0C\x0E\x1F]*$
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You do not have sufficient access to perform this action. Check that the workbook is owned by you and your IAM policy allows access to the resource in the request.
HTTP Status Code: 403
- InternalServerException
-
There were unexpected errors from the server.
HTTP Status Code: 500
- RequestTimeoutException
-
The request timed out.
HTTP Status Code: 504
- ResourceNotFoundException
-
A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
HTTP Status Code: 404
- ServiceUnavailableException
-
Remote service is unreachable.
HTTP Status Code: 503
- ThrottlingException
-
Tps(transactions per second) rate reached.
HTTP Status Code: 429
- ValidationException
-
Request is invalid. The message in the response contains details on why the request is invalid.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: