Learn R Programming

paws.application.integration (version 0.1.11)

sfn_start_sync_execution: Starts a Synchronous Express state machine execution

Description

Starts a Synchronous Express state machine execution.

Usage

sfn_start_sync_execution(stateMachineArn, name, input, traceHeader)

Arguments

stateMachineArn

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

name

The name of the execution.

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.

traceHeader

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

Value

A list with the following syntax:

list(
  executionArn = "string",
  stateMachineArn = "string",
  name = "string",
  startDate = as.POSIXct(
    "2015-01-01"
  ),
  stopDate = as.POSIXct(
    "2015-01-01"
  ),
  status = "SUCCEEDED"|"FAILED"|"TIMED_OUT",
  error = "string",
  cause = "string",
  input = "string",
  inputDetails = list(
    included = TRUE|FALSE
  ),
  output = "string",
  outputDetails = list(
    included = TRUE|FALSE
  ),
  traceHeader = "string",
  billingDetails = list(
    billedMemoryUsedInMB = 123,
    billedDurationInMilliseconds = 123
  )
)

Request syntax

svc$start_sync_execution(
  stateMachineArn = "string",
  name = "string",
  input = "string",
  traceHeader = "string"
)