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

Class: Aws::SQS::Types::DeleteMessageRequest

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

{
  queue_url: "String", # required
  receipt_handle: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#queue_urlString

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

Queue URLs are case-sensitive.

Returns:

  • (String)


568
569
570
571
572
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 568

class DeleteMessageRequest < Struct.new(
  :queue_url,
  :receipt_handle)
  include Aws::Structure
end

#receipt_handleString

The receipt handle associated with the message to delete.

Returns:

  • (String)


568
569
570
571
572
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 568

class DeleteMessageRequest < Struct.new(
  :queue_url,
  :receipt_handle)
  include Aws::Structure
end