UpdateShardCountInput

public struct UpdateShardCountInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The scaling type. Uniform scaling creates shards of equal size.

    Declaration

    Swift

    public let scalingType: ScalingType
  • The name of the stream.

    Declaration

    Swift

    public let streamName: String
  • 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 500 shards in a stream (the default limit for shard count per stream is 500 per account per region), unless you request a limit increase. Scale a stream with more than 500 shards down unless you set this value to less than 500 shards.

    Declaration

    Swift

    public let targetShardCount: Int
  • Undocumented

    Declaration

    Swift

    public init(scalingType: ScalingType, streamName: String, targetShardCount: Int)
  • Declaration

    Swift

    public func validate(name: String) throws