Struct aws_sdk_iot::types::TopicRuleDestinationSummary
source · #[non_exhaustive]pub struct TopicRuleDestinationSummary {
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_summary: Option<HttpUrlDestinationSummary>,
pub vpc_destination_summary: Option<VpcDestinationSummary>,
}
Expand description
Information about the 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 ARN.
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>
The reason the topic rule destination is in the current status.
http_url_summary: Option<HttpUrlDestinationSummary>
Information about the HTTP URL.
vpc_destination_summary: Option<VpcDestinationSummary>
Information about the virtual private cloud (VPC) connection.
Implementations§
source§impl TopicRuleDestinationSummary
impl TopicRuleDestinationSummary
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>
The reason the topic rule destination is in the current status.
sourcepub fn http_url_summary(&self) -> Option<&HttpUrlDestinationSummary>
pub fn http_url_summary(&self) -> Option<&HttpUrlDestinationSummary>
Information about the HTTP URL.
sourcepub fn vpc_destination_summary(&self) -> Option<&VpcDestinationSummary>
pub fn vpc_destination_summary(&self) -> Option<&VpcDestinationSummary>
Information about the virtual private cloud (VPC) connection.
source§impl TopicRuleDestinationSummary
impl TopicRuleDestinationSummary
sourcepub fn builder() -> TopicRuleDestinationSummaryBuilder
pub fn builder() -> TopicRuleDestinationSummaryBuilder
Creates a new builder-style object to manufacture TopicRuleDestinationSummary
.
Trait Implementations§
source§impl Clone for TopicRuleDestinationSummary
impl Clone for TopicRuleDestinationSummary
source§fn clone(&self) -> TopicRuleDestinationSummary
fn clone(&self) -> TopicRuleDestinationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicRuleDestinationSummary
impl Debug for TopicRuleDestinationSummary
source§impl PartialEq for TopicRuleDestinationSummary
impl PartialEq for TopicRuleDestinationSummary
source§fn eq(&self, other: &TopicRuleDestinationSummary) -> bool
fn eq(&self, other: &TopicRuleDestinationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.