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.

UpdateStateMachineInput

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

type UpdateStateMachineInput struct { Definition *string `locationName:"definition" min:"1" type:"string" sensitive:"true"` RoleArn *string `locationName:"roleArn" min:"1" type:"string"` StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"` }

Definition

Type: *string

The Amazon States Language definition of the state machine. See Amazon States Language (https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html).

RoleArn

Type: *string

The Amazon Resource Name (ARN) of the IAM role of the state machine.

StateMachineArn

Type: *string

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

StateMachineArn is a required field

Method

GoString

func (s UpdateStateMachineInput) GoString() string

GoString returns the string representation

SetDefinition

func (s *UpdateStateMachineInput) SetDefinition(v string) *UpdateStateMachineInput

SetDefinition sets the Definition field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

String

func (s UpdateStateMachineInput) String() string

String returns the string representation

Validate

func (s *UpdateStateMachineInput) Validate() error

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

On this page: