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

Description

Starts a Synchronous Express state machine execution.

Synopsis

Creating a Request

data StartSyncExecution Source #

See: newStartSyncExecution smart constructor.

Constructors

StartSyncExecution' 

Fields

  • input :: Maybe (Sensitive Text)

    The string that contains the JSON input data for the execution, for example:

    "input": "{\"first_name\" : \"test\"}"

    If you don't include any JSON input data, you still must include the two braces, for example: "input": "{}"

    Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

  • name :: Maybe Text

    The name of the execution.

  • traceHeader :: Maybe Text

    Passes the AWS X-Ray trace header. The trace header can also be passed in the request payload.

  • stateMachineArn :: Text

    The Amazon Resource Name (ARN) of the state machine to execute.

Instances

Instances details
Eq StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Show StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Generic StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Associated Types

type Rep StartSyncExecution :: Type -> Type #

NFData StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Methods

rnf :: StartSyncExecution -> () #

Hashable StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

ToJSON StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

AWSRequest StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Associated Types

type AWSResponse StartSyncExecution #

ToHeaders StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

ToPath StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

ToQuery StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

type Rep StartSyncExecution Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

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

Defined in Amazonka.StepFunctions.StartSyncExecution

newStartSyncExecution Source #

Create a value of StartSyncExecution 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:input:StartSyncExecution', startSyncExecution_input - The string that contains the JSON input data for the execution, for example:

"input": "{\"first_name\" : \"test\"}"

If you don't include any JSON input data, you still must include the two braces, for example: "input": "{}"

Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

$sel:name:StartSyncExecution', startSyncExecution_name - The name of the execution.

$sel:traceHeader:StartSyncExecution', startSyncExecution_traceHeader - Passes the AWS X-Ray trace header. The trace header can also be passed in the request payload.

$sel:stateMachineArn:StartSyncExecution', startSyncExecution_stateMachineArn - The Amazon Resource Name (ARN) of the state machine to execute.

Request Lenses

startSyncExecution_input :: Lens' StartSyncExecution (Maybe Text) Source #

The string that contains the JSON input data for the execution, for example:

"input": "{\"first_name\" : \"test\"}"

If you don't include any JSON input data, you still must include the two braces, for example: "input": "{}"

Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

startSyncExecution_traceHeader :: Lens' StartSyncExecution (Maybe Text) Source #

Passes the AWS X-Ray trace header. The trace header can also be passed in the request payload.

startSyncExecution_stateMachineArn :: Lens' StartSyncExecution Text Source #

The Amazon Resource Name (ARN) of the state machine to execute.

Destructuring the Response

data StartSyncExecutionResponse Source #

See: newStartSyncExecutionResponse smart constructor.

Constructors

StartSyncExecutionResponse' 

Fields

Instances

Instances details
Eq StartSyncExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Show StartSyncExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Generic StartSyncExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

Associated Types

type Rep StartSyncExecutionResponse :: Type -> Type #

NFData StartSyncExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

type Rep StartSyncExecutionResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.StartSyncExecution

type Rep StartSyncExecutionResponse = D1 ('MetaData "StartSyncExecutionResponse" "Amazonka.StepFunctions.StartSyncExecution" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "StartSyncExecutionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "inputDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchEventsExecutionDataDetails)) :*: (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 "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stateMachineArn") '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 "traceHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "billingDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "executionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "stopDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SyncExecutionStatus))))))

newStartSyncExecutionResponse Source #

Create a value of StartSyncExecutionResponse 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:inputDetails:StartSyncExecutionResponse', startSyncExecutionResponse_inputDetails - Undocumented member.

$sel:error:StartSyncExecutionResponse', startSyncExecutionResponse_error - The error code of the failure.

$sel:input:StartSyncExecution', startSyncExecutionResponse_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.

$sel:cause:StartSyncExecutionResponse', startSyncExecutionResponse_cause - A more detailed explanation of the cause of the failure.

$sel:name:StartSyncExecution', startSyncExecutionResponse_name - The name of the execution.

$sel:stateMachineArn:StartSyncExecution', startSyncExecutionResponse_stateMachineArn - The Amazon Resource Name (ARN) that identifies the state machine.

$sel:output:StartSyncExecutionResponse', startSyncExecutionResponse_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.

$sel:outputDetails:StartSyncExecutionResponse', startSyncExecutionResponse_outputDetails - Undocumented member.

$sel:traceHeader:StartSyncExecution', startSyncExecutionResponse_traceHeader - The AWS X-Ray trace header that was passed to the execution.

$sel:billingDetails:StartSyncExecutionResponse', startSyncExecutionResponse_billingDetails - An object that describes workflow billing details, including billed duration and memory use.

$sel:httpStatus:StartSyncExecutionResponse', startSyncExecutionResponse_httpStatus - The response's http status code.

$sel:executionArn:StartSyncExecutionResponse', startSyncExecutionResponse_executionArn - The Amazon Resource Name (ARN) that identifies the execution.

$sel:startDate:StartSyncExecutionResponse', startSyncExecutionResponse_startDate - The date the execution is started.

$sel:stopDate:StartSyncExecutionResponse', startSyncExecutionResponse_stopDate - If the execution has already ended, the date the execution stopped.

$sel:status:StartSyncExecutionResponse', startSyncExecutionResponse_status - The current status of the execution.

Response Lenses

startSyncExecutionResponse_input :: Lens' StartSyncExecutionResponse (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.

startSyncExecutionResponse_cause :: Lens' StartSyncExecutionResponse (Maybe Text) Source #

A more detailed explanation of the cause of the failure.

startSyncExecutionResponse_stateMachineArn :: Lens' StartSyncExecutionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the state machine.

startSyncExecutionResponse_output :: Lens' StartSyncExecutionResponse (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.

startSyncExecutionResponse_traceHeader :: Lens' StartSyncExecutionResponse (Maybe Text) Source #

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

startSyncExecutionResponse_billingDetails :: Lens' StartSyncExecutionResponse (Maybe BillingDetails) Source #

An object that describes workflow billing details, including billed duration and memory use.

startSyncExecutionResponse_executionArn :: Lens' StartSyncExecutionResponse Text Source #

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

startSyncExecutionResponse_stopDate :: Lens' StartSyncExecutionResponse UTCTime Source #

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