Struct aws_sdk_iotanalytics::types::ChannelSummary
source · #[non_exhaustive]pub struct ChannelSummary {
pub channel_name: Option<String>,
pub channel_storage: Option<ChannelStorageSummary>,
pub status: Option<ChannelStatus>,
pub creation_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub last_message_arrival_time: Option<DateTime>,
}
Expand description
A summary of information about a channel.
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.channel_name: Option<String>
The name of the channel.
channel_storage: Option<ChannelStorageSummary>
Where channel data is stored.
status: Option<ChannelStatus>
The status of the channel.
creation_time: Option<DateTime>
When the channel was created.
last_update_time: Option<DateTime>
The last time the channel was updated.
last_message_arrival_time: Option<DateTime>
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
Implementations§
source§impl ChannelSummary
impl ChannelSummary
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name of the channel.
sourcepub fn channel_storage(&self) -> Option<&ChannelStorageSummary>
pub fn channel_storage(&self) -> Option<&ChannelStorageSummary>
Where channel data is stored.
sourcepub fn status(&self) -> Option<&ChannelStatus>
pub fn status(&self) -> Option<&ChannelStatus>
The status of the channel.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the channel was created.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The last time the channel was updated.
sourcepub fn last_message_arrival_time(&self) -> Option<&DateTime>
pub fn last_message_arrival_time(&self) -> Option<&DateTime>
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
source§impl ChannelSummary
impl ChannelSummary
sourcepub fn builder() -> ChannelSummaryBuilder
pub fn builder() -> ChannelSummaryBuilder
Creates a new builder-style object to manufacture ChannelSummary
.
Trait Implementations§
source§impl Clone for ChannelSummary
impl Clone for ChannelSummary
source§fn clone(&self) -> ChannelSummary
fn clone(&self) -> ChannelSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelSummary
impl Debug for ChannelSummary
source§impl PartialEq for ChannelSummary
impl PartialEq for ChannelSummary
source§fn eq(&self, other: &ChannelSummary) -> bool
fn eq(&self, other: &ChannelSummary) -> bool
self
and other
values to be equal, and is used
by ==
.