libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Connect.ListUserHierarchyGroups

Description

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListUserHierarchyGroups Source #

See: newListUserHierarchyGroups smart constructor.

Constructors

ListUserHierarchyGroups' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Instances

Instances details
Eq ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Read ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Show ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Generic ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Associated Types

type Rep ListUserHierarchyGroups :: Type -> Type #

NFData ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Methods

rnf :: ListUserHierarchyGroups -> () #

Hashable ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

AWSPager ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

AWSRequest ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

ToHeaders ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

ToPath ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

ToQuery ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

type Rep ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

type Rep ListUserHierarchyGroups = D1 ('MetaData "ListUserHierarchyGroups" "Amazonka.Connect.ListUserHierarchyGroups" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListUserHierarchyGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

newListUserHierarchyGroups Source #

Create a value of ListUserHierarchyGroups 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:nextToken:ListUserHierarchyGroups', listUserHierarchyGroups_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:maxResults:ListUserHierarchyGroups', listUserHierarchyGroups_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListUserHierarchyGroups', listUserHierarchyGroups_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

listUserHierarchyGroups_nextToken :: Lens' ListUserHierarchyGroups (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listUserHierarchyGroups_maxResults :: Lens' ListUserHierarchyGroups (Maybe Natural) Source #

The maximum number of results to return per page.

listUserHierarchyGroups_instanceId :: Lens' ListUserHierarchyGroups Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data ListUserHierarchyGroupsResponse Source #

See: newListUserHierarchyGroupsResponse smart constructor.

Constructors

ListUserHierarchyGroupsResponse' 

Fields

Instances

Instances details
Eq ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Read ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Show ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Generic ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Associated Types

type Rep ListUserHierarchyGroupsResponse :: Type -> Type #

NFData ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

type Rep ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

type Rep ListUserHierarchyGroupsResponse = D1 ('MetaData "ListUserHierarchyGroupsResponse" "Amazonka.Connect.ListUserHierarchyGroups" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListUserHierarchyGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userHierarchyGroupSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HierarchyGroupSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListUserHierarchyGroupsResponse Source #

Create a value of ListUserHierarchyGroupsResponse 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:nextToken:ListUserHierarchyGroups', listUserHierarchyGroupsResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:userHierarchyGroupSummaryList:ListUserHierarchyGroupsResponse', listUserHierarchyGroupsResponse_userHierarchyGroupSummaryList - Information about the hierarchy groups.

$sel:httpStatus:ListUserHierarchyGroupsResponse', listUserHierarchyGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listUserHierarchyGroupsResponse_nextToken :: Lens' ListUserHierarchyGroupsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.