libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.StopAutomationExecution

Description

Stop an Automation that is currently running.

Synopsis

Creating a Request

data StopAutomationExecution Source #

See: newStopAutomationExecution smart constructor.

Constructors

StopAutomationExecution' 

Fields

Instances

Instances details
Eq StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Read StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Show StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Generic StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Associated Types

type Rep StopAutomationExecution :: Type -> Type #

NFData StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Methods

rnf :: StopAutomationExecution -> () #

Hashable StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

ToJSON StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

AWSRequest StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

ToHeaders StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

ToPath StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

ToQuery StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

type Rep StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

type Rep StopAutomationExecution = D1 ('MetaData "StopAutomationExecution" "Amazonka.SSM.StopAutomationExecution" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "StopAutomationExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StopType)) :*: S1 ('MetaSel ('Just "automationExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopAutomationExecution Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

newStopAutomationExecution Source #

Create a value of StopAutomationExecution 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:type':StopAutomationExecution', stopAutomationExecution_type - The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.

$sel:automationExecutionId:StopAutomationExecution', stopAutomationExecution_automationExecutionId - The execution ID of the Automation to stop.

Request Lenses

stopAutomationExecution_type :: Lens' StopAutomationExecution (Maybe StopType) Source #

The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.

Destructuring the Response

data StopAutomationExecutionResponse Source #

See: newStopAutomationExecutionResponse smart constructor.

Constructors

StopAutomationExecutionResponse' 

Fields

Instances

Instances details
Eq StopAutomationExecutionResponse Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Read StopAutomationExecutionResponse Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Show StopAutomationExecutionResponse Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Generic StopAutomationExecutionResponse Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

Associated Types

type Rep StopAutomationExecutionResponse :: Type -> Type #

NFData StopAutomationExecutionResponse Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

type Rep StopAutomationExecutionResponse Source # 
Instance details

Defined in Amazonka.SSM.StopAutomationExecution

type Rep StopAutomationExecutionResponse = D1 ('MetaData "StopAutomationExecutionResponse" "Amazonka.SSM.StopAutomationExecution" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "StopAutomationExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopAutomationExecutionResponse Source #

Create a value of StopAutomationExecutionResponse 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:StopAutomationExecutionResponse', stopAutomationExecutionResponse_httpStatus - The response's http status code.

Response Lenses