pub fn response_parameters(mut self, k: impl Into<std::string::String>, v: bool) -> Self {
            let mut hash_map = self.response_parameters.unwrap_or_default();
            hash_map.insert(k.into(), v);
            self.response_parameters = Some(hash_map);
            self
        }
/// Adds a key-value pair to `response_parameters`.
///
/// To override the contents of this collection use [`set_response_parameters`](Self::set_response_parameters).
///
/// <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern <code>method.response.header.{name}</code>, where <code>name</code> is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's <code>IntegrationResponse</code>. The integration response data that can be mapped include an integration response header expressed in <code>integration.response.header.{name}</code>, a static value enclosed within a pair of single quotes (e.g., <code>'application/json'</code>), or a JSON expression from the back-end response payload in the form of <code>integration.response.body.{JSON-expression}</code>, where <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.)</p>
Adds a key-value pair to `response_parameters`.
To override the contents of this collection use [`set_response_parameters`](Self::set_response_parameters).

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes , or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)
Adds a key - value pair to ` response_parameters ` . To override the contents of this collection use [ ` set_response_parameters ` ] ( Self :: set_response_parameters ) . A key - value map specifying required or optional response parameters that API Gateway can send back to the caller . A key defines a method response header and the value specifies whether the associated method response header is required or not . The expression of the key must match the pattern method . response . header . { name } where name is a valid and unique header name . API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API ' s IntegrationResponse . The integration response data that can be mapped include an integration response header expressed in integration . response . header . { name } a static value enclosed within a pair of single quotes or a JSON expression from the back - end response payload in the form of integration . response . body . { JSON - expression } where JSON - expression is a valid JSON expression without the $ prefix . )
pub fn response_parameters(mut self, k: impl Into<std::string::String>, v: bool) -> Self {
            let mut hash_map = self.response_parameters.unwrap_or_default();
            hash_map.insert(k.into(), v);
            self.response_parameters = Some(hash_map);
            self
        }
pub fn response_parameters ( mut self , k : impl Into < std :: string :: String > , v : bool ) -> Self { let mut hash_map = self . response_parameters . unwrap_or_default ( ) ; hash_map . insert ( k . into ( ) , v ) ; self . response_parameters = Some ( hash_map ) ; self }
Adds a key-value pair to `response_parameters`.
Adds a key - value pair to ` response_parameters ` .
mut self
k
impl Into<std::string::String>
v
bool
mut self
k
impl Into<std::string::String>
v
bool