class Amazonite::Kinesis::SplitShardInput

Overview

Represents the input for SplitShard.

Included Modules

Defined in:

kinesis/split_shard_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def new_starting_hash_key : String #

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.


[View source]
def 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. 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.


[View source]
def shard_to_split : String #

The shard ID of the shard to split.


[View source]
def shard_to_split=(shard_to_split : String) #

The shard ID of the shard to split.


[View source]
def stream_arn : String | Nil #

The ARN of the stream.


[View source]
def stream_arn=(stream_arn : String | Nil) #

The ARN of the stream.


[View source]
def stream_id : String | Nil #

Not Implemented. Reserved for future use.


[View source]
def stream_id=(stream_id : String | Nil) #

Not Implemented. Reserved for future use.


[View source]
def stream_name : String | Nil #

The name of the stream for the shard split.


[View source]
def stream_name=(stream_name : String | Nil) #

The name of the stream for the shard split.


[View source]
def validate! : Nil #

[View source]