aws_sdk_ec2/client/
reset_network_interface_attribute.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 [`ResetNetworkInterfaceAttribute`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dry_run(bool)`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
7    ///   - [`network_interface_id(impl Into<String>)`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::network_interface_id) / [`set_network_interface_id(Option<String>)`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::set_network_interface_id):<br>required: **true**<br><p>The ID of the network interface.</p><br>
8    ///   - [`source_dest_check(impl Into<String>)`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::source_dest_check) / [`set_source_dest_check(Option<String>)`](crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::set_source_dest_check):<br>required: **false**<br><p>The source/destination checking attribute. Resets the value to <code>true</code>.</p><br>
9    /// - On success, responds with [`ResetNetworkInterfaceAttributeOutput`](crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeOutput)
10    /// - On failure, responds with [`SdkError<ResetNetworkInterfaceAttributeError>`](crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError)
11    pub fn reset_network_interface_attribute(
12        &self,
13    ) -> crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder {
14        crate::operation::reset_network_interface_attribute::builders::ResetNetworkInterfaceAttributeFluentBuilder::new(self.handle.clone())
15    }
16}