| 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 |
Amazonka.RolesAnywhere.ListProfiles
Description
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
This operation returns paginated results.
Synopsis
- data ListProfiles = ListProfiles' {}
- newListProfiles :: ListProfiles
- listProfiles_nextToken :: Lens' ListProfiles (Maybe Text)
- listProfiles_pageSize :: Lens' ListProfiles (Maybe Int)
- data ListProfilesResponse = ListProfilesResponse' {
- nextToken :: Maybe Text
- profiles :: Maybe [ProfileDetail]
- httpStatus :: Int
- newListProfilesResponse :: Int -> ListProfilesResponse
- listProfilesResponse_nextToken :: Lens' ListProfilesResponse (Maybe Text)
- listProfilesResponse_profiles :: Lens' ListProfilesResponse (Maybe [ProfileDetail])
- listProfilesResponse_httpStatus :: Lens' ListProfilesResponse Int
Creating a Request
data ListProfiles Source #
See: newListProfiles smart constructor.
Constructors
| ListProfiles' | |
Instances
newListProfiles :: ListProfiles Source #
Create a value of ListProfiles 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:
ListProfiles, listProfiles_nextToken - A token that indicates where the output should continue from, if a
previous operation did not show all results. To get the next results,
call the operation again with this value.
ListProfiles, listProfiles_pageSize - The number of resources in the paginated list.
Request Lenses
listProfiles_nextToken :: Lens' ListProfiles (Maybe Text) Source #
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
listProfiles_pageSize :: Lens' ListProfiles (Maybe Int) Source #
The number of resources in the paginated list.
Destructuring the Response
data ListProfilesResponse Source #
See: newListProfilesResponse smart constructor.
Constructors
| ListProfilesResponse' | |
Fields
| |
Instances
newListProfilesResponse Source #
Arguments
| :: Int | |
| -> ListProfilesResponse |
Create a value of ListProfilesResponse 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:
ListProfiles, listProfilesResponse_nextToken - A token that indicates where the output should continue from, if a
previous operation did not show all results. To get the next results,
call the operation again with this value.
$sel:profiles:ListProfilesResponse', listProfilesResponse_profiles - A list of profiles.
$sel:httpStatus:ListProfilesResponse', listProfilesResponse_httpStatus - The response's http status code.
Response Lenses
listProfilesResponse_nextToken :: Lens' ListProfilesResponse (Maybe Text) Source #
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
listProfilesResponse_profiles :: Lens' ListProfilesResponse (Maybe [ProfileDetail]) Source #
A list of profiles.
listProfilesResponse_httpStatus :: Lens' ListProfilesResponse Int Source #
The response's http status code.