class
Amazonite::Kinesis::GetShardIteratorInput
- Amazonite::Kinesis::GetShardIteratorInput
- Reference
- Object
Overview
Represents the input for GetShardIterator.
Included Modules
- JSON::Serializable
Defined in:
kinesis/get_shard_iterator_input.crConstructors
- .new(shard_id : String, shard_iterator_type : ShardIteratorType, stream_name : String | Nil = nil, starting_sequence_number : String | Nil = nil, timestamp : Time | Nil = nil, stream_arn : String | Nil = nil, stream_id : String | Nil = nil, dry_run : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#dry_run : Bool | Nil
Checks if your request will succeed.
-
#dry_run=(dry_run : Bool | Nil)
Checks if your request will succeed.
-
#hash(hasher)
See
Object#hash(hasher) -
#shard_id : String
The shard ID of the Kinesis Data Streams shard to get the iterator for.
-
#shard_id=(shard_id : String)
The shard ID of the Kinesis Data Streams shard to get the iterator for.
-
#shard_iterator_type : ShardIteratorType
Determines how the shard iterator is used to start reading data records from the shard.
-
#shard_iterator_type=(shard_iterator_type : ShardIteratorType)
Determines how the shard iterator is used to start reading data records from the shard.
-
#starting_sequence_number : String | Nil
The sequence number of the data record in the shard from which to start reading.
-
#starting_sequence_number=(starting_sequence_number : String | Nil)
The sequence number of the data record in the shard from which to start reading.
-
#stream_arn : String | Nil
The ARN of the stream.
-
#stream_arn=(stream_arn : String | Nil)
The ARN of the stream.
-
#stream_id : String | Nil
Not Implemented.
-
#stream_id=(stream_id : String | Nil)
Not Implemented.
-
#stream_name : String | Nil
The name of the Amazon Kinesis data stream.
-
#stream_name=(stream_name : String | Nil)
The name of the Amazon Kinesis data stream.
-
#timestamp : Time | Nil
The time stamp of the data record from which to start reading.
-
#timestamp=(timestamp : Time | Nil)
The time stamp of the data record from which to start reading.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Checks if your request will succeed. DryRun is an optional parameter.
The shard ID of the Kinesis Data Streams shard to get the iterator for.
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid Amazon Kinesis shard iterator types:
-
AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value
StartingSequenceNumber. -
AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number, provided in the value
StartingSequenceNumber. -
AT_TIMESTAMP - Start reading from the position denoted by a specific time stamp, provided in the value
Timestamp. -
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.
-
LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid Amazon Kinesis shard iterator types:
-
AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value
StartingSequenceNumber. -
AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number, provided in the value
StartingSequenceNumber. -
AT_TIMESTAMP - Start reading from the position denoted by a specific time stamp, provided in the value
Timestamp. -
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.
-
LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.
The sequence number of the data record in the shard from which to start reading. Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.
The sequence number of the data record in the shard from which to start reading. Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.
The time stamp of the data record from which to start reading. Used with shard iterator type
AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example,
2016-04-04T19:58:46.480-00:00 or 1459799926.480. If a record with this exact time stamp does
not exist, the iterator returned is for the next (later) record. If the time stamp is older than
the current trim horizon, the iterator returned is for the oldest untrimmed data record
(TRIM_HORIZON).
The time stamp of the data record from which to start reading. Used with shard iterator type
AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example,
2016-04-04T19:58:46.480-00:00 or 1459799926.480. If a record with this exact time stamp does
not exist, the iterator returned is for the next (later) record. If the time stamp is older than
the current trim horizon, the iterator returned is for the oldest untrimmed data record
(TRIM_HORIZON).