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 |
Lists the PermissionSets in an IAM Identity Center instance.
This operation returns paginated results.
Synopsis
- data ListPermissionSets = ListPermissionSets' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceArn :: Text
- newListPermissionSets :: Text -> ListPermissionSets
- listPermissionSets_maxResults :: Lens' ListPermissionSets (Maybe Natural)
- listPermissionSets_nextToken :: Lens' ListPermissionSets (Maybe Text)
- listPermissionSets_instanceArn :: Lens' ListPermissionSets Text
- data ListPermissionSetsResponse = ListPermissionSetsResponse' {
- nextToken :: Maybe Text
- permissionSets :: Maybe [Text]
- httpStatus :: Int
- newListPermissionSetsResponse :: Int -> ListPermissionSetsResponse
- listPermissionSetsResponse_nextToken :: Lens' ListPermissionSetsResponse (Maybe Text)
- listPermissionSetsResponse_permissionSets :: 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:maxResults:ListPermissionSets'
, listPermissionSets_maxResults
- The maximum number of results to display for the assignment.
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.
ListPermissionSets
, listPermissionSets_instanceArn
- The ARN of the IAM Identity Center instance under which the operation
will be executed. For more information about ARNs, see
Amazon Resource Names (ARNs) and AWS Service Namespaces
in the AWS General Reference.
Request Lenses
listPermissionSets_maxResults :: Lens' ListPermissionSets (Maybe Natural) Source #
The maximum number of results to display for the assignment.
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_instanceArn :: Lens' ListPermissionSets Text Source #
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS 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:
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:permissionSets:ListPermissionSetsResponse'
, listPermissionSetsResponse_permissionSets
- Defines the level of access on an AWS account.
$sel:httpStatus:ListPermissionSetsResponse'
, listPermissionSetsResponse_httpStatus
- The response's http status code.
Response Lenses
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_permissionSets :: Lens' ListPermissionSetsResponse (Maybe [Text]) Source #
Defines the level of access on an AWS account.
listPermissionSetsResponse_httpStatus :: Lens' ListPermissionSetsResponse Int Source #
The response's http status code.