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 the permission sets that are provisioned to a specified Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListPermissionSetsProvisionedToAccount = ListPermissionSetsProvisionedToAccount' {}
- newListPermissionSetsProvisionedToAccount :: Text -> Text -> ListPermissionSetsProvisionedToAccount
- listPermissionSetsProvisionedToAccount_provisioningStatus :: Lens' ListPermissionSetsProvisionedToAccount (Maybe ProvisioningStatus)
- listPermissionSetsProvisionedToAccount_nextToken :: Lens' ListPermissionSetsProvisionedToAccount (Maybe Text)
- listPermissionSetsProvisionedToAccount_maxResults :: Lens' ListPermissionSetsProvisionedToAccount (Maybe Natural)
- listPermissionSetsProvisionedToAccount_instanceArn :: Lens' ListPermissionSetsProvisionedToAccount Text
- listPermissionSetsProvisionedToAccount_accountId :: Lens' ListPermissionSetsProvisionedToAccount Text
- data ListPermissionSetsProvisionedToAccountResponse = ListPermissionSetsProvisionedToAccountResponse' {
- permissionSets :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListPermissionSetsProvisionedToAccountResponse :: Int -> ListPermissionSetsProvisionedToAccountResponse
- listPermissionSetsProvisionedToAccountResponse_permissionSets :: Lens' ListPermissionSetsProvisionedToAccountResponse (Maybe [Text])
- listPermissionSetsProvisionedToAccountResponse_nextToken :: Lens' ListPermissionSetsProvisionedToAccountResponse (Maybe Text)
- listPermissionSetsProvisionedToAccountResponse_httpStatus :: Lens' ListPermissionSetsProvisionedToAccountResponse Int
Creating a Request
data ListPermissionSetsProvisionedToAccount Source #
See: newListPermissionSetsProvisionedToAccount
smart constructor.
ListPermissionSetsProvisionedToAccount' | |
|
Instances
newListPermissionSetsProvisionedToAccount Source #
Create a value of ListPermissionSetsProvisionedToAccount
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:provisioningStatus:ListPermissionSetsProvisionedToAccount'
, listPermissionSetsProvisionedToAccount_provisioningStatus
- The status object for the permission set provisioning operation.
$sel:nextToken:ListPermissionSetsProvisionedToAccount'
, listPermissionSetsProvisionedToAccount_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:ListPermissionSetsProvisionedToAccount'
, listPermissionSetsProvisionedToAccount_maxResults
- The maximum number of results to display for the assignment.
$sel:instanceArn:ListPermissionSetsProvisionedToAccount'
, listPermissionSetsProvisionedToAccount_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.
$sel:accountId:ListPermissionSetsProvisionedToAccount'
, listPermissionSetsProvisionedToAccount_accountId
- The identifier of the Amazon Web Services account from which to list the
assignments.
Request Lenses
listPermissionSetsProvisionedToAccount_provisioningStatus :: Lens' ListPermissionSetsProvisionedToAccount (Maybe ProvisioningStatus) Source #
The status object for the permission set provisioning operation.
listPermissionSetsProvisionedToAccount_nextToken :: Lens' ListPermissionSetsProvisionedToAccount (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.
listPermissionSetsProvisionedToAccount_maxResults :: Lens' ListPermissionSetsProvisionedToAccount (Maybe Natural) Source #
The maximum number of results to display for the assignment.
listPermissionSetsProvisionedToAccount_instanceArn :: Lens' ListPermissionSetsProvisionedToAccount 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.
listPermissionSetsProvisionedToAccount_accountId :: Lens' ListPermissionSetsProvisionedToAccount Text Source #
The identifier of the Amazon Web Services account from which to list the assignments.
Destructuring the Response
data ListPermissionSetsProvisionedToAccountResponse Source #
See: newListPermissionSetsProvisionedToAccountResponse
smart constructor.
ListPermissionSetsProvisionedToAccountResponse' | |
|
Instances
newListPermissionSetsProvisionedToAccountResponse Source #
:: Int |
|
-> ListPermissionSetsProvisionedToAccountResponse |
Create a value of ListPermissionSetsProvisionedToAccountResponse
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:ListPermissionSetsProvisionedToAccountResponse'
, listPermissionSetsProvisionedToAccountResponse_permissionSets
- Defines the level of access that an Amazon Web Services account has.
$sel:nextToken:ListPermissionSetsProvisionedToAccount'
, listPermissionSetsProvisionedToAccountResponse_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:ListPermissionSetsProvisionedToAccountResponse'
, listPermissionSetsProvisionedToAccountResponse_httpStatus
- The response's http status code.
Response Lenses
listPermissionSetsProvisionedToAccountResponse_permissionSets :: Lens' ListPermissionSetsProvisionedToAccountResponse (Maybe [Text]) Source #
Defines the level of access that an Amazon Web Services account has.
listPermissionSetsProvisionedToAccountResponse_nextToken :: Lens' ListPermissionSetsProvisionedToAccountResponse (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.
listPermissionSetsProvisionedToAccountResponse_httpStatus :: Lens' ListPermissionSetsProvisionedToAccountResponse Int Source #
The response's http status code.