class Amazonite::Kinesis::EnableEnhancedMonitoringInput

Overview

Represents the input for EnableEnhancedMonitoring.

Included Modules

Defined in:

kinesis/enable_enhanced_monitoring_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(shard_level_metrics : Array(MetricsName), stream_name : String | Nil = nil, stream_arn : String | Nil = nil, stream_id : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def shard_level_metrics : Array(MetricsName) #

List of shard-level metrics to enable.

The following are the valid shard-level metrics. The value "ALL" enables every metric.

  • IncomingBytes

  • IncomingRecords

  • OutgoingBytes

  • OutgoingRecords

  • WriteProvisionedThroughputExceeded

  • ReadProvisionedThroughputExceeded

  • IteratorAgeMilliseconds

  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.


[View source]
def shard_level_metrics=(shard_level_metrics : Array(MetricsName)) #

List of shard-level metrics to enable.

The following are the valid shard-level metrics. The value "ALL" enables every metric.

  • IncomingBytes

  • IncomingRecords

  • OutgoingBytes

  • OutgoingRecords

  • WriteProvisionedThroughputExceeded

  • ReadProvisionedThroughputExceeded

  • IteratorAgeMilliseconds

  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.


[View source]
def stream_arn : String | Nil #

The ARN of the stream.


[View source]
def stream_arn=(stream_arn : String | Nil) #

The ARN of the stream.


[View source]
def stream_id : String | Nil #

Not Implemented. Reserved for future use.


[View source]
def stream_id=(stream_id : String | Nil) #

Not Implemented. Reserved for future use.


[View source]
def stream_name : String | Nil #

The name of the stream for which to enable enhanced monitoring.


[View source]
def stream_name=(stream_name : String | Nil) #

The name of the stream for which to enable enhanced monitoring.


[View source]
def validate! : Nil #

[View source]