AWS.SNS.TSNSClient.RemovePermission

Removes a permission from a topics access control policy.

function RemovePermission(const ARequest: ISNSRemovePermissionRequest): ISNSRemovePermissionResponse; overload; function RemovePermission(const ALabel: string; ATopicArn: TARN): ISNSRemovePermissionResponse; overload;
__fastcall ISNSRemovePermissionResponse RemovePermission(const ISNSRemovePermissionRequest ARequest); __fastcall ISNSRemovePermissionResponse RemovePermission(const AnsiString ALabel, TARN ATopicArn);

File: AWS.SNS.pas 

Namespace: AWS.SNS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISNSRemovePermissionRequest
A RemovePermission request object.
const ALabel: string
A unique label of the statement you want to remove.
ATopicArn: TARN
The Amazon Resource Name (ARN) of the topic whose access control policy you want to modify.

Response containing RemovePermission 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.
The requested resource does not exist.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.