Struct aws_sdk_iot::model::TopicRuleDestination
source · #[non_exhaustive]pub struct TopicRuleDestination { /* private fields */ }
Expand description
A topic rule destination.
Implementations§
source§impl TopicRuleDestination
impl TopicRuleDestination
sourcepub fn status(&self) -> Option<&TopicRuleDestinationStatus>
pub fn status(&self) -> Option<&TopicRuleDestinationStatus>
The status of the topic rule destination. Valid values are:
- IN_PROGRESS
-
A topic rule destination was created but has not been confirmed. You can set
status
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
-
Confirmation was completed, and traffic to this destination is allowed. You can set
status
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time when the topic rule destination was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The date and time when the topic rule destination was last updated.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
Additional details or reason why the topic rule destination is in the current status.
sourcepub fn http_url_properties(&self) -> Option<&HttpUrlDestinationProperties>
pub fn http_url_properties(&self) -> Option<&HttpUrlDestinationProperties>
Properties of the HTTP URL.
sourcepub fn vpc_properties(&self) -> Option<&VpcDestinationProperties>
pub fn vpc_properties(&self) -> Option<&VpcDestinationProperties>
Properties of the virtual private cloud (VPC) connection.
source§impl TopicRuleDestination
impl TopicRuleDestination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TopicRuleDestination
.
Trait Implementations§
source§impl Clone for TopicRuleDestination
impl Clone for TopicRuleDestination
source§fn clone(&self) -> TopicRuleDestination
fn clone(&self) -> TopicRuleDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicRuleDestination
impl Debug for TopicRuleDestination
source§impl PartialEq<TopicRuleDestination> for TopicRuleDestination
impl PartialEq<TopicRuleDestination> for TopicRuleDestination
source§fn eq(&self, other: &TopicRuleDestination) -> bool
fn eq(&self, other: &TopicRuleDestination) -> bool
self
and other
values to be equal, and is used
by ==
.