@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource. Projects, features,
launches, and experiments can be tagged.
</p>
<p>
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by
granting a user permission to access or change only resources with certain tag values.
</p>
<p>
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of
characters.
</p>
<p>
You can use the <code>TagResource</code> action with a resource that already has tags. If you specify a new tag
key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag
key that is already associated with the resource, the new tag value that you specify replaces the previous value
for that tag.
</p>
<p>
You can associate as many as 50 tags with a resource.
</p>
<p>
For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon
Web Services resources</a>.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws ValidationException
        The value of a parameter in the request caused an error.
@throws ConflictException
        A resource was in an inconsistent state during an update or a deletion.
@throws ResourceNotFoundException
        The request references a resource that does not exist.
@sample AmazonCloudWatchEvidently.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource" target="_top">AWS API
     Documentation</a>
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/AmazonCloudWatchEvidentlyClient.java