AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to AddApplicationReferenceDataSourceAsync.

Namespace: Amazon.KinesisAnalyticsV2
Assembly: AWSSDK.KinesisAnalyticsV2.dll
Version: 3.x.y.z

Syntax

C#
public abstract AddApplicationReferenceDataSourceResponse AddApplicationReferenceDataSource(
         AddApplicationReferenceDataSourceRequest request
)

Parameters

request
Type: Amazon.KinesisAnalyticsV2.Model.AddApplicationReferenceDataSourceRequest

Container for the necessary parameters to execute the AddApplicationReferenceDataSource service method.

Return Value


The response from the AddApplicationReferenceDataSource service method, as returned by KinesisAnalyticsV2.

Exceptions

ExceptionCondition
ConcurrentModificationException Exception thrown as a result of concurrent modifications to an application. This error can be the result of attempting to modify an application without using the current application ID.
InvalidArgumentException The specified input parameter value is not valid.
InvalidRequestException The request JSON is not valid for the operation.
ResourceInUseException The application is not available for this operation.
ResourceNotFoundException Specified application can't be found.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also