libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions
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.StepFunctions.StopExecution

Description

Stops an execution.

This API action is not supported by EXPRESS state machines.

Synopsis

Creating a Request

data StopExecution Source #

See: newStopExecution smart constructor.

Constructors

StopExecution' 

Fields

Instances

Instances details
Eq StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Show StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Generic StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Associated Types

type Rep StopExecution :: Type -> Type #

NFData StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Methods

rnf :: StopExecution -> () #

Hashable StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

ToJSON StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

AWSRequest StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Associated Types

type AWSResponse StopExecution #

ToHeaders StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

ToPath StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

ToQuery StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

type Rep StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

type Rep StopExecution = D1 ('MetaData "StopExecution" "Amazonka.StepFunctions.StopExecution" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "StopExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "executionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

newStopExecution Source #

Create a value of StopExecution 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:error:StopExecution', stopExecution_error - The error code of the failure.

$sel:cause:StopExecution', stopExecution_cause - A more detailed explanation of the cause of the failure.

$sel:executionArn:StopExecution', stopExecution_executionArn - The Amazon Resource Name (ARN) of the execution to stop.

Request Lenses

stopExecution_error :: Lens' StopExecution (Maybe Text) Source #

The error code of the failure.

stopExecution_cause :: Lens' StopExecution (Maybe Text) Source #

A more detailed explanation of the cause of the failure.

stopExecution_executionArn :: Lens' StopExecution Text Source #

The Amazon Resource Name (ARN) of the execution to stop.

Destructuring the Response

data StopExecutionResponse Source #

See: newStopExecutionResponse smart constructor.

Constructors

StopExecutionResponse' 

Fields

Instances

Instances details
Eq StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Read StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Show StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Generic StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Associated Types

type Rep StopExecutionResponse :: Type -> Type #

NFData StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Methods

rnf :: StopExecutionResponse -> () #

type Rep StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

type Rep StopExecutionResponse = D1 ('MetaData "StopExecutionResponse" "Amazonka.StepFunctions.StopExecution" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "StopExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "stopDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newStopExecutionResponse Source #

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

$sel:stopDate:StopExecutionResponse', stopExecutionResponse_stopDate - The date the execution is stopped.

Response Lenses