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 (573 lines) | stat: -rw-r--r-- 19,378 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
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AccessPropertyValue string

// Enum values for AccessPropertyValue
const (
	AccessPropertyValueAllow AccessPropertyValue = "ALLOW"
	AccessPropertyValueDeny  AccessPropertyValue = "DENY"
)

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

type Application string

// Enum values for Application
const (
	ApplicationMicrosoftOffice2016 Application = "Microsoft_Office_2016"
	ApplicationMicrosoftOffice2019 Application = "Microsoft_Office_2019"
)

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

type AssociationStatus string

// Enum values for AssociationStatus
const (
	AssociationStatusNotAssociated               AssociationStatus = "NOT_ASSOCIATED"
	AssociationStatusAssociatedWithOwnerAccount  AssociationStatus = "ASSOCIATED_WITH_OWNER_ACCOUNT"
	AssociationStatusAssociatedWithSharedAccount AssociationStatus = "ASSOCIATED_WITH_SHARED_ACCOUNT"
	AssociationStatusPendingAssociation          AssociationStatus = "PENDING_ASSOCIATION"
	AssociationStatusPendingDisassociation       AssociationStatus = "PENDING_DISASSOCIATION"
)

// Values returns all known values for AssociationStatus. 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 (AssociationStatus) Values() []AssociationStatus {
	return []AssociationStatus{
		"NOT_ASSOCIATED",
		"ASSOCIATED_WITH_OWNER_ACCOUNT",
		"ASSOCIATED_WITH_SHARED_ACCOUNT",
		"PENDING_ASSOCIATION",
		"PENDING_DISASSOCIATION",
	}
}

type ClientDeviceType string

// Enum values for ClientDeviceType
const (
	ClientDeviceTypeDeviceTypeWindows ClientDeviceType = "DeviceTypeWindows"
	ClientDeviceTypeDeviceTypeOsx     ClientDeviceType = "DeviceTypeOsx"
	ClientDeviceTypeDeviceTypeAndroid ClientDeviceType = "DeviceTypeAndroid"
	ClientDeviceTypeDeviceTypeIos     ClientDeviceType = "DeviceTypeIos"
	ClientDeviceTypeDeviceTypeLinux   ClientDeviceType = "DeviceTypeLinux"
	ClientDeviceTypeDeviceTypeWeb     ClientDeviceType = "DeviceTypeWeb"
)

// Values returns all known values for ClientDeviceType. 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 (ClientDeviceType) Values() []ClientDeviceType {
	return []ClientDeviceType{
		"DeviceTypeWindows",
		"DeviceTypeOsx",
		"DeviceTypeAndroid",
		"DeviceTypeIos",
		"DeviceTypeLinux",
		"DeviceTypeWeb",
	}
}

type Compute string

// Enum values for Compute
const (
	ComputeValue           Compute = "VALUE"
	ComputeStandard        Compute = "STANDARD"
	ComputePerformance     Compute = "PERFORMANCE"
	ComputePower           Compute = "POWER"
	ComputeGraphics        Compute = "GRAPHICS"
	ComputePowerpro        Compute = "POWERPRO"
	ComputeGraphicspro     Compute = "GRAPHICSPRO"
	ComputeGraphicsG4dn    Compute = "GRAPHICS_G4DN"
	ComputeGraphicsproG4dn Compute = "GRAPHICSPRO_G4DN"
)

// Values returns all known values for Compute. 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 (Compute) Values() []Compute {
	return []Compute{
		"VALUE",
		"STANDARD",
		"PERFORMANCE",
		"POWER",
		"GRAPHICS",
		"POWERPRO",
		"GRAPHICSPRO",
		"GRAPHICS_G4DN",
		"GRAPHICSPRO_G4DN",
	}
}

type ConnectionAliasState string

// Enum values for ConnectionAliasState
const (
	ConnectionAliasStateCreating ConnectionAliasState = "CREATING"
	ConnectionAliasStateCreated  ConnectionAliasState = "CREATED"
	ConnectionAliasStateDeleting ConnectionAliasState = "DELETING"
)

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

type ConnectionState string

// Enum values for ConnectionState
const (
	ConnectionStateConnected    ConnectionState = "CONNECTED"
	ConnectionStateDisconnected ConnectionState = "DISCONNECTED"
	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{
		"CONNECTED",
		"DISCONNECTED",
		"UNKNOWN",
	}
}

type DedicatedTenancyModificationStateEnum string

// Enum values for DedicatedTenancyModificationStateEnum
const (
	DedicatedTenancyModificationStateEnumPending   DedicatedTenancyModificationStateEnum = "PENDING"
	DedicatedTenancyModificationStateEnumCompleted DedicatedTenancyModificationStateEnum = "COMPLETED"
	DedicatedTenancyModificationStateEnumFailed    DedicatedTenancyModificationStateEnum = "FAILED"
)

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

type DedicatedTenancySupportEnum string

// Enum values for DedicatedTenancySupportEnum
const (
	DedicatedTenancySupportEnumEnabled DedicatedTenancySupportEnum = "ENABLED"
)

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

type DedicatedTenancySupportResultEnum string

// Enum values for DedicatedTenancySupportResultEnum
const (
	DedicatedTenancySupportResultEnumEnabled  DedicatedTenancySupportResultEnum = "ENABLED"
	DedicatedTenancySupportResultEnumDisabled DedicatedTenancySupportResultEnum = "DISABLED"
)

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

type DeletableSamlProperty string

// Enum values for DeletableSamlProperty
const (
	DeletableSamlPropertySamlPropertiesUserAccessUrl           DeletableSamlProperty = "SAML_PROPERTIES_USER_ACCESS_URL"
	DeletableSamlPropertySamlPropertiesRelayStateParameterName DeletableSamlProperty = "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME"
)

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

type ImageType string

// Enum values for ImageType
const (
	ImageTypeOwned  ImageType = "OWNED"
	ImageTypeShared ImageType = "SHARED"
)

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

type LogUploadEnum string

// Enum values for LogUploadEnum
const (
	LogUploadEnumEnabled  LogUploadEnum = "ENABLED"
	LogUploadEnumDisabled LogUploadEnum = "DISABLED"
)

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

type ModificationResourceEnum string

// Enum values for ModificationResourceEnum
const (
	ModificationResourceEnumRootVolume  ModificationResourceEnum = "ROOT_VOLUME"
	ModificationResourceEnumUserVolume  ModificationResourceEnum = "USER_VOLUME"
	ModificationResourceEnumComputeType ModificationResourceEnum = "COMPUTE_TYPE"
)

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

type ModificationStateEnum string

// Enum values for ModificationStateEnum
const (
	ModificationStateEnumUpdateInitiated  ModificationStateEnum = "UPDATE_INITIATED"
	ModificationStateEnumUpdateInProgress ModificationStateEnum = "UPDATE_IN_PROGRESS"
)

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

type OperatingSystemType string

// Enum values for OperatingSystemType
const (
	OperatingSystemTypeWindows OperatingSystemType = "WINDOWS"
	OperatingSystemTypeLinux   OperatingSystemType = "LINUX"
)

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

type ReconnectEnum string

// Enum values for ReconnectEnum
const (
	ReconnectEnumEnabled  ReconnectEnum = "ENABLED"
	ReconnectEnumDisabled ReconnectEnum = "DISABLED"
)

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

type RunningMode string

// Enum values for RunningMode
const (
	RunningModeAutoStop RunningMode = "AUTO_STOP"
	RunningModeAlwaysOn RunningMode = "ALWAYS_ON"
)

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

type SamlStatusEnum string

// Enum values for SamlStatusEnum
const (
	SamlStatusEnumDisabled                          SamlStatusEnum = "DISABLED"
	SamlStatusEnumEnabled                           SamlStatusEnum = "ENABLED"
	SamlStatusEnumEnabledWithDirectoryLoginFallback SamlStatusEnum = "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"
)

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

type TargetWorkspaceState string

// Enum values for TargetWorkspaceState
const (
	TargetWorkspaceStateAvailable        TargetWorkspaceState = "AVAILABLE"
	TargetWorkspaceStateAdminMaintenance TargetWorkspaceState = "ADMIN_MAINTENANCE"
)

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

type Tenancy string

// Enum values for Tenancy
const (
	TenancyDedicated Tenancy = "DEDICATED"
	TenancyShared    Tenancy = "SHARED"
)

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

type WorkspaceDirectoryState string

// Enum values for WorkspaceDirectoryState
const (
	WorkspaceDirectoryStateRegistering   WorkspaceDirectoryState = "REGISTERING"
	WorkspaceDirectoryStateRegistered    WorkspaceDirectoryState = "REGISTERED"
	WorkspaceDirectoryStateDeregistering WorkspaceDirectoryState = "DEREGISTERING"
	WorkspaceDirectoryStateDeregistered  WorkspaceDirectoryState = "DEREGISTERED"
	WorkspaceDirectoryStateError         WorkspaceDirectoryState = "ERROR"
)

// Values returns all known values for WorkspaceDirectoryState. 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 (WorkspaceDirectoryState) Values() []WorkspaceDirectoryState {
	return []WorkspaceDirectoryState{
		"REGISTERING",
		"REGISTERED",
		"DEREGISTERING",
		"DEREGISTERED",
		"ERROR",
	}
}

type WorkspaceDirectoryType string

// Enum values for WorkspaceDirectoryType
const (
	WorkspaceDirectoryTypeSimpleAd    WorkspaceDirectoryType = "SIMPLE_AD"
	WorkspaceDirectoryTypeAdConnector WorkspaceDirectoryType = "AD_CONNECTOR"
)

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

type WorkspaceImageIngestionProcess string

// Enum values for WorkspaceImageIngestionProcess
const (
	WorkspaceImageIngestionProcessByolRegular      WorkspaceImageIngestionProcess = "BYOL_REGULAR"
	WorkspaceImageIngestionProcessByolGraphics     WorkspaceImageIngestionProcess = "BYOL_GRAPHICS"
	WorkspaceImageIngestionProcessByolGraphicspro  WorkspaceImageIngestionProcess = "BYOL_GRAPHICSPRO"
	WorkspaceImageIngestionProcessByolGraphicsG4dn WorkspaceImageIngestionProcess = "BYOL_GRAPHICS_G4DN"
	WorkspaceImageIngestionProcessByolRegularWsp   WorkspaceImageIngestionProcess = "BYOL_REGULAR_WSP"
)

// Values returns all known values for WorkspaceImageIngestionProcess. 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 (WorkspaceImageIngestionProcess) Values() []WorkspaceImageIngestionProcess {
	return []WorkspaceImageIngestionProcess{
		"BYOL_REGULAR",
		"BYOL_GRAPHICS",
		"BYOL_GRAPHICSPRO",
		"BYOL_GRAPHICS_G4DN",
		"BYOL_REGULAR_WSP",
	}
}

type WorkspaceImageRequiredTenancy string

// Enum values for WorkspaceImageRequiredTenancy
const (
	WorkspaceImageRequiredTenancyDefault   WorkspaceImageRequiredTenancy = "DEFAULT"
	WorkspaceImageRequiredTenancyDedicated WorkspaceImageRequiredTenancy = "DEDICATED"
)

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

type WorkspaceImageState string

// Enum values for WorkspaceImageState
const (
	WorkspaceImageStateAvailable WorkspaceImageState = "AVAILABLE"
	WorkspaceImageStatePending   WorkspaceImageState = "PENDING"
	WorkspaceImageStateError     WorkspaceImageState = "ERROR"
)

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

type WorkspaceState string

// Enum values for WorkspaceState
const (
	WorkspaceStatePending          WorkspaceState = "PENDING"
	WorkspaceStateAvailable        WorkspaceState = "AVAILABLE"
	WorkspaceStateImpaired         WorkspaceState = "IMPAIRED"
	WorkspaceStateUnhealthy        WorkspaceState = "UNHEALTHY"
	WorkspaceStateRebooting        WorkspaceState = "REBOOTING"
	WorkspaceStateStarting         WorkspaceState = "STARTING"
	WorkspaceStateRebuilding       WorkspaceState = "REBUILDING"
	WorkspaceStateRestoring        WorkspaceState = "RESTORING"
	WorkspaceStateMaintenance      WorkspaceState = "MAINTENANCE"
	WorkspaceStateAdminMaintenance WorkspaceState = "ADMIN_MAINTENANCE"
	WorkspaceStateTerminating      WorkspaceState = "TERMINATING"
	WorkspaceStateTerminated       WorkspaceState = "TERMINATED"
	WorkspaceStateSuspended        WorkspaceState = "SUSPENDED"
	WorkspaceStateUpdating         WorkspaceState = "UPDATING"
	WorkspaceStateStopping         WorkspaceState = "STOPPING"
	WorkspaceStateStopped          WorkspaceState = "STOPPED"
	WorkspaceStateError            WorkspaceState = "ERROR"
)

// Values returns all known values for WorkspaceState. 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 (WorkspaceState) Values() []WorkspaceState {
	return []WorkspaceState{
		"PENDING",
		"AVAILABLE",
		"IMPAIRED",
		"UNHEALTHY",
		"REBOOTING",
		"STARTING",
		"REBUILDING",
		"RESTORING",
		"MAINTENANCE",
		"ADMIN_MAINTENANCE",
		"TERMINATING",
		"TERMINATED",
		"SUSPENDED",
		"UPDATING",
		"STOPPING",
		"STOPPED",
		"ERROR",
	}
}