Struct rusoto_ec2::AttachVolumeRequest [−][src]
pub struct AttachVolumeRequest { pub device: String, pub dry_run: Option<bool>, pub instance_id: String, pub volume_id: String, }
Fields
device: String
The device name (for example, /dev/sdh
or xvdh
).
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
.
instance_id: String
The ID of the instance.
volume_id: String
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
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 AttachVolumeRequest
impl Send for AttachVolumeRequest
impl Sync for AttachVolumeRequest
impl Unpin for AttachVolumeRequest
impl UnwindSafe for AttachVolumeRequest
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