#[non_exhaustive]
pub enum StartWorkflowExecutionErrorKind {
DefaultUndefinedFault(DefaultUndefinedFault),
LimitExceededFault(LimitExceededFault),
OperationNotPermittedFault(OperationNotPermittedFault),
TypeDeprecatedFault(TypeDeprecatedFault),
UnknownResourceFault(UnknownResourceFault),
WorkflowExecutionAlreadyStartedFault(WorkflowExecutionAlreadyStartedFault),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the StartWorkflowExecution
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DefaultUndefinedFault(DefaultUndefinedFault)
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(LimitExceededFault)
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(OperationNotPermittedFault)
Returned when the caller doesn't have sufficient permissions to invoke the action.
TypeDeprecatedFault(TypeDeprecatedFault)
Returned when the specified activity or workflow type was already deprecated.
UnknownResourceFault(UnknownResourceFault)
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(WorkflowExecutionAlreadyStartedFault)
Returned by StartWorkflowExecution
when an open execution with the same workflowId is already running in the specified domain.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.