Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns information about all the instance profiles in an AWS account.
Synopsis
- listInstanceProfiles :: ListInstanceProfiles
- data ListInstanceProfiles
- lipNextToken :: Lens' ListInstanceProfiles (Maybe Text)
- lipMaxResults :: Lens' ListInstanceProfiles (Maybe Int)
- listInstanceProfilesResponse :: Int -> ListInstanceProfilesResponse
- data ListInstanceProfilesResponse
- liprsNextToken :: Lens' ListInstanceProfilesResponse (Maybe Text)
- liprsInstanceProfiles :: Lens' ListInstanceProfilesResponse [InstanceProfile]
- liprsResponseStatus :: Lens' ListInstanceProfilesResponse Int
Creating a Request
listInstanceProfiles :: ListInstanceProfiles Source #
Creates a value of ListInstanceProfiles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lipNextToken
- 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.lipMaxResults
- An integer specifying the maximum number of items you want to return in the API response.
data ListInstanceProfiles Source #
See: listInstanceProfiles
smart constructor.
Instances
Request Lenses
lipNextToken :: 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.
lipMaxResults :: Lens' ListInstanceProfiles (Maybe Int) Source #
An integer specifying the maximum number of items you want to return in the API response.
Destructuring the Response
listInstanceProfilesResponse Source #
Creates a value of ListInstanceProfilesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
liprsNextToken
- An identifier that can be used in the next call to this operation to return the next set of items in the list.liprsInstanceProfiles
- An object containing information about your instance profiles.liprsResponseStatus
- -- | The response status code.
data ListInstanceProfilesResponse Source #
See: listInstanceProfilesResponse
smart constructor.
Instances
Response Lenses
liprsNextToken :: 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.
liprsInstanceProfiles :: Lens' ListInstanceProfilesResponse [InstanceProfile] Source #
An object containing information about your instance profiles.
liprsResponseStatus :: Lens' ListInstanceProfilesResponse Int Source #
- - | The response status code.