package types

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

Index

Types

type ActivityDoesNotExist

type ActivityDoesNotExist struct {
	Message *string
}

The specified activity does not exist.

func (*ActivityDoesNotExist) Error

func (e *ActivityDoesNotExist) Error() string

func (*ActivityDoesNotExist) ErrorCode

func (e *ActivityDoesNotExist) ErrorCode() string

func (*ActivityDoesNotExist) ErrorFault

func (e *ActivityDoesNotExist) ErrorFault() smithy.ErrorFault

func (*ActivityDoesNotExist) ErrorMessage

func (e *ActivityDoesNotExist) ErrorMessage() string

type ActivityFailedEventDetails

type ActivityFailedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

Contains details about an activity that failed during an execution.

type ActivityLimitExceeded

type ActivityLimitExceeded struct {
	Message *string
}

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

func (*ActivityLimitExceeded) Error

func (e *ActivityLimitExceeded) Error() string

func (*ActivityLimitExceeded) ErrorCode

func (e *ActivityLimitExceeded) ErrorCode() string

func (*ActivityLimitExceeded) ErrorFault

func (e *ActivityLimitExceeded) ErrorFault() smithy.ErrorFault

func (*ActivityLimitExceeded) ErrorMessage

func (e *ActivityLimitExceeded) ErrorMessage() string

type ActivityListItem

type ActivityListItem struct {

	// The Amazon Resource Name (ARN) that identifies the activity.
	//
	// This member is required.
	ActivityArn *string

	// The date the activity is created.
	//
	// This member is required.
	CreationDate *time.Time

	// 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 _.
	//
	// This member is required.
	Name *string
}

Contains details about an activity.

type ActivityScheduleFailedEventDetails

type ActivityScheduleFailedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type ActivityScheduledEventDetails

type ActivityScheduledEventDetails struct {

	// The Amazon Resource Name (ARN) of the scheduled activity.
	//
	// This member is required.
	Resource *string

	// The maximum allowed duration between two heartbeats for the activity task.
	HeartbeatInSeconds *int64

	// The JSON data input to the activity task.
	Input *string

	// The maximum allowed duration of the activity task.
	TimeoutInSeconds *int64
}

Contains details about an activity scheduled during an execution.

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
}

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

type ActivitySucceededEventDetails

type ActivitySucceededEventDetails struct {

	// The JSON data output by the activity task.
	Output *string
}

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

type ActivityTimedOutEventDetails

type ActivityTimedOutEventDetails struct {

	// A more detailed explanation of the cause of the timeout.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type ActivityWorkerLimitExceeded

type ActivityWorkerLimitExceeded struct {
	Message *string
}

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

func (*ActivityWorkerLimitExceeded) Error

func (*ActivityWorkerLimitExceeded) ErrorCode

func (e *ActivityWorkerLimitExceeded) ErrorCode() string

func (*ActivityWorkerLimitExceeded) ErrorFault

func (*ActivityWorkerLimitExceeded) ErrorMessage

func (e *ActivityWorkerLimitExceeded) ErrorMessage() string

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
}

type ExecutionAbortedEventDetails

type ExecutionAbortedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

Contains details about an abort of an execution.

type ExecutionAlreadyExists

type ExecutionAlreadyExists struct {
	Message *string
}

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) Error

func (e *ExecutionAlreadyExists) Error() string

func (*ExecutionAlreadyExists) ErrorCode

func (e *ExecutionAlreadyExists) ErrorCode() string

func (*ExecutionAlreadyExists) ErrorFault

func (e *ExecutionAlreadyExists) ErrorFault() smithy.ErrorFault

func (*ExecutionAlreadyExists) ErrorMessage

func (e *ExecutionAlreadyExists) ErrorMessage() string

type ExecutionDoesNotExist

type ExecutionDoesNotExist struct {
	Message *string
}

The specified execution does not exist.

func (*ExecutionDoesNotExist) Error

func (e *ExecutionDoesNotExist) Error() string

func (*ExecutionDoesNotExist) ErrorCode

func (e *ExecutionDoesNotExist) ErrorCode() string

func (*ExecutionDoesNotExist) ErrorFault

func (e *ExecutionDoesNotExist) ErrorFault() smithy.ErrorFault

func (*ExecutionDoesNotExist) ErrorMessage

func (e *ExecutionDoesNotExist) ErrorMessage() string

type ExecutionFailedEventDetails

type ExecutionFailedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

Contains details about an execution failure event.

type ExecutionLimitExceeded

type ExecutionLimitExceeded struct {
	Message *string
}

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) Error

func (e *ExecutionLimitExceeded) Error() string

func (*ExecutionLimitExceeded) ErrorCode

func (e *ExecutionLimitExceeded) ErrorCode() string

func (*ExecutionLimitExceeded) ErrorFault

func (e *ExecutionLimitExceeded) ErrorFault() smithy.ErrorFault

func (*ExecutionLimitExceeded) ErrorMessage

func (e *ExecutionLimitExceeded) ErrorMessage() string

type ExecutionListItem

type ExecutionListItem struct {

	// The Amazon Resource Name (ARN) that id entifies the execution.
	//
	// This member is required.
	ExecutionArn *string

	// 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 _.
	//
	// This member is required.
	Name *string

	// The date the execution started.
	//
	// This member is required.
	StartDate *time.Time

	// The Amazon Resource Name (ARN) of the executed state machine.
	//
	// This member is required.
	StateMachineArn *string

	// The current status of the execution.
	//
	// This member is required.
	Status ExecutionStatus

	// If the execution already ended, the date the execution stopped.
	StopDate *time.Time
}

Contains details about an execution.

type ExecutionStartedEventDetails

type ExecutionStartedEventDetails struct {

	// The JSON data input to the execution.
	Input *string

	// The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
	// tasks.
	RoleArn *string
}

Contains details about the start of the execution.

type ExecutionStatus

type ExecutionStatus string
const (
	ExecutionStatusRunning   ExecutionStatus = "RUNNING"
	ExecutionStatusSucceeded ExecutionStatus = "SUCCEEDED"
	ExecutionStatusFailed    ExecutionStatus = "FAILED"
	ExecutionStatusTimed_out ExecutionStatus = "TIMED_OUT"
	ExecutionStatusAborted   ExecutionStatus = "ABORTED"
)

Enum values for ExecutionStatus

type ExecutionSucceededEventDetails

type ExecutionSucceededEventDetails struct {

	// The JSON data output by the execution.
	Output *string
}

Contains details about the successful termination of the execution.

type ExecutionTimedOutEventDetails

type ExecutionTimedOutEventDetails struct {

	// A more detailed explanation of the cause of the timeout.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type HistoryEvent

type HistoryEvent struct {

	// The id of the event. Events are numbered sequentially, starting at one.
	//
	// This member is required.
	Id *int64

	// The date and time the event occurred.
	//
	// This member is required.
	Timestamp *time.Time

	// The type of the event.
	//
	// This member is required.
	Type HistoryEventType

	// Contains details about an activity that failed during an execution.
	ActivityFailedEventDetails *ActivityFailedEventDetails

	// Contains details about an activity schedule event that failed during an
	// execution.
	ActivityScheduleFailedEventDetails *ActivityScheduleFailedEventDetails

	// Contains details about an activity scheduled during an execution.
	ActivityScheduledEventDetails *ActivityScheduledEventDetails

	// Contains details about the start of an activity during an execution.
	ActivityStartedEventDetails *ActivityStartedEventDetails

	// Contains details about an activity that successfully terminated during an
	// execution.
	ActivitySucceededEventDetails *ActivitySucceededEventDetails

	// Contains details about an activity timeout that occurred during an execution.
	ActivityTimedOutEventDetails *ActivityTimedOutEventDetails

	// Contains details about an abort of an execution.
	ExecutionAbortedEventDetails *ExecutionAbortedEventDetails

	// Contains details about an execution failure event.
	ExecutionFailedEventDetails *ExecutionFailedEventDetails

	// Contains details about the start of the execution.
	ExecutionStartedEventDetails *ExecutionStartedEventDetails

	// Contains details about the successful termination of the execution.
	ExecutionSucceededEventDetails *ExecutionSucceededEventDetails

	// Contains details about the execution timeout that occurred during the execution.
	ExecutionTimedOutEventDetails *ExecutionTimedOutEventDetails

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

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

	// Contains details about a lambda function scheduled during an execution.
	LambdaFunctionScheduledEventDetails *LambdaFunctionScheduledEventDetails

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

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

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

	// Contains details about an iteration of a Map state that was aborted.
	MapIterationAbortedEventDetails *MapIterationEventDetails

	// Contains details about an iteration of a Map state that failed.
	MapIterationFailedEventDetails *MapIterationEventDetails

	// Contains details about an iteration of a Map state that was started.
	MapIterationStartedEventDetails *MapIterationEventDetails

	// Contains details about an iteration of a Map state that succeeded.
	MapIterationSucceededEventDetails *MapIterationEventDetails

	// Contains details about Map state that was started.
	MapStateStartedEventDetails *MapStateStartedEventDetails

	// The id of the previous event.
	PreviousEventId *int64

	// Contains details about a state entered during an execution.
	StateEnteredEventDetails *StateEnteredEventDetails

	// Contains details about an exit from a state during an execution.
	StateExitedEventDetails *StateExitedEventDetails

	// Contains details about the failure of a task.
	TaskFailedEventDetails *TaskFailedEventDetails

	// Contains details about a task that was scheduled.
	TaskScheduledEventDetails *TaskScheduledEventDetails

	// Contains details about a task that failed to start.
	TaskStartFailedEventDetails *TaskStartFailedEventDetails

	// Contains details about a task that was started.
	TaskStartedEventDetails *TaskStartedEventDetails

	// Contains details about a task that where the submit failed.
	TaskSubmitFailedEventDetails *TaskSubmitFailedEventDetails

	// Contains details about a submitted task.
	TaskSubmittedEventDetails *TaskSubmittedEventDetails

	// Contains details about a task that succeeded.
	TaskSucceededEventDetails *TaskSucceededEventDetails

	// Contains details about a task that timed out.
	TaskTimedOutEventDetails *TaskTimedOutEventDetails
}

Contains details about the events of an execution.

type HistoryEventType

type HistoryEventType string
const (
	HistoryEventTypeActivityfailed               HistoryEventType = "ActivityFailed"
	HistoryEventTypeActivityscheduled            HistoryEventType = "ActivityScheduled"
	HistoryEventTypeActivityschedulefailed       HistoryEventType = "ActivityScheduleFailed"
	HistoryEventTypeActivitystarted              HistoryEventType = "ActivityStarted"
	HistoryEventTypeActivitysucceeded            HistoryEventType = "ActivitySucceeded"
	HistoryEventTypeActivitytimedout             HistoryEventType = "ActivityTimedOut"
	HistoryEventTypeChoicestateentered           HistoryEventType = "ChoiceStateEntered"
	HistoryEventTypeChoicestateexited            HistoryEventType = "ChoiceStateExited"
	HistoryEventTypeExecutionaborted             HistoryEventType = "ExecutionAborted"
	HistoryEventTypeExecutionfailed              HistoryEventType = "ExecutionFailed"
	HistoryEventTypeExecutionstarted             HistoryEventType = "ExecutionStarted"
	HistoryEventTypeExecutionsucceeded           HistoryEventType = "ExecutionSucceeded"
	HistoryEventTypeExecutiontimedout            HistoryEventType = "ExecutionTimedOut"
	HistoryEventTypeFailstateentered             HistoryEventType = "FailStateEntered"
	HistoryEventTypeLambdafunctionfailed         HistoryEventType = "LambdaFunctionFailed"
	HistoryEventTypeLambdafunctionscheduled      HistoryEventType = "LambdaFunctionScheduled"
	HistoryEventTypeLambdafunctionschedulefailed HistoryEventType = "LambdaFunctionScheduleFailed"
	HistoryEventTypeLambdafunctionstarted        HistoryEventType = "LambdaFunctionStarted"
	HistoryEventTypeLambdafunctionstartfailed    HistoryEventType = "LambdaFunctionStartFailed"
	HistoryEventTypeLambdafunctionsucceeded      HistoryEventType = "LambdaFunctionSucceeded"
	HistoryEventTypeLambdafunctiontimedout       HistoryEventType = "LambdaFunctionTimedOut"
	HistoryEventTypeMapiterationaborted          HistoryEventType = "MapIterationAborted"
	HistoryEventTypeMapiterationfailed           HistoryEventType = "MapIterationFailed"
	HistoryEventTypeMapiterationstarted          HistoryEventType = "MapIterationStarted"
	HistoryEventTypeMapiterationsucceeded        HistoryEventType = "MapIterationSucceeded"
	HistoryEventTypeMapstateaborted              HistoryEventType = "MapStateAborted"
	HistoryEventTypeMapstateentered              HistoryEventType = "MapStateEntered"
	HistoryEventTypeMapstateexited               HistoryEventType = "MapStateExited"
	HistoryEventTypeMapstatefailed               HistoryEventType = "MapStateFailed"
	HistoryEventTypeMapstatestarted              HistoryEventType = "MapStateStarted"
	HistoryEventTypeMapstatesucceeded            HistoryEventType = "MapStateSucceeded"
	HistoryEventTypeParallelstateaborted         HistoryEventType = "ParallelStateAborted"
	HistoryEventTypeParallelstateentered         HistoryEventType = "ParallelStateEntered"
	HistoryEventTypeParallelstateexited          HistoryEventType = "ParallelStateExited"
	HistoryEventTypeParallelstatefailed          HistoryEventType = "ParallelStateFailed"
	HistoryEventTypeParallelstatestarted         HistoryEventType = "ParallelStateStarted"
	HistoryEventTypeParallelstatesucceeded       HistoryEventType = "ParallelStateSucceeded"
	HistoryEventTypePassstateentered             HistoryEventType = "PassStateEntered"
	HistoryEventTypePassstateexited              HistoryEventType = "PassStateExited"
	HistoryEventTypeSucceedstateentered          HistoryEventType = "SucceedStateEntered"
	HistoryEventTypeSucceedstateexited           HistoryEventType = "SucceedStateExited"
	HistoryEventTypeTaskfailed                   HistoryEventType = "TaskFailed"
	HistoryEventTypeTaskscheduled                HistoryEventType = "TaskScheduled"
	HistoryEventTypeTaskstarted                  HistoryEventType = "TaskStarted"
	HistoryEventTypeTaskstartfailed              HistoryEventType = "TaskStartFailed"
	HistoryEventTypeTaskstateaborted             HistoryEventType = "TaskStateAborted"
	HistoryEventTypeTaskstateentered             HistoryEventType = "TaskStateEntered"
	HistoryEventTypeTaskstateexited              HistoryEventType = "TaskStateExited"
	HistoryEventTypeTasksubmitfailed             HistoryEventType = "TaskSubmitFailed"
	HistoryEventTypeTasksubmitted                HistoryEventType = "TaskSubmitted"
	HistoryEventTypeTasksucceeded                HistoryEventType = "TaskSucceeded"
	HistoryEventTypeTasktimedout                 HistoryEventType = "TaskTimedOut"
	HistoryEventTypeWaitstateaborted             HistoryEventType = "WaitStateAborted"
	HistoryEventTypeWaitstateentered             HistoryEventType = "WaitStateEntered"
	HistoryEventTypeWaitstateexited              HistoryEventType = "WaitStateExited"
)

Enum values for HistoryEventType

type InvalidArn

type InvalidArn struct {
	Message *string
}

The provided Amazon Resource Name (ARN) is invalid.

func (*InvalidArn) Error

func (e *InvalidArn) Error() string

func (*InvalidArn) ErrorCode

func (e *InvalidArn) ErrorCode() string

func (*InvalidArn) ErrorFault

func (e *InvalidArn) ErrorFault() smithy.ErrorFault

func (*InvalidArn) ErrorMessage

func (e *InvalidArn) ErrorMessage() string

type InvalidDefinition

type InvalidDefinition struct {
	Message *string
}

The provided Amazon States Language definition is invalid.

func (*InvalidDefinition) Error

func (e *InvalidDefinition) Error() string

func (*InvalidDefinition) ErrorCode

func (e *InvalidDefinition) ErrorCode() string

func (*InvalidDefinition) ErrorFault

func (e *InvalidDefinition) ErrorFault() smithy.ErrorFault

func (*InvalidDefinition) ErrorMessage

func (e *InvalidDefinition) ErrorMessage() string

type InvalidExecutionInput

type InvalidExecutionInput struct {
	Message *string
}

The provided JSON input data is invalid.

func (*InvalidExecutionInput) Error

func (e *InvalidExecutionInput) Error() string

func (*InvalidExecutionInput) ErrorCode

func (e *InvalidExecutionInput) ErrorCode() string

func (*InvalidExecutionInput) ErrorFault

func (e *InvalidExecutionInput) ErrorFault() smithy.ErrorFault

func (*InvalidExecutionInput) ErrorMessage

func (e *InvalidExecutionInput) ErrorMessage() string

type InvalidLoggingConfiguration

type InvalidLoggingConfiguration struct {
	Message *string
}

func (*InvalidLoggingConfiguration) Error

func (*InvalidLoggingConfiguration) ErrorCode

func (e *InvalidLoggingConfiguration) ErrorCode() string

func (*InvalidLoggingConfiguration) ErrorFault

func (*InvalidLoggingConfiguration) ErrorMessage

func (e *InvalidLoggingConfiguration) ErrorMessage() string

type InvalidName

type InvalidName struct {
	Message *string
}

The provided name is invalid.

func (*InvalidName) Error

func (e *InvalidName) Error() string

func (*InvalidName) ErrorCode

func (e *InvalidName) ErrorCode() string

func (*InvalidName) ErrorFault

func (e *InvalidName) ErrorFault() smithy.ErrorFault

func (*InvalidName) ErrorMessage

func (e *InvalidName) ErrorMessage() string

type InvalidOutput

type InvalidOutput struct {
	Message *string
}

The provided JSON output data is invalid.

func (*InvalidOutput) Error

func (e *InvalidOutput) Error() string

func (*InvalidOutput) ErrorCode

func (e *InvalidOutput) ErrorCode() string

func (*InvalidOutput) ErrorFault

func (e *InvalidOutput) ErrorFault() smithy.ErrorFault

func (*InvalidOutput) ErrorMessage

func (e *InvalidOutput) ErrorMessage() string

type InvalidToken

type InvalidToken struct {
	Message *string
}

The provided token is invalid.

func (*InvalidToken) Error

func (e *InvalidToken) Error() string

func (*InvalidToken) ErrorCode

func (e *InvalidToken) ErrorCode() string

func (*InvalidToken) ErrorFault

func (e *InvalidToken) ErrorFault() smithy.ErrorFault

func (*InvalidToken) ErrorMessage

func (e *InvalidToken) ErrorMessage() string

type LambdaFunctionFailedEventDetails

type LambdaFunctionFailedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type LambdaFunctionScheduleFailedEventDetails

type LambdaFunctionScheduleFailedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type LambdaFunctionScheduledEventDetails

type LambdaFunctionScheduledEventDetails struct {

	// The Amazon Resource Name (ARN) of the scheduled lambda function.
	//
	// This member is required.
	Resource *string

	// The JSON data input to the lambda function.
	Input *string

	// The maximum allowed duration of the lambda function.
	TimeoutInSeconds *int64
}

Contains details about a lambda function scheduled during an execution.

type LambdaFunctionStartFailedEventDetails

type LambdaFunctionStartFailedEventDetails struct {

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type LambdaFunctionSucceededEventDetails

type LambdaFunctionSucceededEventDetails struct {

	// The JSON data output by the lambda function.
	Output *string
}

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

type LambdaFunctionTimedOutEventDetails

type LambdaFunctionTimedOutEventDetails struct {

	// A more detailed explanation of the cause of the timeout.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

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
}

type LogLevel

type LogLevel string
const (
	LogLevelAll   LogLevel = "ALL"
	LogLevelError LogLevel = "ERROR"
	LogLevelFatal LogLevel = "FATAL"
	LogLevelOff   LogLevel = "OFF"
)

Enum values for LogLevel

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

	// Determines whether execution data is included in your log. When set to FALSE,
	// data is excluded.
	IncludeExecutionData *bool

	// Defines which category of execution history events are logged.
	Level LogLevel
}

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

type MapIterationEventDetails

type MapIterationEventDetails struct {

	// The index of the array belonging to the Map state iteration.
	Index *int32

	// The name of the iteration’s parent Map state.
	Name *string
}

Contains details about an iteration of a Map state.

type MapStateStartedEventDetails

type MapStateStartedEventDetails struct {

	// The size of the array for Map state iterations.
	Length *int32
}

Details about a Map state that was started.

type MissingRequiredParameter

type MissingRequiredParameter struct {
	Message *string
}

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

func (*MissingRequiredParameter) Error

func (e *MissingRequiredParameter) Error() string

func (*MissingRequiredParameter) ErrorCode

func (e *MissingRequiredParameter) ErrorCode() string

func (*MissingRequiredParameter) ErrorFault

func (e *MissingRequiredParameter) ErrorFault() smithy.ErrorFault

func (*MissingRequiredParameter) ErrorMessage

func (e *MissingRequiredParameter) ErrorMessage() string

type ResourceNotFound

type ResourceNotFound struct {
	Message *string

	ResourceName *string
}

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

func (*ResourceNotFound) Error

func (e *ResourceNotFound) Error() string

func (*ResourceNotFound) ErrorCode

func (e *ResourceNotFound) ErrorCode() string

func (*ResourceNotFound) ErrorFault

func (e *ResourceNotFound) ErrorFault() smithy.ErrorFault

func (*ResourceNotFound) ErrorMessage

func (e *ResourceNotFound) ErrorMessage() string

type StateEnteredEventDetails

type StateEnteredEventDetails struct {

	// The name of the state.
	//
	// This member is required.
	Name *string

	// The string that contains the JSON input data for the state.
	Input *string
}

Contains details about a state entered during an execution.

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 _.
	//
	// This member is required.
	Name *string

	// The JSON output data of the state.
	Output *string
}

Contains details about an exit from a state during an execution.

type StateMachineAlreadyExists

type StateMachineAlreadyExists struct {
	Message *string
}

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

func (*StateMachineAlreadyExists) Error

func (e *StateMachineAlreadyExists) Error() string

func (*StateMachineAlreadyExists) ErrorCode

func (e *StateMachineAlreadyExists) ErrorCode() string

func (*StateMachineAlreadyExists) ErrorFault

func (*StateMachineAlreadyExists) ErrorMessage

func (e *StateMachineAlreadyExists) ErrorMessage() string

type StateMachineDeleting

type StateMachineDeleting struct {
	Message *string
}

The specified state machine is being deleted.

func (*StateMachineDeleting) Error

func (e *StateMachineDeleting) Error() string

func (*StateMachineDeleting) ErrorCode

func (e *StateMachineDeleting) ErrorCode() string

func (*StateMachineDeleting) ErrorFault

func (e *StateMachineDeleting) ErrorFault() smithy.ErrorFault

func (*StateMachineDeleting) ErrorMessage

func (e *StateMachineDeleting) ErrorMessage() string

type StateMachineDoesNotExist

type StateMachineDoesNotExist struct {
	Message *string
}

The specified state machine does not exist.

func (*StateMachineDoesNotExist) Error

func (e *StateMachineDoesNotExist) Error() string

func (*StateMachineDoesNotExist) ErrorCode

func (e *StateMachineDoesNotExist) ErrorCode() string

func (*StateMachineDoesNotExist) ErrorFault

func (e *StateMachineDoesNotExist) ErrorFault() smithy.ErrorFault

func (*StateMachineDoesNotExist) ErrorMessage

func (e *StateMachineDoesNotExist) ErrorMessage() string

type StateMachineLimitExceeded

type StateMachineLimitExceeded struct {
	Message *string
}

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) Error

func (e *StateMachineLimitExceeded) Error() string

func (*StateMachineLimitExceeded) ErrorCode

func (e *StateMachineLimitExceeded) ErrorCode() string

func (*StateMachineLimitExceeded) ErrorFault

func (*StateMachineLimitExceeded) ErrorMessage

func (e *StateMachineLimitExceeded) ErrorMessage() string

type StateMachineListItem

type StateMachineListItem struct {

	// The date the state machine is created.
	//
	// This member is required.
	CreationDate *time.Time

	// 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 _.
	//
	// This member is required.
	Name *string

	// The Amazon Resource Name (ARN) that identifies the state machine.
	//
	// This member is required.
	StateMachineArn *string

	//
	//
	// This member is required.
	Type StateMachineType
}

Contains details about the state machine.

type StateMachineStatus

type StateMachineStatus string
const (
	StateMachineStatusActive   StateMachineStatus = "ACTIVE"
	StateMachineStatusDeleting StateMachineStatus = "DELETING"
)

Enum values for StateMachineStatus

type StateMachineType

type StateMachineType string
const (
	StateMachineTypeStandard StateMachineType = "STANDARD"
	StateMachineTypeExpress  StateMachineType = "EXPRESS"
)

Enum values for StateMachineType

type StateMachineTypeNotSupported

type StateMachineTypeNotSupported struct {
	Message *string
}

func (*StateMachineTypeNotSupported) Error

func (*StateMachineTypeNotSupported) ErrorCode

func (e *StateMachineTypeNotSupported) ErrorCode() string

func (*StateMachineTypeNotSupported) ErrorFault

func (*StateMachineTypeNotSupported) ErrorMessage

func (e *StateMachineTypeNotSupported) ErrorMessage() string

type Tag

type Tag struct {

	// The key of a tag.
	Key *string

	// The value of a tag.
	Value *string
}

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: _ . : / = + - @.

type TaskDoesNotExist

type TaskDoesNotExist struct {
	Message *string
}

func (*TaskDoesNotExist) Error

func (e *TaskDoesNotExist) Error() string

func (*TaskDoesNotExist) ErrorCode

func (e *TaskDoesNotExist) ErrorCode() string

func (*TaskDoesNotExist) ErrorFault

func (e *TaskDoesNotExist) ErrorFault() smithy.ErrorFault

func (*TaskDoesNotExist) ErrorMessage

func (e *TaskDoesNotExist) ErrorMessage() string

type TaskFailedEventDetails

type TaskFailedEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

Contains details about a task failure event.

type TaskScheduledEventDetails

type TaskScheduledEventDetails struct {

	// The JSON data passed to the resource referenced in a task state.
	//
	// This member is required.
	Parameters *string

	// The region of the scheduled task
	//
	// This member is required.
	Region *string

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// The maximum allowed duration of the task.
	TimeoutInSeconds *int64
}

Contains details about a task scheduled during an execution.

type TaskStartFailedEventDetails

type TaskStartFailedEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

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

type TaskStartedEventDetails

type TaskStartedEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string
}

Contains details about the start of a task during an execution.

type TaskSubmitFailedEventDetails

type TaskSubmitFailedEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

Contains details about a task that failed to submit during an execution.

type TaskSubmittedEventDetails

type TaskSubmittedEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// The response from a resource when a task has started.
	Output *string
}

Contains details about a task submitted to a resource .

type TaskSucceededEventDetails

type TaskSucceededEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// The full JSON response from a resource when a task has succeeded. This response
	// becomes the output of the related task.
	Output *string
}

Contains details about the successful completion of a task state.

type TaskTimedOut

type TaskTimedOut struct {
	Message *string
}

func (*TaskTimedOut) Error

func (e *TaskTimedOut) Error() string

func (*TaskTimedOut) ErrorCode

func (e *TaskTimedOut) ErrorCode() string

func (*TaskTimedOut) ErrorFault

func (e *TaskTimedOut) ErrorFault() smithy.ErrorFault

func (*TaskTimedOut) ErrorMessage

func (e *TaskTimedOut) ErrorMessage() string

type TaskTimedOutEventDetails

type TaskTimedOutEventDetails struct {

	// The service name of the resource in a task state.
	//
	// This member is required.
	Resource *string

	// The action of the resource called by a task state.
	//
	// This member is required.
	ResourceType *string

	// A more detailed explanation of the cause of the failure.
	Cause *string

	// The error code of the failure.
	Error *string
}

Contains details about a resource timeout that occurred during an execution.

type TooManyTags

type TooManyTags struct {
	Message *string

	ResourceName *string
}

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) Error

func (e *TooManyTags) Error() string

func (*TooManyTags) ErrorCode

func (e *TooManyTags) ErrorCode() string

func (*TooManyTags) ErrorFault

func (e *TooManyTags) ErrorFault() smithy.ErrorFault

func (*TooManyTags) ErrorMessage

func (e *TooManyTags) ErrorMessage() string

Source Files

enums.go errors.go types.go

Version
v0.27.0
Published
Oct 17, 2020
Platform
js/wasm
Imports
3 packages
Last checked
9 hours ago

Tools for package owners.