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
- Struct
- Aws::Kinesis::Types::EnableEnhancedMonitoringInput
- Defined in:
- (unknown)
Overview
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
-
#shard_level_metrics ⇒ Array<String>
List of shard-level metrics to enable.
-
#stream_name ⇒ String
The name of the stream for which to enable enhanced monitoring.
Instance Attribute Details
#shard_level_metrics ⇒ Array<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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.
#stream_name ⇒ String
The name of the stream for which to enable enhanced monitoring.