pub struct TopicRuleDestination {
pub arn: Option<String>,
pub http_url_properties: Option<HttpUrlDestinationProperties>,
pub status: Option<String>,
pub status_reason: Option<String>,
}Expand description
A topic rule destination.
Fields§
§arn: Option<String>The topic rule destination URL.
http_url_properties: Option<HttpUrlDestinationProperties>Properties of the HTTP URL.
status: Option<String>The status of the topic rule destination. Valid values are:
- INPROGRESS
-
A topic rule destination was created but has not been confirmed. You can set
statustoINPROGRESSby 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.
status_reason: Option<String>Additional details or reason why the topic rule destination is in the current status.
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 more