Struct aws_sdk_kinesisanalyticsv2::client::fluent_builders::AddApplicationReferenceDataSource [−][src]
pub struct AddApplicationReferenceDataSource<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AddApplicationReferenceDataSource
.
Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
Implementations
impl<C, M, R> AddApplicationReferenceDataSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AddApplicationReferenceDataSource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AddApplicationReferenceDataSourceOutput, SdkError<AddApplicationReferenceDataSourceError>> where
R::Policy: SmithyRetryPolicy<AddApplicationReferenceDataSourceInputOperationOutputAlias, AddApplicationReferenceDataSourceOutput, AddApplicationReferenceDataSourceError, AddApplicationReferenceDataSourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AddApplicationReferenceDataSourceOutput, SdkError<AddApplicationReferenceDataSourceError>> where
R::Policy: SmithyRetryPolicy<AddApplicationReferenceDataSourceInputOperationOutputAlias, AddApplicationReferenceDataSourceOutput, AddApplicationReferenceDataSourceError, AddApplicationReferenceDataSourceInputOperationRetryAlias>,
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 name of an existing application.
The name of an existing application.
The version of the application for which you are adding the reference data source.
You can
use the DescribeApplication operation to get the current application
version. If the version specified is not the current version, the
ConcurrentModificationException
is returned.
The version of the application for which you are adding the reference data source.
You can
use the DescribeApplication operation to get the current application
version. If the version specified is not the current version, the
ConcurrentModificationException
is returned.
The reference data source can be an object in your Amazon S3 bucket. Kinesis Data Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created.
The reference data source can be an object in your Amazon S3 bucket. Kinesis Data Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AddApplicationReferenceDataSource<C, M, R>
impl<C, M, R> Send for AddApplicationReferenceDataSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AddApplicationReferenceDataSource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AddApplicationReferenceDataSource<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AddApplicationReferenceDataSource<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