Unsubscribe Method
Unsubscribes from the topic.
Syntax
[VB.NET] Public Sub Unsubscribe(ByVal SubscriptionArn As String)
[C#] public void Unsubscribe(string subscriptionArn);
Remarks
This method deletes a subscription to a topic. The subscription is identified by the SubscriptionArn parameter.
If the subscription requires authentication for deletion, only the subscription owner or topic owner can unsubscribe. If authentication is not required a cancellation notice is sent to the endpoint, so that the endpoint owner can re-subscribe if the unsubscribe request was unintentional.