SetAlarmStateInput

public struct SetAlarmStateInput : AWSShape

Undocumented

  • Declaration

    Swift

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

    Declaration

    Swift

    public let alarmName: String
  • The reason that this alarm is set to this specific state, in text format.

    Declaration

    Swift

    public let stateReason: String
  • The reason that this alarm is set to this specific state, in JSON format. For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

    Declaration

    Swift

    public let stateReasonData: String?
  • The value of the state.

    Declaration

    Swift

    public let stateValue: StateValue
  • Undocumented

    Declaration

    Swift

    public init(alarmName: String, stateReason: String, stateReasonData: String? = nil, stateValue: StateValue)
  • Declaration

    Swift

    public func validate(name: String) throws