Struct rusoto_lightsail::CopySnapshotRequest
source · [−]pub struct CopySnapshotRequest {
pub restore_date: Option<String>,
pub source_region: String,
pub source_resource_name: Option<String>,
pub source_snapshot_name: Option<String>,
pub target_snapshot_name: String,
pub use_latest_restorable_auto_snapshot: Option<bool>,
}
Fields
restore_date: Option<String>
The date of the source automatic snapshot to copy. Use the get auto snapshots
operation to identify the dates of the available automatic snapshots.
Constraints:
-
Must be specified in
YYYY-MM-DD
format. -
This parameter cannot be defined together with the
use latest restorable auto snapshot
parameter. Therestore date
anduse latest restorable auto snapshot
parameters are mutually exclusive. -
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Lightsail Dev Guide.
source_region: String
The AWS Region where the source manual or automatic snapshot is located.
source_resource_name: Option<String>
The name of the source instance or disk from which the source automatic snapshot was created.
Constraint:
-
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Lightsail Dev Guide.
source_snapshot_name: Option<String>
The name of the source manual snapshot to copy.
Constraint:
-
Define this parameter only when copying a manual snapshot as another manual snapshot.
target_snapshot_name: String
The name of the new manual snapshot to be created as a copy.
use_latest_restorable_auto_snapshot: Option<bool>
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.
Constraints:
-
This parameter cannot be defined together with the
restore date
parameter. Theuse latest restorable auto snapshot
andrestore date
parameters are mutually exclusive. -
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Lightsail Dev Guide.
Trait Implementations
sourceimpl Clone for CopySnapshotRequest
impl Clone for CopySnapshotRequest
sourcefn clone(&self) -> CopySnapshotRequest
fn clone(&self) -> CopySnapshotRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CopySnapshotRequest
impl Debug for CopySnapshotRequest
sourceimpl Default for CopySnapshotRequest
impl Default for CopySnapshotRequest
sourcefn default() -> CopySnapshotRequest
fn default() -> CopySnapshotRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CopySnapshotRequest> for CopySnapshotRequest
impl PartialEq<CopySnapshotRequest> for CopySnapshotRequest
sourcefn eq(&self, other: &CopySnapshotRequest) -> bool
fn eq(&self, other: &CopySnapshotRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CopySnapshotRequest) -> bool
fn ne(&self, other: &CopySnapshotRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CopySnapshotRequest
impl Serialize for CopySnapshotRequest
impl StructuralPartialEq for CopySnapshotRequest
Auto Trait Implementations
impl RefUnwindSafe for CopySnapshotRequest
impl Send for CopySnapshotRequest
impl Sync for CopySnapshotRequest
impl Unpin for CopySnapshotRequest
impl UnwindSafe for CopySnapshotRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more