| 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 | 
Amazonka.FinSpaceData.ListPermissionGroups
Description
Lists all available permission groups in FinSpace.
This operation returns paginated results.
Synopsis
- data ListPermissionGroups = ListPermissionGroups' {
- nextToken :: Maybe Text
 - maxResults :: Natural
 
 - newListPermissionGroups :: Natural -> ListPermissionGroups
 - listPermissionGroups_nextToken :: Lens' ListPermissionGroups (Maybe Text)
 - listPermissionGroups_maxResults :: Lens' ListPermissionGroups Natural
 - data ListPermissionGroupsResponse = ListPermissionGroupsResponse' {}
 - newListPermissionGroupsResponse :: Int -> ListPermissionGroupsResponse
 - listPermissionGroupsResponse_nextToken :: Lens' ListPermissionGroupsResponse (Maybe Text)
 - listPermissionGroupsResponse_permissionGroups :: Lens' ListPermissionGroupsResponse (Maybe [PermissionGroup])
 - listPermissionGroupsResponse_httpStatus :: Lens' ListPermissionGroupsResponse Int
 
Creating a Request
data ListPermissionGroups Source #
See: newListPermissionGroups smart constructor.
Constructors
| ListPermissionGroups' | |
Fields 
  | |
Instances
newListPermissionGroups Source #
Create a value of ListPermissionGroups 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:
ListPermissionGroups, listPermissionGroups_nextToken - A token that indicates where a results page should begin.
$sel:maxResults:ListPermissionGroups', listPermissionGroups_maxResults - The maximum number of results per page.
Request Lenses
listPermissionGroups_nextToken :: Lens' ListPermissionGroups (Maybe Text) Source #
A token that indicates where a results page should begin.
listPermissionGroups_maxResults :: Lens' ListPermissionGroups Natural Source #
The maximum number of results per page.
Destructuring the Response
data ListPermissionGroupsResponse Source #
See: newListPermissionGroupsResponse smart constructor.
Constructors
| ListPermissionGroupsResponse' | |
Fields 
  | |
Instances
newListPermissionGroupsResponse Source #
Create a value of ListPermissionGroupsResponse 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:
ListPermissionGroups, listPermissionGroupsResponse_nextToken - A token that indicates where a results page should begin.
$sel:permissionGroups:ListPermissionGroupsResponse', listPermissionGroupsResponse_permissionGroups - A list of all the permission groups.
$sel:httpStatus:ListPermissionGroupsResponse', listPermissionGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listPermissionGroupsResponse_nextToken :: Lens' ListPermissionGroupsResponse (Maybe Text) Source #
A token that indicates where a results page should begin.
listPermissionGroupsResponse_permissionGroups :: Lens' ListPermissionGroupsResponse (Maybe [PermissionGroup]) Source #
A list of all the permission groups.
listPermissionGroupsResponse_httpStatus :: Lens' ListPermissionGroupsResponse Int Source #
The response's http status code.