-
Notifications
You must be signed in to change notification settings - Fork 597
/
enums.go
1814 lines (1609 loc) · 68.4 KB
/
enums.go
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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AccessDirection string
// Enum values for AccessDirection
const (
AccessDirectionInbound AccessDirection = "inbound"
AccessDirectionOutbound AccessDirection = "outbound"
)
// Values returns all known values for AccessDirection. 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 (AccessDirection) Values() []AccessDirection {
return []AccessDirection{
"inbound",
"outbound",
}
}
type AccessType string
// Enum values for AccessType
const (
AccessTypePublic AccessType = "public"
AccessTypePrivate AccessType = "private"
)
// Values returns all known values for AccessType. 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 (AccessType) Values() []AccessType {
return []AccessType{
"public",
"private",
}
}
type AccountLevelBpaSyncStatus string
// Enum values for AccountLevelBpaSyncStatus
const (
AccountLevelBpaSyncStatusInSync AccountLevelBpaSyncStatus = "InSync"
AccountLevelBpaSyncStatusFailed AccountLevelBpaSyncStatus = "Failed"
AccountLevelBpaSyncStatusNeverSynced AccountLevelBpaSyncStatus = "NeverSynced"
AccountLevelBpaSyncStatusDefaulted AccountLevelBpaSyncStatus = "Defaulted"
)
// Values returns all known values for AccountLevelBpaSyncStatus. 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 (AccountLevelBpaSyncStatus) Values() []AccountLevelBpaSyncStatus {
return []AccountLevelBpaSyncStatus{
"InSync",
"Failed",
"NeverSynced",
"Defaulted",
}
}
type AddOnType string
// Enum values for AddOnType
const (
AddOnTypeAutoSnapshot AddOnType = "AutoSnapshot"
)
// Values returns all known values for AddOnType. 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 (AddOnType) Values() []AddOnType {
return []AddOnType{
"AutoSnapshot",
}
}
type AlarmState string
// Enum values for AlarmState
const (
AlarmStateOk AlarmState = "OK"
AlarmStateAlarm AlarmState = "ALARM"
AlarmStateInsufficientData AlarmState = "INSUFFICIENT_DATA"
)
// Values returns all known values for AlarmState. 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 (AlarmState) Values() []AlarmState {
return []AlarmState{
"OK",
"ALARM",
"INSUFFICIENT_DATA",
}
}
type AutoSnapshotStatus string
// Enum values for AutoSnapshotStatus
const (
AutoSnapshotStatusSuccess AutoSnapshotStatus = "Success"
AutoSnapshotStatusFailed AutoSnapshotStatus = "Failed"
AutoSnapshotStatusInProgress AutoSnapshotStatus = "InProgress"
AutoSnapshotStatusNotFound AutoSnapshotStatus = "NotFound"
)
// Values returns all known values for AutoSnapshotStatus. 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 (AutoSnapshotStatus) Values() []AutoSnapshotStatus {
return []AutoSnapshotStatus{
"Success",
"Failed",
"InProgress",
"NotFound",
}
}
type BehaviorEnum string
// Enum values for BehaviorEnum
const (
BehaviorEnumDontCacheSetting BehaviorEnum = "dont-cache"
BehaviorEnumCacheSetting BehaviorEnum = "cache"
)
// Values returns all known values for BehaviorEnum. 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 (BehaviorEnum) Values() []BehaviorEnum {
return []BehaviorEnum{
"dont-cache",
"cache",
}
}
type BlueprintType string
// Enum values for BlueprintType
const (
BlueprintTypeOs BlueprintType = "os"
BlueprintTypeApp BlueprintType = "app"
)
// Values returns all known values for BlueprintType. 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 (BlueprintType) Values() []BlueprintType {
return []BlueprintType{
"os",
"app",
}
}
type BPAStatusMessage string
// Enum values for BPAStatusMessage
const (
BPAStatusMessageDefaultedForSlrMissing BPAStatusMessage = "DEFAULTED_FOR_SLR_MISSING"
BPAStatusMessageSyncOnHold BPAStatusMessage = "SYNC_ON_HOLD"
BPAStatusMessageDefaultedForSlrMissingOnHold BPAStatusMessage = "DEFAULTED_FOR_SLR_MISSING_ON_HOLD"
BPAStatusMessageUnknown BPAStatusMessage = "Unknown"
)
// Values returns all known values for BPAStatusMessage. 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 (BPAStatusMessage) Values() []BPAStatusMessage {
return []BPAStatusMessage{
"DEFAULTED_FOR_SLR_MISSING",
"SYNC_ON_HOLD",
"DEFAULTED_FOR_SLR_MISSING_ON_HOLD",
"Unknown",
}
}
type BucketMetricName string
// Enum values for BucketMetricName
const (
BucketMetricNameBucketSizeBytes BucketMetricName = "BucketSizeBytes"
BucketMetricNameNumberOfObjects BucketMetricName = "NumberOfObjects"
)
// Values returns all known values for BucketMetricName. 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 (BucketMetricName) Values() []BucketMetricName {
return []BucketMetricName{
"BucketSizeBytes",
"NumberOfObjects",
}
}
type CertificateStatus string
// Enum values for CertificateStatus
const (
CertificateStatusPendingValidation CertificateStatus = "PENDING_VALIDATION"
CertificateStatusIssued CertificateStatus = "ISSUED"
CertificateStatusInactive CertificateStatus = "INACTIVE"
CertificateStatusExpired CertificateStatus = "EXPIRED"
CertificateStatusValidationTimedOut CertificateStatus = "VALIDATION_TIMED_OUT"
CertificateStatusRevoked CertificateStatus = "REVOKED"
CertificateStatusFailed CertificateStatus = "FAILED"
)
// Values returns all known values for CertificateStatus. 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 (CertificateStatus) Values() []CertificateStatus {
return []CertificateStatus{
"PENDING_VALIDATION",
"ISSUED",
"INACTIVE",
"EXPIRED",
"VALIDATION_TIMED_OUT",
"REVOKED",
"FAILED",
}
}
type CloudFormationStackRecordSourceType string
// Enum values for CloudFormationStackRecordSourceType
const (
CloudFormationStackRecordSourceTypeExportSnapshotRecord CloudFormationStackRecordSourceType = "ExportSnapshotRecord"
)
// Values returns all known values for CloudFormationStackRecordSourceType. 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 (CloudFormationStackRecordSourceType) Values() []CloudFormationStackRecordSourceType {
return []CloudFormationStackRecordSourceType{
"ExportSnapshotRecord",
}
}
type ComparisonOperator string
// Enum values for ComparisonOperator
const (
ComparisonOperatorGreaterThanOrEqualToThreshold ComparisonOperator = "GreaterThanOrEqualToThreshold"
ComparisonOperatorGreaterThanThreshold ComparisonOperator = "GreaterThanThreshold"
ComparisonOperatorLessThanThreshold ComparisonOperator = "LessThanThreshold"
ComparisonOperatorLessThanOrEqualToThreshold ComparisonOperator = "LessThanOrEqualToThreshold"
)
// Values returns all known values for ComparisonOperator. 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 (ComparisonOperator) Values() []ComparisonOperator {
return []ComparisonOperator{
"GreaterThanOrEqualToThreshold",
"GreaterThanThreshold",
"LessThanThreshold",
"LessThanOrEqualToThreshold",
}
}
type ContactMethodStatus string
// Enum values for ContactMethodStatus
const (
ContactMethodStatusPendingVerification ContactMethodStatus = "PendingVerification"
ContactMethodStatusValid ContactMethodStatus = "Valid"
ContactMethodStatusInvalid ContactMethodStatus = "Invalid"
)
// Values returns all known values for ContactMethodStatus. 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 (ContactMethodStatus) Values() []ContactMethodStatus {
return []ContactMethodStatus{
"PendingVerification",
"Valid",
"Invalid",
}
}
type ContactMethodVerificationProtocol string
// Enum values for ContactMethodVerificationProtocol
const (
ContactMethodVerificationProtocolEmail ContactMethodVerificationProtocol = "Email"
)
// Values returns all known values for ContactMethodVerificationProtocol. 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 (ContactMethodVerificationProtocol) Values() []ContactMethodVerificationProtocol {
return []ContactMethodVerificationProtocol{
"Email",
}
}
type ContactProtocol string
// Enum values for ContactProtocol
const (
ContactProtocolEmail ContactProtocol = "Email"
ContactProtocolSms ContactProtocol = "SMS"
)
// Values returns all known values for ContactProtocol. 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 (ContactProtocol) Values() []ContactProtocol {
return []ContactProtocol{
"Email",
"SMS",
}
}
type ContainerServiceDeploymentState string
// Enum values for ContainerServiceDeploymentState
const (
ContainerServiceDeploymentStateActivating ContainerServiceDeploymentState = "ACTIVATING"
ContainerServiceDeploymentStateActive ContainerServiceDeploymentState = "ACTIVE"
ContainerServiceDeploymentStateInactive ContainerServiceDeploymentState = "INACTIVE"
ContainerServiceDeploymentStateFailed ContainerServiceDeploymentState = "FAILED"
)
// Values returns all known values for ContainerServiceDeploymentState. 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 (ContainerServiceDeploymentState) Values() []ContainerServiceDeploymentState {
return []ContainerServiceDeploymentState{
"ACTIVATING",
"ACTIVE",
"INACTIVE",
"FAILED",
}
}
type ContainerServiceMetricName string
// Enum values for ContainerServiceMetricName
const (
ContainerServiceMetricNameCPUUtilization ContainerServiceMetricName = "CPUUtilization"
ContainerServiceMetricNameMemoryUtilization ContainerServiceMetricName = "MemoryUtilization"
)
// Values returns all known values for ContainerServiceMetricName. 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 (ContainerServiceMetricName) Values() []ContainerServiceMetricName {
return []ContainerServiceMetricName{
"CPUUtilization",
"MemoryUtilization",
}
}
type ContainerServicePowerName string
// Enum values for ContainerServicePowerName
const (
ContainerServicePowerNameNano ContainerServicePowerName = "nano"
ContainerServicePowerNameMicro ContainerServicePowerName = "micro"
ContainerServicePowerNameSmall ContainerServicePowerName = "small"
ContainerServicePowerNameMedium ContainerServicePowerName = "medium"
ContainerServicePowerNameLarge ContainerServicePowerName = "large"
ContainerServicePowerNameXlarge ContainerServicePowerName = "xlarge"
)
// Values returns all known values for ContainerServicePowerName. 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 (ContainerServicePowerName) Values() []ContainerServicePowerName {
return []ContainerServicePowerName{
"nano",
"micro",
"small",
"medium",
"large",
"xlarge",
}
}
type ContainerServiceProtocol string
// Enum values for ContainerServiceProtocol
const (
ContainerServiceProtocolHttp ContainerServiceProtocol = "HTTP"
ContainerServiceProtocolHttps ContainerServiceProtocol = "HTTPS"
ContainerServiceProtocolTcp ContainerServiceProtocol = "TCP"
ContainerServiceProtocolUdp ContainerServiceProtocol = "UDP"
)
// Values returns all known values for ContainerServiceProtocol. 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 (ContainerServiceProtocol) Values() []ContainerServiceProtocol {
return []ContainerServiceProtocol{
"HTTP",
"HTTPS",
"TCP",
"UDP",
}
}
type ContainerServiceState string
// Enum values for ContainerServiceState
const (
ContainerServiceStatePending ContainerServiceState = "PENDING"
ContainerServiceStateReady ContainerServiceState = "READY"
ContainerServiceStateRunning ContainerServiceState = "RUNNING"
ContainerServiceStateUpdating ContainerServiceState = "UPDATING"
ContainerServiceStateDeleting ContainerServiceState = "DELETING"
ContainerServiceStateDisabled ContainerServiceState = "DISABLED"
ContainerServiceStateDeploying ContainerServiceState = "DEPLOYING"
)
// Values returns all known values for ContainerServiceState. 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 (ContainerServiceState) Values() []ContainerServiceState {
return []ContainerServiceState{
"PENDING",
"READY",
"RUNNING",
"UPDATING",
"DELETING",
"DISABLED",
"DEPLOYING",
}
}
type ContainerServiceStateDetailCode string
// Enum values for ContainerServiceStateDetailCode
const (
ContainerServiceStateDetailCodeCreatingSystemResources ContainerServiceStateDetailCode = "CREATING_SYSTEM_RESOURCES"
ContainerServiceStateDetailCodeCreatingNetworkInfrastructure ContainerServiceStateDetailCode = "CREATING_NETWORK_INFRASTRUCTURE"
ContainerServiceStateDetailCodeProvisioningCertificate ContainerServiceStateDetailCode = "PROVISIONING_CERTIFICATE"
ContainerServiceStateDetailCodeProvisioningService ContainerServiceStateDetailCode = "PROVISIONING_SERVICE"
ContainerServiceStateDetailCodeCreatingDeployment ContainerServiceStateDetailCode = "CREATING_DEPLOYMENT"
ContainerServiceStateDetailCodeEvaluatingHealthCheck ContainerServiceStateDetailCode = "EVALUATING_HEALTH_CHECK"
ContainerServiceStateDetailCodeActivatingDeployment ContainerServiceStateDetailCode = "ACTIVATING_DEPLOYMENT"
ContainerServiceStateDetailCodeCertificateLimitExceeded ContainerServiceStateDetailCode = "CERTIFICATE_LIMIT_EXCEEDED"
ContainerServiceStateDetailCodeUnknownError ContainerServiceStateDetailCode = "UNKNOWN_ERROR"
)
// Values returns all known values for ContainerServiceStateDetailCode. 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 (ContainerServiceStateDetailCode) Values() []ContainerServiceStateDetailCode {
return []ContainerServiceStateDetailCode{
"CREATING_SYSTEM_RESOURCES",
"CREATING_NETWORK_INFRASTRUCTURE",
"PROVISIONING_CERTIFICATE",
"PROVISIONING_SERVICE",
"CREATING_DEPLOYMENT",
"EVALUATING_HEALTH_CHECK",
"ACTIVATING_DEPLOYMENT",
"CERTIFICATE_LIMIT_EXCEEDED",
"UNKNOWN_ERROR",
}
}
type DiskSnapshotState string
// Enum values for DiskSnapshotState
const (
DiskSnapshotStatePending DiskSnapshotState = "pending"
DiskSnapshotStateCompleted DiskSnapshotState = "completed"
DiskSnapshotStateError DiskSnapshotState = "error"
DiskSnapshotStateUnknown DiskSnapshotState = "unknown"
)
// Values returns all known values for DiskSnapshotState. 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 (DiskSnapshotState) Values() []DiskSnapshotState {
return []DiskSnapshotState{
"pending",
"completed",
"error",
"unknown",
}
}
type DiskState string
// Enum values for DiskState
const (
DiskStatePending DiskState = "pending"
DiskStateError DiskState = "error"
DiskStateAvailable DiskState = "available"
DiskStateInUse DiskState = "in-use"
DiskStateUnknown DiskState = "unknown"
)
// Values returns all known values for DiskState. 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 (DiskState) Values() []DiskState {
return []DiskState{
"pending",
"error",
"available",
"in-use",
"unknown",
}
}
type DistributionMetricName string
// Enum values for DistributionMetricName
const (
DistributionMetricNameRequests DistributionMetricName = "Requests"
DistributionMetricNameBytesDownloaded DistributionMetricName = "BytesDownloaded"
DistributionMetricNameBytesUploaded DistributionMetricName = "BytesUploaded"
DistributionMetricNameTotalErrorRate DistributionMetricName = "TotalErrorRate"
DistributionMetricNameHttp4xxErrorRate DistributionMetricName = "Http4xxErrorRate"
DistributionMetricNameHttp5xxErrorRate DistributionMetricName = "Http5xxErrorRate"
)
// Values returns all known values for DistributionMetricName. 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 (DistributionMetricName) Values() []DistributionMetricName {
return []DistributionMetricName{
"Requests",
"BytesDownloaded",
"BytesUploaded",
"TotalErrorRate",
"Http4xxErrorRate",
"Http5xxErrorRate",
}
}
type ExportSnapshotRecordSourceType string
// Enum values for ExportSnapshotRecordSourceType
const (
ExportSnapshotRecordSourceTypeInstanceSnapshot ExportSnapshotRecordSourceType = "InstanceSnapshot"
ExportSnapshotRecordSourceTypeDiskSnapshot ExportSnapshotRecordSourceType = "DiskSnapshot"
)
// Values returns all known values for ExportSnapshotRecordSourceType. 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 (ExportSnapshotRecordSourceType) Values() []ExportSnapshotRecordSourceType {
return []ExportSnapshotRecordSourceType{
"InstanceSnapshot",
"DiskSnapshot",
}
}
type ForwardValues string
// Enum values for ForwardValues
const (
ForwardValuesNone ForwardValues = "none"
ForwardValuesAllowList ForwardValues = "allow-list"
ForwardValuesAll ForwardValues = "all"
)
// Values returns all known values for ForwardValues. 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 (ForwardValues) Values() []ForwardValues {
return []ForwardValues{
"none",
"allow-list",
"all",
}
}
type HeaderEnum string
// Enum values for HeaderEnum
const (
HeaderEnumAccept HeaderEnum = "Accept"
HeaderEnumAcceptCharset HeaderEnum = "Accept-Charset"
HeaderEnumAcceptDatetime HeaderEnum = "Accept-Datetime"
HeaderEnumAcceptEncoding HeaderEnum = "Accept-Encoding"
HeaderEnumAcceptLanguage HeaderEnum = "Accept-Language"
HeaderEnumAuthorization HeaderEnum = "Authorization"
HeaderEnumCloudFrontForwardedProto HeaderEnum = "CloudFront-Forwarded-Proto"
HeaderEnumCloudFrontIsDesktopViewer HeaderEnum = "CloudFront-Is-Desktop-Viewer"
HeaderEnumCloudFrontIsMobileViewer HeaderEnum = "CloudFront-Is-Mobile-Viewer"
HeaderEnumCloudFrontIsSmartTVViewer HeaderEnum = "CloudFront-Is-SmartTV-Viewer"
HeaderEnumCloudFrontIsTabletViewer HeaderEnum = "CloudFront-Is-Tablet-Viewer"
HeaderEnumCloudFrontViewerCountry HeaderEnum = "CloudFront-Viewer-Country"
HeaderEnumHost HeaderEnum = "Host"
HeaderEnumOrigin HeaderEnum = "Origin"
HeaderEnumReferer HeaderEnum = "Referer"
)
// Values returns all known values for HeaderEnum. 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 (HeaderEnum) Values() []HeaderEnum {
return []HeaderEnum{
"Accept",
"Accept-Charset",
"Accept-Datetime",
"Accept-Encoding",
"Accept-Language",
"Authorization",
"CloudFront-Forwarded-Proto",
"CloudFront-Is-Desktop-Viewer",
"CloudFront-Is-Mobile-Viewer",
"CloudFront-Is-SmartTV-Viewer",
"CloudFront-Is-Tablet-Viewer",
"CloudFront-Viewer-Country",
"Host",
"Origin",
"Referer",
}
}
type HttpEndpoint string
// Enum values for HttpEndpoint
const (
HttpEndpointDisabled HttpEndpoint = "disabled"
HttpEndpointEnabled HttpEndpoint = "enabled"
)
// Values returns all known values for HttpEndpoint. 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 (HttpEndpoint) Values() []HttpEndpoint {
return []HttpEndpoint{
"disabled",
"enabled",
}
}
type HttpProtocolIpv6 string
// Enum values for HttpProtocolIpv6
const (
HttpProtocolIpv6Disabled HttpProtocolIpv6 = "disabled"
HttpProtocolIpv6Enabled HttpProtocolIpv6 = "enabled"
)
// Values returns all known values for HttpProtocolIpv6. 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 (HttpProtocolIpv6) Values() []HttpProtocolIpv6 {
return []HttpProtocolIpv6{
"disabled",
"enabled",
}
}
type HttpTokens string
// Enum values for HttpTokens
const (
HttpTokensOptional HttpTokens = "optional"
HttpTokensRequired HttpTokens = "required"
)
// Values returns all known values for HttpTokens. 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 (HttpTokens) Values() []HttpTokens {
return []HttpTokens{
"optional",
"required",
}
}
type InstanceAccessProtocol string
// Enum values for InstanceAccessProtocol
const (
InstanceAccessProtocolSsh InstanceAccessProtocol = "ssh"
InstanceAccessProtocolRdp InstanceAccessProtocol = "rdp"
)
// Values returns all known values for InstanceAccessProtocol. 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 (InstanceAccessProtocol) Values() []InstanceAccessProtocol {
return []InstanceAccessProtocol{
"ssh",
"rdp",
}
}
type InstanceHealthReason string
// Enum values for InstanceHealthReason
const (
InstanceHealthReasonLbRegistrationInProgress InstanceHealthReason = "Lb.RegistrationInProgress"
InstanceHealthReasonLbInitialHealthChecking InstanceHealthReason = "Lb.InitialHealthChecking"
InstanceHealthReasonLbInternalError InstanceHealthReason = "Lb.InternalError"
InstanceHealthReasonInstanceResponseCodeMismatch InstanceHealthReason = "Instance.ResponseCodeMismatch"
InstanceHealthReasonInstanceTimeout InstanceHealthReason = "Instance.Timeout"
InstanceHealthReasonInstanceFailedHealthChecks InstanceHealthReason = "Instance.FailedHealthChecks"
InstanceHealthReasonInstanceNotRegistered InstanceHealthReason = "Instance.NotRegistered"
InstanceHealthReasonInstanceNotInUse InstanceHealthReason = "Instance.NotInUse"
InstanceHealthReasonInstanceDeregistrationInProgress InstanceHealthReason = "Instance.DeregistrationInProgress"
InstanceHealthReasonInstanceInvalidState InstanceHealthReason = "Instance.InvalidState"
InstanceHealthReasonInstanceIpUnusable InstanceHealthReason = "Instance.IpUnusable"
)
// Values returns all known values for InstanceHealthReason. 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 (InstanceHealthReason) Values() []InstanceHealthReason {
return []InstanceHealthReason{
"Lb.RegistrationInProgress",
"Lb.InitialHealthChecking",
"Lb.InternalError",
"Instance.ResponseCodeMismatch",
"Instance.Timeout",
"Instance.FailedHealthChecks",
"Instance.NotRegistered",
"Instance.NotInUse",
"Instance.DeregistrationInProgress",
"Instance.InvalidState",
"Instance.IpUnusable",
}
}
type InstanceHealthState string
// Enum values for InstanceHealthState
const (
InstanceHealthStateInitial InstanceHealthState = "initial"
InstanceHealthStateHealthy InstanceHealthState = "healthy"
InstanceHealthStateUnhealthy InstanceHealthState = "unhealthy"
InstanceHealthStateUnused InstanceHealthState = "unused"
InstanceHealthStateDraining InstanceHealthState = "draining"
InstanceHealthStateUnavailable InstanceHealthState = "unavailable"
)
// Values returns all known values for InstanceHealthState. 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 (InstanceHealthState) Values() []InstanceHealthState {
return []InstanceHealthState{
"initial",
"healthy",
"unhealthy",
"unused",
"draining",
"unavailable",
}
}
type InstanceMetadataState string
// Enum values for InstanceMetadataState
const (
InstanceMetadataStatePending InstanceMetadataState = "pending"
InstanceMetadataStateApplied InstanceMetadataState = "applied"
)
// Values returns all known values for InstanceMetadataState. 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 (InstanceMetadataState) Values() []InstanceMetadataState {
return []InstanceMetadataState{
"pending",
"applied",
}
}
type InstanceMetricName string
// Enum values for InstanceMetricName
const (
InstanceMetricNameCPUUtilization InstanceMetricName = "CPUUtilization"
InstanceMetricNameNetworkIn InstanceMetricName = "NetworkIn"
InstanceMetricNameNetworkOut InstanceMetricName = "NetworkOut"
InstanceMetricNameStatusCheckFailed InstanceMetricName = "StatusCheckFailed"
InstanceMetricNameStatusCheckFailedInstance InstanceMetricName = "StatusCheckFailed_Instance"
InstanceMetricNameStatusCheckFailedSystem InstanceMetricName = "StatusCheckFailed_System"
InstanceMetricNameBurstCapacityTime InstanceMetricName = "BurstCapacityTime"
InstanceMetricNameBurstCapacityPercentage InstanceMetricName = "BurstCapacityPercentage"
InstanceMetricNameMetadataNoToken InstanceMetricName = "MetadataNoToken"
)
// Values returns all known values for InstanceMetricName. 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 (InstanceMetricName) Values() []InstanceMetricName {
return []InstanceMetricName{
"CPUUtilization",
"NetworkIn",
"NetworkOut",
"StatusCheckFailed",
"StatusCheckFailed_Instance",
"StatusCheckFailed_System",
"BurstCapacityTime",
"BurstCapacityPercentage",
"MetadataNoToken",
}
}
type InstancePlatform string
// Enum values for InstancePlatform
const (
InstancePlatformLinuxUnix InstancePlatform = "LINUX_UNIX"
InstancePlatformWindows InstancePlatform = "WINDOWS"
)
// Values returns all known values for InstancePlatform. 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 (InstancePlatform) Values() []InstancePlatform {
return []InstancePlatform{
"LINUX_UNIX",
"WINDOWS",
}
}
type InstanceSnapshotState string
// Enum values for InstanceSnapshotState
const (
InstanceSnapshotStatePending InstanceSnapshotState = "pending"
InstanceSnapshotStateError InstanceSnapshotState = "error"
InstanceSnapshotStateAvailable InstanceSnapshotState = "available"
)
// Values returns all known values for InstanceSnapshotState. 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 (InstanceSnapshotState) Values() []InstanceSnapshotState {
return []InstanceSnapshotState{
"pending",
"error",
"available",
}
}
type IpAddressType string
// Enum values for IpAddressType
const (
IpAddressTypeDualstack IpAddressType = "dualstack"
IpAddressTypeIpv4 IpAddressType = "ipv4"
)
// Values returns all known values for IpAddressType. 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 (IpAddressType) Values() []IpAddressType {
return []IpAddressType{
"dualstack",
"ipv4",
}
}
type LoadBalancerAttributeName string
// Enum values for LoadBalancerAttributeName
const (
LoadBalancerAttributeNameHealthCheckPath LoadBalancerAttributeName = "HealthCheckPath"
LoadBalancerAttributeNameSessionStickinessEnabled LoadBalancerAttributeName = "SessionStickinessEnabled"
LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds LoadBalancerAttributeName = "SessionStickiness_LB_CookieDurationSeconds"
LoadBalancerAttributeNameHttpsRedirectionEnabled LoadBalancerAttributeName = "HttpsRedirectionEnabled"
LoadBalancerAttributeNameTlsPolicyName LoadBalancerAttributeName = "TlsPolicyName"
)
// Values returns all known values for LoadBalancerAttributeName. 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 (LoadBalancerAttributeName) Values() []LoadBalancerAttributeName {
return []LoadBalancerAttributeName{
"HealthCheckPath",
"SessionStickinessEnabled",
"SessionStickiness_LB_CookieDurationSeconds",
"HttpsRedirectionEnabled",
"TlsPolicyName",
}
}
type LoadBalancerMetricName string
// Enum values for LoadBalancerMetricName
const (
LoadBalancerMetricNameClientTLSNegotiationErrorCount LoadBalancerMetricName = "ClientTLSNegotiationErrorCount"
LoadBalancerMetricNameHealthyHostCount LoadBalancerMetricName = "HealthyHostCount"
LoadBalancerMetricNameUnhealthyHostCount LoadBalancerMetricName = "UnhealthyHostCount"
LoadBalancerMetricNameHTTPCodeLb4xxCount LoadBalancerMetricName = "HTTPCode_LB_4XX_Count"
LoadBalancerMetricNameHTTPCodeLb5xxCount LoadBalancerMetricName = "HTTPCode_LB_5XX_Count"
LoadBalancerMetricNameHTTPCodeInstance2xxCount LoadBalancerMetricName = "HTTPCode_Instance_2XX_Count"
LoadBalancerMetricNameHTTPCodeInstance3xxCount LoadBalancerMetricName = "HTTPCode_Instance_3XX_Count"
LoadBalancerMetricNameHTTPCodeInstance4xxCount LoadBalancerMetricName = "HTTPCode_Instance_4XX_Count"
LoadBalancerMetricNameHTTPCodeInstance5xxCount LoadBalancerMetricName = "HTTPCode_Instance_5XX_Count"
LoadBalancerMetricNameInstanceResponseTime LoadBalancerMetricName = "InstanceResponseTime"
LoadBalancerMetricNameRejectedConnectionCount LoadBalancerMetricName = "RejectedConnectionCount"
LoadBalancerMetricNameRequestCount LoadBalancerMetricName = "RequestCount"
)
// Values returns all known values for LoadBalancerMetricName. 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 (LoadBalancerMetricName) Values() []LoadBalancerMetricName {
return []LoadBalancerMetricName{
"ClientTLSNegotiationErrorCount",
"HealthyHostCount",
"UnhealthyHostCount",
"HTTPCode_LB_4XX_Count",
"HTTPCode_LB_5XX_Count",
"HTTPCode_Instance_2XX_Count",
"HTTPCode_Instance_3XX_Count",
"HTTPCode_Instance_4XX_Count",
"HTTPCode_Instance_5XX_Count",
"InstanceResponseTime",
"RejectedConnectionCount",
"RequestCount",
}
}
type LoadBalancerProtocol string
// Enum values for LoadBalancerProtocol
const (
LoadBalancerProtocolHttpHttps LoadBalancerProtocol = "HTTP_HTTPS"
LoadBalancerProtocolHttp LoadBalancerProtocol = "HTTP"
)
// Values returns all known values for LoadBalancerProtocol. 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 (LoadBalancerProtocol) Values() []LoadBalancerProtocol {
return []LoadBalancerProtocol{
"HTTP_HTTPS",
"HTTP",
}
}
type LoadBalancerState string
// Enum values for LoadBalancerState
const (
LoadBalancerStateActive LoadBalancerState = "active"
LoadBalancerStateProvisioning LoadBalancerState = "provisioning"
LoadBalancerStateActiveImpaired LoadBalancerState = "active_impaired"
LoadBalancerStateFailed LoadBalancerState = "failed"
LoadBalancerStateUnknown LoadBalancerState = "unknown"
)
// Values returns all known values for LoadBalancerState. 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 (LoadBalancerState) Values() []LoadBalancerState {
return []LoadBalancerState{
"active",
"provisioning",
"active_impaired",
"failed",
"unknown",
}
}
type LoadBalancerTlsCertificateDomainStatus string
// Enum values for LoadBalancerTlsCertificateDomainStatus
const (
LoadBalancerTlsCertificateDomainStatusPendingValidation LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION"
LoadBalancerTlsCertificateDomainStatusFailed LoadBalancerTlsCertificateDomainStatus = "FAILED"
LoadBalancerTlsCertificateDomainStatusSuccess LoadBalancerTlsCertificateDomainStatus = "SUCCESS"
)
// Values returns all known values for LoadBalancerTlsCertificateDomainStatus. 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 (LoadBalancerTlsCertificateDomainStatus) Values() []LoadBalancerTlsCertificateDomainStatus {
return []LoadBalancerTlsCertificateDomainStatus{
"PENDING_VALIDATION",
"FAILED",
"SUCCESS",
}
}
type LoadBalancerTlsCertificateFailureReason string
// Enum values for LoadBalancerTlsCertificateFailureReason
const (
LoadBalancerTlsCertificateFailureReasonNoAvailableContacts LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS"
LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired LoadBalancerTlsCertificateFailureReason = "ADDITIONAL_VERIFICATION_REQUIRED"
LoadBalancerTlsCertificateFailureReasonDomainNotAllowed LoadBalancerTlsCertificateFailureReason = "DOMAIN_NOT_ALLOWED"
LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain LoadBalancerTlsCertificateFailureReason = "INVALID_PUBLIC_DOMAIN"
LoadBalancerTlsCertificateFailureReasonOther LoadBalancerTlsCertificateFailureReason = "OTHER"
)
// Values returns all known values for LoadBalancerTlsCertificateFailureReason.