File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (369 lines) | stat: -rw-r--r-- 12,351 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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AddressFamily string

// Enum values for AddressFamily
const (
	AddressFamilyIPv4 AddressFamily = "ipv4"
	AddressFamilyIPv6 AddressFamily = "ipv6"
)

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

type BGPPeerState string

// Enum values for BGPPeerState
const (
	BGPPeerStateVerifying BGPPeerState = "verifying"
	BGPPeerStatePending   BGPPeerState = "pending"
	BGPPeerStateAvailable BGPPeerState = "available"
	BGPPeerStateDeleting  BGPPeerState = "deleting"
	BGPPeerStateDeleted   BGPPeerState = "deleted"
)

// Values returns all known values for BGPPeerState. 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 (BGPPeerState) Values() []BGPPeerState {
	return []BGPPeerState{
		"verifying",
		"pending",
		"available",
		"deleting",
		"deleted",
	}
}

type BGPStatus string

// Enum values for BGPStatus
const (
	BGPStatusUp      BGPStatus = "up"
	BGPStatusDown    BGPStatus = "down"
	BGPStatusUnknown BGPStatus = "unknown"
)

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

type ConnectionState string

// Enum values for ConnectionState
const (
	ConnectionStateOrdering  ConnectionState = "ordering"
	ConnectionStateRequested ConnectionState = "requested"
	ConnectionStatePending   ConnectionState = "pending"
	ConnectionStateAvailable ConnectionState = "available"
	ConnectionStateDown      ConnectionState = "down"
	ConnectionStateDeleting  ConnectionState = "deleting"
	ConnectionStateDeleted   ConnectionState = "deleted"
	ConnectionStateRejected  ConnectionState = "rejected"
	ConnectionStateUnknown   ConnectionState = "unknown"
)

// Values returns all known values for ConnectionState. 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 (ConnectionState) Values() []ConnectionState {
	return []ConnectionState{
		"ordering",
		"requested",
		"pending",
		"available",
		"down",
		"deleting",
		"deleted",
		"rejected",
		"unknown",
	}
}

type DirectConnectGatewayAssociationProposalState string

// Enum values for DirectConnectGatewayAssociationProposalState
const (
	DirectConnectGatewayAssociationProposalStateRequested DirectConnectGatewayAssociationProposalState = "requested"
	DirectConnectGatewayAssociationProposalStateAccepted  DirectConnectGatewayAssociationProposalState = "accepted"
	DirectConnectGatewayAssociationProposalStateDeleted   DirectConnectGatewayAssociationProposalState = "deleted"
)

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

type DirectConnectGatewayAssociationState string

// Enum values for DirectConnectGatewayAssociationState
const (
	DirectConnectGatewayAssociationStateAssociating    DirectConnectGatewayAssociationState = "associating"
	DirectConnectGatewayAssociationStateAssociated     DirectConnectGatewayAssociationState = "associated"
	DirectConnectGatewayAssociationStateDisassociating DirectConnectGatewayAssociationState = "disassociating"
	DirectConnectGatewayAssociationStateDisassociated  DirectConnectGatewayAssociationState = "disassociated"
	DirectConnectGatewayAssociationStateUpdating       DirectConnectGatewayAssociationState = "updating"
)

// Values returns all known values for DirectConnectGatewayAssociationState. 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 (DirectConnectGatewayAssociationState) Values() []DirectConnectGatewayAssociationState {
	return []DirectConnectGatewayAssociationState{
		"associating",
		"associated",
		"disassociating",
		"disassociated",
		"updating",
	}
}

type DirectConnectGatewayAttachmentState string

// Enum values for DirectConnectGatewayAttachmentState
const (
	DirectConnectGatewayAttachmentStateAttaching DirectConnectGatewayAttachmentState = "attaching"
	DirectConnectGatewayAttachmentStateAttached  DirectConnectGatewayAttachmentState = "attached"
	DirectConnectGatewayAttachmentStateDetaching DirectConnectGatewayAttachmentState = "detaching"
	DirectConnectGatewayAttachmentStateDetached  DirectConnectGatewayAttachmentState = "detached"
)

// Values returns all known values for DirectConnectGatewayAttachmentState. 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 (DirectConnectGatewayAttachmentState) Values() []DirectConnectGatewayAttachmentState {
	return []DirectConnectGatewayAttachmentState{
		"attaching",
		"attached",
		"detaching",
		"detached",
	}
}

type DirectConnectGatewayAttachmentType string

// Enum values for DirectConnectGatewayAttachmentType
const (
	DirectConnectGatewayAttachmentTypeTransitVirtualInterface DirectConnectGatewayAttachmentType = "TransitVirtualInterface"
	DirectConnectGatewayAttachmentTypePrivateVirtualInterface DirectConnectGatewayAttachmentType = "PrivateVirtualInterface"
)

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

type DirectConnectGatewayState string

// Enum values for DirectConnectGatewayState
const (
	DirectConnectGatewayStatePending   DirectConnectGatewayState = "pending"
	DirectConnectGatewayStateAvailable DirectConnectGatewayState = "available"
	DirectConnectGatewayStateDeleting  DirectConnectGatewayState = "deleting"
	DirectConnectGatewayStateDeleted   DirectConnectGatewayState = "deleted"
)

// Values returns all known values for DirectConnectGatewayState. 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 (DirectConnectGatewayState) Values() []DirectConnectGatewayState {
	return []DirectConnectGatewayState{
		"pending",
		"available",
		"deleting",
		"deleted",
	}
}

type GatewayType string

// Enum values for GatewayType
const (
	GatewayTypeVirtualPrivateGateway GatewayType = "virtualPrivateGateway"
	GatewayTypeTransitGateway        GatewayType = "transitGateway"
)

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

type HasLogicalRedundancy string

// Enum values for HasLogicalRedundancy
const (
	HasLogicalRedundancyUnknown HasLogicalRedundancy = "unknown"
	HasLogicalRedundancyYes     HasLogicalRedundancy = "yes"
	HasLogicalRedundancyNo      HasLogicalRedundancy = "no"
)

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

type InterconnectState string

// Enum values for InterconnectState
const (
	InterconnectStateRequested InterconnectState = "requested"
	InterconnectStatePending   InterconnectState = "pending"
	InterconnectStateAvailable InterconnectState = "available"
	InterconnectStateDown      InterconnectState = "down"
	InterconnectStateDeleting  InterconnectState = "deleting"
	InterconnectStateDeleted   InterconnectState = "deleted"
	InterconnectStateUnknown   InterconnectState = "unknown"
)

// Values returns all known values for InterconnectState. 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 (InterconnectState) Values() []InterconnectState {
	return []InterconnectState{
		"requested",
		"pending",
		"available",
		"down",
		"deleting",
		"deleted",
		"unknown",
	}
}

type LagState string

// Enum values for LagState
const (
	LagStateRequested LagState = "requested"
	LagStatePending   LagState = "pending"
	LagStateAvailable LagState = "available"
	LagStateDown      LagState = "down"
	LagStateDeleting  LagState = "deleting"
	LagStateDeleted   LagState = "deleted"
	LagStateUnknown   LagState = "unknown"
)

// Values returns all known values for LagState. 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 (LagState) Values() []LagState {
	return []LagState{
		"requested",
		"pending",
		"available",
		"down",
		"deleting",
		"deleted",
		"unknown",
	}
}

type LoaContentType string

// Enum values for LoaContentType
const (
	LoaContentTypePdf LoaContentType = "application/pdf"
)

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

type NniPartnerType string

// Enum values for NniPartnerType
const (
	NniPartnerTypeV1         NniPartnerType = "v1"
	NniPartnerTypeV2         NniPartnerType = "v2"
	NniPartnerTypeNonPartner NniPartnerType = "nonPartner"
)

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

type VirtualInterfaceState string

// Enum values for VirtualInterfaceState
const (
	VirtualInterfaceStateConfirming VirtualInterfaceState = "confirming"
	VirtualInterfaceStateVerifying  VirtualInterfaceState = "verifying"
	VirtualInterfaceStatePending    VirtualInterfaceState = "pending"
	VirtualInterfaceStateAvailable  VirtualInterfaceState = "available"
	VirtualInterfaceStateDown       VirtualInterfaceState = "down"
	VirtualInterfaceStateDeleting   VirtualInterfaceState = "deleting"
	VirtualInterfaceStateDeleted    VirtualInterfaceState = "deleted"
	VirtualInterfaceStateRejected   VirtualInterfaceState = "rejected"
	VirtualInterfaceStateUnknown    VirtualInterfaceState = "unknown"
)

// Values returns all known values for VirtualInterfaceState. 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 (VirtualInterfaceState) Values() []VirtualInterfaceState {
	return []VirtualInterfaceState{
		"confirming",
		"verifying",
		"pending",
		"available",
		"down",
		"deleting",
		"deleted",
		"rejected",
		"unknown",
	}
}