lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.65.0 vs lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.66.0
- old
+ new
@@ -484,11 +484,11 @@
# Usually, metrics are published with only one unit, so the alarm works
# as intended.
#
# However, if the metric is published with multiple types of units and
# you don't specify a unit, the alarm's behavior is not defined and it
- # behaves predictably.
+ # behaves unpredictably.
#
# We recommend omitting `Unit` so that you don't inadvertently specify
# an incorrect unit that is not published for this metric. Doing so
# causes the alarm to be stuck in the `INSUFFICIENT DATA` state.
# @option options [required, Integer] :evaluation_periods
@@ -643,11 +643,11 @@
# },
# ],
# })
# @param [Hash] options ({})
# @option options [required, Array<Types::MetricDatum>] :metric_data
- # The data for the metric. The array can include no more than 20 metrics
- # per call.
+ # The data for the metric. The array can include no more than 1000
+ # metrics per call.
# @return [EmptyStructure]
def put_data(options = {})
options = Aws::Util.deep_merge(options,
namespace: @namespace,
metric_data: [{ metric_name: @name }]