Struct rusoto_ec2::DetachNetworkInterfaceRequest [−][src]
pub struct DetachNetworkInterfaceRequest { pub attachment_id: String, pub dry_run: Option<bool>, pub force: Option<bool>, }
Expand description
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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for DetachNetworkInterfaceRequest
impl Sync for DetachNetworkInterfaceRequest
impl Unpin for DetachNetworkInterfaceRequest
impl UnwindSafe for DetachNetworkInterfaceRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self