1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteRoute`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`route_name(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::route_name) / [`set_route_name(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_route_name):<br>required: **true**<br><p>The name of the route to delete.</p><br>
    ///   - [`mesh_name(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::mesh_name) / [`set_mesh_name(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_mesh_name):<br>required: **true**<br><p>The name of the service mesh to delete the route in.</p><br>
    ///   - [`virtual_router_name(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::virtual_router_name) / [`set_virtual_router_name(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_virtual_router_name):<br>required: **true**<br><p>The name of the virtual router to delete the route in.</p><br>
    ///   - [`mesh_owner(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::mesh_owner) / [`set_mesh_owner(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_mesh_owner):<br>required: **false**<br><p>The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working with shared meshes</a>.</p><br>
    /// - On success, responds with [`DeleteRouteOutput`](crate::operation::delete_route::DeleteRouteOutput) with field(s):
    ///   - [`route(Option<RouteData>)`](crate::operation::delete_route::DeleteRouteOutput::route): <p>The route that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteRouteError>`](crate::operation::delete_route::DeleteRouteError)
    pub fn delete_route(&self) -> crate::operation::delete_route::builders::DeleteRouteFluentBuilder {
        crate::operation::delete_route::builders::DeleteRouteFluentBuilder::new(self.handle.clone())
    }
}