// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteIdentityPolicy`](crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`identity(impl Into<String>)`](crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder::identity) / [`set_identity(Option<String>)`](crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder::set_identity): <p>The identity that is associated with the policy to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: <code>user@example.com</code>, <code>example.com</code>, <code>arn:aws:ses:us-east-1:123456789012:identity/example.com</code>.</p> <p>To successfully call this operation, you must own the identity.</p>
/// - [`policy_name(impl Into<String>)`](crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder::policy_name) / [`set_policy_name(Option<String>)`](crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder::set_policy_name): <p>The name of the policy to be deleted.</p>
/// - On success, responds with [`DeleteIdentityPolicyOutput`](crate::operation::delete_identity_policy::DeleteIdentityPolicyOutput)
/// - On failure, responds with [`SdkError<DeleteIdentityPolicyError>`](crate::operation::delete_identity_policy::DeleteIdentityPolicyError)
pub fn delete_identity_policy(&self) -> crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder {
crate::operation::delete_identity_policy::builders::DeleteIdentityPolicyFluentBuilder::new(self.handle.clone())
}
}