1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type ApplicationRestoreType string
6
7// Enum values for ApplicationRestoreType
8const (
9	ApplicationRestoreTypeSkipRestoreFromSnapshot   ApplicationRestoreType = "SKIP_RESTORE_FROM_SNAPSHOT"
10	ApplicationRestoreTypeRestoreFromLatestSnapshot ApplicationRestoreType = "RESTORE_FROM_LATEST_SNAPSHOT"
11	ApplicationRestoreTypeRestoreFromCustomSnapshot ApplicationRestoreType = "RESTORE_FROM_CUSTOM_SNAPSHOT"
12)
13
14// Values returns all known values for ApplicationRestoreType. Note that this can
15// be 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 (ApplicationRestoreType) Values() []ApplicationRestoreType {
18	return []ApplicationRestoreType{
19		"SKIP_RESTORE_FROM_SNAPSHOT",
20		"RESTORE_FROM_LATEST_SNAPSHOT",
21		"RESTORE_FROM_CUSTOM_SNAPSHOT",
22	}
23}
24
25type ApplicationStatus string
26
27// Enum values for ApplicationStatus
28const (
29	ApplicationStatusDeleting      ApplicationStatus = "DELETING"
30	ApplicationStatusStarting      ApplicationStatus = "STARTING"
31	ApplicationStatusStopping      ApplicationStatus = "STOPPING"
32	ApplicationStatusReady         ApplicationStatus = "READY"
33	ApplicationStatusRunning       ApplicationStatus = "RUNNING"
34	ApplicationStatusUpdating      ApplicationStatus = "UPDATING"
35	ApplicationStatusAutoscaling   ApplicationStatus = "AUTOSCALING"
36	ApplicationStatusForceStopping ApplicationStatus = "FORCE_STOPPING"
37)
38
39// Values returns all known values for ApplicationStatus. Note that this can be
40// expanded in the future, and so it is only as up to date as the client. The
41// ordering of this slice is not guaranteed to be stable across updates.
42func (ApplicationStatus) Values() []ApplicationStatus {
43	return []ApplicationStatus{
44		"DELETING",
45		"STARTING",
46		"STOPPING",
47		"READY",
48		"RUNNING",
49		"UPDATING",
50		"AUTOSCALING",
51		"FORCE_STOPPING",
52	}
53}
54
55type CodeContentType string
56
57// Enum values for CodeContentType
58const (
59	CodeContentTypePlaintext CodeContentType = "PLAINTEXT"
60	CodeContentTypeZipfile   CodeContentType = "ZIPFILE"
61)
62
63// Values returns all known values for CodeContentType. Note that this can be
64// expanded in the future, and so it is only as up to date as the client. The
65// ordering of this slice is not guaranteed to be stable across updates.
66func (CodeContentType) Values() []CodeContentType {
67	return []CodeContentType{
68		"PLAINTEXT",
69		"ZIPFILE",
70	}
71}
72
73type ConfigurationType string
74
75// Enum values for ConfigurationType
76const (
77	ConfigurationTypeDefault ConfigurationType = "DEFAULT"
78	ConfigurationTypeCustom  ConfigurationType = "CUSTOM"
79)
80
81// Values returns all known values for ConfigurationType. Note that this can be
82// expanded in the future, and so it is only as up to date as the client. The
83// ordering of this slice is not guaranteed to be stable across updates.
84func (ConfigurationType) Values() []ConfigurationType {
85	return []ConfigurationType{
86		"DEFAULT",
87		"CUSTOM",
88	}
89}
90
91type InputStartingPosition string
92
93// Enum values for InputStartingPosition
94const (
95	InputStartingPositionNow              InputStartingPosition = "NOW"
96	InputStartingPositionTrimHorizon      InputStartingPosition = "TRIM_HORIZON"
97	InputStartingPositionLastStoppedPoint InputStartingPosition = "LAST_STOPPED_POINT"
98)
99
100// Values returns all known values for InputStartingPosition. Note that this can be
101// expanded in the future, and so it is only as up to date as the client. The
102// ordering of this slice is not guaranteed to be stable across updates.
103func (InputStartingPosition) Values() []InputStartingPosition {
104	return []InputStartingPosition{
105		"NOW",
106		"TRIM_HORIZON",
107		"LAST_STOPPED_POINT",
108	}
109}
110
111type LogLevel string
112
113// Enum values for LogLevel
114const (
115	LogLevelInfo  LogLevel = "INFO"
116	LogLevelWarn  LogLevel = "WARN"
117	LogLevelError LogLevel = "ERROR"
118	LogLevelDebug LogLevel = "DEBUG"
119)
120
121// Values returns all known values for LogLevel. Note that this can be expanded in
122// the future, and so it is only as up to date as the client. The ordering of this
123// slice is not guaranteed to be stable across updates.
124func (LogLevel) Values() []LogLevel {
125	return []LogLevel{
126		"INFO",
127		"WARN",
128		"ERROR",
129		"DEBUG",
130	}
131}
132
133type MetricsLevel string
134
135// Enum values for MetricsLevel
136const (
137	MetricsLevelApplication MetricsLevel = "APPLICATION"
138	MetricsLevelTask        MetricsLevel = "TASK"
139	MetricsLevelOperator    MetricsLevel = "OPERATOR"
140	MetricsLevelParallelism MetricsLevel = "PARALLELISM"
141)
142
143// Values returns all known values for MetricsLevel. Note that this can be expanded
144// in the future, and so it is only as up to date as the client. The ordering of
145// this slice is not guaranteed to be stable across updates.
146func (MetricsLevel) Values() []MetricsLevel {
147	return []MetricsLevel{
148		"APPLICATION",
149		"TASK",
150		"OPERATOR",
151		"PARALLELISM",
152	}
153}
154
155type RecordFormatType string
156
157// Enum values for RecordFormatType
158const (
159	RecordFormatTypeJson RecordFormatType = "JSON"
160	RecordFormatTypeCsv  RecordFormatType = "CSV"
161)
162
163// Values returns all known values for RecordFormatType. Note that this can be
164// expanded in the future, and so it is only as up to date as the client. The
165// ordering of this slice is not guaranteed to be stable across updates.
166func (RecordFormatType) Values() []RecordFormatType {
167	return []RecordFormatType{
168		"JSON",
169		"CSV",
170	}
171}
172
173type RuntimeEnvironment string
174
175// Enum values for RuntimeEnvironment
176const (
177	RuntimeEnvironmentSql10    RuntimeEnvironment = "SQL-1_0"
178	RuntimeEnvironmentFlink16  RuntimeEnvironment = "FLINK-1_6"
179	RuntimeEnvironmentFlink18  RuntimeEnvironment = "FLINK-1_8"
180	RuntimeEnvironmentFlink111 RuntimeEnvironment = "FLINK-1_11"
181)
182
183// Values returns all known values for RuntimeEnvironment. Note that this can be
184// expanded in the future, and so it is only as up to date as the client. The
185// ordering of this slice is not guaranteed to be stable across updates.
186func (RuntimeEnvironment) Values() []RuntimeEnvironment {
187	return []RuntimeEnvironment{
188		"SQL-1_0",
189		"FLINK-1_6",
190		"FLINK-1_8",
191		"FLINK-1_11",
192	}
193}
194
195type SnapshotStatus string
196
197// Enum values for SnapshotStatus
198const (
199	SnapshotStatusCreating SnapshotStatus = "CREATING"
200	SnapshotStatusReady    SnapshotStatus = "READY"
201	SnapshotStatusDeleting SnapshotStatus = "DELETING"
202	SnapshotStatusFailed   SnapshotStatus = "FAILED"
203)
204
205// Values returns all known values for SnapshotStatus. Note that this can be
206// expanded in the future, and so it is only as up to date as the client. The
207// ordering of this slice is not guaranteed to be stable across updates.
208func (SnapshotStatus) Values() []SnapshotStatus {
209	return []SnapshotStatus{
210		"CREATING",
211		"READY",
212		"DELETING",
213		"FAILED",
214	}
215}
216
217type UrlType string
218
219// Enum values for UrlType
220const (
221	UrlTypeFlinkDashboardUrl UrlType = "FLINK_DASHBOARD_URL"
222)
223
224// Values returns all known values for UrlType. Note that this can be expanded in
225// the future, and so it is only as up to date as the client. The ordering of this
226// slice is not guaranteed to be stable across updates.
227func (UrlType) Values() []UrlType {
228	return []UrlType{
229		"FLINK_DASHBOARD_URL",
230	}
231}
232