dcloud queue messages send-batchSend up to 10 messages at once, with a result per entry
IAM queue:SendMessageChanges state
Each entry carries a caller-chosen id, unique in the batch, used to match results. Answers { successful, failed }: an entry too large for the queue fails alone, as on SQS. A batch over 256 KiB in all, or a queue at capacity, fails the whole call.
Synopsis
dcloud queue messages send-batch name --entries entriesArguments
<name>Requiredstring
Also accepted as
--name. Constraints: max 80 chars, /^[A-Za-z0-9_-]+(\.fifo)?$/
Flags
--entriesRequiredarray of json
The messages to send, each a single send’s fields plus an id of your choosing, unique in the batch, that matches it to its result
Example
dcloud queue messages send-batch name --entries '["example"]'Generated from the API description, the same one the API checks requests against and the CLI is built from.