| 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 |
Amazonka.XRay.GetGroups
Description
Retrieves all active group details.
This operation returns paginated results.
Synopsis
- data GetGroups = GetGroups' {}
- newGetGroups :: GetGroups
- getGroups_nextToken :: Lens' GetGroups (Maybe Text)
- data GetGroupsResponse = GetGroupsResponse' {
- groups :: Maybe [GroupSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetGroupsResponse :: Int -> GetGroupsResponse
- getGroupsResponse_groups :: Lens' GetGroupsResponse (Maybe [GroupSummary])
- getGroupsResponse_nextToken :: Lens' GetGroupsResponse (Maybe Text)
- getGroupsResponse_httpStatus :: Lens' GetGroupsResponse Int
Creating a Request
See: newGetGroups smart constructor.
Constructors
| GetGroups' | |
Instances
newGetGroups :: GetGroups Source #
Create a value of GetGroups 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:GetGroups', getGroups_nextToken - Pagination token.
Request Lenses
Destructuring the Response
data GetGroupsResponse Source #
See: newGetGroupsResponse smart constructor.
Constructors
| GetGroupsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetGroupsResponse |
Create a value of GetGroupsResponse 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:groups:GetGroupsResponse', getGroupsResponse_groups - The collection of all active groups.
$sel:nextToken:GetGroups', getGroupsResponse_nextToken - Pagination token.
$sel:httpStatus:GetGroupsResponse', getGroupsResponse_httpStatus - The response's http status code.
Response Lenses
getGroupsResponse_groups :: Lens' GetGroupsResponse (Maybe [GroupSummary]) Source #
The collection of all active groups.
getGroupsResponse_nextToken :: Lens' GetGroupsResponse (Maybe Text) Source #
Pagination token.
getGroupsResponse_httpStatus :: Lens' GetGroupsResponse Int Source #
The response's http status code.