Struct aws_sdk_iot::model::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
sourceimpl 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.
sourceimpl IotAnalyticsAction
impl IotAnalyticsAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IotAnalyticsAction
Trait Implementations
sourceimpl Clone for IotAnalyticsAction
impl Clone for IotAnalyticsAction
sourcefn clone(&self) -> IotAnalyticsAction
fn clone(&self) -> IotAnalyticsAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IotAnalyticsAction
impl Debug for IotAnalyticsAction
sourceimpl PartialEq<IotAnalyticsAction> for IotAnalyticsAction
impl PartialEq<IotAnalyticsAction> for IotAnalyticsAction
sourcefn eq(&self, other: &IotAnalyticsAction) -> bool
fn eq(&self, other: &IotAnalyticsAction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IotAnalyticsAction) -> bool
fn ne(&self, other: &IotAnalyticsAction) -> bool
This method tests for !=
.
impl StructuralPartialEq for IotAnalyticsAction
Auto Trait Implementations
impl RefUnwindSafe for IotAnalyticsAction
impl Send for IotAnalyticsAction
impl Sync for IotAnalyticsAction
impl Unpin for IotAnalyticsAction
impl UnwindSafe for IotAnalyticsAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more