Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists all attribute groups which you have access to. Results are paginated.
This operation returns paginated results.
Synopsis
- data ListAttributeGroups = ListAttributeGroups' {}
- newListAttributeGroups :: ListAttributeGroups
- listAttributeGroups_nextToken :: Lens' ListAttributeGroups (Maybe Text)
- listAttributeGroups_maxResults :: Lens' ListAttributeGroups (Maybe Natural)
- 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:nextToken:ListAttributeGroups'
, listAttributeGroups_nextToken
- The token to use to get the next page of results after a previous API
call.
$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.
Request Lenses
listAttributeGroups_nextToken :: Lens' ListAttributeGroups (Maybe Text) Source #
The token to use to get the next page of results after a previous API call.
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.
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.
$sel:nextToken: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.