Class: Aws::Kinesis::Types::QueueRecord

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb

Overview

A data stream record, as delivered through a queue.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approximate_arrival_timestamp ⇒ Time

The approximate time the record arrived in the data stream. The difference between this value and the current time is how long the record took to reach your queue consumer.

Returns:

  • (Time)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end

#data ⇒ String

The data blob of the record. Amazon Kinesis Data Streams does not inspect, interpret, or change the data.

Returns:

  • (String)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end

#first_receive_timestamp ⇒ Time

The approximate time the record was first received from the queue.

Returns:

  • (Time)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end

#partition_key ⇒ String

The partition key the record was written to the data stream with.

Returns:

  • (String)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end

#receipt_handle ⇒ String

The identifier you use to acknowledge this record, change its visibility, or restore it after it becomes a dead-letter record. A new receipt handle is issued each time the record is received.

Returns:

  • (String)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end

#receive_count ⇒ Integer

The number of times this record has been received without being acknowledged.

Returns:

  • (Integer)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end

#record_id ⇒ String

The unique identifier of the record. This value stays the same across every delivery of the record, and it is the same in every queue on the stream that delivers the record. To identify a single delivery, use ReceiptHandle instead.

Returns:

  • (String)


2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2986

class QueueRecord < Struct.new(
  :receipt_handle,
  :record_id,
  :partition_key,
  :data,
  :approximate_arrival_timestamp,
  :first_receive_timestamp,
  :receive_count)
  SENSITIVE = []
  include Aws::Structure
end