The GetVisibilityTimeout action retrieves the VisibilityTimeout value set on the queue specified. See SetVisibilityTimeout for more information about VisibilityTimeout.
GetVisibilityTimeout requests are validated on the following:
The value specified for QueueName must be alphanumeric of length 1 to 80.
Returns Success and the current visibility timeout setting if successful or an error response if unsuccessful.
This operation has no input parameters other than those common to all requests to SQS. See SOAP Parameters for more information.
The following example GetVisibilityTimeout request returns the VisibilityTimeout value for the queue specified.
<soap:Body wsu:Id="body" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <m:GetVisibilityTimeout xmlns:m="http://queue.amazonaws.com/doc/2006-04-01/"> </m:GetVisibilityTimeout> </soap:Body>