Struct aws_sdk_fsx::model::Snapshot
source · [−]#[non_exhaustive]pub struct Snapshot {
pub resource_arn: Option<String>,
pub snapshot_id: Option<String>,
pub name: Option<String>,
pub volume_id: Option<String>,
pub creation_time: Option<DateTime>,
pub lifecycle: Option<SnapshotLifecycle>,
pub lifecycle_transition_reason: Option<LifecycleTransitionReason>,
pub tags: Option<Vec<Tag>>,
pub administrative_actions: Option<Vec<AdministrativeAction>>,
}Expand description
A snapshot of an Amazon FSx for OpenZFS volume.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_arn: Option<String>The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
snapshot_id: Option<String>The ID of the snapshot.
name: Option<String>The name of the snapshot.
volume_id: Option<String>The ID of the volume that the snapshot is of.
creation_time: Option<DateTime>The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
lifecycle: Option<SnapshotLifecycle>The lifecycle status of the snapshot.
-
PENDING- Amazon FSx hasn't started creating the snapshot. -
CREATING- Amazon FSx is creating the snapshot. -
DELETING- Amazon FSx is deleting the snapshot. -
AVAILABLE- The snapshot is fully available.
lifecycle_transition_reason: Option<LifecycleTransitionReason>Describes why a resource lifecycle state changed.
A list of Tag values, with a maximum of 50 elements.
administrative_actions: Option<Vec<AdministrativeAction>>A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
Implementations
sourceimpl Snapshot
impl Snapshot
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The ID of the snapshot.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn lifecycle(&self) -> Option<&SnapshotLifecycle>
pub fn lifecycle(&self) -> Option<&SnapshotLifecycle>
The lifecycle status of the snapshot.
-
PENDING- Amazon FSx hasn't started creating the snapshot. -
CREATING- Amazon FSx is creating the snapshot. -
DELETING- Amazon FSx is deleting the snapshot. -
AVAILABLE- The snapshot is fully available.
sourcepub fn lifecycle_transition_reason(&self) -> Option<&LifecycleTransitionReason>
pub fn lifecycle_transition_reason(&self) -> Option<&LifecycleTransitionReason>
Describes why a resource lifecycle state changed.
A list of Tag values, with a maximum of 50 elements.
sourcepub fn administrative_actions(&self) -> Option<&[AdministrativeAction]>
pub fn administrative_actions(&self) -> Option<&[AdministrativeAction]>
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
Trait Implementations
impl StructuralPartialEq for Snapshot
Auto Trait Implementations
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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