1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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:
    ///   - [`environment_identifier(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment to delete the route from.</p><br>
    ///   - [`application_identifier(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::application_identifier) / [`set_application_identifier(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_application_identifier):<br>required: **true**<br><p>The ID of the application to delete the route from.</p><br>
    ///   - [`route_identifier(impl Into<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::route_identifier) / [`set_route_identifier(Option<String>)`](crate::operation::delete_route::builders::DeleteRouteFluentBuilder::set_route_identifier):<br>required: **true**<br><p>The ID of the route to delete.</p><br>
    /// - On success, responds with [`DeleteRouteOutput`](crate::operation::delete_route::DeleteRouteOutput) with field(s):
    ///   - [`route_id(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::route_id): <p>The ID of the route to delete.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::arn): <p>The Amazon Resource Name (ARN) of the route.</p>
    ///   - [`service_id(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::service_id): <p>The ID of the service that the route belongs to.</p>
    ///   - [`application_id(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::application_id): <p>The ID of the application that the route belongs to.</p>
    ///   - [`state(Option<RouteState>)`](crate::operation::delete_route::DeleteRouteOutput::state): <p>The current state of the route. </p>
    ///   - [`last_updated_time(Option<DateTime>)`](crate::operation::delete_route::DeleteRouteOutput::last_updated_time): <p>A timestamp that indicates when the route was last updated. </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())
    }
}