aws_sdk_mediaconnect/client/
delete_router_network_interface.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 [`DeleteRouterNetworkInterface`](crate::operation::delete_router_network_interface::builders::DeleteRouterNetworkInterfaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::delete_router_network_interface::builders::DeleteRouterNetworkInterfaceFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_router_network_interface::builders::DeleteRouterNetworkInterfaceFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the router network interface that you want to delete.</p><br>
7    /// - On success, responds with [`DeleteRouterNetworkInterfaceOutput`](crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceOutput) with field(s):
8    ///   - [`arn(String)`](crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceOutput::arn): <p>The ARN of the deleted router network interface.</p>
9    ///   - [`name(String)`](crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceOutput::name): <p>The name of the deleted router network interface.</p>
10    ///   - [`state(RouterNetworkInterfaceState)`](crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceOutput::state): <p>The current state of the deleted router network interface, indicating where it is in the deletion process.</p>
11    /// - On failure, responds with [`SdkError<DeleteRouterNetworkInterfaceError>`](crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError)
12    pub fn delete_router_network_interface(
13        &self,
14    ) -> crate::operation::delete_router_network_interface::builders::DeleteRouterNetworkInterfaceFluentBuilder {
15        crate::operation::delete_router_network_interface::builders::DeleteRouterNetworkInterfaceFluentBuilder::new(self.handle.clone())
16    }
17}