pub enum StartWorkflowExecutionError {
DefaultUndefinedFault(String),
LimitExceededFault(String),
OperationNotPermittedFault(String),
TypeDeprecatedFault(String),
UnknownResourceFault(String),
WorkflowExecutionAlreadyStartedFault(String),
}
Expand description
Errors returned by StartWorkflowExecution
Variants
DefaultUndefinedFault(String)
The StartWorkflowExecution
API action was called without the required parameters set.
Some workflow execution parameters, such as the decision taskList
, must be set to start the execution. However, these parameters might have been set as defaults when the workflow type was registered. In this case, you can omit these parameters from the StartWorkflowExecution
call and Amazon SWF uses the values defined in the workflow type.
If these parameters aren't set and no default parameters were defined in the workflow type, this error is displayed.
LimitExceededFault(String)
Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.
OperationNotPermittedFault(String)
Returned when the caller doesn't have sufficient permissions to invoke the action.
TypeDeprecatedFault(String)
Returned when the specified activity or workflow type was already deprecated.
UnknownResourceFault(String)
Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.
WorkflowExecutionAlreadyStartedFault(String)
Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in the specified domain.
Implementations
Trait Implementations
sourceimpl Debug for StartWorkflowExecutionError
impl Debug for StartWorkflowExecutionError
sourceimpl Display for StartWorkflowExecutionError
impl Display for StartWorkflowExecutionError
sourceimpl Error for StartWorkflowExecutionError
impl Error for StartWorkflowExecutionError
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 PartialEq<StartWorkflowExecutionError> for StartWorkflowExecutionError
impl PartialEq<StartWorkflowExecutionError> for StartWorkflowExecutionError
sourcefn eq(&self, other: &StartWorkflowExecutionError) -> bool
fn eq(&self, other: &StartWorkflowExecutionError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartWorkflowExecutionError) -> bool
fn ne(&self, other: &StartWorkflowExecutionError) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartWorkflowExecutionError
Auto Trait Implementations
impl RefUnwindSafe for StartWorkflowExecutionError
impl Send for StartWorkflowExecutionError
impl Sync for StartWorkflowExecutionError
impl Unpin for StartWorkflowExecutionError
impl UnwindSafe for StartWorkflowExecutionError
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