/AWS1/CL_KNS=>ENABLEENHANCEDMONITORING()
¶
About EnableEnhancedMonitoring¶
Enables enhanced Kinesis data stream monitoring for shard-level metrics.
When invoking this API, you must use either the StreamARN
or the
StreamName
parameter, or both. It is recommended that you use the
StreamARN
input parameter when you invoke this API.
Method Signature¶
IMPORTING¶
Required arguments:¶
IT_SHARDLEVELMETRICS
TYPE /AWS1/CL_KNSMETRICSNAMELIST_W=>TT_METRICSNAMELIST
TT_METRICSNAMELIST
¶
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.
Optional arguments:¶
IV_STREAMNAME
TYPE /AWS1/KNSSTREAMNAME
/AWS1/KNSSTREAMNAME
¶
The name of the stream for which to enable enhanced monitoring.
IV_STREAMARN
TYPE /AWS1/KNSSTREAMARN
/AWS1/KNSSTREAMARN
¶
The ARN of the stream.