Class: Aws::Kinesis::Types::GetRecordsOutput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kinesis::Types::GetRecordsOutput
- Defined in:
- gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb
Overview
Represents the output for GetRecords.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#child_shards ⇒ Array<Types::ChildShard>
The list of the current shard's child shards, returned in the
GetRecords
API's response only when the end of the current shard is reached. -
#millis_behind_latest ⇒ Integer
The number of milliseconds the GetRecords response is from the tip of the stream, indicating how far behind current time the consumer is.
-
#next_shard_iterator ⇒ String
The next position in the shard from which to start sequentially reading data records.
-
#records ⇒ Array<Types::Record>
The data records retrieved from the shard.
Instance Attribute Details
#child_shards ⇒ Array<Types::ChildShard>
The list of the current shard's child shards, returned in the
GetRecords
API's response only when the end of the current shard
is reached.
709 710 711 712 713 714 715 716 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 709 class GetRecordsOutput < Struct.new( :records, :next_shard_iterator, :millis_behind_latest, :child_shards) SENSITIVE = [] include Aws::Structure end |
#millis_behind_latest ⇒ Integer
The number of milliseconds the GetRecords response is from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.
709 710 711 712 713 714 715 716 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 709 class GetRecordsOutput < Struct.new( :records, :next_shard_iterator, :millis_behind_latest, :child_shards) SENSITIVE = [] include Aws::Structure end |
#next_shard_iterator ⇒ String
The next position in the shard from which to start sequentially
reading data records. If set to null
, the shard has been closed
and the requested iterator does not return any more data.
709 710 711 712 713 714 715 716 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 709 class GetRecordsOutput < Struct.new( :records, :next_shard_iterator, :millis_behind_latest, :child_shards) SENSITIVE = [] include Aws::Structure end |
#records ⇒ Array<Types::Record>
The data records retrieved from the shard.
709 710 711 712 713 714 715 716 |
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 709 class GetRecordsOutput < Struct.new( :records, :next_shard_iterator, :millis_behind_latest, :child_shards) SENSITIVE = [] include Aws::Structure end |