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 moreAuto Trait Implementations§
impl Freeze for RunPipelineActivityFluentBuilder
impl !RefUnwindSafe for RunPipelineActivityFluentBuilder
impl Send for RunPipelineActivityFluentBuilder
impl Sync for RunPipelineActivityFluentBuilder
impl Unpin for RunPipelineActivityFluentBuilder
impl !UnwindSafe for RunPipelineActivityFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more