@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Use to assign one or more tags to a resource.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws InternalServerException
        The server encountered an internal error and is unable to complete the request.
@throws ValidationException
        The parameter is not valid.
@throws ResourceNotFoundException
        The resource specified in the request does not exist.
@sample AmazonCodeGuruProfiler.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResource" target="_top">AWS
     API Documentation</a>
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/AmazonCodeGuruProfilerClient.java