IPWorks MQ 2020 JavaScript Edition

Questions / Feedback?

GetQueueAttributes Method

Returns all attributes of a queue.

Syntax

async amazonsqs.getQueueAttributes(queueId : string): Promise<string>

Remarks

This method retrieves all of the attributes of the queue specified by QueueId, and stores them in the Attributes collection. Queues currently have five attributes that may be returned:

  • ApproximateNumberOfMessages
  • VisibilityTimeout (for more information, see Visibility Timeout)
  • CreatedTimestamp
  • LastModifiedTimestamp
  • Policy

This method returns the RequestId contained in the Amazon response.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 JavaScript Edition - Version 20.0 [Build 8262]