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 Amazon Web Services accounts where the specified permission set is provisioned.
This operation returns paginated results.
Synopsis
- data ListAccountsForProvisionedPermissionSet = ListAccountsForProvisionedPermissionSet' {}
- newListAccountsForProvisionedPermissionSet :: Text -> Text -> ListAccountsForProvisionedPermissionSet
- listAccountsForProvisionedPermissionSet_provisioningStatus :: Lens' ListAccountsForProvisionedPermissionSet (Maybe ProvisioningStatus)
- listAccountsForProvisionedPermissionSet_nextToken :: Lens' ListAccountsForProvisionedPermissionSet (Maybe Text)
- listAccountsForProvisionedPermissionSet_maxResults :: Lens' ListAccountsForProvisionedPermissionSet (Maybe Natural)
- 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 #
:: Text | |
-> Text |
|
-> ListAccountsForProvisionedPermissionSet |
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:provisioningStatus:ListAccountsForProvisionedPermissionSet'
, listAccountsForProvisionedPermissionSet_provisioningStatus
- The permission set provisioning status for an Amazon Web Services
account.
$sel:nextToken: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:maxResults:ListAccountsForProvisionedPermissionSet'
, listAccountsForProvisionedPermissionSet_maxResults
- The maximum number of results to display for the PermissionSet.
$sel:instanceArn:ListAccountsForProvisionedPermissionSet'
, listAccountsForProvisionedPermissionSet_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:permissionSetArn:ListAccountsForProvisionedPermissionSet'
, listAccountsForProvisionedPermissionSet_permissionSetArn
- The ARN of the PermissionSet from which the associated Amazon Web
Services accounts will be listed.
Request Lenses
listAccountsForProvisionedPermissionSet_provisioningStatus :: Lens' ListAccountsForProvisionedPermissionSet (Maybe ProvisioningStatus) Source #
The permission set provisioning status for an Amazon Web Services account.
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_maxResults :: Lens' ListAccountsForProvisionedPermissionSet (Maybe Natural) Source #
The maximum number of results to display for the PermissionSet.
listAccountsForProvisionedPermissionSet_instanceArn :: Lens' ListAccountsForProvisionedPermissionSet 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.
listAccountsForProvisionedPermissionSet_permissionSetArn :: Lens' ListAccountsForProvisionedPermissionSet Text Source #
The ARN of the PermissionSet from which the associated Amazon Web Services 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 Amazon Web Services AccountIds
.
$sel:nextToken: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 Amazon Web Services 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.