GetVisibilityTimeout (Query)

The GetVisibilityTimeout action retrieves the VisibilityTimeout value set on the queue specified. See SetVisibilityTimeout (Query) for more information about VisibilityTimeout.

GetVisibilityTimeout requests are validated on the following:

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 Query Parameters for more information.

The following example GetVisibilityTimeout request returns the VisibilityTimeout value for the queue specified.

ErrorDescription
InvalidURIThe URL for the queue is not valid or was not a URL returned by a CreateQueue or ListQueues request.