dcloud queue messages change-visibility-batch

Change 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 entries

Arguments

  • <name>Required

    string

    Also accepted as --name. Constraints: max 80 chars, /^[A-Za-z0-9_-]+(\.fifo)?$/

Flags

  • --entriesRequired

    array 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.