File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (163 lines) | stat: -rw-r--r-- 4,861 bytes parent folder | download
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type EnvironmentStatus string

// Enum values for EnvironmentStatus
const (
	EnvironmentStatusCreating     EnvironmentStatus = "CREATING"
	EnvironmentStatusCreateFailed EnvironmentStatus = "CREATE_FAILED"
	EnvironmentStatusAvailable    EnvironmentStatus = "AVAILABLE"
	EnvironmentStatusUpdating     EnvironmentStatus = "UPDATING"
	EnvironmentStatusDeleting     EnvironmentStatus = "DELETING"
	EnvironmentStatusDeleted      EnvironmentStatus = "DELETED"
	EnvironmentStatusUnavailable  EnvironmentStatus = "UNAVAILABLE"
	EnvironmentStatusUpdateFailed EnvironmentStatus = "UPDATE_FAILED"
)

// Values returns all known values for EnvironmentStatus. 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 (EnvironmentStatus) Values() []EnvironmentStatus {
	return []EnvironmentStatus{
		"CREATING",
		"CREATE_FAILED",
		"AVAILABLE",
		"UPDATING",
		"DELETING",
		"DELETED",
		"UNAVAILABLE",
		"UPDATE_FAILED",
	}
}

type LoggingLevel string

// Enum values for LoggingLevel
const (
	LoggingLevelCritical LoggingLevel = "CRITICAL"
	LoggingLevelError    LoggingLevel = "ERROR"
	LoggingLevelWarning  LoggingLevel = "WARNING"
	LoggingLevelInfo     LoggingLevel = "INFO"
	LoggingLevelDebug    LoggingLevel = "DEBUG"
)

// 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{
		"CRITICAL",
		"ERROR",
		"WARNING",
		"INFO",
		"DEBUG",
	}
}

type Unit string

// Enum values for Unit
const (
	UnitSeconds            Unit = "Seconds"
	UnitMicroseconds       Unit = "Microseconds"
	UnitMilliseconds       Unit = "Milliseconds"
	UnitBytes              Unit = "Bytes"
	UnitKilobytes          Unit = "Kilobytes"
	UnitMegabytes          Unit = "Megabytes"
	UnitGigabytes          Unit = "Gigabytes"
	UnitTerabytes          Unit = "Terabytes"
	UnitBits               Unit = "Bits"
	UnitKilobits           Unit = "Kilobits"
	UnitMegabits           Unit = "Megabits"
	UnitGigabits           Unit = "Gigabits"
	UnitTerabits           Unit = "Terabits"
	UnitPercent            Unit = "Percent"
	UnitCount              Unit = "Count"
	UnitBytesPerSecond     Unit = "Bytes/Second"
	UnitKilobytesPerSecond Unit = "Kilobytes/Second"
	UnitMegabytesPerSecond Unit = "Megabytes/Second"
	UnitGigabytesPerSecond Unit = "Gigabytes/Second"
	UnitTerabytesPerSecond Unit = "Terabytes/Second"
	UnitBitsPerSecond      Unit = "Bits/Second"
	UnitKilobitsPerSecond  Unit = "Kilobits/Second"
	UnitMegabitsPerSecond  Unit = "Megabits/Second"
	UnitGigabitsPerSecond  Unit = "Gigabits/Second"
	UnitTerabitsPerSecond  Unit = "Terabits/Second"
	UnitCountPerSecond     Unit = "Count/Second"
	UnitNone               Unit = "None"
)

// Values returns all known values for Unit. 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 (Unit) Values() []Unit {
	return []Unit{
		"Seconds",
		"Microseconds",
		"Milliseconds",
		"Bytes",
		"Kilobytes",
		"Megabytes",
		"Gigabytes",
		"Terabytes",
		"Bits",
		"Kilobits",
		"Megabits",
		"Gigabits",
		"Terabits",
		"Percent",
		"Count",
		"Bytes/Second",
		"Kilobytes/Second",
		"Megabytes/Second",
		"Gigabytes/Second",
		"Terabytes/Second",
		"Bits/Second",
		"Kilobits/Second",
		"Megabits/Second",
		"Gigabits/Second",
		"Terabits/Second",
		"Count/Second",
		"None",
	}
}

type UpdateStatus string

// Enum values for UpdateStatus
const (
	UpdateStatusSuccess UpdateStatus = "SUCCESS"
	UpdateStatusPending UpdateStatus = "PENDING"
	UpdateStatusFailed  UpdateStatus = "FAILED"
)

// Values returns all known values for UpdateStatus. 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 (UpdateStatus) Values() []UpdateStatus {
	return []UpdateStatus{
		"SUCCESS",
		"PENDING",
		"FAILED",
	}
}

type WebserverAccessMode string

// Enum values for WebserverAccessMode
const (
	WebserverAccessModePrivateOnly WebserverAccessMode = "PRIVATE_ONLY"
	WebserverAccessModePublicOnly  WebserverAccessMode = "PUBLIC_ONLY"
)

// Values returns all known values for WebserverAccessMode. 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 (WebserverAccessMode) Values() []WebserverAccessMode {
	return []WebserverAccessMode{
		"PRIVATE_ONLY",
		"PUBLIC_ONLY",
	}
}