Struct aws_sdk_iotanalytics::operation::create_pipeline::builders::CreatePipelineFluentBuilder
source · pub struct CreatePipelineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePipeline
.
Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before storing them in a data store. 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 CreatePipelineFluentBuilder
impl CreatePipelineFluentBuilder
sourcepub fn as_input(&self) -> &CreatePipelineInputBuilder
pub fn as_input(&self) -> &CreatePipelineInputBuilder
Access the CreatePipeline as a reference.
sourcepub async fn send(
self
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
pub async fn send( self ) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreatePipelineOutput, CreatePipelineError, Self>
pub fn customize( self ) -> CustomizableOperation<CreatePipelineOutput, CreatePipelineError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline.
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 unctions 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 unctions 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 get_pipeline_activities(&self) -> &Option<Vec<PipelineActivity>>
pub fn get_pipeline_activities(&self) -> &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 unctions 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": { ... } }, ... ]
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata which can be used to manage the pipeline.
Metadata which can be used to manage the pipeline.
Metadata which can be used to manage the pipeline.
Trait Implementations§
source§impl Clone for CreatePipelineFluentBuilder
impl Clone for CreatePipelineFluentBuilder
source§fn clone(&self) -> CreatePipelineFluentBuilder
fn clone(&self) -> CreatePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more