AWSEC2DataQuery
Objective-C
@interface AWSEC2DataQuery
Swift
class AWSEC2DataQuery
A query used for retrieving network health data.
-
The Region or Availability Zone that’s the target for the data query. For example,
eu-north-1
.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable destination;
Swift
var destination: String? { get set }
-
A user-defined ID associated with a data query that’s returned in the
dataResponse
identifying the query. For example, if you set the Id toMyQuery01
in the query, thedataResponse
identifies the query asMyQuery01
.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable identifier;
Swift
var identifier: String? { get set }
-
The metric,
aggregation-latency
, indicating that network latency is aggregated for the query. This is the only supported metric.Declaration
Objective-C
@property (nonatomic) AWSEC2MetricType metric;
Swift
var metric: AWSEC2MetricType { get set }
-
The aggregation period used for the data query.
Declaration
Objective-C
@property (nonatomic) AWSEC2PeriodType period;
Swift
var period: AWSEC2PeriodType { get set }
-
The Region or Availability Zone that’s the source for the data query. For example,
us-east-1
.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable source;
Swift
var source: String? { get set }
-
The metric data aggregation period,
p50
, between the specifiedstartDate
andendDate
. For example, a metric offive_minutes
is the median of all the data points gathered within those five minutes.p50
is the only supported metric.Declaration
Objective-C
@property (nonatomic) AWSEC2StatisticType statistic;
Swift
var statistic: AWSEC2StatisticType { get set }