-
Notifications
You must be signed in to change notification settings - Fork 598
/
enums.go
185 lines (160 loc) · 5.57 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ConsumerStatus string
// Enum values for ConsumerStatus
const (
ConsumerStatusCreating ConsumerStatus = "CREATING"
ConsumerStatusDeleting ConsumerStatus = "DELETING"
ConsumerStatusActive ConsumerStatus = "ACTIVE"
)
// Values returns all known values for ConsumerStatus. 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 (ConsumerStatus) Values() []ConsumerStatus {
return []ConsumerStatus{
"CREATING",
"DELETING",
"ACTIVE",
}
}
type EncryptionType string
// Enum values for EncryptionType
const (
EncryptionTypeNone EncryptionType = "NONE"
EncryptionTypeKms EncryptionType = "KMS"
)
// 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{
"NONE",
"KMS",
}
}
type MetricsName string
// Enum values for MetricsName
const (
MetricsNameIncomingBytes MetricsName = "IncomingBytes"
MetricsNameIncomingRecords MetricsName = "IncomingRecords"
MetricsNameOutgoingBytes MetricsName = "OutgoingBytes"
MetricsNameOutgoingRecords MetricsName = "OutgoingRecords"
MetricsNameWriteProvisionedThroughputExceeded MetricsName = "WriteProvisionedThroughputExceeded"
MetricsNameReadProvisionedThroughputExceeded MetricsName = "ReadProvisionedThroughputExceeded"
MetricsNameIteratorAgeMilliseconds MetricsName = "IteratorAgeMilliseconds"
MetricsNameAll MetricsName = "ALL"
)
// Values returns all known values for MetricsName. 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 (MetricsName) Values() []MetricsName {
return []MetricsName{
"IncomingBytes",
"IncomingRecords",
"OutgoingBytes",
"OutgoingRecords",
"WriteProvisionedThroughputExceeded",
"ReadProvisionedThroughputExceeded",
"IteratorAgeMilliseconds",
"ALL",
}
}
type ScalingType string
// Enum values for ScalingType
const (
ScalingTypeUniformScaling ScalingType = "UNIFORM_SCALING"
)
// Values returns all known values for ScalingType. 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 (ScalingType) Values() []ScalingType {
return []ScalingType{
"UNIFORM_SCALING",
}
}
type ShardFilterType string
// Enum values for ShardFilterType
const (
ShardFilterTypeAfterShardId ShardFilterType = "AFTER_SHARD_ID"
ShardFilterTypeAtTrimHorizon ShardFilterType = "AT_TRIM_HORIZON"
ShardFilterTypeFromTrimHorizon ShardFilterType = "FROM_TRIM_HORIZON"
ShardFilterTypeAtLatest ShardFilterType = "AT_LATEST"
ShardFilterTypeAtTimestamp ShardFilterType = "AT_TIMESTAMP"
ShardFilterTypeFromTimestamp ShardFilterType = "FROM_TIMESTAMP"
)
// Values returns all known values for ShardFilterType. 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 (ShardFilterType) Values() []ShardFilterType {
return []ShardFilterType{
"AFTER_SHARD_ID",
"AT_TRIM_HORIZON",
"FROM_TRIM_HORIZON",
"AT_LATEST",
"AT_TIMESTAMP",
"FROM_TIMESTAMP",
}
}
type ShardIteratorType string
// Enum values for ShardIteratorType
const (
ShardIteratorTypeAtSequenceNumber ShardIteratorType = "AT_SEQUENCE_NUMBER"
ShardIteratorTypeAfterSequenceNumber ShardIteratorType = "AFTER_SEQUENCE_NUMBER"
ShardIteratorTypeTrimHorizon ShardIteratorType = "TRIM_HORIZON"
ShardIteratorTypeLatest ShardIteratorType = "LATEST"
ShardIteratorTypeAtTimestamp ShardIteratorType = "AT_TIMESTAMP"
)
// Values returns all known values for ShardIteratorType. 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 (ShardIteratorType) Values() []ShardIteratorType {
return []ShardIteratorType{
"AT_SEQUENCE_NUMBER",
"AFTER_SEQUENCE_NUMBER",
"TRIM_HORIZON",
"LATEST",
"AT_TIMESTAMP",
}
}
type StreamMode string
// Enum values for StreamMode
const (
StreamModeProvisioned StreamMode = "PROVISIONED"
StreamModeOnDemand StreamMode = "ON_DEMAND"
)
// Values returns all known values for StreamMode. 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 (StreamMode) Values() []StreamMode {
return []StreamMode{
"PROVISIONED",
"ON_DEMAND",
}
}
type StreamStatus string
// Enum values for StreamStatus
const (
StreamStatusCreating StreamStatus = "CREATING"
StreamStatusDeleting StreamStatus = "DELETING"
StreamStatusActive StreamStatus = "ACTIVE"
StreamStatusUpdating StreamStatus = "UPDATING"
)
// Values returns all known values for StreamStatus. 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 (StreamStatus) Values() []StreamStatus {
return []StreamStatus{
"CREATING",
"DELETING",
"ACTIVE",
"UPDATING",
}
}