File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (159 lines) | stat: -rw-r--r-- 5,673 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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type DurationUnit string

// Enum values for DurationUnit
const (
	DurationUnitDay   DurationUnit = "DAY"
	DurationUnitMonth DurationUnit = "MONTH"
)

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

type ServiceLevelIndicatorComparisonOperator string

// Enum values for ServiceLevelIndicatorComparisonOperator
const (
	ServiceLevelIndicatorComparisonOperatorGreaterThanOrEqualTo ServiceLevelIndicatorComparisonOperator = "GreaterThanOrEqualTo"
	ServiceLevelIndicatorComparisonOperatorGreaterThan          ServiceLevelIndicatorComparisonOperator = "GreaterThan"
	ServiceLevelIndicatorComparisonOperatorLessThan             ServiceLevelIndicatorComparisonOperator = "LessThan"
	ServiceLevelIndicatorComparisonOperatorLessThanOrEqualTo    ServiceLevelIndicatorComparisonOperator = "LessThanOrEqualTo"
)

// Values returns all known values for ServiceLevelIndicatorComparisonOperator.
// 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 (ServiceLevelIndicatorComparisonOperator) Values() []ServiceLevelIndicatorComparisonOperator {
	return []ServiceLevelIndicatorComparisonOperator{
		"GreaterThanOrEqualTo",
		"GreaterThan",
		"LessThan",
		"LessThanOrEqualTo",
	}
}

type ServiceLevelIndicatorMetricType string

// Enum values for ServiceLevelIndicatorMetricType
const (
	ServiceLevelIndicatorMetricTypeLatency      ServiceLevelIndicatorMetricType = "LATENCY"
	ServiceLevelIndicatorMetricTypeAvailability ServiceLevelIndicatorMetricType = "AVAILABILITY"
)

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

type ServiceLevelObjectiveBudgetStatus string

// Enum values for ServiceLevelObjectiveBudgetStatus
const (
	ServiceLevelObjectiveBudgetStatusOk               ServiceLevelObjectiveBudgetStatus = "OK"
	ServiceLevelObjectiveBudgetStatusWarning          ServiceLevelObjectiveBudgetStatus = "WARNING"
	ServiceLevelObjectiveBudgetStatusBreached         ServiceLevelObjectiveBudgetStatus = "BREACHED"
	ServiceLevelObjectiveBudgetStatusInsufficientData ServiceLevelObjectiveBudgetStatus = "INSUFFICIENT_DATA"
)

// Values returns all known values for ServiceLevelObjectiveBudgetStatus. 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 (ServiceLevelObjectiveBudgetStatus) Values() []ServiceLevelObjectiveBudgetStatus {
	return []ServiceLevelObjectiveBudgetStatus{
		"OK",
		"WARNING",
		"BREACHED",
		"INSUFFICIENT_DATA",
	}
}

type StandardUnit string

// Enum values for StandardUnit
const (
	StandardUnitMicroseconds    StandardUnit = "Microseconds"
	StandardUnitMilliseconds    StandardUnit = "Milliseconds"
	StandardUnitSeconds         StandardUnit = "Seconds"
	StandardUnitBytes           StandardUnit = "Bytes"
	StandardUnitKilobytes       StandardUnit = "Kilobytes"
	StandardUnitMegabytes       StandardUnit = "Megabytes"
	StandardUnitGigabytes       StandardUnit = "Gigabytes"
	StandardUnitTerabytes       StandardUnit = "Terabytes"
	StandardUnitBits            StandardUnit = "Bits"
	StandardUnitKilobits        StandardUnit = "Kilobits"
	StandardUnitMegabits        StandardUnit = "Megabits"
	StandardUnitGigabits        StandardUnit = "Gigabits"
	StandardUnitTerabits        StandardUnit = "Terabits"
	StandardUnitPercent         StandardUnit = "Percent"
	StandardUnitCount           StandardUnit = "Count"
	StandardUnitBytesSecond     StandardUnit = "Bytes/Second"
	StandardUnitKilobytesSecond StandardUnit = "Kilobytes/Second"
	StandardUnitMegabytesSecond StandardUnit = "Megabytes/Second"
	StandardUnitGigabytesSecond StandardUnit = "Gigabytes/Second"
	StandardUnitTerabytesSecond StandardUnit = "Terabytes/Second"
	StandardUnitBitsSecond      StandardUnit = "Bits/Second"
	StandardUnitKilobitsSecond  StandardUnit = "Kilobits/Second"
	StandardUnitMegabitsSecond  StandardUnit = "Megabits/Second"
	StandardUnitGigabitsSecond  StandardUnit = "Gigabits/Second"
	StandardUnitTerabitsSecond  StandardUnit = "Terabits/Second"
	StandardUnitCountSecond     StandardUnit = "Count/Second"
	StandardUnitNone            StandardUnit = "None"
)

// Values returns all known values for StandardUnit. 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 (StandardUnit) Values() []StandardUnit {
	return []StandardUnit{
		"Microseconds",
		"Milliseconds",
		"Seconds",
		"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",
	}
}