| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.KinesisAnalytics.AddApplicationInput
Description
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.
- addApplicationInput :: Text -> Natural -> Input -> AddApplicationInput
- data AddApplicationInput
- aaiApplicationName :: Lens' AddApplicationInput Text
- aaiCurrentApplicationVersionId :: Lens' AddApplicationInput Natural
- aaiInput :: Lens' AddApplicationInput Input
- addApplicationInputResponse :: Int -> AddApplicationInputResponse
- data AddApplicationInputResponse
- aairsResponseStatus :: Lens' AddApplicationInputResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Natural | |
| -> Input | |
| -> AddApplicationInput |
Creates a value of AddApplicationInput with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddApplicationInput Source #
See: addApplicationInput smart constructor.
Instances
Request Lenses
aaiApplicationName :: Lens' AddApplicationInput Text Source #
Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.
aaiCurrentApplicationVersionId :: Lens' AddApplicationInput Natural Source #
Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version.
Destructuring the Response
addApplicationInputResponse Source #
Arguments
| :: Int | |
| -> AddApplicationInputResponse |
Creates a value of AddApplicationInputResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddApplicationInputResponse Source #
See: addApplicationInputResponse smart constructor.
Instances
Response Lenses
aairsResponseStatus :: Lens' AddApplicationInputResponse Int Source #
The response status code.