Method: Fog::AWS::SQS::Real#set_queue_attributes
- Defined in:
- lib/fog/aws/requests/sqs/set_queue_attributes.rb
permalink #set_queue_attributes(queue_url, attribute_name, attribute_value) ⇒ Object
Get attributes of a queue
Parameters
-
queue_url<~String> - Url of queue to get attributes for
-
attribute_name<~String> - Name of attribute to set, keys in [‘MaximumMessageSize’, ‘MessageRetentionPeriod’, ‘Policy’, ‘VisibilityTimeout’]
-
attribute_value<~String> - Value to set for attribute
See Also
19 20 21 22 23 24 25 26 27 |
# File 'lib/fog/aws/requests/sqs/set_queue_attributes.rb', line 19 def set_queue_attributes(queue_url, attribute_name, attribute_value) request({ 'Action' => 'SetQueueAttributes', 'Attribute.Name' => attribute_name, 'Attribute.Value' => attribute_value, :path => path_from_queue_url(queue_url), :parser => Fog::Parsers::AWS::SQS::Basic.new }) end |