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 |
Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.
Synopsis
- data DeleteUserHierarchyGroup = DeleteUserHierarchyGroup' {}
- newDeleteUserHierarchyGroup :: Text -> Text -> DeleteUserHierarchyGroup
- deleteUserHierarchyGroup_hierarchyGroupId :: Lens' DeleteUserHierarchyGroup Text
- deleteUserHierarchyGroup_instanceId :: Lens' DeleteUserHierarchyGroup Text
- data DeleteUserHierarchyGroupResponse = DeleteUserHierarchyGroupResponse' {
- newDeleteUserHierarchyGroupResponse :: DeleteUserHierarchyGroupResponse
Creating a Request
data DeleteUserHierarchyGroup Source #
See: newDeleteUserHierarchyGroup
smart constructor.
DeleteUserHierarchyGroup' | |
|
Instances
newDeleteUserHierarchyGroup Source #
:: Text | |
-> Text | |
-> DeleteUserHierarchyGroup |
Create a value of DeleteUserHierarchyGroup
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:DeleteUserHierarchyGroup'
, deleteUserHierarchyGroup_hierarchyGroupId
- The identifier of the hierarchy group.
$sel:instanceId:DeleteUserHierarchyGroup'
, deleteUserHierarchyGroup_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
deleteUserHierarchyGroup_hierarchyGroupId :: Lens' DeleteUserHierarchyGroup Text Source #
The identifier of the hierarchy group.
deleteUserHierarchyGroup_instanceId :: Lens' DeleteUserHierarchyGroup Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DeleteUserHierarchyGroupResponse Source #
See: newDeleteUserHierarchyGroupResponse
smart constructor.
Instances
newDeleteUserHierarchyGroupResponse :: DeleteUserHierarchyGroupResponse Source #
Create a value of DeleteUserHierarchyGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.