Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace DeleteMessagesResult

The response to a DeleteMessages 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 deleted from the queue because of a client failure such as an invalid receipt. 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 DeleteMessagesDetails} object. If a message was successfully deleted from the queue, the entry does not contain any fields. If a message failed to be deleted from the queue, the entry includes the {@code errorCode} and {@code errorMessage} fields.

serverFailures

serverFailures: number

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

Functions

getDeserializedJsonObj

getJsonObj