Struct aws_sdk_iot::model::FirehoseAction [−][src]
#[non_exhaustive]pub struct FirehoseAction {
pub role_arn: Option<String>,
pub delivery_stream_name: Option<String>,
pub separator: Option<String>,
pub batch_mode: Option<bool>,
}
Expand description
Describes an action that writes data to an Amazon Kinesis Firehose stream.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: Option<String>
The IAM role that grants access to the Amazon Kinesis Firehose stream.
delivery_stream_name: Option<String>
The delivery stream name.
separator: Option<String>
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).
batch_mode: Option<bool>
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.
Implementations
The IAM role that grants access to the Amazon Kinesis Firehose stream.
The delivery stream name.
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).
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.
Creates a new builder-style object to manufacture FirehoseAction
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FirehoseAction
impl Send for FirehoseAction
impl Sync for FirehoseAction
impl Unpin for FirehoseAction
impl UnwindSafe for FirehoseAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more