Struct aws_sdk_storagegateway::input::DetachVolumeInput [−][src]
#[non_exhaustive]pub struct DetachVolumeInput {
pub volume_arn: Option<String>,
pub force_detach: Option<bool>,
}
Expand description
AttachVolumeInput
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.volume_arn: Option<String>
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
force_detach: Option<bool>
Set to true
to forcibly remove the iSCSI connection of the target volume
and detach the volume. The default is false
. If this value is set to
false
, you must manually disconnect the iSCSI connection from the target
volume.
Valid Values: true
| false
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachVolume, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachVolume, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetachVolume
>
Creates a new builder-style object to manufacture DetachVolumeInput
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
Set to true
to forcibly remove the iSCSI connection of the target volume
and detach the volume. The default is false
. If this value is set to
false
, you must manually disconnect the iSCSI connection from the target
volume.
Valid Values: true
| false
Trait Implementations
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 DetachVolumeInput
impl Send for DetachVolumeInput
impl Sync for DetachVolumeInput
impl Unpin for DetachVolumeInput
impl UnwindSafe for DetachVolumeInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more