aws_sdk_apigatewayv2/client/
delete_route.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 [`DeleteRoute`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`api_id(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_api_id):<br>required: **true**<br><p>The API identifier.</p><br>
7    ///   - [`route_id(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::route_id) / [`set_route_id(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_route_id):<br>required: **true**<br><p>The route ID.</p><br>
8    /// - On success, responds with [`DeleteRouteOutput`](crate::operation::delete_route::DeleteRouteOutput)
9    /// - On failure, responds with [`SdkError<DeleteRouteError>`](crate::operation::delete_route::DeleteRouteError)
10    pub fn delete_route(&self) -> crate::operation::delete_route::builders::DeleteRouteFluentBuilder {
11        crate::operation::delete_route::builders::DeleteRouteFluentBuilder::new(self.handle.clone())
12    }
13}