Struct aws_sdk_connect::client::fluent_builders::StartContactStreaming [−][src]
pub struct StartContactStreaming<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartContactStreaming
.
Initiates real-time message streaming for a new chat contact.
For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.
Implementations
impl<C, M, R> StartContactStreaming<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartContactStreaming<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartContactStreamingOutput, SdkError<StartContactStreamingError>> where
R::Policy: SmithyRetryPolicy<StartContactStreamingInputOperationOutputAlias, StartContactStreamingOutput, StartContactStreamingError, StartContactStreamingInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartContactStreamingOutput, SdkError<StartContactStreamingError>> where
R::Policy: SmithyRetryPolicy<StartContactStreamingInputOperationOutputAlias, StartContactStreamingOutput, StartContactStreamingError, StartContactStreamingInputOperationRetryAlias>,
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 identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
The streaming configuration, such as the Amazon SNS streaming endpoint.
pub fn set_chat_streaming_configuration(
self,
input: Option<ChatStreamingConfiguration>
) -> Self
pub fn set_chat_streaming_configuration(
self,
input: Option<ChatStreamingConfiguration>
) -> Self
The streaming configuration, such as the Amazon SNS streaming endpoint.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartContactStreaming<C, M, R>
impl<C, M, R> Send for StartContactStreaming<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartContactStreaming<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartContactStreaming<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartContactStreaming<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