InsightRule
public struct InsightRule : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.
Declaration
Swift
public let definition: String
-
The name of the rule.
Declaration
Swift
public let name: String
-
For rules that you create, this is always {“Name”: “CloudWatchLogRule”, “Version”: 1}. For built-in rules, this is {“Name”: “ServiceLogRule”, “Version”: 1}
Declaration
Swift
public let schema: String
-
Indicates whether the rule is enabled or disabled.
Declaration
Swift
public let state: String
-
Undocumented
Declaration
Swift
public init(definition: String, name: String, schema: String, state: String)