Struct aws_sdk_iotanalytics::operation::run_pipeline_activity::builders::RunPipelineActivityFluentBuilder
source · pub struct RunPipelineActivityFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RunPipelineActivity
.
Simulates the results of running a pipeline activity on a message payload.
Implementations§
source§impl RunPipelineActivityFluentBuilder
impl RunPipelineActivityFluentBuilder
sourcepub fn as_input(&self) -> &RunPipelineActivityInputBuilder
pub fn as_input(&self) -> &RunPipelineActivityInputBuilder
Access the RunPipelineActivity as a reference.
sourcepub async fn send(
self
) -> Result<RunPipelineActivityOutput, SdkError<RunPipelineActivityError, HttpResponse>>
pub async fn send( self ) -> Result<RunPipelineActivityOutput, SdkError<RunPipelineActivityError, 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<RunPipelineActivityOutput, RunPipelineActivityError, Self>
pub fn customize( self ) -> CustomizableOperation<RunPipelineActivityOutput, RunPipelineActivityError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline_activity(self, input: PipelineActivity) -> Self
pub fn pipeline_activity(self, input: PipelineActivity) -> Self
The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
sourcepub fn set_pipeline_activity(self, input: Option<PipelineActivity>) -> Self
pub fn set_pipeline_activity(self, input: Option<PipelineActivity>) -> Self
The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
sourcepub fn get_pipeline_activity(&self) -> &Option<PipelineActivity>
pub fn get_pipeline_activity(&self) -> &Option<PipelineActivity>
The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
sourcepub fn payloads(self, input: Blob) -> Self
pub fn payloads(self, input: Blob) -> Self
Appends an item to payloads
.
To override the contents of this collection use set_payloads
.
The sample message payloads on which the pipeline activity is run.
sourcepub fn set_payloads(self, input: Option<Vec<Blob>>) -> Self
pub fn set_payloads(self, input: Option<Vec<Blob>>) -> Self
The sample message payloads on which the pipeline activity is run.
sourcepub fn get_payloads(&self) -> &Option<Vec<Blob>>
pub fn get_payloads(&self) -> &Option<Vec<Blob>>
The sample message payloads on which the pipeline activity is run.
Trait Implementations§
source§impl Clone for RunPipelineActivityFluentBuilder
impl Clone for RunPipelineActivityFluentBuilder
source§fn clone(&self) -> RunPipelineActivityFluentBuilder
fn clone(&self) -> RunPipelineActivityFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more