Struct aws_sdk_iot::types::TopicRuleDestination
source · #[non_exhaustive]pub struct TopicRuleDestination {
pub arn: Option<String>,
pub status: Option<TopicRuleDestinationStatus>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub status_reason: Option<String>,
pub http_url_properties: Option<HttpUrlDestinationProperties>,
pub vpc_properties: Option<VpcDestinationProperties>,
}
Expand description
A topic rule destination.
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.arn: Option<String>
The topic rule destination URL.
status: 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.
created_at: Option<DateTime>
The date and time when the topic rule destination was created.
last_updated_at: Option<DateTime>
The date and time when the topic rule destination was last updated.
status_reason: Option<String>
Additional details or reason why the topic rule destination is in the current status.
http_url_properties: Option<HttpUrlDestinationProperties>
Properties of the HTTP URL.
vpc_properties: Option<VpcDestinationProperties>
Properties of the virtual private cloud (VPC) connection.
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() -> TopicRuleDestinationBuilder
pub fn builder() -> TopicRuleDestinationBuilder
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 for TopicRuleDestination
impl PartialEq 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 ==
.