Exceptions¶
Explicit exceptions for SWF faults/errors.
You do not have sufficient access to perform this action. |
|
The required parameters were not set for execution start. |
|
The domain already exists. |
|
The specified domain has been deprecated. |
|
The request processing has failed because of an unknown error, exception or failure. |
|
The X.509 certificate or AWS access key ID provided does not exist in our records. |
|
Parameters that must not be used together were used together |
|
An invalid or out-of-range value was supplied for the input parameter. |
|
A system-imposed limitation has been reached. |
|
The request is missing an action or a required parameter. |
|
You do not have permission to perform this action. |
|
The caller doesn't have sufficient permissions to invoke the action. |
|
The AWS access key ID needs a subscription for the service. |
|
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. |
|
The request has failed due to a temporary failure of the server. |
|
Base SWF error. |
|
The request was denied due to request throttling. |
|
You've exceeded the number of tags allowed for a domain. |
|
The activity/workflow already exists in the specified domain. |
|
The specified activity or workflow type was already deprecated. |
|
The named resource cannot be found with in the scope of this operation (region or domain). |
|
The input fails to satisfy the constraints specified by an AWS service. |
|
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_executionand 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.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.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.
The request has failed due to a temporary failure of the server.
- 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.