@Generated(value="software.amazon.awssdk:codegen") public final class ExecutionError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExecutionError.Builder,ExecutionError>
Specifies the error message and type, for an error that occurs during the execution of the workflow.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExecutionError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
Specifies the descriptive message that corresponds to the
ErrorType. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExecutionError.Builder> |
serializableBuilderClass() |
ExecutionError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ExecutionErrorType |
type()
Specifies the error type.
|
String |
typeAsString()
Specifies the error type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ExecutionErrorType type()
Specifies the error type.
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the
same name already exists in the target location.
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returns
BAD_REQUEST, as only S3 files can be tagged.
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure.
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons.
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not
exist.
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or
more of the steps in the workflow.
TIMEOUT: occurs when the execution times out.
You can set the TimeoutSeconds for a custom step, anywhere from 1 second to 1800 seconds (30
minutes).
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
If the service returns an enum value that is not available in the current SDK version, type will return
ExecutionErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file
with the same name already exists in the target location.
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file
returns BAD_REQUEST, as only S3 files can be tagged.
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure.
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons.
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does
not exist.
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to
complete one or more of the steps in the workflow.
TIMEOUT: occurs when the execution times out.
You can set the TimeoutSeconds for a custom step, anywhere from 1 second to 1800 seconds (30
minutes).
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
ExecutionErrorTypepublic final String typeAsString()
Specifies the error type.
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the
same name already exists in the target location.
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returns
BAD_REQUEST, as only S3 files can be tagged.
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure.
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons.
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not
exist.
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or
more of the steps in the workflow.
TIMEOUT: occurs when the execution times out.
You can set the TimeoutSeconds for a custom step, anywhere from 1 second to 1800 seconds (30
minutes).
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
If the service returns an enum value that is not available in the current SDK version, type will return
ExecutionErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file
with the same name already exists in the target location.
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file
returns BAD_REQUEST, as only S3 files can be tagged.
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure.
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons.
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does
not exist.
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to
complete one or more of the steps in the workflow.
TIMEOUT: occurs when the execution times out.
You can set the TimeoutSeconds for a custom step, anywhere from 1 second to 1800 seconds (30
minutes).
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
ExecutionErrorTypepublic final String message()
Specifies the descriptive message that corresponds to the ErrorType.
ErrorType.public ExecutionError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExecutionError.Builder,ExecutionError>public static ExecutionError.Builder builder()
public static Class<? extends ExecutionError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.