pub struct ModifyNetworkInterfaceAttributeRequest {
pub attachment: Option<NetworkInterfaceAttachmentChanges>,
pub description: Option<AttributeValue>,
pub dry_run: Option<bool>,
pub groups: Option<Vec<String>>,
pub network_interface_id: String,
pub source_dest_check: Option<AttributeBooleanValue>,
}
Expand description
Contains the parameters for ModifyNetworkInterfaceAttribute.
Fields§
§attachment: Option<NetworkInterfaceAttachmentChanges>
Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.
description: Option<AttributeValue>
A description for the network interface.
dry_run: Option<bool>
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 DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
groups: Option<Vec<String>>
Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
network_interface_id: String
The ID of the network interface.
source_dest_check: Option<AttributeBooleanValue>
Indicates whether source/destination checking is enabled. A value of true
means checking is enabled, and false
means checking is disabled. This value must be false
for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.
Trait Implementations§
Source§impl Clone for ModifyNetworkInterfaceAttributeRequest
impl Clone for ModifyNetworkInterfaceAttributeRequest
Source§fn clone(&self) -> ModifyNetworkInterfaceAttributeRequest
fn clone(&self) -> ModifyNetworkInterfaceAttributeRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ModifyNetworkInterfaceAttributeRequest
impl Default for ModifyNetworkInterfaceAttributeRequest
Source§fn default() -> ModifyNetworkInterfaceAttributeRequest
fn default() -> ModifyNetworkInterfaceAttributeRequest
Source§impl PartialEq for ModifyNetworkInterfaceAttributeRequest
impl PartialEq for ModifyNetworkInterfaceAttributeRequest
Source§fn eq(&self, other: &ModifyNetworkInterfaceAttributeRequest) -> bool
fn eq(&self, other: &ModifyNetworkInterfaceAttributeRequest) -> bool
self
and other
values to be equal, and is used by ==
.