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 (421 lines) | stat: -rw-r--r-- 12,792 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
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AttachmentStatus string

// Enum values for AttachmentStatus
const (
	AttachmentStatusCreating AttachmentStatus = "CREATING"
	AttachmentStatusDeleting AttachmentStatus = "DELETING"
	AttachmentStatusScaling  AttachmentStatus = "SCALING"
	AttachmentStatusReady    AttachmentStatus = "READY"
)

// Values returns all known values for AttachmentStatus. 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 (AttachmentStatus) Values() []AttachmentStatus {
	return []AttachmentStatus{
		"CREATING",
		"DELETING",
		"SCALING",
		"READY",
	}
}

type ConfigurationSyncState string

// Enum values for ConfigurationSyncState
const (
	ConfigurationSyncStatePending             ConfigurationSyncState = "PENDING"
	ConfigurationSyncStateInSync              ConfigurationSyncState = "IN_SYNC"
	ConfigurationSyncStateCapacityConstrained ConfigurationSyncState = "CAPACITY_CONSTRAINED"
)

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

type EncryptionType string

// Enum values for EncryptionType
const (
	EncryptionTypeCustomerKms    EncryptionType = "CUSTOMER_KMS"
	EncryptionTypeAwsOwnedKmsKey EncryptionType = "AWS_OWNED_KMS_KEY"
)

// 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{
		"CUSTOMER_KMS",
		"AWS_OWNED_KMS_KEY",
	}
}

type FirewallStatusValue string

// Enum values for FirewallStatusValue
const (
	FirewallStatusValueProvisioning FirewallStatusValue = "PROVISIONING"
	FirewallStatusValueDeleting     FirewallStatusValue = "DELETING"
	FirewallStatusValueReady        FirewallStatusValue = "READY"
)

// Values returns all known values for FirewallStatusValue. 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 (FirewallStatusValue) Values() []FirewallStatusValue {
	return []FirewallStatusValue{
		"PROVISIONING",
		"DELETING",
		"READY",
	}
}

type GeneratedRulesType string

// Enum values for GeneratedRulesType
const (
	GeneratedRulesTypeAllowlist GeneratedRulesType = "ALLOWLIST"
	GeneratedRulesTypeDenylist  GeneratedRulesType = "DENYLIST"
)

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

type LogDestinationType string

// Enum values for LogDestinationType
const (
	LogDestinationTypeS3                  LogDestinationType = "S3"
	LogDestinationTypeCloudwatchLogs      LogDestinationType = "CloudWatchLogs"
	LogDestinationTypeKinesisDataFirehose LogDestinationType = "KinesisDataFirehose"
)

// Values returns all known values for LogDestinationType. 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 (LogDestinationType) Values() []LogDestinationType {
	return []LogDestinationType{
		"S3",
		"CloudWatchLogs",
		"KinesisDataFirehose",
	}
}

type LogType string

// Enum values for LogType
const (
	LogTypeAlert LogType = "ALERT"
	LogTypeFlow  LogType = "FLOW"
)

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

type OverrideAction string

// Enum values for OverrideAction
const (
	OverrideActionDropToAlert OverrideAction = "DROP_TO_ALERT"
)

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

type PerObjectSyncStatus string

// Enum values for PerObjectSyncStatus
const (
	PerObjectSyncStatusPending             PerObjectSyncStatus = "PENDING"
	PerObjectSyncStatusInSync              PerObjectSyncStatus = "IN_SYNC"
	PerObjectSyncStatusCapacityConstrained PerObjectSyncStatus = "CAPACITY_CONSTRAINED"
)

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

type ResourceManagedStatus string

// Enum values for ResourceManagedStatus
const (
	ResourceManagedStatusManaged ResourceManagedStatus = "MANAGED"
	ResourceManagedStatusAccount ResourceManagedStatus = "ACCOUNT"
)

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

type ResourceManagedType string

// Enum values for ResourceManagedType
const (
	ResourceManagedTypeAwsManagedThreatSignatures ResourceManagedType = "AWS_MANAGED_THREAT_SIGNATURES"
	ResourceManagedTypeAwsManagedDomainLists      ResourceManagedType = "AWS_MANAGED_DOMAIN_LISTS"
)

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

type ResourceStatus string

// Enum values for ResourceStatus
const (
	ResourceStatusActive   ResourceStatus = "ACTIVE"
	ResourceStatusDeleting ResourceStatus = "DELETING"
)

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

type RuleGroupType string

// Enum values for RuleGroupType
const (
	RuleGroupTypeStateless RuleGroupType = "STATELESS"
	RuleGroupTypeStateful  RuleGroupType = "STATEFUL"
)

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

type RuleOrder string

// Enum values for RuleOrder
const (
	RuleOrderDefaultActionOrder RuleOrder = "DEFAULT_ACTION_ORDER"
	RuleOrderStrictOrder        RuleOrder = "STRICT_ORDER"
)

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

type StatefulAction string

// Enum values for StatefulAction
const (
	StatefulActionPass  StatefulAction = "PASS"
	StatefulActionDrop  StatefulAction = "DROP"
	StatefulActionAlert StatefulAction = "ALERT"
)

// Values returns all known values for StatefulAction. 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 (StatefulAction) Values() []StatefulAction {
	return []StatefulAction{
		"PASS",
		"DROP",
		"ALERT",
	}
}

type StatefulRuleDirection string

// Enum values for StatefulRuleDirection
const (
	StatefulRuleDirectionForward StatefulRuleDirection = "FORWARD"
	StatefulRuleDirectionAny     StatefulRuleDirection = "ANY"
)

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

type StatefulRuleProtocol string

// Enum values for StatefulRuleProtocol
const (
	StatefulRuleProtocolAny    StatefulRuleProtocol = "IP"
	StatefulRuleProtocolTcp    StatefulRuleProtocol = "TCP"
	StatefulRuleProtocolUdp    StatefulRuleProtocol = "UDP"
	StatefulRuleProtocolIcmp   StatefulRuleProtocol = "ICMP"
	StatefulRuleProtocolHttp   StatefulRuleProtocol = "HTTP"
	StatefulRuleProtocolFtp    StatefulRuleProtocol = "FTP"
	StatefulRuleProtocolTls    StatefulRuleProtocol = "TLS"
	StatefulRuleProtocolSmb    StatefulRuleProtocol = "SMB"
	StatefulRuleProtocolDns    StatefulRuleProtocol = "DNS"
	StatefulRuleProtocolDcerpc StatefulRuleProtocol = "DCERPC"
	StatefulRuleProtocolSsh    StatefulRuleProtocol = "SSH"
	StatefulRuleProtocolSmtp   StatefulRuleProtocol = "SMTP"
	StatefulRuleProtocolImap   StatefulRuleProtocol = "IMAP"
	StatefulRuleProtocolMsn    StatefulRuleProtocol = "MSN"
	StatefulRuleProtocolKrb5   StatefulRuleProtocol = "KRB5"
	StatefulRuleProtocolIkev2  StatefulRuleProtocol = "IKEV2"
	StatefulRuleProtocolTftp   StatefulRuleProtocol = "TFTP"
	StatefulRuleProtocolNtp    StatefulRuleProtocol = "NTP"
	StatefulRuleProtocolDhcp   StatefulRuleProtocol = "DHCP"
)

// Values returns all known values for StatefulRuleProtocol. 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 (StatefulRuleProtocol) Values() []StatefulRuleProtocol {
	return []StatefulRuleProtocol{
		"IP",
		"TCP",
		"UDP",
		"ICMP",
		"HTTP",
		"FTP",
		"TLS",
		"SMB",
		"DNS",
		"DCERPC",
		"SSH",
		"SMTP",
		"IMAP",
		"MSN",
		"KRB5",
		"IKEV2",
		"TFTP",
		"NTP",
		"DHCP",
	}
}

type StreamExceptionPolicy string

// Enum values for StreamExceptionPolicy
const (
	StreamExceptionPolicyDrop     StreamExceptionPolicy = "DROP"
	StreamExceptionPolicyContinue StreamExceptionPolicy = "CONTINUE"
)

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

type TargetType string

// Enum values for TargetType
const (
	TargetTypeTlsSni   TargetType = "TLS_SNI"
	TargetTypeHttpHost TargetType = "HTTP_HOST"
)

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

type TCPFlag string

// Enum values for TCPFlag
const (
	TCPFlagFin TCPFlag = "FIN"
	TCPFlagSyn TCPFlag = "SYN"
	TCPFlagRst TCPFlag = "RST"
	TCPFlagPsh TCPFlag = "PSH"
	TCPFlagAck TCPFlag = "ACK"
	TCPFlagUrg TCPFlag = "URG"
	TCPFlagEce TCPFlag = "ECE"
	TCPFlagCwr TCPFlag = "CWR"
)

// Values returns all known values for TCPFlag. 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 (TCPFlag) Values() []TCPFlag {
	return []TCPFlag{
		"FIN",
		"SYN",
		"RST",
		"PSH",
		"ACK",
		"URG",
		"ECE",
		"CWR",
	}
}