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 specified hierarchy group.
Synopsis
- data DescribeUserHierarchyGroup = DescribeUserHierarchyGroup' {}
- newDescribeUserHierarchyGroup :: Text -> Text -> DescribeUserHierarchyGroup
- describeUserHierarchyGroup_hierarchyGroupId :: Lens' DescribeUserHierarchyGroup Text
- describeUserHierarchyGroup_instanceId :: Lens' DescribeUserHierarchyGroup Text
- data DescribeUserHierarchyGroupResponse = DescribeUserHierarchyGroupResponse' {}
- newDescribeUserHierarchyGroupResponse :: Int -> DescribeUserHierarchyGroupResponse
- describeUserHierarchyGroupResponse_hierarchyGroup :: Lens' DescribeUserHierarchyGroupResponse (Maybe HierarchyGroup)
- describeUserHierarchyGroupResponse_httpStatus :: Lens' DescribeUserHierarchyGroupResponse Int
Creating a Request
data DescribeUserHierarchyGroup Source #
See: newDescribeUserHierarchyGroup
smart constructor.
DescribeUserHierarchyGroup' | |
|
Instances
newDescribeUserHierarchyGroup Source #
:: Text | |
-> Text | |
-> DescribeUserHierarchyGroup |
Create a value of DescribeUserHierarchyGroup
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:DescribeUserHierarchyGroup'
, describeUserHierarchyGroup_hierarchyGroupId
- The identifier of the hierarchy group.
$sel:instanceId:DescribeUserHierarchyGroup'
, describeUserHierarchyGroup_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
describeUserHierarchyGroup_hierarchyGroupId :: Lens' DescribeUserHierarchyGroup Text Source #
The identifier of the hierarchy group.
describeUserHierarchyGroup_instanceId :: Lens' DescribeUserHierarchyGroup Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DescribeUserHierarchyGroupResponse Source #
See: newDescribeUserHierarchyGroupResponse
smart constructor.
DescribeUserHierarchyGroupResponse' | |
|
Instances
Eq DescribeUserHierarchyGroupResponse Source # | |
Read DescribeUserHierarchyGroupResponse Source # | |
Show DescribeUserHierarchyGroupResponse Source # | |
Generic DescribeUserHierarchyGroupResponse Source # | |
NFData DescribeUserHierarchyGroupResponse Source # | |
Defined in Amazonka.Connect.DescribeUserHierarchyGroup rnf :: DescribeUserHierarchyGroupResponse -> () # | |
type Rep DescribeUserHierarchyGroupResponse Source # | |
Defined in Amazonka.Connect.DescribeUserHierarchyGroup type Rep DescribeUserHierarchyGroupResponse = D1 ('MetaData "DescribeUserHierarchyGroupResponse" "Amazonka.Connect.DescribeUserHierarchyGroup" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DescribeUserHierarchyGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hierarchyGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HierarchyGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeUserHierarchyGroupResponse Source #
Create a value of DescribeUserHierarchyGroupResponse
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:hierarchyGroup:DescribeUserHierarchyGroupResponse'
, describeUserHierarchyGroupResponse_hierarchyGroup
- Information about the hierarchy group.
$sel:httpStatus:DescribeUserHierarchyGroupResponse'
, describeUserHierarchyGroupResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserHierarchyGroupResponse_hierarchyGroup :: Lens' DescribeUserHierarchyGroupResponse (Maybe HierarchyGroup) Source #
Information about the hierarchy group.
describeUserHierarchyGroupResponse_httpStatus :: Lens' DescribeUserHierarchyGroupResponse Int Source #
The response's http status code.