Class IStream.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesis.IStream.Jsii$Proxy
All Implemented Interfaces:
IEnvironmentAware, IEnvironmentAware.Jsii$Default, IStreamRef, IStreamRef.Jsii$Default, IResource, IResource.Jsii$Default, IStream, IStream.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IStream

@Internal public static final class IStream.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IStream.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • metric

      @Stability(Stable) @NotNull public final Metric metric(@NotNull String metricName)
      Return stream metric based from its metric name.

      Specified by:
      metric in interface IStream
      Specified by:
      metric in interface IStream.Jsii$Default
      Parameters:
      metricName - name of the stream metric. This parameter is required.
    • metricGetRecords

      @Stability(Stable) @NotNull public final Metric metricGetRecords()
      The number of records retrieved from the shard, measured over the specified time period.

      Minimum, Maximum, and Average statistics represent the records in a single GetRecords operation for the stream in the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricGetRecords in interface IStream
      Specified by:
      metricGetRecords in interface IStream.Jsii$Default
    • metricGetRecordsBytes

      @Stability(Stable) @NotNull public final Metric metricGetRecordsBytes()
      The number of bytes retrieved from the Kinesis stream, measured over the specified time period.

      Minimum, Maximum, and Average statistics represent the bytes in a single GetRecords operation for the stream in the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricGetRecordsBytes in interface IStream
      Specified by:
      metricGetRecordsBytes in interface IStream.Jsii$Default
    • metricGetRecordsIteratorAgeMilliseconds

      @Stability(Stable) @NotNull public final Metric metricGetRecordsIteratorAgeMilliseconds()
      The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.

      Age is the difference between the current time and when the last record of the GetRecords call was written to the stream. The Minimum and Maximum statistics can be used to track the progress of Kinesis consumer applications. A value of zero indicates that the records being read are completely caught up with the stream.

      The metric defaults to maximum over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricGetRecordsIteratorAgeMilliseconds in interface IStream
      Specified by:
      metricGetRecordsIteratorAgeMilliseconds in interface IStream.Jsii$Default
    • metricGetRecordsLatency

      @Stability(Stable) @NotNull public final Metric metricGetRecordsLatency()
      The time taken per GetRecords operation, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricGetRecordsLatency in interface IStream
      Specified by:
      metricGetRecordsLatency in interface IStream.Jsii$Default
    • metricGetRecordsSuccess

      @Stability(Stable) @NotNull public final Metric metricGetRecordsSuccess()
      The number of successful GetRecords operations per stream, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricGetRecordsSuccess in interface IStream
      Specified by:
      metricGetRecordsSuccess in interface IStream.Jsii$Default
    • metricIncomingBytes

      @Stability(Stable) @NotNull public final Metric metricIncomingBytes()
      The number of bytes successfully put to the Kinesis stream over the specified time period.

      This metric includes bytes from PutRecord and PutRecords operations. Minimum, Maximum, and Average statistics represent the bytes in a single put operation for the stream in the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricIncomingBytes in interface IStream
      Specified by:
      metricIncomingBytes in interface IStream.Jsii$Default
    • metricIncomingRecords

      @Stability(Stable) @NotNull public final Metric metricIncomingRecords()
      The number of records successfully put to the Kinesis stream over the specified time period.

      This metric includes record counts from PutRecord and PutRecords operations. Minimum, Maximum, and Average statistics represent the records in a single put operation for the stream in the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricIncomingRecords in interface IStream
      Specified by:
      metricIncomingRecords in interface IStream.Jsii$Default
    • metricPutRecordBytes

      @Stability(Stable) @NotNull public final Metric metricPutRecordBytes()
      The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordBytes in interface IStream
      Specified by:
      metricPutRecordBytes in interface IStream.Jsii$Default
    • metricPutRecordLatency

      @Stability(Stable) @NotNull public final Metric metricPutRecordLatency()
      The time taken per PutRecord operation, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordLatency in interface IStream
      Specified by:
      metricPutRecordLatency in interface IStream.Jsii$Default
    • metricPutRecordsBytes

      @Stability(Stable) @NotNull public final Metric metricPutRecordsBytes()
      The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsBytes in interface IStream
      Specified by:
      metricPutRecordsBytes in interface IStream.Jsii$Default
    • metricPutRecordsFailedRecords

      @Stability(Stable) @NotNull public final Metric metricPutRecordsFailedRecords()
      The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.

      Occasional internal failures are to be expected and should be retried.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsFailedRecords in interface IStream
      Specified by:
      metricPutRecordsFailedRecords in interface IStream.Jsii$Default
    • metricPutRecordsLatency

      @Stability(Stable) @NotNull public final Metric metricPutRecordsLatency()
      The time taken per PutRecords operation, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsLatency in interface IStream
      Specified by:
      metricPutRecordsLatency in interface IStream.Jsii$Default
    • metricPutRecordsSuccess

      @Stability(Stable) @NotNull public final Metric metricPutRecordsSuccess()
      The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsSuccess in interface IStream
      Specified by:
      metricPutRecordsSuccess in interface IStream.Jsii$Default
    • metricPutRecordsSuccessfulRecords

      @Stability(Stable) @NotNull public final Metric metricPutRecordsSuccessfulRecords()
      The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsSuccessfulRecords in interface IStream
      Specified by:
      metricPutRecordsSuccessfulRecords in interface IStream.Jsii$Default
    • metricPutRecordsThrottledRecords

      @Stability(Stable) @NotNull public final Metric metricPutRecordsThrottledRecords()
      The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsThrottledRecords in interface IStream
      Specified by:
      metricPutRecordsThrottledRecords in interface IStream.Jsii$Default
    • metricPutRecordsTotalRecords

      @Stability(Stable) @NotNull public final Metric metricPutRecordsTotalRecords()
      The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordsTotalRecords in interface IStream
      Specified by:
      metricPutRecordsTotalRecords in interface IStream.Jsii$Default
    • metricPutRecordSuccess

      @Stability(Stable) @NotNull public final Metric metricPutRecordSuccess()
      The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.

      Average reflects the percentage of successful writes to a stream.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricPutRecordSuccess in interface IStream
      Specified by:
      metricPutRecordSuccess in interface IStream.Jsii$Default
    • metricReadProvisionedThroughputExceeded

      @Stability(Stable) @NotNull public final Metric metricReadProvisionedThroughputExceeded()
      The number of GetRecords calls throttled for the stream over the specified time period.

      The most commonly used statistic for this metric is Average.

      When the Minimum statistic has a value of 1, all records were throttled for the stream during the specified time period.

      When the Maximum statistic has a value of 0 (zero), no records were throttled for the stream during the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties

      Specified by:
      metricReadProvisionedThroughputExceeded in interface IStream
      Specified by:
      metricReadProvisionedThroughputExceeded in interface IStream.Jsii$Default
    • metricWriteProvisionedThroughputExceeded

      @Stability(Stable) @NotNull public final Metric metricWriteProvisionedThroughputExceeded()
      The number of records rejected due to throttling for the stream over the specified time period.

      This metric includes throttling from PutRecord and PutRecords operations.

      When the Minimum statistic has a non-zero value, records were being throttled for the stream during the specified time period.

      When the Maximum statistic has a value of 0 (zero), no records were being throttled for the stream during the specified time period.

      The metric defaults to average over 5 minutes, it can be changed by passing statistic and period properties.

      Specified by:
      metricWriteProvisionedThroughputExceeded in interface IStream
      Specified by:
      metricWriteProvisionedThroughputExceeded in interface IStream.Jsii$Default