Created
August 1, 2014 00:22
-
-
Save agilejon/f6ecf43c5f2f7394f868 to your computer and use it in GitHub Desktop.
C# representation of an SNS message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// This is the C# representation of an SNS message. Its property names should not be modified unless AWS changes their spec. | |
/// </summary> | |
public sealed class SnsMessage | |
{ | |
#region Properties that apply to both Subscription Confirmation and Notification messages | |
public string Message { get; set; } | |
public string MessageId { get; set; } | |
public string Signature { get; set; } | |
public string SignatureVersion { get; set; } | |
public string SigningCertURL { get; set; } | |
public string Timestamp { get; set; } | |
public string TopicArn { get; set; } | |
public string Type { get; set; } | |
#endregion | |
#region Properties that only apply to Notification messages | |
public string Subject { get; set; } | |
public string UnsubscribeURL { get; set; } | |
#endregion | |
#region Properties that only apply to Subscription Confirmation messages | |
public string SubscribeURL { get; set; } | |
public string Token { get; set; } | |
#endregion | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment