Enum aws_sdk_sfn::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 25 variants
ActivityDoesNotExist(ActivityDoesNotExist),
ActivityLimitExceeded(ActivityLimitExceeded),
ActivityWorkerLimitExceeded(ActivityWorkerLimitExceeded),
ExecutionAlreadyExists(ExecutionAlreadyExists),
ExecutionDoesNotExist(ExecutionDoesNotExist),
ExecutionLimitExceeded(ExecutionLimitExceeded),
InvalidArn(InvalidArn),
InvalidDefinition(InvalidDefinition),
InvalidExecutionInput(InvalidExecutionInput),
InvalidLoggingConfiguration(InvalidLoggingConfiguration),
InvalidName(InvalidName),
InvalidOutput(InvalidOutput),
InvalidToken(InvalidToken),
InvalidTracingConfiguration(InvalidTracingConfiguration),
MissingRequiredParameter(MissingRequiredParameter),
ResourceNotFound(ResourceNotFound),
StateMachineAlreadyExists(StateMachineAlreadyExists),
StateMachineDeleting(StateMachineDeleting),
StateMachineDoesNotExist(StateMachineDoesNotExist),
StateMachineLimitExceeded(StateMachineLimitExceeded),
StateMachineTypeNotSupported(StateMachineTypeNotSupported),
TaskDoesNotExist(TaskDoesNotExist),
TaskTimedOut(TaskTimedOut),
TooManyTags(TooManyTags),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ActivityDoesNotExist(ActivityDoesNotExist)
The specified activity does not exist.
ActivityLimitExceeded(ActivityLimitExceeded)
The maximum number of activities has been reached. Existing activities must be deleted before a new activity can be created.
ActivityWorkerLimitExceeded(ActivityWorkerLimitExceeded)
The maximum number of workers concurrently polling for activity tasks has been reached.
ExecutionAlreadyExists(ExecutionAlreadyExists)
The execution has the same name
as another execution (but a different input
).
Executions with the same name
and input
are considered idempotent.
ExecutionDoesNotExist(ExecutionDoesNotExist)
The specified execution does not exist.
ExecutionLimitExceeded(ExecutionLimitExceeded)
The maximum number of running executions has been reached. Running executions must end or be stopped before a new execution can be started.
InvalidArn(InvalidArn)
The provided Amazon Resource Name (ARN) is invalid.
InvalidDefinition(InvalidDefinition)
The provided Amazon States Language definition is invalid.
InvalidExecutionInput(InvalidExecutionInput)
The provided JSON input data is invalid.
InvalidLoggingConfiguration(InvalidLoggingConfiguration)
InvalidName(InvalidName)
The provided name is invalid.
InvalidOutput(InvalidOutput)
The provided JSON output data is invalid.
InvalidToken(InvalidToken)
The provided token is invalid.
InvalidTracingConfiguration(InvalidTracingConfiguration)
Your tracingConfiguration
key does not match, or enabled
has not been set to true
or false
.
MissingRequiredParameter(MissingRequiredParameter)
Request is missing a required parameter. This error occurs if both definition
and roleArn
are not specified.
ResourceNotFound(ResourceNotFound)
Could not find the referenced resource. Only state machine and activity ARNs are supported.
StateMachineAlreadyExists(StateMachineAlreadyExists)
A state machine with the same name but a different definition or role ARN already exists.
StateMachineDeleting(StateMachineDeleting)
The specified state machine is being deleted.
StateMachineDoesNotExist(StateMachineDoesNotExist)
The specified state machine does not exist.
StateMachineLimitExceeded(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(StateMachineTypeNotSupported)
TaskDoesNotExist(TaskDoesNotExist)
TaskTimedOut(TaskTimedOut)
TooManyTags(TooManyTags)
You've exceeded the number of tags allowed for a resource. See the Limits Topic in the AWS Step Functions Developer Guide.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<CreateActivityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateActivityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateActivityError, R>) -> Self
fn from(err: SdkError<CreateActivityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateStateMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateStateMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateStateMachineError, R>) -> Self
fn from(err: SdkError<CreateStateMachineError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteActivityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteActivityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteActivityError, R>) -> Self
fn from(err: SdkError<DeleteActivityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteStateMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteStateMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteStateMachineError, R>) -> Self
fn from(err: SdkError<DeleteStateMachineError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeActivityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeActivityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeActivityError, R>) -> Self
fn from(err: SdkError<DescribeActivityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeExecutionError, R>) -> Self
fn from(err: SdkError<DescribeExecutionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeStateMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeStateMachineError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeStateMachineError, R>) -> Self
fn from(err: SdkError<DescribeStateMachineError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeStateMachineForExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeStateMachineForExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeStateMachineForExecutionError, R>) -> Self
fn from(err: SdkError<DescribeStateMachineForExecutionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetActivityTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetActivityTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetActivityTaskError, R>) -> Self
fn from(err: SdkError<GetActivityTaskError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetExecutionHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetExecutionHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetExecutionHistoryError, R>) -> Self
fn from(err: SdkError<GetExecutionHistoryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListActivitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListActivitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListActivitiesError, R>) -> Self
fn from(err: SdkError<ListActivitiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListExecutionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListExecutionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListExecutionsError, R>) -> Self
fn from(err: SdkError<ListExecutionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListStateMachinesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListStateMachinesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListStateMachinesError, R>) -> Self
fn from(err: SdkError<ListStateMachinesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SendTaskFailureError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendTaskFailureError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendTaskFailureError, R>) -> Self
fn from(err: SdkError<SendTaskFailureError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SendTaskHeartbeatError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendTaskHeartbeatError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendTaskHeartbeatError, R>) -> Self
fn from(err: SdkError<SendTaskHeartbeatError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SendTaskSuccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendTaskSuccessError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendTaskSuccessError, R>) -> Self
fn from(err: SdkError<SendTaskSuccessError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartExecutionError, R>) -> Self
fn from(err: SdkError<StartExecutionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartSyncExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartSyncExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartSyncExecutionError, R>) -> Self
fn from(err: SdkError<StartSyncExecutionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StopExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopExecutionError, R>) -> Self
fn from(err: SdkError<StopExecutionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more