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 |
Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.
Synopsis
- data StopApplication = StopApplication' {}
- newStopApplication :: Text -> StopApplication
- stopApplication_applicationId :: Lens' StopApplication Text
- data StopApplicationResponse = StopApplicationResponse' {
- httpStatus :: Int
- newStopApplicationResponse :: Int -> StopApplicationResponse
- stopApplicationResponse_httpStatus :: Lens' StopApplicationResponse Int
Creating a Request
data StopApplication Source #
See: newStopApplication
smart constructor.
StopApplication' | |
|
Instances
Create a value of StopApplication
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:
StopApplication
, stopApplication_applicationId
- The ID of the application to stop.
Request Lenses
stopApplication_applicationId :: Lens' StopApplication Text Source #
The ID of the application to stop.
Destructuring the Response
data StopApplicationResponse Source #
See: newStopApplicationResponse
smart constructor.
StopApplicationResponse' | |
|
Instances
newStopApplicationResponse Source #
Create a value of StopApplicationResponse
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:StopApplicationResponse'
, stopApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
stopApplicationResponse_httpStatus :: Lens' StopApplicationResponse Int Source #
The response's http status code.