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 the details about one launch. You must already know the launch name. To retrieve a list of launches in your account, use ListLaunches.
Synopsis
- data GetLaunch = GetLaunch' {}
- newGetLaunch :: Text -> Text -> GetLaunch
- getLaunch_launch :: Lens' GetLaunch Text
- getLaunch_project :: Lens' GetLaunch Text
- data GetLaunchResponse = GetLaunchResponse' {
- launch :: Maybe Launch
- httpStatus :: Int
- newGetLaunchResponse :: Int -> GetLaunchResponse
- getLaunchResponse_launch :: Lens' GetLaunchResponse (Maybe Launch)
- getLaunchResponse_httpStatus :: Lens' GetLaunchResponse Int
Creating a Request
See: newGetLaunch
smart constructor.
Instances
Create a value of GetLaunch
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:
GetLaunch
, getLaunch_launch
- The name of the launch that you want to see the details of.
GetLaunch
, getLaunch_project
- The name or ARN of the project that contains the launch.
Request Lenses
getLaunch_launch :: Lens' GetLaunch Text Source #
The name of the launch that you want to see the details of.
getLaunch_project :: Lens' GetLaunch Text Source #
The name or ARN of the project that contains the launch.
Destructuring the Response
data GetLaunchResponse Source #
See: newGetLaunchResponse
smart constructor.
GetLaunchResponse' | |
|
Instances
Create a value of GetLaunchResponse
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:
GetLaunch
, getLaunchResponse_launch
- A structure containing the configuration details of the launch.
$sel:httpStatus:GetLaunchResponse'
, getLaunchResponse_httpStatus
- The response's http status code.
Response Lenses
getLaunchResponse_launch :: Lens' GetLaunchResponse (Maybe Launch) Source #
A structure containing the configuration details of the launch.
getLaunchResponse_httpStatus :: Lens' GetLaunchResponse Int Source #
The response's http status code.