#[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 ==.impl StructuralPartialEq for UpdatePipelineInput
Auto Trait Implementations§
impl Freeze for UpdatePipelineInput
impl RefUnwindSafe for UpdatePipelineInput
impl Send for UpdatePipelineInput
impl Sync for UpdatePipelineInput
impl Unpin for UpdatePipelineInput
impl UnwindSafe for UpdatePipelineInput
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> 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