Struct rusoto_ec2::CreateSnapshotRequest [−][src]
pub struct CreateSnapshotRequest { pub description: Option<String>, pub dry_run: Option<bool>, pub tag_specifications: Option<Vec<TagSpecification>>, pub volume_id: String, }
Contains the parameters for CreateSnapshot.
Fields
description: Option<String>
A description for the snapshot.
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
.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the snapshot during creation.
volume_id: String
The ID of the EBS volume.
Trait Implementations
impl Default for CreateSnapshotRequest
[src]
impl Default for CreateSnapshotRequest
fn default() -> CreateSnapshotRequest
[src]
fn default() -> CreateSnapshotRequest
Returns the "default value" for a type. Read more
impl Debug for CreateSnapshotRequest
[src]
impl Debug for CreateSnapshotRequest
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 CreateSnapshotRequest
[src]
impl Clone for CreateSnapshotRequest
fn clone(&self) -> CreateSnapshotRequest
[src]
fn clone(&self) -> CreateSnapshotRequest
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for CreateSnapshotRequest
[src]
impl PartialEq for CreateSnapshotRequest
fn eq(&self, other: &CreateSnapshotRequest) -> bool
[src]
fn eq(&self, other: &CreateSnapshotRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateSnapshotRequest) -> bool
[src]
fn ne(&self, other: &CreateSnapshotRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateSnapshotRequest
impl Send for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest