Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateMessagesResult

The response to a UpdateMessages request. It indicates the number of server and client failures as well as an array of entries for successful and failed actions.

Properties

clientFailures

clientFailures: number

The number of messages that failed to be updated in the queue because of a client failure such as an invalid receipt or invalid {@code visibilityInSeconds}. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

entries

An array of items representing the result of each action. The order is guaranteed to be the same as in the {@code UpdateMessagesDetails} object. If a message was successfully updated in the queue, the entry includes the {@code id} and {@code visibleAfter} fields. If a message failed to be updated in the queue, the entry includes the {@code errorCode} and {@code errorMessage} fields.

serverFailures

serverFailures: number

The number of messages that failed to be updated in the queue because of a server failure. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj