#[non_exhaustive]pub struct UpdatePipelineInput {
pub pipeline_name: Option<String>,
pub pipeline_activities: Option<Vec<PipelineActivity>>,
}
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.pipeline_name: Option<String>
The name of the pipeline to update.
pipeline_activities: Option<Vec<PipelineActivity>>
A list of PipelineActivity
objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity
objects and must contain both a channel
and a datastore
activity. Each entry in the list must contain only one activity. For example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
Implementations§
source§impl UpdatePipelineInput
impl UpdatePipelineInput
sourcepub fn pipeline_name(&self) -> Option<&str>
pub fn pipeline_name(&self) -> Option<&str>
The name of the pipeline to update.
sourcepub fn pipeline_activities(&self) -> &[PipelineActivity]
pub fn pipeline_activities(&self) -> &[PipelineActivity]
A list of PipelineActivity
objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity
objects and must contain both a channel
and a datastore
activity. Each entry in the list must contain only one activity. For example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pipeline_activities.is_none()
.
source§impl UpdatePipelineInput
impl UpdatePipelineInput
sourcepub fn builder() -> UpdatePipelineInputBuilder
pub fn builder() -> UpdatePipelineInputBuilder
Creates a new builder-style object to manufacture UpdatePipelineInput
.
Trait Implementations§
source§impl Clone for UpdatePipelineInput
impl Clone for UpdatePipelineInput
source§fn clone(&self) -> UpdatePipelineInput
fn clone(&self) -> UpdatePipelineInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdatePipelineInput
impl Debug for UpdatePipelineInput
source§impl PartialEq for UpdatePipelineInput
impl PartialEq for UpdatePipelineInput
source§fn eq(&self, other: &UpdatePipelineInput) -> bool
fn eq(&self, other: &UpdatePipelineInput) -> bool
self
and other
values to be equal, and is used
by ==
.