Struct aws_sdk_fsx::types::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§
source§impl 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
sourcepub fn administrative_actions(&self) -> &[AdministrativeAction]
pub fn administrative_actions(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .administrative_actions.is_none().