paws.management (version 0.1.0)

cloudwatch_describe_alarms_for_metric: Retrieves the alarms for the specified metric

Description

Retrieves the alarms for the specified metric. To filter the results, specify a statistic, period, or unit.

Usage

cloudwatch_describe_alarms_for_metric(MetricName, Namespace, Statistic,
  ExtendedStatistic, Dimensions, Period, Unit)

Arguments

MetricName

[required] The name of the metric.

Namespace

[required] The namespace of the metric.

Statistic

The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics.

ExtendedStatistic

The percentile statistic for the metric. Specify a value between p0.0 and p100.

Dimensions

The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.

Period

The period, in seconds, over which the statistic is applied.

Unit

The unit for the metric.

Request syntax

svc$describe_alarms_for_metric(
  MetricName = "string",
  Namespace = "string",
  Statistic = "SampleCount"|"Average"|"Sum"|"Minimum"|"Maximum",
  ExtendedStatistic = "string",
  Dimensions = list(
    list(
      Name = "string",
      Value = "string"
    )
  ),
  Period = 123,
  Unit = "Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Count"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|"None"
)