Struct aws_sdk_appflow::model::ErrorHandlingConfig
source · [−]#[non_exhaustive]pub struct ErrorHandlingConfig {
pub fail_on_first_destination_error: bool,
pub bucket_prefix: Option<String>,
pub bucket_name: Option<String>,
}
Expand description
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
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.fail_on_first_destination_error: bool
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
bucket_prefix: Option<String>
Specifies the Amazon S3 bucket prefix.
bucket_name: Option<String>
Specifies the name of the Amazon S3 bucket.
Implementations
sourceimpl ErrorHandlingConfig
impl ErrorHandlingConfig
sourcepub fn fail_on_first_destination_error(&self) -> bool
pub fn fail_on_first_destination_error(&self) -> bool
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
sourcepub fn bucket_prefix(&self) -> Option<&str>
pub fn bucket_prefix(&self) -> Option<&str>
Specifies the Amazon S3 bucket prefix.
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
Specifies the name of the Amazon S3 bucket.
sourceimpl ErrorHandlingConfig
impl ErrorHandlingConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ErrorHandlingConfig
Trait Implementations
sourceimpl Clone for ErrorHandlingConfig
impl Clone for ErrorHandlingConfig
sourcefn clone(&self) -> ErrorHandlingConfig
fn clone(&self) -> ErrorHandlingConfig
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 ErrorHandlingConfig
impl Debug for ErrorHandlingConfig
sourceimpl PartialEq<ErrorHandlingConfig> for ErrorHandlingConfig
impl PartialEq<ErrorHandlingConfig> for ErrorHandlingConfig
sourcefn eq(&self, other: &ErrorHandlingConfig) -> bool
fn eq(&self, other: &ErrorHandlingConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ErrorHandlingConfig) -> bool
fn ne(&self, other: &ErrorHandlingConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for ErrorHandlingConfig
Auto Trait Implementations
impl RefUnwindSafe for ErrorHandlingConfig
impl Send for ErrorHandlingConfig
impl Sync for ErrorHandlingConfig
impl Unpin for ErrorHandlingConfig
impl UnwindSafe for ErrorHandlingConfig
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> 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