#[non_exhaustive]
pub struct PipeTargetParametersBuilder { /* private fields */ }
Expand description

A builder for PipeTargetParameters.

Implementations§

source§

impl PipeTargetParametersBuilder

source

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.

source

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.

source

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.

source

pub fn lambda_function_parameters( self, input: PipeTargetLambdaFunctionParameters ) -> Self

The parameters for using a Lambda function as a target.

source

pub fn set_lambda_function_parameters( self, input: Option<PipeTargetLambdaFunctionParameters> ) -> Self

The parameters for using a Lambda function as a target.

source

pub fn get_lambda_function_parameters( &self ) -> &Option<PipeTargetLambdaFunctionParameters>

The parameters for using a Lambda function as a target.

source

pub fn step_function_state_machine_parameters( self, input: PipeTargetStateMachineParameters ) -> Self

The parameters for using a Step Functions state machine as a target.

source

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.

source

pub fn get_step_function_state_machine_parameters( &self ) -> &Option<PipeTargetStateMachineParameters>

The parameters for using a Step Functions state machine as a target.

source

pub fn kinesis_stream_parameters( self, input: PipeTargetKinesisStreamParameters ) -> Self

The parameters for using a Kinesis stream as a target.

source

pub fn set_kinesis_stream_parameters( self, input: Option<PipeTargetKinesisStreamParameters> ) -> Self

The parameters for using a Kinesis stream as a target.

source

pub fn get_kinesis_stream_parameters( &self ) -> &Option<PipeTargetKinesisStreamParameters>

The parameters for using a Kinesis stream as a target.

source

pub fn ecs_task_parameters(self, input: PipeTargetEcsTaskParameters) -> Self

The parameters for using an Amazon ECS task as a target.

source

pub fn set_ecs_task_parameters( self, input: Option<PipeTargetEcsTaskParameters> ) -> Self

The parameters for using an Amazon ECS task as a target.

source

pub fn get_ecs_task_parameters(&self) -> &Option<PipeTargetEcsTaskParameters>

The parameters for using an Amazon ECS task as a target.

source

pub fn batch_job_parameters(self, input: PipeTargetBatchJobParameters) -> Self

The parameters for using an Batch job as a target.

source

pub fn set_batch_job_parameters( self, input: Option<PipeTargetBatchJobParameters> ) -> Self

The parameters for using an Batch job as a target.

source

pub fn get_batch_job_parameters(&self) -> &Option<PipeTargetBatchJobParameters>

The parameters for using an Batch job as a target.

source

pub fn sqs_queue_parameters(self, input: PipeTargetSqsQueueParameters) -> Self

The parameters for using a Amazon SQS stream as a target.

source

pub fn set_sqs_queue_parameters( self, input: Option<PipeTargetSqsQueueParameters> ) -> Self

The parameters for using a Amazon SQS stream as a target.

source

pub fn get_sqs_queue_parameters(&self) -> &Option<PipeTargetSqsQueueParameters>

The parameters for using a Amazon SQS stream as a target.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn sage_maker_pipeline_parameters( self, input: PipeTargetSageMakerPipelineParameters ) -> Self

The parameters for using a SageMaker pipeline as a target.

source

pub fn set_sage_maker_pipeline_parameters( self, input: Option<PipeTargetSageMakerPipelineParameters> ) -> Self

The parameters for using a SageMaker pipeline as a target.

source

pub fn get_sage_maker_pipeline_parameters( &self ) -> &Option<PipeTargetSageMakerPipelineParameters>

The parameters for using a SageMaker pipeline as a target.

source

pub fn event_bridge_event_bus_parameters( self, input: PipeTargetEventBridgeEventBusParameters ) -> Self

The parameters for using an EventBridge event bus as a target.

source

pub fn set_event_bridge_event_bus_parameters( self, input: Option<PipeTargetEventBridgeEventBusParameters> ) -> Self

The parameters for using an EventBridge event bus as a target.

source

pub fn get_event_bridge_event_bus_parameters( &self ) -> &Option<PipeTargetEventBridgeEventBusParameters>

The parameters for using an EventBridge event bus as a target.

source

pub fn cloud_watch_logs_parameters( self, input: PipeTargetCloudWatchLogsParameters ) -> Self

The parameters for using an CloudWatch Logs log stream as a target.

source

pub fn set_cloud_watch_logs_parameters( self, input: Option<PipeTargetCloudWatchLogsParameters> ) -> Self

The parameters for using an CloudWatch Logs log stream as a target.

source

pub fn get_cloud_watch_logs_parameters( &self ) -> &Option<PipeTargetCloudWatchLogsParameters>

The parameters for using an CloudWatch Logs log stream as a target.

source

pub fn build(self) -> PipeTargetParameters

Consumes the builder and constructs a PipeTargetParameters.

Trait Implementations§

source§

impl Clone for PipeTargetParametersBuilder

source§

fn clone(&self) -> PipeTargetParametersBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PipeTargetParametersBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PipeTargetParametersBuilder

source§

fn default() -> PipeTargetParametersBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for PipeTargetParametersBuilder

source§

fn eq(&self, other: &PipeTargetParametersBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for PipeTargetParametersBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more