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 |
Returns a list of the label groups.
Synopsis
- data ListLabelGroups = ListLabelGroups' {}
- newListLabelGroups :: ListLabelGroups
- listLabelGroups_labelGroupNameBeginsWith :: Lens' ListLabelGroups (Maybe Text)
- listLabelGroups_maxResults :: Lens' ListLabelGroups (Maybe Natural)
- listLabelGroups_nextToken :: Lens' ListLabelGroups (Maybe Text)
- data ListLabelGroupsResponse = ListLabelGroupsResponse' {}
- newListLabelGroupsResponse :: Int -> ListLabelGroupsResponse
- listLabelGroupsResponse_labelGroupSummaries :: Lens' ListLabelGroupsResponse (Maybe [LabelGroupSummary])
- listLabelGroupsResponse_nextToken :: Lens' ListLabelGroupsResponse (Maybe Text)
- listLabelGroupsResponse_httpStatus :: Lens' ListLabelGroupsResponse Int
Creating a Request
data ListLabelGroups Source #
See: newListLabelGroups
smart constructor.
ListLabelGroups' | |
|
Instances
newListLabelGroups :: ListLabelGroups Source #
Create a value of ListLabelGroups
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:labelGroupNameBeginsWith:ListLabelGroups'
, listLabelGroups_labelGroupNameBeginsWith
- The beginning of the name of the label groups to be listed.
$sel:maxResults:ListLabelGroups'
, listLabelGroups_maxResults
- Specifies the maximum number of label groups to list.
ListLabelGroups
, listLabelGroups_nextToken
- An opaque pagination token indicating where to continue the listing of
label groups.
Request Lenses
listLabelGroups_labelGroupNameBeginsWith :: Lens' ListLabelGroups (Maybe Text) Source #
The beginning of the name of the label groups to be listed.
listLabelGroups_maxResults :: Lens' ListLabelGroups (Maybe Natural) Source #
Specifies the maximum number of label groups to list.
listLabelGroups_nextToken :: Lens' ListLabelGroups (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of label groups.
Destructuring the Response
data ListLabelGroupsResponse Source #
See: newListLabelGroupsResponse
smart constructor.
ListLabelGroupsResponse' | |
|
Instances
newListLabelGroupsResponse Source #
Create a value of ListLabelGroupsResponse
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:labelGroupSummaries:ListLabelGroupsResponse'
, listLabelGroupsResponse_labelGroupSummaries
- A summary of the label groups.
ListLabelGroups
, listLabelGroupsResponse_nextToken
- An opaque pagination token indicating where to continue the listing of
label groups.
$sel:httpStatus:ListLabelGroupsResponse'
, listLabelGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listLabelGroupsResponse_labelGroupSummaries :: Lens' ListLabelGroupsResponse (Maybe [LabelGroupSummary]) Source #
A summary of the label groups.
listLabelGroupsResponse_nextToken :: Lens' ListLabelGroupsResponse (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of label groups.
listLabelGroupsResponse_httpStatus :: Lens' ListLabelGroupsResponse Int Source #
The response's http status code.