dcloud queue messages change-visibility-batchChange the visibility timeout of up to 10 received messages
IAM queue:ChangeMessageVisibilityChanges state
Answers { successful, failed } per entry id; a failed entry (MessageNotInflight, ReceiptHandleIsInvalid) does not fail the call.
Synopsis
dcloud queue messages change-visibility-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 change, each a receiptHandle and visibilityTimeoutSeconds as for a single change plus an id of your choosing, unique in the batch, that matches it to its result
Example
dcloud queue messages change-visibility-batch name --entries '["example"]'Generated from the API description, the same one the API checks requests against and the CLI is built from.