SubscriptionProtocol Property
This property specifies the protocol used by the subscription.
Object Oriented Interface
public function getSubscriptionProtocol($subscriptionindex);
Procedural Interface
inamazon_sns_get($res, 33 , $subscriptionindex);
Default Value
0
Remarks
This property specifies the protocol used by the subscription. 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 |
Note: This property is only applicable after calling ListSubscriptions or ListTopicSubscriptions.
The size of the array is controlled by the SubscriptionCount property.
This property is read-only and not available at design time.
Data Type
Integer