Struct aws_sdk_connectparticipant::client::fluent_builders::SendMessage [−][src]
pub struct SendMessage<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SendMessage
.
Sends a message. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Implementations
impl<C, M, R> SendMessage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SendMessage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<SendMessageOutput, SdkError<SendMessageError>> where
R::Policy: SmithyRetryPolicy<SendMessageInputOperationOutputAlias, SendMessageOutput, SendMessageError, SendMessageInputOperationRetryAlias>,
pub async fn send(self) -> Result<SendMessageOutput, SdkError<SendMessageError>> where
R::Policy: SmithyRetryPolicy<SendMessageInputOperationOutputAlias, SendMessageOutput, SendMessageError, SendMessageInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The type of the content. Supported types are text/plain.
The type of the content. Supported types are text/plain.
The content of the message.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The authentication token associated with the connection.
The authentication token associated with the connection.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for SendMessage<C, M, R>
impl<C, M, R> Unpin for SendMessage<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for SendMessage<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more