aws_sdk_connect/client/associate_traffic_distribution_group_user.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateTrafficDistributionGroupUser`](crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`traffic_distribution_group_id(impl Into<String>)`](crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::traffic_distribution_group_id) / [`set_traffic_distribution_group_id(Option<String>)`](crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::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::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifier of the user account. This can be the ID or the ARN of the user.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::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 [`AssociateTrafficDistributionGroupUserOutput`](crate::operation::associate_traffic_distribution_group_user::AssociateTrafficDistributionGroupUserOutput)
/// - On failure, responds with [`SdkError<AssociateTrafficDistributionGroupUserError>`](crate::operation::associate_traffic_distribution_group_user::AssociateTrafficDistributionGroupUserError)
pub fn associate_traffic_distribution_group_user(
&self,
) -> crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder {
crate::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder::new(
self.handle.clone(),
)
}
}