AWSIoTMetricToRetain
Objective-C
@interface AWSIoTMetricToRetain
Swift
class AWSIoTMetricToRetain
The metric you want to retain. Dimensions are optional.
Required parameters: [metric]
-
What is measured by the behavior.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable metric;
Swift
var metric: String? { get set }
-
The dimension of a metric. This can’t be used with custom metrics.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTMetricDimension *_Nullable metricDimension;
Swift
var metricDimension: AWSIoTMetricDimension? { get set }