1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AnomalySeverity string 6 7// Enum values for AnomalySeverity 8const ( 9 AnomalySeverityLow AnomalySeverity = "LOW" 10 AnomalySeverityMedium AnomalySeverity = "MEDIUM" 11 AnomalySeverityHigh AnomalySeverity = "HIGH" 12) 13 14// Values returns all known values for AnomalySeverity. Note that this can be 15// expanded in the future, and so it is only as up to date as the client. The 16// ordering of this slice is not guaranteed to be stable across updates. 17func (AnomalySeverity) Values() []AnomalySeverity { 18 return []AnomalySeverity{ 19 "LOW", 20 "MEDIUM", 21 "HIGH", 22 } 23} 24 25type AnomalyStatus string 26 27// Enum values for AnomalyStatus 28const ( 29 AnomalyStatusOngoing AnomalyStatus = "ONGOING" 30 AnomalyStatusClosed AnomalyStatus = "CLOSED" 31) 32 33// Values returns all known values for AnomalyStatus. Note that this can be 34// expanded in the future, and so it is only as up to date as the client. The 35// ordering of this slice is not guaranteed to be stable across updates. 36func (AnomalyStatus) Values() []AnomalyStatus { 37 return []AnomalyStatus{ 38 "ONGOING", 39 "CLOSED", 40 } 41} 42 43type CloudWatchMetricsStat string 44 45// Enum values for CloudWatchMetricsStat 46const ( 47 CloudWatchMetricsStatSum CloudWatchMetricsStat = "Sum" 48 CloudWatchMetricsStatAverage CloudWatchMetricsStat = "Average" 49 CloudWatchMetricsStatSampleCount CloudWatchMetricsStat = "SampleCount" 50 CloudWatchMetricsStatMinimum CloudWatchMetricsStat = "Minimum" 51 CloudWatchMetricsStatMaximum CloudWatchMetricsStat = "Maximum" 52 CloudWatchMetricsStatP99 CloudWatchMetricsStat = "p99" 53 CloudWatchMetricsStatP90 CloudWatchMetricsStat = "p90" 54 CloudWatchMetricsStatP50 CloudWatchMetricsStat = "p50" 55) 56 57// Values returns all known values for CloudWatchMetricsStat. Note that this can be 58// expanded in the future, and so it is only as up to date as the client. The 59// ordering of this slice is not guaranteed to be stable across updates. 60func (CloudWatchMetricsStat) Values() []CloudWatchMetricsStat { 61 return []CloudWatchMetricsStat{ 62 "Sum", 63 "Average", 64 "SampleCount", 65 "Minimum", 66 "Maximum", 67 "p99", 68 "p90", 69 "p50", 70 } 71} 72 73type EventClass string 74 75// Enum values for EventClass 76const ( 77 EventClassInfrastructure EventClass = "INFRASTRUCTURE" 78 EventClassDeployment EventClass = "DEPLOYMENT" 79 EventClassSecurityChange EventClass = "SECURITY_CHANGE" 80 EventClassConfigChange EventClass = "CONFIG_CHANGE" 81 EventClassSchemaChange EventClass = "SCHEMA_CHANGE" 82) 83 84// Values returns all known values for EventClass. Note that this can be expanded 85// in the future, and so it is only as up to date as the client. The ordering of 86// this slice is not guaranteed to be stable across updates. 87func (EventClass) Values() []EventClass { 88 return []EventClass{ 89 "INFRASTRUCTURE", 90 "DEPLOYMENT", 91 "SECURITY_CHANGE", 92 "CONFIG_CHANGE", 93 "SCHEMA_CHANGE", 94 } 95} 96 97type EventDataSource string 98 99// Enum values for EventDataSource 100const ( 101 EventDataSourceAwsCloudTrail EventDataSource = "AWS_CLOUD_TRAIL" 102 EventDataSourceAwsCodeDeploy EventDataSource = "AWS_CODE_DEPLOY" 103) 104 105// Values returns all known values for EventDataSource. Note that this can be 106// expanded in the future, and so it is only as up to date as the client. The 107// ordering of this slice is not guaranteed to be stable across updates. 108func (EventDataSource) Values() []EventDataSource { 109 return []EventDataSource{ 110 "AWS_CLOUD_TRAIL", 111 "AWS_CODE_DEPLOY", 112 } 113} 114 115type InsightFeedbackOption string 116 117// Enum values for InsightFeedbackOption 118const ( 119 InsightFeedbackOptionValidCollection InsightFeedbackOption = "VALID_COLLECTION" 120 InsightFeedbackOptionRecommendationUseful InsightFeedbackOption = "RECOMMENDATION_USEFUL" 121 InsightFeedbackOptionAlertTooSensitive InsightFeedbackOption = "ALERT_TOO_SENSITIVE" 122 InsightFeedbackOptionDataNoisyAnomaly InsightFeedbackOption = "DATA_NOISY_ANOMALY" 123 InsightFeedbackOptionDataIncorrect InsightFeedbackOption = "DATA_INCORRECT" 124) 125 126// Values returns all known values for InsightFeedbackOption. Note that this can be 127// expanded in the future, and so it is only as up to date as the client. The 128// ordering of this slice is not guaranteed to be stable across updates. 129func (InsightFeedbackOption) Values() []InsightFeedbackOption { 130 return []InsightFeedbackOption{ 131 "VALID_COLLECTION", 132 "RECOMMENDATION_USEFUL", 133 "ALERT_TOO_SENSITIVE", 134 "DATA_NOISY_ANOMALY", 135 "DATA_INCORRECT", 136 } 137} 138 139type InsightSeverity string 140 141// Enum values for InsightSeverity 142const ( 143 InsightSeverityLow InsightSeverity = "LOW" 144 InsightSeverityMedium InsightSeverity = "MEDIUM" 145 InsightSeverityHigh InsightSeverity = "HIGH" 146) 147 148// Values returns all known values for InsightSeverity. Note that this can be 149// expanded in the future, and so it is only as up to date as the client. The 150// ordering of this slice is not guaranteed to be stable across updates. 151func (InsightSeverity) Values() []InsightSeverity { 152 return []InsightSeverity{ 153 "LOW", 154 "MEDIUM", 155 "HIGH", 156 } 157} 158 159type InsightStatus string 160 161// Enum values for InsightStatus 162const ( 163 InsightStatusOngoing InsightStatus = "ONGOING" 164 InsightStatusClosed InsightStatus = "CLOSED" 165) 166 167// Values returns all known values for InsightStatus. Note that this can be 168// expanded in the future, and so it is only as up to date as the client. The 169// ordering of this slice is not guaranteed to be stable across updates. 170func (InsightStatus) Values() []InsightStatus { 171 return []InsightStatus{ 172 "ONGOING", 173 "CLOSED", 174 } 175} 176 177type InsightType string 178 179// Enum values for InsightType 180const ( 181 InsightTypeReactive InsightType = "REACTIVE" 182 InsightTypeProactive InsightType = "PROACTIVE" 183) 184 185// Values returns all known values for InsightType. Note that this can be expanded 186// in the future, and so it is only as up to date as the client. The ordering of 187// this slice is not guaranteed to be stable across updates. 188func (InsightType) Values() []InsightType { 189 return []InsightType{ 190 "REACTIVE", 191 "PROACTIVE", 192 } 193} 194 195type OptInStatus string 196 197// Enum values for OptInStatus 198const ( 199 OptInStatusEnabled OptInStatus = "ENABLED" 200 OptInStatusDisabled OptInStatus = "DISABLED" 201) 202 203// Values returns all known values for OptInStatus. Note that this can be expanded 204// in the future, and so it is only as up to date as the client. The ordering of 205// this slice is not guaranteed to be stable across updates. 206func (OptInStatus) Values() []OptInStatus { 207 return []OptInStatus{ 208 "ENABLED", 209 "DISABLED", 210 } 211} 212 213type ResourceCollectionType string 214 215// Enum values for ResourceCollectionType 216const ( 217 ResourceCollectionTypeAwsCloudFormation ResourceCollectionType = "AWS_CLOUD_FORMATION" 218) 219 220// Values returns all known values for ResourceCollectionType. Note that this can 221// be expanded in the future, and so it is only as up to date as the client. The 222// ordering of this slice is not guaranteed to be stable across updates. 223func (ResourceCollectionType) Values() []ResourceCollectionType { 224 return []ResourceCollectionType{ 225 "AWS_CLOUD_FORMATION", 226 } 227} 228 229type UpdateResourceCollectionAction string 230 231// Enum values for UpdateResourceCollectionAction 232const ( 233 UpdateResourceCollectionActionAdd UpdateResourceCollectionAction = "ADD" 234 UpdateResourceCollectionActionRemove UpdateResourceCollectionAction = "REMOVE" 235) 236 237// Values returns all known values for UpdateResourceCollectionAction. Note that 238// this can be expanded in the future, and so it is only as up to date as the 239// client. The ordering of this slice is not guaranteed to be stable across 240// updates. 241func (UpdateResourceCollectionAction) Values() []UpdateResourceCollectionAction { 242 return []UpdateResourceCollectionAction{ 243 "ADD", 244 "REMOVE", 245 } 246} 247 248type ValidationExceptionReason string 249 250// Enum values for ValidationExceptionReason 251const ( 252 ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "UNKNOWN_OPERATION" 253 ValidationExceptionReasonCannotParse ValidationExceptionReason = "CANNOT_PARSE" 254 ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "FIELD_VALIDATION_FAILED" 255 ValidationExceptionReasonOther ValidationExceptionReason = "OTHER" 256) 257 258// Values returns all known values for ValidationExceptionReason. Note that this 259// can be expanded in the future, and so it is only as up to date as the client. 260// The ordering of this slice is not guaranteed to be stable across updates. 261func (ValidationExceptionReason) Values() []ValidationExceptionReason { 262 return []ValidationExceptionReason{ 263 "UNKNOWN_OPERATION", 264 "CANNOT_PARSE", 265 "FIELD_VALIDATION_FAILED", 266 "OTHER", 267 } 268} 269