1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::delete_network_interface_permission::_delete_network_interface_permission_output::DeleteNetworkInterfacePermissionOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::delete_network_interface_permission::_delete_network_interface_permission_input::DeleteNetworkInterfacePermissionInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::delete_network_interface_permission::_delete_network_interface_permission_output::DeleteNetworkInterfacePermissionOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::delete_network_interface_permission::builders::DeleteNetworkInterfacePermissionInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.delete_network_interface_permission();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DeleteNetworkInterfacePermission`.
|
24 24 | ///
|
25 25 | /// <p>Deletes a permission for a network interface. By default, you cannot delete the permission if the account for which you're removing the permission has attached the network interface to an instance. However, you can force delete the permission, regardless of any attachment.</p>
|
26 26 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
27 27 | pub struct DeleteNetworkInterfacePermissionFluentBuilder {
|
28 28 | handle: ::std::sync::Arc<crate::client::Handle>,
|
29 29 | inner: crate::operation::delete_network_interface_permission::builders::DeleteNetworkInterfacePermissionInputBuilder,
|
30 30 | config_override: ::std::option::Option<crate::config::Builder>,
|
31 31 | }
|
32 32 | impl
|
33 33 | crate::client::customize::internal::CustomizableSend<
|
34 34 | crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionOutput,
|
35 35 | crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
|