#[non_exhaustive]pub struct ReferenceDataSourceUpdate {
pub reference_id: String,
pub table_name_update: Option<String>,
pub s3_reference_data_source_update: Option<S3ReferenceDataSourceUpdate>,
pub reference_schema_update: Option<SourceSchema>,
}
Expand description
When you update a reference data source configuration for a SQL-based Kinesis Data Analytics application, this object provides all the updated values (such as the source bucket name and object key name), the in-application table name that is created, and updated mapping information that maps the data in the Amazon S3 object to the in-application reference table that is created.
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.reference_id: String
The ID of the reference data source that is being updated. You can use the DescribeApplication
operation to get this value.
table_name_update: Option<String>
The in-application table name that is created by this update.
s3_reference_data_source_update: Option<S3ReferenceDataSourceUpdate>
Describes the S3 bucket name, object key name, and IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table.
reference_schema_update: Option<SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Implementations§
source§impl ReferenceDataSourceUpdate
impl ReferenceDataSourceUpdate
sourcepub fn reference_id(&self) -> &str
pub fn reference_id(&self) -> &str
The ID of the reference data source that is being updated. You can use the DescribeApplication
operation to get this value.
sourcepub fn table_name_update(&self) -> Option<&str>
pub fn table_name_update(&self) -> Option<&str>
The in-application table name that is created by this update.
sourcepub fn s3_reference_data_source_update(
&self
) -> Option<&S3ReferenceDataSourceUpdate>
pub fn s3_reference_data_source_update( &self ) -> Option<&S3ReferenceDataSourceUpdate>
Describes the S3 bucket name, object key name, and IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table.
sourcepub fn reference_schema_update(&self) -> Option<&SourceSchema>
pub fn reference_schema_update(&self) -> Option<&SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
source§impl ReferenceDataSourceUpdate
impl ReferenceDataSourceUpdate
sourcepub fn builder() -> ReferenceDataSourceUpdateBuilder
pub fn builder() -> ReferenceDataSourceUpdateBuilder
Creates a new builder-style object to manufacture ReferenceDataSourceUpdate
.
Trait Implementations§
source§impl Clone for ReferenceDataSourceUpdate
impl Clone for ReferenceDataSourceUpdate
source§fn clone(&self) -> ReferenceDataSourceUpdate
fn clone(&self) -> ReferenceDataSourceUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReferenceDataSourceUpdate
impl Debug for ReferenceDataSourceUpdate
source§impl PartialEq for ReferenceDataSourceUpdate
impl PartialEq for ReferenceDataSourceUpdate
source§fn eq(&self, other: &ReferenceDataSourceUpdate) -> bool
fn eq(&self, other: &ReferenceDataSourceUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReferenceDataSourceUpdate
Auto Trait Implementations§
impl Freeze for ReferenceDataSourceUpdate
impl RefUnwindSafe for ReferenceDataSourceUpdate
impl Send for ReferenceDataSourceUpdate
impl Sync for ReferenceDataSourceUpdate
impl Unpin for ReferenceDataSourceUpdate
impl UnwindSafe for ReferenceDataSourceUpdate
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> 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