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 (582 lines) | stat: -rw-r--r-- 19,113 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
574
575
576
577
578
579
580
581
582
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AccessDeniedExceptionReason string

// Enum values for AccessDeniedExceptionReason
const (
	AccessDeniedExceptionReasonInsufficientPermissions AccessDeniedExceptionReason = "INSUFFICIENT_PERMISSIONS"
)

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

type AggregateFunctionName string

// Enum values for AggregateFunctionName
const (
	AggregateFunctionNameSum           AggregateFunctionName = "SUM"
	AggregateFunctionNameSumDistinct   AggregateFunctionName = "SUM_DISTINCT"
	AggregateFunctionNameCount         AggregateFunctionName = "COUNT"
	AggregateFunctionNameCountDistinct AggregateFunctionName = "COUNT_DISTINCT"
	AggregateFunctionNameAvg           AggregateFunctionName = "AVG"
)

// Values returns all known values for AggregateFunctionName. 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 (AggregateFunctionName) Values() []AggregateFunctionName {
	return []AggregateFunctionName{
		"SUM",
		"SUM_DISTINCT",
		"COUNT",
		"COUNT_DISTINCT",
		"AVG",
	}
}

type AggregationType string

// Enum values for AggregationType
const (
	AggregationTypeCountDistinct AggregationType = "COUNT_DISTINCT"
)

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

type AnalysisFormat string

// Enum values for AnalysisFormat
const (
	AnalysisFormatSql AnalysisFormat = "SQL"
)

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

type AnalysisMethod string

// Enum values for AnalysisMethod
const (
	AnalysisMethodDirectQuery AnalysisMethod = "DIRECT_QUERY"
)

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

type AnalysisRuleType string

// Enum values for AnalysisRuleType
const (
	AnalysisRuleTypeAggregation AnalysisRuleType = "AGGREGATION"
	AnalysisRuleTypeList        AnalysisRuleType = "LIST"
	AnalysisRuleTypeCustom      AnalysisRuleType = "CUSTOM"
)

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

type CollaborationQueryLogStatus string

// Enum values for CollaborationQueryLogStatus
const (
	CollaborationQueryLogStatusEnabled  CollaborationQueryLogStatus = "ENABLED"
	CollaborationQueryLogStatusDisabled CollaborationQueryLogStatus = "DISABLED"
)

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

type ConfiguredTableAnalysisRuleType string

// Enum values for ConfiguredTableAnalysisRuleType
const (
	ConfiguredTableAnalysisRuleTypeAggregation ConfiguredTableAnalysisRuleType = "AGGREGATION"
	ConfiguredTableAnalysisRuleTypeList        ConfiguredTableAnalysisRuleType = "LIST"
	ConfiguredTableAnalysisRuleTypeCustom      ConfiguredTableAnalysisRuleType = "CUSTOM"
)

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

type ConflictExceptionReason string

// Enum values for ConflictExceptionReason
const (
	ConflictExceptionReasonAlreadyExists     ConflictExceptionReason = "ALREADY_EXISTS"
	ConflictExceptionReasonSubresourcesExist ConflictExceptionReason = "SUBRESOURCES_EXIST"
	ConflictExceptionReasonInvalidState      ConflictExceptionReason = "INVALID_STATE"
)

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

type DifferentialPrivacyAggregationType string

// Enum values for DifferentialPrivacyAggregationType
const (
	DifferentialPrivacyAggregationTypeAvg           DifferentialPrivacyAggregationType = "AVG"
	DifferentialPrivacyAggregationTypeCount         DifferentialPrivacyAggregationType = "COUNT"
	DifferentialPrivacyAggregationTypeCountDistinct DifferentialPrivacyAggregationType = "COUNT_DISTINCT"
	DifferentialPrivacyAggregationTypeSum           DifferentialPrivacyAggregationType = "SUM"
	DifferentialPrivacyAggregationTypeStddev        DifferentialPrivacyAggregationType = "STDDEV"
)

// Values returns all known values for DifferentialPrivacyAggregationType. 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 (DifferentialPrivacyAggregationType) Values() []DifferentialPrivacyAggregationType {
	return []DifferentialPrivacyAggregationType{
		"AVG",
		"COUNT",
		"COUNT_DISTINCT",
		"SUM",
		"STDDEV",
	}
}

type FilterableMemberStatus string

// Enum values for FilterableMemberStatus
const (
	FilterableMemberStatusInvited FilterableMemberStatus = "INVITED"
	FilterableMemberStatusActive  FilterableMemberStatus = "ACTIVE"
)

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

type JoinOperator string

// Enum values for JoinOperator
const (
	JoinOperatorOr  JoinOperator = "OR"
	JoinOperatorAnd JoinOperator = "AND"
)

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

type JoinRequiredOption string

// Enum values for JoinRequiredOption
const (
	JoinRequiredOptionQueryRunner JoinRequiredOption = "QUERY_RUNNER"
)

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

type MemberAbility string

// Enum values for MemberAbility
const (
	MemberAbilityCanQuery          MemberAbility = "CAN_QUERY"
	MemberAbilityCanReceiveResults MemberAbility = "CAN_RECEIVE_RESULTS"
)

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

type MembershipQueryLogStatus string

// Enum values for MembershipQueryLogStatus
const (
	MembershipQueryLogStatusEnabled  MembershipQueryLogStatus = "ENABLED"
	MembershipQueryLogStatusDisabled MembershipQueryLogStatus = "DISABLED"
)

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

type MembershipStatus string

// Enum values for MembershipStatus
const (
	MembershipStatusActive               MembershipStatus = "ACTIVE"
	MembershipStatusRemoved              MembershipStatus = "REMOVED"
	MembershipStatusCollaborationDeleted MembershipStatus = "COLLABORATION_DELETED"
)

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

type MemberStatus string

// Enum values for MemberStatus
const (
	MemberStatusInvited MemberStatus = "INVITED"
	MemberStatusActive  MemberStatus = "ACTIVE"
	MemberStatusLeft    MemberStatus = "LEFT"
	MemberStatusRemoved MemberStatus = "REMOVED"
)

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

type ParameterType string

// Enum values for ParameterType
const (
	ParameterTypeSmallint        ParameterType = "SMALLINT"
	ParameterTypeInteger         ParameterType = "INTEGER"
	ParameterTypeBigint          ParameterType = "BIGINT"
	ParameterTypeDecimal         ParameterType = "DECIMAL"
	ParameterTypeReal            ParameterType = "REAL"
	ParameterTypeDoublePrecision ParameterType = "DOUBLE_PRECISION"
	ParameterTypeBoolean         ParameterType = "BOOLEAN"
	ParameterTypeChar            ParameterType = "CHAR"
	ParameterTypeVarchar         ParameterType = "VARCHAR"
	ParameterTypeDate            ParameterType = "DATE"
	ParameterTypeTimestamp       ParameterType = "TIMESTAMP"
	ParameterTypeTimestamptz     ParameterType = "TIMESTAMPTZ"
	ParameterTypeTime            ParameterType = "TIME"
	ParameterTypeTimetz          ParameterType = "TIMETZ"
	ParameterTypeVarbyte         ParameterType = "VARBYTE"
)

// Values returns all known values for ParameterType. 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 (ParameterType) Values() []ParameterType {
	return []ParameterType{
		"SMALLINT",
		"INTEGER",
		"BIGINT",
		"DECIMAL",
		"REAL",
		"DOUBLE_PRECISION",
		"BOOLEAN",
		"CHAR",
		"VARCHAR",
		"DATE",
		"TIMESTAMP",
		"TIMESTAMPTZ",
		"TIME",
		"TIMETZ",
		"VARBYTE",
	}
}

type PrivacyBudgetTemplateAutoRefresh string

// Enum values for PrivacyBudgetTemplateAutoRefresh
const (
	PrivacyBudgetTemplateAutoRefreshCalendarMonth PrivacyBudgetTemplateAutoRefresh = "CALENDAR_MONTH"
	PrivacyBudgetTemplateAutoRefreshNone          PrivacyBudgetTemplateAutoRefresh = "NONE"
)

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

type PrivacyBudgetType string

// Enum values for PrivacyBudgetType
const (
	PrivacyBudgetTypeDifferentialPrivacy PrivacyBudgetType = "DIFFERENTIAL_PRIVACY"
)

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

type ProtectedQueryStatus string

// Enum values for ProtectedQueryStatus
const (
	ProtectedQueryStatusSubmitted  ProtectedQueryStatus = "SUBMITTED"
	ProtectedQueryStatusStarted    ProtectedQueryStatus = "STARTED"
	ProtectedQueryStatusCancelled  ProtectedQueryStatus = "CANCELLED"
	ProtectedQueryStatusCancelling ProtectedQueryStatus = "CANCELLING"
	ProtectedQueryStatusFailed     ProtectedQueryStatus = "FAILED"
	ProtectedQueryStatusSuccess    ProtectedQueryStatus = "SUCCESS"
	ProtectedQueryStatusTimedOut   ProtectedQueryStatus = "TIMED_OUT"
)

// Values returns all known values for ProtectedQueryStatus. 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 (ProtectedQueryStatus) Values() []ProtectedQueryStatus {
	return []ProtectedQueryStatus{
		"SUBMITTED",
		"STARTED",
		"CANCELLED",
		"CANCELLING",
		"FAILED",
		"SUCCESS",
		"TIMED_OUT",
	}
}

type ProtectedQueryType string

// Enum values for ProtectedQueryType
const (
	ProtectedQueryTypeSql ProtectedQueryType = "SQL"
)

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

type ResourceType string

// Enum values for ResourceType
const (
	ResourceTypeConfiguredTable            ResourceType = "CONFIGURED_TABLE"
	ResourceTypeCollaboration              ResourceType = "COLLABORATION"
	ResourceTypeMembership                 ResourceType = "MEMBERSHIP"
	ResourceTypeConfiguredTableAssociation ResourceType = "CONFIGURED_TABLE_ASSOCIATION"
)

// 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{
		"CONFIGURED_TABLE",
		"COLLABORATION",
		"MEMBERSHIP",
		"CONFIGURED_TABLE_ASSOCIATION",
	}
}

type ResultFormat string

// Enum values for ResultFormat
const (
	ResultFormatCsv     ResultFormat = "CSV"
	ResultFormatParquet ResultFormat = "PARQUET"
)

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

type ScalarFunctions string

// Enum values for ScalarFunctions
const (
	ScalarFunctionsTrunc    ScalarFunctions = "TRUNC"
	ScalarFunctionsAbs      ScalarFunctions = "ABS"
	ScalarFunctionsCeiling  ScalarFunctions = "CEILING"
	ScalarFunctionsFloor    ScalarFunctions = "FLOOR"
	ScalarFunctionsLn       ScalarFunctions = "LN"
	ScalarFunctionsLog      ScalarFunctions = "LOG"
	ScalarFunctionsRound    ScalarFunctions = "ROUND"
	ScalarFunctionsSqrt     ScalarFunctions = "SQRT"
	ScalarFunctionsCast     ScalarFunctions = "CAST"
	ScalarFunctionsLower    ScalarFunctions = "LOWER"
	ScalarFunctionsRtrim    ScalarFunctions = "RTRIM"
	ScalarFunctionsUpper    ScalarFunctions = "UPPER"
	ScalarFunctionsCoalesce ScalarFunctions = "COALESCE"
)

// Values returns all known values for ScalarFunctions. 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 (ScalarFunctions) Values() []ScalarFunctions {
	return []ScalarFunctions{
		"TRUNC",
		"ABS",
		"CEILING",
		"FLOOR",
		"LN",
		"LOG",
		"ROUND",
		"SQRT",
		"CAST",
		"LOWER",
		"RTRIM",
		"UPPER",
		"COALESCE",
	}
}

type SchemaType string

// Enum values for SchemaType
const (
	SchemaTypeTable SchemaType = "TABLE"
)

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

type TargetProtectedQueryStatus string

// Enum values for TargetProtectedQueryStatus
const (
	TargetProtectedQueryStatusCancelled TargetProtectedQueryStatus = "CANCELLED"
)

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

type ValidationExceptionReason string

// Enum values for ValidationExceptionReason
const (
	ValidationExceptionReasonFieldValidationFailed   ValidationExceptionReason = "FIELD_VALIDATION_FAILED"
	ValidationExceptionReasonInvalidConfiguration    ValidationExceptionReason = "INVALID_CONFIGURATION"
	ValidationExceptionReasonInvalidQuery            ValidationExceptionReason = "INVALID_QUERY"
	ValidationExceptionReasonIamSynchronizationDelay ValidationExceptionReason = "IAM_SYNCHRONIZATION_DELAY"
)

// Values returns all known values for ValidationExceptionReason. 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 (ValidationExceptionReason) Values() []ValidationExceptionReason {
	return []ValidationExceptionReason{
		"FIELD_VALIDATION_FAILED",
		"INVALID_CONFIGURATION",
		"INVALID_QUERY",
		"IAM_SYNCHRONIZATION_DELAY",
	}
}