TagResource - AWS Ground Station


Assigns a tag to a resource.

Request Syntax

POST /tags/resourceArn HTTP/1.1 Content-type: application/json { "tags": { "string" : "string" } }

URI Request Parameters

The request uses the following URI parameters.


ARN of a resource tag.

Length Constraints: Minimum length of 5. Maximum length of 1024.

Pattern: ^(arn:aws:)[\s\S]{0,1024}$

Required: Yes

Request Body

The request accepts the following data in JSON format.


Tags assigned to a resource.

Type: String to string map

Required: Yes

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


Dependency encountered an error.

HTTP Status Code: 531


One or more parameters are not valid.

HTTP Status Code: 431


Resource was not found.

HTTP Status Code: 434

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: