AWSCloudWatchGetMetricStatisticsInput Class Reference

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

Overview

Describes the inputs for GetMetricStatistics.

Required parameters: [Namespace, MetricName, StartTime, EndTime, Period, Statistics]

  dimensions

A list of dimensions describing qualities of the metric.

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

Declared In

AWSCloudWatchModel.h

  endTime

The time stamp to use for determining the last datapoint to return. The value specified is exclusive; results will include datapoints up to the time stamp specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).

@property (nonatomic, strong) NSDate *endTime

Declared In

AWSCloudWatchModel.h

  metricName

The name of the metric, with or without spaces.

@property (nonatomic, strong) NSString *metricName

Declared In

AWSCloudWatchModel.h

  namespace

The namespace of the metric, with or without spaces.

@property (nonatomic, strong) NSString *namespace

Declared In

AWSCloudWatchModel.h

  period

The granularity, in seconds, of the returned datapoints. A Period can be as short as one minute (60 seconds) or as long as one day (86,400 seconds), and must be a multiple of 60. The default value is 60.

@property (nonatomic, strong) NSNumber *period

Declared In

AWSCloudWatchModel.h

  startTime

The time stamp to use for determining the first datapoint to return. The value specified is inclusive; results include datapoints with the time stamp specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).

The specified start time is rounded down to the nearest value. Datapoints are returned for start times up to two weeks in the past. Specified start times that are more than two weeks in the past will not return datapoints for metrics that are older than two weeks.

Data that is timestamped 24 hours or more in the past may take in excess of 48 hours to become available from submission time using GetMetricStatistics.

@property (nonatomic, strong) NSDate *startTime

Declared In

AWSCloudWatchModel.h

  statistics

The metric statistics to return. For information about specific statistics returned by GetMetricStatistics, see Statistics in the Amazon CloudWatch Developer Guide.

@property (nonatomic, strong) NSArray<NSString*> *statistics

Declared In

AWSCloudWatchModel.h

  unit

The specific unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in all units being returned. If the metric only ever reports one unit, specifying a unit will have no effect.

@property (nonatomic, assign) AWSCloudWatchStandardUnit unit

Declared In

AWSCloudWatchModel.h