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

Class: Aws::Kinesis::Types::DisableEnhancedMonitoringInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb

Overview

Note:

When making an API call, you may pass DisableEnhancedMonitoringInput data as a hash:

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

Represents the input for DisableEnhancedMonitoring.

Instance Attribute Summary collapse

Instance Attribute Details

#shard_level_metricsArray<String>

List of shard-level metrics to disable.

The following are the valid shard-level metrics. The value "ALL" disables 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>)


239
240
241
242
243
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 239

class DisableEnhancedMonitoringInput < Struct.new(
  :stream_name,
  :shard_level_metrics)
  include Aws::Structure
end

#stream_nameString

The name of the Amazon Kinesis stream for which to disable enhanced monitoring.

Returns:

  • (String)


239
240
241
242
243
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 239

class DisableEnhancedMonitoringInput < Struct.new(
  :stream_name,
  :shard_level_metrics)
  include Aws::Structure
end