tag_resource
async
¶
tag_resource(
arn: Arn,
tags: Tags,
*,
config_overrides: Optional[AsyncConnectCasesClientConfig] = None,
) -> None
Adds tags to a resource.
Parameters:
-
arn(Arn) –The Amazon Resource Name (ARN)
-
tags(Tags) –A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–We couldn't process your request because of an issue with the server. Try again later.
-
ResourceNotFoundException–We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.
-
ThrottlingException–The rate has been exceeded for this API. Please try again after a few minutes.
-
ValidationException–The request isn't valid. Check the syntax and try again.
-
UnknownServiceError–The service returned an error code this client does not model.