Struct rusoto_ec2::ModifyNetworkInterfaceAttributeRequest
[−]
[src]
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>, }
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
impl Default for ModifyNetworkInterfaceAttributeRequest
[src]
fn default() -> ModifyNetworkInterfaceAttributeRequest
Returns the "default value" for a type. Read more
impl Debug for ModifyNetworkInterfaceAttributeRequest
[src]
impl Clone for ModifyNetworkInterfaceAttributeRequest
[src]
fn clone(&self) -> ModifyNetworkInterfaceAttributeRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more