-
Notifications
You must be signed in to change notification settings - Fork 598
/
enums.go
187 lines (162 loc) · 5.74 KB
/
enums.go
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type DimensionValueType string
// Enum values for DimensionValueType
const (
DimensionValueTypeVarchar DimensionValueType = "VARCHAR"
)
// Values returns all known values for DimensionValueType. 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 (DimensionValueType) Values() []DimensionValueType {
return []DimensionValueType{
"VARCHAR",
}
}
type MeasureValueType string
// Enum values for MeasureValueType
const (
MeasureValueTypeBigint MeasureValueType = "BIGINT"
MeasureValueTypeBoolean MeasureValueType = "BOOLEAN"
MeasureValueTypeDouble MeasureValueType = "DOUBLE"
MeasureValueTypeVarchar MeasureValueType = "VARCHAR"
MeasureValueTypeMulti MeasureValueType = "MULTI"
)
// Values returns all known values for MeasureValueType. 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 (MeasureValueType) Values() []MeasureValueType {
return []MeasureValueType{
"BIGINT",
"BOOLEAN",
"DOUBLE",
"VARCHAR",
"MULTI",
}
}
type QueryPricingModel string
// Enum values for QueryPricingModel
const (
QueryPricingModelBytesScanned QueryPricingModel = "BYTES_SCANNED"
QueryPricingModelComputeUnits QueryPricingModel = "COMPUTE_UNITS"
)
// Values returns all known values for QueryPricingModel. 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 (QueryPricingModel) Values() []QueryPricingModel {
return []QueryPricingModel{
"BYTES_SCANNED",
"COMPUTE_UNITS",
}
}
type S3EncryptionOption string
// Enum values for S3EncryptionOption
const (
S3EncryptionOptionSseS3 S3EncryptionOption = "SSE_S3"
S3EncryptionOptionSseKms S3EncryptionOption = "SSE_KMS"
)
// Values returns all known values for S3EncryptionOption. 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 (S3EncryptionOption) Values() []S3EncryptionOption {
return []S3EncryptionOption{
"SSE_S3",
"SSE_KMS",
}
}
type ScalarMeasureValueType string
// Enum values for ScalarMeasureValueType
const (
ScalarMeasureValueTypeBigint ScalarMeasureValueType = "BIGINT"
ScalarMeasureValueTypeBoolean ScalarMeasureValueType = "BOOLEAN"
ScalarMeasureValueTypeDouble ScalarMeasureValueType = "DOUBLE"
ScalarMeasureValueTypeVarchar ScalarMeasureValueType = "VARCHAR"
ScalarMeasureValueTypeTimestamp ScalarMeasureValueType = "TIMESTAMP"
)
// Values returns all known values for ScalarMeasureValueType. 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 (ScalarMeasureValueType) Values() []ScalarMeasureValueType {
return []ScalarMeasureValueType{
"BIGINT",
"BOOLEAN",
"DOUBLE",
"VARCHAR",
"TIMESTAMP",
}
}
type ScalarType string
// Enum values for ScalarType
const (
ScalarTypeVarchar ScalarType = "VARCHAR"
ScalarTypeBoolean ScalarType = "BOOLEAN"
ScalarTypeBigint ScalarType = "BIGINT"
ScalarTypeDouble ScalarType = "DOUBLE"
ScalarTypeTimestamp ScalarType = "TIMESTAMP"
ScalarTypeDate ScalarType = "DATE"
ScalarTypeTime ScalarType = "TIME"
ScalarTypeIntervalDayToSecond ScalarType = "INTERVAL_DAY_TO_SECOND"
ScalarTypeIntervalYearToMonth ScalarType = "INTERVAL_YEAR_TO_MONTH"
ScalarTypeUnknown ScalarType = "UNKNOWN"
ScalarTypeInteger ScalarType = "INTEGER"
)
// Values returns all known values for ScalarType. 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 (ScalarType) Values() []ScalarType {
return []ScalarType{
"VARCHAR",
"BOOLEAN",
"BIGINT",
"DOUBLE",
"TIMESTAMP",
"DATE",
"TIME",
"INTERVAL_DAY_TO_SECOND",
"INTERVAL_YEAR_TO_MONTH",
"UNKNOWN",
"INTEGER",
}
}
type ScheduledQueryRunStatus string
// Enum values for ScheduledQueryRunStatus
const (
ScheduledQueryRunStatusAutoTriggerSuccess ScheduledQueryRunStatus = "AUTO_TRIGGER_SUCCESS"
ScheduledQueryRunStatusAutoTriggerFailure ScheduledQueryRunStatus = "AUTO_TRIGGER_FAILURE"
ScheduledQueryRunStatusManualTriggerSuccess ScheduledQueryRunStatus = "MANUAL_TRIGGER_SUCCESS"
ScheduledQueryRunStatusManualTriggerFailure ScheduledQueryRunStatus = "MANUAL_TRIGGER_FAILURE"
)
// Values returns all known values for ScheduledQueryRunStatus. 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 (ScheduledQueryRunStatus) Values() []ScheduledQueryRunStatus {
return []ScheduledQueryRunStatus{
"AUTO_TRIGGER_SUCCESS",
"AUTO_TRIGGER_FAILURE",
"MANUAL_TRIGGER_SUCCESS",
"MANUAL_TRIGGER_FAILURE",
}
}
type ScheduledQueryState string
// Enum values for ScheduledQueryState
const (
ScheduledQueryStateEnabled ScheduledQueryState = "ENABLED"
ScheduledQueryStateDisabled ScheduledQueryState = "DISABLED"
)
// Values returns all known values for ScheduledQueryState. 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 (ScheduledQueryState) Values() []ScheduledQueryState {
return []ScheduledQueryState{
"ENABLED",
"DISABLED",
}
}