http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/tagsReturns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call.
Pagination limit
Pagination token
The pagination token. This is for future use. Currently pagination is not supported for tagging.
The <code>MaxResults</code> parameter sets the maximum number of results returned in a single page. This is for future use and is not supported currently.
The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/tags' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/tagsReturns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call.
Pagination limit
Pagination token
The pagination token. This is for future use. Currently pagination is not supported for tagging.
The <code>MaxResults</code> parameter sets the maximum number of results returned in a single page. This is for future use and is not supported currently.
The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/tags' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}