Struct aws_sdk_connect::operation::start_contact_streaming::builders::StartContactStreamingFluentBuilder
source · pub struct StartContactStreamingFluentBuilder { /* private fields */ }
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§
source§impl StartContactStreamingFluentBuilder
impl StartContactStreamingFluentBuilder
sourcepub fn as_input(&self) -> &StartContactStreamingInputBuilder
pub fn as_input(&self) -> &StartContactStreamingInputBuilder
Access the StartContactStreaming as a reference.
sourcepub async fn send(
self
) -> Result<StartContactStreamingOutput, SdkError<StartContactStreamingError, HttpResponse>>
pub async fn send( self ) -> Result<StartContactStreamingOutput, SdkError<StartContactStreamingError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<StartContactStreamingOutput, StartContactStreamingError, Self>
pub fn customize( self ) -> CustomizableOperation<StartContactStreamingOutput, StartContactStreamingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn chat_streaming_configuration(
self,
input: ChatStreamingConfiguration
) -> Self
pub fn chat_streaming_configuration( self, input: ChatStreamingConfiguration ) -> Self
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub 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.
sourcepub fn get_chat_streaming_configuration(
&self
) -> &Option<ChatStreamingConfiguration>
pub fn get_chat_streaming_configuration( &self ) -> &Option<ChatStreamingConfiguration>
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Trait Implementations§
source§impl Clone for StartContactStreamingFluentBuilder
impl Clone for StartContactStreamingFluentBuilder
source§fn clone(&self) -> StartContactStreamingFluentBuilder
fn clone(&self) -> StartContactStreamingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more