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 |
Describes the hierarchy structure of the specified Amazon Connect instance.
Synopsis
- data DescribeUserHierarchyStructure = DescribeUserHierarchyStructure' {
- instanceId :: Text
- newDescribeUserHierarchyStructure :: Text -> DescribeUserHierarchyStructure
- describeUserHierarchyStructure_instanceId :: Lens' DescribeUserHierarchyStructure Text
- data DescribeUserHierarchyStructureResponse = DescribeUserHierarchyStructureResponse' {}
- newDescribeUserHierarchyStructureResponse :: Int -> DescribeUserHierarchyStructureResponse
- describeUserHierarchyStructureResponse_hierarchyStructure :: Lens' DescribeUserHierarchyStructureResponse (Maybe HierarchyStructure)
- describeUserHierarchyStructureResponse_httpStatus :: Lens' DescribeUserHierarchyStructureResponse Int
Creating a Request
data DescribeUserHierarchyStructure Source #
See: newDescribeUserHierarchyStructure
smart constructor.
DescribeUserHierarchyStructure' | |
|
Instances
newDescribeUserHierarchyStructure Source #
Create a value of DescribeUserHierarchyStructure
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:instanceId:DescribeUserHierarchyStructure'
, describeUserHierarchyStructure_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
describeUserHierarchyStructure_instanceId :: Lens' DescribeUserHierarchyStructure Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DescribeUserHierarchyStructureResponse Source #
See: newDescribeUserHierarchyStructureResponse
smart constructor.
DescribeUserHierarchyStructureResponse' | |
|
Instances
newDescribeUserHierarchyStructureResponse Source #
Create a value of DescribeUserHierarchyStructureResponse
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:DescribeUserHierarchyStructureResponse'
, describeUserHierarchyStructureResponse_hierarchyStructure
- Information about the hierarchy structure.
$sel:httpStatus:DescribeUserHierarchyStructureResponse'
, describeUserHierarchyStructureResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserHierarchyStructureResponse_hierarchyStructure :: Lens' DescribeUserHierarchyStructureResponse (Maybe HierarchyStructure) Source #
Information about the hierarchy structure.
describeUserHierarchyStructureResponse_httpStatus :: Lens' DescribeUserHierarchyStructureResponse Int Source #
The response's http status code.