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

PublishCustom Method

Publishes a message to the topic.

Syntax

[VB.NET]
Public Function PublishCustom(ByVal TopicArn As String, ByVal Subject As String, ByVal defaultMessage As String, ByVal emailMessage As String, ByVal emailJsonMessage As String, ByVal httpMessage As String, ByVal httpsMessage As String, ByVal smsMessage As String, ByVal sqsMessage As String) As String
[C#]
public string PublishCustom(string topicArn, string subject, string defaultMessage, string emailMessage, string emailJsonMessage, string httpMessage, string httpsMessage, string smsMessage, string sqsMessage);

Remarks

This method may be used instead of Publish to specify different messages depending on the protocol used by the subscription.

TopicArn specifies the topic.

The Subject parameter is optional and specifies the "Subject" line of the message delivered to e-mail endpoints. Subjects must be ASCII text that begins with a letter, number or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long.

DefaultMessage will be used for any protocol that is not specifically assigned a message. If empty string is specified for any other message parameter this value will be used.

EmailMessage, EmailJsonMessage, HttpMessage, HttpsMessage, SmsMessage, and SqsMessage specify messages for the respective protocol. These parameters are all optional. If empty string is specified the DefaultMessage will be used.

The method returns the unique MessageId assigned to the published message. It will be at most 100 characters in length.

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