dcloud queue messages change-visibilityExtend or shorten how long a received message stays hidden
IAM queue:ChangeMessageVisibilityChanges state
0 makes the message visible again at once.
Synopsis
dcloud queue messages change-visibility name --receipt-handle receiptHandle --visibility-timeout-seconds visibilityTimeoutSecondsArguments
<name>Requiredstring
Also accepted as
--name. Constraints: max 80 chars, /^[A-Za-z0-9_-]+(\.fifo)?$/
Flags
--receipt-handleRequiredstring
The receipt handle the message was last received with
Constraints: 1-200 chars
--visibility-timeout-secondsRequirednumber
Seconds from now the message stays hidden; 0 makes it receivable again at once
Constraints: integer, 0-43200
Example
dcloud queue messages change-visibility name --receipt-handle example --visibility-timeout-seconds 1Generated from the API description, the same one the API checks requests against and the CLI is built from.