Struct aws_sdk_iotanalytics::types::PipelineActivity
source · #[non_exhaustive]pub struct PipelineActivity {
pub channel: Option<ChannelActivity>,
pub lambda: Option<LambdaActivity>,
pub datastore: Option<DatastoreActivity>,
pub add_attributes: Option<AddAttributesActivity>,
pub remove_attributes: Option<RemoveAttributesActivity>,
pub select_attributes: Option<SelectAttributesActivity>,
pub filter: Option<FilterActivity>,
pub math: Option<MathActivity>,
pub device_registry_enrich: Option<DeviceRegistryEnrichActivity>,
pub device_shadow_enrich: Option<DeviceShadowEnrichActivity>,
}
Expand description
An activity that performs a transformation on a message.
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: Option<ChannelActivity>
Determines the source of the messages to be processed.
lambda: Option<LambdaActivity>
Runs a Lambda function to modify the message.
datastore: Option<DatastoreActivity>
Specifies where to store the processed message data.
add_attributes: Option<AddAttributesActivity>
Adds other attributes based on existing attributes in the message.
remove_attributes: Option<RemoveAttributesActivity>
Removes attributes from a message.
select_attributes: Option<SelectAttributesActivity>
Used to create a new message using only the specified attributes from the original message.
filter: Option<FilterActivity>
Filters a message based on its attributes.
math: Option<MathActivity>
Computes an arithmetic expression using the message's attributes and adds it to the message.
device_registry_enrich: Option<DeviceRegistryEnrichActivity>
Adds data from the IoT device registry to your message.
device_shadow_enrich: Option<DeviceShadowEnrichActivity>
Adds information from the IoT Device Shadow service to a message.
Implementations§
source§impl PipelineActivity
impl PipelineActivity
sourcepub fn channel(&self) -> Option<&ChannelActivity>
pub fn channel(&self) -> Option<&ChannelActivity>
Determines the source of the messages to be processed.
sourcepub fn lambda(&self) -> Option<&LambdaActivity>
pub fn lambda(&self) -> Option<&LambdaActivity>
Runs a Lambda function to modify the message.
sourcepub fn datastore(&self) -> Option<&DatastoreActivity>
pub fn datastore(&self) -> Option<&DatastoreActivity>
Specifies where to store the processed message data.
sourcepub fn add_attributes(&self) -> Option<&AddAttributesActivity>
pub fn add_attributes(&self) -> Option<&AddAttributesActivity>
Adds other attributes based on existing attributes in the message.
sourcepub fn remove_attributes(&self) -> Option<&RemoveAttributesActivity>
pub fn remove_attributes(&self) -> Option<&RemoveAttributesActivity>
Removes attributes from a message.
sourcepub fn select_attributes(&self) -> Option<&SelectAttributesActivity>
pub fn select_attributes(&self) -> Option<&SelectAttributesActivity>
Used to create a new message using only the specified attributes from the original message.
sourcepub fn filter(&self) -> Option<&FilterActivity>
pub fn filter(&self) -> Option<&FilterActivity>
Filters a message based on its attributes.
sourcepub fn math(&self) -> Option<&MathActivity>
pub fn math(&self) -> Option<&MathActivity>
Computes an arithmetic expression using the message's attributes and adds it to the message.
sourcepub fn device_registry_enrich(&self) -> Option<&DeviceRegistryEnrichActivity>
pub fn device_registry_enrich(&self) -> Option<&DeviceRegistryEnrichActivity>
Adds data from the IoT device registry to your message.
sourcepub fn device_shadow_enrich(&self) -> Option<&DeviceShadowEnrichActivity>
pub fn device_shadow_enrich(&self) -> Option<&DeviceShadowEnrichActivity>
Adds information from the IoT Device Shadow service to a message.
source§impl PipelineActivity
impl PipelineActivity
sourcepub fn builder() -> PipelineActivityBuilder
pub fn builder() -> PipelineActivityBuilder
Creates a new builder-style object to manufacture PipelineActivity
.
Trait Implementations§
source§impl Clone for PipelineActivity
impl Clone for PipelineActivity
source§fn clone(&self) -> PipelineActivity
fn clone(&self) -> PipelineActivity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineActivity
impl Debug for PipelineActivity
source§impl PartialEq for PipelineActivity
impl PartialEq for PipelineActivity
source§fn eq(&self, other: &PipelineActivity) -> bool
fn eq(&self, other: &PipelineActivity) -> bool
self
and other
values to be equal, and is used
by ==
.