add_application_input_processing_configuration
¶
add_application_input_processing_configuration(
application_name: ApplicationName,
current_application_version_id: ApplicationVersionId,
input_id: Id,
input_processing_configuration: InputProcessingConfiguration,
*,
config_overrides: Optional[KinesisAnalyticsV2ClientConfig] = None,
) -> AddApplicationInputProcessingConfigurationResponse
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.
Parameters:
-
application_name(ApplicationName) –The name of the application to which you want to add the input processing configuration.
-
current_application_version_id(ApplicationVersionId) –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
ConcurrentModificationExceptionis returned. -
input_id(Id) –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.
-
input_processing_configuration(InputProcessingConfiguration) –The InputProcessingConfiguration to add to the application.
Raises:
-
ConcurrentModificationException–Exception thrown as a result of concurrent modifications to an application. This error can be the result of attempting to modify an application without using the current application ID.
-
InvalidArgumentException–The specified input parameter value is not valid.
-
InvalidRequestException–The request JSON is not valid for the operation.
-
ResourceInUseException–The application is not available for this operation.
-
ResourceNotFoundException–Specified application can't be found.
-
UnknownServiceError–The service returned an error code this client does not model.