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.

StepFunctionsAction

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

type StepFunctionsAction struct { ExecutionNamePrefix *string `locationName:"executionNamePrefix" type:"string"` RoleArn *string `locationName:"roleArn" type:"string" required:"true"` StateMachineName *string `locationName:"stateMachineName" type:"string" required:"true"` }

Starts execution of a Step Functions state machine.

ExecutionNamePrefix

Type: *string

(Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided.

RoleArn

Type: *string

The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").

RoleArn is a required field

StateMachineName

Type: *string

The name of the Step Functions state machine whose execution will be started.

StateMachineName is a required field

Method

GoString

func (s StepFunctionsAction) GoString() string

GoString returns the string representation

SetExecutionNamePrefix

func (s *StepFunctionsAction) SetExecutionNamePrefix(v string) *StepFunctionsAction

SetExecutionNamePrefix sets the ExecutionNamePrefix field's value.

SetRoleArn

func (s *StepFunctionsAction) SetRoleArn(v string) *StepFunctionsAction

SetRoleArn sets the RoleArn field's value.

SetStateMachineName

func (s *StepFunctionsAction) SetStateMachineName(v string) *StepFunctionsAction

SetStateMachineName sets the StateMachineName field's value.

String

func (s StepFunctionsAction) String() string

String returns the string representation

Validate

func (s *StepFunctionsAction) Validate() error

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

On this page: