amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • maxResults :: Maybe Natural

    The maximum number of results to return per page. The default MaxResult size is 100.

  • 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.

  • instanceId :: Text

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

Instances

Instances details
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

AWSPager ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

AWSRequest 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 #

Read ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Show ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

NFData ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Methods

rnf :: ListUserHierarchyGroups -> () #

Eq ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Hashable ListUserHierarchyGroups Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

type AWSResponse 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListUserHierarchyGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:maxResults:ListUserHierarchyGroups', listUserHierarchyGroups_maxResults - The maximum number of results to return per page. The default MaxResult size is 100.

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.

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

Request Lenses

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

The maximum number of results to return per page. The default MaxResult size is 100.

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_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
Generic ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Associated Types

type Rep ListUserHierarchyGroupsResponse :: Type -> Type #

Read ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Show ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

NFData ListUserHierarchyGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUserHierarchyGroups

Eq 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" '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:

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.