Struct aws_sdk_iot::model::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
sourceimpl 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.
sourceimpl TopicRuleDestinationSummary
impl TopicRuleDestinationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TopicRuleDestinationSummary
Trait Implementations
sourceimpl Clone for TopicRuleDestinationSummary
impl Clone for TopicRuleDestinationSummary
sourcefn clone(&self) -> TopicRuleDestinationSummary
fn clone(&self) -> TopicRuleDestinationSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TopicRuleDestinationSummary
impl Debug for TopicRuleDestinationSummary
sourceimpl PartialEq<TopicRuleDestinationSummary> for TopicRuleDestinationSummary
impl PartialEq<TopicRuleDestinationSummary> for TopicRuleDestinationSummary
sourcefn eq(&self, other: &TopicRuleDestinationSummary) -> bool
fn eq(&self, other: &TopicRuleDestinationSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TopicRuleDestinationSummary) -> bool
fn ne(&self, other: &TopicRuleDestinationSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for TopicRuleDestinationSummary
Auto Trait Implementations
impl RefUnwindSafe for TopicRuleDestinationSummary
impl Send for TopicRuleDestinationSummary
impl Sync for TopicRuleDestinationSummary
impl Unpin for TopicRuleDestinationSummary
impl UnwindSafe for TopicRuleDestinationSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more