[][src]Struct rusoto_lightsail::CopySnapshotRequest

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. The restore date and use 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. The use latest restorable auto snapshot and restore 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

impl Clone for CopySnapshotRequest[src]

impl Debug for CopySnapshotRequest[src]

impl Default for CopySnapshotRequest[src]

impl PartialEq<CopySnapshotRequest> for CopySnapshotRequest[src]

impl Serialize for CopySnapshotRequest[src]

impl StructuralPartialEq for CopySnapshotRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.