aws_sdk_connect/client/update_user_hierarchy.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateUserHierarchy`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`hierarchy_group_id(impl Into<String>)`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::hierarchy_group_id) / [`set_hierarchy_group_id(Option<String>)`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::set_hierarchy_group_id):<br>required: **false**<br><p>The identifier of the hierarchy group.</p><br>
/// - [`user_id(impl Into<String>)`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifier of the user account.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::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 [`UpdateUserHierarchyOutput`](crate::operation::update_user_hierarchy::UpdateUserHierarchyOutput)
/// - On failure, responds with [`SdkError<UpdateUserHierarchyError>`](crate::operation::update_user_hierarchy::UpdateUserHierarchyError)
pub fn update_user_hierarchy(&self) -> crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder {
crate::operation::update_user_hierarchy::builders::UpdateUserHierarchyFluentBuilder::new(self.handle.clone())
}
}