Amazon.SQS.AmazonSQSClient.RemovePermissionAsync C# (CSharp) Method

RemovePermissionAsync() public method

Revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions.
public RemovePermissionAsync ( string queueUrl, string label, RemovePermissionResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
queueUrl string The URL of the Amazon SQS queue from which permissions are removed. Queue URLs are case-sensitive.
label string The identification of the permission to remove. This is the label added using the AddPermission action.
callback RemovePermissionResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options Amazon.Runtime.AsyncOptions /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. ///
return void
        public void RemovePermissionAsync(string queueUrl, string label,  AmazonServiceCallback<RemovePermissionRequest, RemovePermissionResponse> callback, AsyncOptions options = null)
        {
            var request = new RemovePermissionRequest();
            request.QueueUrl = queueUrl;
            request.Label = label;
            RemovePermissionAsync(request, callback, options);
        }

Same methods

AmazonSQSClient::RemovePermissionAsync ( RemovePermissionRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonSQSClient::RemovePermissionAsync ( string queueUrl, string label, System cancellationToken = default(CancellationToken) ) : Task
AmazonSQSClient::RemovePermissionAsync ( RemovePermissionRequest request, RemovePermissionResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSQSClient