Subscribe Request. More...
#import <SNSSubscribeRequest.h>
Public Member Functions | |
(id) | - init |
Default constructor for a new SubscribeRequest object. | |
(id) | - initWithTopicArn:andProtocol:andEndpoint: |
Constructs a new SubscribeRequest object. | |
(NSString *) | - description |
Returns a string representation of this object; useful for testing and debugging. | |
Properties | |
NSString * | topicArn |
The ARN of topic you want to subscribe to. | |
NSString * | protocol |
The protocol you want to use. | |
NSString * | endpoint |
The endpoint that you want to receive notifications. |
Subscribe Request.
- (NSString* SNSSubscribeRequest.)description |
Returns a string representation of this object; useful for testing and debugging.
- (id SNSSubscribeRequest.)init |
Default constructor for a new SubscribeRequest object.
Callers should use the property methods to initialize this object after creating it.
- (id SNSSubscribeRequest.)initWithTopicArn: | (NSString *) | theTopicArn | ||
andProtocol: | (NSString *) | theProtocol | ||
andEndpoint: | (NSString *) | theEndpoint | ||
Constructs a new SubscribeRequest object.
Callers should use properties to initialize any additional object members.
theTopicArn | The ARN of topic you want to subscribe to. | |
theProtocol | The protocol you want to use. Supported protocols include:
| |
theEndpoint | The endpoint that you want to receive notifications. Endpoints vary by protocol:
|
- (NSString *) endpoint [read, write, retain] |
The endpoint that you want to receive notifications.
Endpoints vary by protocol:
- (NSString *) protocol [read, write, retain] |
The protocol you want to use.
Supported protocols include: