aws_sdk_connect/client/
disassociate_traffic_distribution_group_user.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateTrafficDistributionGroupUser`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`traffic_distribution_group_id(impl Into<String>)`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::traffic_distribution_group_id) / [`set_traffic_distribution_group_id(Option<String>)`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::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>
    ///   - [`user_id(impl Into<String>)`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifier for the user. This can be the ID or the ARN of the user.</p><br>
    ///   - [`instance_id(impl Into<String>)`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
    /// - On success, responds with [`DisassociateTrafficDistributionGroupUserOutput`](crate::operation::disassociate_traffic_distribution_group_user::DisassociateTrafficDistributionGroupUserOutput)
    /// - On failure, responds with [`SdkError<DisassociateTrafficDistributionGroupUserError>`](crate::operation::disassociate_traffic_distribution_group_user::DisassociateTrafficDistributionGroupUserError)
    pub fn disassociate_traffic_distribution_group_user(
        &self,
    ) -> crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder {
        crate::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder::new(
            self.handle.clone(),
        )
    }
}