removePermission (method)
The RemovePermission action revokes any permissions in the queue policy that matches the UserLabel parameter.
Syntax
- (NSString*)removePermission:(NSString*)queueId :(NSString*)userLabel;
public func removePermission(_ queueId: String, _ userLabel: String) throws -> String
Remarks
Note that only the owner of the queue may revoke previously added permissions.
This method returns the RequestId contained in the Amazon response.