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

Publish Method

Publishes a message to the topic.

Syntax

[VB.NET]
Public Function Publish(ByVal TopicArn As String, ByVal Subject As String, ByVal message As String) As String
[C#]
public string Publish(string topicArn, string subject, string message);

Remarks

This method publishes a message to the topic specified by TopicArn.

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.

The Message parameter is the text to send. Messages must be UTF-8 encoded strings at most 64 KB in size (65536 bytes, not 65536 characters).

The same message will be delivered to all subscribers. To send different messages based on the protocol used by the subscription call PublishCustom instead.

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