Enum ShardLevelMetrics

java.lang.Object
java.lang.Enum<ShardLevelMetrics>
software.amazon.awscdk.services.kinesis.ShardLevelMetrics
All Implemented Interfaces:
Serializable, Comparable<ShardLevelMetrics>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-14T12:28:13.319Z") @Stability(Stable) public enum ShardLevelMetrics extends Enum<ShardLevelMetrics>
Enhanced shard-level metrics.

Example:

 Stream stream = Stream.Builder.create(this, "MyStream")
         .shardLevelMetrics(List.of(ShardLevelMetrics.ALL))
         .build();
 

See Also:
  • Enum Constant Details

    • INCOMING_BYTES

      @Stability(Stable) public static final ShardLevelMetrics INCOMING_BYTES
      The number of bytes successfully put to the shard over the specified time period.
    • INCOMING_RECORDS

      @Stability(Stable) public static final ShardLevelMetrics INCOMING_RECORDS
      The number of records successfully put to the shard over the specified time period.
    • ITERATOR_AGE_MILLISECONDS

      @Stability(Stable) public static final ShardLevelMetrics ITERATOR_AGE_MILLISECONDS
      The age of the last record in all GetRecords calls made against a shard, measured over the specified time period.
    • OUTGOING_BYTES

      @Stability(Stable) public static final ShardLevelMetrics OUTGOING_BYTES
      The number of bytes retrieved from the shard, measured over the specified time period.
    • OUTGOING_RECORDS

      @Stability(Stable) public static final ShardLevelMetrics OUTGOING_RECORDS
      The number of records retrieved from the shard, measured over the specified time period.
    • READ_PROVISIONED_THROUGHPUT_EXCEEDED

      @Stability(Stable) public static final ShardLevelMetrics READ_PROVISIONED_THROUGHPUT_EXCEEDED
      The number of GetRecords calls throttled for the shard over the specified time period.
    • WRITE_PROVISIONED_THROUGHPUT_EXCEEDED

      @Stability(Stable) public static final ShardLevelMetrics WRITE_PROVISIONED_THROUGHPUT_EXCEEDED
      The number of records rejected due to throttling for the shard over the specified time period.
    • ALL

      @Stability(Stable) public static final ShardLevelMetrics ALL
      All metrics.
  • Method Details

    • values

      public static ShardLevelMetrics[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ShardLevelMetrics valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null