aws_sdk_datazone/client/
delete_rule.rs

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:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain that where the rule is to be deleted.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the rule that is to be deleted.</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())
    }
}