1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AlarmStateName string
// Enum values for AlarmStateName
const (
AlarmStateNameDisabled AlarmStateName = "DISABLED"
AlarmStateNameNormal AlarmStateName = "NORMAL"
AlarmStateNameActive AlarmStateName = "ACTIVE"
AlarmStateNameAcknowledged AlarmStateName = "ACKNOWLEDGED"
AlarmStateNameSnoozeDisabled AlarmStateName = "SNOOZE_DISABLED"
AlarmStateNameLatched AlarmStateName = "LATCHED"
)
// Values returns all known values for AlarmStateName. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (AlarmStateName) Values() []AlarmStateName {
return []AlarmStateName{
"DISABLED",
"NORMAL",
"ACTIVE",
"ACKNOWLEDGED",
"SNOOZE_DISABLED",
"LATCHED",
}
}
type ComparisonOperator string
// Enum values for ComparisonOperator
const (
ComparisonOperatorGreater ComparisonOperator = "GREATER"
ComparisonOperatorGreaterOrEqual ComparisonOperator = "GREATER_OR_EQUAL"
ComparisonOperatorLess ComparisonOperator = "LESS"
ComparisonOperatorLessOrEqual ComparisonOperator = "LESS_OR_EQUAL"
ComparisonOperatorEqual ComparisonOperator = "EQUAL"
ComparisonOperatorNotEqual ComparisonOperator = "NOT_EQUAL"
)
// Values returns all known values for ComparisonOperator. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ComparisonOperator) Values() []ComparisonOperator {
return []ComparisonOperator{
"GREATER",
"GREATER_OR_EQUAL",
"LESS",
"LESS_OR_EQUAL",
"EQUAL",
"NOT_EQUAL",
}
}
type CustomerActionName string
// Enum values for CustomerActionName
const (
CustomerActionNameSnooze CustomerActionName = "SNOOZE"
CustomerActionNameEnable CustomerActionName = "ENABLE"
CustomerActionNameDisable CustomerActionName = "DISABLE"
CustomerActionNameAcknowledge CustomerActionName = "ACKNOWLEDGE"
CustomerActionNameReset CustomerActionName = "RESET"
)
// Values returns all known values for CustomerActionName. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (CustomerActionName) Values() []CustomerActionName {
return []CustomerActionName{
"SNOOZE",
"ENABLE",
"DISABLE",
"ACKNOWLEDGE",
"RESET",
}
}
type ErrorCode string
// Enum values for ErrorCode
const (
ErrorCodeResourceNotFoundException ErrorCode = "ResourceNotFoundException"
ErrorCodeInvalidRequestException ErrorCode = "InvalidRequestException"
ErrorCodeInternalFailureException ErrorCode = "InternalFailureException"
ErrorCodeServiceUnavailableException ErrorCode = "ServiceUnavailableException"
ErrorCodeThrottlingException ErrorCode = "ThrottlingException"
)
// Values returns all known values for ErrorCode. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ErrorCode) Values() []ErrorCode {
return []ErrorCode{
"ResourceNotFoundException",
"InvalidRequestException",
"InternalFailureException",
"ServiceUnavailableException",
"ThrottlingException",
}
}
type EventType string
// Enum values for EventType
const (
EventTypeStateChange EventType = "STATE_CHANGE"
)
// Values returns all known values for EventType. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (EventType) Values() []EventType {
return []EventType{
"STATE_CHANGE",
}
}
type TriggerType string
// Enum values for TriggerType
const (
TriggerTypeSnoozeTimeout TriggerType = "SNOOZE_TIMEOUT"
)
// Values returns all known values for TriggerType. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (TriggerType) Values() []TriggerType {
return []TriggerType{
"SNOOZE_TIMEOUT",
}
}
|