1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type CustomHealthStatus string
6
7// Enum values for CustomHealthStatus
8const (
9	CustomHealthStatusHealthy   CustomHealthStatus = "HEALTHY"
10	CustomHealthStatusUnhealthy CustomHealthStatus = "UNHEALTHY"
11)
12
13// Values returns all known values for CustomHealthStatus. Note that this can be
14// expanded in the future, and so it is only as up to date as the client. The
15// ordering of this slice is not guaranteed to be stable across updates.
16func (CustomHealthStatus) Values() []CustomHealthStatus {
17	return []CustomHealthStatus{
18		"HEALTHY",
19		"UNHEALTHY",
20	}
21}
22
23type FilterCondition string
24
25// Enum values for FilterCondition
26const (
27	FilterConditionEq      FilterCondition = "EQ"
28	FilterConditionIn      FilterCondition = "IN"
29	FilterConditionBetween FilterCondition = "BETWEEN"
30)
31
32// Values returns all known values for FilterCondition. Note that this can be
33// expanded in the future, and so it is only as up to date as the client. The
34// ordering of this slice is not guaranteed to be stable across updates.
35func (FilterCondition) Values() []FilterCondition {
36	return []FilterCondition{
37		"EQ",
38		"IN",
39		"BETWEEN",
40	}
41}
42
43type HealthCheckType string
44
45// Enum values for HealthCheckType
46const (
47	HealthCheckTypeHttp  HealthCheckType = "HTTP"
48	HealthCheckTypeHttps HealthCheckType = "HTTPS"
49	HealthCheckTypeTcp   HealthCheckType = "TCP"
50)
51
52// Values returns all known values for HealthCheckType. Note that this can be
53// expanded in the future, and so it is only as up to date as the client. The
54// ordering of this slice is not guaranteed to be stable across updates.
55func (HealthCheckType) Values() []HealthCheckType {
56	return []HealthCheckType{
57		"HTTP",
58		"HTTPS",
59		"TCP",
60	}
61}
62
63type HealthStatus string
64
65// Enum values for HealthStatus
66const (
67	HealthStatusHealthy   HealthStatus = "HEALTHY"
68	HealthStatusUnhealthy HealthStatus = "UNHEALTHY"
69	HealthStatusUnknown   HealthStatus = "UNKNOWN"
70)
71
72// Values returns all known values for HealthStatus. Note that this can be expanded
73// in the future, and so it is only as up to date as the client. The ordering of
74// this slice is not guaranteed to be stable across updates.
75func (HealthStatus) Values() []HealthStatus {
76	return []HealthStatus{
77		"HEALTHY",
78		"UNHEALTHY",
79		"UNKNOWN",
80	}
81}
82
83type HealthStatusFilter string
84
85// Enum values for HealthStatusFilter
86const (
87	HealthStatusFilterHealthy   HealthStatusFilter = "HEALTHY"
88	HealthStatusFilterUnhealthy HealthStatusFilter = "UNHEALTHY"
89	HealthStatusFilterAll       HealthStatusFilter = "ALL"
90)
91
92// Values returns all known values for HealthStatusFilter. Note that this can be
93// expanded in the future, and so it is only as up to date as the client. The
94// ordering of this slice is not guaranteed to be stable across updates.
95func (HealthStatusFilter) Values() []HealthStatusFilter {
96	return []HealthStatusFilter{
97		"HEALTHY",
98		"UNHEALTHY",
99		"ALL",
100	}
101}
102
103type NamespaceFilterName string
104
105// Enum values for NamespaceFilterName
106const (
107	NamespaceFilterNameType NamespaceFilterName = "TYPE"
108)
109
110// Values returns all known values for NamespaceFilterName. Note that this can be
111// expanded in the future, and so it is only as up to date as the client. The
112// ordering of this slice is not guaranteed to be stable across updates.
113func (NamespaceFilterName) Values() []NamespaceFilterName {
114	return []NamespaceFilterName{
115		"TYPE",
116	}
117}
118
119type NamespaceType string
120
121// Enum values for NamespaceType
122const (
123	NamespaceTypeDnsPublic  NamespaceType = "DNS_PUBLIC"
124	NamespaceTypeDnsPrivate NamespaceType = "DNS_PRIVATE"
125	NamespaceTypeHttp       NamespaceType = "HTTP"
126)
127
128// Values returns all known values for NamespaceType. Note that this can be
129// expanded in the future, and so it is only as up to date as the client. The
130// ordering of this slice is not guaranteed to be stable across updates.
131func (NamespaceType) Values() []NamespaceType {
132	return []NamespaceType{
133		"DNS_PUBLIC",
134		"DNS_PRIVATE",
135		"HTTP",
136	}
137}
138
139type OperationFilterName string
140
141// Enum values for OperationFilterName
142const (
143	OperationFilterNameNamespaceId OperationFilterName = "NAMESPACE_ID"
144	OperationFilterNameServiceId   OperationFilterName = "SERVICE_ID"
145	OperationFilterNameStatus      OperationFilterName = "STATUS"
146	OperationFilterNameType        OperationFilterName = "TYPE"
147	OperationFilterNameUpdateDate  OperationFilterName = "UPDATE_DATE"
148)
149
150// Values returns all known values for OperationFilterName. Note that this can be
151// expanded in the future, and so it is only as up to date as the client. The
152// ordering of this slice is not guaranteed to be stable across updates.
153func (OperationFilterName) Values() []OperationFilterName {
154	return []OperationFilterName{
155		"NAMESPACE_ID",
156		"SERVICE_ID",
157		"STATUS",
158		"TYPE",
159		"UPDATE_DATE",
160	}
161}
162
163type OperationStatus string
164
165// Enum values for OperationStatus
166const (
167	OperationStatusSubmitted OperationStatus = "SUBMITTED"
168	OperationStatusPending   OperationStatus = "PENDING"
169	OperationStatusSuccess   OperationStatus = "SUCCESS"
170	OperationStatusFail      OperationStatus = "FAIL"
171)
172
173// Values returns all known values for OperationStatus. Note that this can be
174// expanded in the future, and so it is only as up to date as the client. The
175// ordering of this slice is not guaranteed to be stable across updates.
176func (OperationStatus) Values() []OperationStatus {
177	return []OperationStatus{
178		"SUBMITTED",
179		"PENDING",
180		"SUCCESS",
181		"FAIL",
182	}
183}
184
185type OperationTargetType string
186
187// Enum values for OperationTargetType
188const (
189	OperationTargetTypeNamespace OperationTargetType = "NAMESPACE"
190	OperationTargetTypeService   OperationTargetType = "SERVICE"
191	OperationTargetTypeInstance  OperationTargetType = "INSTANCE"
192)
193
194// Values returns all known values for OperationTargetType. Note that this can be
195// expanded in the future, and so it is only as up to date as the client. The
196// ordering of this slice is not guaranteed to be stable across updates.
197func (OperationTargetType) Values() []OperationTargetType {
198	return []OperationTargetType{
199		"NAMESPACE",
200		"SERVICE",
201		"INSTANCE",
202	}
203}
204
205type OperationType string
206
207// Enum values for OperationType
208const (
209	OperationTypeCreateNamespace    OperationType = "CREATE_NAMESPACE"
210	OperationTypeDeleteNamespace    OperationType = "DELETE_NAMESPACE"
211	OperationTypeUpdateService      OperationType = "UPDATE_SERVICE"
212	OperationTypeRegisterInstance   OperationType = "REGISTER_INSTANCE"
213	OperationTypeDeregisterInstance OperationType = "DEREGISTER_INSTANCE"
214)
215
216// Values returns all known values for OperationType. Note that this can be
217// expanded in the future, and so it is only as up to date as the client. The
218// ordering of this slice is not guaranteed to be stable across updates.
219func (OperationType) Values() []OperationType {
220	return []OperationType{
221		"CREATE_NAMESPACE",
222		"DELETE_NAMESPACE",
223		"UPDATE_SERVICE",
224		"REGISTER_INSTANCE",
225		"DEREGISTER_INSTANCE",
226	}
227}
228
229type RecordType string
230
231// Enum values for RecordType
232const (
233	RecordTypeSrv   RecordType = "SRV"
234	RecordTypeA     RecordType = "A"
235	RecordTypeAaaa  RecordType = "AAAA"
236	RecordTypeCname RecordType = "CNAME"
237)
238
239// Values returns all known values for RecordType. Note that this can be expanded
240// in the future, and so it is only as up to date as the client. The ordering of
241// this slice is not guaranteed to be stable across updates.
242func (RecordType) Values() []RecordType {
243	return []RecordType{
244		"SRV",
245		"A",
246		"AAAA",
247		"CNAME",
248	}
249}
250
251type RoutingPolicy string
252
253// Enum values for RoutingPolicy
254const (
255	RoutingPolicyMultivalue RoutingPolicy = "MULTIVALUE"
256	RoutingPolicyWeighted   RoutingPolicy = "WEIGHTED"
257)
258
259// Values returns all known values for RoutingPolicy. Note that this can be
260// expanded in the future, and so it is only as up to date as the client. The
261// ordering of this slice is not guaranteed to be stable across updates.
262func (RoutingPolicy) Values() []RoutingPolicy {
263	return []RoutingPolicy{
264		"MULTIVALUE",
265		"WEIGHTED",
266	}
267}
268
269type ServiceFilterName string
270
271// Enum values for ServiceFilterName
272const (
273	ServiceFilterNameNamespaceId ServiceFilterName = "NAMESPACE_ID"
274)
275
276// Values returns all known values for ServiceFilterName. Note that this can be
277// expanded in the future, and so it is only as up to date as the client. The
278// ordering of this slice is not guaranteed to be stable across updates.
279func (ServiceFilterName) Values() []ServiceFilterName {
280	return []ServiceFilterName{
281		"NAMESPACE_ID",
282	}
283}
284
285type ServiceType string
286
287// Enum values for ServiceType
288const (
289	ServiceTypeHttp    ServiceType = "HTTP"
290	ServiceTypeDnsHttp ServiceType = "DNS_HTTP"
291	ServiceTypeDns     ServiceType = "DNS"
292)
293
294// Values returns all known values for ServiceType. Note that this can be expanded
295// in the future, and so it is only as up to date as the client. The ordering of
296// this slice is not guaranteed to be stable across updates.
297func (ServiceType) Values() []ServiceType {
298	return []ServiceType{
299		"HTTP",
300		"DNS_HTTP",
301		"DNS",
302	}
303}
304
305type ServiceTypeOption string
306
307// Enum values for ServiceTypeOption
308const (
309	ServiceTypeOptionHttp ServiceTypeOption = "HTTP"
310)
311
312// Values returns all known values for ServiceTypeOption. Note that this can be
313// expanded in the future, and so it is only as up to date as the client. The
314// ordering of this slice is not guaranteed to be stable across updates.
315func (ServiceTypeOption) Values() []ServiceTypeOption {
316	return []ServiceTypeOption{
317		"HTTP",
318	}
319}
320