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 |
Disables enhanced monitoring.
- disableEnhancedMonitoring :: Text -> DisableEnhancedMonitoring
- data DisableEnhancedMonitoring
- demStreamName :: Lens' DisableEnhancedMonitoring Text
- demShardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName]
- enhancedMonitoringOutput :: EnhancedMonitoringOutput
- data EnhancedMonitoringOutput
- emoDesiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- emoCurrentShardLevelMetrics :: Lens' EnhancedMonitoringOutput [MetricsName]
- emoStreamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
Creating a Request
disableEnhancedMonitoring Source #
Creates a value of DisableEnhancedMonitoring
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
demStreamName
- The name of the Kinesis data stream for which to disable enhanced monitoring.demShardLevelMetrics
- 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 Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide .
data DisableEnhancedMonitoring Source #
Represents the input for DisableEnhancedMonitoring
.
See: disableEnhancedMonitoring
smart constructor.
Request Lenses
demStreamName :: Lens' DisableEnhancedMonitoring Text Source #
The name of the Kinesis data stream for which to disable enhanced monitoring.
demShardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName] Source #
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 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.
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.