Module Values.SetIdentityNotificationTopicRequestSource

Represents a request to specify the Amazon SNS topic to which Amazon SES publishes bounce, complaint, or delivery notifications for emails sent with that identity as the source. For information about Amazon SES notifications, see the Amazon SES Developer Guide.

Sourcetype nonrec t = {
  1. identity : Identity.t;
    (*

    The identity (email address or domain) for the Amazon SNS topic. You can only specify a verified identity for this parameter. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: sender@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

    *)
  2. notificationType : NotificationType.t;
    (*

    The type of notifications that are published to the specified Amazon SNS topic.

    *)
  3. snsTopic : NotificationTopic.t option;
    (*

    The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

    *)
}
Sourceval context_ : string
Sourceval make : ?snsTopic:??? -> identity:Identity.t -> notificationType:NotificationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Identity.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t