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.

ListExecutionsInput

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

type ListExecutionsInput struct { MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" min:"1" type:"string"` StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"` StatusFilter *string `locationName:"statusFilter" type:"string" enum:"ExecutionStatus"` }

MaxResults

Type: *int64

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

NextToken

Type: *string

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

StateMachineArn

Type: *string

The Amazon Resource Name (ARN) of the state machine whose executions is listed.

StateMachineArn is a required field

StatusFilter

Type: *string

If specified, only list the executions whose current execution status matches the given filter.

Method

GoString

func (s ListExecutionsInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListExecutionsInput) SetMaxResults(v int64) *ListExecutionsInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListExecutionsInput) SetNextToken(v string) *ListExecutionsInput

SetNextToken sets the NextToken field's value.

SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

SetStatusFilter

func (s *ListExecutionsInput) SetStatusFilter(v string) *ListExecutionsInput

SetStatusFilter sets the StatusFilter field's value.

String

func (s ListExecutionsInput) String() string

String returns the string representation

Validate

func (s *ListExecutionsInput) Validate() error

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

On this page: