pub struct DeleteTrafficDistributionGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTrafficDistributionGroup
.
Deletes a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.
For more information about deleting traffic distribution groups, see Delete traffic distribution groups in the Amazon Connect Administrator Guide.
Implementations§
source§impl DeleteTrafficDistributionGroup
impl DeleteTrafficDistributionGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteTrafficDistributionGroup, AwsResponseRetryClassifier>, SdkError<DeleteTrafficDistributionGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteTrafficDistributionGroup, AwsResponseRetryClassifier>, SdkError<DeleteTrafficDistributionGroupError>>
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<DeleteTrafficDistributionGroupOutput, SdkError<DeleteTrafficDistributionGroupError>>
pub async fn send(
self
) -> Result<DeleteTrafficDistributionGroupOutput, SdkError<DeleteTrafficDistributionGroupError>>
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 traffic_distribution_group_id(self, input: impl Into<String>) -> Self
pub fn traffic_distribution_group_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_traffic_distribution_group_id(self, input: Option<String>) -> Self
pub fn set_traffic_distribution_group_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.
Trait Implementations§
source§impl Clone for DeleteTrafficDistributionGroup
impl Clone for DeleteTrafficDistributionGroup
source§fn clone(&self) -> DeleteTrafficDistributionGroup
fn clone(&self) -> DeleteTrafficDistributionGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more