aws_sdk_migrationhubrefactorspaces/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    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    /// - On success, responds with [`DeleteRouteOutput`](crate::operation::delete_route::DeleteRouteOutput) with field(s):
10    ///   - [`route_id(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::route_id): <p>The ID of the route to delete.</p>
11    ///   - [`arn(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::arn): <p>The Amazon Resource Name (ARN) of the route.</p>
12    ///   - [`service_id(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::service_id): <p>The ID of the service that the route belongs to.</p>
13    ///   - [`application_id(Option<String>)`](crate::operation::delete_route::DeleteRouteOutput::application_id): <p>The ID of the application that the route belongs to.</p>
14    ///   - [`state(Option<RouteState>)`](crate::operation::delete_route::DeleteRouteOutput::state): <p>The current state of the route.</p>
15    ///   - [`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>
16    /// - On failure, responds with [`SdkError<DeleteRouteError>`](crate::operation::delete_route::DeleteRouteError)
17    pub fn delete_route(&self) -> crate::operation::delete_route::builders::DeleteRouteFluentBuilder {
18        crate::operation::delete_route::builders::DeleteRouteFluentBuilder::new(self.handle.clone())
19    }
20}