class Amazonite::Kinesis::UpdateShardCountInput

Included Modules

Defined in:

kinesis/update_shard_count_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(target_shard_count : Int32, scaling_type : ScalingType, 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 scaling_type : ScalingType #

The scaling type. Uniform scaling creates shards of equal size.


[View source]
def scaling_type=(scaling_type : ScalingType) #

The scaling type. Uniform scaling creates shards of equal size.


[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.


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

The name of the stream.


[View source]
def target_shard_count : Int32 #

The new number of shards. This value has the following default limits. By default, you cannot do the following:

  • Set this value to more than double your current shard count for a stream.

  • Set this value below half your current shard count for a stream.

  • Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.

  • Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.


[View source]
def target_shard_count=(target_shard_count : Int32) #

The new number of shards. This value has the following default limits. By default, you cannot do the following:

  • Set this value to more than double your current shard count for a stream.

  • Set this value below half your current shard count for a stream.

  • Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.

  • Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.


[View source]
def validate! : Nil #

[View source]