aws_sdk_waf/client/delete_web_acl.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteWebACL`](crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`web_acl_id(impl Into<String>)`](crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder::web_acl_id) / [`set_web_acl_id(Option<String>)`](crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder::set_web_acl_id):<br>required: **true**<br><p>The <code>WebACLId</code> of the <code>WebACL</code> that you want to delete. <code>WebACLId</code> is returned by <code>CreateWebACL</code> and by <code>ListWebACLs</code>.</p><br>
7 /// - [`change_token(impl Into<String>)`](crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
8 /// - On success, responds with [`DeleteWebAclOutput`](crate::operation::delete_web_acl::DeleteWebAclOutput) with field(s):
9 /// - [`change_token(Option<String>)`](crate::operation::delete_web_acl::DeleteWebAclOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteWebACL</code> request. You can also use this value to query the status of the request. For more information, see <code>GetChangeTokenStatus</code>.</p>
10 /// - On failure, responds with [`SdkError<DeleteWebACLError>`](crate::operation::delete_web_acl::DeleteWebACLError)
11 pub fn delete_web_acl(&self) -> crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder {
12 crate::operation::delete_web_acl::builders::DeleteWebACLFluentBuilder::new(self.handle.clone())
13 }
14}