@Override
    public SendMessageResult sendMessage(SendMessageRequest request) {
        request = beforeClientExecution(request);
        return executeSendMessage(request);
    }
<p>
Sends a message.
</p>
<note>
<p>
<code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.
</p>
</note>
<p>
The Amazon Connect Participant Service APIs do not use <a
href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4
authentication</a>.
</p>

@param sendMessageRequest
@return Result of the SendMessage operation returned by the service.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws InternalServerException
        This exception occurs when there is an internal failure in the Amazon Connect service.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws ValidationException
        The input fails to satisfy the constraints specified by Amazon Connect.
@sample AmazonConnectParticipant.SendMessage
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendMessage" target="_top">AWS
     API Documentation</a>
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantClient.java