| 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.UpdateUserHierarchy
Description
Assigns the specified hierarchy group to the specified user.
Synopsis
- data UpdateUserHierarchy = UpdateUserHierarchy' {
- hierarchyGroupId :: Maybe Text
- userId :: Text
- instanceId :: Text
- newUpdateUserHierarchy :: Text -> Text -> UpdateUserHierarchy
- updateUserHierarchy_hierarchyGroupId :: Lens' UpdateUserHierarchy (Maybe Text)
- updateUserHierarchy_userId :: Lens' UpdateUserHierarchy Text
- updateUserHierarchy_instanceId :: Lens' UpdateUserHierarchy Text
- data UpdateUserHierarchyResponse = UpdateUserHierarchyResponse' {
- newUpdateUserHierarchyResponse :: UpdateUserHierarchyResponse
Creating a Request
data UpdateUserHierarchy Source #
See: newUpdateUserHierarchy smart constructor.
Constructors
| UpdateUserHierarchy' | |
Fields
| |
Instances
newUpdateUserHierarchy Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateUserHierarchy |
Create a value of UpdateUserHierarchy 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:
UpdateUserHierarchy, updateUserHierarchy_hierarchyGroupId - The identifier of the hierarchy group.
UpdateUserHierarchy, updateUserHierarchy_userId - The identifier of the user account.
UpdateUserHierarchy, updateUserHierarchy_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
updateUserHierarchy_hierarchyGroupId :: Lens' UpdateUserHierarchy (Maybe Text) Source #
The identifier of the hierarchy group.
updateUserHierarchy_userId :: Lens' UpdateUserHierarchy Text Source #
The identifier of the user account.
updateUserHierarchy_instanceId :: Lens' UpdateUserHierarchy Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data UpdateUserHierarchyResponse Source #
See: newUpdateUserHierarchyResponse smart constructor.
Constructors
| UpdateUserHierarchyResponse' | |
Instances
newUpdateUserHierarchyResponse :: UpdateUserHierarchyResponse Source #
Create a value of UpdateUserHierarchyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.