Copyright | (c) 2013-2021 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 |
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 an InputProcessingConfiguration to an application. An input processor preprocesses records on the input stream before the application's SQL code executes. Currently, the only input processor available is AWS Lambda.
Synopsis
- data AddApplicationInputProcessingConfiguration = AddApplicationInputProcessingConfiguration' {}
- newAddApplicationInputProcessingConfiguration :: Text -> Natural -> Text -> InputProcessingConfiguration -> AddApplicationInputProcessingConfiguration
- addApplicationInputProcessingConfiguration_applicationName :: Lens' AddApplicationInputProcessingConfiguration Text
- addApplicationInputProcessingConfiguration_currentApplicationVersionId :: Lens' AddApplicationInputProcessingConfiguration Natural
- addApplicationInputProcessingConfiguration_inputId :: Lens' AddApplicationInputProcessingConfiguration Text
- addApplicationInputProcessingConfiguration_inputProcessingConfiguration :: Lens' AddApplicationInputProcessingConfiguration InputProcessingConfiguration
- data AddApplicationInputProcessingConfigurationResponse = AddApplicationInputProcessingConfigurationResponse' {
- httpStatus :: Int
- newAddApplicationInputProcessingConfigurationResponse :: Int -> AddApplicationInputProcessingConfigurationResponse
- addApplicationInputProcessingConfigurationResponse_httpStatus :: Lens' AddApplicationInputProcessingConfigurationResponse Int
Creating a Request
data AddApplicationInputProcessingConfiguration Source #
See: newAddApplicationInputProcessingConfiguration
smart constructor.
AddApplicationInputProcessingConfiguration' | |
|
Instances
newAddApplicationInputProcessingConfiguration Source #
Create a value of AddApplicationInputProcessingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applicationName:AddApplicationInputProcessingConfiguration'
, addApplicationInputProcessingConfiguration_applicationName
- Name of the application to which you want to add the input processing
configuration.
$sel:currentApplicationVersionId:AddApplicationInputProcessingConfiguration'
, addApplicationInputProcessingConfiguration_currentApplicationVersionId
- Version of the application to which you want to add the input processing
configuration. 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.
$sel:inputId:AddApplicationInputProcessingConfiguration'
, addApplicationInputProcessingConfiguration_inputId
- The ID of the input configuration to add the input processing
configuration to. You can get a list of the input IDs for an application
using the
DescribeApplication
operation.
$sel:inputProcessingConfiguration:AddApplicationInputProcessingConfiguration'
, addApplicationInputProcessingConfiguration_inputProcessingConfiguration
- The
InputProcessingConfiguration
to add to the application.
Request Lenses
addApplicationInputProcessingConfiguration_applicationName :: Lens' AddApplicationInputProcessingConfiguration Text Source #
Name of the application to which you want to add the input processing configuration.
addApplicationInputProcessingConfiguration_currentApplicationVersionId :: Lens' AddApplicationInputProcessingConfiguration Natural Source #
Version of the application to which you want to add the input processing
configuration. 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.
addApplicationInputProcessingConfiguration_inputId :: Lens' AddApplicationInputProcessingConfiguration Text Source #
The ID of the input configuration to add the input processing configuration to. You can get a list of the input IDs for an application using the DescribeApplication operation.
addApplicationInputProcessingConfiguration_inputProcessingConfiguration :: Lens' AddApplicationInputProcessingConfiguration InputProcessingConfiguration Source #
The InputProcessingConfiguration to add to the application.
Destructuring the Response
data AddApplicationInputProcessingConfigurationResponse Source #
See: newAddApplicationInputProcessingConfigurationResponse
smart constructor.
AddApplicationInputProcessingConfigurationResponse' | |
|
Instances
newAddApplicationInputProcessingConfigurationResponse Source #
:: Int |
|
-> AddApplicationInputProcessingConfigurationResponse |
Create a value of AddApplicationInputProcessingConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:AddApplicationInputProcessingConfigurationResponse'
, addApplicationInputProcessingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
addApplicationInputProcessingConfigurationResponse_httpStatus :: Lens' AddApplicationInputProcessingConfigurationResponse Int Source #
The response's http status code.