Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateMessagesResultEntry

Represents the result of a UpdateMessages request, whether it was successful or not. 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.

Properties

Optional errorCode

errorCode: undefined | number

The error code, in case the message was not successfully updated in the queue. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional errorMessage

errorMessage: undefined | string

A human-readable error message associated with the error code.

Optional id

id: undefined | number

The ID of the message that's been updated. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional visibleAfter

visibleAfter: Date

The time after which the message will be visible to other consumers, expressed in RFC 3339 timestamp format.

Example: {@code 2018-04-20T00:00:07.405Z}

Functions

getDeserializedJsonObj

getJsonObj