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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#queue_urlString

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

Queue URLs and names are case-sensitive.

Returns:

  • (String)

684
685
686
687
688
689
# File 'lib/aws-sdk-sqs/types.rb', line 684

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

#receipt_handleString

The receipt handle associated with the message to delete.

Returns:

  • (String)

684
685
686
687
688
689
# File 'lib/aws-sdk-sqs/types.rb', line 684

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