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 AWS accounts where the specified permission set is provisioned.
This operation returns paginated results.
Synopsis
- data ListAccountsForProvisionedPermissionSet = ListAccountsForProvisionedPermissionSet' {}
- newListAccountsForProvisionedPermissionSet :: Text -> Text -> ListAccountsForProvisionedPermissionSet
- listAccountsForProvisionedPermissionSet_maxResults :: Lens' ListAccountsForProvisionedPermissionSet (Maybe Natural)
- listAccountsForProvisionedPermissionSet_nextToken :: Lens' ListAccountsForProvisionedPermissionSet (Maybe Text)
- listAccountsForProvisionedPermissionSet_provisioningStatus :: Lens' ListAccountsForProvisionedPermissionSet (Maybe ProvisioningStatus)
- listAccountsForProvisionedPermissionSet_instanceArn :: Lens' ListAccountsForProvisionedPermissionSet Text
- listAccountsForProvisionedPermissionSet_permissionSetArn :: Lens' ListAccountsForProvisionedPermissionSet Text
- data ListAccountsForProvisionedPermissionSetResponse = ListAccountsForProvisionedPermissionSetResponse' {
- accountIds :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAccountsForProvisionedPermissionSetResponse :: Int -> ListAccountsForProvisionedPermissionSetResponse
- listAccountsForProvisionedPermissionSetResponse_accountIds :: Lens' ListAccountsForProvisionedPermissionSetResponse (Maybe [Text])
- listAccountsForProvisionedPermissionSetResponse_nextToken :: Lens' ListAccountsForProvisionedPermissionSetResponse (Maybe Text)
- listAccountsForProvisionedPermissionSetResponse_httpStatus :: Lens' ListAccountsForProvisionedPermissionSetResponse Int
Creating a Request
data ListAccountsForProvisionedPermissionSet Source #
See: newListAccountsForProvisionedPermissionSet
smart constructor.
ListAccountsForProvisionedPermissionSet' | |
|
Instances
newListAccountsForProvisionedPermissionSet Source #
Create a value of ListAccountsForProvisionedPermissionSet
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:ListAccountsForProvisionedPermissionSet'
, listAccountsForProvisionedPermissionSet_maxResults
- The maximum number of results to display for the PermissionSet.
ListAccountsForProvisionedPermissionSet
, listAccountsForProvisionedPermissionSet_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:ListAccountsForProvisionedPermissionSet'
, listAccountsForProvisionedPermissionSet_provisioningStatus
- The permission set provisioning status for an AWS account.
ListAccountsForProvisionedPermissionSet
, listAccountsForProvisionedPermissionSet_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.
ListAccountsForProvisionedPermissionSet
, listAccountsForProvisionedPermissionSet_permissionSetArn
- The ARN of the PermissionSet from which the associated AWS accounts will
be listed.
Request Lenses
listAccountsForProvisionedPermissionSet_maxResults :: Lens' ListAccountsForProvisionedPermissionSet (Maybe Natural) Source #
The maximum number of results to display for the PermissionSet.
listAccountsForProvisionedPermissionSet_nextToken :: Lens' ListAccountsForProvisionedPermissionSet (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.
listAccountsForProvisionedPermissionSet_provisioningStatus :: Lens' ListAccountsForProvisionedPermissionSet (Maybe ProvisioningStatus) Source #
The permission set provisioning status for an AWS account.
listAccountsForProvisionedPermissionSet_instanceArn :: Lens' ListAccountsForProvisionedPermissionSet 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.
listAccountsForProvisionedPermissionSet_permissionSetArn :: Lens' ListAccountsForProvisionedPermissionSet Text Source #
The ARN of the PermissionSet from which the associated AWS accounts will be listed.
Destructuring the Response
data ListAccountsForProvisionedPermissionSetResponse Source #
See: newListAccountsForProvisionedPermissionSetResponse
smart constructor.
ListAccountsForProvisionedPermissionSetResponse' | |
|
Instances
newListAccountsForProvisionedPermissionSetResponse Source #
:: Int |
|
-> ListAccountsForProvisionedPermissionSetResponse |
Create a value of ListAccountsForProvisionedPermissionSetResponse
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:accountIds:ListAccountsForProvisionedPermissionSetResponse'
, listAccountsForProvisionedPermissionSetResponse_accountIds
- The list of AWS AccountIds
.
ListAccountsForProvisionedPermissionSet
, listAccountsForProvisionedPermissionSetResponse_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:ListAccountsForProvisionedPermissionSetResponse'
, listAccountsForProvisionedPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
listAccountsForProvisionedPermissionSetResponse_accountIds :: Lens' ListAccountsForProvisionedPermissionSetResponse (Maybe [Text]) Source #
The list of AWS AccountIds
.
listAccountsForProvisionedPermissionSetResponse_nextToken :: Lens' ListAccountsForProvisionedPermissionSetResponse (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.
listAccountsForProvisionedPermissionSetResponse_httpStatus :: Lens' ListAccountsForProvisionedPermissionSetResponse Int Source #
The response's http status code.