@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Adds a tag to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. You can add
a maximum of 50 tags in Internet Monitor.
</p>
<p>
A minimum of one tag is required for this call. It returns an error if you use the <code>TagResource</code>
request with 0 tags.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws TooManyRequestsException
        There were too many requests.
@throws AccessDeniedException
        You don't have sufficient permission to perform this action.
@throws NotFoundException
        The request specifies something that doesn't exist.
@throws BadRequestException
        A bad request was received.
@throws InternalServerErrorException
        There was an internal server error.
@sample AmazonInternetMonitor.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/TagResource" target="_top">AWS
     API Documentation</a>
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/AmazonInternetMonitorClient.java