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 running application.
Synopsis
- data StopApplication = StopApplication' {
- forceStop :: Maybe Bool
- applicationId :: Text
- newStopApplication :: Text -> StopApplication
- stopApplication_forceStop :: Lens' StopApplication (Maybe Bool)
- 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:
$sel:forceStop:StopApplication'
, stopApplication_forceStop
- Stopping an application process can take a long time. Setting this
parameter to true lets you force stop the application so you don't need
to wait until the process finishes to apply another action on the
application. The default value is false.
StopApplication
, stopApplication_applicationId
- The unique identifier of the application you want to stop.
Request Lenses
stopApplication_forceStop :: Lens' StopApplication (Maybe Bool) Source #
Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.
stopApplication_applicationId :: Lens' StopApplication Text Source #
The unique identifier of the application you want to stop.
Destructuring the Response
data StopApplicationResponse Source #
See: newStopApplicationResponse
smart constructor.
StopApplicationResponse' | |
|
Instances
Generic StopApplicationResponse Source # | |
Defined in Amazonka.M2.StopApplication type Rep StopApplicationResponse :: Type -> Type # | |
Read StopApplicationResponse Source # | |
Show StopApplicationResponse Source # | |
Defined in Amazonka.M2.StopApplication showsPrec :: Int -> StopApplicationResponse -> ShowS # show :: StopApplicationResponse -> String # showList :: [StopApplicationResponse] -> ShowS # | |
NFData StopApplicationResponse Source # | |
Defined in Amazonka.M2.StopApplication rnf :: StopApplicationResponse -> () # | |
Eq StopApplicationResponse Source # | |
Defined in Amazonka.M2.StopApplication | |
type Rep StopApplicationResponse Source # | |
Defined in Amazonka.M2.StopApplication type Rep StopApplicationResponse = D1 ('MetaData "StopApplicationResponse" "Amazonka.M2.StopApplication" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "StopApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.