Queues CLI Command Reference

Every dcloud queue command. The shape is dcloud <service> <resource> <verb>; every command also takes the global flags (--json, --profile, --dry-run, …).

dcloud queue queues

Message queues with visibility timeouts and dead-letter queues, SQS-style

  • listList queues with their message counts
  • createCreate a queue
  • getOne queue: its attributes and visible, in-flight and delayed message counts
  • metricsMessage counts over time (about 180 points over the range)
  • set-attributesChange a queue’s attributes or its dead-letter queue
  • purgeDelete every message in a queue, keeping the queue
  • redriveMove a dead-letter queue’s messages back to their source queues
  • deleteDelete a queue and every message in it

dcloud queue messages

Sending, receiving and acknowledging messages on a queue

  • sendSend one message
  • send-batchSend up to 10 messages at once, with a result per entry
  • receiveReceive up to 10 messages, hiding them for the visibility timeout
  • deleteDelete a processed message by its receipt handle
  • delete-batchDelete up to 10 processed messages by receipt handle
  • change-visibilityExtend or shorten how long a received message stays hidden
  • change-visibility-batchChange the visibility timeout of up to 10 received messages

Generated from the API description, the same one the API checks requests against and the CLI is built from.