Enum 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll metrics.The number of bytes successfully put to the shard over the specified time period.The number of records successfully put to the shard over the specified time period.The age of the last record in all GetRecords calls made against a shard, measured over the specified time period.The number of bytes retrieved from the shard, measured over the specified time period.The number of records retrieved from the shard, measured over the specified time period.The number of GetRecords calls throttled for the shard over the specified time period.The number of records rejected due to throttling for the shard over the specified time period. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardLevelMetrics
Returns the enum constant of this type with the specified name.static ShardLevelMetrics[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INCOMING_BYTES
The number of bytes successfully put to the shard over the specified time period. -
INCOMING_RECORDS
The number of records successfully put to the shard over the specified time period. -
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
The number of bytes retrieved from the shard, measured over the specified time period. -
OUTGOING_RECORDS
The number of records retrieved from the shard, measured over the specified time period. -
READ_PROVISIONED_THROUGHPUT_EXCEEDED
The number of GetRecords calls throttled for the shard over the specified time period. -
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED
The number of records rejected due to throttling for the shard over the specified time period. -
ALL
All metrics.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-