Smaws_Client_CloudWatch.DescribeAlarmsForMetricRetrieves the alarms for the specified metric. To filter the results, specify a statistic, period, or unit.
This operation retrieves only standard alarms that are based on the specified metric. It does not return alarms based on math expressions that use the specified metric, or composite alarms that use the specified metric.
val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error ] -> stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_alarms_for_metric_input ->
(Types.describe_alarms_for_metric_output,
[> Smaws_Lib.Protocols.AwsQuery.error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_alarms_for_metric_input ->
(Types.describe_alarms_for_metric_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error ] * Smaws_Lib.Response.metadata)
Stdlib.result