Struct aws_sdk_iot::types::IotAnalyticsAction
source · #[non_exhaustive]pub struct IotAnalyticsAction {
pub channel_arn: Option<String>,
pub channel_name: Option<String>,
pub batch_mode: Option<bool>,
pub role_arn: Option<String>,
}
Expand description
Sends message data to an IoT Analytics channel.
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.channel_arn: Option<String>
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
channel_name: Option<String>
The name of the IoT Analytics channel to which message data will be sent.
batch_mode: Option<bool>
Whether to process the action as a batch. The default value is false
.
When batchMode
is true
and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage
to the IoT Analytics channel. The resulting array can't have more than 100 messages.
role_arn: Option<String>
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
Implementations§
source§impl IotAnalyticsAction
impl IotAnalyticsAction
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name of the IoT Analytics channel to which message data will be sent.
sourcepub fn batch_mode(&self) -> Option<bool>
pub fn batch_mode(&self) -> Option<bool>
Whether to process the action as a batch. The default value is false
.
When batchMode
is true
and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage
to the IoT Analytics channel. The resulting array can't have more than 100 messages.
source§impl IotAnalyticsAction
impl IotAnalyticsAction
sourcepub fn builder() -> IotAnalyticsActionBuilder
pub fn builder() -> IotAnalyticsActionBuilder
Creates a new builder-style object to manufacture IotAnalyticsAction
.
Trait Implementations§
source§impl Clone for IotAnalyticsAction
impl Clone for IotAnalyticsAction
source§fn clone(&self) -> IotAnalyticsAction
fn clone(&self) -> IotAnalyticsAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IotAnalyticsAction
impl Debug for IotAnalyticsAction
source§impl PartialEq for IotAnalyticsAction
impl PartialEq for IotAnalyticsAction
source§fn eq(&self, other: &IotAnalyticsAction) -> bool
fn eq(&self, other: &IotAnalyticsAction) -> bool
self
and other
values to be equal, and is used
by ==
.