#[non_exhaustive]pub struct InputDescription {
pub input_id: Option<String>,
pub name_prefix: Option<String>,
pub in_app_stream_names: Option<Vec<String>>,
pub input_processing_configuration_description: Option<InputProcessingConfigurationDescription>,
pub kinesis_streams_input_description: Option<KinesisStreamsInputDescription>,
pub kinesis_firehose_input_description: Option<KinesisFirehoseInputDescription>,
pub input_schema: Option<SourceSchema>,
pub input_parallelism: Option<InputParallelism>,
pub input_starting_position_configuration: Option<InputStartingPositionConfiguration>,
}Expand description
Describes the application input configuration for a SQL-based Kinesis Data Analytics application.
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.input_id: Option<String>The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.
name_prefix: Option<String>The in-application name prefix.
in_app_stream_names: Option<Vec<String>>Returns the in-application stream names that are mapped to the stream source.
input_processing_configuration_description: Option<InputProcessingConfigurationDescription>The description of the preprocessor that executes on records in this input before the application's code is run.
kinesis_streams_input_description: Option<KinesisStreamsInputDescription>If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN).
kinesis_firehose_input_description: Option<KinesisFirehoseInputDescription>If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN.
input_schema: Option<SourceSchema>Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
input_parallelism: Option<InputParallelism>Describes the configured parallelism (number of in-application streams mapped to the streaming source).
input_starting_position_configuration: Option<InputStartingPositionConfiguration>The point at which the application is configured to read from the input stream.
Implementations§
source§impl InputDescription
impl InputDescription
sourcepub fn input_id(&self) -> Option<&str>
pub fn input_id(&self) -> Option<&str>
The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.
sourcepub fn name_prefix(&self) -> Option<&str>
pub fn name_prefix(&self) -> Option<&str>
The in-application name prefix.
sourcepub fn in_app_stream_names(&self) -> &[String]
pub fn in_app_stream_names(&self) -> &[String]
Returns the in-application stream names that are mapped to the stream source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .in_app_stream_names.is_none().
sourcepub fn input_processing_configuration_description(
&self
) -> Option<&InputProcessingConfigurationDescription>
pub fn input_processing_configuration_description( &self ) -> Option<&InputProcessingConfigurationDescription>
The description of the preprocessor that executes on records in this input before the application's code is run.
sourcepub fn kinesis_streams_input_description(
&self
) -> Option<&KinesisStreamsInputDescription>
pub fn kinesis_streams_input_description( &self ) -> Option<&KinesisStreamsInputDescription>
If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN).
sourcepub fn kinesis_firehose_input_description(
&self
) -> Option<&KinesisFirehoseInputDescription>
pub fn kinesis_firehose_input_description( &self ) -> Option<&KinesisFirehoseInputDescription>
If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN.
sourcepub fn input_schema(&self) -> Option<&SourceSchema>
pub fn input_schema(&self) -> Option<&SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
sourcepub fn input_parallelism(&self) -> Option<&InputParallelism>
pub fn input_parallelism(&self) -> Option<&InputParallelism>
Describes the configured parallelism (number of in-application streams mapped to the streaming source).
sourcepub fn input_starting_position_configuration(
&self
) -> Option<&InputStartingPositionConfiguration>
pub fn input_starting_position_configuration( &self ) -> Option<&InputStartingPositionConfiguration>
The point at which the application is configured to read from the input stream.
source§impl InputDescription
impl InputDescription
sourcepub fn builder() -> InputDescriptionBuilder
pub fn builder() -> InputDescriptionBuilder
Creates a new builder-style object to manufacture InputDescription.
Trait Implementations§
source§impl Clone for InputDescription
impl Clone for InputDescription
source§fn clone(&self) -> InputDescription
fn clone(&self) -> InputDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InputDescription
impl Debug for InputDescription
source§impl PartialEq for InputDescription
impl PartialEq for InputDescription
source§fn eq(&self, other: &InputDescription) -> bool
fn eq(&self, other: &InputDescription) -> bool
self and other values to be equal, and is used
by ==.