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

Class: Aws::SQS::Types::ChangeMessageVisibilityBatchRequest

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 ChangeMessageVisibilityBatchRequest data as a hash:

{
  queue_url: "String", # required
  entries: [ # required
    {
      id: "String", # required
      receipt_handle: "String", # required
      visibility_timeout: 1,
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#entriesArray<Types::ChangeMessageVisibilityBatchRequestEntry>

A list of receipt handles of the messages for which the visibility timeout must be changed.



147
148
149
150
151
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 147

class ChangeMessageVisibilityBatchRequest < Struct.new(
  :queue_url,
  :entries)
  include Aws::Structure
end

#queue_urlString

The URL of the Amazon SQS queue whose messages' visibility is changed.

Queue URLs are case-sensitive.

Returns:

  • (String)


147
148
149
150
151
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 147

class ChangeMessageVisibilityBatchRequest < Struct.new(
  :queue_url,
  :entries)
  include Aws::Structure
end