types

package
v1.13.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityDoesNotExist

type ActivityDoesNotExist struct {
	Message *string
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

Contains details about an activity that failed during an execution.

type ActivityLimitExceeded

type ActivityLimitExceeded struct {
	Message *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) 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 filtered or unexported fields
}

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 filtered or unexported fields
}

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. Length constraints apply to the
	// payload size, and are expressed as bytes in UTF-8 encoding.
	Input *string

	// Contains details about the input for an execution history event.
	InputDetails *HistoryEventExecutionDataDetails

	// The maximum allowed duration of the activity task.
	TimeoutInSeconds int64
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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

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

	// Contains details about the output of an execution history event.
	OutputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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

type ActivityWorkerLimitExceeded

type ActivityWorkerLimitExceeded struct {
	Message *string
	// contains filtered or unexported fields
}

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 BillingDetails added in v0.31.0

type BillingDetails struct {

	// Billed duration of your workflow, in milliseconds.
	BilledDurationInMilliseconds int64

	// Billed memory consumption of your workflow, in MB.
	BilledMemoryUsedInMB int64
	// contains filtered or unexported fields
}

An object that describes workflow billing details.

type CloudWatchEventsExecutionDataDetails added in v0.29.0

type CloudWatchEventsExecutionDataDetails struct {

	// Indicates whether input or output was included in the response. Always true for
	// API calls.
	Included bool
	// contains filtered or unexported fields
}

Provides details about execution input or output.

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
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

Contains details about an abort of an execution.

type ExecutionAlreadyExists

type ExecutionAlreadyExists struct {
	Message *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) 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
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

Contains details about an execution failure event.

type ExecutionLimitExceeded

type ExecutionLimitExceeded struct {
	Message *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) 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 identifies 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 filtered or unexported fields
}

Contains details about an execution.

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

	// Contains details about the input for an execution history event.
	InputDetails *HistoryEventExecutionDataDetails

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

Contains details about the start of the execution.

type ExecutionStatus

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

Enum values for ExecutionStatus

func (ExecutionStatus) Values added in v0.29.0

func (ExecutionStatus) Values() []ExecutionStatus

Values returns all known values for ExecutionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

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

	// Contains details about the output of an execution history event.
	OutputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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 filtered or unexported fields
}

Contains details about the events of an execution.

type HistoryEventExecutionDataDetails added in v0.29.0

type HistoryEventExecutionDataDetails struct {

	// Indicates whether input or output was truncated in the response. Always false
	// for API calls.
	Truncated bool
	// contains filtered or unexported fields
}

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

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

func (HistoryEventType) Values added in v0.29.0

Values returns all known values for HistoryEventType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InvalidArn

type InvalidArn struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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 InvalidTracingConfiguration added in v0.29.0

type InvalidTracingConfiguration struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*InvalidTracingConfiguration) Error added in v0.29.0

func (*InvalidTracingConfiguration) ErrorCode added in v0.29.0

func (e *InvalidTracingConfiguration) ErrorCode() string

func (*InvalidTracingConfiguration) ErrorFault added in v0.29.0

func (*InvalidTracingConfiguration) ErrorMessage added in v0.29.0

func (e *InvalidTracingConfiguration) 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 filtered or unexported fields
}

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 filtered or unexported fields
}

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. Length constraints apply to the
	// payload size, and are expressed as bytes in UTF-8 encoding.
	Input *string

	// Contains details about input for an execution history event.
	InputDetails *HistoryEventExecutionDataDetails

	// The maximum allowed duration of the lambda function.
	TimeoutInSeconds int64
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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. Length constraints apply to the
	// payload size, and are expressed as bytes in UTF-8 encoding.
	Output *string

	// Contains details about the output of an execution history event.
	OutputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

type LogLevel

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

Enum values for LogLevel

func (LogLevel) Values added in v0.29.0

func (LogLevel) Values() []LogLevel

Values returns all known values for LogLevel. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

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
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Details about a Map state that was started.

type MissingRequiredParameter

type MissingRequiredParameter struct {
	Message *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) 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
	// contains filtered or unexported fields
}

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. Length constraints
	// apply to the payload size, and are expressed as bytes in UTF-8 encoding.
	Input *string

	// Contains details about the input for an execution history event.
	InputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

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. Length constraints apply to the payload size,
	// and are expressed as bytes in UTF-8 encoding.
	Output *string

	// Contains details about the output of an execution history event.
	OutputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

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

type StateMachineAlreadyExists

type StateMachineAlreadyExists struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// 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) 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 filtered or unexported fields
}

Contains details about the state machine.

type StateMachineStatus

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

Enum values for StateMachineStatus

func (StateMachineStatus) Values added in v0.29.0

Values returns all known values for StateMachineStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type StateMachineType

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

Enum values for StateMachineType

func (StateMachineType) Values added in v0.29.0

Values returns all known values for StateMachineType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type StateMachineTypeNotSupported

type StateMachineTypeNotSupported struct {
	Message *string
	// contains filtered or unexported fields
}

func (*StateMachineTypeNotSupported) Error

func (*StateMachineTypeNotSupported) ErrorCode

func (e *StateMachineTypeNotSupported) ErrorCode() string

func (*StateMachineTypeNotSupported) ErrorFault

func (*StateMachineTypeNotSupported) ErrorMessage

func (e *StateMachineTypeNotSupported) ErrorMessage() string

type SyncExecutionStatus added in v0.31.0

type SyncExecutionStatus string
const (
	SyncExecutionStatusSucceeded SyncExecutionStatus = "SUCCEEDED"
	SyncExecutionStatusFailed    SyncExecutionStatus = "FAILED"
	SyncExecutionStatusTimedOut  SyncExecutionStatus = "TIMED_OUT"
)

Enum values for SyncExecutionStatus

func (SyncExecutionStatus) Values added in v0.31.0

Values returns all known values for SyncExecutionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Tag

type Tag struct {

	// The key of a tag.
	Key *string

	// The value of a tag.
	Value *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: _ . : / = + - @.

type TaskDoesNotExist

type TaskDoesNotExist struct {
	Message *string
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

Contains details about a task failure event.

type TaskScheduledEventDetails

type TaskScheduledEventDetails struct {

	// 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.
	//
	// 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 between two heartbeats for the task.
	HeartbeatInSeconds int64

	// The maximum allowed duration of the task.
	TimeoutInSeconds int64
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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 filtered or unexported fields
}

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 filtered or unexported fields
}

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. Length constraints apply
	// to the payload size, and are expressed as bytes in UTF-8 encoding.
	Output *string

	// Contains details about the output of an execution history event.
	OutputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

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. Length constraints apply to the payload
	// size, and are expressed as bytes in UTF-8 encoding.
	Output *string

	// Contains details about the output of an execution history event.
	OutputDetails *HistoryEventExecutionDataDetails
	// contains filtered or unexported fields
}

Contains details about the successful completion of a task state.

type TaskTimedOut

type TaskTimedOut struct {
	Message *string
	// contains filtered or unexported fields
}

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 filtered or unexported fields
}

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

type TooManyTags

type TooManyTags struct {
	Message *string

	ResourceName *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) 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

type TracingConfiguration added in v0.29.0

type TracingConfiguration struct {

	// When set to true, AWS X-Ray tracing is enabled.
	Enabled bool
	// contains filtered or unexported fields
}

Selects whether or not the state machine's AWS X-Ray tracing is enabled. Default is false

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL