Struct aws_sdk_config::types::ConfigStreamDeliveryInfo
source · #[non_exhaustive]pub struct ConfigStreamDeliveryInfo {
pub last_status: Option<DeliveryStatus>,
pub last_error_code: Option<String>,
pub last_error_message: Option<String>,
pub last_status_change_time: Option<DateTime>,
}Expand description
A list that contains the status of the delivery of the configuration stream notification to the Amazon SNS topic.
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.last_status: Option<DeliveryStatus>Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
last_error_code: Option<String>The error code from the last attempted delivery.
last_error_message: Option<String>The error message from the last attempted delivery.
last_status_change_time: Option<DateTime>The time from the last status change.
Implementations§
source§impl ConfigStreamDeliveryInfo
impl ConfigStreamDeliveryInfo
sourcepub fn last_status(&self) -> Option<&DeliveryStatus>
pub fn last_status(&self) -> Option<&DeliveryStatus>
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
sourcepub fn last_error_code(&self) -> Option<&str>
pub fn last_error_code(&self) -> Option<&str>
The error code from the last attempted delivery.
sourcepub fn last_error_message(&self) -> Option<&str>
pub fn last_error_message(&self) -> Option<&str>
The error message from the last attempted delivery.
sourcepub fn last_status_change_time(&self) -> Option<&DateTime>
pub fn last_status_change_time(&self) -> Option<&DateTime>
The time from the last status change.
source§impl ConfigStreamDeliveryInfo
impl ConfigStreamDeliveryInfo
sourcepub fn builder() -> ConfigStreamDeliveryInfoBuilder
pub fn builder() -> ConfigStreamDeliveryInfoBuilder
Creates a new builder-style object to manufacture ConfigStreamDeliveryInfo.
Trait Implementations§
source§impl Clone for ConfigStreamDeliveryInfo
impl Clone for ConfigStreamDeliveryInfo
source§fn clone(&self) -> ConfigStreamDeliveryInfo
fn clone(&self) -> ConfigStreamDeliveryInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConfigStreamDeliveryInfo
impl Debug for ConfigStreamDeliveryInfo
source§impl PartialEq for ConfigStreamDeliveryInfo
impl PartialEq for ConfigStreamDeliveryInfo
source§fn eq(&self, other: &ConfigStreamDeliveryInfo) -> bool
fn eq(&self, other: &ConfigStreamDeliveryInfo) -> bool
self and other values to be equal, and is used
by ==.