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
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
impl InputDescription
sourcepub fn input_id(&self) -> Option<&str>
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.
sourcepub fn name_prefix(&self) -> Option<&str>
pub fn name_prefix(&self) -> Option<&str>
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 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.
sourcepub fn kinesis_firehose_input_description(
&self
) -> Option<&KinesisFirehoseInputDescription>
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.
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>
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 ==
.impl StructuralPartialEq for InputDescription
Auto Trait Implementations§
impl Freeze for InputDescription
impl RefUnwindSafe for InputDescription
impl Send for InputDescription
impl Sync for InputDescription
impl Unpin for InputDescription
impl UnwindSafe for InputDescription
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