Struct aws_sdk_iot::model::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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint.
The date and time when the topic rule destination was created.
The date and time when the topic rule destination was last updated.
Additional details or reason why the topic rule destination is in the current status.
Properties of the HTTP URL.
Properties of the virtual private cloud (VPC) connection.
Creates a new builder-style object to manufacture TopicRuleDestination
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TopicRuleDestination
impl Send for TopicRuleDestination
impl Sync for TopicRuleDestination
impl Unpin for TopicRuleDestination
impl UnwindSafe for TopicRuleDestination
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
