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 [`DeleteGatewayRoute`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_route_name(impl Into<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::gateway_route_name) / [`set_gateway_route_name(Option<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::set_gateway_route_name):<br>required: **true**<br><p>The name of the gateway route to delete.</p><br>
    ///   - [`mesh_name(impl Into<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::mesh_name) / [`set_mesh_name(Option<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::set_mesh_name):<br>required: **true**<br><p>The name of the service mesh to delete the gateway route from.</p><br>
    ///   - [`virtual_gateway_name(impl Into<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::virtual_gateway_name) / [`set_virtual_gateway_name(Option<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::set_virtual_gateway_name):<br>required: **true**<br><p>The name of the virtual gateway to delete the route from.</p><br>
    ///   - [`mesh_owner(impl Into<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::mesh_owner) / [`set_mesh_owner(Option<String>)`](crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::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 [`DeleteGatewayRouteOutput`](crate::operation::delete_gateway_route::DeleteGatewayRouteOutput) with field(s):
    ///   - [`gateway_route(Option<GatewayRouteData>)`](crate::operation::delete_gateway_route::DeleteGatewayRouteOutput::gateway_route): <p>The gateway route that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteGatewayRouteError>`](crate::operation::delete_gateway_route::DeleteGatewayRouteError)
    pub fn delete_gateway_route(&self) -> crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder {
        crate::operation::delete_gateway_route::builders::DeleteGatewayRouteFluentBuilder::new(self.handle.clone())
    }
}