[][src]Struct rusoto_ec2::DetachNetworkInterfaceRequest

pub struct DetachNetworkInterfaceRequest {
    pub attachment_id: String,
    pub dry_run: Option<bool>,
    pub force: Option<bool>,
}

Contains the parameters for DetachNetworkInterface.

Fields

attachment_id: String

The ID of the attachment.

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.

force: Option<bool>

Specifies whether to force a detachment.

  • Use the Force parameter only as a last resort to detach a network interface from a failed instance.

  • If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

  • If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.

Trait Implementations

impl Clone for DetachNetworkInterfaceRequest[src]

impl Default for DetachNetworkInterfaceRequest[src]

impl PartialEq<DetachNetworkInterfaceRequest> for DetachNetworkInterfaceRequest[src]

impl Debug for DetachNetworkInterfaceRequest[src]

impl StructuralPartialEq for DetachNetworkInterfaceRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self