Unsubscribe
Source:
src/AWS/SNS/Unsubscribe.ts
Runtime binding for sns:Unsubscribe.
An account-scoped operation — deletes a subscription by ARN, e.g. one
created at runtime with the Subscribe binding.
Provide the UnsubscribeHttp layer on the Function to implement the binding.
Unsubscribing
Section titled “Unsubscribing”const unsubscribe = yield* SNS.Unsubscribe();yield* unsubscribe({ SubscriptionArn: subscriptionArn });