Struct aws_sdk_pipes::types::PipeTargetParameters
source · #[non_exhaustive]pub struct PipeTargetParameters {
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>,
}
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.
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.
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
source§fn eq(&self, other: &PipeTargetParameters) -> bool
fn eq(&self, other: &PipeTargetParameters) -> bool
self
and other
values to be equal, and is used
by ==
.