pub struct AttachVolumeRequest {
pub device: String,
pub dry_run: Option<bool>,
pub instance_id: String,
pub volume_id: String,
}Fields§
§device: StringThe 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: StringThe ID of the instance.
volume_id: StringThe ID of the EBS volume. The volume and instance must be within the same Availability Zone.
Trait Implementations§
Source§impl Clone for AttachVolumeRequest
impl Clone for AttachVolumeRequest
Source§fn clone(&self) -> AttachVolumeRequest
fn clone(&self) -> AttachVolumeRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttachVolumeRequest
impl Debug for AttachVolumeRequest
Source§impl Default for AttachVolumeRequest
impl Default for AttachVolumeRequest
Source§fn default() -> AttachVolumeRequest
fn default() -> AttachVolumeRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AttachVolumeRequest
impl PartialEq for AttachVolumeRequest
impl StructuralPartialEq for AttachVolumeRequest
Auto Trait Implementations§
impl Freeze for AttachVolumeRequest
impl RefUnwindSafe for AttachVolumeRequest
impl Send for AttachVolumeRequest
impl Sync for AttachVolumeRequest
impl Unpin for AttachVolumeRequest
impl UnwindSafe for AttachVolumeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more