AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

StartExecutionInput

import "github.com/aws/aws-sdk-go/service/sfn"

type StartExecutionInput struct { Input *string `locationName:"input" type:"string" sensitive:"true"` Name *string `locationName:"name" min:"1" type:"string"` StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"` }

Input

Type: *string

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": "{}"

Name

Type: *string

The name of the execution. This name must be unique for your AWS account, region, and state machine for 90 days. For more information, see Limits Related to State Machine Executions (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions) in the AWS Step Functions Developer Guide.

A name must not contain:

  • whitespace

  • brackets < > { } [ ]

  • wildcard characters ? *

  • special characters " # % \ ^ | ~ ` $ & , ; : /

  • control characters (U+0000-001F, U+007F-009F)

StateMachineArn

Type: *string

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

StateMachineArn is a required field

Method

GoString

func (s StartExecutionInput) GoString() string

GoString returns the string representation

SetInput

func (s *StartExecutionInput) SetInput(v string) *StartExecutionInput

SetInput sets the Input field's value.

SetName

func (s *StartExecutionInput) SetName(v string) *StartExecutionInput

SetName sets the Name field's value.

SetStateMachineArn

func (s *StartExecutionInput) SetStateMachineArn(v string) *StartExecutionInput

SetStateMachineArn sets the StateMachineArn field's value.

String

func (s StartExecutionInput) String() string

String returns the string representation

Validate

func (s *StartExecutionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: