Copyright | (c) 2013-2021 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 |
Enables enhanced Kinesis data stream monitoring for shard-level metrics.
Synopsis
- data EnableEnhancedMonitoring = EnableEnhancedMonitoring' {}
- newEnableEnhancedMonitoring :: Text -> EnableEnhancedMonitoring
- enableEnhancedMonitoring_streamName :: Lens' EnableEnhancedMonitoring Text
- enableEnhancedMonitoring_shardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName]
- data EnhancedMonitoringOutput = EnhancedMonitoringOutput' {}
- newEnhancedMonitoringOutput :: EnhancedMonitoringOutput
- enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
- enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName])
- enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text)
Creating a Request
data EnableEnhancedMonitoring Source #
Represents the input for EnableEnhancedMonitoring.
See: newEnableEnhancedMonitoring
smart constructor.
EnableEnhancedMonitoring' | |
|
Instances
newEnableEnhancedMonitoring Source #
Create a value of EnableEnhancedMonitoring
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamName:EnableEnhancedMonitoring'
, enableEnhancedMonitoring_streamName
- The name of the stream for which to enable enhanced monitoring.
$sel:shardLevelMetrics:EnableEnhancedMonitoring'
, enableEnhancedMonitoring_shardLevelMetrics
- 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.
Request Lenses
enableEnhancedMonitoring_streamName :: Lens' EnableEnhancedMonitoring Text Source #
The name of the stream for which to enable enhanced monitoring.
enableEnhancedMonitoring_shardLevelMetrics :: 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
data EnhancedMonitoringOutput Source #
Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
See: newEnhancedMonitoringOutput
smart constructor.
EnhancedMonitoringOutput' | |
|
Instances
newEnhancedMonitoringOutput :: EnhancedMonitoringOutput Source #
Create a value of EnhancedMonitoringOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:desiredShardLevelMetrics:EnhancedMonitoringOutput'
, enhancedMonitoringOutput_desiredShardLevelMetrics
- Represents the list of all the metrics that would be in the enhanced
state after the operation.
$sel:currentShardLevelMetrics:EnhancedMonitoringOutput'
, enhancedMonitoringOutput_currentShardLevelMetrics
- Represents the current state of the metrics that are in the enhanced
state before the operation.
$sel:streamName:EnhancedMonitoringOutput'
, enhancedMonitoringOutput_streamName
- The name of the Kinesis data stream.
Response Lenses
enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName]) Source #
Represents the list of all the metrics that would be in the enhanced state after the operation.
enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName]) Source #
Represents the current state of the metrics that are in the enhanced state before the operation.
enhancedMonitoringOutput_streamName :: Lens' EnhancedMonitoringOutput (Maybe Text) Source #
The name of the Kinesis data stream.