1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type DataSource string 6 7// Enum values for DataSource 8const ( 9 DataSourceEvent DataSource = "EVENT" 10 DataSourceModelScore DataSource = "MODEL_SCORE" 11 DataSourceExternalModelScore DataSource = "EXTERNAL_MODEL_SCORE" 12) 13 14// Values returns all known values for DataSource. Note that this can be expanded 15// in the future, and so it is only as up to date as the client. The ordering of 16// this slice is not guaranteed to be stable across updates. 17func (DataSource) Values() []DataSource { 18 return []DataSource{ 19 "EVENT", 20 "MODEL_SCORE", 21 "EXTERNAL_MODEL_SCORE", 22 } 23} 24 25type DataType string 26 27// Enum values for DataType 28const ( 29 DataTypeString DataType = "STRING" 30 DataTypeInteger DataType = "INTEGER" 31 DataTypeFloat DataType = "FLOAT" 32 DataTypeBoolean DataType = "BOOLEAN" 33) 34 35// Values returns all known values for DataType. Note that this can be expanded in 36// the future, and so it is only as up to date as the client. The ordering of this 37// slice is not guaranteed to be stable across updates. 38func (DataType) Values() []DataType { 39 return []DataType{ 40 "STRING", 41 "INTEGER", 42 "FLOAT", 43 "BOOLEAN", 44 } 45} 46 47type DetectorVersionStatus string 48 49// Enum values for DetectorVersionStatus 50const ( 51 DetectorVersionStatusDraft DetectorVersionStatus = "DRAFT" 52 DetectorVersionStatusActive DetectorVersionStatus = "ACTIVE" 53 DetectorVersionStatusInactive DetectorVersionStatus = "INACTIVE" 54) 55 56// Values returns all known values for DetectorVersionStatus. Note that this can be 57// expanded in the future, and so it is only as up to date as the client. The 58// ordering of this slice is not guaranteed to be stable across updates. 59func (DetectorVersionStatus) Values() []DetectorVersionStatus { 60 return []DetectorVersionStatus{ 61 "DRAFT", 62 "ACTIVE", 63 "INACTIVE", 64 } 65} 66 67type Language string 68 69// Enum values for Language 70const ( 71 LanguageDetectorpl Language = "DETECTORPL" 72) 73 74// Values returns all known values for Language. Note that this can be expanded in 75// the future, and so it is only as up to date as the client. The ordering of this 76// slice is not guaranteed to be stable across updates. 77func (Language) Values() []Language { 78 return []Language{ 79 "DETECTORPL", 80 } 81} 82 83type ModelEndpointStatus string 84 85// Enum values for ModelEndpointStatus 86const ( 87 ModelEndpointStatusAssociated ModelEndpointStatus = "ASSOCIATED" 88 ModelEndpointStatusDissociated ModelEndpointStatus = "DISSOCIATED" 89) 90 91// Values returns all known values for ModelEndpointStatus. Note that this can be 92// expanded in the future, and so it is only as up to date as the client. The 93// ordering of this slice is not guaranteed to be stable across updates. 94func (ModelEndpointStatus) Values() []ModelEndpointStatus { 95 return []ModelEndpointStatus{ 96 "ASSOCIATED", 97 "DISSOCIATED", 98 } 99} 100 101type ModelInputDataFormat string 102 103// Enum values for ModelInputDataFormat 104const ( 105 ModelInputDataFormatCsv ModelInputDataFormat = "TEXT_CSV" 106 ModelInputDataFormatJson ModelInputDataFormat = "APPLICATION_JSON" 107) 108 109// Values returns all known values for ModelInputDataFormat. Note that this can be 110// expanded in the future, and so it is only as up to date as the client. The 111// ordering of this slice is not guaranteed to be stable across updates. 112func (ModelInputDataFormat) Values() []ModelInputDataFormat { 113 return []ModelInputDataFormat{ 114 "TEXT_CSV", 115 "APPLICATION_JSON", 116 } 117} 118 119type ModelOutputDataFormat string 120 121// Enum values for ModelOutputDataFormat 122const ( 123 ModelOutputDataFormatCsv ModelOutputDataFormat = "TEXT_CSV" 124 ModelOutputDataFormatJsonlines ModelOutputDataFormat = "APPLICATION_JSONLINES" 125) 126 127// Values returns all known values for ModelOutputDataFormat. Note that this can be 128// expanded in the future, and so it is only as up to date as the client. The 129// ordering of this slice is not guaranteed to be stable across updates. 130func (ModelOutputDataFormat) Values() []ModelOutputDataFormat { 131 return []ModelOutputDataFormat{ 132 "TEXT_CSV", 133 "APPLICATION_JSONLINES", 134 } 135} 136 137type ModelSource string 138 139// Enum values for ModelSource 140const ( 141 ModelSourceSagemaker ModelSource = "SAGEMAKER" 142) 143 144// Values returns all known values for ModelSource. Note that this can be expanded 145// in the future, and so it is only as up to date as the client. The ordering of 146// this slice is not guaranteed to be stable across updates. 147func (ModelSource) Values() []ModelSource { 148 return []ModelSource{ 149 "SAGEMAKER", 150 } 151} 152 153type ModelTypeEnum string 154 155// Enum values for ModelTypeEnum 156const ( 157 ModelTypeEnumOnlineFraudInsights ModelTypeEnum = "ONLINE_FRAUD_INSIGHTS" 158) 159 160// Values returns all known values for ModelTypeEnum. Note that this can be 161// expanded in the future, and so it is only as up to date as the client. The 162// ordering of this slice is not guaranteed to be stable across updates. 163func (ModelTypeEnum) Values() []ModelTypeEnum { 164 return []ModelTypeEnum{ 165 "ONLINE_FRAUD_INSIGHTS", 166 } 167} 168 169type ModelVersionStatus string 170 171// Enum values for ModelVersionStatus 172const ( 173 ModelVersionStatusActive ModelVersionStatus = "ACTIVE" 174 ModelVersionStatusInactive ModelVersionStatus = "INACTIVE" 175) 176 177// Values returns all known values for ModelVersionStatus. Note that this can be 178// expanded in the future, and so it is only as up to date as the client. The 179// ordering of this slice is not guaranteed to be stable across updates. 180func (ModelVersionStatus) Values() []ModelVersionStatus { 181 return []ModelVersionStatus{ 182 "ACTIVE", 183 "INACTIVE", 184 } 185} 186 187type RuleExecutionMode string 188 189// Enum values for RuleExecutionMode 190const ( 191 RuleExecutionModeAllMatched RuleExecutionMode = "ALL_MATCHED" 192 RuleExecutionModeFirstMatched RuleExecutionMode = "FIRST_MATCHED" 193) 194 195// Values returns all known values for RuleExecutionMode. Note that this can be 196// expanded in the future, and so it is only as up to date as the client. The 197// ordering of this slice is not guaranteed to be stable across updates. 198func (RuleExecutionMode) Values() []RuleExecutionMode { 199 return []RuleExecutionMode{ 200 "ALL_MATCHED", 201 "FIRST_MATCHED", 202 } 203} 204 205type TrainingDataSourceEnum string 206 207// Enum values for TrainingDataSourceEnum 208const ( 209 TrainingDataSourceEnumExternalEvents TrainingDataSourceEnum = "EXTERNAL_EVENTS" 210) 211 212// Values returns all known values for TrainingDataSourceEnum. Note that this can 213// be expanded in the future, and so it is only as up to date as the client. The 214// ordering of this slice is not guaranteed to be stable across updates. 215func (TrainingDataSourceEnum) Values() []TrainingDataSourceEnum { 216 return []TrainingDataSourceEnum{ 217 "EXTERNAL_EVENTS", 218 } 219} 220