Struct aws_sdk_iotanalytics::types::Channel
source · #[non_exhaustive]pub struct Channel {
pub name: Option<String>,
pub storage: Option<ChannelStorage>,
pub arn: Option<String>,
pub status: Option<ChannelStatus>,
pub retention_period: Option<RetentionPeriod>,
pub creation_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub last_message_arrival_time: Option<DateTime>,
}
Expand description
A collection of data from an MQTT topic. Channels archive the raw, unprocessed messages before publishing the data to a pipeline.
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.name: Option<String>
The name of the channel.
storage: Option<ChannelStorage>
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
arn: Option<String>
The ARN of the channel.
status: Option<ChannelStatus>
The status of the channel.
retention_period: Option<RetentionPeriod>
How long, in days, message data is kept for the channel.
creation_time: Option<DateTime>
When the channel was created.
last_update_time: Option<DateTime>
When the channel was last 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 Channel
impl Channel
sourcepub fn storage(&self) -> Option<&ChannelStorage>
pub fn storage(&self) -> Option<&ChannelStorage>
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
sourcepub fn status(&self) -> Option<&ChannelStatus>
pub fn status(&self) -> Option<&ChannelStatus>
The status of the channel.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
How long, in days, message data is kept for 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>
When the channel was last 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.