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

Description

Lists traffic distribution groups.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTrafficDistributionGroups Source #

See: newListTrafficDistributionGroups smart constructor.

Constructors

ListTrafficDistributionGroups' 

Fields

  • instanceId :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

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

Instances

Instances details
ToHeaders ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

ToPath ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

ToQuery ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

AWSPager ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

AWSRequest ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Generic ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Associated Types

type Rep ListTrafficDistributionGroups :: Type -> Type #

Read ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Show ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

NFData ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Eq ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Hashable ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

type AWSResponse ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

type Rep ListTrafficDistributionGroups Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

type Rep ListTrafficDistributionGroups = D1 ('MetaData "ListTrafficDistributionGroups" "Amazonka.Connect.ListTrafficDistributionGroups" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListTrafficDistributionGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListTrafficDistributionGroups :: ListTrafficDistributionGroups Source #

Create a value of ListTrafficDistributionGroups 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:

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

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

ListTrafficDistributionGroups, listTrafficDistributionGroups_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.

Request Lenses

listTrafficDistributionGroups_instanceId :: Lens' ListTrafficDistributionGroups (Maybe Text) Source #

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

listTrafficDistributionGroups_nextToken :: Lens' ListTrafficDistributionGroups (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.

Destructuring the Response

data ListTrafficDistributionGroupsResponse Source #

Constructors

ListTrafficDistributionGroupsResponse' 

Fields

Instances

Instances details
Generic ListTrafficDistributionGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Read ListTrafficDistributionGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Show ListTrafficDistributionGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

NFData ListTrafficDistributionGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

Eq ListTrafficDistributionGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

type Rep ListTrafficDistributionGroupsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListTrafficDistributionGroups

type Rep ListTrafficDistributionGroupsResponse = D1 ('MetaData "ListTrafficDistributionGroupsResponse" "Amazonka.Connect.ListTrafficDistributionGroups" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListTrafficDistributionGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trafficDistributionGroupSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TrafficDistributionGroupSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTrafficDistributionGroupsResponse Source #

Create a value of ListTrafficDistributionGroupsResponse 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:

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

$sel:trafficDistributionGroupSummaryList:ListTrafficDistributionGroupsResponse', listTrafficDistributionGroupsResponse_trafficDistributionGroupSummaryList - A list of traffic distribution groups.

$sel:httpStatus:ListTrafficDistributionGroupsResponse', listTrafficDistributionGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listTrafficDistributionGroupsResponse_nextToken :: Lens' ListTrafficDistributionGroupsResponse (Maybe Text) Source #

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