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 that are associated with specified application. Results are paginated.
This operation returns paginated results.
Synopsis
- data ListAssociatedAttributeGroups = ListAssociatedAttributeGroups' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- application :: Text
- newListAssociatedAttributeGroups :: Text -> ListAssociatedAttributeGroups
- listAssociatedAttributeGroups_nextToken :: Lens' ListAssociatedAttributeGroups (Maybe Text)
- listAssociatedAttributeGroups_maxResults :: Lens' ListAssociatedAttributeGroups (Maybe Natural)
- listAssociatedAttributeGroups_application :: Lens' ListAssociatedAttributeGroups Text
- data ListAssociatedAttributeGroupsResponse = ListAssociatedAttributeGroupsResponse' {
- attributeGroups :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAssociatedAttributeGroupsResponse :: Int -> ListAssociatedAttributeGroupsResponse
- listAssociatedAttributeGroupsResponse_attributeGroups :: Lens' ListAssociatedAttributeGroupsResponse (Maybe [Text])
- listAssociatedAttributeGroupsResponse_nextToken :: Lens' ListAssociatedAttributeGroupsResponse (Maybe Text)
- listAssociatedAttributeGroupsResponse_httpStatus :: Lens' ListAssociatedAttributeGroupsResponse Int
Creating a Request
data ListAssociatedAttributeGroups Source #
See: newListAssociatedAttributeGroups
smart constructor.
ListAssociatedAttributeGroups' | |
|
Instances
newListAssociatedAttributeGroups Source #
Create a value of ListAssociatedAttributeGroups
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:ListAssociatedAttributeGroups'
, listAssociatedAttributeGroups_nextToken
- The token to use to get the next page of results after a previous API
call.
$sel:maxResults:ListAssociatedAttributeGroups'
, listAssociatedAttributeGroups_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.
$sel:application:ListAssociatedAttributeGroups'
, listAssociatedAttributeGroups_application
- The name or ID of the application.
Request Lenses
listAssociatedAttributeGroups_nextToken :: Lens' ListAssociatedAttributeGroups (Maybe Text) Source #
The token to use to get the next page of results after a previous API call.
listAssociatedAttributeGroups_maxResults :: Lens' ListAssociatedAttributeGroups (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.
listAssociatedAttributeGroups_application :: Lens' ListAssociatedAttributeGroups Text Source #
The name or ID of the application.
Destructuring the Response
data ListAssociatedAttributeGroupsResponse Source #
See: newListAssociatedAttributeGroupsResponse
smart constructor.
ListAssociatedAttributeGroupsResponse' | |
|
Instances
newListAssociatedAttributeGroupsResponse Source #
Create a value of ListAssociatedAttributeGroupsResponse
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:ListAssociatedAttributeGroupsResponse'
, listAssociatedAttributeGroupsResponse_attributeGroups
- A list of attribute group IDs.
$sel:nextToken:ListAssociatedAttributeGroups'
, listAssociatedAttributeGroupsResponse_nextToken
- The token to use to get the next page of results after a previous API
call.
$sel:httpStatus:ListAssociatedAttributeGroupsResponse'
, listAssociatedAttributeGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listAssociatedAttributeGroupsResponse_attributeGroups :: Lens' ListAssociatedAttributeGroupsResponse (Maybe [Text]) Source #
A list of attribute group IDs.
listAssociatedAttributeGroupsResponse_nextToken :: Lens' ListAssociatedAttributeGroupsResponse (Maybe Text) Source #
The token to use to get the next page of results after a previous API call.
listAssociatedAttributeGroupsResponse_httpStatus :: Lens' ListAssociatedAttributeGroupsResponse Int Source #
The response's http status code.