...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/sfn"
Overview
Constants

Overview ▾

Package sfn provides the client and types for making API requests to AWS Step Functions.

AWS Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.

You can use Step Functions to build applications from individual components, each of which performs a discrete function, or task, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues.

Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on AWS, your own servers, or any system that has access to AWS. You can access and use Step Functions using the console, the AWS SDKs, or an HTTP API. For more information about Step Functions, see the AWS Step Functions Developer Guide (https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html) .

See https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23 for more information on this service.

See sfn package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/sfn/

Using the Client

To contact AWS Step Functions with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Step Functions client SFN for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/sfn/#New

The stub package, sfniface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type SFN
func New(p client.ConfigProvider, cfgs ...*aws.Config) *SFN
func (c *SFN) CreateActivity(input *CreateActivityInput) (*CreateActivityOutput, error)
func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Request, output *CreateActivityOutput)
func (c *SFN) CreateActivityWithContext(ctx aws.Context, input *CreateActivityInput, opts ...request.Option) (*CreateActivityOutput, error)
func (c *SFN) CreateStateMachine(input *CreateStateMachineInput) (*CreateStateMachineOutput, error)
func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *request.Request, output *CreateStateMachineOutput)
func (c *SFN) CreateStateMachineWithContext(ctx aws.Context, input *CreateStateMachineInput, opts ...request.Option) (*CreateStateMachineOutput, error)
func (c *SFN) DeleteActivity(input *DeleteActivityInput) (*DeleteActivityOutput, error)
func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Request, output *DeleteActivityOutput)
func (c *SFN) DeleteActivityWithContext(ctx aws.Context, input *DeleteActivityInput, opts ...request.Option) (*DeleteActivityOutput, error)
func (c *SFN) DeleteStateMachine(input *DeleteStateMachineInput) (*DeleteStateMachineOutput, error)
func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *request.Request, output *DeleteStateMachineOutput)
func (c *SFN) DeleteStateMachineWithContext(ctx aws.Context, input *DeleteStateMachineInput, opts ...request.Option) (*DeleteStateMachineOutput, error)
func (c *SFN) DescribeActivity(input *DescribeActivityInput) (*DescribeActivityOutput, error)
func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *request.Request, output *DescribeActivityOutput)
func (c *SFN) DescribeActivityWithContext(ctx aws.Context, input *DescribeActivityInput, opts ...request.Option) (*DescribeActivityOutput, error)
func (c *SFN) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error)
func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *request.Request, output *DescribeExecutionOutput)
func (c *SFN) DescribeExecutionWithContext(ctx aws.Context, input *DescribeExecutionInput, opts ...request.Option) (*DescribeExecutionOutput, error)
func (c *SFN) DescribeStateMachine(input *DescribeStateMachineInput) (*DescribeStateMachineOutput, error)
func (c *SFN) DescribeStateMachineForExecution(input *DescribeStateMachineForExecutionInput) (*DescribeStateMachineForExecutionOutput, error)
func (c *SFN) DescribeStateMachineForExecutionRequest(input *DescribeStateMachineForExecutionInput) (req *request.Request, output *DescribeStateMachineForExecutionOutput)
func (c *SFN) DescribeStateMachineForExecutionWithContext(ctx aws.Context, input *DescribeStateMachineForExecutionInput, opts ...request.Option) (*DescribeStateMachineForExecutionOutput, error)
func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req *request.Request, output *DescribeStateMachineOutput)
func (c *SFN) DescribeStateMachineWithContext(ctx aws.Context, input *DescribeStateMachineInput, opts ...request.Option) (*DescribeStateMachineOutput, error)
func (c *SFN) GetActivityTask(input *GetActivityTaskInput) (*GetActivityTaskOutput, error)
func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request.Request, output *GetActivityTaskOutput)
func (c *SFN) GetActivityTaskWithContext(ctx aws.Context, input *GetActivityTaskInput, opts ...request.Option) (*GetActivityTaskOutput, error)
func (c *SFN) GetExecutionHistory(input *GetExecutionHistoryInput) (*GetExecutionHistoryOutput, error)
func (c *SFN) GetExecutionHistoryPages(input *GetExecutionHistoryInput, fn func(*GetExecutionHistoryOutput, bool) bool) error
func (c *SFN) GetExecutionHistoryPagesWithContext(ctx aws.Context, input *GetExecutionHistoryInput, fn func(*GetExecutionHistoryOutput, bool) bool, opts ...request.Option) error
func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req *request.Request, output *GetExecutionHistoryOutput)
func (c *SFN) GetExecutionHistoryWithContext(ctx aws.Context, input *GetExecutionHistoryInput, opts ...request.Option) (*GetExecutionHistoryOutput, error)
func (c *SFN) ListActivities(input *ListActivitiesInput) (*ListActivitiesOutput, error)
func (c *SFN) ListActivitiesPages(input *ListActivitiesInput, fn func(*ListActivitiesOutput, bool) bool) error
func (c *SFN) ListActivitiesPagesWithContext(ctx aws.Context, input *ListActivitiesInput, fn func(*ListActivitiesOutput, bool) bool, opts ...request.Option) error
func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Request, output *ListActivitiesOutput)
func (c *SFN) ListActivitiesWithContext(ctx aws.Context, input *ListActivitiesInput, opts ...request.Option) (*ListActivitiesOutput, error)
func (c *SFN) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error)
func (c *SFN) ListExecutionsPages(input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool) error
func (c *SFN) ListExecutionsPagesWithContext(ctx aws.Context, input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool, opts ...request.Option) error
func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Request, output *ListExecutionsOutput)
func (c *SFN) ListExecutionsWithContext(ctx aws.Context, input *ListExecutionsInput, opts ...request.Option) (*ListExecutionsOutput, error)
func (c *SFN) ListStateMachines(input *ListStateMachinesInput) (*ListStateMachinesOutput, error)
func (c *SFN) ListStateMachinesPages(input *ListStateMachinesInput, fn func(*ListStateMachinesOutput, bool) bool) error
func (c *SFN) ListStateMachinesPagesWithContext(ctx aws.Context, input *ListStateMachinesInput, fn func(*ListStateMachinesOutput, bool) bool, opts ...request.Option) error
func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *request.Request, output *ListStateMachinesOutput)
func (c *SFN) ListStateMachinesWithContext(ctx aws.Context, input *ListStateMachinesInput, opts ...request.Option) (*ListStateMachinesOutput, error)
func (c *SFN) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *SFN) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *SFN) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *SFN) SendTaskFailure(input *SendTaskFailureInput) (*SendTaskFailureOutput, error)
func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request.Request, output *SendTaskFailureOutput)
func (c *SFN) SendTaskFailureWithContext(ctx aws.Context, input *SendTaskFailureInput, opts ...request.Option) (*SendTaskFailureOutput, error)
func (c *SFN) SendTaskHeartbeat(input *SendTaskHeartbeatInput) (*SendTaskHeartbeatOutput, error)
func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *request.Request, output *SendTaskHeartbeatOutput)
func (c *SFN) SendTaskHeartbeatWithContext(ctx aws.Context, input *SendTaskHeartbeatInput, opts ...request.Option) (*SendTaskHeartbeatOutput, error)
func (c *SFN) SendTaskSuccess(input *SendTaskSuccessInput) (*SendTaskSuccessOutput, error)
func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request.Request, output *SendTaskSuccessOutput)
func (c *SFN) SendTaskSuccessWithContext(ctx aws.Context, input *SendTaskSuccessInput, opts ...request.Option) (*SendTaskSuccessOutput, error)
func (c *SFN) StartExecution(input *StartExecutionInput) (*StartExecutionOutput, error)
func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Request, output *StartExecutionOutput)
func (c *SFN) StartExecutionWithContext(ctx aws.Context, input *StartExecutionInput, opts ...request.Option) (*StartExecutionOutput, error)
func (c *SFN) StopExecution(input *StopExecutionInput) (*StopExecutionOutput, error)
func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Request, output *StopExecutionOutput)
func (c *SFN) StopExecutionWithContext(ctx aws.Context, input *StopExecutionInput, opts ...request.Option) (*StopExecutionOutput, error)
func (c *SFN) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *SFN) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *SFN) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *SFN) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *SFN) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *SFN) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *SFN) UpdateStateMachine(input *UpdateStateMachineInput) (*UpdateStateMachineOutput, error)
func (c *SFN) UpdateStateMachineRequest(input *UpdateStateMachineInput) (req *request.Request, output *UpdateStateMachineOutput)
func (c *SFN) UpdateStateMachineWithContext(ctx aws.Context, input *UpdateStateMachineInput, opts ...request.Option) (*UpdateStateMachineOutput, error)
func ExecutionStatus_Values() []string
func HistoryEventType_Values() []string
func LogLevel_Values() []string
func StateMachineStatus_Values() []string
func StateMachineType_Values() []string
type ActivityDoesNotExist
type ActivityFailedEventDetails
type ActivityLimitExceeded
type ActivityListItem
type ActivityScheduleFailedEventDetails
type ActivityScheduledEventDetails
type ActivityStartedEventDetails
type ActivitySucceededEventDetails
type ActivityTimedOutEventDetails
type ActivityWorkerLimitExceeded
type CloudWatchEventsExecutionDataDetails
type CloudWatchLogsLogGroup
type CreateActivityInput
type CreateActivityOutput
type CreateStateMachineInput
type CreateStateMachineOutput
type DeleteActivityInput
type DeleteActivityOutput
type DeleteStateMachineInput
type DeleteStateMachineOutput
type DescribeActivityInput
type DescribeActivityOutput
type DescribeExecutionInput
type DescribeExecutionOutput
type DescribeStateMachineForExecutionInput
type DescribeStateMachineForExecutionOutput
type DescribeStateMachineInput
type DescribeStateMachineOutput
type ExecutionAbortedEventDetails
type ExecutionAlreadyExists
type ExecutionDoesNotExist
type ExecutionFailedEventDetails
type ExecutionLimitExceeded
type ExecutionListItem
type ExecutionStartedEventDetails
type ExecutionSucceededEventDetails
type ExecutionTimedOutEventDetails
type GetActivityTaskInput
type GetActivityTaskOutput
type GetExecutionHistoryInput
type GetExecutionHistoryOutput
type HistoryEvent
type HistoryEventExecutionDataDetails
type InvalidArn
type InvalidDefinition
type InvalidExecutionInput
type InvalidLoggingConfiguration
type InvalidName
type InvalidOutput
type InvalidToken
type InvalidTracingConfiguration
type LambdaFunctionFailedEventDetails
type LambdaFunctionScheduleFailedEventDetails
type LambdaFunctionScheduledEventDetails
type LambdaFunctionStartFailedEventDetails
type LambdaFunctionSucceededEventDetails
type LambdaFunctionTimedOutEventDetails
type ListActivitiesInput
type ListActivitiesOutput
type ListExecutionsInput
type ListExecutionsOutput
type ListStateMachinesInput
type ListStateMachinesOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type LogDestination
type LoggingConfiguration
type MapIterationEventDetails
type MapStateStartedEventDetails
type MissingRequiredParameter
type ResourceNotFound
type SendTaskFailureInput
type SendTaskFailureOutput
type SendTaskHeartbeatInput
type SendTaskHeartbeatOutput
type SendTaskSuccessInput
type SendTaskSuccessOutput
type StartExecutionInput
type StartExecutionOutput
type StateEnteredEventDetails
type StateExitedEventDetails
type StateMachineAlreadyExists
type StateMachineDeleting
type StateMachineDoesNotExist
type StateMachineLimitExceeded
type StateMachineListItem
type StateMachineTypeNotSupported
type StopExecutionInput
type StopExecutionOutput
type Tag
type TagResourceInput
type TagResourceOutput
type TaskDoesNotExist
type TaskFailedEventDetails
type TaskScheduledEventDetails
type TaskStartFailedEventDetails
type TaskStartedEventDetails
type TaskSubmitFailedEventDetails
type TaskSubmittedEventDetails
type TaskSucceededEventDetails
type TaskTimedOut
type TaskTimedOutEventDetails
type TooManyTags
type TracingConfiguration
type UntagResourceInput
type UntagResourceOutput
type UpdateStateMachineInput
type UpdateStateMachineOutput

Constants ▾

const (
    // ExecutionStatusRunning is a ExecutionStatus enum value
    ExecutionStatusRunning = "RUNNING"

    // ExecutionStatusSucceeded is a ExecutionStatus enum value
    ExecutionStatusSucceeded = "SUCCEEDED"

    // ExecutionStatusFailed is a ExecutionStatus enum value
    ExecutionStatusFailed = "FAILED"

    // ExecutionStatusTimedOut is a ExecutionStatus enum value
    ExecutionStatusTimedOut = "TIMED_OUT"

    // ExecutionStatusAborted is a ExecutionStatus enum value
    ExecutionStatusAborted = "ABORTED"
)
const (
    // HistoryEventTypeActivityFailed is a HistoryEventType enum value
    HistoryEventTypeActivityFailed = "ActivityFailed"

    // HistoryEventTypeActivityScheduled is a HistoryEventType enum value
    HistoryEventTypeActivityScheduled = "ActivityScheduled"

    // HistoryEventTypeActivityScheduleFailed is a HistoryEventType enum value
    HistoryEventTypeActivityScheduleFailed = "ActivityScheduleFailed"

    // HistoryEventTypeActivityStarted is a HistoryEventType enum value
    HistoryEventTypeActivityStarted = "ActivityStarted"

    // HistoryEventTypeActivitySucceeded is a HistoryEventType enum value
    HistoryEventTypeActivitySucceeded = "ActivitySucceeded"

    // HistoryEventTypeActivityTimedOut is a HistoryEventType enum value
    HistoryEventTypeActivityTimedOut = "ActivityTimedOut"

    // HistoryEventTypeChoiceStateEntered is a HistoryEventType enum value
    HistoryEventTypeChoiceStateEntered = "ChoiceStateEntered"

    // HistoryEventTypeChoiceStateExited is a HistoryEventType enum value
    HistoryEventTypeChoiceStateExited = "ChoiceStateExited"

    // HistoryEventTypeExecutionAborted is a HistoryEventType enum value
    HistoryEventTypeExecutionAborted = "ExecutionAborted"

    // HistoryEventTypeExecutionFailed is a HistoryEventType enum value
    HistoryEventTypeExecutionFailed = "ExecutionFailed"

    // HistoryEventTypeExecutionStarted is a HistoryEventType enum value
    HistoryEventTypeExecutionStarted = "ExecutionStarted"

    // HistoryEventTypeExecutionSucceeded is a HistoryEventType enum value
    HistoryEventTypeExecutionSucceeded = "ExecutionSucceeded"

    // HistoryEventTypeExecutionTimedOut is a HistoryEventType enum value
    HistoryEventTypeExecutionTimedOut = "ExecutionTimedOut"

    // HistoryEventTypeFailStateEntered is a HistoryEventType enum value
    HistoryEventTypeFailStateEntered = "FailStateEntered"

    // HistoryEventTypeLambdaFunctionFailed is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionFailed = "LambdaFunctionFailed"

    // HistoryEventTypeLambdaFunctionScheduled is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionScheduled = "LambdaFunctionScheduled"

    // HistoryEventTypeLambdaFunctionScheduleFailed is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionScheduleFailed = "LambdaFunctionScheduleFailed"

    // HistoryEventTypeLambdaFunctionStarted is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionStarted = "LambdaFunctionStarted"

    // HistoryEventTypeLambdaFunctionStartFailed is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionStartFailed = "LambdaFunctionStartFailed"

    // HistoryEventTypeLambdaFunctionSucceeded is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionSucceeded = "LambdaFunctionSucceeded"

    // HistoryEventTypeLambdaFunctionTimedOut is a HistoryEventType enum value
    HistoryEventTypeLambdaFunctionTimedOut = "LambdaFunctionTimedOut"

    // HistoryEventTypeMapIterationAborted is a HistoryEventType enum value
    HistoryEventTypeMapIterationAborted = "MapIterationAborted"

    // HistoryEventTypeMapIterationFailed is a HistoryEventType enum value
    HistoryEventTypeMapIterationFailed = "MapIterationFailed"

    // HistoryEventTypeMapIterationStarted is a HistoryEventType enum value
    HistoryEventTypeMapIterationStarted = "MapIterationStarted"

    // HistoryEventTypeMapIterationSucceeded is a HistoryEventType enum value
    HistoryEventTypeMapIterationSucceeded = "MapIterationSucceeded"

    // HistoryEventTypeMapStateAborted is a HistoryEventType enum value
    HistoryEventTypeMapStateAborted = "MapStateAborted"

    // HistoryEventTypeMapStateEntered is a HistoryEventType enum value
    HistoryEventTypeMapStateEntered = "MapStateEntered"

    // HistoryEventTypeMapStateExited is a HistoryEventType enum value
    HistoryEventTypeMapStateExited = "MapStateExited"

    // HistoryEventTypeMapStateFailed is a HistoryEventType enum value
    HistoryEventTypeMapStateFailed = "MapStateFailed"

    // HistoryEventTypeMapStateStarted is a HistoryEventType enum value
    HistoryEventTypeMapStateStarted = "MapStateStarted"

    // HistoryEventTypeMapStateSucceeded is a HistoryEventType enum value
    HistoryEventTypeMapStateSucceeded = "MapStateSucceeded"

    // HistoryEventTypeParallelStateAborted is a HistoryEventType enum value
    HistoryEventTypeParallelStateAborted = "ParallelStateAborted"

    // HistoryEventTypeParallelStateEntered is a HistoryEventType enum value
    HistoryEventTypeParallelStateEntered = "ParallelStateEntered"

    // HistoryEventTypeParallelStateExited is a HistoryEventType enum value
    HistoryEventTypeParallelStateExited = "ParallelStateExited"

    // HistoryEventTypeParallelStateFailed is a HistoryEventType enum value
    HistoryEventTypeParallelStateFailed = "ParallelStateFailed"

    // HistoryEventTypeParallelStateStarted is a HistoryEventType enum value
    HistoryEventTypeParallelStateStarted = "ParallelStateStarted"

    // HistoryEventTypeParallelStateSucceeded is a HistoryEventType enum value
    HistoryEventTypeParallelStateSucceeded = "ParallelStateSucceeded"

    // HistoryEventTypePassStateEntered is a HistoryEventType enum value
    HistoryEventTypePassStateEntered = "PassStateEntered"

    // HistoryEventTypePassStateExited is a HistoryEventType enum value
    HistoryEventTypePassStateExited = "PassStateExited"

    // HistoryEventTypeSucceedStateEntered is a HistoryEventType enum value
    HistoryEventTypeSucceedStateEntered = "SucceedStateEntered"

    // HistoryEventTypeSucceedStateExited is a HistoryEventType enum value
    HistoryEventTypeSucceedStateExited = "SucceedStateExited"

    // HistoryEventTypeTaskFailed is a HistoryEventType enum value
    HistoryEventTypeTaskFailed = "TaskFailed"

    // HistoryEventTypeTaskScheduled is a HistoryEventType enum value
    HistoryEventTypeTaskScheduled = "TaskScheduled"

    // HistoryEventTypeTaskStarted is a HistoryEventType enum value
    HistoryEventTypeTaskStarted = "TaskStarted"

    // HistoryEventTypeTaskStartFailed is a HistoryEventType enum value
    HistoryEventTypeTaskStartFailed = "TaskStartFailed"

    // HistoryEventTypeTaskStateAborted is a HistoryEventType enum value
    HistoryEventTypeTaskStateAborted = "TaskStateAborted"

    // HistoryEventTypeTaskStateEntered is a HistoryEventType enum value
    HistoryEventTypeTaskStateEntered = "TaskStateEntered"

    // HistoryEventTypeTaskStateExited is a HistoryEventType enum value
    HistoryEventTypeTaskStateExited = "TaskStateExited"

    // HistoryEventTypeTaskSubmitFailed is a HistoryEventType enum value
    HistoryEventTypeTaskSubmitFailed = "TaskSubmitFailed"

    // HistoryEventTypeTaskSubmitted is a HistoryEventType enum value
    HistoryEventTypeTaskSubmitted = "TaskSubmitted"

    // HistoryEventTypeTaskSucceeded is a HistoryEventType enum value
    HistoryEventTypeTaskSucceeded = "TaskSucceeded"

    // HistoryEventTypeTaskTimedOut is a HistoryEventType enum value
    HistoryEventTypeTaskTimedOut = "TaskTimedOut"

    // HistoryEventTypeWaitStateAborted is a HistoryEventType enum value
    HistoryEventTypeWaitStateAborted = "WaitStateAborted"

    // HistoryEventTypeWaitStateEntered is a HistoryEventType enum value
    HistoryEventTypeWaitStateEntered = "WaitStateEntered"

    // HistoryEventTypeWaitStateExited is a HistoryEventType enum value
    HistoryEventTypeWaitStateExited = "WaitStateExited"
)
const (
    // LogLevelAll is a LogLevel enum value
    LogLevelAll = "ALL"

    // LogLevelError is a LogLevel enum value
    LogLevelError = "ERROR"

    // LogLevelFatal is a LogLevel enum value
    LogLevelFatal = "FATAL"

    // LogLevelOff is a LogLevel enum value
    LogLevelOff = "OFF"
)
const (
    // StateMachineStatusActive is a StateMachineStatus enum value
    StateMachineStatusActive = "ACTIVE"

    // StateMachineStatusDeleting is a StateMachineStatus enum value
    StateMachineStatusDeleting = "DELETING"
)
const (
    // StateMachineTypeStandard is a StateMachineType enum value
    StateMachineTypeStandard = "STANDARD"

    // StateMachineTypeExpress is a StateMachineType enum value
    StateMachineTypeExpress = "EXPRESS"
)
const (

    // ErrCodeActivityDoesNotExist for service response error code
    // "ActivityDoesNotExist".
    //
    // The specified activity does not exist.
    ErrCodeActivityDoesNotExist = "ActivityDoesNotExist"

    // ErrCodeActivityLimitExceeded for service response error code
    // "ActivityLimitExceeded".
    //
    // The maximum number of activities has been reached. Existing activities must
    // be deleted before a new activity can be created.
    ErrCodeActivityLimitExceeded = "ActivityLimitExceeded"

    // ErrCodeActivityWorkerLimitExceeded for service response error code
    // "ActivityWorkerLimitExceeded".
    //
    // The maximum number of workers concurrently polling for activity tasks has
    // been reached.
    ErrCodeActivityWorkerLimitExceeded = "ActivityWorkerLimitExceeded"

    // ErrCodeExecutionAlreadyExists for service response error code
    // "ExecutionAlreadyExists".
    //
    // The execution has the same name as another execution (but a different input).
    //
    // Executions with the same name and input are considered idempotent.
    ErrCodeExecutionAlreadyExists = "ExecutionAlreadyExists"

    // ErrCodeExecutionDoesNotExist for service response error code
    // "ExecutionDoesNotExist".
    //
    // The specified execution does not exist.
    ErrCodeExecutionDoesNotExist = "ExecutionDoesNotExist"

    // ErrCodeExecutionLimitExceeded for service response error code
    // "ExecutionLimitExceeded".
    //
    // The maximum number of running executions has been reached. Running executions
    // must end or be stopped before a new execution can be started.
    ErrCodeExecutionLimitExceeded = "ExecutionLimitExceeded"

    // ErrCodeInvalidArn for service response error code
    // "InvalidArn".
    //
    // The provided Amazon Resource Name (ARN) is invalid.
    ErrCodeInvalidArn = "InvalidArn"

    // ErrCodeInvalidDefinition for service response error code
    // "InvalidDefinition".
    //
    // The provided Amazon States Language definition is invalid.
    ErrCodeInvalidDefinition = "InvalidDefinition"

    // ErrCodeInvalidExecutionInput for service response error code
    // "InvalidExecutionInput".
    //
    // The provided JSON input data is invalid.
    ErrCodeInvalidExecutionInput = "InvalidExecutionInput"

    // ErrCodeInvalidLoggingConfiguration for service response error code
    // "InvalidLoggingConfiguration".
    ErrCodeInvalidLoggingConfiguration = "InvalidLoggingConfiguration"

    // ErrCodeInvalidName for service response error code
    // "InvalidName".
    //
    // The provided name is invalid.
    ErrCodeInvalidName = "InvalidName"

    // ErrCodeInvalidOutput for service response error code
    // "InvalidOutput".
    //
    // The provided JSON output data is invalid.
    ErrCodeInvalidOutput = "InvalidOutput"

    // ErrCodeInvalidToken for service response error code
    // "InvalidToken".
    //
    // The provided token is invalid.
    ErrCodeInvalidToken = "InvalidToken"

    // ErrCodeInvalidTracingConfiguration for service response error code
    // "InvalidTracingConfiguration".
    //
    // Your tracingConfiguration key does not match, or enabled has not been set
    // to true or false.
    ErrCodeInvalidTracingConfiguration = "InvalidTracingConfiguration"

    // ErrCodeMissingRequiredParameter for service response error code
    // "MissingRequiredParameter".
    //
    // Request is missing a required parameter. This error occurs if both definition
    // and roleArn are not specified.
    ErrCodeMissingRequiredParameter = "MissingRequiredParameter"

    // ErrCodeResourceNotFound for service response error code
    // "ResourceNotFound".
    //
    // Could not find the referenced resource. Only state machine and activity ARNs
    // are supported.
    ErrCodeResourceNotFound = "ResourceNotFound"

    // ErrCodeStateMachineAlreadyExists for service response error code
    // "StateMachineAlreadyExists".
    //
    // A state machine with the same name but a different definition or role ARN
    // already exists.
    ErrCodeStateMachineAlreadyExists = "StateMachineAlreadyExists"

    // ErrCodeStateMachineDeleting for service response error code
    // "StateMachineDeleting".
    //
    // The specified state machine is being deleted.
    ErrCodeStateMachineDeleting = "StateMachineDeleting"

    // ErrCodeStateMachineDoesNotExist for service response error code
    // "StateMachineDoesNotExist".
    //
    // The specified state machine does not exist.
    ErrCodeStateMachineDoesNotExist = "StateMachineDoesNotExist"

    // ErrCodeStateMachineLimitExceeded for service response error code
    // "StateMachineLimitExceeded".
    //
    // The maximum number of state machines has been reached. Existing state machines
    // must be deleted before a new state machine can be created.
    ErrCodeStateMachineLimitExceeded = "StateMachineLimitExceeded"

    // ErrCodeStateMachineTypeNotSupported for service response error code
    // "StateMachineTypeNotSupported".
    ErrCodeStateMachineTypeNotSupported = "StateMachineTypeNotSupported"

    // ErrCodeTaskDoesNotExist for service response error code
    // "TaskDoesNotExist".
    ErrCodeTaskDoesNotExist = "TaskDoesNotExist"

    // ErrCodeTaskTimedOut for service response error code
    // "TaskTimedOut".
    ErrCodeTaskTimedOut = "TaskTimedOut"

    // ErrCodeTooManyTags for service response error code
    // "TooManyTags".
    //
    // You've exceeded the number of tags allowed for a resource. See the Limits
    // Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html)
    // in the AWS Step Functions Developer Guide.
    ErrCodeTooManyTags = "TooManyTags"
)
const (
    ServiceName = "states"    // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "SFN"       // ServiceID is a unique identifier of a specific service.
)

Service information constants

func ExecutionStatus_Values

func ExecutionStatus_Values() []string

ExecutionStatus_Values returns all elements of the ExecutionStatus enum

func HistoryEventType_Values

func HistoryEventType_Values() []string

HistoryEventType_Values returns all elements of the HistoryEventType enum

func LogLevel_Values

func LogLevel_Values() []string

LogLevel_Values returns all elements of the LogLevel enum

func StateMachineStatus_Values

func StateMachineStatus_Values() []string

StateMachineStatus_Values returns all elements of the StateMachineStatus enum

func StateMachineType_Values

func StateMachineType_Values() []string

StateMachineType_Values returns all elements of the StateMachineType enum

type ActivityDoesNotExist

type ActivityDoesNotExist struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified activity does not exist.

func (*ActivityDoesNotExist) Code

func (s *ActivityDoesNotExist) Code() string

Code returns the exception type name.

func (*ActivityDoesNotExist) Error

func (s *ActivityDoesNotExist) Error() string

func (ActivityDoesNotExist) GoString

func (s ActivityDoesNotExist) GoString() string

GoString returns the string representation

func (*ActivityDoesNotExist) Message

func (s *ActivityDoesNotExist) Message() string

Message returns the exception's message.

func (*ActivityDoesNotExist) OrigErr

func (s *ActivityDoesNotExist) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ActivityDoesNotExist) RequestID

func (s *ActivityDoesNotExist) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ActivityDoesNotExist) StatusCode

func (s *ActivityDoesNotExist) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ActivityDoesNotExist) String

func (s ActivityDoesNotExist) String() string

String returns the string representation

type ActivityFailedEventDetails

type ActivityFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about an activity that failed during an execution.

func (ActivityFailedEventDetails) GoString

func (s ActivityFailedEventDetails) GoString() string

GoString returns the string representation

func (*ActivityFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*ActivityFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (ActivityFailedEventDetails) String

func (s ActivityFailedEventDetails) String() string

String returns the string representation

type ActivityLimitExceeded

type ActivityLimitExceeded struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The maximum number of activities has been reached. Existing activities must be deleted before a new activity can be created.

func (*ActivityLimitExceeded) Code

func (s *ActivityLimitExceeded) Code() string

Code returns the exception type name.

func (*ActivityLimitExceeded) Error

func (s *ActivityLimitExceeded) Error() string

func (ActivityLimitExceeded) GoString

func (s ActivityLimitExceeded) GoString() string

GoString returns the string representation

func (*ActivityLimitExceeded) Message

func (s *ActivityLimitExceeded) Message() string

Message returns the exception's message.

func (*ActivityLimitExceeded) OrigErr

func (s *ActivityLimitExceeded) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ActivityLimitExceeded) RequestID

func (s *ActivityLimitExceeded) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ActivityLimitExceeded) StatusCode

func (s *ActivityLimitExceeded) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ActivityLimitExceeded) String

func (s ActivityLimitExceeded) String() string

String returns the string representation

type ActivityListItem

type ActivityListItem struct {

    // The Amazon Resource Name (ARN) that identifies the activity.
    //
    // ActivityArn is a required field
    ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"`

    // The date the activity is created.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

    // The name of the activity.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about an activity.

func (ActivityListItem) GoString

func (s ActivityListItem) GoString() string

GoString returns the string representation

func (*ActivityListItem) SetActivityArn

func (s *ActivityListItem) SetActivityArn(v string) *ActivityListItem

SetActivityArn sets the ActivityArn field's value.

func (*ActivityListItem) SetCreationDate

func (s *ActivityListItem) SetCreationDate(v time.Time) *ActivityListItem

SetCreationDate sets the CreationDate field's value.

func (*ActivityListItem) SetName

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

SetName sets the Name field's value.

func (ActivityListItem) String

func (s ActivityListItem) String() string

String returns the string representation

type ActivityScheduleFailedEventDetails

type ActivityScheduleFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about an activity schedule failure that occurred during an execution.

func (ActivityScheduleFailedEventDetails) GoString

func (s ActivityScheduleFailedEventDetails) GoString() string

GoString returns the string representation

func (*ActivityScheduleFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*ActivityScheduleFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (ActivityScheduleFailedEventDetails) String

func (s ActivityScheduleFailedEventDetails) String() string

String returns the string representation

type ActivityScheduledEventDetails

type ActivityScheduledEventDetails struct {

    // The maximum allowed duration between two heartbeats for the activity task.
    HeartbeatInSeconds *int64 `locationName:"heartbeatInSeconds" type:"long"`

    // The JSON data input to the activity task. Length constraints apply to the
    // payload size, and are expressed as bytes in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // Contains details about the input for an execution history event.
    InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"`

    // The Amazon Resource Name (ARN) of the scheduled activity.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The maximum allowed duration of the activity task.
    TimeoutInSeconds *int64 `locationName:"timeoutInSeconds" type:"long"`
    // contains filtered or unexported fields
}

Contains details about an activity scheduled during an execution.

func (ActivityScheduledEventDetails) GoString

func (s ActivityScheduledEventDetails) GoString() string

GoString returns the string representation

func (*ActivityScheduledEventDetails) SetHeartbeatInSeconds

func (s *ActivityScheduledEventDetails) SetHeartbeatInSeconds(v int64) *ActivityScheduledEventDetails

SetHeartbeatInSeconds sets the HeartbeatInSeconds field's value.

func (*ActivityScheduledEventDetails) SetInput

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

SetInput sets the Input field's value.

func (*ActivityScheduledEventDetails) SetInputDetails

func (s *ActivityScheduledEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *ActivityScheduledEventDetails

SetInputDetails sets the InputDetails field's value.

func (*ActivityScheduledEventDetails) SetResource

func (s *ActivityScheduledEventDetails) SetResource(v string) *ActivityScheduledEventDetails

SetResource sets the Resource field's value.

func (*ActivityScheduledEventDetails) SetTimeoutInSeconds

func (s *ActivityScheduledEventDetails) SetTimeoutInSeconds(v int64) *ActivityScheduledEventDetails

SetTimeoutInSeconds sets the TimeoutInSeconds field's value.

func (ActivityScheduledEventDetails) String

func (s ActivityScheduledEventDetails) String() string

String returns the string representation

type ActivityStartedEventDetails

type ActivityStartedEventDetails struct {

    // The name of the worker that the task is assigned to. These names are provided
    // by the workers when calling GetActivityTask.
    WorkerName *string `locationName:"workerName" type:"string"`
    // contains filtered or unexported fields
}

Contains details about the start of an activity during an execution.

func (ActivityStartedEventDetails) GoString

func (s ActivityStartedEventDetails) GoString() string

GoString returns the string representation

func (*ActivityStartedEventDetails) SetWorkerName

func (s *ActivityStartedEventDetails) SetWorkerName(v string) *ActivityStartedEventDetails

SetWorkerName sets the WorkerName field's value.

func (ActivityStartedEventDetails) String

func (s ActivityStartedEventDetails) String() string

String returns the string representation

type ActivitySucceededEventDetails

type ActivitySucceededEventDetails struct {

    // The JSON data output by the activity task. Length constraints apply to the
    // payload size, and are expressed as bytes in UTF-8 encoding.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Contains details about the output of an execution history event.
    OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"`
    // contains filtered or unexported fields
}

Contains details about an activity that successfully terminated during an execution.

func (ActivitySucceededEventDetails) GoString

func (s ActivitySucceededEventDetails) GoString() string

GoString returns the string representation

func (*ActivitySucceededEventDetails) SetOutput

func (s *ActivitySucceededEventDetails) SetOutput(v string) *ActivitySucceededEventDetails

SetOutput sets the Output field's value.

func (*ActivitySucceededEventDetails) SetOutputDetails

func (s *ActivitySucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *ActivitySucceededEventDetails

SetOutputDetails sets the OutputDetails field's value.

func (ActivitySucceededEventDetails) String

func (s ActivitySucceededEventDetails) String() string

String returns the string representation

type ActivityTimedOutEventDetails

type ActivityTimedOutEventDetails struct {

    // A more detailed explanation of the cause of the timeout.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about an activity timeout that occurred during an execution.

func (ActivityTimedOutEventDetails) GoString

func (s ActivityTimedOutEventDetails) GoString() string

GoString returns the string representation

func (*ActivityTimedOutEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*ActivityTimedOutEventDetails) SetError

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

SetError sets the Error field's value.

func (ActivityTimedOutEventDetails) String

func (s ActivityTimedOutEventDetails) String() string

String returns the string representation

type ActivityWorkerLimitExceeded

type ActivityWorkerLimitExceeded struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The maximum number of workers concurrently polling for activity tasks has been reached.

func (*ActivityWorkerLimitExceeded) Code

func (s *ActivityWorkerLimitExceeded) Code() string

Code returns the exception type name.

func (*ActivityWorkerLimitExceeded) Error

func (s *ActivityWorkerLimitExceeded) Error() string

func (ActivityWorkerLimitExceeded) GoString

func (s ActivityWorkerLimitExceeded) GoString() string

GoString returns the string representation

func (*ActivityWorkerLimitExceeded) Message

func (s *ActivityWorkerLimitExceeded) Message() string

Message returns the exception's message.

func (*ActivityWorkerLimitExceeded) OrigErr

func (s *ActivityWorkerLimitExceeded) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ActivityWorkerLimitExceeded) RequestID

func (s *ActivityWorkerLimitExceeded) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ActivityWorkerLimitExceeded) StatusCode

func (s *ActivityWorkerLimitExceeded) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ActivityWorkerLimitExceeded) String

func (s ActivityWorkerLimitExceeded) String() string

String returns the string representation

type CloudWatchEventsExecutionDataDetails

type CloudWatchEventsExecutionDataDetails struct {

    // Indicates whether input or output was included in the response. Always true
    // for API calls.
    Included *bool `locationName:"included" type:"boolean"`
    // contains filtered or unexported fields
}

Provides details about execution input or output.

func (CloudWatchEventsExecutionDataDetails) GoString

func (s CloudWatchEventsExecutionDataDetails) GoString() string

GoString returns the string representation

func (*CloudWatchEventsExecutionDataDetails) SetIncluded

func (s *CloudWatchEventsExecutionDataDetails) SetIncluded(v bool) *CloudWatchEventsExecutionDataDetails

SetIncluded sets the Included field's value.

func (CloudWatchEventsExecutionDataDetails) String

func (s CloudWatchEventsExecutionDataDetails) String() string

String returns the string representation

type CloudWatchLogsLogGroup

type CloudWatchLogsLogGroup struct {

    // The ARN of the the CloudWatch log group to which you want your logs emitted
    // to. The ARN must end with :*
    LogGroupArn *string `locationName:"logGroupArn" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (CloudWatchLogsLogGroup) GoString

func (s CloudWatchLogsLogGroup) GoString() string

GoString returns the string representation

func (*CloudWatchLogsLogGroup) SetLogGroupArn

func (s *CloudWatchLogsLogGroup) SetLogGroupArn(v string) *CloudWatchLogsLogGroup

SetLogGroupArn sets the LogGroupArn field's value.

func (CloudWatchLogsLogGroup) String

func (s CloudWatchLogsLogGroup) String() string

String returns the string representation

func (*CloudWatchLogsLogGroup) Validate

func (s *CloudWatchLogsLogGroup) Validate() error

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

type CreateActivityInput

type CreateActivityInput struct {

    // The name of the activity to create. This name must be unique for your AWS
    // account and region 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:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The list of tags to add to a resource.
    //
    // An array of key-value pairs. For more information, see Using Cost Allocation
    // Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html)
    // in the AWS Billing and Cost Management User Guide, and Controlling Access
    // Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html).
    //
    // Tags may only contain Unicode letters, digits, white space, or these symbols:
    // _ . : / = + - @.
    Tags []*Tag `locationName:"tags" type:"list"`
    // contains filtered or unexported fields
}

func (CreateActivityInput) GoString

func (s CreateActivityInput) GoString() string

GoString returns the string representation

func (*CreateActivityInput) SetName

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

SetName sets the Name field's value.

func (*CreateActivityInput) SetTags

func (s *CreateActivityInput) SetTags(v []*Tag) *CreateActivityInput

SetTags sets the Tags field's value.

func (CreateActivityInput) String

func (s CreateActivityInput) String() string

String returns the string representation

func (*CreateActivityInput) Validate

func (s *CreateActivityInput) Validate() error

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

type CreateActivityOutput

type CreateActivityOutput struct {

    // The Amazon Resource Name (ARN) that identifies the created activity.
    //
    // ActivityArn is a required field
    ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"`

    // The date the activity is created.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

func (CreateActivityOutput) GoString

func (s CreateActivityOutput) GoString() string

GoString returns the string representation

func (*CreateActivityOutput) SetActivityArn

func (s *CreateActivityOutput) SetActivityArn(v string) *CreateActivityOutput

SetActivityArn sets the ActivityArn field's value.

func (*CreateActivityOutput) SetCreationDate

func (s *CreateActivityOutput) SetCreationDate(v time.Time) *CreateActivityOutput

SetCreationDate sets the CreationDate field's value.

func (CreateActivityOutput) String

func (s CreateActivityOutput) String() string

String returns the string representation

type CreateStateMachineInput

type CreateStateMachineInput struct {

    // 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).
    //
    // Definition is a required field
    Definition *string `locationName:"definition" min:"1" type:"string" required:"true" sensitive:"true"`

    // Defines what execution history events are logged and where they are logged.
    //
    // By default, the level is set to OFF. For more information see Log Levels
    // (https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html)
    // in the AWS Step Functions User Guide.
    LoggingConfiguration *LoggingConfiguration `locationName:"loggingConfiguration" type:"structure"`

    // The name of the state machine.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
    //
    // RoleArn is a required field
    RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`

    // Tags to be added when creating a state machine.
    //
    // An array of key-value pairs. For more information, see Using Cost Allocation
    // Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html)
    // in the AWS Billing and Cost Management User Guide, and Controlling Access
    // Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html).
    //
    // Tags may only contain Unicode letters, digits, white space, or these symbols:
    // _ . : / = + - @.
    Tags []*Tag `locationName:"tags" type:"list"`

    // Selects whether AWS X-Ray tracing is enabled.
    TracingConfiguration *TracingConfiguration `locationName:"tracingConfiguration" type:"structure"`

    // Determines whether a Standard or Express state machine is created. The default
    // is STANDARD. You cannot update the type of a state machine once it has been
    // created.
    Type *string `locationName:"type" type:"string" enum:"StateMachineType"`
    // contains filtered or unexported fields
}

func (CreateStateMachineInput) GoString

func (s CreateStateMachineInput) GoString() string

GoString returns the string representation

func (*CreateStateMachineInput) SetDefinition

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

SetDefinition sets the Definition field's value.

func (*CreateStateMachineInput) SetLoggingConfiguration

func (s *CreateStateMachineInput) SetLoggingConfiguration(v *LoggingConfiguration) *CreateStateMachineInput

SetLoggingConfiguration sets the LoggingConfiguration field's value.

func (*CreateStateMachineInput) SetName

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

SetName sets the Name field's value.

func (*CreateStateMachineInput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*CreateStateMachineInput) SetTags

func (s *CreateStateMachineInput) SetTags(v []*Tag) *CreateStateMachineInput

SetTags sets the Tags field's value.

func (*CreateStateMachineInput) SetTracingConfiguration

func (s *CreateStateMachineInput) SetTracingConfiguration(v *TracingConfiguration) *CreateStateMachineInput

SetTracingConfiguration sets the TracingConfiguration field's value.

func (*CreateStateMachineInput) SetType

func (s *CreateStateMachineInput) SetType(v string) *CreateStateMachineInput

SetType sets the Type field's value.

func (CreateStateMachineInput) String

func (s CreateStateMachineInput) String() string

String returns the string representation

func (*CreateStateMachineInput) Validate

func (s *CreateStateMachineInput) Validate() error

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

type CreateStateMachineOutput

type CreateStateMachineOutput struct {

    // The date the state machine is created.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

    // The Amazon Resource Name (ARN) that identifies the created state machine.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateStateMachineOutput) GoString

func (s CreateStateMachineOutput) GoString() string

GoString returns the string representation

func (*CreateStateMachineOutput) SetCreationDate

func (s *CreateStateMachineOutput) SetCreationDate(v time.Time) *CreateStateMachineOutput

SetCreationDate sets the CreationDate field's value.

func (*CreateStateMachineOutput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (CreateStateMachineOutput) String

func (s CreateStateMachineOutput) String() string

String returns the string representation

type DeleteActivityInput

type DeleteActivityInput struct {

    // The Amazon Resource Name (ARN) of the activity to delete.
    //
    // ActivityArn is a required field
    ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteActivityInput) GoString

func (s DeleteActivityInput) GoString() string

GoString returns the string representation

func (*DeleteActivityInput) SetActivityArn

func (s *DeleteActivityInput) SetActivityArn(v string) *DeleteActivityInput

SetActivityArn sets the ActivityArn field's value.

func (DeleteActivityInput) String

func (s DeleteActivityInput) String() string

String returns the string representation

func (*DeleteActivityInput) Validate

func (s *DeleteActivityInput) Validate() error

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

type DeleteActivityOutput

type DeleteActivityOutput struct {
    // contains filtered or unexported fields
}

func (DeleteActivityOutput) GoString

func (s DeleteActivityOutput) GoString() string

GoString returns the string representation

func (DeleteActivityOutput) String

func (s DeleteActivityOutput) String() string

String returns the string representation

type DeleteStateMachineInput

type DeleteStateMachineInput struct {

    // The Amazon Resource Name (ARN) of the state machine to delete.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteStateMachineInput) GoString

func (s DeleteStateMachineInput) GoString() string

GoString returns the string representation

func (*DeleteStateMachineInput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (DeleteStateMachineInput) String

func (s DeleteStateMachineInput) String() string

String returns the string representation

func (*DeleteStateMachineInput) Validate

func (s *DeleteStateMachineInput) Validate() error

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

type DeleteStateMachineOutput

type DeleteStateMachineOutput struct {
    // contains filtered or unexported fields
}

func (DeleteStateMachineOutput) GoString

func (s DeleteStateMachineOutput) GoString() string

GoString returns the string representation

func (DeleteStateMachineOutput) String

func (s DeleteStateMachineOutput) String() string

String returns the string representation

type DescribeActivityInput

type DescribeActivityInput struct {

    // The Amazon Resource Name (ARN) of the activity to describe.
    //
    // ActivityArn is a required field
    ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeActivityInput) GoString

func (s DescribeActivityInput) GoString() string

GoString returns the string representation

func (*DescribeActivityInput) SetActivityArn

func (s *DescribeActivityInput) SetActivityArn(v string) *DescribeActivityInput

SetActivityArn sets the ActivityArn field's value.

func (DescribeActivityInput) String

func (s DescribeActivityInput) String() string

String returns the string representation

func (*DescribeActivityInput) Validate

func (s *DescribeActivityInput) Validate() error

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

type DescribeActivityOutput

type DescribeActivityOutput struct {

    // The Amazon Resource Name (ARN) that identifies the activity.
    //
    // ActivityArn is a required field
    ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"`

    // The date the activity is created.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

    // The name of the activity.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeActivityOutput) GoString

func (s DescribeActivityOutput) GoString() string

GoString returns the string representation

func (*DescribeActivityOutput) SetActivityArn

func (s *DescribeActivityOutput) SetActivityArn(v string) *DescribeActivityOutput

SetActivityArn sets the ActivityArn field's value.

func (*DescribeActivityOutput) SetCreationDate

func (s *DescribeActivityOutput) SetCreationDate(v time.Time) *DescribeActivityOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeActivityOutput) SetName

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

SetName sets the Name field's value.

func (DescribeActivityOutput) String

func (s DescribeActivityOutput) String() string

String returns the string representation

type DescribeExecutionInput

type DescribeExecutionInput struct {

    // The Amazon Resource Name (ARN) of the execution to describe.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeExecutionInput) GoString

func (s DescribeExecutionInput) GoString() string

GoString returns the string representation

func (*DescribeExecutionInput) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (DescribeExecutionInput) String

func (s DescribeExecutionInput) String() string

String returns the string representation

func (*DescribeExecutionInput) Validate

func (s *DescribeExecutionInput) Validate() error

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

type DescribeExecutionOutput

type DescribeExecutionOutput struct {

    // The Amazon Resource Name (ARN) that id entifies the execution.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`

    // The string that contains the JSON input data of the execution. Length constraints
    // apply to the payload size, and are expressed as bytes in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // Provides details about execution input or output.
    InputDetails *CloudWatchEventsExecutionDataDetails `locationName:"inputDetails" type:"structure"`

    // The name of the execution.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The JSON output data of the execution. Length constraints apply to the payload
    // size, and are expressed as bytes in UTF-8 encoding.
    //
    // This field is set only if the execution succeeds. If the execution fails,
    // this field is null.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Provides details about execution input or output.
    OutputDetails *CloudWatchEventsExecutionDataDetails `locationName:"outputDetails" type:"structure"`

    // The date the execution is started.
    //
    // StartDate is a required field
    StartDate *time.Time `locationName:"startDate" type:"timestamp" required:"true"`

    // The Amazon Resource Name (ARN) of the executed stated machine.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // The current status of the execution.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"ExecutionStatus"`

    // If the execution has already ended, the date the execution stopped.
    StopDate *time.Time `locationName:"stopDate" type:"timestamp"`

    // The AWS X-Ray trace header which was passed to the execution.
    TraceHeader *string `locationName:"traceHeader" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeExecutionOutput) GoString

func (s DescribeExecutionOutput) GoString() string

GoString returns the string representation

func (*DescribeExecutionOutput) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (*DescribeExecutionOutput) SetInput

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

SetInput sets the Input field's value.

func (*DescribeExecutionOutput) SetInputDetails

func (s *DescribeExecutionOutput) SetInputDetails(v *CloudWatchEventsExecutionDataDetails) *DescribeExecutionOutput

SetInputDetails sets the InputDetails field's value.

func (*DescribeExecutionOutput) SetName

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

SetName sets the Name field's value.

func (*DescribeExecutionOutput) SetOutput

func (s *DescribeExecutionOutput) SetOutput(v string) *DescribeExecutionOutput

SetOutput sets the Output field's value.

func (*DescribeExecutionOutput) SetOutputDetails

func (s *DescribeExecutionOutput) SetOutputDetails(v *CloudWatchEventsExecutionDataDetails) *DescribeExecutionOutput

SetOutputDetails sets the OutputDetails field's value.

func (*DescribeExecutionOutput) SetStartDate

func (s *DescribeExecutionOutput) SetStartDate(v time.Time) *DescribeExecutionOutput

SetStartDate sets the StartDate field's value.

func (*DescribeExecutionOutput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*DescribeExecutionOutput) SetStatus

func (s *DescribeExecutionOutput) SetStatus(v string) *DescribeExecutionOutput

SetStatus sets the Status field's value.

func (*DescribeExecutionOutput) SetStopDate

func (s *DescribeExecutionOutput) SetStopDate(v time.Time) *DescribeExecutionOutput

SetStopDate sets the StopDate field's value.

func (*DescribeExecutionOutput) SetTraceHeader

func (s *DescribeExecutionOutput) SetTraceHeader(v string) *DescribeExecutionOutput

SetTraceHeader sets the TraceHeader field's value.

func (DescribeExecutionOutput) String

func (s DescribeExecutionOutput) String() string

String returns the string representation

type DescribeStateMachineForExecutionInput

type DescribeStateMachineForExecutionInput struct {

    // The Amazon Resource Name (ARN) of the execution you want state machine information
    // for.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeStateMachineForExecutionInput) GoString

func (s DescribeStateMachineForExecutionInput) GoString() string

GoString returns the string representation

func (*DescribeStateMachineForExecutionInput) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (DescribeStateMachineForExecutionInput) String

func (s DescribeStateMachineForExecutionInput) String() string

String returns the string representation

func (*DescribeStateMachineForExecutionInput) Validate

func (s *DescribeStateMachineForExecutionInput) Validate() error

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

type DescribeStateMachineForExecutionOutput

type DescribeStateMachineForExecutionOutput struct {

    // 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).
    //
    // Definition is a required field
    Definition *string `locationName:"definition" min:"1" type:"string" required:"true" sensitive:"true"`

    // The LoggingConfiguration data type is used to set CloudWatch Logs options.
    LoggingConfiguration *LoggingConfiguration `locationName:"loggingConfiguration" type:"structure"`

    // The name of the state machine associated with the execution.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the IAM role of the State Machine for the
    // execution.
    //
    // RoleArn is a required field
    RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the state machine associated with the execution.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // Selects whether AWS X-Ray tracing is enabled.
    TracingConfiguration *TracingConfiguration `locationName:"tracingConfiguration" type:"structure"`

    // The date and time the state machine associated with an execution was updated.
    // For a newly created state machine, this is the creation date.
    //
    // UpdateDate is a required field
    UpdateDate *time.Time `locationName:"updateDate" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeStateMachineForExecutionOutput) GoString

func (s DescribeStateMachineForExecutionOutput) GoString() string

GoString returns the string representation

func (*DescribeStateMachineForExecutionOutput) SetDefinition

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

SetDefinition sets the Definition field's value.

func (*DescribeStateMachineForExecutionOutput) SetLoggingConfiguration

func (s *DescribeStateMachineForExecutionOutput) SetLoggingConfiguration(v *LoggingConfiguration) *DescribeStateMachineForExecutionOutput

SetLoggingConfiguration sets the LoggingConfiguration field's value.

func (*DescribeStateMachineForExecutionOutput) SetName

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

SetName sets the Name field's value.

func (*DescribeStateMachineForExecutionOutput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*DescribeStateMachineForExecutionOutput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*DescribeStateMachineForExecutionOutput) SetTracingConfiguration

func (s *DescribeStateMachineForExecutionOutput) SetTracingConfiguration(v *TracingConfiguration) *DescribeStateMachineForExecutionOutput

SetTracingConfiguration sets the TracingConfiguration field's value.

func (*DescribeStateMachineForExecutionOutput) SetUpdateDate

func (s *DescribeStateMachineForExecutionOutput) SetUpdateDate(v time.Time) *DescribeStateMachineForExecutionOutput

SetUpdateDate sets the UpdateDate field's value.

func (DescribeStateMachineForExecutionOutput) String

func (s DescribeStateMachineForExecutionOutput) String() string

String returns the string representation

type DescribeStateMachineInput

type DescribeStateMachineInput struct {

    // The Amazon Resource Name (ARN) of the state machine to describe.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeStateMachineInput) GoString

func (s DescribeStateMachineInput) GoString() string

GoString returns the string representation

func (*DescribeStateMachineInput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (DescribeStateMachineInput) String

func (s DescribeStateMachineInput) String() string

String returns the string representation

func (*DescribeStateMachineInput) Validate

func (s *DescribeStateMachineInput) Validate() error

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

type DescribeStateMachineOutput

type DescribeStateMachineOutput struct {

    // The date the state machine is created.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

    // 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).
    //
    // Definition is a required field
    Definition *string `locationName:"definition" min:"1" type:"string" required:"true" sensitive:"true"`

    // The LoggingConfiguration data type is used to set CloudWatch Logs options.
    LoggingConfiguration *LoggingConfiguration `locationName:"loggingConfiguration" type:"structure"`

    // The name of the state machine.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the IAM role used when creating this state
    // machine. (The IAM role maintains security by granting Step Functions access
    // to AWS resources.)
    //
    // RoleArn is a required field
    RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) that identifies the state machine.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // The current status of the state machine.
    Status *string `locationName:"status" type:"string" enum:"StateMachineStatus"`

    // Selects whether AWS X-Ray tracing is enabled.
    TracingConfiguration *TracingConfiguration `locationName:"tracingConfiguration" type:"structure"`

    // The type of the state machine (STANDARD or EXPRESS).
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"StateMachineType"`
    // contains filtered or unexported fields
}

func (DescribeStateMachineOutput) GoString

func (s DescribeStateMachineOutput) GoString() string

GoString returns the string representation

func (*DescribeStateMachineOutput) SetCreationDate

func (s *DescribeStateMachineOutput) SetCreationDate(v time.Time) *DescribeStateMachineOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeStateMachineOutput) SetDefinition

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

SetDefinition sets the Definition field's value.

func (*DescribeStateMachineOutput) SetLoggingConfiguration

func (s *DescribeStateMachineOutput) SetLoggingConfiguration(v *LoggingConfiguration) *DescribeStateMachineOutput

SetLoggingConfiguration sets the LoggingConfiguration field's value.

func (*DescribeStateMachineOutput) SetName

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

SetName sets the Name field's value.

func (*DescribeStateMachineOutput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*DescribeStateMachineOutput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*DescribeStateMachineOutput) SetStatus

func (s *DescribeStateMachineOutput) SetStatus(v string) *DescribeStateMachineOutput

SetStatus sets the Status field's value.

func (*DescribeStateMachineOutput) SetTracingConfiguration

func (s *DescribeStateMachineOutput) SetTracingConfiguration(v *TracingConfiguration) *DescribeStateMachineOutput

SetTracingConfiguration sets the TracingConfiguration field's value.

func (*DescribeStateMachineOutput) SetType

func (s *DescribeStateMachineOutput) SetType(v string) *DescribeStateMachineOutput

SetType sets the Type field's value.

func (DescribeStateMachineOutput) String

func (s DescribeStateMachineOutput) String() string

String returns the string representation

type ExecutionAbortedEventDetails

type ExecutionAbortedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about an abort of an execution.

func (ExecutionAbortedEventDetails) GoString

func (s ExecutionAbortedEventDetails) GoString() string

GoString returns the string representation

func (*ExecutionAbortedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*ExecutionAbortedEventDetails) SetError

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

SetError sets the Error field's value.

func (ExecutionAbortedEventDetails) String

func (s ExecutionAbortedEventDetails) String() string

String returns the string representation

type ExecutionAlreadyExists

type ExecutionAlreadyExists struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The execution has the same name as another execution (but a different input).

Executions with the same name and input are considered idempotent.

func (*ExecutionAlreadyExists) Code

func (s *ExecutionAlreadyExists) Code() string

Code returns the exception type name.

func (*ExecutionAlreadyExists) Error

func (s *ExecutionAlreadyExists) Error() string

func (ExecutionAlreadyExists) GoString

func (s ExecutionAlreadyExists) GoString() string

GoString returns the string representation

func (*ExecutionAlreadyExists) Message

func (s *ExecutionAlreadyExists) Message() string

Message returns the exception's message.

func (*ExecutionAlreadyExists) OrigErr

func (s *ExecutionAlreadyExists) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ExecutionAlreadyExists) RequestID

func (s *ExecutionAlreadyExists) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ExecutionAlreadyExists) StatusCode

func (s *ExecutionAlreadyExists) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ExecutionAlreadyExists) String

func (s ExecutionAlreadyExists) String() string

String returns the string representation

type ExecutionDoesNotExist

type ExecutionDoesNotExist struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified execution does not exist.

func (*ExecutionDoesNotExist) Code

func (s *ExecutionDoesNotExist) Code() string

Code returns the exception type name.

func (*ExecutionDoesNotExist) Error

func (s *ExecutionDoesNotExist) Error() string

func (ExecutionDoesNotExist) GoString

func (s ExecutionDoesNotExist) GoString() string

GoString returns the string representation

func (*ExecutionDoesNotExist) Message

func (s *ExecutionDoesNotExist) Message() string

Message returns the exception's message.

func (*ExecutionDoesNotExist) OrigErr

func (s *ExecutionDoesNotExist) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ExecutionDoesNotExist) RequestID

func (s *ExecutionDoesNotExist) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ExecutionDoesNotExist) StatusCode

func (s *ExecutionDoesNotExist) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ExecutionDoesNotExist) String

func (s ExecutionDoesNotExist) String() string

String returns the string representation

type ExecutionFailedEventDetails

type ExecutionFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about an execution failure event.

func (ExecutionFailedEventDetails) GoString

func (s ExecutionFailedEventDetails) GoString() string

GoString returns the string representation

func (*ExecutionFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*ExecutionFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (ExecutionFailedEventDetails) String

func (s ExecutionFailedEventDetails) String() string

String returns the string representation

type ExecutionLimitExceeded

type ExecutionLimitExceeded struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The maximum number of running executions has been reached. Running executions must end or be stopped before a new execution can be started.

func (*ExecutionLimitExceeded) Code

func (s *ExecutionLimitExceeded) Code() string

Code returns the exception type name.

func (*ExecutionLimitExceeded) Error

func (s *ExecutionLimitExceeded) Error() string

func (ExecutionLimitExceeded) GoString

func (s ExecutionLimitExceeded) GoString() string

GoString returns the string representation

func (*ExecutionLimitExceeded) Message

func (s *ExecutionLimitExceeded) Message() string

Message returns the exception's message.

func (*ExecutionLimitExceeded) OrigErr

func (s *ExecutionLimitExceeded) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ExecutionLimitExceeded) RequestID

func (s *ExecutionLimitExceeded) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ExecutionLimitExceeded) StatusCode

func (s *ExecutionLimitExceeded) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ExecutionLimitExceeded) String

func (s ExecutionLimitExceeded) String() string

String returns the string representation

type ExecutionListItem

type ExecutionListItem struct {

    // The Amazon Resource Name (ARN) that id entifies the execution.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`

    // The name of the execution.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The date the execution started.
    //
    // StartDate is a required field
    StartDate *time.Time `locationName:"startDate" type:"timestamp" required:"true"`

    // The Amazon Resource Name (ARN) of the executed state machine.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // The current status of the execution.
    //
    // Status is a required field
    Status *string `locationName:"status" type:"string" required:"true" enum:"ExecutionStatus"`

    // If the execution already ended, the date the execution stopped.
    StopDate *time.Time `locationName:"stopDate" type:"timestamp"`
    // contains filtered or unexported fields
}

Contains details about an execution.

func (ExecutionListItem) GoString

func (s ExecutionListItem) GoString() string

GoString returns the string representation

func (*ExecutionListItem) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (*ExecutionListItem) SetName

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

SetName sets the Name field's value.

func (*ExecutionListItem) SetStartDate

func (s *ExecutionListItem) SetStartDate(v time.Time) *ExecutionListItem

SetStartDate sets the StartDate field's value.

func (*ExecutionListItem) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*ExecutionListItem) SetStatus

func (s *ExecutionListItem) SetStatus(v string) *ExecutionListItem

SetStatus sets the Status field's value.

func (*ExecutionListItem) SetStopDate

func (s *ExecutionListItem) SetStopDate(v time.Time) *ExecutionListItem

SetStopDate sets the StopDate field's value.

func (ExecutionListItem) String

func (s ExecutionListItem) String() string

String returns the string representation

type ExecutionStartedEventDetails

type ExecutionStartedEventDetails struct {

    // The JSON data input to the execution. Length constraints apply to the payload
    // size, and are expressed as bytes in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // Contains details about the input for an execution history event.
    InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"`

    // The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
    // tasks.
    RoleArn *string `locationName:"roleArn" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains details about the start of the execution.

func (ExecutionStartedEventDetails) GoString

func (s ExecutionStartedEventDetails) GoString() string

GoString returns the string representation

func (*ExecutionStartedEventDetails) SetInput

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

SetInput sets the Input field's value.

func (*ExecutionStartedEventDetails) SetInputDetails

func (s *ExecutionStartedEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *ExecutionStartedEventDetails

SetInputDetails sets the InputDetails field's value.

func (*ExecutionStartedEventDetails) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (ExecutionStartedEventDetails) String

func (s ExecutionStartedEventDetails) String() string

String returns the string representation

type ExecutionSucceededEventDetails

type ExecutionSucceededEventDetails struct {

    // The JSON data output by the execution. Length constraints apply to the payload
    // size, and are expressed as bytes in UTF-8 encoding.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Contains details about the output of an execution history event.
    OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"`
    // contains filtered or unexported fields
}

Contains details about the successful termination of the execution.

func (ExecutionSucceededEventDetails) GoString

func (s ExecutionSucceededEventDetails) GoString() string

GoString returns the string representation

func (*ExecutionSucceededEventDetails) SetOutput

func (s *ExecutionSucceededEventDetails) SetOutput(v string) *ExecutionSucceededEventDetails

SetOutput sets the Output field's value.

func (*ExecutionSucceededEventDetails) SetOutputDetails

func (s *ExecutionSucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *ExecutionSucceededEventDetails

SetOutputDetails sets the OutputDetails field's value.

func (ExecutionSucceededEventDetails) String

func (s ExecutionSucceededEventDetails) String() string

String returns the string representation

type ExecutionTimedOutEventDetails

type ExecutionTimedOutEventDetails struct {

    // A more detailed explanation of the cause of the timeout.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about the execution timeout that occurred during the execution.

func (ExecutionTimedOutEventDetails) GoString

func (s ExecutionTimedOutEventDetails) GoString() string

GoString returns the string representation

func (*ExecutionTimedOutEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*ExecutionTimedOutEventDetails) SetError

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

SetError sets the Error field's value.

func (ExecutionTimedOutEventDetails) String

func (s ExecutionTimedOutEventDetails) String() string

String returns the string representation

type GetActivityTaskInput

type GetActivityTaskInput struct {

    // The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned
    // when you create the task using CreateActivity.)
    //
    // ActivityArn is a required field
    ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"`

    // You can provide an arbitrary name in order to identify the worker that the
    // task is assigned to. This name is used when it is logged in the execution
    // history.
    WorkerName *string `locationName:"workerName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetActivityTaskInput) GoString

func (s GetActivityTaskInput) GoString() string

GoString returns the string representation

func (*GetActivityTaskInput) SetActivityArn

func (s *GetActivityTaskInput) SetActivityArn(v string) *GetActivityTaskInput

SetActivityArn sets the ActivityArn field's value.

func (*GetActivityTaskInput) SetWorkerName

func (s *GetActivityTaskInput) SetWorkerName(v string) *GetActivityTaskInput

SetWorkerName sets the WorkerName field's value.

func (GetActivityTaskInput) String

func (s GetActivityTaskInput) String() string

String returns the string representation

func (*GetActivityTaskInput) Validate

func (s *GetActivityTaskInput) Validate() error

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

type GetActivityTaskOutput

type GetActivityTaskOutput struct {

    // The string that contains the JSON input data for the task. Length constraints
    // apply to the payload size, and are expressed as bytes in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // A token that identifies the scheduled task. This token must be copied and
    // included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure
    // in order to report the progress or completion of the task.
    TaskToken *string `locationName:"taskToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetActivityTaskOutput) GoString

func (s GetActivityTaskOutput) GoString() string

GoString returns the string representation

func (*GetActivityTaskOutput) SetInput

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

SetInput sets the Input field's value.

func (*GetActivityTaskOutput) SetTaskToken

func (s *GetActivityTaskOutput) SetTaskToken(v string) *GetActivityTaskOutput

SetTaskToken sets the TaskToken field's value.

func (GetActivityTaskOutput) String

func (s GetActivityTaskOutput) String() string

String returns the string representation

type GetExecutionHistoryInput

type GetExecutionHistoryInput struct {

    // The Amazon Resource Name (ARN) of the execution.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`

    // You can select whether execution data (input or output of a history event)
    // is returned. The default is true.
    IncludeExecutionData *bool `locationName:"includeExecutionData" type:"boolean"`

    // 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.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`

    // Lists events in descending order of their timeStamp.
    ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"`
    // contains filtered or unexported fields
}

func (GetExecutionHistoryInput) GoString

func (s GetExecutionHistoryInput) GoString() string

GoString returns the string representation

func (*GetExecutionHistoryInput) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (*GetExecutionHistoryInput) SetIncludeExecutionData

func (s *GetExecutionHistoryInput) SetIncludeExecutionData(v bool) *GetExecutionHistoryInput

SetIncludeExecutionData sets the IncludeExecutionData field's value.

func (*GetExecutionHistoryInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetExecutionHistoryInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*GetExecutionHistoryInput) SetReverseOrder

func (s *GetExecutionHistoryInput) SetReverseOrder(v bool) *GetExecutionHistoryInput

SetReverseOrder sets the ReverseOrder field's value.

func (GetExecutionHistoryInput) String

func (s GetExecutionHistoryInput) String() string

String returns the string representation

func (*GetExecutionHistoryInput) Validate

func (s *GetExecutionHistoryInput) Validate() error

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

type GetExecutionHistoryOutput

type GetExecutionHistoryOutput struct {

    // The list of events that occurred in the execution.
    //
    // Events is a required field
    Events []*HistoryEvent `locationName:"events" type:"list" required:"true"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetExecutionHistoryOutput) GoString

func (s GetExecutionHistoryOutput) GoString() string

GoString returns the string representation

func (*GetExecutionHistoryOutput) SetEvents

func (s *GetExecutionHistoryOutput) SetEvents(v []*HistoryEvent) *GetExecutionHistoryOutput

SetEvents sets the Events field's value.

func (*GetExecutionHistoryOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (GetExecutionHistoryOutput) String

func (s GetExecutionHistoryOutput) String() string

String returns the string representation

type HistoryEvent

type HistoryEvent struct {

    // Contains details about an activity that failed during an execution.
    ActivityFailedEventDetails *ActivityFailedEventDetails `locationName:"activityFailedEventDetails" type:"structure"`

    // Contains details about an activity schedule event that failed during an execution.
    ActivityScheduleFailedEventDetails *ActivityScheduleFailedEventDetails `locationName:"activityScheduleFailedEventDetails" type:"structure"`

    // Contains details about an activity scheduled during an execution.
    ActivityScheduledEventDetails *ActivityScheduledEventDetails `locationName:"activityScheduledEventDetails" type:"structure"`

    // Contains details about the start of an activity during an execution.
    ActivityStartedEventDetails *ActivityStartedEventDetails `locationName:"activityStartedEventDetails" type:"structure"`

    // Contains details about an activity that successfully terminated during an
    // execution.
    ActivitySucceededEventDetails *ActivitySucceededEventDetails `locationName:"activitySucceededEventDetails" type:"structure"`

    // Contains details about an activity timeout that occurred during an execution.
    ActivityTimedOutEventDetails *ActivityTimedOutEventDetails `locationName:"activityTimedOutEventDetails" type:"structure"`

    // Contains details about an abort of an execution.
    ExecutionAbortedEventDetails *ExecutionAbortedEventDetails `locationName:"executionAbortedEventDetails" type:"structure"`

    // Contains details about an execution failure event.
    ExecutionFailedEventDetails *ExecutionFailedEventDetails `locationName:"executionFailedEventDetails" type:"structure"`

    // Contains details about the start of the execution.
    ExecutionStartedEventDetails *ExecutionStartedEventDetails `locationName:"executionStartedEventDetails" type:"structure"`

    // Contains details about the successful termination of the execution.
    ExecutionSucceededEventDetails *ExecutionSucceededEventDetails `locationName:"executionSucceededEventDetails" type:"structure"`

    // Contains details about the execution timeout that occurred during the execution.
    ExecutionTimedOutEventDetails *ExecutionTimedOutEventDetails `locationName:"executionTimedOutEventDetails" type:"structure"`

    // The id of the event. Events are numbered sequentially, starting at one.
    //
    // Id is a required field
    Id *int64 `locationName:"id" type:"long" required:"true"`

    // Contains details about a lambda function that failed during an execution.
    LambdaFunctionFailedEventDetails *LambdaFunctionFailedEventDetails `locationName:"lambdaFunctionFailedEventDetails" type:"structure"`

    // Contains details about a failed lambda function schedule event that occurred
    // during an execution.
    LambdaFunctionScheduleFailedEventDetails *LambdaFunctionScheduleFailedEventDetails `locationName:"lambdaFunctionScheduleFailedEventDetails" type:"structure"`

    // Contains details about a lambda function scheduled during an execution.
    LambdaFunctionScheduledEventDetails *LambdaFunctionScheduledEventDetails `locationName:"lambdaFunctionScheduledEventDetails" type:"structure"`

    // Contains details about a lambda function that failed to start during an execution.
    LambdaFunctionStartFailedEventDetails *LambdaFunctionStartFailedEventDetails `locationName:"lambdaFunctionStartFailedEventDetails" type:"structure"`

    // Contains details about a lambda function that terminated successfully during
    // an execution.
    LambdaFunctionSucceededEventDetails *LambdaFunctionSucceededEventDetails `locationName:"lambdaFunctionSucceededEventDetails" type:"structure"`

    // Contains details about a lambda function timeout that occurred during an
    // execution.
    LambdaFunctionTimedOutEventDetails *LambdaFunctionTimedOutEventDetails `locationName:"lambdaFunctionTimedOutEventDetails" type:"structure"`

    // Contains details about an iteration of a Map state that was aborted.
    MapIterationAbortedEventDetails *MapIterationEventDetails `locationName:"mapIterationAbortedEventDetails" type:"structure"`

    // Contains details about an iteration of a Map state that failed.
    MapIterationFailedEventDetails *MapIterationEventDetails `locationName:"mapIterationFailedEventDetails" type:"structure"`

    // Contains details about an iteration of a Map state that was started.
    MapIterationStartedEventDetails *MapIterationEventDetails `locationName:"mapIterationStartedEventDetails" type:"structure"`

    // Contains details about an iteration of a Map state that succeeded.
    MapIterationSucceededEventDetails *MapIterationEventDetails `locationName:"mapIterationSucceededEventDetails" type:"structure"`

    // Contains details about Map state that was started.
    MapStateStartedEventDetails *MapStateStartedEventDetails `locationName:"mapStateStartedEventDetails" type:"structure"`

    // The id of the previous event.
    PreviousEventId *int64 `locationName:"previousEventId" type:"long"`

    // Contains details about a state entered during an execution.
    StateEnteredEventDetails *StateEnteredEventDetails `locationName:"stateEnteredEventDetails" type:"structure"`

    // Contains details about an exit from a state during an execution.
    StateExitedEventDetails *StateExitedEventDetails `locationName:"stateExitedEventDetails" type:"structure"`

    // Contains details about the failure of a task.
    TaskFailedEventDetails *TaskFailedEventDetails `locationName:"taskFailedEventDetails" type:"structure"`

    // Contains details about a task that was scheduled.
    TaskScheduledEventDetails *TaskScheduledEventDetails `locationName:"taskScheduledEventDetails" type:"structure"`

    // Contains details about a task that failed to start.
    TaskStartFailedEventDetails *TaskStartFailedEventDetails `locationName:"taskStartFailedEventDetails" type:"structure"`

    // Contains details about a task that was started.
    TaskStartedEventDetails *TaskStartedEventDetails `locationName:"taskStartedEventDetails" type:"structure"`

    // Contains details about a task that where the submit failed.
    TaskSubmitFailedEventDetails *TaskSubmitFailedEventDetails `locationName:"taskSubmitFailedEventDetails" type:"structure"`

    // Contains details about a submitted task.
    TaskSubmittedEventDetails *TaskSubmittedEventDetails `locationName:"taskSubmittedEventDetails" type:"structure"`

    // Contains details about a task that succeeded.
    TaskSucceededEventDetails *TaskSucceededEventDetails `locationName:"taskSucceededEventDetails" type:"structure"`

    // Contains details about a task that timed out.
    TaskTimedOutEventDetails *TaskTimedOutEventDetails `locationName:"taskTimedOutEventDetails" type:"structure"`

    // The date and time the event occurred.
    //
    // Timestamp is a required field
    Timestamp *time.Time `locationName:"timestamp" type:"timestamp" required:"true"`

    // The type of the event.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"HistoryEventType"`
    // contains filtered or unexported fields
}

Contains details about the events of an execution.

func (HistoryEvent) GoString

func (s HistoryEvent) GoString() string

GoString returns the string representation

func (*HistoryEvent) SetActivityFailedEventDetails

func (s *HistoryEvent) SetActivityFailedEventDetails(v *ActivityFailedEventDetails) *HistoryEvent

SetActivityFailedEventDetails sets the ActivityFailedEventDetails field's value.

func (*HistoryEvent) SetActivityScheduleFailedEventDetails

func (s *HistoryEvent) SetActivityScheduleFailedEventDetails(v *ActivityScheduleFailedEventDetails) *HistoryEvent

SetActivityScheduleFailedEventDetails sets the ActivityScheduleFailedEventDetails field's value.

func (*HistoryEvent) SetActivityScheduledEventDetails

func (s *HistoryEvent) SetActivityScheduledEventDetails(v *ActivityScheduledEventDetails) *HistoryEvent

SetActivityScheduledEventDetails sets the ActivityScheduledEventDetails field's value.

func (*HistoryEvent) SetActivityStartedEventDetails

func (s *HistoryEvent) SetActivityStartedEventDetails(v *ActivityStartedEventDetails) *HistoryEvent

SetActivityStartedEventDetails sets the ActivityStartedEventDetails field's value.

func (*HistoryEvent) SetActivitySucceededEventDetails

func (s *HistoryEvent) SetActivitySucceededEventDetails(v *ActivitySucceededEventDetails) *HistoryEvent

SetActivitySucceededEventDetails sets the ActivitySucceededEventDetails field's value.

func (*HistoryEvent) SetActivityTimedOutEventDetails

func (s *HistoryEvent) SetActivityTimedOutEventDetails(v *ActivityTimedOutEventDetails) *HistoryEvent

SetActivityTimedOutEventDetails sets the ActivityTimedOutEventDetails field's value.

func (*HistoryEvent) SetExecutionAbortedEventDetails

func (s *HistoryEvent) SetExecutionAbortedEventDetails(v *ExecutionAbortedEventDetails) *HistoryEvent

SetExecutionAbortedEventDetails sets the ExecutionAbortedEventDetails field's value.

func (*HistoryEvent) SetExecutionFailedEventDetails

func (s *HistoryEvent) SetExecutionFailedEventDetails(v *ExecutionFailedEventDetails) *HistoryEvent

SetExecutionFailedEventDetails sets the ExecutionFailedEventDetails field's value.

func (*HistoryEvent) SetExecutionStartedEventDetails

func (s *HistoryEvent) SetExecutionStartedEventDetails(v *ExecutionStartedEventDetails) *HistoryEvent

SetExecutionStartedEventDetails sets the ExecutionStartedEventDetails field's value.

func (*HistoryEvent) SetExecutionSucceededEventDetails

func (s *HistoryEvent) SetExecutionSucceededEventDetails(v *ExecutionSucceededEventDetails) *HistoryEvent

SetExecutionSucceededEventDetails sets the ExecutionSucceededEventDetails field's value.

func (*HistoryEvent) SetExecutionTimedOutEventDetails

func (s *HistoryEvent) SetExecutionTimedOutEventDetails(v *ExecutionTimedOutEventDetails) *HistoryEvent

SetExecutionTimedOutEventDetails sets the ExecutionTimedOutEventDetails field's value.

func (*HistoryEvent) SetId

func (s *HistoryEvent) SetId(v int64) *HistoryEvent

SetId sets the Id field's value.

func (*HistoryEvent) SetLambdaFunctionFailedEventDetails

func (s *HistoryEvent) SetLambdaFunctionFailedEventDetails(v *LambdaFunctionFailedEventDetails) *HistoryEvent

SetLambdaFunctionFailedEventDetails sets the LambdaFunctionFailedEventDetails field's value.

func (*HistoryEvent) SetLambdaFunctionScheduleFailedEventDetails

func (s *HistoryEvent) SetLambdaFunctionScheduleFailedEventDetails(v *LambdaFunctionScheduleFailedEventDetails) *HistoryEvent

SetLambdaFunctionScheduleFailedEventDetails sets the LambdaFunctionScheduleFailedEventDetails field's value.

func (*HistoryEvent) SetLambdaFunctionScheduledEventDetails

func (s *HistoryEvent) SetLambdaFunctionScheduledEventDetails(v *LambdaFunctionScheduledEventDetails) *HistoryEvent

SetLambdaFunctionScheduledEventDetails sets the LambdaFunctionScheduledEventDetails field's value.

func (*HistoryEvent) SetLambdaFunctionStartFailedEventDetails

func (s *HistoryEvent) SetLambdaFunctionStartFailedEventDetails(v *LambdaFunctionStartFailedEventDetails) *HistoryEvent

SetLambdaFunctionStartFailedEventDetails sets the LambdaFunctionStartFailedEventDetails field's value.

func (*HistoryEvent) SetLambdaFunctionSucceededEventDetails

func (s *HistoryEvent) SetLambdaFunctionSucceededEventDetails(v *LambdaFunctionSucceededEventDetails) *HistoryEvent

SetLambdaFunctionSucceededEventDetails sets the LambdaFunctionSucceededEventDetails field's value.

func (*HistoryEvent) SetLambdaFunctionTimedOutEventDetails

func (s *HistoryEvent) SetLambdaFunctionTimedOutEventDetails(v *LambdaFunctionTimedOutEventDetails) *HistoryEvent

SetLambdaFunctionTimedOutEventDetails sets the LambdaFunctionTimedOutEventDetails field's value.

func (*HistoryEvent) SetMapIterationAbortedEventDetails

func (s *HistoryEvent) SetMapIterationAbortedEventDetails(v *MapIterationEventDetails) *HistoryEvent

SetMapIterationAbortedEventDetails sets the MapIterationAbortedEventDetails field's value.

func (*HistoryEvent) SetMapIterationFailedEventDetails

func (s *HistoryEvent) SetMapIterationFailedEventDetails(v *MapIterationEventDetails) *HistoryEvent

SetMapIterationFailedEventDetails sets the MapIterationFailedEventDetails field's value.

func (*HistoryEvent) SetMapIterationStartedEventDetails

func (s *HistoryEvent) SetMapIterationStartedEventDetails(v *MapIterationEventDetails) *HistoryEvent

SetMapIterationStartedEventDetails sets the MapIterationStartedEventDetails field's value.

func (*HistoryEvent) SetMapIterationSucceededEventDetails

func (s *HistoryEvent) SetMapIterationSucceededEventDetails(v *MapIterationEventDetails) *HistoryEvent

SetMapIterationSucceededEventDetails sets the MapIterationSucceededEventDetails field's value.

func (*HistoryEvent) SetMapStateStartedEventDetails

func (s *HistoryEvent) SetMapStateStartedEventDetails(v *MapStateStartedEventDetails) *HistoryEvent

SetMapStateStartedEventDetails sets the MapStateStartedEventDetails field's value.

func (*HistoryEvent) SetPreviousEventId

func (s *HistoryEvent) SetPreviousEventId(v int64) *HistoryEvent

SetPreviousEventId sets the PreviousEventId field's value.

func (*HistoryEvent) SetStateEnteredEventDetails

func (s *HistoryEvent) SetStateEnteredEventDetails(v *StateEnteredEventDetails) *HistoryEvent

SetStateEnteredEventDetails sets the StateEnteredEventDetails field's value.

func (*HistoryEvent) SetStateExitedEventDetails

func (s *HistoryEvent) SetStateExitedEventDetails(v *StateExitedEventDetails) *HistoryEvent

SetStateExitedEventDetails sets the StateExitedEventDetails field's value.

func (*HistoryEvent) SetTaskFailedEventDetails

func (s *HistoryEvent) SetTaskFailedEventDetails(v *TaskFailedEventDetails) *HistoryEvent

SetTaskFailedEventDetails sets the TaskFailedEventDetails field's value.

func (*HistoryEvent) SetTaskScheduledEventDetails

func (s *HistoryEvent) SetTaskScheduledEventDetails(v *TaskScheduledEventDetails) *HistoryEvent

SetTaskScheduledEventDetails sets the TaskScheduledEventDetails field's value.

func (*HistoryEvent) SetTaskStartFailedEventDetails

func (s *HistoryEvent) SetTaskStartFailedEventDetails(v *TaskStartFailedEventDetails) *HistoryEvent

SetTaskStartFailedEventDetails sets the TaskStartFailedEventDetails field's value.

func (*HistoryEvent) SetTaskStartedEventDetails

func (s *HistoryEvent) SetTaskStartedEventDetails(v *TaskStartedEventDetails) *HistoryEvent

SetTaskStartedEventDetails sets the TaskStartedEventDetails field's value.

func (*HistoryEvent) SetTaskSubmitFailedEventDetails

func (s *HistoryEvent) SetTaskSubmitFailedEventDetails(v *TaskSubmitFailedEventDetails) *HistoryEvent

SetTaskSubmitFailedEventDetails sets the TaskSubmitFailedEventDetails field's value.

func (*HistoryEvent) SetTaskSubmittedEventDetails

func (s *HistoryEvent) SetTaskSubmittedEventDetails(v *TaskSubmittedEventDetails) *HistoryEvent

SetTaskSubmittedEventDetails sets the TaskSubmittedEventDetails field's value.

func (*HistoryEvent) SetTaskSucceededEventDetails

func (s *HistoryEvent) SetTaskSucceededEventDetails(v *TaskSucceededEventDetails) *HistoryEvent

SetTaskSucceededEventDetails sets the TaskSucceededEventDetails field's value.

func (*HistoryEvent) SetTaskTimedOutEventDetails

func (s *HistoryEvent) SetTaskTimedOutEventDetails(v *TaskTimedOutEventDetails) *HistoryEvent

SetTaskTimedOutEventDetails sets the TaskTimedOutEventDetails field's value.

func (*HistoryEvent) SetTimestamp

func (s *HistoryEvent) SetTimestamp(v time.Time) *HistoryEvent

SetTimestamp sets the Timestamp field's value.

func (*HistoryEvent) SetType

func (s *HistoryEvent) SetType(v string) *HistoryEvent

SetType sets the Type field's value.

func (HistoryEvent) String

func (s HistoryEvent) String() string

String returns the string representation

type HistoryEventExecutionDataDetails

type HistoryEventExecutionDataDetails struct {

    // Indicates whether input or output was truncated in the response. Always false
    // for API calls.
    Truncated *bool `locationName:"truncated" type:"boolean"`
    // contains filtered or unexported fields
}

Provides details about input or output in an execution history event.

func (HistoryEventExecutionDataDetails) GoString

func (s HistoryEventExecutionDataDetails) GoString() string

GoString returns the string representation

func (*HistoryEventExecutionDataDetails) SetTruncated

func (s *HistoryEventExecutionDataDetails) SetTruncated(v bool) *HistoryEventExecutionDataDetails

SetTruncated sets the Truncated field's value.

func (HistoryEventExecutionDataDetails) String

func (s HistoryEventExecutionDataDetails) String() string

String returns the string representation

type InvalidArn

type InvalidArn struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided Amazon Resource Name (ARN) is invalid.

func (*InvalidArn) Code

func (s *InvalidArn) Code() string

Code returns the exception type name.

func (*InvalidArn) Error

func (s *InvalidArn) Error() string

func (InvalidArn) GoString

func (s InvalidArn) GoString() string

GoString returns the string representation

func (*InvalidArn) Message

func (s *InvalidArn) Message() string

Message returns the exception's message.

func (*InvalidArn) OrigErr

func (s *InvalidArn) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidArn) RequestID

func (s *InvalidArn) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidArn) StatusCode

func (s *InvalidArn) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidArn) String

func (s InvalidArn) String() string

String returns the string representation

type InvalidDefinition

type InvalidDefinition struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided Amazon States Language definition is invalid.

func (*InvalidDefinition) Code

func (s *InvalidDefinition) Code() string

Code returns the exception type name.

func (*InvalidDefinition) Error

func (s *InvalidDefinition) Error() string

func (InvalidDefinition) GoString

func (s InvalidDefinition) GoString() string

GoString returns the string representation

func (*InvalidDefinition) Message

func (s *InvalidDefinition) Message() string

Message returns the exception's message.

func (*InvalidDefinition) OrigErr

func (s *InvalidDefinition) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidDefinition) RequestID

func (s *InvalidDefinition) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidDefinition) StatusCode

func (s *InvalidDefinition) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidDefinition) String

func (s InvalidDefinition) String() string

String returns the string representation

type InvalidExecutionInput

type InvalidExecutionInput struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided JSON input data is invalid.

func (*InvalidExecutionInput) Code

func (s *InvalidExecutionInput) Code() string

Code returns the exception type name.

func (*InvalidExecutionInput) Error

func (s *InvalidExecutionInput) Error() string

func (InvalidExecutionInput) GoString

func (s InvalidExecutionInput) GoString() string

GoString returns the string representation

func (*InvalidExecutionInput) Message

func (s *InvalidExecutionInput) Message() string

Message returns the exception's message.

func (*InvalidExecutionInput) OrigErr

func (s *InvalidExecutionInput) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidExecutionInput) RequestID

func (s *InvalidExecutionInput) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidExecutionInput) StatusCode

func (s *InvalidExecutionInput) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidExecutionInput) String

func (s InvalidExecutionInput) String() string

String returns the string representation

type InvalidLoggingConfiguration

type InvalidLoggingConfiguration struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

func (*InvalidLoggingConfiguration) Code

func (s *InvalidLoggingConfiguration) Code() string

Code returns the exception type name.

func (*InvalidLoggingConfiguration) Error

func (s *InvalidLoggingConfiguration) Error() string

func (InvalidLoggingConfiguration) GoString

func (s InvalidLoggingConfiguration) GoString() string

GoString returns the string representation

func (*InvalidLoggingConfiguration) Message

func (s *InvalidLoggingConfiguration) Message() string

Message returns the exception's message.

func (*InvalidLoggingConfiguration) OrigErr

func (s *InvalidLoggingConfiguration) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidLoggingConfiguration) RequestID

func (s *InvalidLoggingConfiguration) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidLoggingConfiguration) StatusCode

func (s *InvalidLoggingConfiguration) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidLoggingConfiguration) String

func (s InvalidLoggingConfiguration) String() string

String returns the string representation

type InvalidName

type InvalidName struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided name is invalid.

func (*InvalidName) Code

func (s *InvalidName) Code() string

Code returns the exception type name.

func (*InvalidName) Error

func (s *InvalidName) Error() string

func (InvalidName) GoString

func (s InvalidName) GoString() string

GoString returns the string representation

func (*InvalidName) Message

func (s *InvalidName) Message() string

Message returns the exception's message.

func (*InvalidName) OrigErr

func (s *InvalidName) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidName) RequestID

func (s *InvalidName) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidName) StatusCode

func (s *InvalidName) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidName) String

func (s InvalidName) String() string

String returns the string representation

type InvalidOutput

type InvalidOutput struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided JSON output data is invalid.

func (*InvalidOutput) Code

func (s *InvalidOutput) Code() string

Code returns the exception type name.

func (*InvalidOutput) Error

func (s *InvalidOutput) Error() string

func (InvalidOutput) GoString

func (s InvalidOutput) GoString() string

GoString returns the string representation

func (*InvalidOutput) Message

func (s *InvalidOutput) Message() string

Message returns the exception's message.

func (*InvalidOutput) OrigErr

func (s *InvalidOutput) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidOutput) RequestID

func (s *InvalidOutput) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidOutput) StatusCode

func (s *InvalidOutput) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidOutput) String

func (s InvalidOutput) String() string

String returns the string representation

type InvalidToken

type InvalidToken struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided token is invalid.

func (*InvalidToken) Code

func (s *InvalidToken) Code() string

Code returns the exception type name.

func (*InvalidToken) Error

func (s *InvalidToken) Error() string

func (InvalidToken) GoString

func (s InvalidToken) GoString() string

GoString returns the string representation

func (*InvalidToken) Message

func (s *InvalidToken) Message() string

Message returns the exception's message.

func (*InvalidToken) OrigErr

func (s *InvalidToken) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidToken) RequestID

func (s *InvalidToken) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidToken) StatusCode

func (s *InvalidToken) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidToken) String

func (s InvalidToken) String() string

String returns the string representation

type InvalidTracingConfiguration

type InvalidTracingConfiguration struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Your tracingConfiguration key does not match, or enabled has not been set to true or false.

func (*InvalidTracingConfiguration) Code

func (s *InvalidTracingConfiguration) Code() string

Code returns the exception type name.

func (*InvalidTracingConfiguration) Error

func (s *InvalidTracingConfiguration) Error() string

func (InvalidTracingConfiguration) GoString

func (s InvalidTracingConfiguration) GoString() string

GoString returns the string representation

func (*InvalidTracingConfiguration) Message

func (s *InvalidTracingConfiguration) Message() string

Message returns the exception's message.

func (*InvalidTracingConfiguration) OrigErr

func (s *InvalidTracingConfiguration) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTracingConfiguration) RequestID

func (s *InvalidTracingConfiguration) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTracingConfiguration) StatusCode

func (s *InvalidTracingConfiguration) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTracingConfiguration) String

func (s InvalidTracingConfiguration) String() string

String returns the string representation

type LambdaFunctionFailedEventDetails

type LambdaFunctionFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about a lambda function that failed during an execution.

func (LambdaFunctionFailedEventDetails) GoString

func (s LambdaFunctionFailedEventDetails) GoString() string

GoString returns the string representation

func (*LambdaFunctionFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*LambdaFunctionFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (LambdaFunctionFailedEventDetails) String

func (s LambdaFunctionFailedEventDetails) String() string

String returns the string representation

type LambdaFunctionScheduleFailedEventDetails

type LambdaFunctionScheduleFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about a failed lambda function schedule event that occurred during an execution.

func (LambdaFunctionScheduleFailedEventDetails) GoString

func (s LambdaFunctionScheduleFailedEventDetails) GoString() string

GoString returns the string representation

func (*LambdaFunctionScheduleFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*LambdaFunctionScheduleFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (LambdaFunctionScheduleFailedEventDetails) String

func (s LambdaFunctionScheduleFailedEventDetails) String() string

String returns the string representation

type LambdaFunctionScheduledEventDetails

type LambdaFunctionScheduledEventDetails struct {

    // The JSON data input to the lambda function. Length constraints apply to the
    // payload size, and are expressed as bytes in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // Contains details about input for an execution history event.
    InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"`

    // The Amazon Resource Name (ARN) of the scheduled lambda function.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The maximum allowed duration of the lambda function.
    TimeoutInSeconds *int64 `locationName:"timeoutInSeconds" type:"long"`
    // contains filtered or unexported fields
}

Contains details about a lambda function scheduled during an execution.

func (LambdaFunctionScheduledEventDetails) GoString

func (s LambdaFunctionScheduledEventDetails) GoString() string

GoString returns the string representation

func (*LambdaFunctionScheduledEventDetails) SetInput

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

SetInput sets the Input field's value.

func (*LambdaFunctionScheduledEventDetails) SetInputDetails

func (s *LambdaFunctionScheduledEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *LambdaFunctionScheduledEventDetails

SetInputDetails sets the InputDetails field's value.

func (*LambdaFunctionScheduledEventDetails) SetResource

func (s *LambdaFunctionScheduledEventDetails) SetResource(v string) *LambdaFunctionScheduledEventDetails

SetResource sets the Resource field's value.

func (*LambdaFunctionScheduledEventDetails) SetTimeoutInSeconds

func (s *LambdaFunctionScheduledEventDetails) SetTimeoutInSeconds(v int64) *LambdaFunctionScheduledEventDetails

SetTimeoutInSeconds sets the TimeoutInSeconds field's value.

func (LambdaFunctionScheduledEventDetails) String

func (s LambdaFunctionScheduledEventDetails) String() string

String returns the string representation

type LambdaFunctionStartFailedEventDetails

type LambdaFunctionStartFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about a lambda function that failed to start during an execution.

func (LambdaFunctionStartFailedEventDetails) GoString

func (s LambdaFunctionStartFailedEventDetails) GoString() string

GoString returns the string representation

func (*LambdaFunctionStartFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*LambdaFunctionStartFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (LambdaFunctionStartFailedEventDetails) String

func (s LambdaFunctionStartFailedEventDetails) String() string

String returns the string representation

type LambdaFunctionSucceededEventDetails

type LambdaFunctionSucceededEventDetails struct {

    // The JSON data output by the lambda function. Length constraints apply to
    // the payload size, and are expressed as bytes in UTF-8 encoding.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Contains details about the output of an execution history event.
    OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"`
    // contains filtered or unexported fields
}

Contains details about a lambda function that successfully terminated during an execution.

func (LambdaFunctionSucceededEventDetails) GoString

func (s LambdaFunctionSucceededEventDetails) GoString() string

GoString returns the string representation

func (*LambdaFunctionSucceededEventDetails) SetOutput

func (s *LambdaFunctionSucceededEventDetails) SetOutput(v string) *LambdaFunctionSucceededEventDetails

SetOutput sets the Output field's value.

func (*LambdaFunctionSucceededEventDetails) SetOutputDetails

func (s *LambdaFunctionSucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *LambdaFunctionSucceededEventDetails

SetOutputDetails sets the OutputDetails field's value.

func (LambdaFunctionSucceededEventDetails) String

func (s LambdaFunctionSucceededEventDetails) String() string

String returns the string representation

type LambdaFunctionTimedOutEventDetails

type LambdaFunctionTimedOutEventDetails struct {

    // A more detailed explanation of the cause of the timeout.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`
    // contains filtered or unexported fields
}

Contains details about a lambda function timeout that occurred during an execution.

func (LambdaFunctionTimedOutEventDetails) GoString

func (s LambdaFunctionTimedOutEventDetails) GoString() string

GoString returns the string representation

func (*LambdaFunctionTimedOutEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*LambdaFunctionTimedOutEventDetails) SetError

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

SetError sets the Error field's value.

func (LambdaFunctionTimedOutEventDetails) String

func (s LambdaFunctionTimedOutEventDetails) String() string

String returns the string representation

type ListActivitiesInput

type ListActivitiesInput struct {

    // 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.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListActivitiesInput) GoString

func (s ListActivitiesInput) GoString() string

GoString returns the string representation

func (*ListActivitiesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListActivitiesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListActivitiesInput) String

func (s ListActivitiesInput) String() string

String returns the string representation

func (*ListActivitiesInput) Validate

func (s *ListActivitiesInput) Validate() error

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

type ListActivitiesOutput

type ListActivitiesOutput struct {

    // The list of activities.
    //
    // Activities is a required field
    Activities []*ActivityListItem `locationName:"activities" type:"list" required:"true"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListActivitiesOutput) GoString

func (s ListActivitiesOutput) GoString() string

GoString returns the string representation

func (*ListActivitiesOutput) SetActivities

func (s *ListActivitiesOutput) SetActivities(v []*ActivityListItem) *ListActivitiesOutput

SetActivities sets the Activities field's value.

func (*ListActivitiesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListActivitiesOutput) String

func (s ListActivitiesOutput) String() string

String returns the string representation

type ListExecutionsInput

type ListExecutionsInput struct {

    // 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.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`

    // The Amazon Resource Name (ARN) of the state machine whose executions is listed.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // If specified, only list the executions whose current execution status matches
    // the given filter.
    StatusFilter *string `locationName:"statusFilter" type:"string" enum:"ExecutionStatus"`
    // contains filtered or unexported fields
}

func (ListExecutionsInput) GoString

func (s ListExecutionsInput) GoString() string

GoString returns the string representation

func (*ListExecutionsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListExecutionsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListExecutionsInput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*ListExecutionsInput) SetStatusFilter

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

SetStatusFilter sets the StatusFilter field's value.

func (ListExecutionsInput) String

func (s ListExecutionsInput) String() string

String returns the string representation

func (*ListExecutionsInput) Validate

func (s *ListExecutionsInput) Validate() error

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

type ListExecutionsOutput

type ListExecutionsOutput struct {

    // The list of matching executions.
    //
    // Executions is a required field
    Executions []*ExecutionListItem `locationName:"executions" type:"list" required:"true"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListExecutionsOutput) GoString

func (s ListExecutionsOutput) GoString() string

GoString returns the string representation

func (*ListExecutionsOutput) SetExecutions

func (s *ListExecutionsOutput) SetExecutions(v []*ExecutionListItem) *ListExecutionsOutput

SetExecutions sets the Executions field's value.

func (*ListExecutionsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListExecutionsOutput) String

func (s ListExecutionsOutput) String() string

String returns the string representation

type ListStateMachinesInput

type ListStateMachinesInput struct {

    // 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.
    MaxResults *int64 `locationName:"maxResults" type:"integer"`

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListStateMachinesInput) GoString

func (s ListStateMachinesInput) GoString() string

GoString returns the string representation

func (*ListStateMachinesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListStateMachinesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListStateMachinesInput) String

func (s ListStateMachinesInput) String() string

String returns the string representation

func (*ListStateMachinesInput) Validate

func (s *ListStateMachinesInput) Validate() error

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

type ListStateMachinesOutput

type ListStateMachinesOutput struct {

    // 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.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`

    // StateMachines is a required field
    StateMachines []*StateMachineListItem `locationName:"stateMachines" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (ListStateMachinesOutput) GoString

func (s ListStateMachinesOutput) GoString() string

GoString returns the string representation

func (*ListStateMachinesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListStateMachinesOutput) SetStateMachines

func (s *ListStateMachinesOutput) SetStateMachines(v []*StateMachineListItem) *ListStateMachinesOutput

SetStateMachines sets the StateMachines field's value.

func (ListStateMachinesOutput) String

func (s ListStateMachinesOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

    // The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

    // An array of tags associated with the resource.
    Tags []*Tag `locationName:"tags" type:"list"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type LogDestination

type LogDestination struct {

    // An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup
    // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html)
    // in the AWS CloudFormation User Guide.
    CloudWatchLogsLogGroup *CloudWatchLogsLogGroup `locationName:"cloudWatchLogsLogGroup" type:"structure"`
    // contains filtered or unexported fields
}

func (LogDestination) GoString

func (s LogDestination) GoString() string

GoString returns the string representation

func (*LogDestination) SetCloudWatchLogsLogGroup

func (s *LogDestination) SetCloudWatchLogsLogGroup(v *CloudWatchLogsLogGroup) *LogDestination

SetCloudWatchLogsLogGroup sets the CloudWatchLogsLogGroup field's value.

func (LogDestination) String

func (s LogDestination) String() string

String returns the string representation

func (*LogDestination) Validate

func (s *LogDestination) Validate() error

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

type LoggingConfiguration

type LoggingConfiguration struct {

    // An array of objects that describes where your execution history events will
    // be logged. Limited to size 1. Required, if your log level is not set to OFF.
    Destinations []*LogDestination `locationName:"destinations" type:"list"`

    // Determines whether execution data is included in your log. When set to false,
    // data is excluded.
    IncludeExecutionData *bool `locationName:"includeExecutionData" type:"boolean"`

    // Defines which category of execution history events are logged.
    Level *string `locationName:"level" type:"string" enum:"LogLevel"`
    // contains filtered or unexported fields
}

The LoggingConfiguration data type is used to set CloudWatch Logs options.

func (LoggingConfiguration) GoString

func (s LoggingConfiguration) GoString() string

GoString returns the string representation

func (*LoggingConfiguration) SetDestinations

func (s *LoggingConfiguration) SetDestinations(v []*LogDestination) *LoggingConfiguration

SetDestinations sets the Destinations field's value.

func (*LoggingConfiguration) SetIncludeExecutionData

func (s *LoggingConfiguration) SetIncludeExecutionData(v bool) *LoggingConfiguration

SetIncludeExecutionData sets the IncludeExecutionData field's value.

func (*LoggingConfiguration) SetLevel

func (s *LoggingConfiguration) SetLevel(v string) *LoggingConfiguration

SetLevel sets the Level field's value.

func (LoggingConfiguration) String

func (s LoggingConfiguration) String() string

String returns the string representation

func (*LoggingConfiguration) Validate

func (s *LoggingConfiguration) Validate() error

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

type MapIterationEventDetails

type MapIterationEventDetails struct {

    // The index of the array belonging to the Map state iteration.
    Index *int64 `locationName:"index" type:"integer"`

    // The name of the iteration’s parent Map state.
    Name *string `locationName:"name" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains details about an iteration of a Map state.

func (MapIterationEventDetails) GoString

func (s MapIterationEventDetails) GoString() string

GoString returns the string representation

func (*MapIterationEventDetails) SetIndex

func (s *MapIterationEventDetails) SetIndex(v int64) *MapIterationEventDetails

SetIndex sets the Index field's value.

func (*MapIterationEventDetails) SetName

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

SetName sets the Name field's value.

func (MapIterationEventDetails) String

func (s MapIterationEventDetails) String() string

String returns the string representation

type MapStateStartedEventDetails

type MapStateStartedEventDetails struct {

    // The size of the array for Map state iterations.
    Length *int64 `locationName:"length" type:"integer"`
    // contains filtered or unexported fields
}

Details about a Map state that was started.

func (MapStateStartedEventDetails) GoString

func (s MapStateStartedEventDetails) GoString() string

GoString returns the string representation

func (*MapStateStartedEventDetails) SetLength

func (s *MapStateStartedEventDetails) SetLength(v int64) *MapStateStartedEventDetails

SetLength sets the Length field's value.

func (MapStateStartedEventDetails) String

func (s MapStateStartedEventDetails) String() string

String returns the string representation

type MissingRequiredParameter

type MissingRequiredParameter struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Request is missing a required parameter. This error occurs if both definition and roleArn are not specified.

func (*MissingRequiredParameter) Code

func (s *MissingRequiredParameter) Code() string

Code returns the exception type name.

func (*MissingRequiredParameter) Error

func (s *MissingRequiredParameter) Error() string

func (MissingRequiredParameter) GoString

func (s MissingRequiredParameter) GoString() string

GoString returns the string representation

func (*MissingRequiredParameter) Message

func (s *MissingRequiredParameter) Message() string

Message returns the exception's message.

func (*MissingRequiredParameter) OrigErr

func (s *MissingRequiredParameter) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MissingRequiredParameter) RequestID

func (s *MissingRequiredParameter) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MissingRequiredParameter) StatusCode

func (s *MissingRequiredParameter) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MissingRequiredParameter) String

func (s MissingRequiredParameter) String() string

String returns the string representation

type ResourceNotFound

type ResourceNotFound struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    ResourceName *string `locationName:"resourceName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Could not find the referenced resource. Only state machine and activity ARNs are supported.

func (*ResourceNotFound) Code

func (s *ResourceNotFound) Code() string

Code returns the exception type name.

func (*ResourceNotFound) Error

func (s *ResourceNotFound) Error() string

func (ResourceNotFound) GoString

func (s ResourceNotFound) GoString() string

GoString returns the string representation

func (*ResourceNotFound) Message

func (s *ResourceNotFound) Message() string

Message returns the exception's message.

func (*ResourceNotFound) OrigErr

func (s *ResourceNotFound) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFound) RequestID

func (s *ResourceNotFound) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFound) StatusCode

func (s *ResourceNotFound) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFound) String

func (s ResourceNotFound) String() string

String returns the string representation

type SFN

type SFN struct {
    *client.Client
}

SFN provides the API operation methods for making requests to AWS Step Functions. See this package's package overview docs for details on the service.

SFN methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *SFN

New creates a new instance of the SFN client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a SFN client from just a session.
svc := sfn.New(mySession)

// Create a SFN client with additional configuration
svc := sfn.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*SFN) CreateActivity

func (c *SFN) CreateActivity(input *CreateActivityInput) (*CreateActivityOutput, error)

CreateActivity API operation for AWS Step Functions.

Creates an activity. An activity is a task that you write in any programming language and host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the GetActivityTask API action and respond using SendTask* API actions. This function lets Step Functions know the existence of your activity and returns an identifier for use in a state machine and when polling from the activity.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

CreateActivity is an idempotent API. Subsequent requests won’t create a duplicate resource if it was already created. CreateActivity's idempotency check is based on the activity name. If a following request has different tags values, Step Functions will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation CreateActivity for usage and error information.

Returned Error Types:

* ActivityLimitExceeded
The maximum number of activities has been reached. Existing activities must
be deleted before a new activity can be created.

* InvalidName
The provided name is invalid.

* TooManyTags
You've exceeded the number of tags allowed for a resource. See the Limits
Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html)
in the AWS Step Functions Developer Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity

func (*SFN) CreateActivityRequest

func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Request, output *CreateActivityOutput)

CreateActivityRequest generates a "aws/request.Request" representing the client's request for the CreateActivity operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateActivity for more information on using the CreateActivity API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateActivityRequest method.
req, resp := client.CreateActivityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity

func (*SFN) CreateActivityWithContext

func (c *SFN) CreateActivityWithContext(ctx aws.Context, input *CreateActivityInput, opts ...request.Option) (*CreateActivityOutput, error)

CreateActivityWithContext is the same as CreateActivity with the addition of the ability to pass a context and additional request options.

See CreateActivity for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) CreateStateMachine

func (c *SFN) CreateStateMachine(input *CreateStateMachineInput) (*CreateStateMachineOutput, error)

CreateStateMachine API operation for AWS Step Functions.

Creates a state machine. A state machine consists of a collection of states that can do work (Task states), determine to which states to transition next (Choice states), stop an execution with an error (Fail states), and so on. State machines are specified using a JSON-based, structured language. For more information, see Amazon States Language (https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) in the AWS Step Functions User Guide.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

CreateStateMachine is an idempotent API. Subsequent requests won’t create a duplicate resource if it was already created. CreateStateMachine's idempotency check is based on the state machine name, definition, type, LoggingConfiguration and TracingConfiguration. If a following request has a different roleArn or tags, Step Functions will ignore these differences and treat it as an idempotent request of the previous. In this case, roleArn and tags will not be updated, even if they are different.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation CreateStateMachine for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* InvalidDefinition
The provided Amazon States Language definition is invalid.

* InvalidName
The provided name is invalid.

* InvalidLoggingConfiguration

* InvalidTracingConfiguration
Your tracingConfiguration key does not match, or enabled has not been set
to true or false.

* StateMachineAlreadyExists
A state machine with the same name but a different definition or role ARN
already exists.

* StateMachineDeleting
The specified state machine is being deleted.

* StateMachineLimitExceeded
The maximum number of state machines has been reached. Existing state machines
must be deleted before a new state machine can be created.

* StateMachineTypeNotSupported

* TooManyTags
You've exceeded the number of tags allowed for a resource. See the Limits
Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html)
in the AWS Step Functions Developer Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine

func (*SFN) CreateStateMachineRequest

func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *request.Request, output *CreateStateMachineOutput)

CreateStateMachineRequest generates a "aws/request.Request" representing the client's request for the CreateStateMachine operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStateMachine for more information on using the CreateStateMachine API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStateMachineRequest method.
req, resp := client.CreateStateMachineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine

func (*SFN) CreateStateMachineWithContext

func (c *SFN) CreateStateMachineWithContext(ctx aws.Context, input *CreateStateMachineInput, opts ...request.Option) (*CreateStateMachineOutput, error)

CreateStateMachineWithContext is the same as CreateStateMachine with the addition of the ability to pass a context and additional request options.

See CreateStateMachine for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) DeleteActivity

func (c *SFN) DeleteActivity(input *DeleteActivityInput) (*DeleteActivityOutput, error)

DeleteActivity API operation for AWS Step Functions.

Deletes an activity.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation DeleteActivity for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity

func (*SFN) DeleteActivityRequest

func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Request, output *DeleteActivityOutput)

DeleteActivityRequest generates a "aws/request.Request" representing the client's request for the DeleteActivity operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteActivity for more information on using the DeleteActivity API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteActivityRequest method.
req, resp := client.DeleteActivityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity

func (*SFN) DeleteActivityWithContext

func (c *SFN) DeleteActivityWithContext(ctx aws.Context, input *DeleteActivityInput, opts ...request.Option) (*DeleteActivityOutput, error)

DeleteActivityWithContext is the same as DeleteActivity with the addition of the ability to pass a context and additional request options.

See DeleteActivity for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) DeleteStateMachine

func (c *SFN) DeleteStateMachine(input *DeleteStateMachineInput) (*DeleteStateMachineOutput, error)

DeleteStateMachine API operation for AWS Step Functions.

Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process.

For EXPRESSstate machines, the deletion will happen eventually (usually less than a minute). Running executions may emit logs after DeleteStateMachine API is called.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation DeleteStateMachine for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine

func (*SFN) DeleteStateMachineRequest

func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *request.Request, output *DeleteStateMachineOutput)

DeleteStateMachineRequest generates a "aws/request.Request" representing the client's request for the DeleteStateMachine operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteStateMachine for more information on using the DeleteStateMachine API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteStateMachineRequest method.
req, resp := client.DeleteStateMachineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine

func (*SFN) DeleteStateMachineWithContext

func (c *SFN) DeleteStateMachineWithContext(ctx aws.Context, input *DeleteStateMachineInput, opts ...request.Option) (*DeleteStateMachineOutput, error)

DeleteStateMachineWithContext is the same as DeleteStateMachine with the addition of the ability to pass a context and additional request options.

See DeleteStateMachine for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) DescribeActivity

func (c *SFN) DescribeActivity(input *DescribeActivityInput) (*DescribeActivityOutput, error)

DescribeActivity API operation for AWS Step Functions.

Describes an activity.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation DescribeActivity for usage and error information.

Returned Error Types:

* ActivityDoesNotExist
The specified activity does not exist.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity

func (*SFN) DescribeActivityRequest

func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *request.Request, output *DescribeActivityOutput)

DescribeActivityRequest generates a "aws/request.Request" representing the client's request for the DescribeActivity operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeActivity for more information on using the DescribeActivity API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeActivityRequest method.
req, resp := client.DescribeActivityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity

func (*SFN) DescribeActivityWithContext

func (c *SFN) DescribeActivityWithContext(ctx aws.Context, input *DescribeActivityInput, opts ...request.Option) (*DescribeActivityOutput, error)

DescribeActivityWithContext is the same as DescribeActivity with the addition of the ability to pass a context and additional request options.

See DescribeActivity for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) DescribeExecution

func (c *SFN) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error)

DescribeExecution API operation for AWS Step Functions.

Describes an execution.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

This API action is not supported by EXPRESS state machines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation DescribeExecution for usage and error information.

Returned Error Types:

* ExecutionDoesNotExist
The specified execution does not exist.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution

func (*SFN) DescribeExecutionRequest

func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *request.Request, output *DescribeExecutionOutput)

DescribeExecutionRequest generates a "aws/request.Request" representing the client's request for the DescribeExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeExecution for more information on using the DescribeExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeExecutionRequest method.
req, resp := client.DescribeExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution

func (*SFN) DescribeExecutionWithContext

func (c *SFN) DescribeExecutionWithContext(ctx aws.Context, input *DescribeExecutionInput, opts ...request.Option) (*DescribeExecutionOutput, error)

DescribeExecutionWithContext is the same as DescribeExecution with the addition of the ability to pass a context and additional request options.

See DescribeExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) DescribeStateMachine

func (c *SFN) DescribeStateMachine(input *DescribeStateMachineInput) (*DescribeStateMachineOutput, error)

DescribeStateMachine API operation for AWS Step Functions.

Describes a state machine.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation DescribeStateMachine for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* StateMachineDoesNotExist
The specified state machine does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine

func (*SFN) DescribeStateMachineForExecution

func (c *SFN) DescribeStateMachineForExecution(input *DescribeStateMachineForExecutionInput) (*DescribeStateMachineForExecutionOutput, error)

DescribeStateMachineForExecution API operation for AWS Step Functions.

Describes the state machine associated with a specific execution.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

This API action is not supported by EXPRESS state machines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation DescribeStateMachineForExecution for usage and error information.

Returned Error Types:

* ExecutionDoesNotExist
The specified execution does not exist.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution

func (*SFN) DescribeStateMachineForExecutionRequest

func (c *SFN) DescribeStateMachineForExecutionRequest(input *DescribeStateMachineForExecutionInput) (req *request.Request, output *DescribeStateMachineForExecutionOutput)

DescribeStateMachineForExecutionRequest generates a "aws/request.Request" representing the client's request for the DescribeStateMachineForExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStateMachineForExecution for more information on using the DescribeStateMachineForExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStateMachineForExecutionRequest method.
req, resp := client.DescribeStateMachineForExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution

func (*SFN) DescribeStateMachineForExecutionWithContext

func (c *SFN) DescribeStateMachineForExecutionWithContext(ctx aws.Context, input *DescribeStateMachineForExecutionInput, opts ...request.Option) (*DescribeStateMachineForExecutionOutput, error)

DescribeStateMachineForExecutionWithContext is the same as DescribeStateMachineForExecution with the addition of the ability to pass a context and additional request options.

See DescribeStateMachineForExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) DescribeStateMachineRequest

func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req *request.Request, output *DescribeStateMachineOutput)

DescribeStateMachineRequest generates a "aws/request.Request" representing the client's request for the DescribeStateMachine operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStateMachine for more information on using the DescribeStateMachine API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStateMachineRequest method.
req, resp := client.DescribeStateMachineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine

func (*SFN) DescribeStateMachineWithContext

func (c *SFN) DescribeStateMachineWithContext(ctx aws.Context, input *DescribeStateMachineInput, opts ...request.Option) (*DescribeStateMachineOutput, error)

DescribeStateMachineWithContext is the same as DescribeStateMachine with the addition of the ability to pass a context and additional request options.

See DescribeStateMachine for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) GetActivityTask

func (c *SFN) GetActivityTask(input *GetActivityTaskInput) (*GetActivityTaskOutput, error)

GetActivityTask API operation for AWS Step Functions.

Used by workers to retrieve a task (with the specified activity ARN) which has been scheduled for execution by a running state machine. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available (i.e. an execution of a task of this type is needed.) The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll returns a taskToken with a null string.

Workers should set their client side socket timeout to at least 65 seconds (5 seconds higher than the maximum time the service may hold the poll request).

Polling with GetActivityTask can cause latency in some implementations. See Avoid Latency When Polling for Activity Tasks (https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html) in the Step Functions Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation GetActivityTask for usage and error information.

Returned Error Types:

* ActivityDoesNotExist
The specified activity does not exist.

* ActivityWorkerLimitExceeded
The maximum number of workers concurrently polling for activity tasks has
been reached.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask

func (*SFN) GetActivityTaskRequest

func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request.Request, output *GetActivityTaskOutput)

GetActivityTaskRequest generates a "aws/request.Request" representing the client's request for the GetActivityTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetActivityTask for more information on using the GetActivityTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetActivityTaskRequest method.
req, resp := client.GetActivityTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask

func (*SFN) GetActivityTaskWithContext

func (c *SFN) GetActivityTaskWithContext(ctx aws.Context, input *GetActivityTaskInput, opts ...request.Option) (*GetActivityTaskOutput, error)

GetActivityTaskWithContext is the same as GetActivityTask with the addition of the ability to pass a context and additional request options.

See GetActivityTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) GetExecutionHistory

func (c *SFN) GetExecutionHistory(input *GetExecutionHistoryInput) (*GetExecutionHistoryOutput, error)

GetExecutionHistory API operation for AWS Step Functions.

Returns the history of the specified execution as a list of events. By default, the results are returned in ascending order of the timeStamp of the events. Use the reverseOrder parameter to get the latest events first.

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.

This API action is not supported by EXPRESS state machines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation GetExecutionHistory for usage and error information.

Returned Error Types:

* ExecutionDoesNotExist
The specified execution does not exist.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* InvalidToken
The provided token is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory

func (*SFN) GetExecutionHistoryPages

func (c *SFN) GetExecutionHistoryPages(input *GetExecutionHistoryInput, fn func(*GetExecutionHistoryOutput, bool) bool) error

GetExecutionHistoryPages iterates over the pages of a GetExecutionHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetExecutionHistory method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetExecutionHistory operation.
pageNum := 0
err := client.GetExecutionHistoryPages(params,
    func(page *sfn.GetExecutionHistoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SFN) GetExecutionHistoryPagesWithContext

func (c *SFN) GetExecutionHistoryPagesWithContext(ctx aws.Context, input *GetExecutionHistoryInput, fn func(*GetExecutionHistoryOutput, bool) bool, opts ...request.Option) error

GetExecutionHistoryPagesWithContext same as GetExecutionHistoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) GetExecutionHistoryRequest

func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req *request.Request, output *GetExecutionHistoryOutput)

GetExecutionHistoryRequest generates a "aws/request.Request" representing the client's request for the GetExecutionHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetExecutionHistory for more information on using the GetExecutionHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetExecutionHistoryRequest method.
req, resp := client.GetExecutionHistoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory

func (*SFN) GetExecutionHistoryWithContext

func (c *SFN) GetExecutionHistoryWithContext(ctx aws.Context, input *GetExecutionHistoryInput, opts ...request.Option) (*GetExecutionHistoryOutput, error)

GetExecutionHistoryWithContext is the same as GetExecutionHistory with the addition of the ability to pass a context and additional request options.

See GetExecutionHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListActivities

func (c *SFN) ListActivities(input *ListActivitiesInput) (*ListActivitiesOutput, error)

ListActivities API operation for AWS Step Functions.

Lists the existing activities.

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.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation ListActivities for usage and error information.

Returned Error Types:

* InvalidToken
The provided token is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities

func (*SFN) ListActivitiesPages

func (c *SFN) ListActivitiesPages(input *ListActivitiesInput, fn func(*ListActivitiesOutput, bool) bool) error

ListActivitiesPages iterates over the pages of a ListActivities operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListActivities method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListActivities operation.
pageNum := 0
err := client.ListActivitiesPages(params,
    func(page *sfn.ListActivitiesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SFN) ListActivitiesPagesWithContext

func (c *SFN) ListActivitiesPagesWithContext(ctx aws.Context, input *ListActivitiesInput, fn func(*ListActivitiesOutput, bool) bool, opts ...request.Option) error

ListActivitiesPagesWithContext same as ListActivitiesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListActivitiesRequest

func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Request, output *ListActivitiesOutput)

ListActivitiesRequest generates a "aws/request.Request" representing the client's request for the ListActivities operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListActivities for more information on using the ListActivities API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListActivitiesRequest method.
req, resp := client.ListActivitiesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities

func (*SFN) ListActivitiesWithContext

func (c *SFN) ListActivitiesWithContext(ctx aws.Context, input *ListActivitiesInput, opts ...request.Option) (*ListActivitiesOutput, error)

ListActivitiesWithContext is the same as ListActivities with the addition of the ability to pass a context and additional request options.

See ListActivities for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListExecutions

func (c *SFN) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error)

ListExecutions API operation for AWS Step Functions.

Lists the executions of a state machine that meet the filtering criteria. Results are sorted by time, with the most recent execution first.

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.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

This API action is not supported by EXPRESS state machines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation ListExecutions for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* InvalidToken
The provided token is invalid.

* StateMachineDoesNotExist
The specified state machine does not exist.

* StateMachineTypeNotSupported

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions

func (*SFN) ListExecutionsPages

func (c *SFN) ListExecutionsPages(input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool) error

ListExecutionsPages iterates over the pages of a ListExecutions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListExecutions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListExecutions operation.
pageNum := 0
err := client.ListExecutionsPages(params,
    func(page *sfn.ListExecutionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SFN) ListExecutionsPagesWithContext

func (c *SFN) ListExecutionsPagesWithContext(ctx aws.Context, input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool, opts ...request.Option) error

ListExecutionsPagesWithContext same as ListExecutionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListExecutionsRequest

func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Request, output *ListExecutionsOutput)

ListExecutionsRequest generates a "aws/request.Request" representing the client's request for the ListExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListExecutions for more information on using the ListExecutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListExecutionsRequest method.
req, resp := client.ListExecutionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions

func (*SFN) ListExecutionsWithContext

func (c *SFN) ListExecutionsWithContext(ctx aws.Context, input *ListExecutionsInput, opts ...request.Option) (*ListExecutionsOutput, error)

ListExecutionsWithContext is the same as ListExecutions with the addition of the ability to pass a context and additional request options.

See ListExecutions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListStateMachines

func (c *SFN) ListStateMachines(input *ListStateMachinesInput) (*ListStateMachinesOutput, error)

ListStateMachines API operation for AWS Step Functions.

Lists the existing state machines.

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.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation ListStateMachines for usage and error information.

Returned Error Types:

* InvalidToken
The provided token is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines

func (*SFN) ListStateMachinesPages

func (c *SFN) ListStateMachinesPages(input *ListStateMachinesInput, fn func(*ListStateMachinesOutput, bool) bool) error

ListStateMachinesPages iterates over the pages of a ListStateMachines operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListStateMachines method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListStateMachines operation.
pageNum := 0
err := client.ListStateMachinesPages(params,
    func(page *sfn.ListStateMachinesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SFN) ListStateMachinesPagesWithContext

func (c *SFN) ListStateMachinesPagesWithContext(ctx aws.Context, input *ListStateMachinesInput, fn func(*ListStateMachinesOutput, bool) bool, opts ...request.Option) error

ListStateMachinesPagesWithContext same as ListStateMachinesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListStateMachinesRequest

func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *request.Request, output *ListStateMachinesOutput)

ListStateMachinesRequest generates a "aws/request.Request" representing the client's request for the ListStateMachines operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStateMachines for more information on using the ListStateMachines API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStateMachinesRequest method.
req, resp := client.ListStateMachinesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines

func (*SFN) ListStateMachinesWithContext

func (c *SFN) ListStateMachinesWithContext(ctx aws.Context, input *ListStateMachinesInput, opts ...request.Option) (*ListStateMachinesOutput, error)

ListStateMachinesWithContext is the same as ListStateMachines with the addition of the ability to pass a context and additional request options.

See ListStateMachines for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) ListTagsForResource

func (c *SFN) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Step Functions.

List tags for a given resource.

Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation ListTagsForResource for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* ResourceNotFound
Could not find the referenced resource. Only state machine and activity ARNs
are supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResource

func (*SFN) ListTagsForResourceRequest

func (c *SFN) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResource

func (*SFN) ListTagsForResourceWithContext

func (c *SFN) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) SendTaskFailure

func (c *SFN) SendTaskFailure(input *SendTaskFailureInput) (*SendTaskFailureOutput, error)

SendTaskFailure API operation for AWS Step Functions.

Used by activity workers and task states using the callback (https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token) pattern to report that the task identified by the taskToken failed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation SendTaskFailure for usage and error information.

Returned Error Types:

* TaskDoesNotExist

* InvalidToken
The provided token is invalid.

* TaskTimedOut

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure

func (*SFN) SendTaskFailureRequest

func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request.Request, output *SendTaskFailureOutput)

SendTaskFailureRequest generates a "aws/request.Request" representing the client's request for the SendTaskFailure operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendTaskFailure for more information on using the SendTaskFailure API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendTaskFailureRequest method.
req, resp := client.SendTaskFailureRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure

func (*SFN) SendTaskFailureWithContext

func (c *SFN) SendTaskFailureWithContext(ctx aws.Context, input *SendTaskFailureInput, opts ...request.Option) (*SendTaskFailureOutput, error)

SendTaskFailureWithContext is the same as SendTaskFailure with the addition of the ability to pass a context and additional request options.

See SendTaskFailure for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) SendTaskHeartbeat

func (c *SFN) SendTaskHeartbeat(input *SendTaskHeartbeatInput) (*SendTaskHeartbeatOutput, error)

SendTaskHeartbeat API operation for AWS Step Functions.

Used by activity workers and task states using the callback (https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token) pattern to report to Step Functions that the task represented by the specified taskToken is still making progress. This action resets the Heartbeat clock. The Heartbeat threshold is specified in the state machine's Amazon States Language definition (HeartbeatSeconds). This action does not in itself create an event in the execution history. However, if the task times out, the execution history contains an ActivityTimedOut entry for activities, or a TaskTimedOut entry for for tasks using the job run (https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-sync) or callback (https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token) pattern.

The Timeout of a task, defined in the state machine's Amazon States Language definition, is its maximum allowed duration, regardless of the number of SendTaskHeartbeat requests received. Use HeartbeatSeconds to configure the timeout interval for heartbeats.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation SendTaskHeartbeat for usage and error information.

Returned Error Types:

* TaskDoesNotExist

* InvalidToken
The provided token is invalid.

* TaskTimedOut

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat

func (*SFN) SendTaskHeartbeatRequest

func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *request.Request, output *SendTaskHeartbeatOutput)

SendTaskHeartbeatRequest generates a "aws/request.Request" representing the client's request for the SendTaskHeartbeat operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendTaskHeartbeat for more information on using the SendTaskHeartbeat API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendTaskHeartbeatRequest method.
req, resp := client.SendTaskHeartbeatRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat

func (*SFN) SendTaskHeartbeatWithContext

func (c *SFN) SendTaskHeartbeatWithContext(ctx aws.Context, input *SendTaskHeartbeatInput, opts ...request.Option) (*SendTaskHeartbeatOutput, error)

SendTaskHeartbeatWithContext is the same as SendTaskHeartbeat with the addition of the ability to pass a context and additional request options.

See SendTaskHeartbeat for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) SendTaskSuccess

func (c *SFN) SendTaskSuccess(input *SendTaskSuccessInput) (*SendTaskSuccessOutput, error)

SendTaskSuccess API operation for AWS Step Functions.

Used by activity workers and task states using the callback (https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token) pattern to report that the task identified by the taskToken completed successfully.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation SendTaskSuccess for usage and error information.

Returned Error Types:

* TaskDoesNotExist

* InvalidOutput
The provided JSON output data is invalid.

* InvalidToken
The provided token is invalid.

* TaskTimedOut

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess

func (*SFN) SendTaskSuccessRequest

func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request.Request, output *SendTaskSuccessOutput)

SendTaskSuccessRequest generates a "aws/request.Request" representing the client's request for the SendTaskSuccess operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendTaskSuccess for more information on using the SendTaskSuccess API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendTaskSuccessRequest method.
req, resp := client.SendTaskSuccessRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess

func (*SFN) SendTaskSuccessWithContext

func (c *SFN) SendTaskSuccessWithContext(ctx aws.Context, input *SendTaskSuccessInput, opts ...request.Option) (*SendTaskSuccessOutput, error)

SendTaskSuccessWithContext is the same as SendTaskSuccess with the addition of the ability to pass a context and additional request options.

See SendTaskSuccess for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) StartExecution

func (c *SFN) StartExecution(input *StartExecutionInput) (*StartExecutionOutput, error)

StartExecution API operation for AWS Step Functions.

Starts a state machine execution.

StartExecution is idempotent. If StartExecution is called with the same name and input as a running execution, the call will succeed and return the same response as the original request. If the execution is closed or if the input is different, it will return a 400 ExecutionAlreadyExists error. Names can be reused after 90 days.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation StartExecution for usage and error information.

Returned Error Types:

* ExecutionLimitExceeded
The maximum number of running executions has been reached. Running executions
must end or be stopped before a new execution can be started.

* ExecutionAlreadyExists
The execution has the same name as another execution (but a different input).

Executions with the same name and input are considered idempotent.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* InvalidExecutionInput
The provided JSON input data is invalid.

* InvalidName
The provided name is invalid.

* StateMachineDoesNotExist
The specified state machine does not exist.

* StateMachineDeleting
The specified state machine is being deleted.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution

func (*SFN) StartExecutionRequest

func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Request, output *StartExecutionOutput)

StartExecutionRequest generates a "aws/request.Request" representing the client's request for the StartExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartExecution for more information on using the StartExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartExecutionRequest method.
req, resp := client.StartExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution

func (*SFN) StartExecutionWithContext

func (c *SFN) StartExecutionWithContext(ctx aws.Context, input *StartExecutionInput, opts ...request.Option) (*StartExecutionOutput, error)

StartExecutionWithContext is the same as StartExecution with the addition of the ability to pass a context and additional request options.

See StartExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) StopExecution

func (c *SFN) StopExecution(input *StopExecutionInput) (*StopExecutionOutput, error)

StopExecution API operation for AWS Step Functions.

Stops an execution.

This API action is not supported by EXPRESS state machines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation StopExecution for usage and error information.

Returned Error Types:

* ExecutionDoesNotExist
The specified execution does not exist.

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution

func (*SFN) StopExecutionRequest

func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Request, output *StopExecutionOutput)

StopExecutionRequest generates a "aws/request.Request" representing the client's request for the StopExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopExecution for more information on using the StopExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopExecutionRequest method.
req, resp := client.StopExecutionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution

func (*SFN) StopExecutionWithContext

func (c *SFN) StopExecutionWithContext(ctx aws.Context, input *StopExecutionInput, opts ...request.Option) (*StopExecutionOutput, error)

StopExecutionWithContext is the same as StopExecution with the addition of the ability to pass a context and additional request options.

See StopExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) TagResource

func (c *SFN) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Step Functions.

Add a tag to a Step Functions resource.

An array of key-value pairs. For more information, see Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html).

Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation TagResource for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* ResourceNotFound
Could not find the referenced resource. Only state machine and activity ARNs
are supported.

* TooManyTags
You've exceeded the number of tags allowed for a resource. See the Limits
Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html)
in the AWS Step Functions Developer Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResource

func (*SFN) TagResourceRequest

func (c *SFN) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResource

func (*SFN) TagResourceWithContext

func (c *SFN) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) UntagResource

func (c *SFN) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Step Functions.

Remove a tag from a Step Functions resource

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation UntagResource for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* ResourceNotFound
Could not find the referenced resource. Only state machine and activity ARNs
are supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResource

func (*SFN) UntagResourceRequest

func (c *SFN) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResource

func (*SFN) UntagResourceWithContext

func (c *SFN) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SFN) UpdateStateMachine

func (c *SFN) UpdateStateMachine(input *UpdateStateMachineInput) (*UpdateStateMachineOutput, error)

UpdateStateMachine API operation for AWS Step Functions.

Updates an existing state machine by modifying its definition, roleArn, or loggingConfiguration. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error.

All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Step Functions's API operation UpdateStateMachine for usage and error information.

Returned Error Types:

* InvalidArn
The provided Amazon Resource Name (ARN) is invalid.

* InvalidDefinition
The provided Amazon States Language definition is invalid.

* InvalidLoggingConfiguration

* InvalidTracingConfiguration
Your tracingConfiguration key does not match, or enabled has not been set
to true or false.

* MissingRequiredParameter
Request is missing a required parameter. This error occurs if both definition
and roleArn are not specified.

* StateMachineDeleting
The specified state machine is being deleted.

* StateMachineDoesNotExist
The specified state machine does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachine

func (*SFN) UpdateStateMachineRequest

func (c *SFN) UpdateStateMachineRequest(input *UpdateStateMachineInput) (req *request.Request, output *UpdateStateMachineOutput)

UpdateStateMachineRequest generates a "aws/request.Request" representing the client's request for the UpdateStateMachine operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStateMachine for more information on using the UpdateStateMachine API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStateMachineRequest method.
req, resp := client.UpdateStateMachineRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachine

func (*SFN) UpdateStateMachineWithContext

func (c *SFN) UpdateStateMachineWithContext(ctx aws.Context, input *UpdateStateMachineInput, opts ...request.Option) (*UpdateStateMachineOutput, error)

UpdateStateMachineWithContext is the same as UpdateStateMachine with the addition of the ability to pass a context and additional request options.

See UpdateStateMachine for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type SendTaskFailureInput

type SendTaskFailureInput struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`

    // The token that represents this task. Task tokens are generated by Step Functions
    // when tasks are assigned to a worker, or in the context object (https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html)
    // when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
    //
    // TaskToken is a required field
    TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (SendTaskFailureInput) GoString

func (s SendTaskFailureInput) GoString() string

GoString returns the string representation

func (*SendTaskFailureInput) SetCause

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

SetCause sets the Cause field's value.

func (*SendTaskFailureInput) SetError

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

SetError sets the Error field's value.

func (*SendTaskFailureInput) SetTaskToken

func (s *SendTaskFailureInput) SetTaskToken(v string) *SendTaskFailureInput

SetTaskToken sets the TaskToken field's value.

func (SendTaskFailureInput) String

func (s SendTaskFailureInput) String() string

String returns the string representation

func (*SendTaskFailureInput) Validate

func (s *SendTaskFailureInput) Validate() error

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

type SendTaskFailureOutput

type SendTaskFailureOutput struct {
    // contains filtered or unexported fields
}

func (SendTaskFailureOutput) GoString

func (s SendTaskFailureOutput) GoString() string

GoString returns the string representation

func (SendTaskFailureOutput) String

func (s SendTaskFailureOutput) String() string

String returns the string representation

type SendTaskHeartbeatInput

type SendTaskHeartbeatInput struct {

    // The token that represents this task. Task tokens are generated by Step Functions
    // when tasks are assigned to a worker, or in the context object (https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html)
    // when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
    //
    // TaskToken is a required field
    TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (SendTaskHeartbeatInput) GoString

func (s SendTaskHeartbeatInput) GoString() string

GoString returns the string representation

func (*SendTaskHeartbeatInput) SetTaskToken

func (s *SendTaskHeartbeatInput) SetTaskToken(v string) *SendTaskHeartbeatInput

SetTaskToken sets the TaskToken field's value.

func (SendTaskHeartbeatInput) String

func (s SendTaskHeartbeatInput) String() string

String returns the string representation

func (*SendTaskHeartbeatInput) Validate

func (s *SendTaskHeartbeatInput) Validate() error

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

type SendTaskHeartbeatOutput

type SendTaskHeartbeatOutput struct {
    // contains filtered or unexported fields
}

func (SendTaskHeartbeatOutput) GoString

func (s SendTaskHeartbeatOutput) GoString() string

GoString returns the string representation

func (SendTaskHeartbeatOutput) String

func (s SendTaskHeartbeatOutput) String() string

String returns the string representation

type SendTaskSuccessInput

type SendTaskSuccessInput struct {

    // The JSON output of the task. Length constraints apply to the payload size,
    // and are expressed as bytes in UTF-8 encoding.
    //
    // Output is a required field
    Output *string `locationName:"output" type:"string" required:"true" sensitive:"true"`

    // The token that represents this task. Task tokens are generated by Step Functions
    // when tasks are assigned to a worker, or in the context object (https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html)
    // when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
    //
    // TaskToken is a required field
    TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (SendTaskSuccessInput) GoString

func (s SendTaskSuccessInput) GoString() string

GoString returns the string representation

func (*SendTaskSuccessInput) SetOutput

func (s *SendTaskSuccessInput) SetOutput(v string) *SendTaskSuccessInput

SetOutput sets the Output field's value.

func (*SendTaskSuccessInput) SetTaskToken

func (s *SendTaskSuccessInput) SetTaskToken(v string) *SendTaskSuccessInput

SetTaskToken sets the TaskToken field's value.

func (SendTaskSuccessInput) String

func (s SendTaskSuccessInput) String() string

String returns the string representation

func (*SendTaskSuccessInput) Validate

func (s *SendTaskSuccessInput) Validate() error

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

type SendTaskSuccessOutput

type SendTaskSuccessOutput struct {
    // contains filtered or unexported fields
}

func (SendTaskSuccessOutput) GoString

func (s SendTaskSuccessOutput) GoString() string

GoString returns the string representation

func (SendTaskSuccessOutput) String

func (s SendTaskSuccessOutput) String() string

String returns the string representation

type StartExecutionInput

type StartExecutionInput struct {

    // 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": "{}"
    //
    // Length constraints apply to the payload size, and are expressed as bytes
    // in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // 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:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The Amazon Resource Name (ARN) of the state machine to execute.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // Passes the AWS X-Ray trace header. The trace header can also be passed in
    // the request payload.
    TraceHeader *string `locationName:"traceHeader" type:"string"`
    // contains filtered or unexported fields
}

func (StartExecutionInput) GoString

func (s StartExecutionInput) GoString() string

GoString returns the string representation

func (*StartExecutionInput) SetInput

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

SetInput sets the Input field's value.

func (*StartExecutionInput) SetName

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

SetName sets the Name field's value.

func (*StartExecutionInput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*StartExecutionInput) SetTraceHeader

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

SetTraceHeader sets the TraceHeader field's value.

func (StartExecutionInput) String

func (s StartExecutionInput) String() string

String returns the string representation

func (*StartExecutionInput) Validate

func (s *StartExecutionInput) Validate() error

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

type StartExecutionOutput

type StartExecutionOutput struct {

    // The Amazon Resource Name (ARN) that id entifies the execution.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`

    // The date the execution is started.
    //
    // StartDate is a required field
    StartDate *time.Time `locationName:"startDate" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

func (StartExecutionOutput) GoString

func (s StartExecutionOutput) GoString() string

GoString returns the string representation

func (*StartExecutionOutput) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (*StartExecutionOutput) SetStartDate

func (s *StartExecutionOutput) SetStartDate(v time.Time) *StartExecutionOutput

SetStartDate sets the StartDate field's value.

func (StartExecutionOutput) String

func (s StartExecutionOutput) String() string

String returns the string representation

type StateEnteredEventDetails

type StateEnteredEventDetails struct {

    // The string that contains the JSON input data for the state. Length constraints
    // apply to the payload size, and are expressed as bytes in UTF-8 encoding.
    Input *string `locationName:"input" type:"string" sensitive:"true"`

    // Contains details about the input for an execution history event.
    InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"`

    // The name of the state.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a state entered during an execution.

func (StateEnteredEventDetails) GoString

func (s StateEnteredEventDetails) GoString() string

GoString returns the string representation

func (*StateEnteredEventDetails) SetInput

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

SetInput sets the Input field's value.

func (*StateEnteredEventDetails) SetInputDetails

func (s *StateEnteredEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *StateEnteredEventDetails

SetInputDetails sets the InputDetails field's value.

func (*StateEnteredEventDetails) SetName

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

SetName sets the Name field's value.

func (StateEnteredEventDetails) String

func (s StateEnteredEventDetails) String() string

String returns the string representation

type StateExitedEventDetails

type StateExitedEventDetails struct {

    // The name of the state.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The JSON output data of the state. Length constraints apply to the payload
    // size, and are expressed as bytes in UTF-8 encoding.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Contains details about the output of an execution history event.
    OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"`
    // contains filtered or unexported fields
}

Contains details about an exit from a state during an execution.

func (StateExitedEventDetails) GoString

func (s StateExitedEventDetails) GoString() string

GoString returns the string representation

func (*StateExitedEventDetails) SetName

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

SetName sets the Name field's value.

func (*StateExitedEventDetails) SetOutput

func (s *StateExitedEventDetails) SetOutput(v string) *StateExitedEventDetails

SetOutput sets the Output field's value.

func (*StateExitedEventDetails) SetOutputDetails

func (s *StateExitedEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *StateExitedEventDetails

SetOutputDetails sets the OutputDetails field's value.

func (StateExitedEventDetails) String

func (s StateExitedEventDetails) String() string

String returns the string representation

type StateMachineAlreadyExists

type StateMachineAlreadyExists struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

A state machine with the same name but a different definition or role ARN already exists.

func (*StateMachineAlreadyExists) Code

func (s *StateMachineAlreadyExists) Code() string

Code returns the exception type name.

func (*StateMachineAlreadyExists) Error

func (s *StateMachineAlreadyExists) Error() string

func (StateMachineAlreadyExists) GoString

func (s StateMachineAlreadyExists) GoString() string

GoString returns the string representation

func (*StateMachineAlreadyExists) Message

func (s *StateMachineAlreadyExists) Message() string

Message returns the exception's message.

func (*StateMachineAlreadyExists) OrigErr

func (s *StateMachineAlreadyExists) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*StateMachineAlreadyExists) RequestID

func (s *StateMachineAlreadyExists) RequestID() string

RequestID returns the service's response RequestID for request.

func (*StateMachineAlreadyExists) StatusCode

func (s *StateMachineAlreadyExists) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (StateMachineAlreadyExists) String

func (s StateMachineAlreadyExists) String() string

String returns the string representation

type StateMachineDeleting

type StateMachineDeleting struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified state machine is being deleted.

func (*StateMachineDeleting) Code

func (s *StateMachineDeleting) Code() string

Code returns the exception type name.

func (*StateMachineDeleting) Error

func (s *StateMachineDeleting) Error() string

func (StateMachineDeleting) GoString

func (s StateMachineDeleting) GoString() string

GoString returns the string representation

func (*StateMachineDeleting) Message

func (s *StateMachineDeleting) Message() string

Message returns the exception's message.

func (*StateMachineDeleting) OrigErr

func (s *StateMachineDeleting) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*StateMachineDeleting) RequestID

func (s *StateMachineDeleting) RequestID() string

RequestID returns the service's response RequestID for request.

func (*StateMachineDeleting) StatusCode

func (s *StateMachineDeleting) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (StateMachineDeleting) String

func (s StateMachineDeleting) String() string

String returns the string representation

type StateMachineDoesNotExist

type StateMachineDoesNotExist struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified state machine does not exist.

func (*StateMachineDoesNotExist) Code

func (s *StateMachineDoesNotExist) Code() string

Code returns the exception type name.

func (*StateMachineDoesNotExist) Error

func (s *StateMachineDoesNotExist) Error() string

func (StateMachineDoesNotExist) GoString

func (s StateMachineDoesNotExist) GoString() string

GoString returns the string representation

func (*StateMachineDoesNotExist) Message

func (s *StateMachineDoesNotExist) Message() string

Message returns the exception's message.

func (*StateMachineDoesNotExist) OrigErr

func (s *StateMachineDoesNotExist) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*StateMachineDoesNotExist) RequestID

func (s *StateMachineDoesNotExist) RequestID() string

RequestID returns the service's response RequestID for request.

func (*StateMachineDoesNotExist) StatusCode

func (s *StateMachineDoesNotExist) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (StateMachineDoesNotExist) String

func (s StateMachineDoesNotExist) String() string

String returns the string representation

type StateMachineLimitExceeded

type StateMachineLimitExceeded struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The maximum number of state machines has been reached. Existing state machines must be deleted before a new state machine can be created.

func (*StateMachineLimitExceeded) Code

func (s *StateMachineLimitExceeded) Code() string

Code returns the exception type name.

func (*StateMachineLimitExceeded) Error

func (s *StateMachineLimitExceeded) Error() string

func (StateMachineLimitExceeded) GoString

func (s StateMachineLimitExceeded) GoString() string

GoString returns the string representation

func (*StateMachineLimitExceeded) Message

func (s *StateMachineLimitExceeded) Message() string

Message returns the exception's message.

func (*StateMachineLimitExceeded) OrigErr

func (s *StateMachineLimitExceeded) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*StateMachineLimitExceeded) RequestID

func (s *StateMachineLimitExceeded) RequestID() string

RequestID returns the service's response RequestID for request.

func (*StateMachineLimitExceeded) StatusCode

func (s *StateMachineLimitExceeded) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (StateMachineLimitExceeded) String

func (s StateMachineLimitExceeded) String() string

String returns the string representation

type StateMachineListItem

type StateMachineListItem struct {

    // The date the state machine is created.
    //
    // CreationDate is a required field
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

    // The name of the state machine.
    //
    // A name must not contain:
    //
    //    * white space
    //
    //    * brackets < > { } [ ]
    //
    //    * wildcard characters ? *
    //
    //    * special characters " # % \ ^ | ~ ` $ & , ; : /
    //
    //    * control characters (U+0000-001F, U+007F-009F)
    //
    // To enable logging with CloudWatch Logs, the name should only contain 0-9,
    // A-Z, a-z, - and _.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) that identifies the state machine.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"StateMachineType"`
    // contains filtered or unexported fields
}

Contains details about the state machine.

func (StateMachineListItem) GoString

func (s StateMachineListItem) GoString() string

GoString returns the string representation

func (*StateMachineListItem) SetCreationDate

func (s *StateMachineListItem) SetCreationDate(v time.Time) *StateMachineListItem

SetCreationDate sets the CreationDate field's value.

func (*StateMachineListItem) SetName

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

SetName sets the Name field's value.

func (*StateMachineListItem) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*StateMachineListItem) SetType

func (s *StateMachineListItem) SetType(v string) *StateMachineListItem

SetType sets the Type field's value.

func (StateMachineListItem) String

func (s StateMachineListItem) String() string

String returns the string representation

type StateMachineTypeNotSupported

type StateMachineTypeNotSupported struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

func (*StateMachineTypeNotSupported) Code

func (s *StateMachineTypeNotSupported) Code() string

Code returns the exception type name.

func (*StateMachineTypeNotSupported) Error

func (s *StateMachineTypeNotSupported) Error() string

func (StateMachineTypeNotSupported) GoString

func (s StateMachineTypeNotSupported) GoString() string

GoString returns the string representation

func (*StateMachineTypeNotSupported) Message

func (s *StateMachineTypeNotSupported) Message() string

Message returns the exception's message.

func (*StateMachineTypeNotSupported) OrigErr

func (s *StateMachineTypeNotSupported) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*StateMachineTypeNotSupported) RequestID

func (s *StateMachineTypeNotSupported) RequestID() string

RequestID returns the service's response RequestID for request.

func (*StateMachineTypeNotSupported) StatusCode

func (s *StateMachineTypeNotSupported) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (StateMachineTypeNotSupported) String

func (s StateMachineTypeNotSupported) String() string

String returns the string representation

type StopExecutionInput

type StopExecutionInput struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`

    // The Amazon Resource Name (ARN) of the execution to stop.
    //
    // ExecutionArn is a required field
    ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (StopExecutionInput) GoString

func (s StopExecutionInput) GoString() string

GoString returns the string representation

func (*StopExecutionInput) SetCause

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

SetCause sets the Cause field's value.

func (*StopExecutionInput) SetError

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

SetError sets the Error field's value.

func (*StopExecutionInput) SetExecutionArn

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

SetExecutionArn sets the ExecutionArn field's value.

func (StopExecutionInput) String

func (s StopExecutionInput) String() string

String returns the string representation

func (*StopExecutionInput) Validate

func (s *StopExecutionInput) Validate() error

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

type StopExecutionOutput

type StopExecutionOutput struct {

    // The date the execution is stopped.
    //
    // StopDate is a required field
    StopDate *time.Time `locationName:"stopDate" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

func (StopExecutionOutput) GoString

func (s StopExecutionOutput) GoString() string

GoString returns the string representation

func (*StopExecutionOutput) SetStopDate

func (s *StopExecutionOutput) SetStopDate(v time.Time) *StopExecutionOutput

SetStopDate sets the StopDate field's value.

func (StopExecutionOutput) String

func (s StopExecutionOutput) String() string

String returns the string representation

type Tag

type Tag struct {

    // The key of a tag.
    Key *string `locationName:"key" min:"1" type:"string"`

    // The value of a tag.
    Value *string `locationName:"value" type:"string"`
    // contains filtered or unexported fields
}

Tags are key-value pairs that can be associated with Step Functions state machines and activities.

An array of key-value pairs. For more information, see Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html).

Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

    // The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`

    // The list of tags to add to a resource.
    //
    // Tags may only contain Unicode letters, digits, white space, or these symbols:
    // _ . : / = + - @.
    //
    // Tags is a required field
    Tags []*Tag `locationName:"tags" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TaskDoesNotExist

type TaskDoesNotExist struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

func (*TaskDoesNotExist) Code

func (s *TaskDoesNotExist) Code() string

Code returns the exception type name.

func (*TaskDoesNotExist) Error

func (s *TaskDoesNotExist) Error() string

func (TaskDoesNotExist) GoString

func (s TaskDoesNotExist) GoString() string

GoString returns the string representation

func (*TaskDoesNotExist) Message

func (s *TaskDoesNotExist) Message() string

Message returns the exception's message.

func (*TaskDoesNotExist) OrigErr

func (s *TaskDoesNotExist) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TaskDoesNotExist) RequestID

func (s *TaskDoesNotExist) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TaskDoesNotExist) StatusCode

func (s *TaskDoesNotExist) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TaskDoesNotExist) String

func (s TaskDoesNotExist) String() string

String returns the string representation

type TaskFailedEventDetails

type TaskFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a task failure event.

func (TaskFailedEventDetails) GoString

func (s TaskFailedEventDetails) GoString() string

GoString returns the string representation

func (*TaskFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*TaskFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (*TaskFailedEventDetails) SetResource

func (s *TaskFailedEventDetails) SetResource(v string) *TaskFailedEventDetails

SetResource sets the Resource field's value.

func (*TaskFailedEventDetails) SetResourceType

func (s *TaskFailedEventDetails) SetResourceType(v string) *TaskFailedEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskFailedEventDetails) String

func (s TaskFailedEventDetails) String() string

String returns the string representation

type TaskScheduledEventDetails

type TaskScheduledEventDetails struct {

    // The maximum allowed duration between two heartbeats for the task.
    HeartbeatInSeconds *int64 `locationName:"heartbeatInSeconds" type:"long"`

    // The JSON data passed to the resource referenced in a task state. Length constraints
    // apply to the payload size, and are expressed as bytes in UTF-8 encoding.
    //
    // Parameters is a required field
    Parameters *string `locationName:"parameters" type:"string" required:"true" sensitive:"true"`

    // The region of the scheduled task
    //
    // Region is a required field
    Region *string `locationName:"region" min:"1" type:"string" required:"true"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`

    // The maximum allowed duration of the task.
    TimeoutInSeconds *int64 `locationName:"timeoutInSeconds" type:"long"`
    // contains filtered or unexported fields
}

Contains details about a task scheduled during an execution.

func (TaskScheduledEventDetails) GoString

func (s TaskScheduledEventDetails) GoString() string

GoString returns the string representation

func (*TaskScheduledEventDetails) SetHeartbeatInSeconds

func (s *TaskScheduledEventDetails) SetHeartbeatInSeconds(v int64) *TaskScheduledEventDetails

SetHeartbeatInSeconds sets the HeartbeatInSeconds field's value.

func (*TaskScheduledEventDetails) SetParameters

func (s *TaskScheduledEventDetails) SetParameters(v string) *TaskScheduledEventDetails

SetParameters sets the Parameters field's value.

func (*TaskScheduledEventDetails) SetRegion

func (s *TaskScheduledEventDetails) SetRegion(v string) *TaskScheduledEventDetails

SetRegion sets the Region field's value.

func (*TaskScheduledEventDetails) SetResource

func (s *TaskScheduledEventDetails) SetResource(v string) *TaskScheduledEventDetails

SetResource sets the Resource field's value.

func (*TaskScheduledEventDetails) SetResourceType

func (s *TaskScheduledEventDetails) SetResourceType(v string) *TaskScheduledEventDetails

SetResourceType sets the ResourceType field's value.

func (*TaskScheduledEventDetails) SetTimeoutInSeconds

func (s *TaskScheduledEventDetails) SetTimeoutInSeconds(v int64) *TaskScheduledEventDetails

SetTimeoutInSeconds sets the TimeoutInSeconds field's value.

func (TaskScheduledEventDetails) String

func (s TaskScheduledEventDetails) String() string

String returns the string representation

type TaskStartFailedEventDetails

type TaskStartFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a task that failed to start during an execution.

func (TaskStartFailedEventDetails) GoString

func (s TaskStartFailedEventDetails) GoString() string

GoString returns the string representation

func (*TaskStartFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*TaskStartFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (*TaskStartFailedEventDetails) SetResource

func (s *TaskStartFailedEventDetails) SetResource(v string) *TaskStartFailedEventDetails

SetResource sets the Resource field's value.

func (*TaskStartFailedEventDetails) SetResourceType

func (s *TaskStartFailedEventDetails) SetResourceType(v string) *TaskStartFailedEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskStartFailedEventDetails) String

func (s TaskStartFailedEventDetails) String() string

String returns the string representation

type TaskStartedEventDetails

type TaskStartedEventDetails struct {

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about the start of a task during an execution.

func (TaskStartedEventDetails) GoString

func (s TaskStartedEventDetails) GoString() string

GoString returns the string representation

func (*TaskStartedEventDetails) SetResource

func (s *TaskStartedEventDetails) SetResource(v string) *TaskStartedEventDetails

SetResource sets the Resource field's value.

func (*TaskStartedEventDetails) SetResourceType

func (s *TaskStartedEventDetails) SetResourceType(v string) *TaskStartedEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskStartedEventDetails) String

func (s TaskStartedEventDetails) String() string

String returns the string representation

type TaskSubmitFailedEventDetails

type TaskSubmitFailedEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a task that failed to submit during an execution.

func (TaskSubmitFailedEventDetails) GoString

func (s TaskSubmitFailedEventDetails) GoString() string

GoString returns the string representation

func (*TaskSubmitFailedEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*TaskSubmitFailedEventDetails) SetError

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

SetError sets the Error field's value.

func (*TaskSubmitFailedEventDetails) SetResource

func (s *TaskSubmitFailedEventDetails) SetResource(v string) *TaskSubmitFailedEventDetails

SetResource sets the Resource field's value.

func (*TaskSubmitFailedEventDetails) SetResourceType

func (s *TaskSubmitFailedEventDetails) SetResourceType(v string) *TaskSubmitFailedEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskSubmitFailedEventDetails) String

func (s TaskSubmitFailedEventDetails) String() string

String returns the string representation

type TaskSubmittedEventDetails

type TaskSubmittedEventDetails struct {

    // The response from a resource when a task has started. Length constraints
    // apply to the payload size, and are expressed as bytes in UTF-8 encoding.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Contains details about the output of an execution history event.
    OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a task submitted to a resource .

func (TaskSubmittedEventDetails) GoString

func (s TaskSubmittedEventDetails) GoString() string

GoString returns the string representation

func (*TaskSubmittedEventDetails) SetOutput

func (s *TaskSubmittedEventDetails) SetOutput(v string) *TaskSubmittedEventDetails

SetOutput sets the Output field's value.

func (*TaskSubmittedEventDetails) SetOutputDetails

func (s *TaskSubmittedEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *TaskSubmittedEventDetails

SetOutputDetails sets the OutputDetails field's value.

func (*TaskSubmittedEventDetails) SetResource

func (s *TaskSubmittedEventDetails) SetResource(v string) *TaskSubmittedEventDetails

SetResource sets the Resource field's value.

func (*TaskSubmittedEventDetails) SetResourceType

func (s *TaskSubmittedEventDetails) SetResourceType(v string) *TaskSubmittedEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskSubmittedEventDetails) String

func (s TaskSubmittedEventDetails) String() string

String returns the string representation

type TaskSucceededEventDetails

type TaskSucceededEventDetails struct {

    // The full JSON response from a resource when a task has succeeded. This response
    // becomes the output of the related task. Length constraints apply to the payload
    // size, and are expressed as bytes in UTF-8 encoding.
    Output *string `locationName:"output" type:"string" sensitive:"true"`

    // Contains details about the output of an execution history event.
    OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about the successful completion of a task state.

func (TaskSucceededEventDetails) GoString

func (s TaskSucceededEventDetails) GoString() string

GoString returns the string representation

func (*TaskSucceededEventDetails) SetOutput

func (s *TaskSucceededEventDetails) SetOutput(v string) *TaskSucceededEventDetails

SetOutput sets the Output field's value.

func (*TaskSucceededEventDetails) SetOutputDetails

func (s *TaskSucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *TaskSucceededEventDetails

SetOutputDetails sets the OutputDetails field's value.

func (*TaskSucceededEventDetails) SetResource

func (s *TaskSucceededEventDetails) SetResource(v string) *TaskSucceededEventDetails

SetResource sets the Resource field's value.

func (*TaskSucceededEventDetails) SetResourceType

func (s *TaskSucceededEventDetails) SetResourceType(v string) *TaskSucceededEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskSucceededEventDetails) String

func (s TaskSucceededEventDetails) String() string

String returns the string representation

type TaskTimedOut

type TaskTimedOut struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

func (*TaskTimedOut) Code

func (s *TaskTimedOut) Code() string

Code returns the exception type name.

func (*TaskTimedOut) Error

func (s *TaskTimedOut) Error() string

func (TaskTimedOut) GoString

func (s TaskTimedOut) GoString() string

GoString returns the string representation

func (*TaskTimedOut) Message

func (s *TaskTimedOut) Message() string

Message returns the exception's message.

func (*TaskTimedOut) OrigErr

func (s *TaskTimedOut) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TaskTimedOut) RequestID

func (s *TaskTimedOut) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TaskTimedOut) StatusCode

func (s *TaskTimedOut) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TaskTimedOut) String

func (s TaskTimedOut) String() string

String returns the string representation

type TaskTimedOutEventDetails

type TaskTimedOutEventDetails struct {

    // A more detailed explanation of the cause of the failure.
    Cause *string `locationName:"cause" type:"string" sensitive:"true"`

    // The error code of the failure.
    Error *string `locationName:"error" type:"string" sensitive:"true"`

    // The service name of the resource in a task state.
    //
    // Resource is a required field
    Resource *string `locationName:"resource" min:"1" type:"string" required:"true"`

    // The action of the resource called by a task state.
    //
    // ResourceType is a required field
    ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains details about a resource timeout that occurred during an execution.

func (TaskTimedOutEventDetails) GoString

func (s TaskTimedOutEventDetails) GoString() string

GoString returns the string representation

func (*TaskTimedOutEventDetails) SetCause

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

SetCause sets the Cause field's value.

func (*TaskTimedOutEventDetails) SetError

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

SetError sets the Error field's value.

func (*TaskTimedOutEventDetails) SetResource

func (s *TaskTimedOutEventDetails) SetResource(v string) *TaskTimedOutEventDetails

SetResource sets the Resource field's value.

func (*TaskTimedOutEventDetails) SetResourceType

func (s *TaskTimedOutEventDetails) SetResourceType(v string) *TaskTimedOutEventDetails

SetResourceType sets the ResourceType field's value.

func (TaskTimedOutEventDetails) String

func (s TaskTimedOutEventDetails) String() string

String returns the string representation

type TooManyTags

type TooManyTags struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    ResourceName *string `locationName:"resourceName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

You've exceeded the number of tags allowed for a resource. See the Limits Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) in the AWS Step Functions Developer Guide.

func (*TooManyTags) Code

func (s *TooManyTags) Code() string

Code returns the exception type name.

func (*TooManyTags) Error

func (s *TooManyTags) Error() string

func (TooManyTags) GoString

func (s TooManyTags) GoString() string

GoString returns the string representation

func (*TooManyTags) Message

func (s *TooManyTags) Message() string

Message returns the exception's message.

func (*TooManyTags) OrigErr

func (s *TooManyTags) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTags) RequestID

func (s *TooManyTags) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTags) StatusCode

func (s *TooManyTags) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyTags) String

func (s TooManyTags) String() string

String returns the string representation

type TracingConfiguration

type TracingConfiguration struct {

    // When set to true, AWS X-Ray tracing is enabled.
    Enabled *bool `locationName:"enabled" type:"boolean"`
    // contains filtered or unexported fields
}

Selects whether or not the state machine's AWS X-Ray tracing is enabled. Default is false

func (TracingConfiguration) GoString

func (s TracingConfiguration) GoString() string

GoString returns the string representation

func (*TracingConfiguration) SetEnabled

func (s *TracingConfiguration) SetEnabled(v bool) *TracingConfiguration

SetEnabled sets the Enabled field's value.

func (TracingConfiguration) String

func (s TracingConfiguration) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

    // The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`

    // The list of tags to remove from the resource.
    //
    // TagKeys is a required field
    TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
    // contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateStateMachineInput

type UpdateStateMachineInput struct {

    // 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).
    Definition *string `locationName:"definition" min:"1" type:"string" sensitive:"true"`

    // The LoggingConfiguration data type is used to set CloudWatch Logs options.
    LoggingConfiguration *LoggingConfiguration `locationName:"loggingConfiguration" type:"structure"`

    // The Amazon Resource Name (ARN) of the IAM role of the state machine.
    RoleArn *string `locationName:"roleArn" min:"1" type:"string"`

    // The Amazon Resource Name (ARN) of the state machine.
    //
    // StateMachineArn is a required field
    StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"`

    // Selects whether AWS X-Ray tracing is enabled.
    TracingConfiguration *TracingConfiguration `locationName:"tracingConfiguration" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateStateMachineInput) GoString

func (s UpdateStateMachineInput) GoString() string

GoString returns the string representation

func (*UpdateStateMachineInput) SetDefinition

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

SetDefinition sets the Definition field's value.

func (*UpdateStateMachineInput) SetLoggingConfiguration

func (s *UpdateStateMachineInput) SetLoggingConfiguration(v *LoggingConfiguration) *UpdateStateMachineInput

SetLoggingConfiguration sets the LoggingConfiguration field's value.

func (*UpdateStateMachineInput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*UpdateStateMachineInput) SetStateMachineArn

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

SetStateMachineArn sets the StateMachineArn field's value.

func (*UpdateStateMachineInput) SetTracingConfiguration

func (s *UpdateStateMachineInput) SetTracingConfiguration(v *TracingConfiguration) *UpdateStateMachineInput

SetTracingConfiguration sets the TracingConfiguration field's value.

func (UpdateStateMachineInput) String

func (s UpdateStateMachineInput) String() string

String returns the string representation

func (*UpdateStateMachineInput) Validate

func (s *UpdateStateMachineInput) Validate() error

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

type UpdateStateMachineOutput

type UpdateStateMachineOutput struct {

    // The date and time the state machine was updated.
    //
    // UpdateDate is a required field
    UpdateDate *time.Time `locationName:"updateDate" type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateStateMachineOutput) GoString

func (s UpdateStateMachineOutput) GoString() string

GoString returns the string representation

func (*UpdateStateMachineOutput) SetUpdateDate

func (s *UpdateStateMachineOutput) SetUpdateDate(v time.Time) *UpdateStateMachineOutput

SetUpdateDate sets the UpdateDate field's value.

func (UpdateStateMachineOutput) String

func (s UpdateStateMachineOutput) String() string

String returns the string representation