#[non_exhaustive]pub struct CreatePipelineInput {
pub pipeline_name: Option<String>,
pub pipeline_activities: Option<Vec<PipelineActivity>>,
pub tags: Option<Vec<Tag>>,
}
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.
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 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": { ... } }, ... ]
Metadata which can be used to manage the pipeline.
Implementations§
source§impl CreatePipelineInput
impl CreatePipelineInput
sourcepub fn pipeline_name(&self) -> Option<&str>
pub fn pipeline_name(&self) -> Option<&str>
The name of the pipeline.
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 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": { ... } }, ... ]
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()
.
Metadata which can be used to manage the pipeline.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreatePipelineInput
impl CreatePipelineInput
sourcepub fn builder() -> CreatePipelineInputBuilder
pub fn builder() -> CreatePipelineInputBuilder
Creates a new builder-style object to manufacture CreatePipelineInput
.
Trait Implementations§
source§impl Clone for CreatePipelineInput
impl Clone for CreatePipelineInput
source§fn clone(&self) -> CreatePipelineInput
fn clone(&self) -> CreatePipelineInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePipelineInput
impl Debug for CreatePipelineInput
source§impl PartialEq for CreatePipelineInput
impl PartialEq for CreatePipelineInput
source§fn eq(&self, other: &CreatePipelineInput) -> bool
fn eq(&self, other: &CreatePipelineInput) -> bool
self
and other
values to be equal, and is used
by ==
.