1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutGatewayResponse`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rest_api_id(impl Into<String>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::set_rest_api_id):<br>required: **true**<br><p>The string identifier of the associated RestApi.</p><br>
    ///   - [`response_type(GatewayResponseType)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::response_type) / [`set_response_type(Option<GatewayResponseType>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::set_response_type):<br>required: **true**<br><p>The response type of the associated GatewayResponse</p><br>
    ///   - [`status_code(impl Into<String>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::status_code) / [`set_status_code(Option<String>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::set_status_code):<br>required: **false**<br><p>The HTTP status code of the GatewayResponse.</p><br>
    ///   - [`response_parameters(impl Into<String>, impl Into<String>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::response_parameters) / [`set_response_parameters(Option<HashMap::<String, String>>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::set_response_parameters):<br>required: **false**<br><p>Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.</p><br>
    ///   - [`response_templates(impl Into<String>, impl Into<String>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::response_templates) / [`set_response_templates(Option<HashMap::<String, String>>)`](crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::set_response_templates):<br>required: **false**<br><p>Response templates of the GatewayResponse as a string-to-string map of key-value pairs.</p><br>
    /// - On success, responds with [`PutGatewayResponseOutput`](crate::operation::put_gateway_response::PutGatewayResponseOutput) with field(s):
    ///   - [`response_type(Option<GatewayResponseType>)`](crate::operation::put_gateway_response::PutGatewayResponseOutput::response_type): <p>The response type of the associated GatewayResponse.</p>
    ///   - [`status_code(Option<String>)`](crate::operation::put_gateway_response::PutGatewayResponseOutput::status_code): <p>The HTTP status code for this GatewayResponse.</p>
    ///   - [`response_parameters(Option<HashMap::<String, String>>)`](crate::operation::put_gateway_response::PutGatewayResponseOutput::response_parameters): <p>Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.</p>
    ///   - [`response_templates(Option<HashMap::<String, String>>)`](crate::operation::put_gateway_response::PutGatewayResponseOutput::response_templates): <p>Response templates of the GatewayResponse as a string-to-string map of key-value pairs.</p>
    ///   - [`default_response(bool)`](crate::operation::put_gateway_response::PutGatewayResponseOutput::default_response): <p>A Boolean flag to indicate whether this GatewayResponse is the default gateway response (<code>true</code>) or not (<code>false</code>). A default gateway response is one generated by API Gateway without any customization by an API developer. </p>
    /// - On failure, responds with [`SdkError<PutGatewayResponseError>`](crate::operation::put_gateway_response::PutGatewayResponseError)
    pub fn put_gateway_response(&self) -> crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder {
        crate::operation::put_gateway_response::builders::PutGatewayResponseFluentBuilder::new(self.handle.clone())
    }
}