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

Description

Provides information about a state machine's definition, its execution role ARN, and configuration. If an execution was dispatched by a Map Run, the Map Run is returned in the response. Additionally, the state machine returned will be the state machine associated with the 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 machines.

Synopsis

Creating a Request

data DescribeStateMachineForExecution Source #

See: newDescribeStateMachineForExecution smart constructor.

Constructors

DescribeStateMachineForExecution' 

Fields

  • executionArn :: Text

    The Amazon Resource Name (ARN) of the execution you want state machine information for.

Instances

Instances details
ToJSON DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

ToHeaders DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

ToPath DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

ToQuery DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

AWSRequest DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Generic DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Associated Types

type Rep DescribeStateMachineForExecution :: Type -> Type #

Read DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Show DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

NFData DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Eq DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Hashable DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

type AWSResponse DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

type Rep DescribeStateMachineForExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

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

newDescribeStateMachineForExecution Source #

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

DescribeStateMachineForExecution, describeStateMachineForExecution_executionArn - The Amazon Resource Name (ARN) of the execution you want state machine information for.

Request Lenses

describeStateMachineForExecution_executionArn :: Lens' DescribeStateMachineForExecution Text Source #

The Amazon Resource Name (ARN) of the execution you want state machine information for.

Destructuring the Response

data DescribeStateMachineForExecutionResponse Source #

Constructors

DescribeStateMachineForExecutionResponse' 

Fields

  • label :: Maybe Text

    A user-defined or an auto-generated string that identifies a Map state. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.

  • loggingConfiguration :: Maybe LoggingConfiguration
     
  • mapRunArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.

  • tracingConfiguration :: Maybe TracingConfiguration

    Selects whether X-Ray tracing is enabled.

  • httpStatus :: Int

    The response's http status code.

  • stateMachineArn :: Text

    The Amazon Resource Name (ARN) of the state machine associated with the execution.

  • name :: Text

    The name of the state machine associated with the execution.

  • definition :: Sensitive Text

    The Amazon States Language definition of the state machine. See Amazon States Language.

  • roleArn :: Text

    The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.

  • updateDate :: POSIX

    The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.

Instances

Instances details
Generic DescribeStateMachineForExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Show DescribeStateMachineForExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

NFData DescribeStateMachineForExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

Eq DescribeStateMachineForExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

type Rep DescribeStateMachineForExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachineForExecution

type Rep DescribeStateMachineForExecutionResponse = D1 ('MetaData "DescribeStateMachineForExecutionResponse" "Amazonka.StepFunctions.DescribeStateMachineForExecution" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "DescribeStateMachineForExecutionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loggingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfiguration))) :*: (S1 ('MetaSel ('Just "mapRunArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tracingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TracingConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "stateMachineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newDescribeStateMachineForExecutionResponse Source #

Create a value of DescribeStateMachineForExecutionResponse 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:label:DescribeStateMachineForExecutionResponse', describeStateMachineForExecutionResponse_label - A user-defined or an auto-generated string that identifies a Map state. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.

$sel:loggingConfiguration:DescribeStateMachineForExecutionResponse', describeStateMachineForExecutionResponse_loggingConfiguration - Undocumented member.

DescribeStateMachineForExecutionResponse, describeStateMachineForExecutionResponse_mapRunArn - The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.

$sel:tracingConfiguration:DescribeStateMachineForExecutionResponse', describeStateMachineForExecutionResponse_tracingConfiguration - Selects whether X-Ray tracing is enabled.

$sel:httpStatus:DescribeStateMachineForExecutionResponse', describeStateMachineForExecutionResponse_httpStatus - The response's http status code.

DescribeStateMachineForExecutionResponse, describeStateMachineForExecutionResponse_stateMachineArn - The Amazon Resource Name (ARN) of the state machine associated with the execution.

DescribeStateMachineForExecutionResponse, describeStateMachineForExecutionResponse_name - The name of the state machine associated with the execution.

$sel:definition:DescribeStateMachineForExecutionResponse', describeStateMachineForExecutionResponse_definition - The Amazon States Language definition of the state machine. See Amazon States Language.

DescribeStateMachineForExecutionResponse, describeStateMachineForExecutionResponse_roleArn - The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.

$sel:updateDate:DescribeStateMachineForExecutionResponse', describeStateMachineForExecutionResponse_updateDate - The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.

Response Lenses

describeStateMachineForExecutionResponse_label :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text) Source #

A user-defined or an auto-generated string that identifies a Map state. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.

describeStateMachineForExecutionResponse_mapRunArn :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.

describeStateMachineForExecutionResponse_stateMachineArn :: Lens' DescribeStateMachineForExecutionResponse Text Source #

The Amazon Resource Name (ARN) of the state machine associated with the execution.

describeStateMachineForExecutionResponse_name :: Lens' DescribeStateMachineForExecutionResponse Text Source #

The name of the state machine associated with the execution.

describeStateMachineForExecutionResponse_roleArn :: Lens' DescribeStateMachineForExecutionResponse Text Source #

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.

describeStateMachineForExecutionResponse_updateDate :: Lens' DescribeStateMachineForExecutionResponse UTCTime Source #

The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.