using System.Runtime.Serialization;
namespace Amazon.Lambda.CognitoEvents
{
///
/// https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-sms-sender.html
///
public class CognitoCustomSmsSenderRequest : CognitoTriggerRequest
{
///
/// The type of sender request.
///
[DataMember(Name = "type")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("type")]
#endif
public string Type { get; set; }
///
/// The encrypted temporary authorization code.
///
[DataMember(Name = "code")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("code")]
#endif
public string Code { get; set; }
}
}