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 |
Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application. An input processor pre-processes records on the input stream before the application's SQL code executes. Currently, the only input processor available is Amazon 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' {}
- newAddApplicationInputProcessingConfigurationResponse :: Int -> AddApplicationInputProcessingConfigurationResponse
- addApplicationInputProcessingConfigurationResponse_applicationARN :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe Text)
- addApplicationInputProcessingConfigurationResponse_applicationVersionId :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe Natural)
- addApplicationInputProcessingConfigurationResponse_inputId :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe Text)
- addApplicationInputProcessingConfigurationResponse_inputProcessingConfigurationDescription :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe InputProcessingConfigurationDescription)
- 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
- The name of the application to which you want to add the input
processing configuration.
$sel:currentApplicationVersionId:AddApplicationInputProcessingConfiguration'
, addApplicationInputProcessingConfiguration_currentApplicationVersionId
- The 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 #
The name of the application to which you want to add the input processing configuration.
addApplicationInputProcessingConfiguration_currentApplicationVersionId :: Lens' AddApplicationInputProcessingConfiguration Natural Source #
The 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:applicationARN:AddApplicationInputProcessingConfigurationResponse'
, addApplicationInputProcessingConfigurationResponse_applicationARN
- The Amazon Resource Name (ARN) of the application.
$sel:applicationVersionId:AddApplicationInputProcessingConfigurationResponse'
, addApplicationInputProcessingConfigurationResponse_applicationVersionId
- Provides the current application version.
$sel:inputId:AddApplicationInputProcessingConfiguration'
, addApplicationInputProcessingConfigurationResponse_inputId
- The input ID that is associated with the application input. This is the
ID that Kinesis Data Analytics assigns to each input configuration that
you add to your application.
$sel:inputProcessingConfigurationDescription:AddApplicationInputProcessingConfigurationResponse'
, addApplicationInputProcessingConfigurationResponse_inputProcessingConfigurationDescription
- The description of the preprocessor that executes on records in this
input before the application's code is run.
$sel:httpStatus:AddApplicationInputProcessingConfigurationResponse'
, addApplicationInputProcessingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
addApplicationInputProcessingConfigurationResponse_applicationARN :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the application.
addApplicationInputProcessingConfigurationResponse_applicationVersionId :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe Natural) Source #
Provides the current application version.
addApplicationInputProcessingConfigurationResponse_inputId :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe Text) Source #
The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.
addApplicationInputProcessingConfigurationResponse_inputProcessingConfigurationDescription :: Lens' AddApplicationInputProcessingConfigurationResponse (Maybe InputProcessingConfigurationDescription) Source #
The description of the preprocessor that executes on records in this input before the application's code is run.
addApplicationInputProcessingConfigurationResponse_httpStatus :: Lens' AddApplicationInputProcessingConfigurationResponse Int Source #
The response's http status code.