-
Notifications
You must be signed in to change notification settings - Fork 597
/
enums.go
608 lines (517 loc) · 18 KB
/
enums.go
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
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AgreementStatusType string
// Enum values for AgreementStatusType
const (
AgreementStatusTypeActive AgreementStatusType = "ACTIVE"
AgreementStatusTypeInactive AgreementStatusType = "INACTIVE"
)
// Values returns all known values for AgreementStatusType. 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 (AgreementStatusType) Values() []AgreementStatusType {
return []AgreementStatusType{
"ACTIVE",
"INACTIVE",
}
}
type As2Transport string
// Enum values for As2Transport
const (
As2TransportHttp As2Transport = "HTTP"
)
// Values returns all known values for As2Transport. 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 (As2Transport) Values() []As2Transport {
return []As2Transport{
"HTTP",
}
}
type CertificateStatusType string
// Enum values for CertificateStatusType
const (
CertificateStatusTypeActive CertificateStatusType = "ACTIVE"
CertificateStatusTypePendingRotation CertificateStatusType = "PENDING_ROTATION"
CertificateStatusTypeInactive CertificateStatusType = "INACTIVE"
)
// Values returns all known values for CertificateStatusType. 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 (CertificateStatusType) Values() []CertificateStatusType {
return []CertificateStatusType{
"ACTIVE",
"PENDING_ROTATION",
"INACTIVE",
}
}
type CertificateType string
// Enum values for CertificateType
const (
CertificateTypeCertificate CertificateType = "CERTIFICATE"
CertificateTypeCertificateWithPrivateKey CertificateType = "CERTIFICATE_WITH_PRIVATE_KEY"
)
// Values returns all known values for CertificateType. 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 (CertificateType) Values() []CertificateType {
return []CertificateType{
"CERTIFICATE",
"CERTIFICATE_WITH_PRIVATE_KEY",
}
}
type CertificateUsageType string
// Enum values for CertificateUsageType
const (
CertificateUsageTypeSigning CertificateUsageType = "SIGNING"
CertificateUsageTypeEncryption CertificateUsageType = "ENCRYPTION"
)
// Values returns all known values for CertificateUsageType. 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 (CertificateUsageType) Values() []CertificateUsageType {
return []CertificateUsageType{
"SIGNING",
"ENCRYPTION",
}
}
type CompressionEnum string
// Enum values for CompressionEnum
const (
CompressionEnumZlib CompressionEnum = "ZLIB"
CompressionEnumDisabled CompressionEnum = "DISABLED"
)
// Values returns all known values for CompressionEnum. 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 (CompressionEnum) Values() []CompressionEnum {
return []CompressionEnum{
"ZLIB",
"DISABLED",
}
}
type CustomStepStatus string
// Enum values for CustomStepStatus
const (
CustomStepStatusSuccess CustomStepStatus = "SUCCESS"
CustomStepStatusFailure CustomStepStatus = "FAILURE"
)
// Values returns all known values for CustomStepStatus. 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 (CustomStepStatus) Values() []CustomStepStatus {
return []CustomStepStatus{
"SUCCESS",
"FAILURE",
}
}
type DirectoryListingOptimization string
// Enum values for DirectoryListingOptimization
const (
DirectoryListingOptimizationEnabled DirectoryListingOptimization = "ENABLED"
DirectoryListingOptimizationDisabled DirectoryListingOptimization = "DISABLED"
)
// Values returns all known values for DirectoryListingOptimization. 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 (DirectoryListingOptimization) Values() []DirectoryListingOptimization {
return []DirectoryListingOptimization{
"ENABLED",
"DISABLED",
}
}
type Domain string
// Enum values for Domain
const (
DomainS3 Domain = "S3"
DomainEfs Domain = "EFS"
)
// Values returns all known values for Domain. 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 (Domain) Values() []Domain {
return []Domain{
"S3",
"EFS",
}
}
type EncryptionAlg string
// Enum values for EncryptionAlg
const (
EncryptionAlgAes128Cbc EncryptionAlg = "AES128_CBC"
EncryptionAlgAes192Cbc EncryptionAlg = "AES192_CBC"
EncryptionAlgAes256Cbc EncryptionAlg = "AES256_CBC"
EncryptionAlgDesEde3Cbc EncryptionAlg = "DES_EDE3_CBC"
EncryptionAlgNone EncryptionAlg = "NONE"
)
// Values returns all known values for EncryptionAlg. 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 (EncryptionAlg) Values() []EncryptionAlg {
return []EncryptionAlg{
"AES128_CBC",
"AES192_CBC",
"AES256_CBC",
"DES_EDE3_CBC",
"NONE",
}
}
type EncryptionType string
// Enum values for EncryptionType
const (
EncryptionTypePgp EncryptionType = "PGP"
)
// Values returns all known values for EncryptionType. 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 (EncryptionType) Values() []EncryptionType {
return []EncryptionType{
"PGP",
}
}
type EndpointType string
// Enum values for EndpointType
const (
EndpointTypePublic EndpointType = "PUBLIC"
EndpointTypeVpc EndpointType = "VPC"
EndpointTypeVpcEndpoint EndpointType = "VPC_ENDPOINT"
)
// Values returns all known values for EndpointType. 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 (EndpointType) Values() []EndpointType {
return []EndpointType{
"PUBLIC",
"VPC",
"VPC_ENDPOINT",
}
}
type ExecutionErrorType string
// Enum values for ExecutionErrorType
const (
ExecutionErrorTypePermissionDenied ExecutionErrorType = "PERMISSION_DENIED"
ExecutionErrorTypeCustomStepFailed ExecutionErrorType = "CUSTOM_STEP_FAILED"
ExecutionErrorTypeThrottled ExecutionErrorType = "THROTTLED"
ExecutionErrorTypeAlreadyExists ExecutionErrorType = "ALREADY_EXISTS"
ExecutionErrorTypeNotFound ExecutionErrorType = "NOT_FOUND"
ExecutionErrorTypeBadRequest ExecutionErrorType = "BAD_REQUEST"
ExecutionErrorTypeTimeout ExecutionErrorType = "TIMEOUT"
ExecutionErrorTypeInternalServerError ExecutionErrorType = "INTERNAL_SERVER_ERROR"
)
// Values returns all known values for ExecutionErrorType. 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 (ExecutionErrorType) Values() []ExecutionErrorType {
return []ExecutionErrorType{
"PERMISSION_DENIED",
"CUSTOM_STEP_FAILED",
"THROTTLED",
"ALREADY_EXISTS",
"NOT_FOUND",
"BAD_REQUEST",
"TIMEOUT",
"INTERNAL_SERVER_ERROR",
}
}
type ExecutionStatus string
// Enum values for ExecutionStatus
const (
ExecutionStatusInProgress ExecutionStatus = "IN_PROGRESS"
ExecutionStatusCompleted ExecutionStatus = "COMPLETED"
ExecutionStatusException ExecutionStatus = "EXCEPTION"
ExecutionStatusHandlingException ExecutionStatus = "HANDLING_EXCEPTION"
)
// Values returns all known values for ExecutionStatus. 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 (ExecutionStatus) Values() []ExecutionStatus {
return []ExecutionStatus{
"IN_PROGRESS",
"COMPLETED",
"EXCEPTION",
"HANDLING_EXCEPTION",
}
}
type HomeDirectoryType string
// Enum values for HomeDirectoryType
const (
HomeDirectoryTypePath HomeDirectoryType = "PATH"
HomeDirectoryTypeLogical HomeDirectoryType = "LOGICAL"
)
// Values returns all known values for HomeDirectoryType. 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 (HomeDirectoryType) Values() []HomeDirectoryType {
return []HomeDirectoryType{
"PATH",
"LOGICAL",
}
}
type IdentityProviderType string
// Enum values for IdentityProviderType
const (
IdentityProviderTypeServiceManaged IdentityProviderType = "SERVICE_MANAGED"
IdentityProviderTypeApiGateway IdentityProviderType = "API_GATEWAY"
IdentityProviderTypeAwsDirectoryService IdentityProviderType = "AWS_DIRECTORY_SERVICE"
IdentityProviderTypeAwsLambda IdentityProviderType = "AWS_LAMBDA"
)
// Values returns all known values for IdentityProviderType. 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 (IdentityProviderType) Values() []IdentityProviderType {
return []IdentityProviderType{
"SERVICE_MANAGED",
"API_GATEWAY",
"AWS_DIRECTORY_SERVICE",
"AWS_LAMBDA",
}
}
type MapType string
// Enum values for MapType
const (
MapTypeFile MapType = "FILE"
MapTypeDirectory MapType = "DIRECTORY"
)
// Values returns all known values for MapType. 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 (MapType) Values() []MapType {
return []MapType{
"FILE",
"DIRECTORY",
}
}
type MdnResponse string
// Enum values for MdnResponse
const (
MdnResponseSync MdnResponse = "SYNC"
MdnResponseNone MdnResponse = "NONE"
)
// Values returns all known values for MdnResponse. 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 (MdnResponse) Values() []MdnResponse {
return []MdnResponse{
"SYNC",
"NONE",
}
}
type MdnSigningAlg string
// Enum values for MdnSigningAlg
const (
MdnSigningAlgSha256 MdnSigningAlg = "SHA256"
MdnSigningAlgSha384 MdnSigningAlg = "SHA384"
MdnSigningAlgSha512 MdnSigningAlg = "SHA512"
MdnSigningAlgSha1 MdnSigningAlg = "SHA1"
MdnSigningAlgNone MdnSigningAlg = "NONE"
MdnSigningAlgDefault MdnSigningAlg = "DEFAULT"
)
// Values returns all known values for MdnSigningAlg. 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 (MdnSigningAlg) Values() []MdnSigningAlg {
return []MdnSigningAlg{
"SHA256",
"SHA384",
"SHA512",
"SHA1",
"NONE",
"DEFAULT",
}
}
type OverwriteExisting string
// Enum values for OverwriteExisting
const (
OverwriteExistingTrue OverwriteExisting = "TRUE"
OverwriteExistingFalse OverwriteExisting = "FALSE"
)
// Values returns all known values for OverwriteExisting. 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 (OverwriteExisting) Values() []OverwriteExisting {
return []OverwriteExisting{
"TRUE",
"FALSE",
}
}
type ProfileType string
// Enum values for ProfileType
const (
ProfileTypeLocal ProfileType = "LOCAL"
ProfileTypePartner ProfileType = "PARTNER"
)
// Values returns all known values for ProfileType. 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 (ProfileType) Values() []ProfileType {
return []ProfileType{
"LOCAL",
"PARTNER",
}
}
type Protocol string
// Enum values for Protocol
const (
ProtocolSftp Protocol = "SFTP"
ProtocolFtp Protocol = "FTP"
ProtocolFtps Protocol = "FTPS"
ProtocolAs2 Protocol = "AS2"
)
// Values returns all known values for Protocol. 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 (Protocol) Values() []Protocol {
return []Protocol{
"SFTP",
"FTP",
"FTPS",
"AS2",
}
}
type SecurityPolicyProtocol string
// Enum values for SecurityPolicyProtocol
const (
SecurityPolicyProtocolSftp SecurityPolicyProtocol = "SFTP"
SecurityPolicyProtocolFtps SecurityPolicyProtocol = "FTPS"
)
// Values returns all known values for SecurityPolicyProtocol. 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 (SecurityPolicyProtocol) Values() []SecurityPolicyProtocol {
return []SecurityPolicyProtocol{
"SFTP",
"FTPS",
}
}
type SecurityPolicyResourceType string
// Enum values for SecurityPolicyResourceType
const (
SecurityPolicyResourceTypeServer SecurityPolicyResourceType = "SERVER"
SecurityPolicyResourceTypeConnector SecurityPolicyResourceType = "CONNECTOR"
)
// Values returns all known values for SecurityPolicyResourceType. 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 (SecurityPolicyResourceType) Values() []SecurityPolicyResourceType {
return []SecurityPolicyResourceType{
"SERVER",
"CONNECTOR",
}
}
type SetStatOption string
// Enum values for SetStatOption
const (
SetStatOptionDefault SetStatOption = "DEFAULT"
SetStatOptionEnableNoOp SetStatOption = "ENABLE_NO_OP"
)
// Values returns all known values for SetStatOption. 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 (SetStatOption) Values() []SetStatOption {
return []SetStatOption{
"DEFAULT",
"ENABLE_NO_OP",
}
}
type SftpAuthenticationMethods string
// Enum values for SftpAuthenticationMethods
const (
SftpAuthenticationMethodsPassword SftpAuthenticationMethods = "PASSWORD"
SftpAuthenticationMethodsPublicKey SftpAuthenticationMethods = "PUBLIC_KEY"
SftpAuthenticationMethodsPublicKeyOrPassword SftpAuthenticationMethods = "PUBLIC_KEY_OR_PASSWORD"
SftpAuthenticationMethodsPublicKeyAndPassword SftpAuthenticationMethods = "PUBLIC_KEY_AND_PASSWORD"
)
// Values returns all known values for SftpAuthenticationMethods. 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 (SftpAuthenticationMethods) Values() []SftpAuthenticationMethods {
return []SftpAuthenticationMethods{
"PASSWORD",
"PUBLIC_KEY",
"PUBLIC_KEY_OR_PASSWORD",
"PUBLIC_KEY_AND_PASSWORD",
}
}
type SigningAlg string
// Enum values for SigningAlg
const (
SigningAlgSha256 SigningAlg = "SHA256"
SigningAlgSha384 SigningAlg = "SHA384"
SigningAlgSha512 SigningAlg = "SHA512"
SigningAlgSha1 SigningAlg = "SHA1"
SigningAlgNone SigningAlg = "NONE"
)
// Values returns all known values for SigningAlg. 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 (SigningAlg) Values() []SigningAlg {
return []SigningAlg{
"SHA256",
"SHA384",
"SHA512",
"SHA1",
"NONE",
}
}
type State string
// Enum values for State
const (
StateOffline State = "OFFLINE"
StateOnline State = "ONLINE"
StateStarting State = "STARTING"
StateStopping State = "STOPPING"
StateStartFailed State = "START_FAILED"
StateStopFailed State = "STOP_FAILED"
)
// 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{
"OFFLINE",
"ONLINE",
"STARTING",
"STOPPING",
"START_FAILED",
"STOP_FAILED",
}
}
type TlsSessionResumptionMode string
// Enum values for TlsSessionResumptionMode
const (
TlsSessionResumptionModeDisabled TlsSessionResumptionMode = "DISABLED"
TlsSessionResumptionModeEnabled TlsSessionResumptionMode = "ENABLED"
TlsSessionResumptionModeEnforced TlsSessionResumptionMode = "ENFORCED"
)
// Values returns all known values for TlsSessionResumptionMode. 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 (TlsSessionResumptionMode) Values() []TlsSessionResumptionMode {
return []TlsSessionResumptionMode{
"DISABLED",
"ENABLED",
"ENFORCED",
}
}
type WorkflowStepType string
// Enum values for WorkflowStepType
const (
WorkflowStepTypeCopy WorkflowStepType = "COPY"
WorkflowStepTypeCustom WorkflowStepType = "CUSTOM"
WorkflowStepTypeTag WorkflowStepType = "TAG"
WorkflowStepTypeDelete WorkflowStepType = "DELETE"
WorkflowStepTypeDecrypt WorkflowStepType = "DECRYPT"
)
// Values returns all known values for WorkflowStepType. 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 (WorkflowStepType) Values() []WorkflowStepType {
return []WorkflowStepType{
"COPY",
"CUSTOM",
"TAG",
"DELETE",
"DECRYPT",
}
}