TestAlarmRequest

public struct TestAlarmRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the alarm to test.

    Declaration

    Swift

    public let alarmName: String
  • The alarm state to test. An alarm has the following possible states that can be tested: ALARM - The metric is outside of the defined threshold. INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state. OK - The metric is within the defined threshold.

    Declaration

    Swift

    public let state: AlarmState
  • Undocumented

    Declaration

    Swift

    public init(alarmName: String, state: AlarmState)
  • Declaration

    Swift

    public func validate(name: String) throws