Method: Fog::AWS::SQS::Real#create_queue
- Defined in:
- lib/fog/aws/requests/sqs/create_queue.rb
#create_queue(name, options = {}) ⇒ Object
Create a queue
Parameters
-
name<~String> - Name of queue to create
-
options<~Hash>:
-
DefaultVisibilityTimeout<~String> - Time, in seconds, to hide a message after it has been received, in 0..43200, defaults to 30
-
See Also
docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QueryCreateQueue.html
19 20 21 22 23 24 25 |
# File 'lib/fog/aws/requests/sqs/create_queue.rb', line 19 def create_queue(name, = {}) request({ 'Action' => 'CreateQueue', 'QueueName' => name, :parser => Fog::Parsers::AWS::SQS::CreateQueue.new }.merge!()) end |