#[non_exhaustive]pub struct DescribeArchiveOutput {
pub archive_arn: Option<String>,
pub archive_name: Option<String>,
pub event_source_arn: Option<String>,
pub description: Option<String>,
pub event_pattern: 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>,
/* private fields */
}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_arn: Option<String>The ARN of the archive.
archive_name: Option<String>The name of the archive.
event_source_arn: Option<String>The ARN of the event source associated with the archive.
description: Option<String>The description of the archive.
event_pattern: Option<String>The event pattern used to filter events sent to the archive.
state: Option<ArchiveState>The state of the archive.
state_reason: Option<String>The reason that the archive is in the state.
retention_days: Option<i32>The number of days to retain events for in the archive.
size_bytes: i64The size of the archive in bytes.
event_count: i64The number of events in the archive.
creation_time: Option<DateTime>The time at which the archive was created.
Implementations§
source§impl DescribeArchiveOutput
impl DescribeArchiveOutput
sourcepub fn archive_arn(&self) -> Option<&str>
pub fn archive_arn(&self) -> Option<&str>
The ARN of the archive.
sourcepub fn archive_name(&self) -> Option<&str>
pub fn archive_name(&self) -> Option<&str>
The name of the archive.
sourcepub fn event_source_arn(&self) -> Option<&str>
pub fn event_source_arn(&self) -> Option<&str>
The ARN of the event source associated with the archive.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the archive.
sourcepub fn event_pattern(&self) -> Option<&str>
pub fn event_pattern(&self) -> Option<&str>
The event pattern used to filter events sent to the archive.
sourcepub fn state(&self) -> Option<&ArchiveState>
pub fn state(&self) -> Option<&ArchiveState>
The state of the archive.
sourcepub fn state_reason(&self) -> Option<&str>
pub fn state_reason(&self) -> Option<&str>
The reason that the archive is in the state.
sourcepub fn retention_days(&self) -> Option<i32>
pub fn retention_days(&self) -> Option<i32>
The number of days to retain events for in the archive.
sourcepub fn size_bytes(&self) -> i64
pub fn size_bytes(&self) -> i64
The size of the archive in bytes.
sourcepub fn event_count(&self) -> i64
pub fn event_count(&self) -> i64
The number of events in the archive.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time at which the archive was created.
source§impl DescribeArchiveOutput
impl DescribeArchiveOutput
sourcepub fn builder() -> DescribeArchiveOutputBuilder
pub fn builder() -> DescribeArchiveOutputBuilder
Creates a new builder-style object to manufacture DescribeArchiveOutput.
Trait Implementations§
source§impl Clone for DescribeArchiveOutput
impl Clone for DescribeArchiveOutput
source§fn clone(&self) -> DescribeArchiveOutput
fn clone(&self) -> DescribeArchiveOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeArchiveOutput
impl Debug for DescribeArchiveOutput
source§impl PartialEq for DescribeArchiveOutput
impl PartialEq for DescribeArchiveOutput
source§fn eq(&self, other: &DescribeArchiveOutput) -> bool
fn eq(&self, other: &DescribeArchiveOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeArchiveOutput
impl RequestId for DescribeArchiveOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.