You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kinesis::Types::EnableEnhancedMonitoringInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing EnableEnhancedMonitoringInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  stream_name: "StreamName", # required
  shard_level_metrics: ["IncomingBytes"], # required, accepts IncomingBytes, IncomingRecords, OutgoingBytes, OutgoingRecords, WriteProvisionedThroughputExceeded, ReadProvisionedThroughputExceeded, IteratorAgeMilliseconds, ALL
}

Represents the input for EnableEnhancedMonitoring.

Instance Attribute Summary collapse

Instance Attribute Details

#shard_level_metricsArray<String>

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 Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.

Returns:

  • (Array<String>)

    List of shard-level metrics to enable.

#stream_nameString

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

Returns:

  • (String)

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