aws_sdk_apigateway/client/
delete_method.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 [`DeleteMethod`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rest_api_id(impl Into<String>)`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder::set_rest_api_id):<br>required: **true**<br><p>The string identifier of the associated RestApi.</p><br>
7    ///   - [`resource_id(impl Into<String>)`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder::set_resource_id):<br>required: **true**<br><p>The Resource identifier for the Method resource.</p><br>
8    ///   - [`http_method(impl Into<String>)`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder::http_method) / [`set_http_method(Option<String>)`](crate::operation::delete_method::builders::DeleteMethodFluentBuilder::set_http_method):<br>required: **true**<br><p>The HTTP verb of the Method resource.</p><br>
9    /// - On success, responds with [`DeleteMethodOutput`](crate::operation::delete_method::DeleteMethodOutput)
10    /// - On failure, responds with [`SdkError<DeleteMethodError>`](crate::operation::delete_method::DeleteMethodError)
11    pub fn delete_method(&self) -> crate::operation::delete_method::builders::DeleteMethodFluentBuilder {
12        crate::operation::delete_method::builders::DeleteMethodFluentBuilder::new(self.handle.clone())
13    }
14}