Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
:: 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:
aaiApplicationName
- Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.aaiCurrentApplicationVersionId
- Current version of your Amazon Kinesis Analytics application. You can use theDescribeApplication
operation to find the current application version.aaiInput
- TheInput
to add.
data AddApplicationInput Source #
See: addApplicationInput
smart constructor.
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 #
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:
aairsResponseStatus
- -- | The response status code.
data AddApplicationInputResponse Source #
See: addApplicationInputResponse
smart constructor.
Response Lenses
aairsResponseStatus :: Lens' AddApplicationInputResponse Int Source #
- - | The response status code.