using System.Runtime.Serialization;
namespace Amazon.Lambda.CognitoEvents
{
///
/// https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html#cognito-user-pools-lambda-trigger-syntax-shared
///
[DataContract]
public class CognitoTriggerCallerContext
{
///
/// The AWS SDK version number.
///
[DataMember(Name = "awsSdkVersion")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("awsSdkVersion")]
#endif
public string AwsSdkVersion { get; set; }
///
/// The ID of the client associated with the user pool.
///
[DataMember(Name = "clientId")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("clientId")]
#endif
public string ClientId { get; set; }
}
}