Skip to main content

ISQSChangeMessageVisibilityRequest

Interface in AWS.SQS

Interface for ChangeMessageVisibility requests.

Ancestors

Properties

ReceiptHandle

property ReceiptHandle: string

The receipt handle associated with the message whose visibility timeout is changed.

This parameter is returned by the ReceiveMessage action and uniquely identifies a specific message instance. Receipt handles are opaque strings that become invalid after the message visibility timeout expires or after the message is deleted.

VisibilityTimeout

property VisibilityTimeout: Integer

The new value for the message's visibility timeout in seconds.

Valid range: 0 to 43200 seconds (maximum 12 hours). The timeout value is applied immediately but is not saved in memory for that message. If the message is not deleted, the visibility timeout reverts to the original queue timeout value the next time the message is received. Setting this to 0 makes the message immediately visible to other consumers.