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 |
Returns information about all the instance profiles in an AWS account.
This operation returns paginated results.
Synopsis
- data ListInstanceProfiles = ListInstanceProfiles' {}
- newListInstanceProfiles :: ListInstanceProfiles
- listInstanceProfiles_maxResults :: Lens' ListInstanceProfiles (Maybe Int)
- listInstanceProfiles_nextToken :: Lens' ListInstanceProfiles (Maybe Text)
- data ListInstanceProfilesResponse = ListInstanceProfilesResponse' {}
- newListInstanceProfilesResponse :: Int -> ListInstanceProfilesResponse
- listInstanceProfilesResponse_instanceProfiles :: Lens' ListInstanceProfilesResponse (Maybe [InstanceProfile])
- listInstanceProfilesResponse_nextToken :: Lens' ListInstanceProfilesResponse (Maybe Text)
- 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:maxResults:ListInstanceProfiles'
, listInstanceProfiles_maxResults
- An integer that specifies the maximum number of items you want to return
in the API response.
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.
Request Lenses
listInstanceProfiles_maxResults :: Lens' ListInstanceProfiles (Maybe Int) Source #
An integer that specifies the maximum number of items you want to return in the API response.
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.
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:instanceProfiles:ListInstanceProfilesResponse'
, listInstanceProfilesResponse_instanceProfiles
- An object that contains information about your instance profiles.
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:httpStatus:ListInstanceProfilesResponse'
, listInstanceProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceProfilesResponse_instanceProfiles :: Lens' ListInstanceProfilesResponse (Maybe [InstanceProfile]) Source #
An object that contains information about your instance profiles.
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_httpStatus :: Lens' ListInstanceProfilesResponse Int Source #
The response's http status code.