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.
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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateTrafficDistribution, AwsResponseRetryClassifier>, SdkError<UpdateTrafficDistributionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateTrafficDistribution, AwsResponseRetryClassifier>, SdkError<UpdateTrafficDistributionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateTrafficDistributionOutput, SdkError<UpdateTrafficDistributionError>>
pub async fn send( self ) -> Result<UpdateTrafficDistributionOutput, SdkError<UpdateTrafficDistributionError>>
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 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 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).
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