Struct aws_sdk_transfer::model::ExecutionError
source · [−]#[non_exhaustive]pub struct ExecutionError {
pub type: Option<ExecutionErrorType>,
pub message: Option<String>,
}
Expand description
Specifies the error message and type, for an error that occurs during the execution of the workflow.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<ExecutionErrorType>
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 returnsBAD_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.
message: Option<String>
Specifies the descriptive message that corresponds to the ErrorType
.
Implementations
sourceimpl ExecutionError
impl ExecutionError
sourcepub fn type(&self) -> Option<&ExecutionErrorType>
pub fn type(&self) -> Option<&ExecutionErrorType>
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 returnsBAD_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.
sourceimpl ExecutionError
impl ExecutionError
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecutionError
Trait Implementations
sourceimpl Clone for ExecutionError
impl Clone for ExecutionError
sourcefn clone(&self) -> ExecutionError
fn clone(&self) -> ExecutionError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExecutionError
impl Debug for ExecutionError
sourceimpl PartialEq<ExecutionError> for ExecutionError
impl PartialEq<ExecutionError> for ExecutionError
sourcefn eq(&self, other: &ExecutionError) -> bool
fn eq(&self, other: &ExecutionError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExecutionError) -> bool
fn ne(&self, other: &ExecutionError) -> bool
This method tests for !=
.
impl StructuralPartialEq for ExecutionError
Auto Trait Implementations
impl RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnwindSafe for ExecutionError
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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