Struct rusoto_ec2::DetachVolumeRequest [−][src]
pub struct DetachVolumeRequest { pub device: Option<String>, pub dry_run: Option<bool>, pub force: Option<bool>, pub instance_id: Option<String>, pub volume_id: String, }
Fields
device: Option<String>
The device name.
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>
Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures.
instance_id: Option<String>
The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.
volume_id: String
The ID of the volume.
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 RefUnwindSafe for DetachVolumeRequest
impl Send for DetachVolumeRequest
impl Sync for DetachVolumeRequest
impl Unpin for DetachVolumeRequest
impl UnwindSafe for DetachVolumeRequest
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