You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

When making an API call, you may pass UpdateShardCountInput data as a hash:

{
  stream_name: "StreamName", # required
  target_shard_count: 1, # required
  scaling_type: "UNIFORM_SCALING", # required, accepts UNIFORM_SCALING
}

Instance Attribute Summary collapse

Instance Attribute Details

#scaling_typeString

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

Returns:

  • (String)


1300
1301
1302
1303
1304
1305
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 1300

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type)
  include Aws::Structure
end

#stream_nameString

The name of the stream.

Returns:

  • (String)


1300
1301
1302
1303
1304
1305
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 1300

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type)
  include Aws::Structure
end

#target_shard_countInteger

The new number of shards.

Returns:

  • (Integer)


1300
1301
1302
1303
1304
1305
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 1300

class UpdateShardCountInput < Struct.new(
  :stream_name,
  :target_shard_count,
  :scaling_type)
  include Aws::Structure
end