Learn R Programming

aws.sqs (version 0.1.10)

visibility: Change Visiblity Timeout

Description

Change the visibility timeout of received message(s)

Usage

visibility(queue, handle, timeout = NULL, query = NULL, ...)

Arguments

queue

A character string containing a queue URL, or the name of the queue.

handle

A character vector containing one or more message handles, as returned by receive_msg.

timeout

An integer value indicating the new value of the visibility timeout, in seconds between 0 and 43200, for the message(s).

query

A list specifying additional query arguments to be passed to the query argument of sqsHTTP.

...

Additional arguments passed to sqsHTTP.

Value

If successful, a logical TRUE. Otherwise, a data structure of class “aws_error” containing any error message(s) from AWS and information about the request attempt.

Details

Changes the visibility timeout of one or more SQS messages, by their message handle.

References

ChangeMessageVisibility

See Also

link{receive_msg} link{delete_msg}