| 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.DeleteUserHierarchyGroup
Description
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.
Constructors
| DeleteUserHierarchyGroup' | |
Fields
| |
Instances
newDeleteUserHierarchyGroup Source #
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:
DeleteUserHierarchyGroup, deleteUserHierarchyGroup_hierarchyGroupId - The identifier of the hierarchy group.
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.
Constructors
| DeleteUserHierarchyGroupResponse' | |
Instances
| Generic DeleteUserHierarchyGroupResponse Source # | |
Defined in Amazonka.Connect.DeleteUserHierarchyGroup Associated Types type Rep DeleteUserHierarchyGroupResponse :: Type -> Type # | |
| Read DeleteUserHierarchyGroupResponse Source # | |
| Show DeleteUserHierarchyGroupResponse Source # | |
Defined in Amazonka.Connect.DeleteUserHierarchyGroup Methods showsPrec :: Int -> DeleteUserHierarchyGroupResponse -> ShowS # | |
| NFData DeleteUserHierarchyGroupResponse Source # | |
Defined in Amazonka.Connect.DeleteUserHierarchyGroup Methods rnf :: DeleteUserHierarchyGroupResponse -> () # | |
| Eq DeleteUserHierarchyGroupResponse Source # | |
| type Rep DeleteUserHierarchyGroupResponse Source # | |
Defined in Amazonka.Connect.DeleteUserHierarchyGroup | |
newDeleteUserHierarchyGroupResponse :: DeleteUserHierarchyGroupResponse Source #
Create a value of DeleteUserHierarchyGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.