| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Kinesis.EnableEnhancedMonitoring
Description
Enables enhanced Kinesis data stream monitoring for shard-level metrics.
Synopsis
- enableEnhancedMonitoring :: Text -> EnableEnhancedMonitoring
- data EnableEnhancedMonitoring
- eemStreamName :: Lens' EnableEnhancedMonitoring Text
- eemShardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName]
- enhancedMonitoringOutput :: EnhancedMonitoringOutput
- data EnhancedMonitoringOutput
- emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
Creating a Request
enableEnhancedMonitoring Source #
Arguments
| :: Text | |
| -> EnableEnhancedMonitoring |
Creates a value of EnableEnhancedMonitoring with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eemStreamName- The name of the stream for which to enable enhanced monitoring.eemShardLevelMetrics- 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*ALLFor more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide .
data EnableEnhancedMonitoring Source #
Represents the input for EnableEnhancedMonitoring .
See: enableEnhancedMonitoring smart constructor.
Instances
Request Lenses
eemStreamName :: Lens' EnableEnhancedMonitoring Text Source #
The name of the stream for which to enable enhanced monitoring.
eemShardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName] Source #
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 .
Destructuring the Response
enhancedMonitoringOutput :: EnhancedMonitoringOutput Source #
Creates a value of EnhancedMonitoringOutput with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
emoDesiredShardLevelMetrics- Represents the list of all the metrics that would be in the enhanced state after the operation.emoCurrentShardLevelMetrics- Represents the current state of the metrics that are in the enhanced state before the operation.emoStreamName- The name of the Kinesis data stream.
data EnhancedMonitoringOutput Source #
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring .
See: enhancedMonitoringOutput smart constructor.
Instances
Response Lenses
emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName] Source #
Represents the list of all the metrics that would be in the enhanced state after the operation.
emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName] Source #
Represents the current state of the metrics that are in the enhanced state before the operation.
emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text) Source #
The name of the Kinesis data stream.