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
impl StructuralPartialEq for IotAnalyticsAction
Auto Trait Implementations§
impl Freeze for IotAnalyticsAction
impl RefUnwindSafe for IotAnalyticsAction
impl Send for IotAnalyticsAction
impl Sync for IotAnalyticsAction
impl Unpin for IotAnalyticsAction
impl UnwindSafe for IotAnalyticsAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more