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