You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SQS::Types::ChangeMessageVisibilityBatchRequestEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ChangeMessageVisibilityBatchRequestEntry as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "String", # required
  receipt_handle: "String", # required
  visibility_timeout: 1,
}

Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.

All of the following list parameters must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n, where n is an integer value starting with 1. For example, a parameter list for this action might look like this:

&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2

&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=your_receipt_handle

&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45

Instance Attribute Summary collapse

Instance Attribute Details

#idString

An identifier for this particular receipt handle used to communicate the result.

The Ids of a batch request need to be unique within a request.

This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).

Returns:

  • (String)

    An identifier for this particular receipt handle used to communicate the result.

#receipt_handleString

A receipt handle.

Returns:

  • (String)

    A receipt handle.

#visibility_timeoutInteger

The new value (in seconds) for the message\'s visibility timeout.

Returns:

  • (Integer)

    The new value (in seconds) for the message\'s visibility timeout.