[][src]Struct rusoto_ec2::ModifyNetworkInterfaceAttributeRequest

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 PartialEq<ModifyNetworkInterfaceAttributeRequest> for ModifyNetworkInterfaceAttributeRequest[src]

impl Default for ModifyNetworkInterfaceAttributeRequest[src]

impl Clone for ModifyNetworkInterfaceAttributeRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ModifyNetworkInterfaceAttributeRequest[src]

Auto Trait Implementations

impl Send for ModifyNetworkInterfaceAttributeRequest

impl Sync for ModifyNetworkInterfaceAttributeRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self