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

Class: Aws::SQS::Types::DeleteMessageBatchRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#entriesArray<Types::DeleteMessageBatchRequestEntry>

A list of receipt handles for the messages to be deleted.



488
489
490
491
492
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 488

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

#queue_urlString

The URL of the Amazon SQS queue from which messages are deleted.

Queue URLs are case-sensitive.

Returns:

  • (String)


488
489
490
491
492
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 488

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