The Subscribe action prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a
subscription, the endpoint owner must call the ConfirmSubscription
action with the token from the confirmation message. Confirmation tokens are
valid for twenty-four hours.
Namespace: Amazon.SimpleNotificationService.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class SubscribeRequest
Public Class SubscribeRequest
public ref class SubscribeRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| SubscribeRequest()()()() | Initializes a new instance of the SubscribeRequest class | |
| Endpoint |
Gets and sets the Endpoint property.
The endpoint that you want to receive notifications. Endpoints vary by protocol:
| |
| 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.) | |
| IsSetEndpoint()()()() |
Checks if Endpoint property is set
| |
| IsSetProtocol()()()() |
Checks if Protocol property is set
| |
| IsSetTopicArn()()()() |
Checks if TopicArn property is set
| |
| Protocol |
Gets and sets the Protocol property.
The protocol you want to use. Supported protocols include:
| |
| TopicArn |
Gets and sets the TopicArn property.
The ARN of topic you want to subscribe to.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithEndpoint(String) |
Sets the Endpoint property
| |
| WithProtocol(String) |
Sets the Protocol property
| |
| WithTopicArn(String) |
Sets the TopicArn property
|