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

package types

type AssetType string

// Enum values for AssetType
const (
	AssetTypeS3Snapshot                  AssetType = "S3_SNAPSHOT"
	AssetTypeRedshiftDataShare           AssetType = "REDSHIFT_DATA_SHARE"
	AssetTypeApiGatewayApi               AssetType = "API_GATEWAY_API"
	AssetTypeS3DataAccess                AssetType = "S3_DATA_ACCESS"
	AssetTypeLakeFormationDataPermission AssetType = "LAKE_FORMATION_DATA_PERMISSION"
)

// Values returns all known values for AssetType. 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 (AssetType) Values() []AssetType {
	return []AssetType{
		"S3_SNAPSHOT",
		"REDSHIFT_DATA_SHARE",
		"API_GATEWAY_API",
		"S3_DATA_ACCESS",
		"LAKE_FORMATION_DATA_PERMISSION",
	}
}

type Code string

// Enum values for Code
const (
	CodeAccessDeniedException         Code = "ACCESS_DENIED_EXCEPTION"
	CodeInternalServerException       Code = "INTERNAL_SERVER_EXCEPTION"
	CodeMalwareDetected               Code = "MALWARE_DETECTED"
	CodeResourceNotFoundException     Code = "RESOURCE_NOT_FOUND_EXCEPTION"
	CodeServiceQuotaExceededException Code = "SERVICE_QUOTA_EXCEEDED_EXCEPTION"
	CodeValidationException           Code = "VALIDATION_EXCEPTION"
	CodeMalwareScanEncryptedFile      Code = "MALWARE_SCAN_ENCRYPTED_FILE"
)

// Values returns all known values for Code. 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 (Code) Values() []Code {
	return []Code{
		"ACCESS_DENIED_EXCEPTION",
		"INTERNAL_SERVER_EXCEPTION",
		"MALWARE_DETECTED",
		"RESOURCE_NOT_FOUND_EXCEPTION",
		"SERVICE_QUOTA_EXCEEDED_EXCEPTION",
		"VALIDATION_EXCEPTION",
		"MALWARE_SCAN_ENCRYPTED_FILE",
	}
}

type DatabaseLFTagPolicyPermission string

// Enum values for DatabaseLFTagPolicyPermission
const (
	DatabaseLFTagPolicyPermissionDescribe DatabaseLFTagPolicyPermission = "DESCRIBE"
)

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

type ExceptionCause string

// Enum values for ExceptionCause
const (
	ExceptionCauseInsufficientS3BucketPolicy ExceptionCause = "InsufficientS3BucketPolicy"
	ExceptionCauseS3AccessDenied             ExceptionCause = "S3AccessDenied"
)

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

type JobErrorLimitName string

// Enum values for JobErrorLimitName
const (
	JobErrorLimitNameAssetsPerRevision                               JobErrorLimitName = "Assets per revision"
	JobErrorLimitNameAssetSizeInGb                                   JobErrorLimitName = "Asset size in GB"
	JobErrorLimitNameAmazonRedshiftDatashareAssetsPerRevision        JobErrorLimitName = "Amazon Redshift datashare assets per revision"
	JobErrorLimitNameAwsLakeFormationDataPermissionAssetsPerRevision JobErrorLimitName = "AWS Lake Formation data permission assets per revision"
	JobErrorLimitNameAmazonS3DataAccessAssetsPerRevision             JobErrorLimitName = "Amazon S3 data access assets per revision"
)

// Values returns all known values for JobErrorLimitName. 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 (JobErrorLimitName) Values() []JobErrorLimitName {
	return []JobErrorLimitName{
		"Assets per revision",
		"Asset size in GB",
		"Amazon Redshift datashare assets per revision",
		"AWS Lake Formation data permission assets per revision",
		"Amazon S3 data access assets per revision",
	}
}

type JobErrorResourceTypes string

// Enum values for JobErrorResourceTypes
const (
	JobErrorResourceTypesRevision JobErrorResourceTypes = "REVISION"
	JobErrorResourceTypesAsset    JobErrorResourceTypes = "ASSET"
	JobErrorResourceTypesDataSet  JobErrorResourceTypes = "DATA_SET"
)

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

type LakeFormationDataPermissionType string

// Enum values for LakeFormationDataPermissionType
const (
	LakeFormationDataPermissionTypeLFTagPolicy LakeFormationDataPermissionType = "LFTagPolicy"
)

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

type LFPermission string

// Enum values for LFPermission
const (
	LFPermissionDescribe LFPermission = "DESCRIBE"
	LFPermissionSelect   LFPermission = "SELECT"
)

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

type LFResourceType string

// Enum values for LFResourceType
const (
	LFResourceTypeTable    LFResourceType = "TABLE"
	LFResourceTypeDatabase LFResourceType = "DATABASE"
)

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

type LimitName string

// Enum values for LimitName
const (
	LimitNameProductsPerAccount                                                    LimitName = "Products per account"
	LimitNameDataSetsPerAccount                                                    LimitName = "Data sets per account"
	LimitNameDataSetsPerProduct                                                    LimitName = "Data sets per product"
	LimitNameRevisionsPerDataSet                                                   LimitName = "Revisions per data set"
	LimitNameAssetsPerRevision                                                     LimitName = "Assets per revision"
	LimitNameAssetsPerImportJobFromAmazonS3                                        LimitName = "Assets per import job from Amazon S3"
	LimitNameAssetPerExportJobFromAmazonS3                                         LimitName = "Asset per export job from Amazon S3"
	LimitNameAssetSizeInGb                                                         LimitName = "Asset size in GB"
	LimitNameConcurrentInProgressJobsToExportAssetsToAmazonS3                      LimitName = "Concurrent in progress jobs to export assets to Amazon S3"
	LimitNameConcurrentInProgressJobsToExportAssetsToASignedUrl                    LimitName = "Concurrent in progress jobs to export assets to a signed URL"
	LimitNameConcurrentInProgressJobsToImportAssetsFromAmazonS3                    LimitName = "Concurrent in progress jobs to import assets from Amazon S3"
	LimitNameConcurrentInProgressJobsToImportAssetsFromASignedUrl                  LimitName = "Concurrent in progress jobs to import assets from a signed URL"
	LimitNameConcurrentInProgressJobsToExportRevisionsToAmazonS3                   LimitName = "Concurrent in progress jobs to export revisions to Amazon S3"
	LimitNameEventActionsPerAccount                                                LimitName = "Event actions per account"
	LimitNameAutoExportEventActionsPerDataSet                                      LimitName = "Auto export event actions per data set"
	LimitNameAmazonRedshiftDatashareAssetsPerImportJobFromRedshift                 LimitName = "Amazon Redshift datashare assets per import job from Redshift"
	LimitNameConcurrentInProgressJobsToImportAssetsFromAmazonRedshiftDatashares    LimitName = "Concurrent in progress jobs to import assets from Amazon Redshift datashares"
	LimitNameRevisionsPerAmazonRedshiftDatashareDataSet                            LimitName = "Revisions per Amazon Redshift datashare data set"
	LimitNameAmazonRedshiftDatashareAssetsPerRevision                              LimitName = "Amazon Redshift datashare assets per revision"
	LimitNameConcurrentInProgressJobsToImportAssetsFromAnApiGatewayApi             LimitName = "Concurrent in progress jobs to import assets from an API Gateway API"
	LimitNameAmazonApiGatewayApiAssetsPerRevision                                  LimitName = "Amazon API Gateway API assets per revision"
	LimitNameRevisionsPerAmazonApiGatewayApiDataSet                                LimitName = "Revisions per Amazon API Gateway API data set"
	LimitNameConcurrentInProgressJobsToImportAssetsFromAnAwsLakeFormationTagPolicy LimitName = "Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy"
	LimitNameAwsLakeFormationDataPermissionAssetsPerRevision                       LimitName = "AWS Lake Formation data permission assets per revision"
	LimitNameRevisionsPerAwsLakeFormationDataPermissionDataSet                     LimitName = "Revisions per AWS Lake Formation data permission data set"
	LimitNameRevisionsPerAmazonS3DataAccessDataSet                                 LimitName = "Revisions per Amazon S3 data access data set"
	LimitNameAmazonS3DataAccessAssetsPerRevision                                   LimitName = "Amazon S3 data access assets per revision"
	LimitNameConcurrentInProgressJobsToCreateAmazonS3DataAccessAssetsFromS3Buckets LimitName = "Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets"
)

// Values returns all known values for LimitName. 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 (LimitName) Values() []LimitName {
	return []LimitName{
		"Products per account",
		"Data sets per account",
		"Data sets per product",
		"Revisions per data set",
		"Assets per revision",
		"Assets per import job from Amazon S3",
		"Asset per export job from Amazon S3",
		"Asset size in GB",
		"Concurrent in progress jobs to export assets to Amazon S3",
		"Concurrent in progress jobs to export assets to a signed URL",
		"Concurrent in progress jobs to import assets from Amazon S3",
		"Concurrent in progress jobs to import assets from a signed URL",
		"Concurrent in progress jobs to export revisions to Amazon S3",
		"Event actions per account",
		"Auto export event actions per data set",
		"Amazon Redshift datashare assets per import job from Redshift",
		"Concurrent in progress jobs to import assets from Amazon Redshift datashares",
		"Revisions per Amazon Redshift datashare data set",
		"Amazon Redshift datashare assets per revision",
		"Concurrent in progress jobs to import assets from an API Gateway API",
		"Amazon API Gateway API assets per revision",
		"Revisions per Amazon API Gateway API data set",
		"Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy",
		"AWS Lake Formation data permission assets per revision",
		"Revisions per AWS Lake Formation data permission data set",
		"Revisions per Amazon S3 data access data set",
		"Amazon S3 data access assets per revision",
		"Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets",
	}
}

type NotificationType string

// Enum values for NotificationType
const (
	NotificationTypeDataDelay    NotificationType = "DATA_DELAY"
	NotificationTypeDataUpdate   NotificationType = "DATA_UPDATE"
	NotificationTypeDeprecation  NotificationType = "DEPRECATION"
	NotificationTypeSchemaChange NotificationType = "SCHEMA_CHANGE"
)

// Values returns all known values for NotificationType. 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 (NotificationType) Values() []NotificationType {
	return []NotificationType{
		"DATA_DELAY",
		"DATA_UPDATE",
		"DEPRECATION",
		"SCHEMA_CHANGE",
	}
}

type Origin string

// Enum values for Origin
const (
	OriginOwned    Origin = "OWNED"
	OriginEntitled Origin = "ENTITLED"
)

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

type ProtocolType string

// Enum values for ProtocolType
const (
	ProtocolTypeRest ProtocolType = "REST"
)

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

type ResourceType string

// Enum values for ResourceType
const (
	ResourceTypeDataSet     ResourceType = "DATA_SET"
	ResourceTypeRevision    ResourceType = "REVISION"
	ResourceTypeAsset       ResourceType = "ASSET"
	ResourceTypeJob         ResourceType = "JOB"
	ResourceTypeEventAction ResourceType = "EVENT_ACTION"
)

// 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{
		"DATA_SET",
		"REVISION",
		"ASSET",
		"JOB",
		"EVENT_ACTION",
	}
}

type SchemaChangeType string

// Enum values for SchemaChangeType
const (
	SchemaChangeTypeAdd    SchemaChangeType = "ADD"
	SchemaChangeTypeRemove SchemaChangeType = "REMOVE"
	SchemaChangeTypeModify SchemaChangeType = "MODIFY"
)

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

type ServerSideEncryptionTypes string

// Enum values for ServerSideEncryptionTypes
const (
	ServerSideEncryptionTypesAwsKms ServerSideEncryptionTypes = "aws:kms"
	ServerSideEncryptionTypesAes256 ServerSideEncryptionTypes = "AES256"
)

// Values returns all known values for ServerSideEncryptionTypes. 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 (ServerSideEncryptionTypes) Values() []ServerSideEncryptionTypes {
	return []ServerSideEncryptionTypes{
		"aws:kms",
		"AES256",
	}
}

type State string

// Enum values for State
const (
	StateWaiting    State = "WAITING"
	StateInProgress State = "IN_PROGRESS"
	StateError      State = "ERROR"
	StateCompleted  State = "COMPLETED"
	StateCancelled  State = "CANCELLED"
	StateTimedOut   State = "TIMED_OUT"
)

// Values returns all known values for State. 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 (State) Values() []State {
	return []State{
		"WAITING",
		"IN_PROGRESS",
		"ERROR",
		"COMPLETED",
		"CANCELLED",
		"TIMED_OUT",
	}
}

type TableTagPolicyLFPermission string

// Enum values for TableTagPolicyLFPermission
const (
	TableTagPolicyLFPermissionDescribe TableTagPolicyLFPermission = "DESCRIBE"
	TableTagPolicyLFPermissionSelect   TableTagPolicyLFPermission = "SELECT"
)

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

type Type string

// Enum values for Type
const (
	TypeImportAssetsFromS3                     Type = "IMPORT_ASSETS_FROM_S3"
	TypeImportAssetFromSignedUrl               Type = "IMPORT_ASSET_FROM_SIGNED_URL"
	TypeExportAssetsToS3                       Type = "EXPORT_ASSETS_TO_S3"
	TypeExportAssetToSignedUrl                 Type = "EXPORT_ASSET_TO_SIGNED_URL"
	TypeExportRevisionsToS3                    Type = "EXPORT_REVISIONS_TO_S3"
	TypeImportAssetsFromRedshiftDataShares     Type = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"
	TypeImportAssetFromApiGatewayApi           Type = "IMPORT_ASSET_FROM_API_GATEWAY_API"
	TypeCreateS3DataAccessFromS3Bucket         Type = "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET"
	TypeImportAssetsFromLakeFormationTagPolicy Type = "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY"
)

// Values returns all known values for Type. 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 (Type) Values() []Type {
	return []Type{
		"IMPORT_ASSETS_FROM_S3",
		"IMPORT_ASSET_FROM_SIGNED_URL",
		"EXPORT_ASSETS_TO_S3",
		"EXPORT_ASSET_TO_SIGNED_URL",
		"EXPORT_REVISIONS_TO_S3",
		"IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",
		"IMPORT_ASSET_FROM_API_GATEWAY_API",
		"CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET",
		"IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY",
	}
}