pub struct CreateSnapshotsRequest {
pub copy_tags_from_source: Option<String>,
pub description: Option<String>,
pub dry_run: Option<bool>,
pub instance_specification: InstanceSpecification,
pub tag_specifications: Option<Vec<TagSpecification>>,
}Fields§
Copies the tags from the specified volume to corresponding snapshot.
description: Option<String>A description propagated to every snapshot specified by the instance.
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_specification: InstanceSpecificationThe instance to specify which volumes should be included in the snapshots.
tag_specifications: Option<Vec<TagSpecification>>Tags to apply to every snapshot specified by the instance.
Trait Implementations§
Source§impl Clone for CreateSnapshotsRequest
impl Clone for CreateSnapshotsRequest
Source§fn clone(&self) -> CreateSnapshotsRequest
fn clone(&self) -> CreateSnapshotsRequest
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 CreateSnapshotsRequest
impl Debug for CreateSnapshotsRequest
Source§impl Default for CreateSnapshotsRequest
impl Default for CreateSnapshotsRequest
Source§fn default() -> CreateSnapshotsRequest
fn default() -> CreateSnapshotsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateSnapshotsRequest
impl PartialEq for CreateSnapshotsRequest
impl StructuralPartialEq for CreateSnapshotsRequest
Auto Trait Implementations§
impl Freeze for CreateSnapshotsRequest
impl RefUnwindSafe for CreateSnapshotsRequest
impl Send for CreateSnapshotsRequest
impl Sync for CreateSnapshotsRequest
impl Unpin for CreateSnapshotsRequest
impl UnwindSafe for CreateSnapshotsRequest
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