Exceptions

Explicit exceptions for SWF faults/errors.

AccessDeniedException

You do not have sufficient access to perform this action.

DefaultUndefinedFault

The required parameters were not set for execution start.

DomainAlreadyExistsFault

The domain already exists.

DomainDeprecatedFault

The specified domain has been deprecated.

InternalFailureError

The request processing has failed because of an unknown error, exception or failure.

InvalidClientTokenIdError

The X.509 certificate or AWS access key ID provided does not exist in our records.

InvalidParameterCombinationError

Parameters that must not be used together were used together

InvalidParameterValueError

An invalid or out-of-range value was supplied for the input parameter.

LimitExceededFault

A system-imposed limitation has been reached.

MissingActionError

The request is missing an action or a required parameter.

NotAuthorizedError

You do not have permission to perform this action.

OperationNotPermittedFault

The caller doesn't have sufficient permissions to invoke the action.

OptInRequiredError

The AWS access key ID needs a subscription for the service.

RequestExpiredError

The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.

ServiceUnavailableError

The request has failed due to a temporary failure of the server.

SwfError

Base SWF error.

ThrottlingException

The request was denied due to request throttling.

TooManyTagsFault

You've exceeded the number of tags allowed for a domain.

TypeAlreadyExistsFault

The activity/workflow already exists in the specified domain.

TypeDeprecatedFault

The specified activity or workflow type was already deprecated.

UnknownResourceFault

The named resource cannot be found with in the scope of this operation (region or domain).

ValidationError

The input fails to satisfy the constraints specified by an AWS service.

WorkflowExecutionAlreadyStartedFault

An open execution with the same ID is already running in the specified domain.

exception swf_typed.AccessDeniedException[source]

You do not have sufficient access to perform this action.

exception swf_typed.DefaultUndefinedFault[source]

The required parameters were not set for execution start.

Some workflow execution parameters, such as the decision task-list, must be set to start the execution. However, these parameters might have been set as defaults when the workflow was registered. In this case, you can omit these arguments to start_execution and Amazon SWF uses the values defined in the workflow.

Note: if these parameters aren’t set and no default parameters were defined in the workflow, this error is displayed.

exception swf_typed.DomainAlreadyExistsFault[source]

The domain already exists.

You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.

exception swf_typed.DomainDeprecatedFault[source]

The specified domain has been deprecated.

exception swf_typed.InternalFailureError[source]

The request processing has failed because of an unknown error, exception or failure.

exception swf_typed.InvalidClientTokenIdError[source]

The X.509 certificate or AWS access key ID provided does not exist in our records.

exception swf_typed.InvalidParameterCombinationError[source]

Parameters that must not be used together were used together

exception swf_typed.InvalidParameterValueError[source]

An invalid or out-of-range value was supplied for the input parameter.

exception swf_typed.LimitExceededFault[source]

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.

exception swf_typed.MissingActionError[source]

The request is missing an action or a required parameter.

exception swf_typed.NotAuthorizedError[source]

You do not have permission to perform this action.

exception swf_typed.OperationNotPermittedFault[source]

The caller doesn’t have sufficient permissions to invoke the action.

exception swf_typed.OptInRequiredError[source]

The AWS access key ID needs a subscription for the service.

exception swf_typed.RequestExpiredError[source]

The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.

exception swf_typed.ServiceUnavailableError[source]

The request has failed due to a temporary failure of the server.

exception swf_typed.SwfError[source]

Base SWF error.

exception swf_typed.ThrottlingException[source]

The request was denied due to request throttling.

exception swf_typed.TooManyTagsFault[source]

You’ve exceeded the number of tags allowed for a domain.

exception swf_typed.TypeAlreadyExistsFault[source]

The activity/workflow already exists in the specified domain.

You may get this fault if you are registering an activity/workflow that is either already registered or deprecated, or if you undeprecate an activity/workflow that is currently registered.

exception swf_typed.TypeDeprecatedFault[source]

The specified activity or workflow type was already deprecated.

exception swf_typed.UnknownResourceFault[source]

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.

exception swf_typed.ValidationError[source]

The input fails to satisfy the constraints specified by an AWS service.

exception swf_typed.WorkflowExecutionAlreadyStartedFault[source]

An open execution with the same ID is already running in the specified domain.