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 IAMpolicy assignments, including the Amazon Resource Names (ARNs) for the IAM policies assigned to the specified user and group or groups that the user belongs to.
Synopsis
- data ListIAMPolicyAssignmentsForUser = ListIAMPolicyAssignmentsForUser' {}
- newListIAMPolicyAssignmentsForUser :: Text -> Text -> Text -> ListIAMPolicyAssignmentsForUser
- listIAMPolicyAssignmentsForUser_nextToken :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Text)
- listIAMPolicyAssignmentsForUser_maxResults :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Natural)
- listIAMPolicyAssignmentsForUser_awsAccountId :: Lens' ListIAMPolicyAssignmentsForUser Text
- listIAMPolicyAssignmentsForUser_userName :: Lens' ListIAMPolicyAssignmentsForUser Text
- listIAMPolicyAssignmentsForUser_namespace :: Lens' ListIAMPolicyAssignmentsForUser Text
- data ListIAMPolicyAssignmentsForUserResponse = ListIAMPolicyAssignmentsForUserResponse' {}
- newListIAMPolicyAssignmentsForUserResponse :: Int -> ListIAMPolicyAssignmentsForUserResponse
- listIAMPolicyAssignmentsForUserResponse_requestId :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe Text)
- listIAMPolicyAssignmentsForUserResponse_activeAssignments :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe [ActiveIAMPolicyAssignment])
- listIAMPolicyAssignmentsForUserResponse_nextToken :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe Text)
- listIAMPolicyAssignmentsForUserResponse_status :: Lens' ListIAMPolicyAssignmentsForUserResponse Int
Creating a Request
data ListIAMPolicyAssignmentsForUser Source #
See: newListIAMPolicyAssignmentsForUser
smart constructor.
ListIAMPolicyAssignmentsForUser' | |
|
Instances
newListIAMPolicyAssignmentsForUser Source #
:: Text | |
-> Text | |
-> Text | |
-> ListIAMPolicyAssignmentsForUser |
Create a value of ListIAMPolicyAssignmentsForUser
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:nextToken:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUser_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUser_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUser_awsAccountId
- The ID of the Amazon Web Services account that contains the assignments.
$sel:userName:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUser_userName
- The name of the user.
$sel:namespace:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUser_namespace
- The namespace of the assignment.
Request Lenses
listIAMPolicyAssignmentsForUser_nextToken :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listIAMPolicyAssignmentsForUser_maxResults :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Natural) Source #
The maximum number of results to be returned per request.
listIAMPolicyAssignmentsForUser_awsAccountId :: Lens' ListIAMPolicyAssignmentsForUser Text Source #
The ID of the Amazon Web Services account that contains the assignments.
listIAMPolicyAssignmentsForUser_userName :: Lens' ListIAMPolicyAssignmentsForUser Text Source #
The name of the user.
listIAMPolicyAssignmentsForUser_namespace :: Lens' ListIAMPolicyAssignmentsForUser Text Source #
The namespace of the assignment.
Destructuring the Response
data ListIAMPolicyAssignmentsForUserResponse Source #
See: newListIAMPolicyAssignmentsForUserResponse
smart constructor.
ListIAMPolicyAssignmentsForUserResponse' | |
|
Instances
newListIAMPolicyAssignmentsForUserResponse Source #
Create a value of ListIAMPolicyAssignmentsForUserResponse
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:requestId:ListIAMPolicyAssignmentsForUserResponse'
, listIAMPolicyAssignmentsForUserResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:activeAssignments:ListIAMPolicyAssignmentsForUserResponse'
, listIAMPolicyAssignmentsForUserResponse_activeAssignments
- The active assignments for this user.
$sel:nextToken:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUserResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:status:ListIAMPolicyAssignmentsForUserResponse'
, listIAMPolicyAssignmentsForUserResponse_status
- The HTTP status of the request.
Response Lenses
listIAMPolicyAssignmentsForUserResponse_requestId :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listIAMPolicyAssignmentsForUserResponse_activeAssignments :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe [ActiveIAMPolicyAssignment]) Source #
The active assignments for this user.
listIAMPolicyAssignmentsForUserResponse_nextToken :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listIAMPolicyAssignmentsForUserResponse_status :: Lens' ListIAMPolicyAssignmentsForUserResponse Int Source #
The HTTP status of the request.