IPWorks MQ 2020 Python Edition

Questions / Feedback?

get_queue_attributes Method

Returns all attributes of a queue.

Syntax

def get_queue_attributes(queue_id: str) -> str: ...

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 Python Edition - Version 20.0 [Build 8155]