Amazon Integrator V6 - Online Help
Amazon Integrator V6
Questions / Feedback?

SubscriptionList Event

Fires with information about the subscription.

Syntax

Sub snscontrol_SubscriptionList(SubscriptionArn As String, TopicArn As String, Owner As String, Endpoint As String, Protocol As Integer)

Remarks

This event fires once for each subscription returned from a call to ListSubscriptions or ListTopicSubscriptions.

SubscriptionArn is the ARN of the subscription.

TopicArn is the ARN of the subscription's topic.

Owner is the subscription's owner.

Protocol is the subscription's protocol. Possible values are:

0 (email) message via SMTP
1 (email-json) JSON-encoded message via SMTP
2 (http) JSON-encoded message via HTTP POST
3 (https) JSON-encoded message via HTTPS POST
4 (sms) message via SMS
5 (sqs) JSON-encoded message to an Amazon SQS queue

Endpoint is the subscription's endpoint. Possible formats are:

A valid e-mail address for use with the "email" protocol
A valid e-mail address for use with the "email-json" protocol
A URL beginning with "http://" for use with the "http" protocol
A URL beginning with "https://" for use with the "https" protocol
A phone number (e.g. 19195447070) for use with the "sms" protocol
A SQS queue ARN for use with the "sqs" protocol

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0