1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type DeploymentStatus string 6 7// Enum values for DeploymentStatus 8const ( 9 DeploymentStatusPendingUpdate DeploymentStatus = "PENDING_UPDATE" 10 DeploymentStatusInProgress DeploymentStatus = "IN_PROGRESS" 11 DeploymentStatusCompleted DeploymentStatus = "COMPLETED" 12 DeploymentStatusNotEligible DeploymentStatus = "NOT_ELIGIBLE" 13 DeploymentStatusEligible DeploymentStatus = "ELIGIBLE" 14) 15 16// Values returns all known values for DeploymentStatus. Note that this can be 17// expanded in the future, and so it is only as up to date as the client. The 18// ordering of this slice is not guaranteed to be stable across updates. 19func (DeploymentStatus) Values() []DeploymentStatus { 20 return []DeploymentStatus{ 21 "PENDING_UPDATE", 22 "IN_PROGRESS", 23 "COMPLETED", 24 "NOT_ELIGIBLE", 25 "ELIGIBLE", 26 } 27} 28 29type DescribePackagesFilterName string 30 31// Enum values for DescribePackagesFilterName 32const ( 33 DescribePackagesFilterNamePackageID DescribePackagesFilterName = "PackageID" 34 DescribePackagesFilterNamePackageName DescribePackagesFilterName = "PackageName" 35 DescribePackagesFilterNamePackageStatus DescribePackagesFilterName = "PackageStatus" 36) 37 38// Values returns all known values for DescribePackagesFilterName. Note that this 39// can be expanded in the future, and so it is only as up to date as the client. 40// The ordering of this slice is not guaranteed to be stable across updates. 41func (DescribePackagesFilterName) Values() []DescribePackagesFilterName { 42 return []DescribePackagesFilterName{ 43 "PackageID", 44 "PackageName", 45 "PackageStatus", 46 } 47} 48 49type DomainPackageStatus string 50 51// Enum values for DomainPackageStatus 52const ( 53 DomainPackageStatusAssociating DomainPackageStatus = "ASSOCIATING" 54 DomainPackageStatusAssociationFailed DomainPackageStatus = "ASSOCIATION_FAILED" 55 DomainPackageStatusActive DomainPackageStatus = "ACTIVE" 56 DomainPackageStatusDissociating DomainPackageStatus = "DISSOCIATING" 57 DomainPackageStatusDissociationFailed DomainPackageStatus = "DISSOCIATION_FAILED" 58) 59 60// Values returns all known values for DomainPackageStatus. Note that this can be 61// expanded in the future, and so it is only as up to date as the client. The 62// ordering of this slice is not guaranteed to be stable across updates. 63func (DomainPackageStatus) Values() []DomainPackageStatus { 64 return []DomainPackageStatus{ 65 "ASSOCIATING", 66 "ASSOCIATION_FAILED", 67 "ACTIVE", 68 "DISSOCIATING", 69 "DISSOCIATION_FAILED", 70 } 71} 72 73type ESPartitionInstanceType string 74 75// Enum values for ESPartitionInstanceType 76const ( 77 ESPartitionInstanceTypeM3MediumElasticsearch ESPartitionInstanceType = "m3.medium.elasticsearch" 78 ESPartitionInstanceTypeM3LargeElasticsearch ESPartitionInstanceType = "m3.large.elasticsearch" 79 ESPartitionInstanceTypeM3XlargeElasticsearch ESPartitionInstanceType = "m3.xlarge.elasticsearch" 80 ESPartitionInstanceTypeM32xlargeElasticsearch ESPartitionInstanceType = "m3.2xlarge.elasticsearch" 81 ESPartitionInstanceTypeM4LargeElasticsearch ESPartitionInstanceType = "m4.large.elasticsearch" 82 ESPartitionInstanceTypeM4XlargeElasticsearch ESPartitionInstanceType = "m4.xlarge.elasticsearch" 83 ESPartitionInstanceTypeM42xlargeElasticsearch ESPartitionInstanceType = "m4.2xlarge.elasticsearch" 84 ESPartitionInstanceTypeM44xlargeElasticsearch ESPartitionInstanceType = "m4.4xlarge.elasticsearch" 85 ESPartitionInstanceTypeM410xlargeElasticsearch ESPartitionInstanceType = "m4.10xlarge.elasticsearch" 86 ESPartitionInstanceTypeM5LargeElasticsearch ESPartitionInstanceType = "m5.large.elasticsearch" 87 ESPartitionInstanceTypeM5XlargeElasticsearch ESPartitionInstanceType = "m5.xlarge.elasticsearch" 88 ESPartitionInstanceTypeM52xlargeElasticsearch ESPartitionInstanceType = "m5.2xlarge.elasticsearch" 89 ESPartitionInstanceTypeM54xlargeElasticsearch ESPartitionInstanceType = "m5.4xlarge.elasticsearch" 90 ESPartitionInstanceTypeM512xlargeElasticsearch ESPartitionInstanceType = "m5.12xlarge.elasticsearch" 91 ESPartitionInstanceTypeR5LargeElasticsearch ESPartitionInstanceType = "r5.large.elasticsearch" 92 ESPartitionInstanceTypeR5XlargeElasticsearch ESPartitionInstanceType = "r5.xlarge.elasticsearch" 93 ESPartitionInstanceTypeR52xlargeElasticsearch ESPartitionInstanceType = "r5.2xlarge.elasticsearch" 94 ESPartitionInstanceTypeR54xlargeElasticsearch ESPartitionInstanceType = "r5.4xlarge.elasticsearch" 95 ESPartitionInstanceTypeR512xlargeElasticsearch ESPartitionInstanceType = "r5.12xlarge.elasticsearch" 96 ESPartitionInstanceTypeC5LargeElasticsearch ESPartitionInstanceType = "c5.large.elasticsearch" 97 ESPartitionInstanceTypeC5XlargeElasticsearch ESPartitionInstanceType = "c5.xlarge.elasticsearch" 98 ESPartitionInstanceTypeC52xlargeElasticsearch ESPartitionInstanceType = "c5.2xlarge.elasticsearch" 99 ESPartitionInstanceTypeC54xlargeElasticsearch ESPartitionInstanceType = "c5.4xlarge.elasticsearch" 100 ESPartitionInstanceTypeC59xlargeElasticsearch ESPartitionInstanceType = "c5.9xlarge.elasticsearch" 101 ESPartitionInstanceTypeC518xlargeElasticsearch ESPartitionInstanceType = "c5.18xlarge.elasticsearch" 102 ESPartitionInstanceTypeUltrawarm1MediumElasticsearch ESPartitionInstanceType = "ultrawarm1.medium.elasticsearch" 103 ESPartitionInstanceTypeUltrawarm1LargeElasticsearch ESPartitionInstanceType = "ultrawarm1.large.elasticsearch" 104 ESPartitionInstanceTypeT2MicroElasticsearch ESPartitionInstanceType = "t2.micro.elasticsearch" 105 ESPartitionInstanceTypeT2SmallElasticsearch ESPartitionInstanceType = "t2.small.elasticsearch" 106 ESPartitionInstanceTypeT2MediumElasticsearch ESPartitionInstanceType = "t2.medium.elasticsearch" 107 ESPartitionInstanceTypeR3LargeElasticsearch ESPartitionInstanceType = "r3.large.elasticsearch" 108 ESPartitionInstanceTypeR3XlargeElasticsearch ESPartitionInstanceType = "r3.xlarge.elasticsearch" 109 ESPartitionInstanceTypeR32xlargeElasticsearch ESPartitionInstanceType = "r3.2xlarge.elasticsearch" 110 ESPartitionInstanceTypeR34xlargeElasticsearch ESPartitionInstanceType = "r3.4xlarge.elasticsearch" 111 ESPartitionInstanceTypeR38xlargeElasticsearch ESPartitionInstanceType = "r3.8xlarge.elasticsearch" 112 ESPartitionInstanceTypeI2XlargeElasticsearch ESPartitionInstanceType = "i2.xlarge.elasticsearch" 113 ESPartitionInstanceTypeI22xlargeElasticsearch ESPartitionInstanceType = "i2.2xlarge.elasticsearch" 114 ESPartitionInstanceTypeD2XlargeElasticsearch ESPartitionInstanceType = "d2.xlarge.elasticsearch" 115 ESPartitionInstanceTypeD22xlargeElasticsearch ESPartitionInstanceType = "d2.2xlarge.elasticsearch" 116 ESPartitionInstanceTypeD24xlargeElasticsearch ESPartitionInstanceType = "d2.4xlarge.elasticsearch" 117 ESPartitionInstanceTypeD28xlargeElasticsearch ESPartitionInstanceType = "d2.8xlarge.elasticsearch" 118 ESPartitionInstanceTypeC4LargeElasticsearch ESPartitionInstanceType = "c4.large.elasticsearch" 119 ESPartitionInstanceTypeC4XlargeElasticsearch ESPartitionInstanceType = "c4.xlarge.elasticsearch" 120 ESPartitionInstanceTypeC42xlargeElasticsearch ESPartitionInstanceType = "c4.2xlarge.elasticsearch" 121 ESPartitionInstanceTypeC44xlargeElasticsearch ESPartitionInstanceType = "c4.4xlarge.elasticsearch" 122 ESPartitionInstanceTypeC48xlargeElasticsearch ESPartitionInstanceType = "c4.8xlarge.elasticsearch" 123 ESPartitionInstanceTypeR4LargeElasticsearch ESPartitionInstanceType = "r4.large.elasticsearch" 124 ESPartitionInstanceTypeR4XlargeElasticsearch ESPartitionInstanceType = "r4.xlarge.elasticsearch" 125 ESPartitionInstanceTypeR42xlargeElasticsearch ESPartitionInstanceType = "r4.2xlarge.elasticsearch" 126 ESPartitionInstanceTypeR44xlargeElasticsearch ESPartitionInstanceType = "r4.4xlarge.elasticsearch" 127 ESPartitionInstanceTypeR48xlargeElasticsearch ESPartitionInstanceType = "r4.8xlarge.elasticsearch" 128 ESPartitionInstanceTypeR416xlargeElasticsearch ESPartitionInstanceType = "r4.16xlarge.elasticsearch" 129 ESPartitionInstanceTypeI3LargeElasticsearch ESPartitionInstanceType = "i3.large.elasticsearch" 130 ESPartitionInstanceTypeI3XlargeElasticsearch ESPartitionInstanceType = "i3.xlarge.elasticsearch" 131 ESPartitionInstanceTypeI32xlargeElasticsearch ESPartitionInstanceType = "i3.2xlarge.elasticsearch" 132 ESPartitionInstanceTypeI34xlargeElasticsearch ESPartitionInstanceType = "i3.4xlarge.elasticsearch" 133 ESPartitionInstanceTypeI38xlargeElasticsearch ESPartitionInstanceType = "i3.8xlarge.elasticsearch" 134 ESPartitionInstanceTypeI316xlargeElasticsearch ESPartitionInstanceType = "i3.16xlarge.elasticsearch" 135) 136 137// Values returns all known values for ESPartitionInstanceType. Note that this can 138// be expanded in the future, and so it is only as up to date as the client. The 139// ordering of this slice is not guaranteed to be stable across updates. 140func (ESPartitionInstanceType) Values() []ESPartitionInstanceType { 141 return []ESPartitionInstanceType{ 142 "m3.medium.elasticsearch", 143 "m3.large.elasticsearch", 144 "m3.xlarge.elasticsearch", 145 "m3.2xlarge.elasticsearch", 146 "m4.large.elasticsearch", 147 "m4.xlarge.elasticsearch", 148 "m4.2xlarge.elasticsearch", 149 "m4.4xlarge.elasticsearch", 150 "m4.10xlarge.elasticsearch", 151 "m5.large.elasticsearch", 152 "m5.xlarge.elasticsearch", 153 "m5.2xlarge.elasticsearch", 154 "m5.4xlarge.elasticsearch", 155 "m5.12xlarge.elasticsearch", 156 "r5.large.elasticsearch", 157 "r5.xlarge.elasticsearch", 158 "r5.2xlarge.elasticsearch", 159 "r5.4xlarge.elasticsearch", 160 "r5.12xlarge.elasticsearch", 161 "c5.large.elasticsearch", 162 "c5.xlarge.elasticsearch", 163 "c5.2xlarge.elasticsearch", 164 "c5.4xlarge.elasticsearch", 165 "c5.9xlarge.elasticsearch", 166 "c5.18xlarge.elasticsearch", 167 "ultrawarm1.medium.elasticsearch", 168 "ultrawarm1.large.elasticsearch", 169 "t2.micro.elasticsearch", 170 "t2.small.elasticsearch", 171 "t2.medium.elasticsearch", 172 "r3.large.elasticsearch", 173 "r3.xlarge.elasticsearch", 174 "r3.2xlarge.elasticsearch", 175 "r3.4xlarge.elasticsearch", 176 "r3.8xlarge.elasticsearch", 177 "i2.xlarge.elasticsearch", 178 "i2.2xlarge.elasticsearch", 179 "d2.xlarge.elasticsearch", 180 "d2.2xlarge.elasticsearch", 181 "d2.4xlarge.elasticsearch", 182 "d2.8xlarge.elasticsearch", 183 "c4.large.elasticsearch", 184 "c4.xlarge.elasticsearch", 185 "c4.2xlarge.elasticsearch", 186 "c4.4xlarge.elasticsearch", 187 "c4.8xlarge.elasticsearch", 188 "r4.large.elasticsearch", 189 "r4.xlarge.elasticsearch", 190 "r4.2xlarge.elasticsearch", 191 "r4.4xlarge.elasticsearch", 192 "r4.8xlarge.elasticsearch", 193 "r4.16xlarge.elasticsearch", 194 "i3.large.elasticsearch", 195 "i3.xlarge.elasticsearch", 196 "i3.2xlarge.elasticsearch", 197 "i3.4xlarge.elasticsearch", 198 "i3.8xlarge.elasticsearch", 199 "i3.16xlarge.elasticsearch", 200 } 201} 202 203type ESWarmPartitionInstanceType string 204 205// Enum values for ESWarmPartitionInstanceType 206const ( 207 ESWarmPartitionInstanceTypeUltrawarm1MediumElasticsearch ESWarmPartitionInstanceType = "ultrawarm1.medium.elasticsearch" 208 ESWarmPartitionInstanceTypeUltrawarm1LargeElasticsearch ESWarmPartitionInstanceType = "ultrawarm1.large.elasticsearch" 209) 210 211// Values returns all known values for ESWarmPartitionInstanceType. Note that this 212// can be expanded in the future, and so it is only as up to date as the client. 213// The ordering of this slice is not guaranteed to be stable across updates. 214func (ESWarmPartitionInstanceType) Values() []ESWarmPartitionInstanceType { 215 return []ESWarmPartitionInstanceType{ 216 "ultrawarm1.medium.elasticsearch", 217 "ultrawarm1.large.elasticsearch", 218 } 219} 220 221type InboundCrossClusterSearchConnectionStatusCode string 222 223// Enum values for InboundCrossClusterSearchConnectionStatusCode 224const ( 225 InboundCrossClusterSearchConnectionStatusCodePendingAcceptance InboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE" 226 InboundCrossClusterSearchConnectionStatusCodeApproved InboundCrossClusterSearchConnectionStatusCode = "APPROVED" 227 InboundCrossClusterSearchConnectionStatusCodeRejecting InboundCrossClusterSearchConnectionStatusCode = "REJECTING" 228 InboundCrossClusterSearchConnectionStatusCodeRejected InboundCrossClusterSearchConnectionStatusCode = "REJECTED" 229 InboundCrossClusterSearchConnectionStatusCodeDeleting InboundCrossClusterSearchConnectionStatusCode = "DELETING" 230 InboundCrossClusterSearchConnectionStatusCodeDeleted InboundCrossClusterSearchConnectionStatusCode = "DELETED" 231) 232 233// Values returns all known values for 234// InboundCrossClusterSearchConnectionStatusCode. Note that this can be expanded in 235// the future, and so it is only as up to date as the client. The ordering of this 236// slice is not guaranteed to be stable across updates. 237func (InboundCrossClusterSearchConnectionStatusCode) Values() []InboundCrossClusterSearchConnectionStatusCode { 238 return []InboundCrossClusterSearchConnectionStatusCode{ 239 "PENDING_ACCEPTANCE", 240 "APPROVED", 241 "REJECTING", 242 "REJECTED", 243 "DELETING", 244 "DELETED", 245 } 246} 247 248type LogType string 249 250// Enum values for LogType 251const ( 252 LogTypeIndexSlowLogs LogType = "INDEX_SLOW_LOGS" 253 LogTypeSearchSlowLogs LogType = "SEARCH_SLOW_LOGS" 254 LogTypeEsApplicationLogs LogType = "ES_APPLICATION_LOGS" 255 LogTypeAuditLogs LogType = "AUDIT_LOGS" 256) 257 258// Values returns all known values for LogType. Note that this can be expanded in 259// the future, and so it is only as up to date as the client. The ordering of this 260// slice is not guaranteed to be stable across updates. 261func (LogType) Values() []LogType { 262 return []LogType{ 263 "INDEX_SLOW_LOGS", 264 "SEARCH_SLOW_LOGS", 265 "ES_APPLICATION_LOGS", 266 "AUDIT_LOGS", 267 } 268} 269 270type OptionState string 271 272// Enum values for OptionState 273const ( 274 OptionStateRequiresIndexDocuments OptionState = "RequiresIndexDocuments" 275 OptionStateProcessing OptionState = "Processing" 276 OptionStateActive OptionState = "Active" 277) 278 279// Values returns all known values for OptionState. Note that this can be expanded 280// in the future, and so it is only as up to date as the client. The ordering of 281// this slice is not guaranteed to be stable across updates. 282func (OptionState) Values() []OptionState { 283 return []OptionState{ 284 "RequiresIndexDocuments", 285 "Processing", 286 "Active", 287 } 288} 289 290type OutboundCrossClusterSearchConnectionStatusCode string 291 292// Enum values for OutboundCrossClusterSearchConnectionStatusCode 293const ( 294 OutboundCrossClusterSearchConnectionStatusCodePendingAcceptance OutboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE" 295 OutboundCrossClusterSearchConnectionStatusCodeValidating OutboundCrossClusterSearchConnectionStatusCode = "VALIDATING" 296 OutboundCrossClusterSearchConnectionStatusCodeValidationFailed OutboundCrossClusterSearchConnectionStatusCode = "VALIDATION_FAILED" 297 OutboundCrossClusterSearchConnectionStatusCodeProvisioning OutboundCrossClusterSearchConnectionStatusCode = "PROVISIONING" 298 OutboundCrossClusterSearchConnectionStatusCodeActive OutboundCrossClusterSearchConnectionStatusCode = "ACTIVE" 299 OutboundCrossClusterSearchConnectionStatusCodeRejected OutboundCrossClusterSearchConnectionStatusCode = "REJECTED" 300 OutboundCrossClusterSearchConnectionStatusCodeDeleting OutboundCrossClusterSearchConnectionStatusCode = "DELETING" 301 OutboundCrossClusterSearchConnectionStatusCodeDeleted OutboundCrossClusterSearchConnectionStatusCode = "DELETED" 302) 303 304// Values returns all known values for 305// OutboundCrossClusterSearchConnectionStatusCode. Note that this can be expanded 306// in the future, and so it is only as up to date as the client. The ordering of 307// this slice is not guaranteed to be stable across updates. 308func (OutboundCrossClusterSearchConnectionStatusCode) Values() []OutboundCrossClusterSearchConnectionStatusCode { 309 return []OutboundCrossClusterSearchConnectionStatusCode{ 310 "PENDING_ACCEPTANCE", 311 "VALIDATING", 312 "VALIDATION_FAILED", 313 "PROVISIONING", 314 "ACTIVE", 315 "REJECTED", 316 "DELETING", 317 "DELETED", 318 } 319} 320 321type PackageStatus string 322 323// Enum values for PackageStatus 324const ( 325 PackageStatusCopying PackageStatus = "COPYING" 326 PackageStatusCopyFailed PackageStatus = "COPY_FAILED" 327 PackageStatusValidating PackageStatus = "VALIDATING" 328 PackageStatusValidationFailed PackageStatus = "VALIDATION_FAILED" 329 PackageStatusAvailable PackageStatus = "AVAILABLE" 330 PackageStatusDeleting PackageStatus = "DELETING" 331 PackageStatusDeleted PackageStatus = "DELETED" 332 PackageStatusDeleteFailed PackageStatus = "DELETE_FAILED" 333) 334 335// Values returns all known values for PackageStatus. Note that this can be 336// expanded in the future, and so it is only as up to date as the client. The 337// ordering of this slice is not guaranteed to be stable across updates. 338func (PackageStatus) Values() []PackageStatus { 339 return []PackageStatus{ 340 "COPYING", 341 "COPY_FAILED", 342 "VALIDATING", 343 "VALIDATION_FAILED", 344 "AVAILABLE", 345 "DELETING", 346 "DELETED", 347 "DELETE_FAILED", 348 } 349} 350 351type PackageType string 352 353// Enum values for PackageType 354const ( 355 PackageTypeTxtDictionary PackageType = "TXT-DICTIONARY" 356) 357 358// Values returns all known values for PackageType. Note that this can be expanded 359// in the future, and so it is only as up to date as the client. The ordering of 360// this slice is not guaranteed to be stable across updates. 361func (PackageType) Values() []PackageType { 362 return []PackageType{ 363 "TXT-DICTIONARY", 364 } 365} 366 367type ReservedElasticsearchInstancePaymentOption string 368 369// Enum values for ReservedElasticsearchInstancePaymentOption 370const ( 371 ReservedElasticsearchInstancePaymentOptionAllUpfront ReservedElasticsearchInstancePaymentOption = "ALL_UPFRONT" 372 ReservedElasticsearchInstancePaymentOptionPartialUpfront ReservedElasticsearchInstancePaymentOption = "PARTIAL_UPFRONT" 373 ReservedElasticsearchInstancePaymentOptionNoUpfront ReservedElasticsearchInstancePaymentOption = "NO_UPFRONT" 374) 375 376// Values returns all known values for ReservedElasticsearchInstancePaymentOption. 377// Note that this can be expanded in the future, and so it is only as up to date as 378// the client. The ordering of this slice is not guaranteed to be stable across 379// updates. 380func (ReservedElasticsearchInstancePaymentOption) Values() []ReservedElasticsearchInstancePaymentOption { 381 return []ReservedElasticsearchInstancePaymentOption{ 382 "ALL_UPFRONT", 383 "PARTIAL_UPFRONT", 384 "NO_UPFRONT", 385 } 386} 387 388type TLSSecurityPolicy string 389 390// Enum values for TLSSecurityPolicy 391const ( 392 TLSSecurityPolicyPolicyMinTls10201907 TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07" 393 TLSSecurityPolicyPolicyMinTls12201907 TLSSecurityPolicy = "Policy-Min-TLS-1-2-2019-07" 394) 395 396// Values returns all known values for TLSSecurityPolicy. Note that this can be 397// expanded in the future, and so it is only as up to date as the client. The 398// ordering of this slice is not guaranteed to be stable across updates. 399func (TLSSecurityPolicy) Values() []TLSSecurityPolicy { 400 return []TLSSecurityPolicy{ 401 "Policy-Min-TLS-1-0-2019-07", 402 "Policy-Min-TLS-1-2-2019-07", 403 } 404} 405 406type UpgradeStatus string 407 408// Enum values for UpgradeStatus 409const ( 410 UpgradeStatusInProgress UpgradeStatus = "IN_PROGRESS" 411 UpgradeStatusSucceeded UpgradeStatus = "SUCCEEDED" 412 UpgradeStatusSucceededWithIssues UpgradeStatus = "SUCCEEDED_WITH_ISSUES" 413 UpgradeStatusFailed UpgradeStatus = "FAILED" 414) 415 416// Values returns all known values for UpgradeStatus. Note that this can be 417// expanded in the future, and so it is only as up to date as the client. The 418// ordering of this slice is not guaranteed to be stable across updates. 419func (UpgradeStatus) Values() []UpgradeStatus { 420 return []UpgradeStatus{ 421 "IN_PROGRESS", 422 "SUCCEEDED", 423 "SUCCEEDED_WITH_ISSUES", 424 "FAILED", 425 } 426} 427 428type UpgradeStep string 429 430// Enum values for UpgradeStep 431const ( 432 UpgradeStepPreUpgradeCheck UpgradeStep = "PRE_UPGRADE_CHECK" 433 UpgradeStepSnapshot UpgradeStep = "SNAPSHOT" 434 UpgradeStepUpgrade UpgradeStep = "UPGRADE" 435) 436 437// Values returns all known values for UpgradeStep. Note that this can be expanded 438// in the future, and so it is only as up to date as the client. The ordering of 439// this slice is not guaranteed to be stable across updates. 440func (UpgradeStep) Values() []UpgradeStep { 441 return []UpgradeStep{ 442 "PRE_UPGRADE_CHECK", 443 "SNAPSHOT", 444 "UPGRADE", 445 } 446} 447 448type VolumeType string 449 450// Enum values for VolumeType 451const ( 452 VolumeTypeStandard VolumeType = "standard" 453 VolumeTypeGp2 VolumeType = "gp2" 454 VolumeTypeIo1 VolumeType = "io1" 455) 456 457// Values returns all known values for VolumeType. Note that this can be expanded 458// in the future, and so it is only as up to date as the client. The ordering of 459// this slice is not guaranteed to be stable across updates. 460func (VolumeType) Values() []VolumeType { 461 return []VolumeType{ 462 "standard", 463 "gp2", 464 "io1", 465 } 466} 467