Class: Aws::Kinesis::Types::UpdateShardCountInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#scaling_typeString

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

Returns:

  • (String)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2498

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type,
  :stream_arn)
  SENSITIVE = []
  include Aws::Structure
end

#stream_arnString

The ARN of the stream.

Returns:

  • (String)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2498

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type,
  :stream_arn)
  SENSITIVE = []
  include Aws::Structure
end

#stream_nameString

The name of the stream.

Returns:

  • (String)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2498

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type,
  :stream_arn)
  SENSITIVE = []
  include Aws::Structure
end

#target_shard_countInteger

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.

Returns:

  • (Integer)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 2498

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type,
  :stream_arn)
  SENSITIVE = []
  include Aws::Structure
end