aws_sdk_apigateway/client/update_gateway_response.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateGatewayResponse`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`rest_api_id(impl Into<String>)`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::set_rest_api_id):<br>required: **true**<br><p>The string identifier of the associated RestApi.</p><br>
7 /// - [`response_type(GatewayResponseType)`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::response_type) / [`set_response_type(Option<GatewayResponseType>)`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::set_response_type):<br>required: **true**<br><p>The response type of the associated GatewayResponse.</p><br>
8 /// - [`patch_operations(PatchOperation)`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::patch_operations) / [`set_patch_operations(Option<Vec::<PatchOperation>>)`](crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::set_patch_operations):<br>required: **false**<br><p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p><br>
9 /// - On success, responds with [`UpdateGatewayResponseOutput`](crate::operation::update_gateway_response::UpdateGatewayResponseOutput) with field(s):
10 /// - [`response_type(Option<GatewayResponseType>)`](crate::operation::update_gateway_response::UpdateGatewayResponseOutput::response_type): <p>The response type of the associated GatewayResponse.</p>
11 /// - [`status_code(Option<String>)`](crate::operation::update_gateway_response::UpdateGatewayResponseOutput::status_code): <p>The HTTP status code for this GatewayResponse.</p>
12 /// - [`response_parameters(Option<HashMap::<String, String>>)`](crate::operation::update_gateway_response::UpdateGatewayResponseOutput::response_parameters): <p>Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.</p>
13 /// - [`response_templates(Option<HashMap::<String, String>>)`](crate::operation::update_gateway_response::UpdateGatewayResponseOutput::response_templates): <p>Response templates of the GatewayResponse as a string-to-string map of key-value pairs.</p>
14 /// - [`default_response(bool)`](crate::operation::update_gateway_response::UpdateGatewayResponseOutput::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>
15 /// - On failure, responds with [`SdkError<UpdateGatewayResponseError>`](crate::operation::update_gateway_response::UpdateGatewayResponseError)
16 pub fn update_gateway_response(&self) -> crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder {
17 crate::operation::update_gateway_response::builders::UpdateGatewayResponseFluentBuilder::new(self.handle.clone())
18 }
19}