// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteUserPolicy`](crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_name(impl Into<String>)`](crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder::set_user_name):<br>required: **true**<br><p>The name (friendly name, not ARN) identifying the user that the policy is embedded in.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
/// - [`policy_name(impl Into<String>)`](crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder::policy_name) / [`set_policy_name(Option<String>)`](crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder::set_policy_name):<br>required: **true**<br><p>The name identifying the policy document to delete.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
/// - On success, responds with [`DeleteUserPolicyOutput`](crate::operation::delete_user_policy::DeleteUserPolicyOutput)
/// - On failure, responds with [`SdkError<DeleteUserPolicyError>`](crate::operation::delete_user_policy::DeleteUserPolicyError)
pub fn delete_user_policy(&self) -> crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder {
crate::operation::delete_user_policy::builders::DeleteUserPolicyFluentBuilder::new(self.handle.clone())
}
}