1 2 3 4 5 6 7 8 9 10 11 12 13
// 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): <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
/// - [`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): <p>A unique identifier for the rule.</p>
/// - 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())
}
}