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.
For .NET Core, PCL and Unity this operation is only available in asynchronous form. Please refer to SubscribeAsync.
public abstract 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.|
|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