Struct aws_sdk_pipes::model::pipe_enrichment_parameters::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PipeEnrichmentParameters
.
Implementations§
source§impl Builder
impl Builder
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 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.
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 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.
sourcepub fn http_parameters(self, input: PipeEnrichmentHttpParameters) -> Self
pub fn http_parameters(self, input: PipeEnrichmentHttpParameters) -> Self
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.
sourcepub fn set_http_parameters(
self,
input: Option<PipeEnrichmentHttpParameters>
) -> Self
pub fn set_http_parameters(
self,
input: Option<PipeEnrichmentHttpParameters>
) -> Self
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.
sourcepub fn build(self) -> PipeEnrichmentParameters
pub fn build(self) -> PipeEnrichmentParameters
Consumes the builder and constructs a PipeEnrichmentParameters
.