TagResource
Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.
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.
- resourceArn
-
The Amazon Resource Name (ARN) for the signing profile.
Required: Yes
Request Body
The request accepts the following data in JSON format.
-
One or more tags to be associated with the signing profile.
Type: String to string map
Map Entries: Maximum number of 200 items.
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Key Pattern:
^(?!aws:)[a-zA-Z+-=._:/]+$
Value Length Constraints: Maximum length of 256.
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.
Errors
For information about the errors that are common to all actions, see Common Errors.
- BadRequestException
-
The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
HTTP Status Code: 400
- InternalServiceErrorException
-
An internal error occurred.
HTTP Status Code: 500
- NotFoundException
-
The signing profile was not found.
HTTP Status Code: 404
- TooManyRequestsException
-
The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException
.HTTP Status Code: 429
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: