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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb

Overview

Note:

When making an API call, you may pass ChangeMessageVisibilityBatchRequestEntry data as a 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

&amp;ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=<replaceable>Your_Receipt_Handle</replaceable>

&amp;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

Returns:

  • (String)


194
195
196
197
198
199
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 194

class ChangeMessageVisibilityBatchRequestEntry < Struct.new(
  :id,
  :receipt_handle,
  :visibility_timeout)
  include Aws::Structure
end

#receipt_handleString

A receipt handle.

Returns:

  • (String)


194
195
196
197
198
199
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 194

class ChangeMessageVisibilityBatchRequestEntry < Struct.new(
  :id,
  :receipt_handle,
  :visibility_timeout)
  include Aws::Structure
end

#visibility_timeoutInteger

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

Returns:

  • (Integer)


194
195
196
197
198
199
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 194

class ChangeMessageVisibilityBatchRequestEntry < Struct.new(
  :id,
  :receipt_handle,
  :visibility_timeout)
  include Aws::Structure
end