Detach Network Interface
ec2_detach_network_interface | R Documentation |
Detaches a network interface from an instance¶
Description¶
Detaches a network interface from an instance.
Usage¶
ec2_detach_network_interface(DryRun, AttachmentId, Force)
Arguments¶
DryRun |
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
|
AttachmentId |
[required] The ID of the attachment. |
Force |
Specifies whether to force a detachment.
|
Value¶
An empty list.
Request syntax¶
svc$detach_network_interface(
DryRun = TRUE|FALSE,
AttachmentId = "string",
Force = TRUE|FALSE
)
Examples¶
## Not run:
# This example detaches the specified network interface from its attached
# instance.
svc$detach_network_interface(
AttachmentId = "eni-attach-66c4350a"
)
## End(Not run)