aws_sdk_iot/client/update_topic_rule_destination.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateTopicRuleDestination`](crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the topic rule destination.</p><br>
7 /// - [`status(TopicRuleDestinationStatus)`](crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder::status) / [`set_status(Option<TopicRuleDestinationStatus>)`](crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder::set_status):<br>required: **true**<br><p>The status of the topic rule destination. Valid values are:</p> <dl> <dt> IN_PROGRESS </dt> <dd> <p>A topic rule destination was created but has not been confirmed. You can set <code>status</code> to <code>IN_PROGRESS</code> by calling <code>UpdateTopicRuleDestination</code>. Calling <code>UpdateTopicRuleDestination</code> causes a new confirmation challenge to be sent to your confirmation endpoint.</p> </dd> <dt> ENABLED </dt> <dd> <p>Confirmation was completed, and traffic to this destination is allowed. You can set <code>status</code> to <code>DISABLED</code> by calling <code>UpdateTopicRuleDestination</code>.</p> </dd> <dt> DISABLED </dt> <dd> <p>Confirmation was completed, and traffic to this destination is not allowed. You can set <code>status</code> to <code>ENABLED</code> by calling <code>UpdateTopicRuleDestination</code>.</p> </dd> <dt> ERROR </dt> <dd> <p>Confirmation could not be completed, for example if the confirmation timed out. You can call <code>GetTopicRuleDestination</code> for details about the error. You can set <code>status</code> to <code>IN_PROGRESS</code> by calling <code>UpdateTopicRuleDestination</code>. Calling <code>UpdateTopicRuleDestination</code> causes a new confirmation challenge to be sent to your confirmation endpoint.</p> </dd> </dl><br>
8 /// - On success, responds with [`UpdateTopicRuleDestinationOutput`](crate::operation::update_topic_rule_destination::UpdateTopicRuleDestinationOutput)
9 /// - On failure, responds with [`SdkError<UpdateTopicRuleDestinationError>`](crate::operation::update_topic_rule_destination::UpdateTopicRuleDestinationError)
10 pub fn update_topic_rule_destination(
11 &self,
12 ) -> crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder {
13 crate::operation::update_topic_rule_destination::builders::UpdateTopicRuleDestinationFluentBuilder::new(self.handle.clone())
14 }
15}