amazonka-stepfunctions-2.0: Amazon Step Functions 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.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
ToJSON StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.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

AWSRequest StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Associated Types

type AWSResponse StopExecution #

Generic StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Associated Types

type Rep StopExecution :: Type -> Type #

Show StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

NFData StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Methods

rnf :: StopExecution -> () #

Eq StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Hashable StopExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

type AWSResponse 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" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "StopExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "executionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

StopExecution, stopExecution_cause - A more detailed explanation of the cause of the failure.

StopExecution, stopExecution_error - The error code of the failure.

StopExecution, stopExecution_executionArn - The Amazon Resource Name (ARN) of the execution to stop.

Request Lenses

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

A more detailed explanation of the cause of the failure.

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

The error code 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
Generic StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Associated Types

type Rep StopExecutionResponse :: Type -> Type #

Read StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Show StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

NFData StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

Methods

rnf :: StopExecutionResponse -> () #

Eq StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

type Rep StopExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StopExecution

type Rep StopExecutionResponse = D1 ('MetaData "StopExecutionResponse" "Amazonka.StepFunctions.StopExecution" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" '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.

StopExecutionResponse, stopExecutionResponse_stopDate - The date the execution is stopped.

Response Lenses