aws_sdk_ses/client/
delete_identity.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteIdentity`](crate::operation::delete_identity::builders::DeleteIdentityFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identity(impl Into<String>)`](crate::operation::delete_identity::builders::DeleteIdentityFluentBuilder::identity) / [`set_identity(Option<String>)`](crate::operation::delete_identity::builders::DeleteIdentityFluentBuilder::set_identity):<br>required: **true**<br><p>The identity to be removed from the list of identities for the Amazon Web Services account.</p><br>
7    /// - On success, responds with [`DeleteIdentityOutput`](crate::operation::delete_identity::DeleteIdentityOutput)
8    /// - On failure, responds with [`SdkError<DeleteIdentityError>`](crate::operation::delete_identity::DeleteIdentityError)
9    pub fn delete_identity(&self) -> crate::operation::delete_identity::builders::DeleteIdentityFluentBuilder {
10        crate::operation::delete_identity::builders::DeleteIdentityFluentBuilder::new(self.handle.clone())
11    }
12}