Sends a message to all of a topic's subscribed endpoints.
| C# |
public class PublishRequest : SNSRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| PublishRequest()()()() | Initializes a new instance of the PublishRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| IsSetMessage()()()() |
Checks if Message property is set
| |
| IsSetMessageStructure()()()() |
Checks if MessageStructure property is set
| |
| IsSetSubject()()()() |
Checks if Subject property is set
| |
| IsSetTopicArn()()()() |
Checks if TopicArn property is set
| |
| Message |
The message you want to send to the topic.
| |
| MessageStructure |
The structure of the message.
Optional parameter. It can have only one valid value: "json".
| |
| Subject |
Subject of the message.
| |
| TopicArn |
The ARN of the topic you want to publish to.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithMessage(String) |
Sets the message you want to send to the topic.
| |
| WithMessageStructure(String) |
Sets the structure of the message.
Valid values: "json"
| |
| WithSubject(String) |
Sets the subject of the message.
| |
| WithTopicArn(String) |
Sets the ARN of the topic you want to publish to.
|
When a messageId is returned, the message has been saved and Amazon SNS will
attempt to deliver it to the topic's subscribers shortly.
The format of the outgoing message to each subscribed endpoint depends on the
notification protocol selected.
| Object | ||
| SNSRequest | ||
| PublishRequest | ||