#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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

source

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.

source

pub fn name_prefix(&self) -> Option<&str>

The in-application name prefix.

source

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().

source

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.

source

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).

source

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.

source

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.

source

pub fn input_parallelism(&self) -> Option<&InputParallelism>

Describes the configured parallelism (number of in-application streams mapped to the streaming source).

source

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

source

pub fn builder() -> InputDescriptionBuilder

Creates a new builder-style object to manufacture InputDescription.

Trait Implementations§

source§

impl Clone for InputDescription

source§

fn clone(&self) -> InputDescription

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputDescription

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for InputDescription

source§

fn eq(&self, other: &InputDescription) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for InputDescription

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more