aws_sdk_workmail/client/
delete_access_control_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 [`DeleteAccessControlRule`](crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder::set_organization_id):<br>required: **true**<br><p>The identifier for the organization.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder::set_name):<br>required: **true**<br><p>The name of the access control rule.</p><br>
    /// - On success, responds with [`DeleteAccessControlRuleOutput`](crate::operation::delete_access_control_rule::DeleteAccessControlRuleOutput)
    /// - On failure, responds with [`SdkError<DeleteAccessControlRuleError>`](crate::operation::delete_access_control_rule::DeleteAccessControlRuleError)
    pub fn delete_access_control_rule(&self) -> crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder {
        crate::operation::delete_access_control_rule::builders::DeleteAccessControlRuleFluentBuilder::new(self.handle.clone())
    }
}