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, System cancellationToken = default(CancellationToken) ) : Task
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.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<RemovePermissionResponse> RemovePermissionAsync(string queueUrl, string label, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new RemovePermissionRequest();
            request.QueueUrl = queueUrl;
            request.Label = label;
            return RemovePermissionAsync(request, cancellationToken);
        }

Same methods

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