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 |
Describe specified users.
Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Synopsis
- data DescribeUserProfiles = DescribeUserProfiles' {
- iamUserArns :: Maybe [Text]
- newDescribeUserProfiles :: DescribeUserProfiles
- describeUserProfiles_iamUserArns :: Lens' DescribeUserProfiles (Maybe [Text])
- data DescribeUserProfilesResponse = DescribeUserProfilesResponse' {
- userProfiles :: Maybe [UserProfile]
- httpStatus :: Int
- newDescribeUserProfilesResponse :: Int -> DescribeUserProfilesResponse
- describeUserProfilesResponse_userProfiles :: Lens' DescribeUserProfilesResponse (Maybe [UserProfile])
- describeUserProfilesResponse_httpStatus :: Lens' DescribeUserProfilesResponse Int
Creating a Request
data DescribeUserProfiles Source #
See: newDescribeUserProfiles
smart constructor.
DescribeUserProfiles' | |
|
Instances
newDescribeUserProfiles :: DescribeUserProfiles Source #
Create a value of DescribeUserProfiles
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:iamUserArns:DescribeUserProfiles'
, describeUserProfiles_iamUserArns
- An array of IAM or federated user ARNs that identify the users to be
described.
Request Lenses
describeUserProfiles_iamUserArns :: Lens' DescribeUserProfiles (Maybe [Text]) Source #
An array of IAM or federated user ARNs that identify the users to be described.
Destructuring the Response
data DescribeUserProfilesResponse Source #
Contains the response to a DescribeUserProfiles
request.
See: newDescribeUserProfilesResponse
smart constructor.
DescribeUserProfilesResponse' | |
|
Instances
newDescribeUserProfilesResponse Source #
Create a value of DescribeUserProfilesResponse
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:userProfiles:DescribeUserProfilesResponse'
, describeUserProfilesResponse_userProfiles
- A Users
object that describes the specified users.
$sel:httpStatus:DescribeUserProfilesResponse'
, describeUserProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserProfilesResponse_userProfiles :: Lens' DescribeUserProfilesResponse (Maybe [UserProfile]) Source #
A Users
object that describes the specified users.
describeUserProfilesResponse_httpStatus :: Lens' DescribeUserProfilesResponse Int Source #
The response's http status code.