using System.Runtime.Serialization;
namespace Amazon.Lambda.CognitoEvents
{
///
/// https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-message.html
///
public class CognitoCustomMessageResponse : CognitoTriggerResponse
{
///
/// The custom SMS message to be sent to your users. Must include the codeParameter value received in the request.
///
[DataMember(Name = "smsMessage")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("smsMessage")]
#endif
public string SmsMessage { get; set; }
///
/// The custom email message to be sent to your users. Must include the codeParameter value received in the request.
///
[DataMember(Name = "emailMessage")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("emailMessage")]
#endif
public string EmailMessage { get; set; }
///
/// The subject line for the custom message.
///
[DataMember(Name = "emailSubject")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("emailSubject")]
#endif
public string EmailSubject { get; set; }
}
}