AWSIoTMetricDimension

Objective-C

@interface AWSIoTMetricDimension

Swift

class AWSIoTMetricDimension

The dimension of a metric.

Required parameters: [dimensionName]

  • A unique identifier for the dimension.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dimensionName;

    Swift

    var dimensionName: String? { get set }
  • Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn’t match any of the topic filters. The operator is optional: if it’s not provided (is null), it will be interpreted as IN.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTDimensionValueOperator operatorValue;

    Swift

    var operatorValue: AWSIoTDimensionValueOperator { get set }