Struct aws_sdk_kinesisanalyticsv2::client::fluent_builders::DiscoverInputSchema [−][src]
pub struct DiscoverInputSchema<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DiscoverInputSchema
.
Infers a schema for a SQL-based Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.
You can use the inferred schema when configuring a streaming source for your application. When you create an application using the Kinesis Data Analytics console, the console uses this operation to infer a schema and show it in the console user interface.
Implementations
impl<C, M, R> DiscoverInputSchema<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DiscoverInputSchema<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DiscoverInputSchemaOutput, SdkError<DiscoverInputSchemaError>> where
R::Policy: SmithyRetryPolicy<DiscoverInputSchemaInputOperationOutputAlias, DiscoverInputSchemaOutput, DiscoverInputSchemaError, DiscoverInputSchemaInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DiscoverInputSchemaOutput, SdkError<DiscoverInputSchemaError>> where
R::Policy: SmithyRetryPolicy<DiscoverInputSchemaInputOperationOutputAlias, DiscoverInputSchemaOutput, DiscoverInputSchemaError, DiscoverInputSchemaInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the streaming source.
The Amazon Resource Name (ARN) of the streaming source.
The ARN of the role that is used to access the streaming source.
The ARN of the role that is used to access the streaming source.
pub fn input_starting_position_configuration(
self,
inp: InputStartingPositionConfiguration
) -> Self
pub fn input_starting_position_configuration(
self,
inp: InputStartingPositionConfiguration
) -> Self
The point at which you want Kinesis Data Analytics to start reading records from the specified streaming source discovery purposes.
pub fn set_input_starting_position_configuration(
self,
input: Option<InputStartingPositionConfiguration>
) -> Self
pub fn set_input_starting_position_configuration(
self,
input: Option<InputStartingPositionConfiguration>
) -> Self
The point at which you want Kinesis Data Analytics to start reading records from the specified streaming source discovery purposes.
Specify this parameter to discover a schema from data in an Amazon S3 object.
Specify this parameter to discover a schema from data in an Amazon S3 object.
The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records.
pub fn set_input_processing_configuration(
self,
input: Option<InputProcessingConfiguration>
) -> Self
pub fn set_input_processing_configuration(
self,
input: Option<InputProcessingConfiguration>
) -> Self
The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DiscoverInputSchema<C, M, R>
impl<C, M, R> Send for DiscoverInputSchema<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DiscoverInputSchema<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DiscoverInputSchema<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DiscoverInputSchema<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more