#[non_exhaustive]pub struct SapoDataDestinationProperties {
pub object_path: String,
pub success_response_handling_config: Option<SuccessResponseHandlingConfig>,
pub id_field_names: Option<Vec<String>>,
pub error_handling_config: Option<ErrorHandlingConfig>,
pub write_operation_type: Option<WriteOperationType>,
}
Expand description
The properties that are applied when using SAPOData as a flow destination
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.object_path: String
The object path specified in the SAPOData flow destination.
success_response_handling_config: Option<SuccessResponseHandlingConfig>
Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.
For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
id_field_names: Option<Vec<String>>
A list of field names that can be used as an ID field when performing a write operation.
error_handling_config: Option<ErrorHandlingConfig>
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.
write_operation_type: Option<WriteOperationType>
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
Implementations§
source§impl SapoDataDestinationProperties
impl SapoDataDestinationProperties
sourcepub fn object_path(&self) -> &str
pub fn object_path(&self) -> &str
The object path specified in the SAPOData flow destination.
sourcepub fn success_response_handling_config(
&self,
) -> Option<&SuccessResponseHandlingConfig>
pub fn success_response_handling_config( &self, ) -> Option<&SuccessResponseHandlingConfig>
Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.
For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
sourcepub fn id_field_names(&self) -> &[String]
pub fn id_field_names(&self) -> &[String]
A list of field names that can be used as an ID field when performing a write operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .id_field_names.is_none()
.
sourcepub fn error_handling_config(&self) -> Option<&ErrorHandlingConfig>
pub fn error_handling_config(&self) -> Option<&ErrorHandlingConfig>
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.
sourcepub fn write_operation_type(&self) -> Option<&WriteOperationType>
pub fn write_operation_type(&self) -> Option<&WriteOperationType>
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
source§impl SapoDataDestinationProperties
impl SapoDataDestinationProperties
sourcepub fn builder() -> SapoDataDestinationPropertiesBuilder
pub fn builder() -> SapoDataDestinationPropertiesBuilder
Creates a new builder-style object to manufacture SapoDataDestinationProperties
.
Trait Implementations§
source§impl Clone for SapoDataDestinationProperties
impl Clone for SapoDataDestinationProperties
source§fn clone(&self) -> SapoDataDestinationProperties
fn clone(&self) -> SapoDataDestinationProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SapoDataDestinationProperties
impl PartialEq for SapoDataDestinationProperties
source§fn eq(&self, other: &SapoDataDestinationProperties) -> bool
fn eq(&self, other: &SapoDataDestinationProperties) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SapoDataDestinationProperties
Auto Trait Implementations§
impl Freeze for SapoDataDestinationProperties
impl RefUnwindSafe for SapoDataDestinationProperties
impl Send for SapoDataDestinationProperties
impl Sync for SapoDataDestinationProperties
impl Unpin for SapoDataDestinationProperties
impl UnwindSafe for SapoDataDestinationProperties
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