aws_sdk_connect/client/
delete_traffic_distribution_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteTrafficDistributionGroup`](crate::operation::delete_traffic_distribution_group::builders::DeleteTrafficDistributionGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`traffic_distribution_group_id(impl Into<String>)`](crate::operation::delete_traffic_distribution_group::builders::DeleteTrafficDistributionGroupFluentBuilder::traffic_distribution_group_id) / [`set_traffic_distribution_group_id(Option<String>)`](crate::operation::delete_traffic_distribution_group::builders::DeleteTrafficDistributionGroupFluentBuilder::set_traffic_distribution_group_id):<br>required: **true**<br><p>The identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.</p><br>
    /// - On success, responds with [`DeleteTrafficDistributionGroupOutput`](crate::operation::delete_traffic_distribution_group::DeleteTrafficDistributionGroupOutput)
    /// - On failure, responds with [`SdkError<DeleteTrafficDistributionGroupError>`](crate::operation::delete_traffic_distribution_group::DeleteTrafficDistributionGroupError)
    pub fn delete_traffic_distribution_group(
        &self,
    ) -> crate::operation::delete_traffic_distribution_group::builders::DeleteTrafficDistributionGroupFluentBuilder {
        crate::operation::delete_traffic_distribution_group::builders::DeleteTrafficDistributionGroupFluentBuilder::new(self.handle.clone())
    }
}