aws_sdk_pinpoint/client/
delete_email_channel.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 [`DeleteEmailChannel`](crate::operation::delete_email_channel::builders::DeleteEmailChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::delete_email_channel::builders::DeleteEmailChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::delete_email_channel::builders::DeleteEmailChannelFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7    /// - On success, responds with [`DeleteEmailChannelOutput`](crate::operation::delete_email_channel::DeleteEmailChannelOutput) with field(s):
8    ///   - [`email_channel_response(Option<EmailChannelResponse>)`](crate::operation::delete_email_channel::DeleteEmailChannelOutput::email_channel_response): <p>Provides information about the status and settings of the email channel for an application.</p>
9    /// - On failure, responds with [`SdkError<DeleteEmailChannelError>`](crate::operation::delete_email_channel::DeleteEmailChannelError)
10    pub fn delete_email_channel(&self) -> crate::operation::delete_email_channel::builders::DeleteEmailChannelFluentBuilder {
11        crate::operation::delete_email_channel::builders::DeleteEmailChannelFluentBuilder::new(self.handle.clone())
12    }
13}