aws_sdk_connect/client/update_user_hierarchy_structure.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateUserHierarchyStructure`](crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`hierarchy_structure(HierarchyStructureUpdate)`](crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder::hierarchy_structure) / [`set_hierarchy_structure(Option<HierarchyStructureUpdate>)`](crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder::set_hierarchy_structure):<br>required: **true**<br><p>The hierarchy levels to update.</p><br>
7 /// - [`instance_id(impl Into<String>)`](crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder::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>
8 /// - On success, responds with [`UpdateUserHierarchyStructureOutput`](crate::operation::update_user_hierarchy_structure::UpdateUserHierarchyStructureOutput)
9 /// - On failure, responds with [`SdkError<UpdateUserHierarchyStructureError>`](crate::operation::update_user_hierarchy_structure::UpdateUserHierarchyStructureError)
10 pub fn update_user_hierarchy_structure(
11 &self,
12 ) -> crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder {
13 crate::operation::update_user_hierarchy_structure::builders::UpdateUserHierarchyStructureFluentBuilder::new(self.handle.clone())
14 }
15}