1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AcceptanceType string 6 7// Enum values for AcceptanceType 8const ( 9 AcceptanceTypeAccept AcceptanceType = "ACCEPT" 10 AcceptanceTypeReject AcceptanceType = "REJECT" 11) 12 13// Values returns all known values for AcceptanceType. 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 (AcceptanceType) Values() []AcceptanceType { 17 return []AcceptanceType{ 18 "ACCEPT", 19 "REJECT", 20 } 21} 22 23type BackfillMode string 24 25// Enum values for BackfillMode 26const ( 27 BackfillModeAutomatic BackfillMode = "AUTOMATIC" 28 BackfillModeManual BackfillMode = "MANUAL" 29) 30 31// Values returns all known values for BackfillMode. Note that this can be expanded 32// in the future, and so it is only as up to date as the client. The ordering of 33// this slice is not guaranteed to be stable across updates. 34func (BackfillMode) Values() []BackfillMode { 35 return []BackfillMode{ 36 "AUTOMATIC", 37 "MANUAL", 38 } 39} 40 41type BalancingStrategy string 42 43// Enum values for BalancingStrategy 44const ( 45 BalancingStrategySpotOnly BalancingStrategy = "SPOT_ONLY" 46 BalancingStrategySpotPreferred BalancingStrategy = "SPOT_PREFERRED" 47 BalancingStrategyOnDemandOnly BalancingStrategy = "ON_DEMAND_ONLY" 48) 49 50// Values returns all known values for BalancingStrategy. Note that this can be 51// expanded in the future, and so it is only as up to date as the client. The 52// ordering of this slice is not guaranteed to be stable across updates. 53func (BalancingStrategy) Values() []BalancingStrategy { 54 return []BalancingStrategy{ 55 "SPOT_ONLY", 56 "SPOT_PREFERRED", 57 "ON_DEMAND_ONLY", 58 } 59} 60 61type BuildStatus string 62 63// Enum values for BuildStatus 64const ( 65 BuildStatusInitialized BuildStatus = "INITIALIZED" 66 BuildStatusReady BuildStatus = "READY" 67 BuildStatusFailed BuildStatus = "FAILED" 68) 69 70// Values returns all known values for BuildStatus. Note that this can be expanded 71// in the future, and so it is only as up to date as the client. The ordering of 72// this slice is not guaranteed to be stable across updates. 73func (BuildStatus) Values() []BuildStatus { 74 return []BuildStatus{ 75 "INITIALIZED", 76 "READY", 77 "FAILED", 78 } 79} 80 81type CertificateType string 82 83// Enum values for CertificateType 84const ( 85 CertificateTypeDisabled CertificateType = "DISABLED" 86 CertificateTypeGenerated CertificateType = "GENERATED" 87) 88 89// Values returns all known values for CertificateType. Note that this can be 90// expanded in the future, and so it is only as up to date as the client. The 91// ordering of this slice is not guaranteed to be stable across updates. 92func (CertificateType) Values() []CertificateType { 93 return []CertificateType{ 94 "DISABLED", 95 "GENERATED", 96 } 97} 98 99type ComparisonOperatorType string 100 101// Enum values for ComparisonOperatorType 102const ( 103 ComparisonOperatorTypeGreaterThanOrEqualToThreshold ComparisonOperatorType = "GreaterThanOrEqualToThreshold" 104 ComparisonOperatorTypeGreaterThanThreshold ComparisonOperatorType = "GreaterThanThreshold" 105 ComparisonOperatorTypeLessThanThreshold ComparisonOperatorType = "LessThanThreshold" 106 ComparisonOperatorTypeLessThanOrEqualToThreshold ComparisonOperatorType = "LessThanOrEqualToThreshold" 107) 108 109// Values returns all known values for ComparisonOperatorType. Note that this can 110// be 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 (ComparisonOperatorType) Values() []ComparisonOperatorType { 113 return []ComparisonOperatorType{ 114 "GreaterThanOrEqualToThreshold", 115 "GreaterThanThreshold", 116 "LessThanThreshold", 117 "LessThanOrEqualToThreshold", 118 } 119} 120 121type EC2InstanceType string 122 123// Enum values for EC2InstanceType 124const ( 125 EC2InstanceTypeT2Micro EC2InstanceType = "t2.micro" 126 EC2InstanceTypeT2Small EC2InstanceType = "t2.small" 127 EC2InstanceTypeT2Medium EC2InstanceType = "t2.medium" 128 EC2InstanceTypeT2Large EC2InstanceType = "t2.large" 129 EC2InstanceTypeC3Large EC2InstanceType = "c3.large" 130 EC2InstanceTypeC3Xlarge EC2InstanceType = "c3.xlarge" 131 EC2InstanceTypeC32xlarge EC2InstanceType = "c3.2xlarge" 132 EC2InstanceTypeC34xlarge EC2InstanceType = "c3.4xlarge" 133 EC2InstanceTypeC38xlarge EC2InstanceType = "c3.8xlarge" 134 EC2InstanceTypeC4Large EC2InstanceType = "c4.large" 135 EC2InstanceTypeC4Xlarge EC2InstanceType = "c4.xlarge" 136 EC2InstanceTypeC42xlarge EC2InstanceType = "c4.2xlarge" 137 EC2InstanceTypeC44xlarge EC2InstanceType = "c4.4xlarge" 138 EC2InstanceTypeC48xlarge EC2InstanceType = "c4.8xlarge" 139 EC2InstanceTypeC5Large EC2InstanceType = "c5.large" 140 EC2InstanceTypeC5Xlarge EC2InstanceType = "c5.xlarge" 141 EC2InstanceTypeC52xlarge EC2InstanceType = "c5.2xlarge" 142 EC2InstanceTypeC54xlarge EC2InstanceType = "c5.4xlarge" 143 EC2InstanceTypeC59xlarge EC2InstanceType = "c5.9xlarge" 144 EC2InstanceTypeC512xlarge EC2InstanceType = "c5.12xlarge" 145 EC2InstanceTypeC518xlarge EC2InstanceType = "c5.18xlarge" 146 EC2InstanceTypeC524xlarge EC2InstanceType = "c5.24xlarge" 147 EC2InstanceTypeC5aLarge EC2InstanceType = "c5a.large" 148 EC2InstanceTypeC5aXlarge EC2InstanceType = "c5a.xlarge" 149 EC2InstanceTypeC5a2xlarge EC2InstanceType = "c5a.2xlarge" 150 EC2InstanceTypeC5a4xlarge EC2InstanceType = "c5a.4xlarge" 151 EC2InstanceTypeC5a8xlarge EC2InstanceType = "c5a.8xlarge" 152 EC2InstanceTypeC5a12xlarge EC2InstanceType = "c5a.12xlarge" 153 EC2InstanceTypeC5a16xlarge EC2InstanceType = "c5a.16xlarge" 154 EC2InstanceTypeC5a24xlarge EC2InstanceType = "c5a.24xlarge" 155 EC2InstanceTypeR3Large EC2InstanceType = "r3.large" 156 EC2InstanceTypeR3Xlarge EC2InstanceType = "r3.xlarge" 157 EC2InstanceTypeR32xlarge EC2InstanceType = "r3.2xlarge" 158 EC2InstanceTypeR34xlarge EC2InstanceType = "r3.4xlarge" 159 EC2InstanceTypeR38xlarge EC2InstanceType = "r3.8xlarge" 160 EC2InstanceTypeR4Large EC2InstanceType = "r4.large" 161 EC2InstanceTypeR4Xlarge EC2InstanceType = "r4.xlarge" 162 EC2InstanceTypeR42xlarge EC2InstanceType = "r4.2xlarge" 163 EC2InstanceTypeR44xlarge EC2InstanceType = "r4.4xlarge" 164 EC2InstanceTypeR48xlarge EC2InstanceType = "r4.8xlarge" 165 EC2InstanceTypeR416xlarge EC2InstanceType = "r4.16xlarge" 166 EC2InstanceTypeR5Large EC2InstanceType = "r5.large" 167 EC2InstanceTypeR5Xlarge EC2InstanceType = "r5.xlarge" 168 EC2InstanceTypeR52xlarge EC2InstanceType = "r5.2xlarge" 169 EC2InstanceTypeR54xlarge EC2InstanceType = "r5.4xlarge" 170 EC2InstanceTypeR58xlarge EC2InstanceType = "r5.8xlarge" 171 EC2InstanceTypeR512xlarge EC2InstanceType = "r5.12xlarge" 172 EC2InstanceTypeR516xlarge EC2InstanceType = "r5.16xlarge" 173 EC2InstanceTypeR524xlarge EC2InstanceType = "r5.24xlarge" 174 EC2InstanceTypeR5aLarge EC2InstanceType = "r5a.large" 175 EC2InstanceTypeR5aXlarge EC2InstanceType = "r5a.xlarge" 176 EC2InstanceTypeR5a2xlarge EC2InstanceType = "r5a.2xlarge" 177 EC2InstanceTypeR5a4xlarge EC2InstanceType = "r5a.4xlarge" 178 EC2InstanceTypeR5a8xlarge EC2InstanceType = "r5a.8xlarge" 179 EC2InstanceTypeR5a12xlarge EC2InstanceType = "r5a.12xlarge" 180 EC2InstanceTypeR5a16xlarge EC2InstanceType = "r5a.16xlarge" 181 EC2InstanceTypeR5a24xlarge EC2InstanceType = "r5a.24xlarge" 182 EC2InstanceTypeM3Medium EC2InstanceType = "m3.medium" 183 EC2InstanceTypeM3Large EC2InstanceType = "m3.large" 184 EC2InstanceTypeM3Xlarge EC2InstanceType = "m3.xlarge" 185 EC2InstanceTypeM32xlarge EC2InstanceType = "m3.2xlarge" 186 EC2InstanceTypeM4Large EC2InstanceType = "m4.large" 187 EC2InstanceTypeM4Xlarge EC2InstanceType = "m4.xlarge" 188 EC2InstanceTypeM42xlarge EC2InstanceType = "m4.2xlarge" 189 EC2InstanceTypeM44xlarge EC2InstanceType = "m4.4xlarge" 190 EC2InstanceTypeM410xlarge EC2InstanceType = "m4.10xlarge" 191 EC2InstanceTypeM5Large EC2InstanceType = "m5.large" 192 EC2InstanceTypeM5Xlarge EC2InstanceType = "m5.xlarge" 193 EC2InstanceTypeM52xlarge EC2InstanceType = "m5.2xlarge" 194 EC2InstanceTypeM54xlarge EC2InstanceType = "m5.4xlarge" 195 EC2InstanceTypeM58xlarge EC2InstanceType = "m5.8xlarge" 196 EC2InstanceTypeM512xlarge EC2InstanceType = "m5.12xlarge" 197 EC2InstanceTypeM516xlarge EC2InstanceType = "m5.16xlarge" 198 EC2InstanceTypeM524xlarge EC2InstanceType = "m5.24xlarge" 199 EC2InstanceTypeM5aLarge EC2InstanceType = "m5a.large" 200 EC2InstanceTypeM5aXlarge EC2InstanceType = "m5a.xlarge" 201 EC2InstanceTypeM5a2xlarge EC2InstanceType = "m5a.2xlarge" 202 EC2InstanceTypeM5a4xlarge EC2InstanceType = "m5a.4xlarge" 203 EC2InstanceTypeM5a8xlarge EC2InstanceType = "m5a.8xlarge" 204 EC2InstanceTypeM5a12xlarge EC2InstanceType = "m5a.12xlarge" 205 EC2InstanceTypeM5a16xlarge EC2InstanceType = "m5a.16xlarge" 206 EC2InstanceTypeM5a24xlarge EC2InstanceType = "m5a.24xlarge" 207) 208 209// Values returns all known values for EC2InstanceType. Note that this can be 210// expanded in the future, and so it is only as up to date as the client. The 211// ordering of this slice is not guaranteed to be stable across updates. 212func (EC2InstanceType) Values() []EC2InstanceType { 213 return []EC2InstanceType{ 214 "t2.micro", 215 "t2.small", 216 "t2.medium", 217 "t2.large", 218 "c3.large", 219 "c3.xlarge", 220 "c3.2xlarge", 221 "c3.4xlarge", 222 "c3.8xlarge", 223 "c4.large", 224 "c4.xlarge", 225 "c4.2xlarge", 226 "c4.4xlarge", 227 "c4.8xlarge", 228 "c5.large", 229 "c5.xlarge", 230 "c5.2xlarge", 231 "c5.4xlarge", 232 "c5.9xlarge", 233 "c5.12xlarge", 234 "c5.18xlarge", 235 "c5.24xlarge", 236 "c5a.large", 237 "c5a.xlarge", 238 "c5a.2xlarge", 239 "c5a.4xlarge", 240 "c5a.8xlarge", 241 "c5a.12xlarge", 242 "c5a.16xlarge", 243 "c5a.24xlarge", 244 "r3.large", 245 "r3.xlarge", 246 "r3.2xlarge", 247 "r3.4xlarge", 248 "r3.8xlarge", 249 "r4.large", 250 "r4.xlarge", 251 "r4.2xlarge", 252 "r4.4xlarge", 253 "r4.8xlarge", 254 "r4.16xlarge", 255 "r5.large", 256 "r5.xlarge", 257 "r5.2xlarge", 258 "r5.4xlarge", 259 "r5.8xlarge", 260 "r5.12xlarge", 261 "r5.16xlarge", 262 "r5.24xlarge", 263 "r5a.large", 264 "r5a.xlarge", 265 "r5a.2xlarge", 266 "r5a.4xlarge", 267 "r5a.8xlarge", 268 "r5a.12xlarge", 269 "r5a.16xlarge", 270 "r5a.24xlarge", 271 "m3.medium", 272 "m3.large", 273 "m3.xlarge", 274 "m3.2xlarge", 275 "m4.large", 276 "m4.xlarge", 277 "m4.2xlarge", 278 "m4.4xlarge", 279 "m4.10xlarge", 280 "m5.large", 281 "m5.xlarge", 282 "m5.2xlarge", 283 "m5.4xlarge", 284 "m5.8xlarge", 285 "m5.12xlarge", 286 "m5.16xlarge", 287 "m5.24xlarge", 288 "m5a.large", 289 "m5a.xlarge", 290 "m5a.2xlarge", 291 "m5a.4xlarge", 292 "m5a.8xlarge", 293 "m5a.12xlarge", 294 "m5a.16xlarge", 295 "m5a.24xlarge", 296 } 297} 298 299type EventCode string 300 301// Enum values for EventCode 302const ( 303 EventCodeGenericEvent EventCode = "GENERIC_EVENT" 304 EventCodeFleetCreated EventCode = "FLEET_CREATED" 305 EventCodeFleetDeleted EventCode = "FLEET_DELETED" 306 EventCodeFleetScalingEvent EventCode = "FLEET_SCALING_EVENT" 307 EventCodeFleetStateDownloading EventCode = "FLEET_STATE_DOWNLOADING" 308 EventCodeFleetStateValidating EventCode = "FLEET_STATE_VALIDATING" 309 EventCodeFleetStateBuilding EventCode = "FLEET_STATE_BUILDING" 310 EventCodeFleetStateActivating EventCode = "FLEET_STATE_ACTIVATING" 311 EventCodeFleetStateActive EventCode = "FLEET_STATE_ACTIVE" 312 EventCodeFleetStateError EventCode = "FLEET_STATE_ERROR" 313 EventCodeFleetInitializationFailed EventCode = "FLEET_INITIALIZATION_FAILED" 314 EventCodeFleetBinaryDownloadFailed EventCode = "FLEET_BINARY_DOWNLOAD_FAILED" 315 EventCodeFleetValidationLaunchPathNotFound EventCode = "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND" 316 EventCodeFleetValidationExecutableRuntimeFailure EventCode = "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE" 317 EventCodeFleetValidationTimedOut EventCode = "FLEET_VALIDATION_TIMED_OUT" 318 EventCodeFleetActivationFailed EventCode = "FLEET_ACTIVATION_FAILED" 319 EventCodeFleetActivationFailedNoInstances EventCode = "FLEET_ACTIVATION_FAILED_NO_INSTANCES" 320 EventCodeFleetNewGameSessionProtectionPolicyUpdated EventCode = "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED" 321 EventCodeServerProcessInvalidPath EventCode = "SERVER_PROCESS_INVALID_PATH" 322 EventCodeServerProcessSdkInitializationTimeout EventCode = "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT" 323 EventCodeServerProcessProcessReadyTimeout EventCode = "SERVER_PROCESS_PROCESS_READY_TIMEOUT" 324 EventCodeServerProcessCrashed EventCode = "SERVER_PROCESS_CRASHED" 325 EventCodeServerProcessTerminatedUnhealthy EventCode = "SERVER_PROCESS_TERMINATED_UNHEALTHY" 326 EventCodeServerProcessForceTerminated EventCode = "SERVER_PROCESS_FORCE_TERMINATED" 327 EventCodeServerProcessProcessExitTimeout EventCode = "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT" 328 EventCodeGameSessionActivationTimeout EventCode = "GAME_SESSION_ACTIVATION_TIMEOUT" 329 EventCodeFleetCreationExtractingBuild EventCode = "FLEET_CREATION_EXTRACTING_BUILD" 330 EventCodeFleetCreationRunningInstaller EventCode = "FLEET_CREATION_RUNNING_INSTALLER" 331 EventCodeFleetCreationValidatingRuntimeConfig EventCode = "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG" 332 EventCodeFleetVpcPeeringSucceeded EventCode = "FLEET_VPC_PEERING_SUCCEEDED" 333 EventCodeFleetVpcPeeringFailed EventCode = "FLEET_VPC_PEERING_FAILED" 334 EventCodeFleetVpcPeeringDeleted EventCode = "FLEET_VPC_PEERING_DELETED" 335 EventCodeInstanceInterrupted EventCode = "INSTANCE_INTERRUPTED" 336) 337 338// Values returns all known values for EventCode. Note that this can be expanded in 339// the future, and so it is only as up to date as the client. The ordering of this 340// slice is not guaranteed to be stable across updates. 341func (EventCode) Values() []EventCode { 342 return []EventCode{ 343 "GENERIC_EVENT", 344 "FLEET_CREATED", 345 "FLEET_DELETED", 346 "FLEET_SCALING_EVENT", 347 "FLEET_STATE_DOWNLOADING", 348 "FLEET_STATE_VALIDATING", 349 "FLEET_STATE_BUILDING", 350 "FLEET_STATE_ACTIVATING", 351 "FLEET_STATE_ACTIVE", 352 "FLEET_STATE_ERROR", 353 "FLEET_INITIALIZATION_FAILED", 354 "FLEET_BINARY_DOWNLOAD_FAILED", 355 "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND", 356 "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE", 357 "FLEET_VALIDATION_TIMED_OUT", 358 "FLEET_ACTIVATION_FAILED", 359 "FLEET_ACTIVATION_FAILED_NO_INSTANCES", 360 "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED", 361 "SERVER_PROCESS_INVALID_PATH", 362 "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT", 363 "SERVER_PROCESS_PROCESS_READY_TIMEOUT", 364 "SERVER_PROCESS_CRASHED", 365 "SERVER_PROCESS_TERMINATED_UNHEALTHY", 366 "SERVER_PROCESS_FORCE_TERMINATED", 367 "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT", 368 "GAME_SESSION_ACTIVATION_TIMEOUT", 369 "FLEET_CREATION_EXTRACTING_BUILD", 370 "FLEET_CREATION_RUNNING_INSTALLER", 371 "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG", 372 "FLEET_VPC_PEERING_SUCCEEDED", 373 "FLEET_VPC_PEERING_FAILED", 374 "FLEET_VPC_PEERING_DELETED", 375 "INSTANCE_INTERRUPTED", 376 } 377} 378 379type FleetAction string 380 381// Enum values for FleetAction 382const ( 383 FleetActionAutoScaling FleetAction = "AUTO_SCALING" 384) 385 386// Values returns all known values for FleetAction. Note that this can be expanded 387// in the future, and so it is only as up to date as the client. The ordering of 388// this slice is not guaranteed to be stable across updates. 389func (FleetAction) Values() []FleetAction { 390 return []FleetAction{ 391 "AUTO_SCALING", 392 } 393} 394 395type FleetStatus string 396 397// Enum values for FleetStatus 398const ( 399 FleetStatusNew FleetStatus = "NEW" 400 FleetStatusDownloading FleetStatus = "DOWNLOADING" 401 FleetStatusValidating FleetStatus = "VALIDATING" 402 FleetStatusBuilding FleetStatus = "BUILDING" 403 FleetStatusActivating FleetStatus = "ACTIVATING" 404 FleetStatusActive FleetStatus = "ACTIVE" 405 FleetStatusDeleting FleetStatus = "DELETING" 406 FleetStatusError FleetStatus = "ERROR" 407 FleetStatusTerminated FleetStatus = "TERMINATED" 408) 409 410// Values returns all known values for FleetStatus. Note that this can be expanded 411// in the future, and so it is only as up to date as the client. The ordering of 412// this slice is not guaranteed to be stable across updates. 413func (FleetStatus) Values() []FleetStatus { 414 return []FleetStatus{ 415 "NEW", 416 "DOWNLOADING", 417 "VALIDATING", 418 "BUILDING", 419 "ACTIVATING", 420 "ACTIVE", 421 "DELETING", 422 "ERROR", 423 "TERMINATED", 424 } 425} 426 427type FleetType string 428 429// Enum values for FleetType 430const ( 431 FleetTypeOnDemand FleetType = "ON_DEMAND" 432 FleetTypeSpot FleetType = "SPOT" 433) 434 435// Values returns all known values for FleetType. Note that this can be expanded in 436// the future, and so it is only as up to date as the client. The ordering of this 437// slice is not guaranteed to be stable across updates. 438func (FleetType) Values() []FleetType { 439 return []FleetType{ 440 "ON_DEMAND", 441 "SPOT", 442 } 443} 444 445type FlexMatchMode string 446 447// Enum values for FlexMatchMode 448const ( 449 FlexMatchModeStandalone FlexMatchMode = "STANDALONE" 450 FlexMatchModeWithQueue FlexMatchMode = "WITH_QUEUE" 451) 452 453// Values returns all known values for FlexMatchMode. Note that this can be 454// expanded in the future, and so it is only as up to date as the client. The 455// ordering of this slice is not guaranteed to be stable across updates. 456func (FlexMatchMode) Values() []FlexMatchMode { 457 return []FlexMatchMode{ 458 "STANDALONE", 459 "WITH_QUEUE", 460 } 461} 462 463type GameServerClaimStatus string 464 465// Enum values for GameServerClaimStatus 466const ( 467 GameServerClaimStatusClaimed GameServerClaimStatus = "CLAIMED" 468) 469 470// Values returns all known values for GameServerClaimStatus. Note that this can be 471// expanded in the future, and so it is only as up to date as the client. The 472// ordering of this slice is not guaranteed to be stable across updates. 473func (GameServerClaimStatus) Values() []GameServerClaimStatus { 474 return []GameServerClaimStatus{ 475 "CLAIMED", 476 } 477} 478 479type GameServerGroupAction string 480 481// Enum values for GameServerGroupAction 482const ( 483 GameServerGroupActionReplaceInstanceTypes GameServerGroupAction = "REPLACE_INSTANCE_TYPES" 484) 485 486// Values returns all known values for GameServerGroupAction. Note that this can be 487// expanded in the future, and so it is only as up to date as the client. The 488// ordering of this slice is not guaranteed to be stable across updates. 489func (GameServerGroupAction) Values() []GameServerGroupAction { 490 return []GameServerGroupAction{ 491 "REPLACE_INSTANCE_TYPES", 492 } 493} 494 495type GameServerGroupDeleteOption string 496 497// Enum values for GameServerGroupDeleteOption 498const ( 499 GameServerGroupDeleteOptionSafeDelete GameServerGroupDeleteOption = "SAFE_DELETE" 500 GameServerGroupDeleteOptionForceDelete GameServerGroupDeleteOption = "FORCE_DELETE" 501 GameServerGroupDeleteOptionRetain GameServerGroupDeleteOption = "RETAIN" 502) 503 504// Values returns all known values for GameServerGroupDeleteOption. Note that this 505// can be expanded in the future, and so it is only as up to date as the client. 506// The ordering of this slice is not guaranteed to be stable across updates. 507func (GameServerGroupDeleteOption) Values() []GameServerGroupDeleteOption { 508 return []GameServerGroupDeleteOption{ 509 "SAFE_DELETE", 510 "FORCE_DELETE", 511 "RETAIN", 512 } 513} 514 515type GameServerGroupInstanceType string 516 517// Enum values for GameServerGroupInstanceType 518const ( 519 GameServerGroupInstanceTypeC4Large GameServerGroupInstanceType = "c4.large" 520 GameServerGroupInstanceTypeC4Xlarge GameServerGroupInstanceType = "c4.xlarge" 521 GameServerGroupInstanceTypeC42xlarge GameServerGroupInstanceType = "c4.2xlarge" 522 GameServerGroupInstanceTypeC44xlarge GameServerGroupInstanceType = "c4.4xlarge" 523 GameServerGroupInstanceTypeC48xlarge GameServerGroupInstanceType = "c4.8xlarge" 524 GameServerGroupInstanceTypeC5Large GameServerGroupInstanceType = "c5.large" 525 GameServerGroupInstanceTypeC5Xlarge GameServerGroupInstanceType = "c5.xlarge" 526 GameServerGroupInstanceTypeC52xlarge GameServerGroupInstanceType = "c5.2xlarge" 527 GameServerGroupInstanceTypeC54xlarge GameServerGroupInstanceType = "c5.4xlarge" 528 GameServerGroupInstanceTypeC59xlarge GameServerGroupInstanceType = "c5.9xlarge" 529 GameServerGroupInstanceTypeC512xlarge GameServerGroupInstanceType = "c5.12xlarge" 530 GameServerGroupInstanceTypeC518xlarge GameServerGroupInstanceType = "c5.18xlarge" 531 GameServerGroupInstanceTypeC524xlarge GameServerGroupInstanceType = "c5.24xlarge" 532 GameServerGroupInstanceTypeC5aLarge GameServerGroupInstanceType = "c5a.large" 533 GameServerGroupInstanceTypeC5aXlarge GameServerGroupInstanceType = "c5a.xlarge" 534 GameServerGroupInstanceTypeC5a2xlarge GameServerGroupInstanceType = "c5a.2xlarge" 535 GameServerGroupInstanceTypeC5a4xlarge GameServerGroupInstanceType = "c5a.4xlarge" 536 GameServerGroupInstanceTypeC5a8xlarge GameServerGroupInstanceType = "c5a.8xlarge" 537 GameServerGroupInstanceTypeC5a12xlarge GameServerGroupInstanceType = "c5a.12xlarge" 538 GameServerGroupInstanceTypeC5a16xlarge GameServerGroupInstanceType = "c5a.16xlarge" 539 GameServerGroupInstanceTypeC5a24xlarge GameServerGroupInstanceType = "c5a.24xlarge" 540 GameServerGroupInstanceTypeR4Large GameServerGroupInstanceType = "r4.large" 541 GameServerGroupInstanceTypeR4Xlarge GameServerGroupInstanceType = "r4.xlarge" 542 GameServerGroupInstanceTypeR42xlarge GameServerGroupInstanceType = "r4.2xlarge" 543 GameServerGroupInstanceTypeR44xlarge GameServerGroupInstanceType = "r4.4xlarge" 544 GameServerGroupInstanceTypeR48xlarge GameServerGroupInstanceType = "r4.8xlarge" 545 GameServerGroupInstanceTypeR416xlarge GameServerGroupInstanceType = "r4.16xlarge" 546 GameServerGroupInstanceTypeR5Large GameServerGroupInstanceType = "r5.large" 547 GameServerGroupInstanceTypeR5Xlarge GameServerGroupInstanceType = "r5.xlarge" 548 GameServerGroupInstanceTypeR52xlarge GameServerGroupInstanceType = "r5.2xlarge" 549 GameServerGroupInstanceTypeR54xlarge GameServerGroupInstanceType = "r5.4xlarge" 550 GameServerGroupInstanceTypeR58xlarge GameServerGroupInstanceType = "r5.8xlarge" 551 GameServerGroupInstanceTypeR512xlarge GameServerGroupInstanceType = "r5.12xlarge" 552 GameServerGroupInstanceTypeR516xlarge GameServerGroupInstanceType = "r5.16xlarge" 553 GameServerGroupInstanceTypeR524xlarge GameServerGroupInstanceType = "r5.24xlarge" 554 GameServerGroupInstanceTypeR5aLarge GameServerGroupInstanceType = "r5a.large" 555 GameServerGroupInstanceTypeR5aXlarge GameServerGroupInstanceType = "r5a.xlarge" 556 GameServerGroupInstanceTypeR5a2xlarge GameServerGroupInstanceType = "r5a.2xlarge" 557 GameServerGroupInstanceTypeR5a4xlarge GameServerGroupInstanceType = "r5a.4xlarge" 558 GameServerGroupInstanceTypeR5a8xlarge GameServerGroupInstanceType = "r5a.8xlarge" 559 GameServerGroupInstanceTypeR5a12xlarge GameServerGroupInstanceType = "r5a.12xlarge" 560 GameServerGroupInstanceTypeR5a16xlarge GameServerGroupInstanceType = "r5a.16xlarge" 561 GameServerGroupInstanceTypeR5a24xlarge GameServerGroupInstanceType = "r5a.24xlarge" 562 GameServerGroupInstanceTypeM4Large GameServerGroupInstanceType = "m4.large" 563 GameServerGroupInstanceTypeM4Xlarge GameServerGroupInstanceType = "m4.xlarge" 564 GameServerGroupInstanceTypeM42xlarge GameServerGroupInstanceType = "m4.2xlarge" 565 GameServerGroupInstanceTypeM44xlarge GameServerGroupInstanceType = "m4.4xlarge" 566 GameServerGroupInstanceTypeM410xlarge GameServerGroupInstanceType = "m4.10xlarge" 567 GameServerGroupInstanceTypeM5Large GameServerGroupInstanceType = "m5.large" 568 GameServerGroupInstanceTypeM5Xlarge GameServerGroupInstanceType = "m5.xlarge" 569 GameServerGroupInstanceTypeM52xlarge GameServerGroupInstanceType = "m5.2xlarge" 570 GameServerGroupInstanceTypeM54xlarge GameServerGroupInstanceType = "m5.4xlarge" 571 GameServerGroupInstanceTypeM58xlarge GameServerGroupInstanceType = "m5.8xlarge" 572 GameServerGroupInstanceTypeM512xlarge GameServerGroupInstanceType = "m5.12xlarge" 573 GameServerGroupInstanceTypeM516xlarge GameServerGroupInstanceType = "m5.16xlarge" 574 GameServerGroupInstanceTypeM524xlarge GameServerGroupInstanceType = "m5.24xlarge" 575 GameServerGroupInstanceTypeM5aLarge GameServerGroupInstanceType = "m5a.large" 576 GameServerGroupInstanceTypeM5aXlarge GameServerGroupInstanceType = "m5a.xlarge" 577 GameServerGroupInstanceTypeM5a2xlarge GameServerGroupInstanceType = "m5a.2xlarge" 578 GameServerGroupInstanceTypeM5a4xlarge GameServerGroupInstanceType = "m5a.4xlarge" 579 GameServerGroupInstanceTypeM5a8xlarge GameServerGroupInstanceType = "m5a.8xlarge" 580 GameServerGroupInstanceTypeM5a12xlarge GameServerGroupInstanceType = "m5a.12xlarge" 581 GameServerGroupInstanceTypeM5a16xlarge GameServerGroupInstanceType = "m5a.16xlarge" 582 GameServerGroupInstanceTypeM5a24xlarge GameServerGroupInstanceType = "m5a.24xlarge" 583) 584 585// Values returns all known values for GameServerGroupInstanceType. Note that this 586// can be expanded in the future, and so it is only as up to date as the client. 587// The ordering of this slice is not guaranteed to be stable across updates. 588func (GameServerGroupInstanceType) Values() []GameServerGroupInstanceType { 589 return []GameServerGroupInstanceType{ 590 "c4.large", 591 "c4.xlarge", 592 "c4.2xlarge", 593 "c4.4xlarge", 594 "c4.8xlarge", 595 "c5.large", 596 "c5.xlarge", 597 "c5.2xlarge", 598 "c5.4xlarge", 599 "c5.9xlarge", 600 "c5.12xlarge", 601 "c5.18xlarge", 602 "c5.24xlarge", 603 "c5a.large", 604 "c5a.xlarge", 605 "c5a.2xlarge", 606 "c5a.4xlarge", 607 "c5a.8xlarge", 608 "c5a.12xlarge", 609 "c5a.16xlarge", 610 "c5a.24xlarge", 611 "r4.large", 612 "r4.xlarge", 613 "r4.2xlarge", 614 "r4.4xlarge", 615 "r4.8xlarge", 616 "r4.16xlarge", 617 "r5.large", 618 "r5.xlarge", 619 "r5.2xlarge", 620 "r5.4xlarge", 621 "r5.8xlarge", 622 "r5.12xlarge", 623 "r5.16xlarge", 624 "r5.24xlarge", 625 "r5a.large", 626 "r5a.xlarge", 627 "r5a.2xlarge", 628 "r5a.4xlarge", 629 "r5a.8xlarge", 630 "r5a.12xlarge", 631 "r5a.16xlarge", 632 "r5a.24xlarge", 633 "m4.large", 634 "m4.xlarge", 635 "m4.2xlarge", 636 "m4.4xlarge", 637 "m4.10xlarge", 638 "m5.large", 639 "m5.xlarge", 640 "m5.2xlarge", 641 "m5.4xlarge", 642 "m5.8xlarge", 643 "m5.12xlarge", 644 "m5.16xlarge", 645 "m5.24xlarge", 646 "m5a.large", 647 "m5a.xlarge", 648 "m5a.2xlarge", 649 "m5a.4xlarge", 650 "m5a.8xlarge", 651 "m5a.12xlarge", 652 "m5a.16xlarge", 653 "m5a.24xlarge", 654 } 655} 656 657type GameServerGroupStatus string 658 659// Enum values for GameServerGroupStatus 660const ( 661 GameServerGroupStatusNew GameServerGroupStatus = "NEW" 662 GameServerGroupStatusActivating GameServerGroupStatus = "ACTIVATING" 663 GameServerGroupStatusActive GameServerGroupStatus = "ACTIVE" 664 GameServerGroupStatusDeleteScheduled GameServerGroupStatus = "DELETE_SCHEDULED" 665 GameServerGroupStatusDeleting GameServerGroupStatus = "DELETING" 666 GameServerGroupStatusDeleted GameServerGroupStatus = "DELETED" 667 GameServerGroupStatusError GameServerGroupStatus = "ERROR" 668) 669 670// Values returns all known values for GameServerGroupStatus. Note that this can be 671// expanded in the future, and so it is only as up to date as the client. The 672// ordering of this slice is not guaranteed to be stable across updates. 673func (GameServerGroupStatus) Values() []GameServerGroupStatus { 674 return []GameServerGroupStatus{ 675 "NEW", 676 "ACTIVATING", 677 "ACTIVE", 678 "DELETE_SCHEDULED", 679 "DELETING", 680 "DELETED", 681 "ERROR", 682 } 683} 684 685type GameServerHealthCheck string 686 687// Enum values for GameServerHealthCheck 688const ( 689 GameServerHealthCheckHealthy GameServerHealthCheck = "HEALTHY" 690) 691 692// Values returns all known values for GameServerHealthCheck. Note that this can be 693// expanded in the future, and so it is only as up to date as the client. The 694// ordering of this slice is not guaranteed to be stable across updates. 695func (GameServerHealthCheck) Values() []GameServerHealthCheck { 696 return []GameServerHealthCheck{ 697 "HEALTHY", 698 } 699} 700 701type GameServerInstanceStatus string 702 703// Enum values for GameServerInstanceStatus 704const ( 705 GameServerInstanceStatusActive GameServerInstanceStatus = "ACTIVE" 706 GameServerInstanceStatusDraining GameServerInstanceStatus = "DRAINING" 707 GameServerInstanceStatusSpotTerminating GameServerInstanceStatus = "SPOT_TERMINATING" 708) 709 710// Values returns all known values for GameServerInstanceStatus. Note that this can 711// be expanded in the future, and so it is only as up to date as the client. The 712// ordering of this slice is not guaranteed to be stable across updates. 713func (GameServerInstanceStatus) Values() []GameServerInstanceStatus { 714 return []GameServerInstanceStatus{ 715 "ACTIVE", 716 "DRAINING", 717 "SPOT_TERMINATING", 718 } 719} 720 721type GameServerProtectionPolicy string 722 723// Enum values for GameServerProtectionPolicy 724const ( 725 GameServerProtectionPolicyNoProtection GameServerProtectionPolicy = "NO_PROTECTION" 726 GameServerProtectionPolicyFullProtection GameServerProtectionPolicy = "FULL_PROTECTION" 727) 728 729// Values returns all known values for GameServerProtectionPolicy. Note that this 730// can be expanded in the future, and so it is only as up to date as the client. 731// The ordering of this slice is not guaranteed to be stable across updates. 732func (GameServerProtectionPolicy) Values() []GameServerProtectionPolicy { 733 return []GameServerProtectionPolicy{ 734 "NO_PROTECTION", 735 "FULL_PROTECTION", 736 } 737} 738 739type GameServerUtilizationStatus string 740 741// Enum values for GameServerUtilizationStatus 742const ( 743 GameServerUtilizationStatusAvailable GameServerUtilizationStatus = "AVAILABLE" 744 GameServerUtilizationStatusUtilized GameServerUtilizationStatus = "UTILIZED" 745) 746 747// Values returns all known values for GameServerUtilizationStatus. Note that this 748// can be expanded in the future, and so it is only as up to date as the client. 749// The ordering of this slice is not guaranteed to be stable across updates. 750func (GameServerUtilizationStatus) Values() []GameServerUtilizationStatus { 751 return []GameServerUtilizationStatus{ 752 "AVAILABLE", 753 "UTILIZED", 754 } 755} 756 757type GameSessionPlacementState string 758 759// Enum values for GameSessionPlacementState 760const ( 761 GameSessionPlacementStatePending GameSessionPlacementState = "PENDING" 762 GameSessionPlacementStateFulfilled GameSessionPlacementState = "FULFILLED" 763 GameSessionPlacementStateCancelled GameSessionPlacementState = "CANCELLED" 764 GameSessionPlacementStateTimedOut GameSessionPlacementState = "TIMED_OUT" 765 GameSessionPlacementStateFailed GameSessionPlacementState = "FAILED" 766) 767 768// Values returns all known values for GameSessionPlacementState. Note that this 769// can be expanded in the future, and so it is only as up to date as the client. 770// The ordering of this slice is not guaranteed to be stable across updates. 771func (GameSessionPlacementState) Values() []GameSessionPlacementState { 772 return []GameSessionPlacementState{ 773 "PENDING", 774 "FULFILLED", 775 "CANCELLED", 776 "TIMED_OUT", 777 "FAILED", 778 } 779} 780 781type GameSessionStatus string 782 783// Enum values for GameSessionStatus 784const ( 785 GameSessionStatusActive GameSessionStatus = "ACTIVE" 786 GameSessionStatusActivating GameSessionStatus = "ACTIVATING" 787 GameSessionStatusTerminated GameSessionStatus = "TERMINATED" 788 GameSessionStatusTerminating GameSessionStatus = "TERMINATING" 789 GameSessionStatusError GameSessionStatus = "ERROR" 790) 791 792// Values returns all known values for GameSessionStatus. Note that this can be 793// expanded in the future, and so it is only as up to date as the client. The 794// ordering of this slice is not guaranteed to be stable across updates. 795func (GameSessionStatus) Values() []GameSessionStatus { 796 return []GameSessionStatus{ 797 "ACTIVE", 798 "ACTIVATING", 799 "TERMINATED", 800 "TERMINATING", 801 "ERROR", 802 } 803} 804 805type GameSessionStatusReason string 806 807// Enum values for GameSessionStatusReason 808const ( 809 GameSessionStatusReasonInterrupted GameSessionStatusReason = "INTERRUPTED" 810) 811 812// Values returns all known values for GameSessionStatusReason. Note that this can 813// be expanded in the future, and so it is only as up to date as the client. The 814// ordering of this slice is not guaranteed to be stable across updates. 815func (GameSessionStatusReason) Values() []GameSessionStatusReason { 816 return []GameSessionStatusReason{ 817 "INTERRUPTED", 818 } 819} 820 821type InstanceStatus string 822 823// Enum values for InstanceStatus 824const ( 825 InstanceStatusPending InstanceStatus = "PENDING" 826 InstanceStatusActive InstanceStatus = "ACTIVE" 827 InstanceStatusTerminating InstanceStatus = "TERMINATING" 828) 829 830// Values returns all known values for InstanceStatus. Note that this can be 831// expanded in the future, and so it is only as up to date as the client. The 832// ordering of this slice is not guaranteed to be stable across updates. 833func (InstanceStatus) Values() []InstanceStatus { 834 return []InstanceStatus{ 835 "PENDING", 836 "ACTIVE", 837 "TERMINATING", 838 } 839} 840 841type IpProtocol string 842 843// Enum values for IpProtocol 844const ( 845 IpProtocolTcp IpProtocol = "TCP" 846 IpProtocolUdp IpProtocol = "UDP" 847) 848 849// Values returns all known values for IpProtocol. Note that this can be expanded 850// in the future, and so it is only as up to date as the client. The ordering of 851// this slice is not guaranteed to be stable across updates. 852func (IpProtocol) Values() []IpProtocol { 853 return []IpProtocol{ 854 "TCP", 855 "UDP", 856 } 857} 858 859type LocationUpdateStatus string 860 861// Enum values for LocationUpdateStatus 862const ( 863 LocationUpdateStatusPendingUpdate LocationUpdateStatus = "PENDING_UPDATE" 864) 865 866// Values returns all known values for LocationUpdateStatus. Note that this can be 867// expanded in the future, and so it is only as up to date as the client. The 868// ordering of this slice is not guaranteed to be stable across updates. 869func (LocationUpdateStatus) Values() []LocationUpdateStatus { 870 return []LocationUpdateStatus{ 871 "PENDING_UPDATE", 872 } 873} 874 875type MatchmakingConfigurationStatus string 876 877// Enum values for MatchmakingConfigurationStatus 878const ( 879 MatchmakingConfigurationStatusCancelled MatchmakingConfigurationStatus = "CANCELLED" 880 MatchmakingConfigurationStatusCompleted MatchmakingConfigurationStatus = "COMPLETED" 881 MatchmakingConfigurationStatusFailed MatchmakingConfigurationStatus = "FAILED" 882 MatchmakingConfigurationStatusPlacing MatchmakingConfigurationStatus = "PLACING" 883 MatchmakingConfigurationStatusQueued MatchmakingConfigurationStatus = "QUEUED" 884 MatchmakingConfigurationStatusRequiresAcceptance MatchmakingConfigurationStatus = "REQUIRES_ACCEPTANCE" 885 MatchmakingConfigurationStatusSearching MatchmakingConfigurationStatus = "SEARCHING" 886 MatchmakingConfigurationStatusTimedOut MatchmakingConfigurationStatus = "TIMED_OUT" 887) 888 889// Values returns all known values for MatchmakingConfigurationStatus. Note that 890// this can be expanded in the future, and so it is only as up to date as the 891// client. The ordering of this slice is not guaranteed to be stable across 892// updates. 893func (MatchmakingConfigurationStatus) Values() []MatchmakingConfigurationStatus { 894 return []MatchmakingConfigurationStatus{ 895 "CANCELLED", 896 "COMPLETED", 897 "FAILED", 898 "PLACING", 899 "QUEUED", 900 "REQUIRES_ACCEPTANCE", 901 "SEARCHING", 902 "TIMED_OUT", 903 } 904} 905 906type MetricName string 907 908// Enum values for MetricName 909const ( 910 MetricNameActivatingGameSessions MetricName = "ActivatingGameSessions" 911 MetricNameActiveGameSessions MetricName = "ActiveGameSessions" 912 MetricNameActiveInstances MetricName = "ActiveInstances" 913 MetricNameAvailableGameSessions MetricName = "AvailableGameSessions" 914 MetricNameAvailablePlayerSessions MetricName = "AvailablePlayerSessions" 915 MetricNameCurrentPlayerSessions MetricName = "CurrentPlayerSessions" 916 MetricNameIdleInstances MetricName = "IdleInstances" 917 MetricNamePercentAvailableGameSessions MetricName = "PercentAvailableGameSessions" 918 MetricNamePercentIdleInstances MetricName = "PercentIdleInstances" 919 MetricNameQueueDepth MetricName = "QueueDepth" 920 MetricNameWaitTime MetricName = "WaitTime" 921) 922 923// Values returns all known values for MetricName. Note that this can be expanded 924// in the future, and so it is only as up to date as the client. The ordering of 925// this slice is not guaranteed to be stable across updates. 926func (MetricName) Values() []MetricName { 927 return []MetricName{ 928 "ActivatingGameSessions", 929 "ActiveGameSessions", 930 "ActiveInstances", 931 "AvailableGameSessions", 932 "AvailablePlayerSessions", 933 "CurrentPlayerSessions", 934 "IdleInstances", 935 "PercentAvailableGameSessions", 936 "PercentIdleInstances", 937 "QueueDepth", 938 "WaitTime", 939 } 940} 941 942type OperatingSystem string 943 944// Enum values for OperatingSystem 945const ( 946 OperatingSystemWindows2012 OperatingSystem = "WINDOWS_2012" 947 OperatingSystemAmazonLinux OperatingSystem = "AMAZON_LINUX" 948 OperatingSystemAmazonLinux2 OperatingSystem = "AMAZON_LINUX_2" 949) 950 951// Values returns all known values for OperatingSystem. Note that this can be 952// expanded in the future, and so it is only as up to date as the client. The 953// ordering of this slice is not guaranteed to be stable across updates. 954func (OperatingSystem) Values() []OperatingSystem { 955 return []OperatingSystem{ 956 "WINDOWS_2012", 957 "AMAZON_LINUX", 958 "AMAZON_LINUX_2", 959 } 960} 961 962type PlayerSessionCreationPolicy string 963 964// Enum values for PlayerSessionCreationPolicy 965const ( 966 PlayerSessionCreationPolicyAcceptAll PlayerSessionCreationPolicy = "ACCEPT_ALL" 967 PlayerSessionCreationPolicyDenyAll PlayerSessionCreationPolicy = "DENY_ALL" 968) 969 970// Values returns all known values for PlayerSessionCreationPolicy. Note that this 971// can be expanded in the future, and so it is only as up to date as the client. 972// The ordering of this slice is not guaranteed to be stable across updates. 973func (PlayerSessionCreationPolicy) Values() []PlayerSessionCreationPolicy { 974 return []PlayerSessionCreationPolicy{ 975 "ACCEPT_ALL", 976 "DENY_ALL", 977 } 978} 979 980type PlayerSessionStatus string 981 982// Enum values for PlayerSessionStatus 983const ( 984 PlayerSessionStatusReserved PlayerSessionStatus = "RESERVED" 985 PlayerSessionStatusActive PlayerSessionStatus = "ACTIVE" 986 PlayerSessionStatusCompleted PlayerSessionStatus = "COMPLETED" 987 PlayerSessionStatusTimedout PlayerSessionStatus = "TIMEDOUT" 988) 989 990// Values returns all known values for PlayerSessionStatus. Note that this can be 991// expanded in the future, and so it is only as up to date as the client. The 992// ordering of this slice is not guaranteed to be stable across updates. 993func (PlayerSessionStatus) Values() []PlayerSessionStatus { 994 return []PlayerSessionStatus{ 995 "RESERVED", 996 "ACTIVE", 997 "COMPLETED", 998 "TIMEDOUT", 999 } 1000} 1001 1002type PolicyType string 1003 1004// Enum values for PolicyType 1005const ( 1006 PolicyTypeRuleBased PolicyType = "RuleBased" 1007 PolicyTypeTargetBased PolicyType = "TargetBased" 1008) 1009 1010// Values returns all known values for PolicyType. Note that this can be expanded 1011// in the future, and so it is only as up to date as the client. The ordering of 1012// this slice is not guaranteed to be stable across updates. 1013func (PolicyType) Values() []PolicyType { 1014 return []PolicyType{ 1015 "RuleBased", 1016 "TargetBased", 1017 } 1018} 1019 1020type PriorityType string 1021 1022// Enum values for PriorityType 1023const ( 1024 PriorityTypeLatency PriorityType = "LATENCY" 1025 PriorityTypeCost PriorityType = "COST" 1026 PriorityTypeDestination PriorityType = "DESTINATION" 1027 PriorityTypeLocation PriorityType = "LOCATION" 1028) 1029 1030// Values returns all known values for PriorityType. Note that this can be expanded 1031// in the future, and so it is only as up to date as the client. The ordering of 1032// this slice is not guaranteed to be stable across updates. 1033func (PriorityType) Values() []PriorityType { 1034 return []PriorityType{ 1035 "LATENCY", 1036 "COST", 1037 "DESTINATION", 1038 "LOCATION", 1039 } 1040} 1041 1042type ProtectionPolicy string 1043 1044// Enum values for ProtectionPolicy 1045const ( 1046 ProtectionPolicyNoProtection ProtectionPolicy = "NoProtection" 1047 ProtectionPolicyFullProtection ProtectionPolicy = "FullProtection" 1048) 1049 1050// Values returns all known values for ProtectionPolicy. Note that this can be 1051// expanded in the future, and so it is only as up to date as the client. The 1052// ordering of this slice is not guaranteed to be stable across updates. 1053func (ProtectionPolicy) Values() []ProtectionPolicy { 1054 return []ProtectionPolicy{ 1055 "NoProtection", 1056 "FullProtection", 1057 } 1058} 1059 1060type RoutingStrategyType string 1061 1062// Enum values for RoutingStrategyType 1063const ( 1064 RoutingStrategyTypeSimple RoutingStrategyType = "SIMPLE" 1065 RoutingStrategyTypeTerminal RoutingStrategyType = "TERMINAL" 1066) 1067 1068// Values returns all known values for RoutingStrategyType. Note that this can be 1069// expanded in the future, and so it is only as up to date as the client. The 1070// ordering of this slice is not guaranteed to be stable across updates. 1071func (RoutingStrategyType) Values() []RoutingStrategyType { 1072 return []RoutingStrategyType{ 1073 "SIMPLE", 1074 "TERMINAL", 1075 } 1076} 1077 1078type ScalingAdjustmentType string 1079 1080// Enum values for ScalingAdjustmentType 1081const ( 1082 ScalingAdjustmentTypeChangeInCapacity ScalingAdjustmentType = "ChangeInCapacity" 1083 ScalingAdjustmentTypeExactCapacity ScalingAdjustmentType = "ExactCapacity" 1084 ScalingAdjustmentTypePercentChangeInCapacity ScalingAdjustmentType = "PercentChangeInCapacity" 1085) 1086 1087// Values returns all known values for ScalingAdjustmentType. Note that this can be 1088// expanded in the future, and so it is only as up to date as the client. The 1089// ordering of this slice is not guaranteed to be stable across updates. 1090func (ScalingAdjustmentType) Values() []ScalingAdjustmentType { 1091 return []ScalingAdjustmentType{ 1092 "ChangeInCapacity", 1093 "ExactCapacity", 1094 "PercentChangeInCapacity", 1095 } 1096} 1097 1098type ScalingStatusType string 1099 1100// Enum values for ScalingStatusType 1101const ( 1102 ScalingStatusTypeActive ScalingStatusType = "ACTIVE" 1103 ScalingStatusTypeUpdateRequested ScalingStatusType = "UPDATE_REQUESTED" 1104 ScalingStatusTypeUpdating ScalingStatusType = "UPDATING" 1105 ScalingStatusTypeDeleteRequested ScalingStatusType = "DELETE_REQUESTED" 1106 ScalingStatusTypeDeleting ScalingStatusType = "DELETING" 1107 ScalingStatusTypeDeleted ScalingStatusType = "DELETED" 1108 ScalingStatusTypeError ScalingStatusType = "ERROR" 1109) 1110 1111// Values returns all known values for ScalingStatusType. Note that this can be 1112// expanded in the future, and so it is only as up to date as the client. The 1113// ordering of this slice is not guaranteed to be stable across updates. 1114func (ScalingStatusType) Values() []ScalingStatusType { 1115 return []ScalingStatusType{ 1116 "ACTIVE", 1117 "UPDATE_REQUESTED", 1118 "UPDATING", 1119 "DELETE_REQUESTED", 1120 "DELETING", 1121 "DELETED", 1122 "ERROR", 1123 } 1124} 1125 1126type SortOrder string 1127 1128// Enum values for SortOrder 1129const ( 1130 SortOrderAscending SortOrder = "ASCENDING" 1131 SortOrderDescending SortOrder = "DESCENDING" 1132) 1133 1134// Values returns all known values for SortOrder. Note that this can be expanded in 1135// the future, and so it is only as up to date as the client. The ordering of this 1136// slice is not guaranteed to be stable across updates. 1137func (SortOrder) Values() []SortOrder { 1138 return []SortOrder{ 1139 "ASCENDING", 1140 "DESCENDING", 1141 } 1142} 1143