// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteResourcePolicyStatement`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resource_arn(impl Into<String>)`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p><br>
/// - [`statement_id(impl Into<String>)`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::statement_id) / [`set_statement_id(Option<String>)`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::set_statement_id):<br>required: **true**<br><p>The name of the statement (SID) to delete from the policy.</p><br>
/// - [`expected_revision_id(impl Into<String>)`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::expected_revision_id) / [`set_expected_revision_id(Option<String>)`](crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::set_expected_revision_id):<br>required: **false**<br><p>The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.</p> <p>If you don't specify a revision, Amazon Lex removes the current contents of the statement.</p><br>
/// - On success, responds with [`DeleteResourcePolicyStatementOutput`](crate::operation::delete_resource_policy_statement::DeleteResourcePolicyStatementOutput) with field(s):
/// - [`resource_arn(Option<String>)`](crate::operation::delete_resource_policy_statement::DeleteResourcePolicyStatementOutput::resource_arn): <p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy statement was removed from.</p>
/// - [`revision_id(Option<String>)`](crate::operation::delete_resource_policy_statement::DeleteResourcePolicyStatementOutput::revision_id): <p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>
/// - On failure, responds with [`SdkError<DeleteResourcePolicyStatementError>`](crate::operation::delete_resource_policy_statement::DeleteResourcePolicyStatementError)
pub fn delete_resource_policy_statement(
&self,
) -> crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder {
crate::operation::delete_resource_policy_statement::builders::DeleteResourcePolicyStatementFluentBuilder::new(self.handle.clone())
}
}