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

package types

type ApiCacheStatus string

// Enum values for ApiCacheStatus
const (
	ApiCacheStatusAvailable ApiCacheStatus = "AVAILABLE"
	ApiCacheStatusCreating  ApiCacheStatus = "CREATING"
	ApiCacheStatusDeleting  ApiCacheStatus = "DELETING"
	ApiCacheStatusModifying ApiCacheStatus = "MODIFYING"
	ApiCacheStatusFailed    ApiCacheStatus = "FAILED"
)

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

type ApiCacheType string

// Enum values for ApiCacheType
const (
	ApiCacheTypeT2Small   ApiCacheType = "T2_SMALL"
	ApiCacheTypeT2Medium  ApiCacheType = "T2_MEDIUM"
	ApiCacheTypeR4Large   ApiCacheType = "R4_LARGE"
	ApiCacheTypeR4Xlarge  ApiCacheType = "R4_XLARGE"
	ApiCacheTypeR42xlarge ApiCacheType = "R4_2XLARGE"
	ApiCacheTypeR44xlarge ApiCacheType = "R4_4XLARGE"
	ApiCacheTypeR48xlarge ApiCacheType = "R4_8XLARGE"
	ApiCacheTypeSmall     ApiCacheType = "SMALL"
	ApiCacheTypeMedium    ApiCacheType = "MEDIUM"
	ApiCacheTypeLarge     ApiCacheType = "LARGE"
	ApiCacheTypeXlarge    ApiCacheType = "XLARGE"
	ApiCacheTypeLarge2x   ApiCacheType = "LARGE_2X"
	ApiCacheTypeLarge4x   ApiCacheType = "LARGE_4X"
	ApiCacheTypeLarge8x   ApiCacheType = "LARGE_8X"
	ApiCacheTypeLarge12x  ApiCacheType = "LARGE_12X"
)

// Values returns all known values for ApiCacheType. 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 (ApiCacheType) Values() []ApiCacheType {
	return []ApiCacheType{
		"T2_SMALL",
		"T2_MEDIUM",
		"R4_LARGE",
		"R4_XLARGE",
		"R4_2XLARGE",
		"R4_4XLARGE",
		"R4_8XLARGE",
		"SMALL",
		"MEDIUM",
		"LARGE",
		"XLARGE",
		"LARGE_2X",
		"LARGE_4X",
		"LARGE_8X",
		"LARGE_12X",
	}
}

type ApiCachingBehavior string

// Enum values for ApiCachingBehavior
const (
	ApiCachingBehaviorFullRequestCaching ApiCachingBehavior = "FULL_REQUEST_CACHING"
	ApiCachingBehaviorPerResolverCaching ApiCachingBehavior = "PER_RESOLVER_CACHING"
)

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

type AssociationStatus string

// Enum values for AssociationStatus
const (
	AssociationStatusProcessing AssociationStatus = "PROCESSING"
	AssociationStatusFailed     AssociationStatus = "FAILED"
	AssociationStatusSuccess    AssociationStatus = "SUCCESS"
)

// 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{
		"PROCESSING",
		"FAILED",
		"SUCCESS",
	}
}

type AuthenticationType string

// Enum values for AuthenticationType
const (
	AuthenticationTypeApiKey                 AuthenticationType = "API_KEY"
	AuthenticationTypeAwsIam                 AuthenticationType = "AWS_IAM"
	AuthenticationTypeAmazonCognitoUserPools AuthenticationType = "AMAZON_COGNITO_USER_POOLS"
	AuthenticationTypeOpenidConnect          AuthenticationType = "OPENID_CONNECT"
	AuthenticationTypeAwsLambda              AuthenticationType = "AWS_LAMBDA"
)

// Values returns all known values for AuthenticationType. 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 (AuthenticationType) Values() []AuthenticationType {
	return []AuthenticationType{
		"API_KEY",
		"AWS_IAM",
		"AMAZON_COGNITO_USER_POOLS",
		"OPENID_CONNECT",
		"AWS_LAMBDA",
	}
}

type AuthorizationType string

// Enum values for AuthorizationType
const (
	AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM"
)

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

type BadRequestReason string

// Enum values for BadRequestReason
const (
	BadRequestReasonCodeError BadRequestReason = "CODE_ERROR"
)

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

type ConflictDetectionType string

// Enum values for ConflictDetectionType
const (
	ConflictDetectionTypeVersion ConflictDetectionType = "VERSION"
	ConflictDetectionTypeNone    ConflictDetectionType = "NONE"
)

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

type ConflictHandlerType string

// Enum values for ConflictHandlerType
const (
	ConflictHandlerTypeOptimisticConcurrency ConflictHandlerType = "OPTIMISTIC_CONCURRENCY"
	ConflictHandlerTypeLambda                ConflictHandlerType = "LAMBDA"
	ConflictHandlerTypeAutomerge             ConflictHandlerType = "AUTOMERGE"
	ConflictHandlerTypeNone                  ConflictHandlerType = "NONE"
)

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

type DataSourceIntrospectionStatus string

// Enum values for DataSourceIntrospectionStatus
const (
	DataSourceIntrospectionStatusProcessing DataSourceIntrospectionStatus = "PROCESSING"
	DataSourceIntrospectionStatusFailed     DataSourceIntrospectionStatus = "FAILED"
	DataSourceIntrospectionStatusSuccess    DataSourceIntrospectionStatus = "SUCCESS"
)

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

type DataSourceType string

// Enum values for DataSourceType
const (
	DataSourceTypeAwsLambda               DataSourceType = "AWS_LAMBDA"
	DataSourceTypeAmazonDynamodb          DataSourceType = "AMAZON_DYNAMODB"
	DataSourceTypeAmazonElasticsearch     DataSourceType = "AMAZON_ELASTICSEARCH"
	DataSourceTypeNone                    DataSourceType = "NONE"
	DataSourceTypeHttp                    DataSourceType = "HTTP"
	DataSourceTypeRelationalDatabase      DataSourceType = "RELATIONAL_DATABASE"
	DataSourceTypeAmazonOpensearchService DataSourceType = "AMAZON_OPENSEARCH_SERVICE"
	DataSourceTypeAmazonEventbridge       DataSourceType = "AMAZON_EVENTBRIDGE"
)

// Values returns all known values for DataSourceType. 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 (DataSourceType) Values() []DataSourceType {
	return []DataSourceType{
		"AWS_LAMBDA",
		"AMAZON_DYNAMODB",
		"AMAZON_ELASTICSEARCH",
		"NONE",
		"HTTP",
		"RELATIONAL_DATABASE",
		"AMAZON_OPENSEARCH_SERVICE",
		"AMAZON_EVENTBRIDGE",
	}
}

type DefaultAction string

// Enum values for DefaultAction
const (
	DefaultActionAllow DefaultAction = "ALLOW"
	DefaultActionDeny  DefaultAction = "DENY"
)

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

type FieldLogLevel string

// Enum values for FieldLogLevel
const (
	FieldLogLevelNone  FieldLogLevel = "NONE"
	FieldLogLevelError FieldLogLevel = "ERROR"
	FieldLogLevelAll   FieldLogLevel = "ALL"
)

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

type GraphQLApiIntrospectionConfig string

// Enum values for GraphQLApiIntrospectionConfig
const (
	GraphQLApiIntrospectionConfigEnabled  GraphQLApiIntrospectionConfig = "ENABLED"
	GraphQLApiIntrospectionConfigDisabled GraphQLApiIntrospectionConfig = "DISABLED"
)

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

type GraphQLApiType string

// Enum values for GraphQLApiType
const (
	GraphQLApiTypeGraphql GraphQLApiType = "GRAPHQL"
	GraphQLApiTypeMerged  GraphQLApiType = "MERGED"
)

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

type GraphQLApiVisibility string

// Enum values for GraphQLApiVisibility
const (
	GraphQLApiVisibilityGlobal  GraphQLApiVisibility = "GLOBAL"
	GraphQLApiVisibilityPrivate GraphQLApiVisibility = "PRIVATE"
)

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

type MergeType string

// Enum values for MergeType
const (
	MergeTypeManualMerge MergeType = "MANUAL_MERGE"
	MergeTypeAutoMerge   MergeType = "AUTO_MERGE"
)

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

type OutputType string

// Enum values for OutputType
const (
	OutputTypeSdl  OutputType = "SDL"
	OutputTypeJson OutputType = "JSON"
)

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

type Ownership string

// Enum values for Ownership
const (
	OwnershipCurrentAccount Ownership = "CURRENT_ACCOUNT"
	OwnershipOtherAccounts  Ownership = "OTHER_ACCOUNTS"
)

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

type RelationalDatabaseSourceType string

// Enum values for RelationalDatabaseSourceType
const (
	RelationalDatabaseSourceTypeRdsHttpEndpoint RelationalDatabaseSourceType = "RDS_HTTP_ENDPOINT"
)

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

type ResolverKind string

// Enum values for ResolverKind
const (
	ResolverKindUnit     ResolverKind = "UNIT"
	ResolverKindPipeline ResolverKind = "PIPELINE"
)

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

type RuntimeName string

// Enum values for RuntimeName
const (
	RuntimeNameAppsyncJs RuntimeName = "APPSYNC_JS"
)

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

type SchemaStatus string

// Enum values for SchemaStatus
const (
	SchemaStatusProcessing    SchemaStatus = "PROCESSING"
	SchemaStatusActive        SchemaStatus = "ACTIVE"
	SchemaStatusDeleting      SchemaStatus = "DELETING"
	SchemaStatusFailed        SchemaStatus = "FAILED"
	SchemaStatusSuccess       SchemaStatus = "SUCCESS"
	SchemaStatusNotApplicable SchemaStatus = "NOT_APPLICABLE"
)

// Values returns all known values for SchemaStatus. 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 (SchemaStatus) Values() []SchemaStatus {
	return []SchemaStatus{
		"PROCESSING",
		"ACTIVE",
		"DELETING",
		"FAILED",
		"SUCCESS",
		"NOT_APPLICABLE",
	}
}

type SourceApiAssociationStatus string

// Enum values for SourceApiAssociationStatus
const (
	SourceApiAssociationStatusMergeScheduled          SourceApiAssociationStatus = "MERGE_SCHEDULED"
	SourceApiAssociationStatusMergeFailed             SourceApiAssociationStatus = "MERGE_FAILED"
	SourceApiAssociationStatusMergeSuccess            SourceApiAssociationStatus = "MERGE_SUCCESS"
	SourceApiAssociationStatusMergeInProgress         SourceApiAssociationStatus = "MERGE_IN_PROGRESS"
	SourceApiAssociationStatusAutoMergeScheduleFailed SourceApiAssociationStatus = "AUTO_MERGE_SCHEDULE_FAILED"
	SourceApiAssociationStatusDeletionScheduled       SourceApiAssociationStatus = "DELETION_SCHEDULED"
	SourceApiAssociationStatusDeletionInProgress      SourceApiAssociationStatus = "DELETION_IN_PROGRESS"
	SourceApiAssociationStatusDeletionFailed          SourceApiAssociationStatus = "DELETION_FAILED"
)

// Values returns all known values for SourceApiAssociationStatus. 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 (SourceApiAssociationStatus) Values() []SourceApiAssociationStatus {
	return []SourceApiAssociationStatus{
		"MERGE_SCHEDULED",
		"MERGE_FAILED",
		"MERGE_SUCCESS",
		"MERGE_IN_PROGRESS",
		"AUTO_MERGE_SCHEDULE_FAILED",
		"DELETION_SCHEDULED",
		"DELETION_IN_PROGRESS",
		"DELETION_FAILED",
	}
}

type TypeDefinitionFormat string

// Enum values for TypeDefinitionFormat
const (
	TypeDefinitionFormatSdl  TypeDefinitionFormat = "SDL"
	TypeDefinitionFormatJson TypeDefinitionFormat = "JSON"
)

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