@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Adds or updates tags for a resource in Shield.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws InternalErrorException
        Exception that indicates that a problem occurred with the service infrastructure. You can retry the
        request.
@throws InvalidResourceException
        Exception that indicates that the resource is invalid. You might not have access to the resource, or the
        resource might not exist.
@throws InvalidParameterException
        Exception that indicates that the parameters passed to the API are invalid. If available, this exception
        includes details in additional properties.
@throws ResourceNotFoundException
        Exception indicating the specified resource does not exist. If available, this exception includes details
        in additional properties.
@sample AWSShield.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/TagResource" target="_top">AWS API
     Documentation</a>
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/AWSShieldClient.java