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§
source§impl UpdatePipeline
impl UpdatePipeline
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdatePipeline, AwsResponseRetryClassifier>, SdkError<UpdatePipelineError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdatePipeline, AwsResponseRetryClassifier>, SdkError<UpdatePipelineError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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§
source§impl Clone for UpdatePipeline
impl Clone for UpdatePipeline
source§fn clone(&self) -> UpdatePipeline
fn clone(&self) -> UpdatePipeline
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more