Struct aws_sdk_appflow::types::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§
source§impl 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.
source§impl ErrorHandlingConfig
impl ErrorHandlingConfig
sourcepub fn builder() -> ErrorHandlingConfigBuilder
pub fn builder() -> ErrorHandlingConfigBuilder
Creates a new builder-style object to manufacture ErrorHandlingConfig
.
Trait Implementations§
source§impl Clone for ErrorHandlingConfig
impl Clone for ErrorHandlingConfig
source§fn clone(&self) -> ErrorHandlingConfig
fn clone(&self) -> ErrorHandlingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ErrorHandlingConfig
impl Debug for ErrorHandlingConfig
source§impl PartialEq for ErrorHandlingConfig
impl PartialEq for ErrorHandlingConfig
source§fn eq(&self, other: &ErrorHandlingConfig) -> bool
fn eq(&self, other: &ErrorHandlingConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ErrorHandlingConfig
Auto Trait Implementations§
impl Freeze for ErrorHandlingConfig
impl RefUnwindSafe for ErrorHandlingConfig
impl Send for ErrorHandlingConfig
impl Sync for ErrorHandlingConfig
impl Unpin for ErrorHandlingConfig
impl UnwindSafe for ErrorHandlingConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more