pub fn response_parameters(
            mut self,
            k: impl Into<std::string::String>,
            v: std::collections::HashMap<std::string::String, std::string::String>,
        ) -> 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>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
Adds a key-value pair to `response_parameters`.
To override the contents of this collection use [`set_response_parameters`](Self::set_response_parameters).

Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern <action>:<header>.<location> or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.
Adds a key - value pair to ` response_parameters ` . To override the contents of this collection use [ ` set_response_parameters ` ] ( Self :: set_response_parameters ) . Supported only for HTTP APIs . You use response parameters to transform the HTTP response from a backend integration before returning the response to clients . Specify a key - value map from a selection key to response parameters . The selection key must be a valid HTTP status code within the range of 200 - 599 . Response parameters are a key - value map . The key must match pattern <action > : <header > . <location > or overwrite . statuscode . The action can be append overwrite or remove . The value can be a static value or map to response data stage variables or context variables that are evaluated at runtime . To learn more see Transforming API requests and responses .
pub fn response_parameters(
            mut self,
            k: impl Into<std::string::String>,
            v: std::collections::HashMap<std::string::String, std::string::String>,
        ) -> 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 : std :: collections :: HashMap < std :: string :: String , std :: string :: String > , ) -> 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
std::collections::HashMap<std::string::String, std::string::String>
mut self
k
impl Into<std::string::String>
v
std::collections::HashMap<std::string::String, std::string::String>