Module Values.DescribeStateMachineForExecutionOutputSource

Provides information about a state machine's definition, its execution role ARN, and configuration. If a Map Run dispatched the execution, this action returns the Map Run Amazon Resource Name (ARN) in the response. The state machine returned is 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.

Sourcetype nonrec t = {
  1. stateMachineArn : Arn.t option;
    (*

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

    *)
  2. name : Name.t option;
    (*

    The name of the state machine associated with the execution.

    *)
  3. definition : Definition.t option;
    (*

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

    *)
  4. roleArn : Arn.t option;
    (*

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

    *)
  5. updateDate : Timestamp.t option;
    (*

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

    *)
  6. loggingConfiguration : LoggingConfiguration.t option;
  7. tracingConfiguration : TracingConfiguration.t option;
    (*

    Selects whether X-Ray tracing is enabled.

    *)
  8. mapRunArn : LongArn.t option;
    (*

    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.

    *)
  9. label : MapRunLabel.t option;
    (*

    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.

    *)
  10. revisionId : RevisionId.t option;
    (*

    The revision identifier for the state machine. The first revision ID when you create the state machine is null. Use the state machine revisionId parameter to compare the revision of a state machine with the configuration of the state machine used for executions without performing a diff of the properties, such as definition and roleArn.

    *)
  11. encryptionConfiguration : EncryptionConfiguration.t option;
    (*

    Settings to configure server-side encryption.

    *)
  12. variableReferences : VariableReferences.t option;
    (*

    A map of state name to a list of variables referenced by that state. States that do not use variable references will not be shown in the response.

    *)
}
Sourcetype nonrec error = [
  1. | `ExecutionDoesNotExist of ExecutionDoesNotExist.t
  2. | `InvalidArn of InvalidArn.t
  3. | `KmsAccessDeniedException of KmsAccessDeniedException.t
  4. | `KmsInvalidStateException of KmsInvalidStateException.t
  5. | `KmsThrottlingException of KmsThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?stateMachineArn:??? -> ?name:??? -> ?definition:??? -> ?roleArn:??? -> ?updateDate:??? -> ?loggingConfiguration:??? -> ?tracingConfiguration:??? -> ?mapRunArn:??? -> ?label:??? -> ?revisionId:??? -> ?encryptionConfiguration:??? -> ?variableReferences:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ExecutionDoesNotExist of ExecutionDoesNotExist.t | `InvalidArn of InvalidArn.t | `KmsAccessDeniedException of KmsAccessDeniedException.t | `KmsInvalidStateException of KmsInvalidStateException.t | `KmsThrottlingException of KmsThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ExecutionDoesNotExist of ExecutionDoesNotExist.t | `InvalidArn of InvalidArn.t | `KmsAccessDeniedException of KmsAccessDeniedException.t | `KmsInvalidStateException of KmsInvalidStateException.t | `KmsThrottlingException of KmsThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of StateName.t ] * [> `List of [> `String of VariableName.t ] list ]) list | `String of Arn.t | `Structure of (string * [> `Boolean of IncludeExecutionData.t | `Enum of string | `Integer of KmsDataKeyReusePeriodSeconds.t | `List of [> `Structure of (string * [> `Structure of (string * [> `String of Arn.t ]) list ]) list ] list | `String of KmsKeyId.t ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t