aws-sdk-connect 1.171.0

AWS SDK for Amazon Connect Service
Documentation
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 [`AssociateContactWithUser`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::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>
    ///   - [`contact_id(impl Into<String>)`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact in this instance of Amazon Connect.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::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>
    /// - On success, responds with [`AssociateContactWithUserOutput`](crate::operation::associate_contact_with_user::AssociateContactWithUserOutput)
    /// - On failure, responds with [`SdkError<AssociateContactWithUserError>`](crate::operation::associate_contact_with_user::AssociateContactWithUserError)
    pub fn associate_contact_with_user(&self) -> crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder {
        crate::operation::associate_contact_with_user::builders::AssociateContactWithUserFluentBuilder::new(self.handle.clone())
    }
}