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 FirehoseAction = FirehoseAction' {}
- newFirehoseAction :: Text -> Text -> FirehoseAction
- firehoseAction_batchMode :: Lens' FirehoseAction (Maybe Bool)
- firehoseAction_separator :: Lens' FirehoseAction (Maybe Text)
- firehoseAction_roleArn :: Lens' FirehoseAction Text
- firehoseAction_deliveryStreamName :: Lens' FirehoseAction Text
Documentation
data FirehoseAction Source #
Describes an action that writes data to an Amazon Kinesis Firehose stream.
See: newFirehoseAction
smart constructor.
FirehoseAction' | |
|
Instances
Create a value of FirehoseAction
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:batchMode:FirehoseAction'
, firehoseAction_batchMode
- Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an
Array, each Array element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
$sel:separator:FirehoseAction'
, firehoseAction_separator
- A character separator that will be used to separate records written to
the Firehose stream. Valid values are: '\n' (newline), '\t' (tab),
'\r\n' (Windows newline), ',' (comma).
$sel:roleArn:FirehoseAction'
, firehoseAction_roleArn
- The IAM role that grants access to the Amazon Kinesis Firehose stream.
$sel:deliveryStreamName:FirehoseAction'
, firehoseAction_deliveryStreamName
- The delivery stream name.
firehoseAction_batchMode :: Lens' FirehoseAction (Maybe Bool) Source #
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an
Array, each Array element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
firehoseAction_separator :: Lens' FirehoseAction (Maybe Text) Source #
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
firehoseAction_roleArn :: Lens' FirehoseAction Text Source #
The IAM role that grants access to the Amazon Kinesis Firehose stream.
firehoseAction_deliveryStreamName :: Lens' FirehoseAction Text Source #
The delivery stream name.