aws.sqs-package: AWS SQS Client Package

Description Author(s) Examples

Description

A simple client package for the Amazon Web Services (AWS) Simple Queue Service (SQS) REST API.

Author(s)

Thomas J. Leeper <[email protected]>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 
  # list current queues
  list_queues()
  
  # create a queue
  queue <- create_queue("ExampleQueue")
  get_queue_url("ExampleQueue")
  
  # send message to queue
  send_msg("ExampleQueue", "This is a test message")
  # receive a message
  (m <- receive_msg("ExampleQueue", timeout = 0))
  
  # delete a message from queue
  delete_msg("ExampleQueue", m$ReceiptHandle[1])
  
  # delete queue
  delete_queue("ExampleQueue")
  

## End(Not run)

cloudyr/aws.sqs documentation built on Aug. 16, 2018, 2:25 a.m.