Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists traffic distribution groups.
This operation returns paginated results.
Synopsis
- data ListTrafficDistributionGroups = ListTrafficDistributionGroups' {
- instanceId :: Maybe Text
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- newListTrafficDistributionGroups :: ListTrafficDistributionGroups
- listTrafficDistributionGroups_instanceId :: Lens' ListTrafficDistributionGroups (Maybe Text)
- listTrafficDistributionGroups_maxResults :: Lens' ListTrafficDistributionGroups (Maybe Natural)
- listTrafficDistributionGroups_nextToken :: Lens' ListTrafficDistributionGroups (Maybe Text)
- data ListTrafficDistributionGroupsResponse = ListTrafficDistributionGroupsResponse' {}
- newListTrafficDistributionGroupsResponse :: Int -> ListTrafficDistributionGroupsResponse
- listTrafficDistributionGroupsResponse_nextToken :: Lens' ListTrafficDistributionGroupsResponse (Maybe Text)
- listTrafficDistributionGroupsResponse_trafficDistributionGroupSummaryList :: Lens' ListTrafficDistributionGroupsResponse (Maybe [TrafficDistributionGroupSummary])
- listTrafficDistributionGroupsResponse_httpStatus :: Lens' ListTrafficDistributionGroupsResponse Int
Creating a Request
data ListTrafficDistributionGroups Source #
See: newListTrafficDistributionGroups
smart constructor.
ListTrafficDistributionGroups' | |
|
Instances
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_maxResults :: Lens' ListTrafficDistributionGroups (Maybe Natural) Source #
The maximum number of results to return per page.
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 #
See: newListTrafficDistributionGroupsResponse
smart constructor.
ListTrafficDistributionGroupsResponse' | |
|
Instances
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.
listTrafficDistributionGroupsResponse_trafficDistributionGroupSummaryList :: Lens' ListTrafficDistributionGroupsResponse (Maybe [TrafficDistributionGroupSummary]) Source #
A list of traffic distribution groups.
listTrafficDistributionGroupsResponse_httpStatus :: Lens' ListTrafficDistributionGroupsResponse Int Source #
The response's http status code.