Smaws_Client_Kinesis.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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.enable_enhanced_monitoring_input ->
(Types.enhanced_monitoring_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.result