Struct aws_sdk_iotanalytics::client::fluent_builders::UpdatePipeline   
source · [−]pub struct UpdatePipeline { /* private fields */ }Expand description
Fluent builder constructing a request to UpdatePipeline.
Updates the settings of a pipeline. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array.
Implementations
sourceimpl UpdatePipeline
 
impl UpdatePipeline
sourcepub async fn send(
    self
) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError>>
 
pub async fn send(
    self
) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
 
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline to update.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
 
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline to update.
sourcepub fn pipeline_activities(self, input: PipelineActivity) -> Self
 
pub fn pipeline_activities(self, input: PipelineActivity) -> Self
Appends an item to pipelineActivities.
To override the contents of this collection use set_pipeline_activities.
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": { ... } }, ... ] 
sourcepub fn set_pipeline_activities(
    self,
    input: Option<Vec<PipelineActivity>>
) -> Self
 
pub fn set_pipeline_activities(
    self,
    input: Option<Vec<PipelineActivity>>
) -> Self
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": { ... } }, ... ] 
Trait Implementations
sourceimpl Clone for UpdatePipeline
 
impl Clone for UpdatePipeline
sourcefn clone(&self) -> UpdatePipeline
 
fn clone(&self) -> UpdatePipeline
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
Auto Trait Implementations
impl !RefUnwindSafe for UpdatePipeline
impl Send for UpdatePipeline
impl Sync for UpdatePipeline
impl Unpin for UpdatePipeline
impl !UnwindSafe for UpdatePipeline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
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> 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