// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeletePullRequestApprovalRule`](crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`pull_request_id(impl Into<String>)`](crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder::pull_request_id) / [`set_pull_request_id(Option<String>)`](crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder::set_pull_request_id):<br>required: **true**<br><p>The system-generated ID of the pull request that contains the approval rule you want to delete.</p><br>
/// - [`approval_rule_name(impl Into<String>)`](crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder::approval_rule_name) / [`set_approval_rule_name(Option<String>)`](crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder::set_approval_rule_name):<br>required: **true**<br><p>The name of the approval rule you want to delete.</p><br>
/// - On success, responds with [`DeletePullRequestApprovalRuleOutput`](crate::operation::delete_pull_request_approval_rule::DeletePullRequestApprovalRuleOutput) with field(s):
/// - [`approval_rule_id(String)`](crate::operation::delete_pull_request_approval_rule::DeletePullRequestApprovalRuleOutput::approval_rule_id): <p>The ID of the deleted approval rule.</p><note> <p>If the approval rule was deleted in an earlier API call, the response is 200 OK without content.</p> </note>
/// - On failure, responds with [`SdkError<DeletePullRequestApprovalRuleError>`](crate::operation::delete_pull_request_approval_rule::DeletePullRequestApprovalRuleError)
pub fn delete_pull_request_approval_rule(
&self,
) -> crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder {
crate::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleFluentBuilder::new(self.handle.clone())
}
}