aws_sdk_vpclattice/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:
/// - [`service_identifier(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service.</p><br>
/// - [`listener_identifier(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::listener_identifier) / [`set_listener_identifier(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_listener_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the listener.</p><br>
/// - [`rule_identifier(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::rule_identifier) / [`set_rule_identifier(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_rule_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of 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())
}
}