Struct aws_sdk_kinesisanalytics::types::InputDescription

source ·
#[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 more information, see Configuring Application Input.

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>

Input ID associated with the application input. This is the ID that Amazon Kinesis Analytics assigns to each input configuration you add to your application.

§name_prefix: Option<String>

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 an Amazon Kinesis stream is configured as streaming source, provides Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

§kinesis_firehose_input_description: Option<KinesisFirehoseInputDescription>

If an Amazon Kinesis Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

§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>

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>

Input ID associated with the application input. This is the ID that Amazon Kinesis Analytics assigns to each input configuration you add to your application.

source

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

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 an Amazon Kinesis stream is configured as streaming source, provides Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

source

pub fn kinesis_firehose_input_description( &self ) -> Option<&KinesisFirehoseInputDescription>

If an Amazon Kinesis Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

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>

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 T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where 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 T
where 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 T
where 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 T
where 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