Struct aws_sdk_pipes::types::PipeTargetParameters
source · #[non_exhaustive]pub struct PipeTargetParameters {Show 13 fields
pub input_template: Option<String>,
pub lambda_function_parameters: Option<PipeTargetLambdaFunctionParameters>,
pub step_function_state_machine_parameters: Option<PipeTargetStateMachineParameters>,
pub kinesis_stream_parameters: Option<PipeTargetKinesisStreamParameters>,
pub ecs_task_parameters: Option<PipeTargetEcsTaskParameters>,
pub batch_job_parameters: Option<PipeTargetBatchJobParameters>,
pub sqs_queue_parameters: Option<PipeTargetSqsQueueParameters>,
pub http_parameters: Option<PipeTargetHttpParameters>,
pub redshift_data_parameters: Option<PipeTargetRedshiftDataParameters>,
pub sage_maker_pipeline_parameters: Option<PipeTargetSageMakerPipelineParameters>,
pub event_bridge_event_bus_parameters: Option<PipeTargetEventBridgeEventBusParameters>,
pub cloud_watch_logs_parameters: Option<PipeTargetCloudWatchLogsParameters>,
pub timestream_parameters: Option<PipeTargetTimestreamParameters>,
}Expand description
The parameters required to set up a target for your pipe.
For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.
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.input_template: 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.
lambda_function_parameters: Option<PipeTargetLambdaFunctionParameters>The parameters for using a Lambda function as a target.
step_function_state_machine_parameters: Option<PipeTargetStateMachineParameters>The parameters for using a Step Functions state machine as a target.
kinesis_stream_parameters: Option<PipeTargetKinesisStreamParameters>The parameters for using a Kinesis stream as a target.
ecs_task_parameters: Option<PipeTargetEcsTaskParameters>The parameters for using an Amazon ECS task as a target.
batch_job_parameters: Option<PipeTargetBatchJobParameters>The parameters for using an Batch job as a target.
sqs_queue_parameters: Option<PipeTargetSqsQueueParameters>The parameters for using a Amazon SQS stream as a target.
http_parameters: Option<PipeTargetHttpParameters>These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.
redshift_data_parameters: 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.
sage_maker_pipeline_parameters: Option<PipeTargetSageMakerPipelineParameters>The parameters for using a SageMaker pipeline as a target.
event_bridge_event_bus_parameters: Option<PipeTargetEventBridgeEventBusParameters>The parameters for using an EventBridge event bus as a target.
cloud_watch_logs_parameters: Option<PipeTargetCloudWatchLogsParameters>The parameters for using an CloudWatch Logs log stream as a target.
timestream_parameters: Option<PipeTargetTimestreamParameters>The parameters for using a Timestream for LiveAnalytics table as a target.
Implementations§
source§impl PipeTargetParameters
impl PipeTargetParameters
sourcepub fn input_template(&self) -> Option<&str>
pub fn input_template(&self) -> Option<&str>
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,
) -> Option<&PipeTargetLambdaFunctionParameters>
pub fn lambda_function_parameters( &self, ) -> Option<&PipeTargetLambdaFunctionParameters>
The parameters for using a Lambda function as a target.
sourcepub fn step_function_state_machine_parameters(
&self,
) -> Option<&PipeTargetStateMachineParameters>
pub fn 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,
) -> Option<&PipeTargetKinesisStreamParameters>
pub fn kinesis_stream_parameters( &self, ) -> Option<&PipeTargetKinesisStreamParameters>
The parameters for using a Kinesis stream as a target.
sourcepub fn ecs_task_parameters(&self) -> Option<&PipeTargetEcsTaskParameters>
pub fn ecs_task_parameters(&self) -> Option<&PipeTargetEcsTaskParameters>
The parameters for using an Amazon ECS task as a target.
sourcepub fn batch_job_parameters(&self) -> Option<&PipeTargetBatchJobParameters>
pub fn batch_job_parameters(&self) -> Option<&PipeTargetBatchJobParameters>
The parameters for using an Batch job as a target.
sourcepub fn sqs_queue_parameters(&self) -> Option<&PipeTargetSqsQueueParameters>
pub fn sqs_queue_parameters(&self) -> Option<&PipeTargetSqsQueueParameters>
The parameters for using a Amazon SQS stream as a target.
sourcepub fn http_parameters(&self) -> Option<&PipeTargetHttpParameters>
pub fn 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,
) -> Option<&PipeTargetRedshiftDataParameters>
pub fn 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,
) -> Option<&PipeTargetSageMakerPipelineParameters>
pub fn 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,
) -> Option<&PipeTargetEventBridgeEventBusParameters>
pub fn 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,
) -> Option<&PipeTargetCloudWatchLogsParameters>
pub fn cloud_watch_logs_parameters( &self, ) -> Option<&PipeTargetCloudWatchLogsParameters>
The parameters for using an CloudWatch Logs log stream as a target.
sourcepub fn timestream_parameters(&self) -> Option<&PipeTargetTimestreamParameters>
pub fn timestream_parameters(&self) -> Option<&PipeTargetTimestreamParameters>
The parameters for using a Timestream for LiveAnalytics table as a target.
source§impl PipeTargetParameters
impl PipeTargetParameters
sourcepub fn builder() -> PipeTargetParametersBuilder
pub fn builder() -> PipeTargetParametersBuilder
Creates a new builder-style object to manufacture PipeTargetParameters.
Trait Implementations§
source§impl Clone for PipeTargetParameters
impl Clone for PipeTargetParameters
source§fn clone(&self) -> PipeTargetParameters
fn clone(&self) -> PipeTargetParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PipeTargetParameters
impl Debug for PipeTargetParameters
source§impl PartialEq for PipeTargetParameters
impl PartialEq for PipeTargetParameters
impl StructuralPartialEq for PipeTargetParameters
Auto Trait Implementations§
impl Freeze for PipeTargetParameters
impl RefUnwindSafe for PipeTargetParameters
impl Send for PipeTargetParameters
impl Sync for PipeTargetParameters
impl Unpin for PipeTargetParameters
impl UnwindSafe for PipeTargetParameters
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