aws_sdk_waf/client/delete_permission_policy.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 [`DeletePermissionPolicy`](crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_arn(impl Into<String>)`](crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.</p> <p>The user making the request must be the owner of the RuleGroup.</p><br>
7 /// - On success, responds with [`DeletePermissionPolicyOutput`](crate::operation::delete_permission_policy::DeletePermissionPolicyOutput)
8 /// - On failure, responds with [`SdkError<DeletePermissionPolicyError>`](crate::operation::delete_permission_policy::DeletePermissionPolicyError)
9 pub fn delete_permission_policy(&self) -> crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder {
10 crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder::new(self.handle.clone())
11 }
12}