aws_sdk_waf/client/delete_permission_policy.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeletePermissionPolicy`](crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`DeletePermissionPolicyOutput`](crate::operation::delete_permission_policy::DeletePermissionPolicyOutput)
/// - On failure, responds with [`SdkError<DeletePermissionPolicyError>`](crate::operation::delete_permission_policy::DeletePermissionPolicyError)
pub fn delete_permission_policy(&self) -> crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder {
crate::operation::delete_permission_policy::builders::DeletePermissionPolicyFluentBuilder::new(self.handle.clone())
}
}