-
Notifications
You must be signed in to change notification settings - Fork 593
/
enums.go
939 lines (806 loc) · 28.9 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AggregateType string
// Enum values for AggregateType
const (
AggregateTypeAverage AggregateType = "AVERAGE"
AggregateTypeCount AggregateType = "COUNT"
AggregateTypeMaximum AggregateType = "MAXIMUM"
AggregateTypeMinimum AggregateType = "MINIMUM"
AggregateTypeSum AggregateType = "SUM"
AggregateTypeStandardDeviation AggregateType = "STANDARD_DEVIATION"
)
// Values returns all known values for AggregateType. 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 (AggregateType) Values() []AggregateType {
return []AggregateType{
"AVERAGE",
"COUNT",
"MAXIMUM",
"MINIMUM",
"SUM",
"STANDARD_DEVIATION",
}
}
type AssetErrorCode string
// Enum values for AssetErrorCode
const (
AssetErrorCodeInternalFailure AssetErrorCode = "INTERNAL_FAILURE"
)
// Values returns all known values for AssetErrorCode. 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 (AssetErrorCode) Values() []AssetErrorCode {
return []AssetErrorCode{
"INTERNAL_FAILURE",
}
}
type AssetModelState string
// Enum values for AssetModelState
const (
AssetModelStateCreating AssetModelState = "CREATING"
AssetModelStateActive AssetModelState = "ACTIVE"
AssetModelStateUpdating AssetModelState = "UPDATING"
AssetModelStatePropagating AssetModelState = "PROPAGATING"
AssetModelStateDeleting AssetModelState = "DELETING"
AssetModelStateFailed AssetModelState = "FAILED"
)
// Values returns all known values for AssetModelState. 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 (AssetModelState) Values() []AssetModelState {
return []AssetModelState{
"CREATING",
"ACTIVE",
"UPDATING",
"PROPAGATING",
"DELETING",
"FAILED",
}
}
type AssetModelType string
// Enum values for AssetModelType
const (
AssetModelTypeAssetModel AssetModelType = "ASSET_MODEL"
AssetModelTypeComponentModel AssetModelType = "COMPONENT_MODEL"
)
// Values returns all known values for AssetModelType. 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 (AssetModelType) Values() []AssetModelType {
return []AssetModelType{
"ASSET_MODEL",
"COMPONENT_MODEL",
}
}
type AssetRelationshipType string
// Enum values for AssetRelationshipType
const (
AssetRelationshipTypeHierarchy AssetRelationshipType = "HIERARCHY"
)
// Values returns all known values for AssetRelationshipType. 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 (AssetRelationshipType) Values() []AssetRelationshipType {
return []AssetRelationshipType{
"HIERARCHY",
}
}
type AssetState string
// Enum values for AssetState
const (
AssetStateCreating AssetState = "CREATING"
AssetStateActive AssetState = "ACTIVE"
AssetStateUpdating AssetState = "UPDATING"
AssetStateDeleting AssetState = "DELETING"
AssetStateFailed AssetState = "FAILED"
)
// Values returns all known values for AssetState. 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 (AssetState) Values() []AssetState {
return []AssetState{
"CREATING",
"ACTIVE",
"UPDATING",
"DELETING",
"FAILED",
}
}
type AuthMode string
// Enum values for AuthMode
const (
AuthModeIam AuthMode = "IAM"
AuthModeSso AuthMode = "SSO"
)
// Values returns all known values for AuthMode. 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 (AuthMode) Values() []AuthMode {
return []AuthMode{
"IAM",
"SSO",
}
}
type BatchEntryCompletionStatus string
// Enum values for BatchEntryCompletionStatus
const (
BatchEntryCompletionStatusSuccess BatchEntryCompletionStatus = "SUCCESS"
BatchEntryCompletionStatusError BatchEntryCompletionStatus = "ERROR"
)
// Values returns all known values for BatchEntryCompletionStatus. 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 (BatchEntryCompletionStatus) Values() []BatchEntryCompletionStatus {
return []BatchEntryCompletionStatus{
"SUCCESS",
"ERROR",
}
}
type BatchGetAssetPropertyAggregatesErrorCode string
// Enum values for BatchGetAssetPropertyAggregatesErrorCode
const (
BatchGetAssetPropertyAggregatesErrorCodeResourceNotFoundException BatchGetAssetPropertyAggregatesErrorCode = "ResourceNotFoundException"
BatchGetAssetPropertyAggregatesErrorCodeInvalidRequestException BatchGetAssetPropertyAggregatesErrorCode = "InvalidRequestException"
BatchGetAssetPropertyAggregatesErrorCodeAccessDeniedException BatchGetAssetPropertyAggregatesErrorCode = "AccessDeniedException"
)
// Values returns all known values for BatchGetAssetPropertyAggregatesErrorCode.
// 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 (BatchGetAssetPropertyAggregatesErrorCode) Values() []BatchGetAssetPropertyAggregatesErrorCode {
return []BatchGetAssetPropertyAggregatesErrorCode{
"ResourceNotFoundException",
"InvalidRequestException",
"AccessDeniedException",
}
}
type BatchGetAssetPropertyValueErrorCode string
// Enum values for BatchGetAssetPropertyValueErrorCode
const (
BatchGetAssetPropertyValueErrorCodeResourceNotFoundException BatchGetAssetPropertyValueErrorCode = "ResourceNotFoundException"
BatchGetAssetPropertyValueErrorCodeInvalidRequestException BatchGetAssetPropertyValueErrorCode = "InvalidRequestException"
BatchGetAssetPropertyValueErrorCodeAccessDeniedException BatchGetAssetPropertyValueErrorCode = "AccessDeniedException"
)
// Values returns all known values for BatchGetAssetPropertyValueErrorCode. 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 (BatchGetAssetPropertyValueErrorCode) Values() []BatchGetAssetPropertyValueErrorCode {
return []BatchGetAssetPropertyValueErrorCode{
"ResourceNotFoundException",
"InvalidRequestException",
"AccessDeniedException",
}
}
type BatchGetAssetPropertyValueHistoryErrorCode string
// Enum values for BatchGetAssetPropertyValueHistoryErrorCode
const (
BatchGetAssetPropertyValueHistoryErrorCodeResourceNotFoundException BatchGetAssetPropertyValueHistoryErrorCode = "ResourceNotFoundException"
BatchGetAssetPropertyValueHistoryErrorCodeInvalidRequestException BatchGetAssetPropertyValueHistoryErrorCode = "InvalidRequestException"
BatchGetAssetPropertyValueHistoryErrorCodeAccessDeniedException BatchGetAssetPropertyValueHistoryErrorCode = "AccessDeniedException"
)
// Values returns all known values for BatchGetAssetPropertyValueHistoryErrorCode.
// 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 (BatchGetAssetPropertyValueHistoryErrorCode) Values() []BatchGetAssetPropertyValueHistoryErrorCode {
return []BatchGetAssetPropertyValueHistoryErrorCode{
"ResourceNotFoundException",
"InvalidRequestException",
"AccessDeniedException",
}
}
type BatchPutAssetPropertyValueErrorCode string
// Enum values for BatchPutAssetPropertyValueErrorCode
const (
BatchPutAssetPropertyValueErrorCodeResourceNotFoundException BatchPutAssetPropertyValueErrorCode = "ResourceNotFoundException"
BatchPutAssetPropertyValueErrorCodeInvalidRequestException BatchPutAssetPropertyValueErrorCode = "InvalidRequestException"
BatchPutAssetPropertyValueErrorCodeInternalFailureException BatchPutAssetPropertyValueErrorCode = "InternalFailureException"
BatchPutAssetPropertyValueErrorCodeServiceUnavailableException BatchPutAssetPropertyValueErrorCode = "ServiceUnavailableException"
BatchPutAssetPropertyValueErrorCodeThrottlingException BatchPutAssetPropertyValueErrorCode = "ThrottlingException"
BatchPutAssetPropertyValueErrorCodeLimitExceededException BatchPutAssetPropertyValueErrorCode = "LimitExceededException"
BatchPutAssetPropertyValueErrorCodeConflictingOperationException BatchPutAssetPropertyValueErrorCode = "ConflictingOperationException"
BatchPutAssetPropertyValueErrorCodeTimestampOutOfRangeException BatchPutAssetPropertyValueErrorCode = "TimestampOutOfRangeException"
BatchPutAssetPropertyValueErrorCodeAccessDeniedException BatchPutAssetPropertyValueErrorCode = "AccessDeniedException"
)
// Values returns all known values for BatchPutAssetPropertyValueErrorCode. 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 (BatchPutAssetPropertyValueErrorCode) Values() []BatchPutAssetPropertyValueErrorCode {
return []BatchPutAssetPropertyValueErrorCode{
"ResourceNotFoundException",
"InvalidRequestException",
"InternalFailureException",
"ServiceUnavailableException",
"ThrottlingException",
"LimitExceededException",
"ConflictingOperationException",
"TimestampOutOfRangeException",
"AccessDeniedException",
}
}
type CapabilitySyncStatus string
// Enum values for CapabilitySyncStatus
const (
CapabilitySyncStatusInSync CapabilitySyncStatus = "IN_SYNC"
CapabilitySyncStatusOutOfSync CapabilitySyncStatus = "OUT_OF_SYNC"
CapabilitySyncStatusSyncFailed CapabilitySyncStatus = "SYNC_FAILED"
CapabilitySyncStatusUnknown CapabilitySyncStatus = "UNKNOWN"
)
// Values returns all known values for CapabilitySyncStatus. 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 (CapabilitySyncStatus) Values() []CapabilitySyncStatus {
return []CapabilitySyncStatus{
"IN_SYNC",
"OUT_OF_SYNC",
"SYNC_FAILED",
"UNKNOWN",
}
}
type ColumnName string
// Enum values for ColumnName
const (
ColumnNameAlias ColumnName = "ALIAS"
ColumnNameAssetId ColumnName = "ASSET_ID"
ColumnNamePropertyId ColumnName = "PROPERTY_ID"
ColumnNameDataType ColumnName = "DATA_TYPE"
ColumnNameTimestampSeconds ColumnName = "TIMESTAMP_SECONDS"
ColumnNameTimestampNanoOffset ColumnName = "TIMESTAMP_NANO_OFFSET"
ColumnNameQuality ColumnName = "QUALITY"
ColumnNameValue ColumnName = "VALUE"
)
// Values returns all known values for ColumnName. 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 (ColumnName) Values() []ColumnName {
return []ColumnName{
"ALIAS",
"ASSET_ID",
"PROPERTY_ID",
"DATA_TYPE",
"TIMESTAMP_SECONDS",
"TIMESTAMP_NANO_OFFSET",
"QUALITY",
"VALUE",
}
}
type ComputeLocation string
// Enum values for ComputeLocation
const (
ComputeLocationEdge ComputeLocation = "EDGE"
ComputeLocationCloud ComputeLocation = "CLOUD"
)
// Values returns all known values for ComputeLocation. 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 (ComputeLocation) Values() []ComputeLocation {
return []ComputeLocation{
"EDGE",
"CLOUD",
}
}
type ConfigurationState string
// Enum values for ConfigurationState
const (
ConfigurationStateActive ConfigurationState = "ACTIVE"
ConfigurationStateUpdateInProgress ConfigurationState = "UPDATE_IN_PROGRESS"
ConfigurationStateUpdateFailed ConfigurationState = "UPDATE_FAILED"
)
// Values returns all known values for ConfigurationState. 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 (ConfigurationState) Values() []ConfigurationState {
return []ConfigurationState{
"ACTIVE",
"UPDATE_IN_PROGRESS",
"UPDATE_FAILED",
}
}
type DetailedErrorCode string
// Enum values for DetailedErrorCode
const (
DetailedErrorCodeIncompatibleComputeLocation DetailedErrorCode = "INCOMPATIBLE_COMPUTE_LOCATION"
DetailedErrorCodeIncompatibleForwardingConfiguration DetailedErrorCode = "INCOMPATIBLE_FORWARDING_CONFIGURATION"
)
// Values returns all known values for DetailedErrorCode. 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 (DetailedErrorCode) Values() []DetailedErrorCode {
return []DetailedErrorCode{
"INCOMPATIBLE_COMPUTE_LOCATION",
"INCOMPATIBLE_FORWARDING_CONFIGURATION",
}
}
type DisassociatedDataStorageState string
// Enum values for DisassociatedDataStorageState
const (
DisassociatedDataStorageStateEnabled DisassociatedDataStorageState = "ENABLED"
DisassociatedDataStorageStateDisabled DisassociatedDataStorageState = "DISABLED"
)
// Values returns all known values for DisassociatedDataStorageState. 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 (DisassociatedDataStorageState) Values() []DisassociatedDataStorageState {
return []DisassociatedDataStorageState{
"ENABLED",
"DISABLED",
}
}
type EncryptionType string
// Enum values for EncryptionType
const (
EncryptionTypeSitewiseDefaultEncryption EncryptionType = "SITEWISE_DEFAULT_ENCRYPTION"
EncryptionTypeKmsBasedEncryption EncryptionType = "KMS_BASED_ENCRYPTION"
)
// Values returns all known values for EncryptionType. 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 (EncryptionType) Values() []EncryptionType {
return []EncryptionType{
"SITEWISE_DEFAULT_ENCRYPTION",
"KMS_BASED_ENCRYPTION",
}
}
type ErrorCode string
// Enum values for ErrorCode
const (
ErrorCodeValidationError ErrorCode = "VALIDATION_ERROR"
ErrorCodeInternalFailure ErrorCode = "INTERNAL_FAILURE"
)
// Values returns all known values for ErrorCode. 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 (ErrorCode) Values() []ErrorCode {
return []ErrorCode{
"VALIDATION_ERROR",
"INTERNAL_FAILURE",
}
}
type ForwardingConfigState string
// Enum values for ForwardingConfigState
const (
ForwardingConfigStateDisabled ForwardingConfigState = "DISABLED"
ForwardingConfigStateEnabled ForwardingConfigState = "ENABLED"
)
// Values returns all known values for ForwardingConfigState. 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 (ForwardingConfigState) Values() []ForwardingConfigState {
return []ForwardingConfigState{
"DISABLED",
"ENABLED",
}
}
type IdentityType string
// Enum values for IdentityType
const (
IdentityTypeUser IdentityType = "USER"
IdentityTypeGroup IdentityType = "GROUP"
IdentityTypeIam IdentityType = "IAM"
)
// Values returns all known values for IdentityType. 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 (IdentityType) Values() []IdentityType {
return []IdentityType{
"USER",
"GROUP",
"IAM",
}
}
type ImageFileType string
// Enum values for ImageFileType
const (
ImageFileTypePng ImageFileType = "PNG"
)
// Values returns all known values for ImageFileType. 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 (ImageFileType) Values() []ImageFileType {
return []ImageFileType{
"PNG",
}
}
type JobStatus string
// Enum values for JobStatus
const (
JobStatusPending JobStatus = "PENDING"
JobStatusCancelled JobStatus = "CANCELLED"
JobStatusRunning JobStatus = "RUNNING"
JobStatusCompleted JobStatus = "COMPLETED"
JobStatusFailed JobStatus = "FAILED"
JobStatusCompletedWithFailures JobStatus = "COMPLETED_WITH_FAILURES"
)
// Values returns all known values for JobStatus. 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 (JobStatus) Values() []JobStatus {
return []JobStatus{
"PENDING",
"CANCELLED",
"RUNNING",
"COMPLETED",
"FAILED",
"COMPLETED_WITH_FAILURES",
}
}
type ListAssetModelPropertiesFilter string
// Enum values for ListAssetModelPropertiesFilter
const (
ListAssetModelPropertiesFilterAll ListAssetModelPropertiesFilter = "ALL"
ListAssetModelPropertiesFilterBase ListAssetModelPropertiesFilter = "BASE"
)
// Values returns all known values for ListAssetModelPropertiesFilter. 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 (ListAssetModelPropertiesFilter) Values() []ListAssetModelPropertiesFilter {
return []ListAssetModelPropertiesFilter{
"ALL",
"BASE",
}
}
type ListAssetPropertiesFilter string
// Enum values for ListAssetPropertiesFilter
const (
ListAssetPropertiesFilterAll ListAssetPropertiesFilter = "ALL"
ListAssetPropertiesFilterBase ListAssetPropertiesFilter = "BASE"
)
// Values returns all known values for ListAssetPropertiesFilter. 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 (ListAssetPropertiesFilter) Values() []ListAssetPropertiesFilter {
return []ListAssetPropertiesFilter{
"ALL",
"BASE",
}
}
type ListAssetsFilter string
// Enum values for ListAssetsFilter
const (
ListAssetsFilterAll ListAssetsFilter = "ALL"
ListAssetsFilterTopLevel ListAssetsFilter = "TOP_LEVEL"
)
// Values returns all known values for ListAssetsFilter. 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 (ListAssetsFilter) Values() []ListAssetsFilter {
return []ListAssetsFilter{
"ALL",
"TOP_LEVEL",
}
}
type ListBulkImportJobsFilter string
// Enum values for ListBulkImportJobsFilter
const (
ListBulkImportJobsFilterAll ListBulkImportJobsFilter = "ALL"
ListBulkImportJobsFilterPending ListBulkImportJobsFilter = "PENDING"
ListBulkImportJobsFilterRunning ListBulkImportJobsFilter = "RUNNING"
ListBulkImportJobsFilterCancelled ListBulkImportJobsFilter = "CANCELLED"
ListBulkImportJobsFilterFailed ListBulkImportJobsFilter = "FAILED"
ListBulkImportJobsFilterCompletedWithFailures ListBulkImportJobsFilter = "COMPLETED_WITH_FAILURES"
ListBulkImportJobsFilterCompleted ListBulkImportJobsFilter = "COMPLETED"
)
// Values returns all known values for ListBulkImportJobsFilter. 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 (ListBulkImportJobsFilter) Values() []ListBulkImportJobsFilter {
return []ListBulkImportJobsFilter{
"ALL",
"PENDING",
"RUNNING",
"CANCELLED",
"FAILED",
"COMPLETED_WITH_FAILURES",
"COMPLETED",
}
}
type ListTimeSeriesType string
// Enum values for ListTimeSeriesType
const (
ListTimeSeriesTypeAssociated ListTimeSeriesType = "ASSOCIATED"
ListTimeSeriesTypeDisassociated ListTimeSeriesType = "DISASSOCIATED"
)
// Values returns all known values for ListTimeSeriesType. 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 (ListTimeSeriesType) Values() []ListTimeSeriesType {
return []ListTimeSeriesType{
"ASSOCIATED",
"DISASSOCIATED",
}
}
type LoggingLevel string
// Enum values for LoggingLevel
const (
LoggingLevelError LoggingLevel = "ERROR"
LoggingLevelInfo LoggingLevel = "INFO"
LoggingLevelOff LoggingLevel = "OFF"
)
// Values returns all known values for LoggingLevel. 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 (LoggingLevel) Values() []LoggingLevel {
return []LoggingLevel{
"ERROR",
"INFO",
"OFF",
}
}
type MonitorErrorCode string
// Enum values for MonitorErrorCode
const (
MonitorErrorCodeInternalFailure MonitorErrorCode = "INTERNAL_FAILURE"
MonitorErrorCodeValidationError MonitorErrorCode = "VALIDATION_ERROR"
MonitorErrorCodeLimitExceeded MonitorErrorCode = "LIMIT_EXCEEDED"
)
// Values returns all known values for MonitorErrorCode. 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 (MonitorErrorCode) Values() []MonitorErrorCode {
return []MonitorErrorCode{
"INTERNAL_FAILURE",
"VALIDATION_ERROR",
"LIMIT_EXCEEDED",
}
}
type Permission string
// Enum values for Permission
const (
PermissionAdministrator Permission = "ADMINISTRATOR"
PermissionViewer Permission = "VIEWER"
)
// Values returns all known values for Permission. 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 (Permission) Values() []Permission {
return []Permission{
"ADMINISTRATOR",
"VIEWER",
}
}
type PortalState string
// Enum values for PortalState
const (
PortalStateCreating PortalState = "CREATING"
PortalStateUpdating PortalState = "UPDATING"
PortalStateDeleting PortalState = "DELETING"
PortalStateActive PortalState = "ACTIVE"
PortalStateFailed PortalState = "FAILED"
)
// Values returns all known values for PortalState. 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 (PortalState) Values() []PortalState {
return []PortalState{
"CREATING",
"UPDATING",
"DELETING",
"ACTIVE",
"FAILED",
}
}
type PropertyDataType string
// Enum values for PropertyDataType
const (
PropertyDataTypeString PropertyDataType = "STRING"
PropertyDataTypeInteger PropertyDataType = "INTEGER"
PropertyDataTypeDouble PropertyDataType = "DOUBLE"
PropertyDataTypeBoolean PropertyDataType = "BOOLEAN"
PropertyDataTypeStruct PropertyDataType = "STRUCT"
)
// Values returns all known values for PropertyDataType. 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 (PropertyDataType) Values() []PropertyDataType {
return []PropertyDataType{
"STRING",
"INTEGER",
"DOUBLE",
"BOOLEAN",
"STRUCT",
}
}
type PropertyNotificationState string
// Enum values for PropertyNotificationState
const (
PropertyNotificationStateEnabled PropertyNotificationState = "ENABLED"
PropertyNotificationStateDisabled PropertyNotificationState = "DISABLED"
)
// Values returns all known values for PropertyNotificationState. 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 (PropertyNotificationState) Values() []PropertyNotificationState {
return []PropertyNotificationState{
"ENABLED",
"DISABLED",
}
}
type Quality string
// Enum values for Quality
const (
QualityGood Quality = "GOOD"
QualityBad Quality = "BAD"
QualityUncertain Quality = "UNCERTAIN"
)
// Values returns all known values for Quality. 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 (Quality) Values() []Quality {
return []Quality{
"GOOD",
"BAD",
"UNCERTAIN",
}
}
type ResourceType string
// Enum values for ResourceType
const (
ResourceTypePortal ResourceType = "PORTAL"
ResourceTypeProject ResourceType = "PROJECT"
)
// Values returns all known values for ResourceType. 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 (ResourceType) Values() []ResourceType {
return []ResourceType{
"PORTAL",
"PROJECT",
}
}
type ScalarType string
// Enum values for ScalarType
const (
ScalarTypeBoolean ScalarType = "BOOLEAN"
ScalarTypeInt ScalarType = "INT"
ScalarTypeDouble ScalarType = "DOUBLE"
ScalarTypeTimestamp ScalarType = "TIMESTAMP"
ScalarTypeString ScalarType = "STRING"
)
// Values returns all known values for ScalarType. 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 (ScalarType) Values() []ScalarType {
return []ScalarType{
"BOOLEAN",
"INT",
"DOUBLE",
"TIMESTAMP",
"STRING",
}
}
type StorageType string
// Enum values for StorageType
const (
StorageTypeSitewiseDefaultStorage StorageType = "SITEWISE_DEFAULT_STORAGE"
StorageTypeMultiLayerStorage StorageType = "MULTI_LAYER_STORAGE"
)
// Values returns all known values for StorageType. 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 (StorageType) Values() []StorageType {
return []StorageType{
"SITEWISE_DEFAULT_STORAGE",
"MULTI_LAYER_STORAGE",
}
}
type TargetResourceType string
// Enum values for TargetResourceType
const (
TargetResourceTypeAsset TargetResourceType = "ASSET"
)
// Values returns all known values for TargetResourceType. 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 (TargetResourceType) Values() []TargetResourceType {
return []TargetResourceType{
"ASSET",
}
}
type TimeOrdering string
// Enum values for TimeOrdering
const (
TimeOrderingAscending TimeOrdering = "ASCENDING"
TimeOrderingDescending TimeOrdering = "DESCENDING"
)
// Values returns all known values for TimeOrdering. 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 (TimeOrdering) Values() []TimeOrdering {
return []TimeOrdering{
"ASCENDING",
"DESCENDING",
}
}
type TraversalDirection string
// Enum values for TraversalDirection
const (
TraversalDirectionParent TraversalDirection = "PARENT"
TraversalDirectionChild TraversalDirection = "CHILD"
)
// Values returns all known values for TraversalDirection. 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 (TraversalDirection) Values() []TraversalDirection {
return []TraversalDirection{
"PARENT",
"CHILD",
}
}
type TraversalType string
// Enum values for TraversalType
const (
TraversalTypePathToRoot TraversalType = "PATH_TO_ROOT"
)
// Values returns all known values for TraversalType. 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 (TraversalType) Values() []TraversalType {
return []TraversalType{
"PATH_TO_ROOT",
}
}
type WarmTierState string
// Enum values for WarmTierState
const (
WarmTierStateEnabled WarmTierState = "ENABLED"
WarmTierStateDisabled WarmTierState = "DISABLED"
)
// Values returns all known values for WarmTierState. 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 (WarmTierState) Values() []WarmTierState {
return []WarmTierState{
"ENABLED",
"DISABLED",
}
}