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

package types

type ActivationOverrideBehavior string

// Enum values for ActivationOverrideBehavior
const (
	ActivationOverrideBehaviorDistributedGrantsOnly      ActivationOverrideBehavior = "DISTRIBUTED_GRANTS_ONLY"
	ActivationOverrideBehaviorAllGrantsPermittedByIssuer ActivationOverrideBehavior = "ALL_GRANTS_PERMITTED_BY_ISSUER"
)

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

type AllowedOperation string

// Enum values for AllowedOperation
const (
	AllowedOperationCreateGrant              AllowedOperation = "CreateGrant"
	AllowedOperationCheckoutLicense          AllowedOperation = "CheckoutLicense"
	AllowedOperationCheckoutBorrowLicense    AllowedOperation = "CheckoutBorrowLicense"
	AllowedOperationCheckInLicense           AllowedOperation = "CheckInLicense"
	AllowedOperationExtendConsumptionLicense AllowedOperation = "ExtendConsumptionLicense"
	AllowedOperationListPurchasedLicenses    AllowedOperation = "ListPurchasedLicenses"
	AllowedOperationCreateToken              AllowedOperation = "CreateToken"
)

// Values returns all known values for AllowedOperation. 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 (AllowedOperation) Values() []AllowedOperation {
	return []AllowedOperation{
		"CreateGrant",
		"CheckoutLicense",
		"CheckoutBorrowLicense",
		"CheckInLicense",
		"ExtendConsumptionLicense",
		"ListPurchasedLicenses",
		"CreateToken",
	}
}

type CheckoutType string

// Enum values for CheckoutType
const (
	CheckoutTypeProvisional CheckoutType = "PROVISIONAL"
	CheckoutTypePerpetual   CheckoutType = "PERPETUAL"
)

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

type DigitalSignatureMethod string

// Enum values for DigitalSignatureMethod
const (
	DigitalSignatureMethodJwtPs384 DigitalSignatureMethod = "JWT_PS384"
)

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

type EntitlementDataUnit string

// Enum values for EntitlementDataUnit
const (
	EntitlementDataUnitCount              EntitlementDataUnit = "Count"
	EntitlementDataUnitNone               EntitlementDataUnit = "None"
	EntitlementDataUnitSeconds            EntitlementDataUnit = "Seconds"
	EntitlementDataUnitMicroseconds       EntitlementDataUnit = "Microseconds"
	EntitlementDataUnitMilliseconds       EntitlementDataUnit = "Milliseconds"
	EntitlementDataUnitBytes              EntitlementDataUnit = "Bytes"
	EntitlementDataUnitKilobytes          EntitlementDataUnit = "Kilobytes"
	EntitlementDataUnitMegabytes          EntitlementDataUnit = "Megabytes"
	EntitlementDataUnitGigabytes          EntitlementDataUnit = "Gigabytes"
	EntitlementDataUnitTerabytes          EntitlementDataUnit = "Terabytes"
	EntitlementDataUnitBits               EntitlementDataUnit = "Bits"
	EntitlementDataUnitKilobits           EntitlementDataUnit = "Kilobits"
	EntitlementDataUnitMegabits           EntitlementDataUnit = "Megabits"
	EntitlementDataUnitGigabits           EntitlementDataUnit = "Gigabits"
	EntitlementDataUnitTerabits           EntitlementDataUnit = "Terabits"
	EntitlementDataUnitPercent            EntitlementDataUnit = "Percent"
	EntitlementDataUnitBytesPerSecond     EntitlementDataUnit = "Bytes/Second"
	EntitlementDataUnitKilobytesPerSecond EntitlementDataUnit = "Kilobytes/Second"
	EntitlementDataUnitMegabytesPerSecond EntitlementDataUnit = "Megabytes/Second"
	EntitlementDataUnitGigabytesPerSecond EntitlementDataUnit = "Gigabytes/Second"
	EntitlementDataUnitTerabytesPerSecond EntitlementDataUnit = "Terabytes/Second"
	EntitlementDataUnitBitsPerSecond      EntitlementDataUnit = "Bits/Second"
	EntitlementDataUnitKilobitsPerSecond  EntitlementDataUnit = "Kilobits/Second"
	EntitlementDataUnitMegabitsPerSecond  EntitlementDataUnit = "Megabits/Second"
	EntitlementDataUnitGigabitsPerSecond  EntitlementDataUnit = "Gigabits/Second"
	EntitlementDataUnitTerabitsPerSecond  EntitlementDataUnit = "Terabits/Second"
	EntitlementDataUnitCountPerSecond     EntitlementDataUnit = "Count/Second"
)

// Values returns all known values for EntitlementDataUnit. 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 (EntitlementDataUnit) Values() []EntitlementDataUnit {
	return []EntitlementDataUnit{
		"Count",
		"None",
		"Seconds",
		"Microseconds",
		"Milliseconds",
		"Bytes",
		"Kilobytes",
		"Megabytes",
		"Gigabytes",
		"Terabytes",
		"Bits",
		"Kilobits",
		"Megabits",
		"Gigabits",
		"Terabits",
		"Percent",
		"Bytes/Second",
		"Kilobytes/Second",
		"Megabytes/Second",
		"Gigabytes/Second",
		"Terabytes/Second",
		"Bits/Second",
		"Kilobits/Second",
		"Megabits/Second",
		"Gigabits/Second",
		"Terabits/Second",
		"Count/Second",
	}
}

type EntitlementUnit string

// Enum values for EntitlementUnit
const (
	EntitlementUnitCount              EntitlementUnit = "Count"
	EntitlementUnitNone               EntitlementUnit = "None"
	EntitlementUnitSeconds            EntitlementUnit = "Seconds"
	EntitlementUnitMicroseconds       EntitlementUnit = "Microseconds"
	EntitlementUnitMilliseconds       EntitlementUnit = "Milliseconds"
	EntitlementUnitBytes              EntitlementUnit = "Bytes"
	EntitlementUnitKilobytes          EntitlementUnit = "Kilobytes"
	EntitlementUnitMegabytes          EntitlementUnit = "Megabytes"
	EntitlementUnitGigabytes          EntitlementUnit = "Gigabytes"
	EntitlementUnitTerabytes          EntitlementUnit = "Terabytes"
	EntitlementUnitBits               EntitlementUnit = "Bits"
	EntitlementUnitKilobits           EntitlementUnit = "Kilobits"
	EntitlementUnitMegabits           EntitlementUnit = "Megabits"
	EntitlementUnitGigabits           EntitlementUnit = "Gigabits"
	EntitlementUnitTerabits           EntitlementUnit = "Terabits"
	EntitlementUnitPercent            EntitlementUnit = "Percent"
	EntitlementUnitBytesPerSecond     EntitlementUnit = "Bytes/Second"
	EntitlementUnitKilobytesPerSecond EntitlementUnit = "Kilobytes/Second"
	EntitlementUnitMegabytesPerSecond EntitlementUnit = "Megabytes/Second"
	EntitlementUnitGigabytesPerSecond EntitlementUnit = "Gigabytes/Second"
	EntitlementUnitTerabytesPerSecond EntitlementUnit = "Terabytes/Second"
	EntitlementUnitBitsPerSecond      EntitlementUnit = "Bits/Second"
	EntitlementUnitKilobitsPerSecond  EntitlementUnit = "Kilobits/Second"
	EntitlementUnitMegabitsPerSecond  EntitlementUnit = "Megabits/Second"
	EntitlementUnitGigabitsPerSecond  EntitlementUnit = "Gigabits/Second"
	EntitlementUnitTerabitsPerSecond  EntitlementUnit = "Terabits/Second"
	EntitlementUnitCountPerSecond     EntitlementUnit = "Count/Second"
)

// Values returns all known values for EntitlementUnit. 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 (EntitlementUnit) Values() []EntitlementUnit {
	return []EntitlementUnit{
		"Count",
		"None",
		"Seconds",
		"Microseconds",
		"Milliseconds",
		"Bytes",
		"Kilobytes",
		"Megabytes",
		"Gigabytes",
		"Terabytes",
		"Bits",
		"Kilobits",
		"Megabits",
		"Gigabits",
		"Terabits",
		"Percent",
		"Bytes/Second",
		"Kilobytes/Second",
		"Megabytes/Second",
		"Gigabytes/Second",
		"Terabytes/Second",
		"Bits/Second",
		"Kilobits/Second",
		"Megabits/Second",
		"Gigabits/Second",
		"Terabits/Second",
		"Count/Second",
	}
}

type GrantStatus string

// Enum values for GrantStatus
const (
	GrantStatusPendingWorkflow   GrantStatus = "PENDING_WORKFLOW"
	GrantStatusPendingAccept     GrantStatus = "PENDING_ACCEPT"
	GrantStatusRejected          GrantStatus = "REJECTED"
	GrantStatusActive            GrantStatus = "ACTIVE"
	GrantStatusFailedWorkflow    GrantStatus = "FAILED_WORKFLOW"
	GrantStatusDeleted           GrantStatus = "DELETED"
	GrantStatusPendingDelete     GrantStatus = "PENDING_DELETE"
	GrantStatusDisabled          GrantStatus = "DISABLED"
	GrantStatusWorkflowCompleted GrantStatus = "WORKFLOW_COMPLETED"
)

// Values returns all known values for GrantStatus. 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 (GrantStatus) Values() []GrantStatus {
	return []GrantStatus{
		"PENDING_WORKFLOW",
		"PENDING_ACCEPT",
		"REJECTED",
		"ACTIVE",
		"FAILED_WORKFLOW",
		"DELETED",
		"PENDING_DELETE",
		"DISABLED",
		"WORKFLOW_COMPLETED",
	}
}

type InventoryFilterCondition string

// Enum values for InventoryFilterCondition
const (
	InventoryFilterConditionEquals     InventoryFilterCondition = "EQUALS"
	InventoryFilterConditionNotEquals  InventoryFilterCondition = "NOT_EQUALS"
	InventoryFilterConditionBeginsWith InventoryFilterCondition = "BEGINS_WITH"
	InventoryFilterConditionContains   InventoryFilterCondition = "CONTAINS"
)

// Values returns all known values for InventoryFilterCondition. 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 (InventoryFilterCondition) Values() []InventoryFilterCondition {
	return []InventoryFilterCondition{
		"EQUALS",
		"NOT_EQUALS",
		"BEGINS_WITH",
		"CONTAINS",
	}
}

type LicenseConfigurationStatus string

// Enum values for LicenseConfigurationStatus
const (
	LicenseConfigurationStatusAvailable LicenseConfigurationStatus = "AVAILABLE"
	LicenseConfigurationStatusDisabled  LicenseConfigurationStatus = "DISABLED"
)

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

type LicenseConversionTaskStatus string

// Enum values for LicenseConversionTaskStatus
const (
	LicenseConversionTaskStatusInProgress LicenseConversionTaskStatus = "IN_PROGRESS"
	LicenseConversionTaskStatusSucceeded  LicenseConversionTaskStatus = "SUCCEEDED"
	LicenseConversionTaskStatusFailed     LicenseConversionTaskStatus = "FAILED"
)

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

type LicenseCountingType string

// Enum values for LicenseCountingType
const (
	LicenseCountingTypeVcpu     LicenseCountingType = "vCPU"
	LicenseCountingTypeInstance LicenseCountingType = "Instance"
	LicenseCountingTypeCore     LicenseCountingType = "Core"
	LicenseCountingTypeSocket   LicenseCountingType = "Socket"
)

// Values returns all known values for LicenseCountingType. 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 (LicenseCountingType) Values() []LicenseCountingType {
	return []LicenseCountingType{
		"vCPU",
		"Instance",
		"Core",
		"Socket",
	}
}

type LicenseDeletionStatus string

// Enum values for LicenseDeletionStatus
const (
	LicenseDeletionStatusPendingDelete LicenseDeletionStatus = "PENDING_DELETE"
	LicenseDeletionStatusDeleted       LicenseDeletionStatus = "DELETED"
)

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

type LicenseStatus string

// Enum values for LicenseStatus
const (
	LicenseStatusAvailable        LicenseStatus = "AVAILABLE"
	LicenseStatusPendingAvailable LicenseStatus = "PENDING_AVAILABLE"
	LicenseStatusDeactivated      LicenseStatus = "DEACTIVATED"
	LicenseStatusSuspended        LicenseStatus = "SUSPENDED"
	LicenseStatusExpired          LicenseStatus = "EXPIRED"
	LicenseStatusPendingDelete    LicenseStatus = "PENDING_DELETE"
	LicenseStatusDeleted          LicenseStatus = "DELETED"
)

// Values returns all known values for LicenseStatus. 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 (LicenseStatus) Values() []LicenseStatus {
	return []LicenseStatus{
		"AVAILABLE",
		"PENDING_AVAILABLE",
		"DEACTIVATED",
		"SUSPENDED",
		"EXPIRED",
		"PENDING_DELETE",
		"DELETED",
	}
}

type ReceivedStatus string

// Enum values for ReceivedStatus
const (
	ReceivedStatusPendingWorkflow   ReceivedStatus = "PENDING_WORKFLOW"
	ReceivedStatusPendingAccept     ReceivedStatus = "PENDING_ACCEPT"
	ReceivedStatusRejected          ReceivedStatus = "REJECTED"
	ReceivedStatusActive            ReceivedStatus = "ACTIVE"
	ReceivedStatusFailedWorkflow    ReceivedStatus = "FAILED_WORKFLOW"
	ReceivedStatusDeleted           ReceivedStatus = "DELETED"
	ReceivedStatusDisabled          ReceivedStatus = "DISABLED"
	ReceivedStatusWorkflowCompleted ReceivedStatus = "WORKFLOW_COMPLETED"
)

// Values returns all known values for ReceivedStatus. 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 (ReceivedStatus) Values() []ReceivedStatus {
	return []ReceivedStatus{
		"PENDING_WORKFLOW",
		"PENDING_ACCEPT",
		"REJECTED",
		"ACTIVE",
		"FAILED_WORKFLOW",
		"DELETED",
		"DISABLED",
		"WORKFLOW_COMPLETED",
	}
}

type RenewType string

// Enum values for RenewType
const (
	RenewTypeNone    RenewType = "None"
	RenewTypeWeekly  RenewType = "Weekly"
	RenewTypeMonthly RenewType = "Monthly"
)

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

type ReportFrequencyType string

// Enum values for ReportFrequencyType
const (
	ReportFrequencyTypeDay   ReportFrequencyType = "DAY"
	ReportFrequencyTypeWeek  ReportFrequencyType = "WEEK"
	ReportFrequencyTypeMonth ReportFrequencyType = "MONTH"
)

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

type ReportType string

// Enum values for ReportType
const (
	ReportTypeLicenseConfigurationSummaryReport ReportType = "LicenseConfigurationSummaryReport"
	ReportTypeLicenseConfigurationUsageReport   ReportType = "LicenseConfigurationUsageReport"
)

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

type ResourceType string

// Enum values for ResourceType
const (
	ResourceTypeEc2Instance                   ResourceType = "EC2_INSTANCE"
	ResourceTypeEc2Host                       ResourceType = "EC2_HOST"
	ResourceTypeEc2Ami                        ResourceType = "EC2_AMI"
	ResourceTypeRds                           ResourceType = "RDS"
	ResourceTypeSystemsManagerManagedInstance ResourceType = "SYSTEMS_MANAGER_MANAGED_INSTANCE"
)

// Values returns all known values for ResourceType. 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 (ResourceType) Values() []ResourceType {
	return []ResourceType{
		"EC2_INSTANCE",
		"EC2_HOST",
		"EC2_AMI",
		"RDS",
		"SYSTEMS_MANAGER_MANAGED_INSTANCE",
	}
}

type TokenType string

// Enum values for TokenType
const (
	TokenTypeRefreshToken TokenType = "REFRESH_TOKEN"
)

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