Struct aws_sdk_eventbridge::model::Archive [−][src]
#[non_exhaustive]pub struct Archive {
pub archive_name: Option<String>,
pub event_source_arn: Option<String>,
pub state: Option<ArchiveState>,
pub state_reason: Option<String>,
pub retention_days: Option<i32>,
pub size_bytes: i64,
pub event_count: i64,
pub creation_time: Option<DateTime>,
}
Expand description
An Archive
object that contains details about an archive.
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.archive_name: Option<String>
The name of the archive.
event_source_arn: Option<String>
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
state: Option<ArchiveState>
The current state of the archive.
state_reason: Option<String>
A description for the reason that the archive is in the current state.
retention_days: Option<i32>
The number of days to retain events in the archive before they are deleted.
size_bytes: i64
The size of the archive, in bytes.
event_count: i64
The number of events in the archive.
creation_time: Option<DateTime>
The time stamp for the time that the archive was created.
Implementations
The name of the archive.
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
The current state of the archive.
A description for the reason that the archive is in the current state.
The number of days to retain events in the archive before they are deleted.
The size of the archive, in bytes.
The number of events in the archive.
The time stamp for the time that the archive was created.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Archive
impl UnwindSafe for Archive
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more