moto/other_langs/test.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
188 B
Ruby
Raw Normal View History

require 'aws-sdk'
sqs = Aws::SQS::Resource.new(region: 'us-west-2', endpoint: 'http://localhost:5000')
my_queue = sqs.create_queue(queue_name: 'my-bucket')
puts sqs.client.list_queues()