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.DescribeExecution

Description

Provides all information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. Use this API action to return the Map Run ARN if the execution was dispatched by a Map Run.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

This API action is not supported by EXPRESS state machine executions unless they were dispatched by a Map Run.

Synopsis

Creating a Request

data DescribeExecution Source #

See: newDescribeExecution smart constructor.

Constructors

DescribeExecution' 

Fields

  • executionArn :: Text

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

Instances

Instances details
ToJSON DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

ToHeaders DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

ToPath DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

ToQuery DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

AWSRequest DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Associated Types

type AWSResponse DescribeExecution #

Generic DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Associated Types

type Rep DescribeExecution :: Type -> Type #

Read DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Show DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

NFData DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Methods

rnf :: DescribeExecution -> () #

Eq DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Hashable DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

type AWSResponse DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

type Rep DescribeExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

type Rep DescribeExecution = D1 ('MetaData "DescribeExecution" "Amazonka.StepFunctions.DescribeExecution" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "DescribeExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeExecution Source #

Create a value of DescribeExecution 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:

DescribeExecution, describeExecution_executionArn - The Amazon Resource Name (ARN) of the execution to describe.

Request Lenses

describeExecution_executionArn :: Lens' DescribeExecution Text Source #

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

Destructuring the Response

data DescribeExecutionResponse Source #

See: newDescribeExecutionResponse smart constructor.

Constructors

DescribeExecutionResponse' 

Fields

Instances

Instances details
Generic DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Associated Types

type Rep DescribeExecutionResponse :: Type -> Type #

Show DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

NFData DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

Eq DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

type Rep DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeExecution

type Rep DescribeExecutionResponse = D1 ('MetaData "DescribeExecutionResponse" "Amazonka.StepFunctions.DescribeExecution" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "DescribeExecutionResponse'" '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 "input") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 ('MetaSel ('Just "inputDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchEventsExecutionDataDetails)) :*: S1 ('MetaSel ('Just "mapRunArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))) :*: (((S1 ('MetaSel ('Just "outputDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchEventsExecutionDataDetails)) :*: S1 ('MetaSel ('Just "stopDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "traceHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "executionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stateMachineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExecutionStatus) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newDescribeExecutionResponse Source #

Create a value of DescribeExecutionResponse 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:

DescribeExecutionResponse, describeExecutionResponse_cause - The cause string if the state machine execution failed.

DescribeExecutionResponse, describeExecutionResponse_error - The error string if the state machine execution failed.

DescribeExecutionResponse, describeExecutionResponse_input - The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

DescribeExecutionResponse, describeExecutionResponse_inputDetails - Undocumented member.

DescribeExecutionResponse, describeExecutionResponse_mapRunArn - The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.

DescribeExecutionResponse, describeExecutionResponse_name - The name of the execution.

A name must not contain:

  • white space
  • brackets < > { } [ ]
  • wildcard characters ? *
  • special characters " # % \ ^ | ~ ` $ & , ; : /
  • control characters (U+0000-001F, U+007F-009F)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

DescribeExecutionResponse, describeExecutionResponse_output - The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

This field is set only if the execution succeeds. If the execution fails, this field is null.

DescribeExecutionResponse, describeExecutionResponse_outputDetails - Undocumented member.

DescribeExecutionResponse, describeExecutionResponse_stopDate - If the execution has already ended, the date the execution stopped.

$sel:traceHeader:DescribeExecutionResponse', describeExecutionResponse_traceHeader - The X-Ray trace header that was passed to the execution.

$sel:httpStatus:DescribeExecutionResponse', describeExecutionResponse_httpStatus - The response's http status code.

DescribeExecution, describeExecutionResponse_executionArn - The Amazon Resource Name (ARN) that identifies the execution.

DescribeExecutionResponse, describeExecutionResponse_stateMachineArn - The Amazon Resource Name (ARN) of the executed stated machine.

DescribeExecutionResponse, describeExecutionResponse_status - The current status of the execution.

DescribeExecutionResponse, describeExecutionResponse_startDate - The date the execution is started.

Response Lenses

describeExecutionResponse_cause :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The cause string if the state machine execution failed.

describeExecutionResponse_error :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The error string if the state machine execution failed.

describeExecutionResponse_input :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

describeExecutionResponse_mapRunArn :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.

describeExecutionResponse_name :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The name of the execution.

A name must not contain:

  • white space
  • brackets < > { } [ ]
  • wildcard characters ? *
  • special characters " # % \ ^ | ~ ` $ & , ; : /
  • control characters (U+0000-001F, U+007F-009F)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

describeExecutionResponse_output :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

This field is set only if the execution succeeds. If the execution fails, this field is null.

describeExecutionResponse_stopDate :: Lens' DescribeExecutionResponse (Maybe UTCTime) Source #

If the execution has already ended, the date the execution stopped.

describeExecutionResponse_traceHeader :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The X-Ray trace header that was passed to the execution.

describeExecutionResponse_executionArn :: Lens' DescribeExecutionResponse Text Source #

The Amazon Resource Name (ARN) that identifies the execution.

describeExecutionResponse_stateMachineArn :: Lens' DescribeExecutionResponse Text Source #

The Amazon Resource Name (ARN) of the executed stated machine.