|(require (planet gh/aws:1:=2/sns))|
SNS (Simple Notification Service) lets you create topics to which notifications can be published. Each topic has zero or more subscriptions.
Subscriptions can be of various types of endpoints, such as email, SMS, or an HTTP POST of a JSON-encoded message.
A new subscription must be confirmed by the recipient before it will receive notifications, to prevent unwanted notifications.
Topics and subscriptions are unqiuely identified by a string referred to as an ARN (Amazon Resource Name). The string is composed of the service endpoint hostname, your AWS account number, and a name. An example ARN is arn:aws:sns:us-east-1:123456789012:My-Topic.
s : string?
endpoint : string? protocol : sns-protocol? topic-arn : string?