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 ==
.impl StructuralPartialEq for TopicRuleDestination
Auto Trait Implementations§
impl Freeze for TopicRuleDestination
impl RefUnwindSafe for TopicRuleDestination
impl Send for TopicRuleDestination
impl Sync for TopicRuleDestination
impl Unpin for TopicRuleDestination
impl UnwindSafe for TopicRuleDestination
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more