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 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type CustomHealthStatus string
// Enum values for CustomHealthStatus
const (
CustomHealthStatusHealthy CustomHealthStatus = "HEALTHY"
CustomHealthStatusUnhealthy CustomHealthStatus = "UNHEALTHY"
)
// Values returns all known values for CustomHealthStatus. 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 (CustomHealthStatus) Values() []CustomHealthStatus {
return []CustomHealthStatus{
"HEALTHY",
"UNHEALTHY",
}
}
type FilterCondition string
// Enum values for FilterCondition
const (
FilterConditionEq FilterCondition = "EQ"
FilterConditionIn FilterCondition = "IN"
FilterConditionBetween FilterCondition = "BETWEEN"
FilterConditionBeginsWith FilterCondition = "BEGINS_WITH"
)
// Values returns all known values for FilterCondition. 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 (FilterCondition) Values() []FilterCondition {
return []FilterCondition{
"EQ",
"IN",
"BETWEEN",
"BEGINS_WITH",
}
}
type HealthCheckType string
// Enum values for HealthCheckType
const (
HealthCheckTypeHttp HealthCheckType = "HTTP"
HealthCheckTypeHttps HealthCheckType = "HTTPS"
HealthCheckTypeTcp HealthCheckType = "TCP"
)
// Values returns all known values for HealthCheckType. 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 (HealthCheckType) Values() []HealthCheckType {
return []HealthCheckType{
"HTTP",
"HTTPS",
"TCP",
}
}
type HealthStatus string
// Enum values for HealthStatus
const (
HealthStatusHealthy HealthStatus = "HEALTHY"
HealthStatusUnhealthy HealthStatus = "UNHEALTHY"
HealthStatusUnknown HealthStatus = "UNKNOWN"
)
// Values returns all known values for HealthStatus. 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 (HealthStatus) Values() []HealthStatus {
return []HealthStatus{
"HEALTHY",
"UNHEALTHY",
"UNKNOWN",
}
}
type HealthStatusFilter string
// Enum values for HealthStatusFilter
const (
HealthStatusFilterHealthy HealthStatusFilter = "HEALTHY"
HealthStatusFilterUnhealthy HealthStatusFilter = "UNHEALTHY"
HealthStatusFilterAll HealthStatusFilter = "ALL"
HealthStatusFilterHealthyOrElseAll HealthStatusFilter = "HEALTHY_OR_ELSE_ALL"
)
// Values returns all known values for HealthStatusFilter. 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 (HealthStatusFilter) Values() []HealthStatusFilter {
return []HealthStatusFilter{
"HEALTHY",
"UNHEALTHY",
"ALL",
"HEALTHY_OR_ELSE_ALL",
}
}
type NamespaceFilterName string
// Enum values for NamespaceFilterName
const (
NamespaceFilterNameType NamespaceFilterName = "TYPE"
NamespaceFilterNameName NamespaceFilterName = "NAME"
NamespaceFilterNameHttpName NamespaceFilterName = "HTTP_NAME"
)
// Values returns all known values for NamespaceFilterName. 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 (NamespaceFilterName) Values() []NamespaceFilterName {
return []NamespaceFilterName{
"TYPE",
"NAME",
"HTTP_NAME",
}
}
type NamespaceType string
// Enum values for NamespaceType
const (
NamespaceTypeDnsPublic NamespaceType = "DNS_PUBLIC"
NamespaceTypeDnsPrivate NamespaceType = "DNS_PRIVATE"
NamespaceTypeHttp NamespaceType = "HTTP"
)
// Values returns all known values for NamespaceType. 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 (NamespaceType) Values() []NamespaceType {
return []NamespaceType{
"DNS_PUBLIC",
"DNS_PRIVATE",
"HTTP",
}
}
type OperationFilterName string
// Enum values for OperationFilterName
const (
OperationFilterNameNamespaceId OperationFilterName = "NAMESPACE_ID"
OperationFilterNameServiceId OperationFilterName = "SERVICE_ID"
OperationFilterNameStatus OperationFilterName = "STATUS"
OperationFilterNameType OperationFilterName = "TYPE"
OperationFilterNameUpdateDate OperationFilterName = "UPDATE_DATE"
)
// Values returns all known values for OperationFilterName. 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 (OperationFilterName) Values() []OperationFilterName {
return []OperationFilterName{
"NAMESPACE_ID",
"SERVICE_ID",
"STATUS",
"TYPE",
"UPDATE_DATE",
}
}
type OperationStatus string
// Enum values for OperationStatus
const (
OperationStatusSubmitted OperationStatus = "SUBMITTED"
OperationStatusPending OperationStatus = "PENDING"
OperationStatusSuccess OperationStatus = "SUCCESS"
OperationStatusFail OperationStatus = "FAIL"
)
// Values returns all known values for OperationStatus. 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 (OperationStatus) Values() []OperationStatus {
return []OperationStatus{
"SUBMITTED",
"PENDING",
"SUCCESS",
"FAIL",
}
}
type OperationTargetType string
// Enum values for OperationTargetType
const (
OperationTargetTypeNamespace OperationTargetType = "NAMESPACE"
OperationTargetTypeService OperationTargetType = "SERVICE"
OperationTargetTypeInstance OperationTargetType = "INSTANCE"
)
// Values returns all known values for OperationTargetType. 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 (OperationTargetType) Values() []OperationTargetType {
return []OperationTargetType{
"NAMESPACE",
"SERVICE",
"INSTANCE",
}
}
type OperationType string
// Enum values for OperationType
const (
OperationTypeCreateNamespace OperationType = "CREATE_NAMESPACE"
OperationTypeDeleteNamespace OperationType = "DELETE_NAMESPACE"
OperationTypeUpdateNamespace OperationType = "UPDATE_NAMESPACE"
OperationTypeUpdateService OperationType = "UPDATE_SERVICE"
OperationTypeRegisterInstance OperationType = "REGISTER_INSTANCE"
OperationTypeDeregisterInstance OperationType = "DEREGISTER_INSTANCE"
)
// Values returns all known values for OperationType. 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 (OperationType) Values() []OperationType {
return []OperationType{
"CREATE_NAMESPACE",
"DELETE_NAMESPACE",
"UPDATE_NAMESPACE",
"UPDATE_SERVICE",
"REGISTER_INSTANCE",
"DEREGISTER_INSTANCE",
}
}
type RecordType string
// Enum values for RecordType
const (
RecordTypeSrv RecordType = "SRV"
RecordTypeA RecordType = "A"
RecordTypeAaaa RecordType = "AAAA"
RecordTypeCname RecordType = "CNAME"
)
// Values returns all known values for RecordType. 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 (RecordType) Values() []RecordType {
return []RecordType{
"SRV",
"A",
"AAAA",
"CNAME",
}
}
type RoutingPolicy string
// Enum values for RoutingPolicy
const (
RoutingPolicyMultivalue RoutingPolicy = "MULTIVALUE"
RoutingPolicyWeighted RoutingPolicy = "WEIGHTED"
)
// Values returns all known values for RoutingPolicy. 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 (RoutingPolicy) Values() []RoutingPolicy {
return []RoutingPolicy{
"MULTIVALUE",
"WEIGHTED",
}
}
type ServiceFilterName string
// Enum values for ServiceFilterName
const (
ServiceFilterNameNamespaceId ServiceFilterName = "NAMESPACE_ID"
)
// Values returns all known values for ServiceFilterName. 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 (ServiceFilterName) Values() []ServiceFilterName {
return []ServiceFilterName{
"NAMESPACE_ID",
}
}
type ServiceType string
// Enum values for ServiceType
const (
ServiceTypeHttp ServiceType = "HTTP"
ServiceTypeDnsHttp ServiceType = "DNS_HTTP"
ServiceTypeDns ServiceType = "DNS"
)
// Values returns all known values for ServiceType. 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 (ServiceType) Values() []ServiceType {
return []ServiceType{
"HTTP",
"DNS_HTTP",
"DNS",
}
}
type ServiceTypeOption string
// Enum values for ServiceTypeOption
const (
ServiceTypeOptionHttp ServiceTypeOption = "HTTP"
)
// Values returns all known values for ServiceTypeOption. 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 (ServiceTypeOption) Values() []ServiceTypeOption {
return []ServiceTypeOption{
"HTTP",
}
}
|