Struct aws_sdk_appflow::types::DataTransferApi
source · #[non_exhaustive]pub struct DataTransferApi {
pub name: Option<String>,
pub type: Option<DataTransferApiType>,
}
Expand description
The API of the connector application that Amazon AppFlow uses to transfer your data.
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.name: Option<String>
The name of the connector application API.
type: Option<DataTransferApiType>
You can specify one of the following types:
- AUTOMATIC
-
The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
- SYNC
-
A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
- ASYNC
-
An asynchronous API. This type of API optimizes a flow for large datasets.
Implementations§
source§impl DataTransferApi
impl DataTransferApi
sourcepub fn type(&self) -> Option<&DataTransferApiType>
pub fn type(&self) -> Option<&DataTransferApiType>
You can specify one of the following types:
- AUTOMATIC
-
The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
- SYNC
-
A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
- ASYNC
-
An asynchronous API. This type of API optimizes a flow for large datasets.
source§impl DataTransferApi
impl DataTransferApi
sourcepub fn builder() -> DataTransferApiBuilder
pub fn builder() -> DataTransferApiBuilder
Creates a new builder-style object to manufacture DataTransferApi
.
Trait Implementations§
source§impl Clone for DataTransferApi
impl Clone for DataTransferApi
source§fn clone(&self) -> DataTransferApi
fn clone(&self) -> DataTransferApi
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataTransferApi
impl Debug for DataTransferApi
source§impl PartialEq for DataTransferApi
impl PartialEq for DataTransferApi
source§fn eq(&self, other: &DataTransferApi) -> bool
fn eq(&self, other: &DataTransferApi) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataTransferApi
Auto Trait Implementations§
impl Freeze for DataTransferApi
impl RefUnwindSafe for DataTransferApi
impl Send for DataTransferApi
impl Sync for DataTransferApi
impl Unpin for DataTransferApi
impl UnwindSafe for DataTransferApi
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