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.
This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which
only supports SQL applications. Version 2 of the API supports SQL and Java applications.
For more information about version 2, see Amazon
Kinesis Data Analytics API V2 Documentation.
Adds a streaming source to your Amazon Kinesis application. For conceptual information, see Configuring Application Input.
You can add a streaming source either when you create an application or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication.
Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.
This operation requires permissions to perform the kinesisanalytics:AddApplicationInput
action.
For .NET Core this operation is only available in asynchronous form. Please refer to AddApplicationInputAsync.
Namespace: Amazon.KinesisAnalytics
Assembly: AWSSDK.KinesisAnalytics.dll
Version: 3.x.y.z
public virtual AddApplicationInputResponse AddApplicationInput( AddApplicationInputRequest request )
Container for the necessary parameters to execute the AddApplicationInput service method.
Exception | Condition |
---|---|
CodeValidationException | User-provided application code (query) is invalid. This can be a simple syntax error. |
ConcurrentModificationException | Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. |
InvalidArgumentException | Specified input parameter value is invalid. |
ResourceInUseException | Application is not available for this operation. |
ResourceNotFoundException | Specified application can't be found. |
UnsupportedOperationException | The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5