Class: Aws::SQS::Types::ChangeMessageVisibilityRequest

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#queue_urlString

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

Queue URLs and names are case-sensitive.

Returns:

  • (String)

275
276
277
278
279
280
281
# File 'lib/aws-sdk-sqs/types.rb', line 275

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

#receipt_handleString

The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the ` ReceiveMessage ` action.

Returns:

  • (String)

275
276
277
278
279
280
281
# File 'lib/aws-sdk-sqs/types.rb', line 275

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

#visibility_timeoutInteger

The new value for the message's visibility timeout (in seconds). Values range: `0` to `43200`. Maximum: 12 hours.

Returns:

  • (Integer)

275
276
277
278
279
280
281
# File 'lib/aws-sdk-sqs/types.rb', line 275

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