Struct aws_sdk_eventbridge::types::HttpParameters
source · #[non_exhaustive]pub struct HttpParameters {
pub path_parameter_values: Option<Vec<String>>,
pub header_parameters: Option<HashMap<String, String>>,
pub query_string_parameters: Option<HashMap<String, String>>,
}Expand description
These are custom parameter to be used when the target is an API Gateway APIs or EventBridge ApiDestinations. In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.
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.path_parameter_values: Option<Vec<String>>The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").
header_parameters: Option<HashMap<String, String>>The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
query_string_parameters: Option<HashMap<String, String>>The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
Implementations§
source§impl HttpParameters
impl HttpParameters
sourcepub fn path_parameter_values(&self) -> &[String]
pub fn path_parameter_values(&self) -> &[String]
The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .path_parameter_values.is_none().
source§impl HttpParameters
impl HttpParameters
sourcepub fn builder() -> HttpParametersBuilder
pub fn builder() -> HttpParametersBuilder
Creates a new builder-style object to manufacture HttpParameters.
Trait Implementations§
source§impl Clone for HttpParameters
impl Clone for HttpParameters
source§fn clone(&self) -> HttpParameters
fn clone(&self) -> HttpParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HttpParameters
impl Debug for HttpParameters
source§impl PartialEq for HttpParameters
impl PartialEq for HttpParameters
source§fn eq(&self, other: &HttpParameters) -> bool
fn eq(&self, other: &HttpParameters) -> bool
self and other values to be equal, and is used
by ==.