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 a list of mission profiles.
This operation returns paginated results.
Synopsis
- data ListMissionProfiles = ListMissionProfiles' {}
- newListMissionProfiles :: ListMissionProfiles
- listMissionProfiles_nextToken :: Lens' ListMissionProfiles (Maybe Text)
- listMissionProfiles_maxResults :: Lens' ListMissionProfiles (Maybe Int)
- data ListMissionProfilesResponse = ListMissionProfilesResponse' {}
- newListMissionProfilesResponse :: Int -> ListMissionProfilesResponse
- listMissionProfilesResponse_nextToken :: Lens' ListMissionProfilesResponse (Maybe Text)
- listMissionProfilesResponse_missionProfileList :: Lens' ListMissionProfilesResponse (Maybe [MissionProfileListItem])
- listMissionProfilesResponse_httpStatus :: Lens' ListMissionProfilesResponse Int
Creating a Request
data ListMissionProfiles Source #
See: newListMissionProfiles
smart constructor.
Instances
newListMissionProfiles :: ListMissionProfiles Source #
Create a value of ListMissionProfiles
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:ListMissionProfiles'
, listMissionProfiles_nextToken
- Next token returned in the request of a previous ListMissionProfiles
call. Used to get the next page of results.
$sel:maxResults:ListMissionProfiles'
, listMissionProfiles_maxResults
- Maximum number of mission profiles returned.
Request Lenses
listMissionProfiles_nextToken :: Lens' ListMissionProfiles (Maybe Text) Source #
Next token returned in the request of a previous ListMissionProfiles
call. Used to get the next page of results.
listMissionProfiles_maxResults :: Lens' ListMissionProfiles (Maybe Int) Source #
Maximum number of mission profiles returned.
Destructuring the Response
data ListMissionProfilesResponse Source #
See: newListMissionProfilesResponse
smart constructor.
ListMissionProfilesResponse' | |
|
Instances
newListMissionProfilesResponse Source #
Create a value of ListMissionProfilesResponse
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:ListMissionProfiles'
, listMissionProfilesResponse_nextToken
- Next token returned in the response of a previous ListMissionProfiles
call. Used to get the next page of results.
$sel:missionProfileList:ListMissionProfilesResponse'
, listMissionProfilesResponse_missionProfileList
- List of mission profiles.
$sel:httpStatus:ListMissionProfilesResponse'
, listMissionProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
listMissionProfilesResponse_nextToken :: Lens' ListMissionProfilesResponse (Maybe Text) Source #
Next token returned in the response of a previous ListMissionProfiles
call. Used to get the next page of results.
listMissionProfilesResponse_missionProfileList :: Lens' ListMissionProfilesResponse (Maybe [MissionProfileListItem]) Source #
List of mission profiles.
listMissionProfilesResponse_httpStatus :: Lens' ListMissionProfilesResponse Int Source #
The response's http status code.