AWSCloudWatchGetMetricDataInput Class Reference

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

  endTime

The time stamp indicating the latest data to be returned.

For better performance, specify StartTime and EndTime values that align with the value of the metric's Period and sync up with the beginning and end of an hour. For example, if the Period of a metric is 5 minutes, specifying 12:05 or 12:30 as EndTime can get a faster response from CloudWatch then setting 12:07 or 12:29 as the EndTime.

@property (nonatomic, strong) NSDate *endTime

Declared In

AWSCloudWatchModel.h

  maxDatapoints

The maximum number of data points the request should return before paginating. If you omit this, the default of 100,800 is used.

@property (nonatomic, strong) NSNumber *maxDatapoints

Declared In

AWSCloudWatchModel.h

  metricDataQueries

The metric queries to be returned. A single GetMetricData call can include as many as 100 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, or a math expression to perform on retrieved data.

@property (nonatomic, strong) NSArray<AWSCloudWatchMetricDataQuery*> *metricDataQueries

Declared In

AWSCloudWatchModel.h

  nextToken

Include this value, if it was returned by the previous call, to get the next set of data points.

@property (nonatomic, strong) NSString *nextToken

Declared In

AWSCloudWatchModel.h

  scanBy

The order in which data points should be returned. TimestampDescending returns the newest data first and paginates when the MaxDatapoints limit is reached. TimestampAscending returns the oldest data first and paginates when the MaxDatapoints limit is reached.

@property (nonatomic, assign) AWSCloudWatchScanBy scanBy

Declared In

AWSCloudWatchModel.h

  startTime

The time stamp indicating the earliest data to be returned.

For better performance, specify StartTime and EndTime values that align with the value of the metric's Period and sync up with the beginning and end of an hour. For example, if the Period of a metric is 5 minutes, specifying 12:05 or 12:30 as StartTime can get a faster response from CloudWatch then setting 12:07 or 12:29 as the StartTime.

@property (nonatomic, strong) NSDate *startTime

Declared In

AWSCloudWatchModel.h