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 all attribute groups which you have access to. Results are paginated.
This operation returns paginated results.
Synopsis
- data ListAttributeGroups = ListAttributeGroups' {}
- newListAttributeGroups :: ListAttributeGroups
- listAttributeGroups_maxResults :: Lens' ListAttributeGroups (Maybe Natural)
- listAttributeGroups_nextToken :: Lens' ListAttributeGroups (Maybe Text)
- data ListAttributeGroupsResponse = ListAttributeGroupsResponse' {}
- newListAttributeGroupsResponse :: Int -> ListAttributeGroupsResponse
- listAttributeGroupsResponse_attributeGroups :: Lens' ListAttributeGroupsResponse (Maybe [AttributeGroupSummary])
- listAttributeGroupsResponse_nextToken :: Lens' ListAttributeGroupsResponse (Maybe Text)
- listAttributeGroupsResponse_httpStatus :: Lens' ListAttributeGroupsResponse Int
Creating a Request
data ListAttributeGroups Source #
See: newListAttributeGroups
smart constructor.
Instances
newListAttributeGroups :: ListAttributeGroups Source #
Create a value of ListAttributeGroups
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:ListAttributeGroups'
, listAttributeGroups_maxResults
- The upper bound of the number of results to return (cannot exceed 25).
If this parameter is omitted, it defaults to 25. This value is optional.
ListAttributeGroups
, listAttributeGroups_nextToken
- The token to use to get the next page of results after a previous API
call.
Request Lenses
listAttributeGroups_maxResults :: Lens' ListAttributeGroups (Maybe Natural) Source #
The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.
listAttributeGroups_nextToken :: Lens' ListAttributeGroups (Maybe Text) Source #
The token to use to get the next page of results after a previous API call.
Destructuring the Response
data ListAttributeGroupsResponse Source #
See: newListAttributeGroupsResponse
smart constructor.
ListAttributeGroupsResponse' | |
|
Instances
newListAttributeGroupsResponse Source #
Create a value of ListAttributeGroupsResponse
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:attributeGroups:ListAttributeGroupsResponse'
, listAttributeGroupsResponse_attributeGroups
- This list of attribute groups.
ListAttributeGroups
, listAttributeGroupsResponse_nextToken
- The token to use to get the next page of results after a previous API
call.
$sel:httpStatus:ListAttributeGroupsResponse'
, listAttributeGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listAttributeGroupsResponse_attributeGroups :: Lens' ListAttributeGroupsResponse (Maybe [AttributeGroupSummary]) Source #
This list of attribute groups.
listAttributeGroupsResponse_nextToken :: Lens' ListAttributeGroupsResponse (Maybe Text) Source #
The token to use to get the next page of results after a previous API call.
listAttributeGroupsResponse_httpStatus :: Lens' ListAttributeGroupsResponse Int Source #
The response's http status code.