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 |
Synopsis
- data Input = Input' {}
- newInput :: Text -> SourceSchema -> Input
- input_inputParallelism :: Lens' Input (Maybe InputParallelism)
- input_inputProcessingConfiguration :: Lens' Input (Maybe InputProcessingConfiguration)
- input_kinesisStreamsInput :: Lens' Input (Maybe KinesisStreamsInput)
- input_kinesisFirehoseInput :: Lens' Input (Maybe KinesisFirehoseInput)
- input_namePrefix :: Lens' Input Text
- input_inputSchema :: Lens' Input SourceSchema
Documentation
When you configure the application input, you specify the streaming source, the in-application stream name that is created, and the mapping between the two. For more information, see Configuring Application Input.
See: newInput
smart constructor.
Input' | |
|
Instances
Create a value of Input
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:inputParallelism:Input'
, input_inputParallelism
- Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
(see Configuring Application Input.
$sel:inputProcessingConfiguration:Input'
, input_inputProcessingConfiguration
- The
InputProcessingConfiguration
for the input. An input processor transforms records as they are
received from the stream, before the application's SQL code executes.
Currently, the only input processing configuration available is
InputLambdaProcessor.
$sel:kinesisStreamsInput:Input'
, input_kinesisStreamsInput
- If the streaming source is an Amazon Kinesis stream, identifies the
stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon
Kinesis Analytics to access the stream on your behalf.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is
required.
$sel:kinesisFirehoseInput:Input'
, input_kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Firehose delivery stream,
identifies the delivery stream's ARN and an IAM role that enables
Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is
required.
$sel:namePrefix:Input'
, input_namePrefix
- Name prefix to use when creating an in-application stream. Suppose that
you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics
then creates one or more (as per the InputParallelism
count you
specified) in-application streams with names
"MyInApplicationStream_001," "MyInApplicationStream_002," and so on.
$sel:inputSchema:Input'
, input_inputSchema
- Describes the format of the data in the streaming source, and how each
data element maps to corresponding columns in the in-application stream
that is being created.
Also used to describe the format of the reference data source.
input_inputParallelism :: Lens' Input (Maybe InputParallelism) Source #
Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
input_inputProcessingConfiguration :: Lens' Input (Maybe InputProcessingConfiguration) Source #
The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.
input_kinesisStreamsInput :: Lens' Input (Maybe KinesisStreamsInput) Source #
If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is
required.
input_kinesisFirehoseInput :: Lens' Input (Maybe KinesisFirehoseInput) Source #
If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is
required.
input_namePrefix :: Lens' Input Text Source #
Name prefix to use when creating an in-application stream. Suppose that
you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics
then creates one or more (as per the InputParallelism
count you
specified) in-application streams with names
"MyInApplicationStream_001," "MyInApplicationStream_002," and so on.
input_inputSchema :: Lens' Input SourceSchema Source #
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
Also used to describe the format of the reference data source.