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 IAM policy 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_maxResults :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Natural)
- listIAMPolicyAssignmentsForUser_nextToken :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Text)
- listIAMPolicyAssignmentsForUser_awsAccountId :: Lens' ListIAMPolicyAssignmentsForUser Text
- listIAMPolicyAssignmentsForUser_userName :: Lens' ListIAMPolicyAssignmentsForUser Text
- listIAMPolicyAssignmentsForUser_namespace :: Lens' ListIAMPolicyAssignmentsForUser Text
- data ListIAMPolicyAssignmentsForUserResponse = ListIAMPolicyAssignmentsForUserResponse' {}
- newListIAMPolicyAssignmentsForUserResponse :: Int -> ListIAMPolicyAssignmentsForUserResponse
- listIAMPolicyAssignmentsForUserResponse_activeAssignments :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe [ActiveIAMPolicyAssignment])
- listIAMPolicyAssignmentsForUserResponse_nextToken :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe Text)
- listIAMPolicyAssignmentsForUserResponse_requestId :: 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:maxResults:ListIAMPolicyAssignmentsForUser'
, listIAMPolicyAssignmentsForUser_maxResults
- The maximum number of results to be returned per request.
ListIAMPolicyAssignmentsForUser
, listIAMPolicyAssignmentsForUser_nextToken
- The token for the next set of results, or null if there are no more
results.
ListIAMPolicyAssignmentsForUser
, listIAMPolicyAssignmentsForUser_awsAccountId
- The ID of the Amazon Web Services account that contains the assignments.
ListIAMPolicyAssignmentsForUser
, listIAMPolicyAssignmentsForUser_userName
- The name of the user.
ListIAMPolicyAssignmentsForUser
, listIAMPolicyAssignmentsForUser_namespace
- The namespace of the assignment.
Request Lenses
listIAMPolicyAssignmentsForUser_maxResults :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Natural) Source #
The maximum number of results to be returned per request.
listIAMPolicyAssignmentsForUser_nextToken :: Lens' ListIAMPolicyAssignmentsForUser (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
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:activeAssignments:ListIAMPolicyAssignmentsForUserResponse'
, listIAMPolicyAssignmentsForUserResponse_activeAssignments
- The active assignments for this user.
ListIAMPolicyAssignmentsForUser
, listIAMPolicyAssignmentsForUserResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:requestId:ListIAMPolicyAssignmentsForUserResponse'
, listIAMPolicyAssignmentsForUserResponse_requestId
- The Amazon Web Services request ID for this operation.
ListIAMPolicyAssignmentsForUserResponse
, listIAMPolicyAssignmentsForUserResponse_status
- The HTTP status of the request.
Response Lenses
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_requestId :: Lens' ListIAMPolicyAssignmentsForUserResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listIAMPolicyAssignmentsForUserResponse_status :: Lens' ListIAMPolicyAssignmentsForUserResponse Int Source #
The HTTP status of the request.