Struct aws_sdk_pipes::types::PipeEnrichmentParameters
source · #[non_exhaustive]pub struct PipeEnrichmentParameters {
pub input_template: Option<String>,
pub http_parameters: Option<PipeEnrichmentHttpParameters>,
}Expand description
The parameters required to set up enrichment on your pipe.
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 enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
http_parameters: Option<PipeEnrichmentHttpParameters>Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.
Implementations§
source§impl PipeEnrichmentParameters
impl PipeEnrichmentParameters
sourcepub fn input_template(&self) -> Option<&str>
pub fn input_template(&self) -> Option<&str>
Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn http_parameters(&self) -> Option<&PipeEnrichmentHttpParameters>
pub fn http_parameters(&self) -> Option<&PipeEnrichmentHttpParameters>
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.
source§impl PipeEnrichmentParameters
impl PipeEnrichmentParameters
sourcepub fn builder() -> PipeEnrichmentParametersBuilder
pub fn builder() -> PipeEnrichmentParametersBuilder
Creates a new builder-style object to manufacture PipeEnrichmentParameters.
Trait Implementations§
source§impl Clone for PipeEnrichmentParameters
impl Clone for PipeEnrichmentParameters
source§fn clone(&self) -> PipeEnrichmentParameters
fn clone(&self) -> PipeEnrichmentParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PipeEnrichmentParameters
impl Debug for PipeEnrichmentParameters
source§impl PartialEq for PipeEnrichmentParameters
impl PartialEq for PipeEnrichmentParameters
source§fn eq(&self, other: &PipeEnrichmentParameters) -> bool
fn eq(&self, other: &PipeEnrichmentParameters) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipeEnrichmentParameters
Auto Trait Implementations§
impl Freeze for PipeEnrichmentParameters
impl RefUnwindSafe for PipeEnrichmentParameters
impl Send for PipeEnrichmentParameters
impl Sync for PipeEnrichmentParameters
impl Unpin for PipeEnrichmentParameters
impl UnwindSafe for PipeEnrichmentParameters
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> 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