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 |
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.
UpdateUserHierarchy' | |
|
Instances
newUpdateUserHierarchy Source #
:: 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:
$sel:hierarchyGroupId:UpdateUserHierarchy'
, updateUserHierarchy_hierarchyGroupId
- The identifier of the hierarchy group.
$sel:userId:UpdateUserHierarchy'
, updateUserHierarchy_userId
- The identifier of the user account.
$sel:instanceId: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.
Instances
newUpdateUserHierarchyResponse :: UpdateUserHierarchyResponse Source #
Create a value of UpdateUserHierarchyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.