Struct aws_sdk_pipes::types::builders::PipeTargetParametersBuilder
source · #[non_exhaustive]pub struct PipeTargetParametersBuilder { /* private fields */ }Expand description
A builder for PipeTargetParameters.
Implementations§
source§impl PipeTargetParametersBuilder
impl PipeTargetParametersBuilder
sourcepub fn input_template(self, input: impl Into<String>) -> Self
pub fn input_template(self, input: impl Into<String>) -> Self
Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn set_input_template(self, input: Option<String>) -> Self
pub fn set_input_template(self, input: Option<String>) -> Self
Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn get_input_template(&self) -> &Option<String>
pub fn get_input_template(&self) -> &Option<String>
Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn lambda_function_parameters(
self,
input: PipeTargetLambdaFunctionParameters,
) -> Self
pub fn lambda_function_parameters( self, input: PipeTargetLambdaFunctionParameters, ) -> Self
The parameters for using a Lambda function as a target.
sourcepub fn set_lambda_function_parameters(
self,
input: Option<PipeTargetLambdaFunctionParameters>,
) -> Self
pub fn set_lambda_function_parameters( self, input: Option<PipeTargetLambdaFunctionParameters>, ) -> Self
The parameters for using a Lambda function as a target.
sourcepub fn get_lambda_function_parameters(
&self,
) -> &Option<PipeTargetLambdaFunctionParameters>
pub fn get_lambda_function_parameters( &self, ) -> &Option<PipeTargetLambdaFunctionParameters>
The parameters for using a Lambda function as a target.
sourcepub fn step_function_state_machine_parameters(
self,
input: PipeTargetStateMachineParameters,
) -> Self
pub fn step_function_state_machine_parameters( self, input: PipeTargetStateMachineParameters, ) -> Self
The parameters for using a Step Functions state machine as a target.
sourcepub fn set_step_function_state_machine_parameters(
self,
input: Option<PipeTargetStateMachineParameters>,
) -> Self
pub fn set_step_function_state_machine_parameters( self, input: Option<PipeTargetStateMachineParameters>, ) -> Self
The parameters for using a Step Functions state machine as a target.
sourcepub fn get_step_function_state_machine_parameters(
&self,
) -> &Option<PipeTargetStateMachineParameters>
pub fn get_step_function_state_machine_parameters( &self, ) -> &Option<PipeTargetStateMachineParameters>
The parameters for using a Step Functions state machine as a target.
sourcepub fn kinesis_stream_parameters(
self,
input: PipeTargetKinesisStreamParameters,
) -> Self
pub fn kinesis_stream_parameters( self, input: PipeTargetKinesisStreamParameters, ) -> Self
The parameters for using a Kinesis stream as a target.
sourcepub fn set_kinesis_stream_parameters(
self,
input: Option<PipeTargetKinesisStreamParameters>,
) -> Self
pub fn set_kinesis_stream_parameters( self, input: Option<PipeTargetKinesisStreamParameters>, ) -> Self
The parameters for using a Kinesis stream as a target.
sourcepub fn get_kinesis_stream_parameters(
&self,
) -> &Option<PipeTargetKinesisStreamParameters>
pub fn get_kinesis_stream_parameters( &self, ) -> &Option<PipeTargetKinesisStreamParameters>
The parameters for using a Kinesis stream as a target.
sourcepub fn ecs_task_parameters(self, input: PipeTargetEcsTaskParameters) -> Self
pub fn ecs_task_parameters(self, input: PipeTargetEcsTaskParameters) -> Self
The parameters for using an Amazon ECS task as a target.
sourcepub fn set_ecs_task_parameters(
self,
input: Option<PipeTargetEcsTaskParameters>,
) -> Self
pub fn set_ecs_task_parameters( self, input: Option<PipeTargetEcsTaskParameters>, ) -> Self
The parameters for using an Amazon ECS task as a target.
sourcepub fn get_ecs_task_parameters(&self) -> &Option<PipeTargetEcsTaskParameters>
pub fn get_ecs_task_parameters(&self) -> &Option<PipeTargetEcsTaskParameters>
The parameters for using an Amazon ECS task as a target.
sourcepub fn batch_job_parameters(self, input: PipeTargetBatchJobParameters) -> Self
pub fn batch_job_parameters(self, input: PipeTargetBatchJobParameters) -> Self
The parameters for using an Batch job as a target.
sourcepub fn set_batch_job_parameters(
self,
input: Option<PipeTargetBatchJobParameters>,
) -> Self
pub fn set_batch_job_parameters( self, input: Option<PipeTargetBatchJobParameters>, ) -> Self
The parameters for using an Batch job as a target.
sourcepub fn get_batch_job_parameters(&self) -> &Option<PipeTargetBatchJobParameters>
pub fn get_batch_job_parameters(&self) -> &Option<PipeTargetBatchJobParameters>
The parameters for using an Batch job as a target.
sourcepub fn sqs_queue_parameters(self, input: PipeTargetSqsQueueParameters) -> Self
pub fn sqs_queue_parameters(self, input: PipeTargetSqsQueueParameters) -> Self
The parameters for using a Amazon SQS stream as a target.
sourcepub fn set_sqs_queue_parameters(
self,
input: Option<PipeTargetSqsQueueParameters>,
) -> Self
pub fn set_sqs_queue_parameters( self, input: Option<PipeTargetSqsQueueParameters>, ) -> Self
The parameters for using a Amazon SQS stream as a target.
sourcepub fn get_sqs_queue_parameters(&self) -> &Option<PipeTargetSqsQueueParameters>
pub fn get_sqs_queue_parameters(&self) -> &Option<PipeTargetSqsQueueParameters>
The parameters for using a Amazon SQS stream as a target.
sourcepub fn http_parameters(self, input: PipeTargetHttpParameters) -> Self
pub fn http_parameters(self, input: PipeTargetHttpParameters) -> Self
These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.
sourcepub fn set_http_parameters(
self,
input: Option<PipeTargetHttpParameters>,
) -> Self
pub fn set_http_parameters( self, input: Option<PipeTargetHttpParameters>, ) -> Self
These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.
sourcepub fn get_http_parameters(&self) -> &Option<PipeTargetHttpParameters>
pub fn get_http_parameters(&self) -> &Option<PipeTargetHttpParameters>
These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.
sourcepub fn redshift_data_parameters(
self,
input: PipeTargetRedshiftDataParameters,
) -> Self
pub fn redshift_data_parameters( self, input: PipeTargetRedshiftDataParameters, ) -> Self
These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
sourcepub fn set_redshift_data_parameters(
self,
input: Option<PipeTargetRedshiftDataParameters>,
) -> Self
pub fn set_redshift_data_parameters( self, input: Option<PipeTargetRedshiftDataParameters>, ) -> Self
These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
sourcepub fn get_redshift_data_parameters(
&self,
) -> &Option<PipeTargetRedshiftDataParameters>
pub fn get_redshift_data_parameters( &self, ) -> &Option<PipeTargetRedshiftDataParameters>
These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
sourcepub fn sage_maker_pipeline_parameters(
self,
input: PipeTargetSageMakerPipelineParameters,
) -> Self
pub fn sage_maker_pipeline_parameters( self, input: PipeTargetSageMakerPipelineParameters, ) -> Self
The parameters for using a SageMaker pipeline as a target.
sourcepub fn set_sage_maker_pipeline_parameters(
self,
input: Option<PipeTargetSageMakerPipelineParameters>,
) -> Self
pub fn set_sage_maker_pipeline_parameters( self, input: Option<PipeTargetSageMakerPipelineParameters>, ) -> Self
The parameters for using a SageMaker pipeline as a target.
sourcepub fn get_sage_maker_pipeline_parameters(
&self,
) -> &Option<PipeTargetSageMakerPipelineParameters>
pub fn get_sage_maker_pipeline_parameters( &self, ) -> &Option<PipeTargetSageMakerPipelineParameters>
The parameters for using a SageMaker pipeline as a target.
sourcepub fn event_bridge_event_bus_parameters(
self,
input: PipeTargetEventBridgeEventBusParameters,
) -> Self
pub fn event_bridge_event_bus_parameters( self, input: PipeTargetEventBridgeEventBusParameters, ) -> Self
The parameters for using an EventBridge event bus as a target.
sourcepub fn set_event_bridge_event_bus_parameters(
self,
input: Option<PipeTargetEventBridgeEventBusParameters>,
) -> Self
pub fn set_event_bridge_event_bus_parameters( self, input: Option<PipeTargetEventBridgeEventBusParameters>, ) -> Self
The parameters for using an EventBridge event bus as a target.
sourcepub fn get_event_bridge_event_bus_parameters(
&self,
) -> &Option<PipeTargetEventBridgeEventBusParameters>
pub fn get_event_bridge_event_bus_parameters( &self, ) -> &Option<PipeTargetEventBridgeEventBusParameters>
The parameters for using an EventBridge event bus as a target.
sourcepub fn cloud_watch_logs_parameters(
self,
input: PipeTargetCloudWatchLogsParameters,
) -> Self
pub fn cloud_watch_logs_parameters( self, input: PipeTargetCloudWatchLogsParameters, ) -> Self
The parameters for using an CloudWatch Logs log stream as a target.
sourcepub fn set_cloud_watch_logs_parameters(
self,
input: Option<PipeTargetCloudWatchLogsParameters>,
) -> Self
pub fn set_cloud_watch_logs_parameters( self, input: Option<PipeTargetCloudWatchLogsParameters>, ) -> Self
The parameters for using an CloudWatch Logs log stream as a target.
sourcepub fn get_cloud_watch_logs_parameters(
&self,
) -> &Option<PipeTargetCloudWatchLogsParameters>
pub fn get_cloud_watch_logs_parameters( &self, ) -> &Option<PipeTargetCloudWatchLogsParameters>
The parameters for using an CloudWatch Logs log stream as a target.
sourcepub fn timestream_parameters(
self,
input: PipeTargetTimestreamParameters,
) -> Self
pub fn timestream_parameters( self, input: PipeTargetTimestreamParameters, ) -> Self
The parameters for using a Timestream for LiveAnalytics table as a target.
sourcepub fn set_timestream_parameters(
self,
input: Option<PipeTargetTimestreamParameters>,
) -> Self
pub fn set_timestream_parameters( self, input: Option<PipeTargetTimestreamParameters>, ) -> Self
The parameters for using a Timestream for LiveAnalytics table as a target.
sourcepub fn get_timestream_parameters(
&self,
) -> &Option<PipeTargetTimestreamParameters>
pub fn get_timestream_parameters( &self, ) -> &Option<PipeTargetTimestreamParameters>
The parameters for using a Timestream for LiveAnalytics table as a target.
sourcepub fn build(self) -> PipeTargetParameters
pub fn build(self) -> PipeTargetParameters
Consumes the builder and constructs a PipeTargetParameters.
Trait Implementations§
source§impl Clone for PipeTargetParametersBuilder
impl Clone for PipeTargetParametersBuilder
source§fn clone(&self) -> PipeTargetParametersBuilder
fn clone(&self) -> PipeTargetParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PipeTargetParametersBuilder
impl Debug for PipeTargetParametersBuilder
source§impl Default for PipeTargetParametersBuilder
impl Default for PipeTargetParametersBuilder
source§fn default() -> PipeTargetParametersBuilder
fn default() -> PipeTargetParametersBuilder
impl StructuralPartialEq for PipeTargetParametersBuilder
Auto Trait Implementations§
impl Freeze for PipeTargetParametersBuilder
impl RefUnwindSafe for PipeTargetParametersBuilder
impl Send for PipeTargetParametersBuilder
impl Sync for PipeTargetParametersBuilder
impl Unpin for PipeTargetParametersBuilder
impl UnwindSafe for PipeTargetParametersBuilder
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