Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateUserHierarchyStructure' | |
|
Instances
newUpdateUserHierarchyStructure Source #
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.
$sel:instanceId: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.
Instances
Eq UpdateUserHierarchyStructureResponse Source # | |
Read UpdateUserHierarchyStructureResponse Source # | |
Show UpdateUserHierarchyStructureResponse Source # | |
Generic UpdateUserHierarchyStructureResponse Source # | |
Defined in Amazonka.Connect.UpdateUserHierarchyStructure type Rep UpdateUserHierarchyStructureResponse :: Type -> Type # | |
NFData UpdateUserHierarchyStructureResponse Source # | |
Defined in Amazonka.Connect.UpdateUserHierarchyStructure rnf :: UpdateUserHierarchyStructureResponse -> () # | |
type Rep UpdateUserHierarchyStructureResponse Source # | |
Defined in Amazonka.Connect.UpdateUserHierarchyStructure type Rep UpdateUserHierarchyStructureResponse = D1 ('MetaData "UpdateUserHierarchyStructureResponse" "Amazonka.Connect.UpdateUserHierarchyStructure" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "UpdateUserHierarchyStructureResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newUpdateUserHierarchyStructureResponse :: UpdateUserHierarchyStructureResponse Source #
Create a value of UpdateUserHierarchyStructureResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.