Struct aws_sdk_connect::operation::update_traffic_distribution::builders::UpdateTrafficDistributionFluentBuilder
source · pub struct UpdateTrafficDistributionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTrafficDistribution
.
Updates the traffic distribution for a given traffic distribution group.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
Implementations§
source§impl UpdateTrafficDistributionFluentBuilder
impl UpdateTrafficDistributionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTrafficDistributionInputBuilder
pub fn as_input(&self) -> &UpdateTrafficDistributionInputBuilder
Access the UpdateTrafficDistribution as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTrafficDistributionOutput, SdkError<UpdateTrafficDistributionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTrafficDistributionOutput, SdkError<UpdateTrafficDistributionError, 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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateTrafficDistributionOutput, UpdateTrafficDistributionError, Self>, SdkError<UpdateTrafficDistributionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateTrafficDistributionOutput, UpdateTrafficDistributionError, Self>, SdkError<UpdateTrafficDistributionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn telephony_config(self, input: TelephonyConfig) -> Self
pub fn telephony_config(self, input: TelephonyConfig) -> Self
The distribution of traffic between the instance and its replica(s).
sourcepub fn set_telephony_config(self, input: Option<TelephonyConfig>) -> Self
pub fn set_telephony_config(self, input: Option<TelephonyConfig>) -> Self
The distribution of traffic between the instance and its replica(s).
sourcepub fn get_telephony_config(&self) -> &Option<TelephonyConfig>
pub fn get_telephony_config(&self) -> &Option<TelephonyConfig>
The distribution of traffic between the instance and its replica(s).
sourcepub fn sign_in_config(self, input: SignInConfig) -> Self
pub fn sign_in_config(self, input: SignInConfig) -> Self
The distribution of allowing signing in to the instance and its replica(s).
sourcepub fn set_sign_in_config(self, input: Option<SignInConfig>) -> Self
pub fn set_sign_in_config(self, input: Option<SignInConfig>) -> Self
The distribution of allowing signing in to the instance and its replica(s).
sourcepub fn get_sign_in_config(&self) -> &Option<SignInConfig>
pub fn get_sign_in_config(&self) -> &Option<SignInConfig>
The distribution of allowing signing in to the instance and its replica(s).
sourcepub fn agent_config(self, input: AgentConfig) -> Self
pub fn agent_config(self, input: AgentConfig) -> Self
The distribution of agents between the instance and its replica(s).
sourcepub fn set_agent_config(self, input: Option<AgentConfig>) -> Self
pub fn set_agent_config(self, input: Option<AgentConfig>) -> Self
The distribution of agents between the instance and its replica(s).
sourcepub fn get_agent_config(&self) -> &Option<AgentConfig>
pub fn get_agent_config(&self) -> &Option<AgentConfig>
The distribution of agents between the instance and its replica(s).
Trait Implementations§
source§impl Clone for UpdateTrafficDistributionFluentBuilder
impl Clone for UpdateTrafficDistributionFluentBuilder
source§fn clone(&self) -> UpdateTrafficDistributionFluentBuilder
fn clone(&self) -> UpdateTrafficDistributionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more