lib/sqs/right_sqs_gen2_interface.rb
# Revoke any permissions in the queue policy that matches the +label+ parameter.
#
#  sqs.remove_permissions('https://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue',
#                        'testLabel') # => true
#
#  see http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/index.html?Query_QueryRemovePermission.html
Revoke any permissions in the queue policy that matches the +label+ parameter.


Revoke any permissions in the queue policy that matches the + label + parameter .
def remove_permissions(queue_url, label)
      req_hash = generate_request('RemovePermission',
                                  'Label'    => label,
                                  :queue_url => queue_url )
      request_info(req_hash, SqsStatusParser.new(:logger => @logger))
    rescue
      on_exception
    end
def remove_permissions ( queue_url , label ) req_hash = generate_request ( 'RemovePermission' , 'Label' => label , :queue_url => queue_url ) request_info ( req_hash , SqsStatusParser . new ( :logger => @logger ) ) rescue on_exception end
Revoke any permissions in the queue policy that matches the +label+ parameter.
Revoke any permissions in the queue policy that matches the + label + parameter .
queue_url
<not_specific>
label
<not_specific>