tag_resource
async
¶
tag_resource(
resource_arn: TaggableResourceArn,
tags: TagMap,
*,
config_overrides: Optional[AsyncAppMonetizationClientConfig] = None,
) -> TagResourceResponse
Adds or overwrites tags on an app, pricing plan, billing metric or one-time price.
Parameters:
-
resource_arn(TaggableResourceArn) –ARN of the app, pricing plan, billing metric or one-time price to tag.
-
tags(TagMap) –Tags to add. A tag whose key already exists on the resource has its value overwritten.
Raises:
-
AccessDeniedException–The caller does not have sufficient permission to perform this action.
-
ConflictException–The request conflicts with the current state of the resource, such as a duplicate identifier or a version mismatch. Retrieve the current state of the resource and retry the request.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The referenced resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request failed input validation.
-
UnknownServiceError–The service returned an error code this client does not model.