Publish
The Publish activity is used to publish a message on a SNS Topic.
General
In the General tab, you can select shared resource to establish a connection to the Amazon server. The following table lists the configurations in the General tab of the Publish activity.
Input
In the Input tab, you can specify input values for the Publish activity. The following table lists the input elements in the Input tab of the Publish activity.
Input Item | Data Type | Description |
---|---|---|
TopicARN | String | Optional. The Amazon Resource Name for the topic. Either TopicARN or TargetARN must be specified but not both. |
TargetARN | String | Optional. The Amazon Resource Name for the endpoint to which you want to publish the output. Either TopicARN or TargetARN must be specified but not both. |
Subject | String | Optional.The value to be used as the subject line when the message is delivered to email endpoints. |
MessageStructure | String | Optional.Set MessageStructure to JSON, if you want to send a different message for each protocol. |
PhoneNumber | String | Optional.The phone number to which you want to deliver an SMS message. |
SnsMessage | String | The message you want to send to the topic. |
Body | String | Required. Content of the message. |
MessageAttrs | Complex | Any message attributes that were included with the message. Each attribute is composed of a Name, Type, and Value. |
Name | String | The name of the attribute. |
Type | String | The type of the attribute. |
Value | String | A string representation of the attribute value. |
Output
In the Output tab, you can find the output value of the Publish activity. The following table lists the output element in the Output tab of the Publish activity.
Fault
The Fault tab lists exceptions that are generated by this activity.
Fault | Data Type | Description |
---|---|---|
SQSException | Any exception generated by the activity after execution. It has the following fields: ErrorCode and ErrorMessage. | |
ErrorCode | String | The plug-in error code for the exception. For more information, refer to Error Codes topic. |
ErrorMessage | String | The plug-in error message for the exception. It contains the error message from the AWS SQS API call that failed. |
Copyright © Cloud Software Group, Inc. All rights reserved.