| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.UpdateUserHierarchyStructure
Description
Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
Synopsis
- data UpdateUserHierarchyStructure = UpdateUserHierarchyStructure' {}
- newUpdateUserHierarchyStructure :: HierarchyStructureUpdate -> Text -> UpdateUserHierarchyStructure
- updateUserHierarchyStructure_hierarchyStructure :: Lens' UpdateUserHierarchyStructure HierarchyStructureUpdate
- updateUserHierarchyStructure_instanceId :: Lens' UpdateUserHierarchyStructure Text
- data UpdateUserHierarchyStructureResponse = UpdateUserHierarchyStructureResponse' {
- newUpdateUserHierarchyStructureResponse :: UpdateUserHierarchyStructureResponse
Creating a Request
data UpdateUserHierarchyStructure Source #
See: newUpdateUserHierarchyStructure smart constructor.
Constructors
| UpdateUserHierarchyStructure' | |
Fields
| |
Instances
newUpdateUserHierarchyStructure Source #
Arguments
| :: HierarchyStructureUpdate | |
| -> Text | |
| -> UpdateUserHierarchyStructure |
Create a value of UpdateUserHierarchyStructure with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hierarchyStructure:UpdateUserHierarchyStructure', updateUserHierarchyStructure_hierarchyStructure - The hierarchy levels to update.
UpdateUserHierarchyStructure, updateUserHierarchyStructure_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
updateUserHierarchyStructure_hierarchyStructure :: Lens' UpdateUserHierarchyStructure HierarchyStructureUpdate Source #
The hierarchy levels to update.
updateUserHierarchyStructure_instanceId :: Lens' UpdateUserHierarchyStructure Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data UpdateUserHierarchyStructureResponse Source #
See: newUpdateUserHierarchyStructureResponse smart constructor.
Constructors
| UpdateUserHierarchyStructureResponse' | |
Instances
newUpdateUserHierarchyStructureResponse :: UpdateUserHierarchyStructureResponse Source #
Create a value of UpdateUserHierarchyStructureResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.