AWSLogsUpdateAnomalyRequest

Objective-C

@interface AWSLogsUpdateAnomalyRequest

Swift

class AWSLogsUpdateAnomalyRequest
  • The ARN of the anomaly detector that this operation is to act on.

    Declaration

    Objective-C

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

    Swift

    var anomalyDetectorArn: String? { get set }
  • If you are suppressing or unsuppressing an anomaly, specify its unique ID here. You can find anomaly IDs by using the ListAnomalies operation.

    Declaration

    Objective-C

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

    Swift

    var anomalyId: String? { get set }
  • If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can find pattern IDs by using the ListAnomalies operation.

    Declaration

    Objective-C

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

    Swift

    var patternId: String? { get set }
  • If you are temporarily suppressing an anomaly or pattern, use this structure to specify how long the suppression is to last.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLogsSuppressionPeriod *_Nullable suppressionPeriod;

    Swift

    var suppressionPeriod: AWSLogsSuppressionPeriod? { get set }
  • Use this to specify whether the suppression to be temporary or infinite. If you specify LIMITED, you must also specify a suppressionPeriod. If you specify INFINITE, any value for suppressionPeriod is ignored.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsSuppressionType suppressionType;

    Swift

    var suppressionType: AWSLogsSuppressionType { get set }