Prepares to subscribe an endpoint by sending the endpoint a confirmation message.

C# |
public class SubscribeRequest : SNSRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | SubscribeRequest()()()() | Initializes a new instance of the SubscribeRequest class |
![]() | Endpoint |
The endpoint that you want to receive notifications.
|
![]() | 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 |
The protocol you want to use.
|
![]() | TopicArn |
The ARN of topic you want to subscribe to.
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithEndpoint(String) | Obsolete.
Sets the endpoint that you want to receive notifications.
|
![]() | WithProtocol(String) | Obsolete.
Sets the protocol you want to use.
|
![]() | WithTopicArn(String) | Obsolete.
Sets the ARN of topic you want to subscribe to.
|

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 three days.

Object | ||
![]() | SNSRequest | |
![]() | SubscribeRequest |