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.

StopExecutionInput

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

type StopExecutionInput struct { Cause *string `locationName:"cause" type:"string" sensitive:"true"` Error *string `locationName:"error" type:"string" sensitive:"true"` ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"` }

Cause

Type: *string

A more detailed explanation of the cause of the failure.

Error

Type: *string

The error code of the failure.

ExecutionArn

Type: *string

The Amazon Resource Name (ARN) of the execution to stop.

ExecutionArn is a required field

Method

GoString

func (s StopExecutionInput) GoString() string

GoString returns the string representation

SetCause

func (s *StopExecutionInput) SetCause(v string) *StopExecutionInput

SetCause sets the Cause field's value.

SetError

func (s *StopExecutionInput) SetError(v string) *StopExecutionInput

SetError sets the Error field's value.

SetExecutionArn

func (s *StopExecutionInput) SetExecutionArn(v string) *StopExecutionInput

SetExecutionArn sets the ExecutionArn field's value.

String

func (s StopExecutionInput) String() string

String returns the string representation

Validate

func (s *StopExecutionInput) Validate() error

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

On this page: