AWSCloudWatchMetricDatum Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSCloudWatchModel.h
AWSCloudWatchModel.m

Overview

The MetricDatum data type encapsulates the information sent with PutMetricData to either create a new metric or add new values to be aggregated into an existing metric.

Required parameters: [MetricName]

  dimensions

A list of dimensions associated with the metric. Note, when using the Dimensions value in a query, you need to append .member.N to it (e.g., Dimensions.member.N).

@property (nonatomic, strong) NSArray<AWSCloudWatchDimension*> *dimensions

Declared In

AWSCloudWatchModel.h

  metricName

The name of the metric.

@property (nonatomic, strong) NSString *metricName

Declared In

AWSCloudWatchModel.h

  statisticValues

A set of statistical values describing the metric.

@property (nonatomic, strong) AWSCloudWatchStatisticSet *statisticValues

Declared In

AWSCloudWatchModel.h

  timestamp

The time stamp used for the metric in ISO 8601 Universal Coordinated Time (UTC) format. If not specified, the default value is set to the time the metric data was received.

@property (nonatomic, strong) NSDate *timestamp

Declared In

AWSCloudWatchModel.h

  unit

The unit of the metric.

@property (nonatomic, assign) AWSCloudWatchStandardUnit unit

Declared In

AWSCloudWatchModel.h

  value

The value for the metric.

Although the Value parameter accepts numbers of type Double, Amazon CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (e.g., NaN, +Infinity, -Infinity) are not supported.

@property (nonatomic, strong) NSNumber *value

Declared In

AWSCloudWatchModel.h