@Override
    public TagResourceResult tagResource(TagResourceRequest request) {
        request = beforeClientExecution(request);
        return executeTagResource(request);
    }
<p>
Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can
help you organize and categorize your resources. You can also use them to scope user permissions by granting a
user permission to access or change only resources with certain tag values. In Connect Customer Profiles,
domains, profile object types, and integrations can be tagged.
</p>
<p>
Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.
</p>
<p>
You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag
is appended to the list of tags associated with the resource. If you specify a tag key that is already associated
with the resource, the new tag value that you specify replaces the previous value for that tag.
</p>
<p>
You can associate as many as 50 tags with a resource.
</p>

@param tagResourceRequest
@return Result of the TagResource operation returned by the service.
@throws InternalServerException
        An internal service error occurred.
@throws BadRequestException
        The input you provided is invalid.
@throws ResourceNotFoundException
        The requested resource does not exist, or access was denied.
@sample AmazonCustomerProfiles.TagResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/TagResource" target="_top">AWS
     API Documentation</a>
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/AmazonCustomerProfilesClient.java