Struct rusoto_ec2::ModifyVolumeRequest [−][src]
pub struct ModifyVolumeRequest { pub dry_run: Option<bool>, pub iops: Option<i64>, pub size: Option<i64>, pub volume_id: String, pub volume_type: Option<String>, }
Fields
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
.
iops: Option<i64>
Target IOPS rate of the volume to be modified.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about io1
IOPS configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
size: Option<i64>
Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html.
Default: If no size is specified, the existing size is retained.
volume_id: String
The ID of the volume.
volume_type: Option<String>
Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the type of a volume to standard
.
Default: If no type is specified, the existing type is retained.
Trait Implementations
impl Default for ModifyVolumeRequest
[src]
impl Default for ModifyVolumeRequest
fn default() -> ModifyVolumeRequest
[src]
fn default() -> ModifyVolumeRequest
Returns the "default value" for a type. Read more
impl Debug for ModifyVolumeRequest
[src]
impl Debug for ModifyVolumeRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ModifyVolumeRequest
[src]
impl Clone for ModifyVolumeRequest
fn clone(&self) -> ModifyVolumeRequest
[src]
fn clone(&self) -> ModifyVolumeRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for ModifyVolumeRequest
[src]
impl PartialEq for ModifyVolumeRequest
fn eq(&self, other: &ModifyVolumeRequest) -> bool
[src]
fn eq(&self, other: &ModifyVolumeRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ModifyVolumeRequest) -> bool
[src]
fn ne(&self, other: &ModifyVolumeRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ModifyVolumeRequest
impl Send for ModifyVolumeRequest
impl Sync for ModifyVolumeRequest
impl Sync for ModifyVolumeRequest