AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Prepares to subscribe an endpoint by sending the endpoint a confirmation message.
To actually create a subscription, the endpoint owner must call the
action with the token from the confirmation message. Confirmation tokens are valid
for three days.
This action is throttled at 100 transactions per second (TPS).
For .NET Core, PCL and Unity this operation is only available in asynchronous form. Please refer to SubscribeAsync.
public virtual SubscribeResponse Subscribe( SubscribeRequest request )
Container for the necessary parameters to execute the Subscribe service method.
|AuthorizationErrorException||Indicates that the user has been denied access to the requested resource.|
|FilterPolicyLimitExceededException||Indicates that the number of filter polices in your AWS account exceeds the limit. To add more filter polices, submit an SNS Limit Increase case in the AWS Support Center.|
|InternalErrorException||Indicates an internal service error.|
|InvalidParameterException||Indicates that a request parameter does not comply with the associated constraints.|
|NotFoundException||Indicates that the requested resource does not exist.|
|SubscriptionLimitExceededException||Indicates that the customer already owns the maximum allowed number of subscriptions.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone