aws_sdk_connect/client/delete_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteRule`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`rule_id(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::rule_id) / [`set_rule_id(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_rule_id):<br>required: **true**<br><p>A unique identifier for the rule.</p><br>
/// - On success, responds with [`DeleteRuleOutput`](crate::operation::delete_rule::DeleteRuleOutput)
/// - On failure, responds with [`SdkError<DeleteRuleError>`](crate::operation::delete_rule::DeleteRuleError)
pub fn delete_rule(&self) -> crate::operation::delete_rule::builders::DeleteRuleFluentBuilder {
crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::new(self.handle.clone())
}
}