AWSIoTUpdateCustomMetricResponse

Objective-C

@interface AWSIoTUpdateCustomMetricResponse

Swift

class AWSIoTUpdateCustomMetricResponse
  • The creation date of the custom metric in milliseconds since epoch.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable creationDate;

    Swift

    var creationDate: Date? { get set }
  • A friendly name in the console for the custom metric

    Declaration

    Objective-C

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

    Swift

    var displayName: String? { get set }
  • The time the custom metric was last modified in milliseconds since epoch.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastModifiedDate;

    Swift

    var lastModifiedDate: Date? { get set }
  • The Amazon Resource Number (ARN) of the custom metric.

    Declaration

    Objective-C

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

    Swift

    var metricArn: String? { get set }
  • The name of the custom metric.

    Declaration

    Objective-C

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

    Swift

    var metricName: String? { get set }
  • The type of the custom metric.

    The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTCustomMetricType metricType;

    Swift

    var metricType: AWSIoTCustomMetricType { get set }