aws_sdk_sesv2/client/delete_contact.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 [`DeleteContact`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`contact_list_name(impl Into<String>)`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder::contact_list_name) / [`set_contact_list_name(Option<String>)`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder::set_contact_list_name):<br>required: **true**<br><p>The name of the contact list from which the contact should be removed.</p><br>
7 /// - [`email_address(impl Into<String>)`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder::set_email_address):<br>required: **true**<br><p>The contact's email address.</p><br>
8 /// - On success, responds with [`DeleteContactOutput`](crate::operation::delete_contact::DeleteContactOutput)
9 /// - On failure, responds with [`SdkError<DeleteContactError>`](crate::operation::delete_contact::DeleteContactError)
10 pub fn delete_contact(&self) -> crate::operation::delete_contact::builders::DeleteContactFluentBuilder {
11 crate::operation::delete_contact::builders::DeleteContactFluentBuilder::new(self.handle.clone())
12 }
13}