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 the PermissionSets in an SSO instance.
This operation returns paginated results.
Synopsis
- data ListPermissionSets = ListPermissionSets' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceArn :: Text
- newListPermissionSets :: Text -> ListPermissionSets
- listPermissionSets_nextToken :: Lens' ListPermissionSets (Maybe Text)
- listPermissionSets_maxResults :: Lens' ListPermissionSets (Maybe Natural)
- listPermissionSets_instanceArn :: Lens' ListPermissionSets Text
- data ListPermissionSetsResponse = ListPermissionSetsResponse' {
- permissionSets :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListPermissionSetsResponse :: Int -> ListPermissionSetsResponse
- listPermissionSetsResponse_permissionSets :: Lens' ListPermissionSetsResponse (Maybe [Text])
- listPermissionSetsResponse_nextToken :: Lens' ListPermissionSetsResponse (Maybe Text)
- listPermissionSetsResponse_httpStatus :: Lens' ListPermissionSetsResponse Int
Creating a Request
data ListPermissionSets Source #
See: newListPermissionSets
smart constructor.
ListPermissionSets' | |
|
Instances
newListPermissionSets Source #
Create a value of ListPermissionSets
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:ListPermissionSets'
, listPermissionSets_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
$sel:maxResults:ListPermissionSets'
, listPermissionSets_maxResults
- The maximum number of results to display for the assignment.
$sel:instanceArn:ListPermissionSets'
, listPermissionSets_instanceArn
- The ARN of the SSO instance under which the operation will be executed.
For more information about ARNs, see
Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
in the Amazon Web Services General Reference.
Request Lenses
listPermissionSets_nextToken :: Lens' ListPermissionSets (Maybe Text) Source #
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
listPermissionSets_maxResults :: Lens' ListPermissionSets (Maybe Natural) Source #
The maximum number of results to display for the assignment.
listPermissionSets_instanceArn :: Lens' ListPermissionSets Text Source #
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
Destructuring the Response
data ListPermissionSetsResponse Source #
See: newListPermissionSetsResponse
smart constructor.
ListPermissionSetsResponse' | |
|
Instances
newListPermissionSetsResponse Source #
Create a value of ListPermissionSetsResponse
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:permissionSets:ListPermissionSetsResponse'
, listPermissionSetsResponse_permissionSets
- Defines the level of access on an Amazon Web Services account.
$sel:nextToken:ListPermissionSets'
, listPermissionSetsResponse_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
$sel:httpStatus:ListPermissionSetsResponse'
, listPermissionSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listPermissionSetsResponse_permissionSets :: Lens' ListPermissionSetsResponse (Maybe [Text]) Source #
Defines the level of access on an Amazon Web Services account.
listPermissionSetsResponse_nextToken :: Lens' ListPermissionSetsResponse (Maybe Text) Source #
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
listPermissionSetsResponse_httpStatus :: Lens' ListPermissionSetsResponse Int Source #
The response's http status code.