AWS SDK for .NET Documentation
SubscribeRequest Class
AmazonAmazon.SimpleNotificationService.ModelSubscribeRequest Did this page help you?   Yes   No    Tell us about it...
Prepares to subscribe an endpoint by sending the endpoint a confirmation message.
Declaration Syntax
C#
public class SubscribeRequest : SNSRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SubscribeRequest()()()()
Initializes a new instance of the SubscribeRequest class

Endpoint
The endpoint that you want to receive notifications.

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

Remarks
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.
Inheritance Hierarchy
Object
SNSRequest
 SubscribeRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)