AWS.SNS.TSNSClient.Unsubscribe

Deletes a subscription.

function Unsubscribe(const ARequest: ISNSUnsubscribeRequest): ISNSUnsubscribeResponse; overload; function Unsubscribe(const ASubscriptionArn: TARN): ISNSUnsubscribeResponse; overload;
__fastcall ISNSUnsubscribeResponse Unsubscribe(const ISNSUnsubscribeRequest ARequest); __fastcall ISNSUnsubscribeResponse Unsubscribe(const TARN ASubscriptionArn);

File: AWS.SNS.pas 

Namespace: AWS.SNS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISNSUnsubscribeRequest
An Unsubscribe request object.
const ASubscriptionArn: TARN
The Amazon Resource Name (ARN) for the subscription to unsubscribe from.

Response containing Unsubscribe results.

Exceptions
Description
The user has been denied access to the requested resource.
One of the request parameters does not comply with the associated constraints.
One of the request parameters does not comply with the associated constraints.
Requests must use HTTPS and signed with valid credentials using Signature Version 4.
Indicated the specified phone number has opted out of receiving SMS messages from your AWS account.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.