AWSLogsPatternToken
Objective-C
@interface AWSLogsPatternToken
Swift
class AWSLogsPatternToken
A tructures that contains information about one pattern token related to an anomaly.
For more information about patterns and tokens, see CreateLogAnomalyDetector.
-
For a dynamic token, this indicates where in the pattern that this token appears, related to other dynamic tokens. The dynamic token that appears first has a value of
1
, the one that appears second is2
, and so on.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dynamicTokenPosition;
Swift
var dynamicTokenPosition: NSNumber? { get set }
-
Contains the values found for a dynamic token, and the number of times each value was found.
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSNumber *> *_Nullable enumerations;
Swift
var enumerations: [String : NSNumber]? { get set }
-
Specifies whether this is a dynamic token.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable isDynamic;
Swift
var isDynamic: NSNumber? { get set }
-
The string represented by this token. If this is a dynamic token, the value will be
<*>
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable tokenString;
Swift
var tokenString: String? { get set }