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.Model
Assembly: 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  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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:
  • For the http protocol, the endpoint is an URL beginning with "http://"
  • For the https protocol, the endpoint is a URL beginning with "https://"
  • For the email protocol, the endpoint is an e-mail address
  • For the email-json protocol, the endpoint is an e-mail address
  • For the sms protocol, the endpoint is a phone number of an SMS-enabled device
  • For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue
Equals(Object)
Determines whether the specified Object is equal to the current 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:
  • http -- delivery of JSON-encoded message via HTTP POST
  • https -- delivery of JSON-encoded message via HTTPS POST
  • email -- delivery of message via SMTP
  • email-json -- delivery of JSON-encoded message via SMTP
  • sms -- delivery of message via SMS
  • sqs -- delivery of JSON-encoded message to an Amazon SQS queue
TopicArn
Gets and sets the TopicArn property. The ARN of topic you want to subscribe to.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithEndpoint(String)
Sets the Endpoint property
WithProtocol(String)
Sets the Protocol property
WithTopicArn(String)
Sets the TopicArn property

Inheritance Hierarchy

System..::..Object
  Amazon.SimpleNotificationService.Model..::..SubscribeRequest

See Also