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 assignee of the specified AWS account with the specified permission set.
This operation returns paginated results.
Synopsis
- data ListAccountAssignments = ListAccountAssignments' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceArn :: Text
- accountId :: Text
- permissionSetArn :: Text
- newListAccountAssignments :: Text -> Text -> Text -> ListAccountAssignments
- listAccountAssignments_maxResults :: Lens' ListAccountAssignments (Maybe Natural)
- listAccountAssignments_nextToken :: Lens' ListAccountAssignments (Maybe Text)
- listAccountAssignments_instanceArn :: Lens' ListAccountAssignments Text
- listAccountAssignments_accountId :: Lens' ListAccountAssignments Text
- listAccountAssignments_permissionSetArn :: Lens' ListAccountAssignments Text
- data ListAccountAssignmentsResponse = ListAccountAssignmentsResponse' {}
- newListAccountAssignmentsResponse :: Int -> ListAccountAssignmentsResponse
- listAccountAssignmentsResponse_accountAssignments :: Lens' ListAccountAssignmentsResponse (Maybe [AccountAssignment])
- listAccountAssignmentsResponse_nextToken :: Lens' ListAccountAssignmentsResponse (Maybe Text)
- listAccountAssignmentsResponse_httpStatus :: Lens' ListAccountAssignmentsResponse Int
Creating a Request
data ListAccountAssignments Source #
See: newListAccountAssignments
smart constructor.
ListAccountAssignments' | |
|
Instances
newListAccountAssignments Source #
:: Text | |
-> Text | |
-> Text | |
-> ListAccountAssignments |
Create a value of ListAccountAssignments
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:ListAccountAssignments'
, listAccountAssignments_maxResults
- The maximum number of results to display for the assignment.
ListAccountAssignments
, listAccountAssignments_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
ListAccountAssignments
, listAccountAssignments_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.
ListAccountAssignments
, listAccountAssignments_accountId
- The identifier of the AWS account from which to list the assignments.
ListAccountAssignments
, listAccountAssignments_permissionSetArn
- The ARN of the permission set from which to list assignments.
Request Lenses
listAccountAssignments_maxResults :: Lens' ListAccountAssignments (Maybe Natural) Source #
The maximum number of results to display for the assignment.
listAccountAssignments_nextToken :: Lens' ListAccountAssignments (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.
listAccountAssignments_instanceArn :: Lens' ListAccountAssignments 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.
listAccountAssignments_accountId :: Lens' ListAccountAssignments Text Source #
The identifier of the AWS account from which to list the assignments.
listAccountAssignments_permissionSetArn :: Lens' ListAccountAssignments Text Source #
The ARN of the permission set from which to list assignments.
Destructuring the Response
data ListAccountAssignmentsResponse Source #
See: newListAccountAssignmentsResponse
smart constructor.
ListAccountAssignmentsResponse' | |
|
Instances
newListAccountAssignmentsResponse Source #
Create a value of ListAccountAssignmentsResponse
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:accountAssignments:ListAccountAssignmentsResponse'
, listAccountAssignmentsResponse_accountAssignments
- The list of assignments that match the input AWS account and permission
set.
ListAccountAssignments
, listAccountAssignmentsResponse_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:ListAccountAssignmentsResponse'
, listAccountAssignmentsResponse_httpStatus
- The response's http status code.
Response Lenses
listAccountAssignmentsResponse_accountAssignments :: Lens' ListAccountAssignmentsResponse (Maybe [AccountAssignment]) Source #
The list of assignments that match the input AWS account and permission set.
listAccountAssignmentsResponse_nextToken :: Lens' ListAccountAssignmentsResponse (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.
listAccountAssignmentsResponse_httpStatus :: Lens' ListAccountAssignmentsResponse Int Source #
The response's http status code.