@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Adds <a href="https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html">tags</a> to a detector,
dataset, or alert.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws InternalServerException
        The request processing has failed because of an unknown error, exception, or failure.
@throws ValidationException
        The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
        again.
@throws ResourceNotFoundException
        The specified resource cannot be found. Check the ARN of the resource and try again.
@sample AmazonLookoutMetrics.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/TagResource" target="_top">AWS API
     Documentation</a>
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/AmazonLookoutMetricsClient.java