1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SetIdentityNotificationTopic`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identity(impl Into<String>)`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::identity) / [`set_identity(Option<String>)`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::set_identity):<br>required: **true**<br><p>The identity (email address or domain) for the Amazon SNS topic.</p><important>  <p>You can only specify a verified identity for this parameter.</p> </important> <p>You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: <code>sender@example.com</code>, <code>example.com</code>, <code>arn:aws:ses:us-east-1:123456789012:identity/example.com</code>.</p><br>
    ///   - [`notification_type(NotificationType)`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::notification_type) / [`set_notification_type(Option<NotificationType>)`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::set_notification_type):<br>required: **true**<br><p>The type of notifications that are published to the specified Amazon SNS topic.</p><br>
    ///   - [`sns_topic(impl Into<String>)`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::sns_topic) / [`set_sns_topic(Option<String>)`](crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::set_sns_topic):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, <code>SnsTopic</code> is cleared and publishing is disabled.</p><br>
    /// - On success, responds with [`SetIdentityNotificationTopicOutput`](crate::operation::set_identity_notification_topic::SetIdentityNotificationTopicOutput)
    /// - On failure, responds with [`SdkError<SetIdentityNotificationTopicError>`](crate::operation::set_identity_notification_topic::SetIdentityNotificationTopicError)
    pub fn set_identity_notification_topic(
        &self,
    ) -> crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder {
        crate::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicFluentBuilder::new(self.handle.clone())
    }
}