| 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 |
Amazonka.EMRServerless.StartApplication
Description
Starts a specified application and initializes initial capacity if configured.
Synopsis
- data StartApplication = StartApplication' {}
- newStartApplication :: Text -> StartApplication
- startApplication_applicationId :: Lens' StartApplication Text
- data StartApplicationResponse = StartApplicationResponse' {
- httpStatus :: Int
- newStartApplicationResponse :: Int -> StartApplicationResponse
- startApplicationResponse_httpStatus :: Lens' StartApplicationResponse Int
Creating a Request
data StartApplication Source #
See: newStartApplication smart constructor.
Constructors
| StartApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartApplication |
Create a value of StartApplication 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:
StartApplication, startApplication_applicationId - The ID of the application to start.
Request Lenses
startApplication_applicationId :: Lens' StartApplication Text Source #
The ID of the application to start.
Destructuring the Response
data StartApplicationResponse Source #
See: newStartApplicationResponse smart constructor.
Constructors
| StartApplicationResponse' | |
Fields
| |
Instances
newStartApplicationResponse Source #
Create a value of StartApplicationResponse 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:httpStatus:StartApplicationResponse', startApplicationResponse_httpStatus - The response's http status code.
Response Lenses
startApplicationResponse_httpStatus :: Lens' StartApplicationResponse Int Source #
The response's http status code.