pub struct RunPipelineActivity { /* 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 RunPipelineActivity
impl RunPipelineActivity
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RunPipelineActivity, AwsResponseRetryClassifier>, SdkError<RunPipelineActivityError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RunPipelineActivity, AwsResponseRetryClassifier>, SdkError<RunPipelineActivityError>>
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<RunPipelineActivityOutput, SdkError<RunPipelineActivityError>>
pub async fn send(
self
) -> Result<RunPipelineActivityOutput, SdkError<RunPipelineActivityError>>
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_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 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.
Trait Implementations§
source§impl Clone for RunPipelineActivity
impl Clone for RunPipelineActivity
source§fn clone(&self) -> RunPipelineActivity
fn clone(&self) -> RunPipelineActivity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more