@Override
    @Deprecated
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and
an optional value. If a resource already has a tag with the same key, this operation updates its value.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws InvalidRequestException
        The request is not valid.
@sample AmazonWorkLink.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource" target="_top">AWS API
     Documentation</a>
aws-java-sdk-worklink/src/main/java/com/amazonaws/services/worklink/AmazonWorkLinkClient.java