Struct aws_sdk_connectparticipant::client::fluent_builders::SendEvent [−][src]
pub struct SendEvent<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SendEvent
.
Sends an event. 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> SendEvent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SendEvent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<SendEventOutput, SdkError<SendEventError>> where
R::Policy: SmithyRetryPolicy<SendEventInputOperationOutputAlias, SendEventOutput, SendEventError, SendEventInputOperationRetryAlias>,
pub async fn send(self) -> Result<SendEventOutput, SdkError<SendEventError>> where
R::Policy: SmithyRetryPolicy<SendEventInputOperationOutputAlias, SendEventOutput, SendEventError, SendEventInputOperationRetryAlias>,
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 content type of the request. Supported types are:
-
application/vnd.amazonaws.connect.event.typing
-
application/vnd.amazonaws.connect.event.connection.acknowledged
The content type of the request. Supported types are:
-
application/vnd.amazonaws.connect.event.typing
-
application/vnd.amazonaws.connect.event.connection.acknowledged
The content of the event to be sent (for example, message text). This is not yet supported.
The content of the event to be sent (for example, message text). This is not yet supported.
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 participant's connection.
The authentication token associated with the participant's connection.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for SendEvent<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for SendEvent<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