class
Amazonite::Kinesis::SplitShardInput
- Amazonite::Kinesis::SplitShardInput
- Reference
- Object
Overview
Represents the input for SplitShard.
Included Modules
- JSON::Serializable
Defined in:
kinesis/split_shard_input.crConstructors
- .new(shard_to_split : String, new_starting_hash_key : String, stream_name : String | Nil = nil, stream_arn : String | Nil = nil, stream_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#new_starting_hash_key : String
A hash key value for the starting hash key of one of the child shards created by the split.
-
#new_starting_hash_key=(new_starting_hash_key : String)
A hash key value for the starting hash key of one of the child shards created by the split.
-
#shard_to_split : String
The shard ID of the shard to split.
-
#shard_to_split=(shard_to_split : String)
The shard ID of the shard to split.
-
#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 stream for the shard split.
-
#stream_name=(stream_name : String | Nil)
The name of the stream for the shard split.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
A hash key value for the starting hash key of one of the child shards created by the split. The
hash key range for a given shard constitutes a set of ordered contiguous positive integers. The
value for NewStartingHashKey must be in the range of hash keys being mapped into the shard.
The NewStartingHashKey hash key value and all higher hash key values in hash key range are
distributed to one of the child shards. All the lower hash key values in the range are
distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created by the split. The
hash key range for a given shard constitutes a set of ordered contiguous positive integers. The
value for NewStartingHashKey must be in the range of hash keys being mapped into the shard.
The NewStartingHashKey hash key value and all higher hash key values in hash key range are
distributed to one of the child shards. All the lower hash key values in the range are
distributed to the other child shard.