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 configuration details about all the launches in the specified project.
This operation returns paginated results.
Synopsis
- data ListLaunches = ListLaunches' {}
- newListLaunches :: Text -> ListLaunches
- listLaunches_maxResults :: Lens' ListLaunches (Maybe Natural)
- listLaunches_nextToken :: Lens' ListLaunches (Maybe Text)
- listLaunches_status :: Lens' ListLaunches (Maybe LaunchStatus)
- listLaunches_project :: Lens' ListLaunches Text
- data ListLaunchesResponse = ListLaunchesResponse' {}
- newListLaunchesResponse :: Int -> ListLaunchesResponse
- listLaunchesResponse_launches :: Lens' ListLaunchesResponse (Maybe [Launch])
- listLaunchesResponse_nextToken :: Lens' ListLaunchesResponse (Maybe Text)
- listLaunchesResponse_httpStatus :: Lens' ListLaunchesResponse Int
Creating a Request
data ListLaunches Source #
See: newListLaunches
smart constructor.
ListLaunches' | |
|
Instances
Create a value of ListLaunches
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:ListLaunches'
, listLaunches_maxResults
- The maximum number of results to include in the response.
ListLaunches
, listLaunches_nextToken
- The token to use when requesting the next set of results. You received
this token from a previous ListLaunches
operation.
ListLaunches
, listLaunches_status
- Use this optional parameter to limit the returned results to only the
launches with the status that you specify here.
ListLaunches
, listLaunches_project
- The name or ARN of the project to return the launch list from.
Request Lenses
listLaunches_maxResults :: Lens' ListLaunches (Maybe Natural) Source #
The maximum number of results to include in the response.
listLaunches_nextToken :: Lens' ListLaunches (Maybe Text) Source #
The token to use when requesting the next set of results. You received
this token from a previous ListLaunches
operation.
listLaunches_status :: Lens' ListLaunches (Maybe LaunchStatus) Source #
Use this optional parameter to limit the returned results to only the launches with the status that you specify here.
listLaunches_project :: Lens' ListLaunches Text Source #
The name or ARN of the project to return the launch list from.
Destructuring the Response
data ListLaunchesResponse Source #
See: newListLaunchesResponse
smart constructor.
Instances
newListLaunchesResponse Source #
Create a value of ListLaunchesResponse
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:launches:ListLaunchesResponse'
, listLaunchesResponse_launches
- An array of structures that contain the configuration details of the
launches in the specified project.
ListLaunches
, listLaunchesResponse_nextToken
- The token to use in a subsequent ListLaunches
operation to return the
next set of results.
$sel:httpStatus:ListLaunchesResponse'
, listLaunchesResponse_httpStatus
- The response's http status code.
Response Lenses
listLaunchesResponse_launches :: Lens' ListLaunchesResponse (Maybe [Launch]) Source #
An array of structures that contain the configuration details of the launches in the specified project.
listLaunchesResponse_nextToken :: Lens' ListLaunchesResponse (Maybe Text) Source #
The token to use in a subsequent ListLaunches
operation to return the
next set of results.
listLaunchesResponse_httpStatus :: Lens' ListLaunchesResponse Int Source #
The response's http status code.