amazonka-m2-2.0: Amazon MainframeModernization SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.M2.StopApplication

Description

Stops a running application.

Synopsis

Creating a Request

data StopApplication Source #

See: newStopApplication smart constructor.

Constructors

StopApplication' 

Fields

  • forceStop :: Maybe Bool

    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.

  • applicationId :: Text

    The unique identifier of the application you want to stop.

Instances

Instances details
ToJSON StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

ToHeaders StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

ToPath StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

ToQuery StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

AWSRequest StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Associated Types

type AWSResponse StopApplication #

Generic StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Associated Types

type Rep StopApplication :: Type -> Type #

Read StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Show StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

NFData StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Methods

rnf :: StopApplication -> () #

Eq StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Hashable StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

type AWSResponse StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

type Rep StopApplication Source # 
Instance details

Defined in Amazonka.M2.StopApplication

type Rep StopApplication = D1 ('MetaData "StopApplication" "Amazonka.M2.StopApplication" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "StopApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceStop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopApplication Source #

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.

Constructors

StopApplicationResponse' 

Fields

Instances

Instances details
Generic StopApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Associated Types

type Rep StopApplicationResponse :: Type -> Type #

Read StopApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Show StopApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.StopApplication

NFData StopApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.StopApplication

Methods

rnf :: StopApplicationResponse -> () #

Eq StopApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.StopApplication

type Rep StopApplicationResponse Source # 
Instance details

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