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 |
Returns information about all the instance profiles in an AWS account.
This operation returns paginated results.
Synopsis
- data ListInstanceProfiles = ListInstanceProfiles' {}
- newListInstanceProfiles :: ListInstanceProfiles
- listInstanceProfiles_nextToken :: Lens' ListInstanceProfiles (Maybe Text)
- listInstanceProfiles_maxResults :: Lens' ListInstanceProfiles (Maybe Int)
- data ListInstanceProfilesResponse = ListInstanceProfilesResponse' {}
- newListInstanceProfilesResponse :: Int -> ListInstanceProfilesResponse
- listInstanceProfilesResponse_nextToken :: Lens' ListInstanceProfilesResponse (Maybe Text)
- listInstanceProfilesResponse_instanceProfiles :: Lens' ListInstanceProfilesResponse (Maybe [InstanceProfile])
- listInstanceProfilesResponse_httpStatus :: Lens' ListInstanceProfilesResponse Int
Creating a Request
data ListInstanceProfiles Source #
See: newListInstanceProfiles
smart constructor.
Instances
newListInstanceProfiles :: ListInstanceProfiles Source #
Create a value of ListInstanceProfiles
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:ListInstanceProfiles'
, listInstanceProfiles_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:maxResults:ListInstanceProfiles'
, listInstanceProfiles_maxResults
- An integer that specifies the maximum number of items you want to return
in the API response.
Request Lenses
listInstanceProfiles_nextToken :: Lens' ListInstanceProfiles (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listInstanceProfiles_maxResults :: Lens' ListInstanceProfiles (Maybe Int) Source #
An integer that specifies the maximum number of items you want to return in the API response.
Destructuring the Response
data ListInstanceProfilesResponse Source #
See: newListInstanceProfilesResponse
smart constructor.
ListInstanceProfilesResponse' | |
|
Instances
newListInstanceProfilesResponse Source #
Create a value of ListInstanceProfilesResponse
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:ListInstanceProfiles'
, listInstanceProfilesResponse_nextToken
- An identifier that can be used in the next call to this operation to
return the next set of items in the list.
$sel:instanceProfiles:ListInstanceProfilesResponse'
, listInstanceProfilesResponse_instanceProfiles
- An object that contains information about your instance profiles.
$sel:httpStatus:ListInstanceProfilesResponse'
, listInstanceProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceProfilesResponse_nextToken :: Lens' ListInstanceProfilesResponse (Maybe Text) Source #
An identifier that can be used in the next call to this operation to return the next set of items in the list.
listInstanceProfilesResponse_instanceProfiles :: Lens' ListInstanceProfilesResponse (Maybe [InstanceProfile]) Source #
An object that contains information about your instance profiles.
listInstanceProfilesResponse_httpStatus :: Lens' ListInstanceProfilesResponse Int Source #
The response's http status code.