@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.
</p>
<p>
For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton
resources and tagging</a> in the <i>Proton User Guide</i>.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws ValidationException
        The input is invalid or an out-of-range value was supplied for the input parameter.
@throws AccessDeniedException
        There <i>isn't</i> sufficient access for performing this action.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws ConflictException
        The request <i>couldn't</i> be made due to a conflicting operation or resource.
@throws ResourceNotFoundException
        The requested resource <i>wasn't</i> found.
@throws InternalServerException
        The request failed to register with the service.
@sample AWSProton.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/TagResource" target="_top">AWS API
     Documentation</a>
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/AWSProtonClient.java