Expand description
Describes a request to enable or modify the automatic snapshot add-on for an Amazon Lightsail instance or disk.
When you modify the automatic snapshot time for a resource, it is typically effective immediately except under the following conditions:
-
If an automatic snapshot has been created for the current day, and you change the snapshot time to a later time of day, then the new snapshot time will be effective the following day. This ensures that two snapshots are not created for the current day.
-
If an automatic snapshot has not yet been created for the current day, and you change the snapshot time to an earlier time of day, then the new snapshot time will be effective the following day and a snapshot is automatically created at the previously set time for the current day. This ensures that a snapshot is created for the current day.
-
If an automatic snapshot has not yet been created for the current day, and you change the snapshot time to a time that is within 30 minutes from your current time, then the new snapshot time will be effective the following day and a snapshot is automatically created at the previously set time for the current day. This ensures that a snapshot is created for the current day, because 30 minutes is required between your current time and the new snapshot time that you specify.
-
If an automatic snapshot is scheduled to be created within 30 minutes from your current time and you change the snapshot time, then the new snapshot time will be effective the following day and a snapshot is automatically created at the previously set time for the current day. This ensures that a snapshot is created for the current day, because 30 minutes is required between your current time and the new snapshot time that you specify.
Fields
snapshot_time_of_day: Option<String>
The daily time when an automatic snapshot will be created.
Constraints:
-
Must be in
HH:00
format, and in an hourly increment. -
Specified in Coordinated Universal Time (UTC).
-
The snapshot will be automatically created between the time specified and up to 45 minutes after.
Trait Implementations
sourceimpl Clone for AutoSnapshotAddOnRequest
impl Clone for AutoSnapshotAddOnRequest
sourcefn clone(&self) -> AutoSnapshotAddOnRequest
fn clone(&self) -> AutoSnapshotAddOnRequest
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 AutoSnapshotAddOnRequest
impl Debug for AutoSnapshotAddOnRequest
sourceimpl Default for AutoSnapshotAddOnRequest
impl Default for AutoSnapshotAddOnRequest
sourcefn default() -> AutoSnapshotAddOnRequest
fn default() -> AutoSnapshotAddOnRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AutoSnapshotAddOnRequest> for AutoSnapshotAddOnRequest
impl PartialEq<AutoSnapshotAddOnRequest> for AutoSnapshotAddOnRequest
sourcefn eq(&self, other: &AutoSnapshotAddOnRequest) -> bool
fn eq(&self, other: &AutoSnapshotAddOnRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AutoSnapshotAddOnRequest) -> bool
fn ne(&self, other: &AutoSnapshotAddOnRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for AutoSnapshotAddOnRequest
impl Serialize for AutoSnapshotAddOnRequest
impl StructuralPartialEq for AutoSnapshotAddOnRequest
Auto Trait Implementations
impl RefUnwindSafe for AutoSnapshotAddOnRequest
impl Send for AutoSnapshotAddOnRequest
impl Sync for AutoSnapshotAddOnRequest
impl Unpin for AutoSnapshotAddOnRequest
impl UnwindSafe for AutoSnapshotAddOnRequest
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