AWSIoTMetricToRetain

Objective-C

@interface AWSIoTMetricToRetain

Swift

class AWSIoTMetricToRetain

The metric you want to retain. Dimensions are optional.

Required parameters: [metric]

  • The value indicates exporting metrics related to the MetricToRetain when it’s true.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable exportMetric;

    Swift

    var exportMetric: NSNumber? { get set }
  • 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 }