Behavior

public struct Behavior : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The criteria that determine if a device is behaving normally in regard to the metric.

    Declaration

    Swift

    public let criteria: BehaviorCriteria?
  • What is measured by the behavior.

    Declaration

    Swift

    public let metric: String?
  • The dimension for a metric in your behavior. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.

    Declaration

    Swift

    public let metricDimension: MetricDimension?
  • The name you have given to the behavior.

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public init(criteria: BehaviorCriteria? = nil, metric: String? = nil, metricDimension: MetricDimension? = nil, name: String)
  • Declaration

    Swift

    public func validate(name: String) throws