File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (718 lines) | stat: -rw-r--r-- 24,883 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
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
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AccessCheckPolicyType string

// Enum values for AccessCheckPolicyType
const (
	AccessCheckPolicyTypeIdentityPolicy AccessCheckPolicyType = "IDENTITY_POLICY"
	AccessCheckPolicyTypeResourcePolicy AccessCheckPolicyType = "RESOURCE_POLICY"
)

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

type AccessCheckResourceType string

// Enum values for AccessCheckResourceType
const (
	AccessCheckResourceTypeDynamodbTable            AccessCheckResourceType = "AWS::DynamoDB::Table"
	AccessCheckResourceTypeDynamodbStream           AccessCheckResourceType = "AWS::DynamoDB::Stream"
	AccessCheckResourceTypeEfsFilesystem            AccessCheckResourceType = "AWS::EFS::FileSystem"
	AccessCheckResourceTypeOpensearchserviceDomain  AccessCheckResourceType = "AWS::OpenSearchService::Domain"
	AccessCheckResourceTypeKinesisDataStream        AccessCheckResourceType = "AWS::Kinesis::Stream"
	AccessCheckResourceTypeKinesisStreamConsumer    AccessCheckResourceType = "AWS::Kinesis::StreamConsumer"
	AccessCheckResourceTypeKmsKey                   AccessCheckResourceType = "AWS::KMS::Key"
	AccessCheckResourceTypeLambdaFunction           AccessCheckResourceType = "AWS::Lambda::Function"
	AccessCheckResourceTypeS3Bucket                 AccessCheckResourceType = "AWS::S3::Bucket"
	AccessCheckResourceTypeS3AccessPoint            AccessCheckResourceType = "AWS::S3::AccessPoint"
	AccessCheckResourceTypeS3expressDirectorybucket AccessCheckResourceType = "AWS::S3Express::DirectoryBucket"
	AccessCheckResourceTypeS3Glacier                AccessCheckResourceType = "AWS::S3::Glacier"
	AccessCheckResourceTypeS3OutpostsBucket         AccessCheckResourceType = "AWS::S3Outposts::Bucket"
	AccessCheckResourceTypeS3OutpostsAccessPoint    AccessCheckResourceType = "AWS::S3Outposts::AccessPoint"
	AccessCheckResourceTypeSecretsmanagerSecret     AccessCheckResourceType = "AWS::SecretsManager::Secret"
	AccessCheckResourceTypeSnsTopic                 AccessCheckResourceType = "AWS::SNS::Topic"
	AccessCheckResourceTypeSqsQueue                 AccessCheckResourceType = "AWS::SQS::Queue"
	AccessCheckResourceTypeRoleTrust                AccessCheckResourceType = "AWS::IAM::AssumeRolePolicyDocument"
)

// Values returns all known values for AccessCheckResourceType. 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 (AccessCheckResourceType) Values() []AccessCheckResourceType {
	return []AccessCheckResourceType{
		"AWS::DynamoDB::Table",
		"AWS::DynamoDB::Stream",
		"AWS::EFS::FileSystem",
		"AWS::OpenSearchService::Domain",
		"AWS::Kinesis::Stream",
		"AWS::Kinesis::StreamConsumer",
		"AWS::KMS::Key",
		"AWS::Lambda::Function",
		"AWS::S3::Bucket",
		"AWS::S3::AccessPoint",
		"AWS::S3Express::DirectoryBucket",
		"AWS::S3::Glacier",
		"AWS::S3Outposts::Bucket",
		"AWS::S3Outposts::AccessPoint",
		"AWS::SecretsManager::Secret",
		"AWS::SNS::Topic",
		"AWS::SQS::Queue",
		"AWS::IAM::AssumeRolePolicyDocument",
	}
}

type AccessPreviewStatus string

// Enum values for AccessPreviewStatus
const (
	AccessPreviewStatusCompleted AccessPreviewStatus = "COMPLETED"
	AccessPreviewStatusCreating  AccessPreviewStatus = "CREATING"
	AccessPreviewStatusFailed    AccessPreviewStatus = "FAILED"
)

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

type AccessPreviewStatusReasonCode string

// Enum values for AccessPreviewStatusReasonCode
const (
	AccessPreviewStatusReasonCodeInternalError        AccessPreviewStatusReasonCode = "INTERNAL_ERROR"
	AccessPreviewStatusReasonCodeInvalidConfiguration AccessPreviewStatusReasonCode = "INVALID_CONFIGURATION"
)

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

type AclPermission string

// Enum values for AclPermission
const (
	AclPermissionRead        AclPermission = "READ"
	AclPermissionWrite       AclPermission = "WRITE"
	AclPermissionReadAcp     AclPermission = "READ_ACP"
	AclPermissionWriteAcp    AclPermission = "WRITE_ACP"
	AclPermissionFullControl AclPermission = "FULL_CONTROL"
)

// Values returns all known values for AclPermission. 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 (AclPermission) Values() []AclPermission {
	return []AclPermission{
		"READ",
		"WRITE",
		"READ_ACP",
		"WRITE_ACP",
		"FULL_CONTROL",
	}
}

type AnalyzerStatus string

// Enum values for AnalyzerStatus
const (
	AnalyzerStatusActive   AnalyzerStatus = "ACTIVE"
	AnalyzerStatusCreating AnalyzerStatus = "CREATING"
	AnalyzerStatusDisabled AnalyzerStatus = "DISABLED"
	AnalyzerStatusFailed   AnalyzerStatus = "FAILED"
)

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

type CheckAccessNotGrantedResult string

// Enum values for CheckAccessNotGrantedResult
const (
	CheckAccessNotGrantedResultPass CheckAccessNotGrantedResult = "PASS"
	CheckAccessNotGrantedResultFail CheckAccessNotGrantedResult = "FAIL"
)

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

type CheckNoNewAccessResult string

// Enum values for CheckNoNewAccessResult
const (
	CheckNoNewAccessResultPass CheckNoNewAccessResult = "PASS"
	CheckNoNewAccessResultFail CheckNoNewAccessResult = "FAIL"
)

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

type CheckNoPublicAccessResult string

// Enum values for CheckNoPublicAccessResult
const (
	CheckNoPublicAccessResultPass CheckNoPublicAccessResult = "PASS"
	CheckNoPublicAccessResultFail CheckNoPublicAccessResult = "FAIL"
)

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

type FindingChangeType string

// Enum values for FindingChangeType
const (
	FindingChangeTypeChanged   FindingChangeType = "CHANGED"
	FindingChangeTypeNew       FindingChangeType = "NEW"
	FindingChangeTypeUnchanged FindingChangeType = "UNCHANGED"
)

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

type FindingSourceType string

// Enum values for FindingSourceType
const (
	FindingSourceTypePolicy               FindingSourceType = "POLICY"
	FindingSourceTypeBucketAcl            FindingSourceType = "BUCKET_ACL"
	FindingSourceTypeS3AccessPoint        FindingSourceType = "S3_ACCESS_POINT"
	FindingSourceTypeS3AccessPointAccount FindingSourceType = "S3_ACCESS_POINT_ACCOUNT"
)

// Values returns all known values for FindingSourceType. 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 (FindingSourceType) Values() []FindingSourceType {
	return []FindingSourceType{
		"POLICY",
		"BUCKET_ACL",
		"S3_ACCESS_POINT",
		"S3_ACCESS_POINT_ACCOUNT",
	}
}

type FindingStatus string

// Enum values for FindingStatus
const (
	FindingStatusActive   FindingStatus = "ACTIVE"
	FindingStatusArchived FindingStatus = "ARCHIVED"
	FindingStatusResolved FindingStatus = "RESOLVED"
)

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

type FindingStatusUpdate string

// Enum values for FindingStatusUpdate
const (
	FindingStatusUpdateActive   FindingStatusUpdate = "ACTIVE"
	FindingStatusUpdateArchived FindingStatusUpdate = "ARCHIVED"
)

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

type FindingType string

// Enum values for FindingType
const (
	FindingTypeExternalAccess         FindingType = "ExternalAccess"
	FindingTypeUnusedIamRole          FindingType = "UnusedIAMRole"
	FindingTypeUnusedIamUserAccessKey FindingType = "UnusedIAMUserAccessKey"
	FindingTypeUnusedIamUserPassword  FindingType = "UnusedIAMUserPassword"
	FindingTypeUnusedPermission       FindingType = "UnusedPermission"
)

// Values returns all known values for FindingType. 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 (FindingType) Values() []FindingType {
	return []FindingType{
		"ExternalAccess",
		"UnusedIAMRole",
		"UnusedIAMUserAccessKey",
		"UnusedIAMUserPassword",
		"UnusedPermission",
	}
}

type JobErrorCode string

// Enum values for JobErrorCode
const (
	JobErrorCodeAuthorizationError        JobErrorCode = "AUTHORIZATION_ERROR"
	JobErrorCodeResourceNotFoundError     JobErrorCode = "RESOURCE_NOT_FOUND_ERROR"
	JobErrorCodeServiceQuotaExceededError JobErrorCode = "SERVICE_QUOTA_EXCEEDED_ERROR"
	JobErrorCodeServiceError              JobErrorCode = "SERVICE_ERROR"
)

// Values returns all known values for JobErrorCode. 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 (JobErrorCode) Values() []JobErrorCode {
	return []JobErrorCode{
		"AUTHORIZATION_ERROR",
		"RESOURCE_NOT_FOUND_ERROR",
		"SERVICE_QUOTA_EXCEEDED_ERROR",
		"SERVICE_ERROR",
	}
}

type JobStatus string

// Enum values for JobStatus
const (
	JobStatusInProgress JobStatus = "IN_PROGRESS"
	JobStatusSucceeded  JobStatus = "SUCCEEDED"
	JobStatusFailed     JobStatus = "FAILED"
	JobStatusCanceled   JobStatus = "CANCELED"
)

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

type KmsGrantOperation string

// Enum values for KmsGrantOperation
const (
	KmsGrantOperationCreateGrant                         KmsGrantOperation = "CreateGrant"
	KmsGrantOperationDecrypt                             KmsGrantOperation = "Decrypt"
	KmsGrantOperationDescribeKey                         KmsGrantOperation = "DescribeKey"
	KmsGrantOperationEncrypt                             KmsGrantOperation = "Encrypt"
	KmsGrantOperationGenerateDataKey                     KmsGrantOperation = "GenerateDataKey"
	KmsGrantOperationGenerateDataKeyPair                 KmsGrantOperation = "GenerateDataKeyPair"
	KmsGrantOperationGenerateDataKeyPairWithoutPlaintext KmsGrantOperation = "GenerateDataKeyPairWithoutPlaintext"
	KmsGrantOperationGenerateDataKeyWithoutPlaintext     KmsGrantOperation = "GenerateDataKeyWithoutPlaintext"
	KmsGrantOperationGetPublicKey                        KmsGrantOperation = "GetPublicKey"
	KmsGrantOperationReencryptFrom                       KmsGrantOperation = "ReEncryptFrom"
	KmsGrantOperationReencryptTo                         KmsGrantOperation = "ReEncryptTo"
	KmsGrantOperationRetireGrant                         KmsGrantOperation = "RetireGrant"
	KmsGrantOperationSign                                KmsGrantOperation = "Sign"
	KmsGrantOperationVerify                              KmsGrantOperation = "Verify"
)

// Values returns all known values for KmsGrantOperation. 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 (KmsGrantOperation) Values() []KmsGrantOperation {
	return []KmsGrantOperation{
		"CreateGrant",
		"Decrypt",
		"DescribeKey",
		"Encrypt",
		"GenerateDataKey",
		"GenerateDataKeyPair",
		"GenerateDataKeyPairWithoutPlaintext",
		"GenerateDataKeyWithoutPlaintext",
		"GetPublicKey",
		"ReEncryptFrom",
		"ReEncryptTo",
		"RetireGrant",
		"Sign",
		"Verify",
	}
}

type Locale string

// Enum values for Locale
const (
	LocaleDe   Locale = "DE"
	LocaleEn   Locale = "EN"
	LocaleEs   Locale = "ES"
	LocaleFr   Locale = "FR"
	LocaleIt   Locale = "IT"
	LocaleJa   Locale = "JA"
	LocaleKo   Locale = "KO"
	LocalePtBr Locale = "PT_BR"
	LocaleZhCn Locale = "ZH_CN"
	LocaleZhTw Locale = "ZH_TW"
)

// Values returns all known values for Locale. 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 (Locale) Values() []Locale {
	return []Locale{
		"DE",
		"EN",
		"ES",
		"FR",
		"IT",
		"JA",
		"KO",
		"PT_BR",
		"ZH_CN",
		"ZH_TW",
	}
}

type OrderBy string

// Enum values for OrderBy
const (
	OrderByAsc  OrderBy = "ASC"
	OrderByDesc OrderBy = "DESC"
)

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

type PolicyType string

// Enum values for PolicyType
const (
	PolicyTypeIdentityPolicy       PolicyType = "IDENTITY_POLICY"
	PolicyTypeResourcePolicy       PolicyType = "RESOURCE_POLICY"
	PolicyTypeServiceControlPolicy PolicyType = "SERVICE_CONTROL_POLICY"
)

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

type ReasonCode string

// Enum values for ReasonCode
const (
	ReasonCodeAwsServiceAccessDisabled           ReasonCode = "AWS_SERVICE_ACCESS_DISABLED"
	ReasonCodeDelegatedAdministratorDeregistered ReasonCode = "DELEGATED_ADMINISTRATOR_DEREGISTERED"
	ReasonCodeOrganizationDeleted                ReasonCode = "ORGANIZATION_DELETED"
	ReasonCodeServiceLinkedRoleCreationFailed    ReasonCode = "SERVICE_LINKED_ROLE_CREATION_FAILED"
)

// Values returns all known values for ReasonCode. 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 (ReasonCode) Values() []ReasonCode {
	return []ReasonCode{
		"AWS_SERVICE_ACCESS_DISABLED",
		"DELEGATED_ADMINISTRATOR_DEREGISTERED",
		"ORGANIZATION_DELETED",
		"SERVICE_LINKED_ROLE_CREATION_FAILED",
	}
}

type RecommendationType string

// Enum values for RecommendationType
const (
	RecommendationTypeUnusedPermissionRecommendation RecommendationType = "UnusedPermissionRecommendation"
)

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

type RecommendedRemediationAction string

// Enum values for RecommendedRemediationAction
const (
	RecommendedRemediationActionCreatePolicy RecommendedRemediationAction = "CREATE_POLICY"
	RecommendedRemediationActionDetachPolicy RecommendedRemediationAction = "DETACH_POLICY"
)

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

type ResourceType string

// Enum values for ResourceType
const (
	ResourceTypeAwsS3Bucket                 ResourceType = "AWS::S3::Bucket"
	ResourceTypeAwsIamRole                  ResourceType = "AWS::IAM::Role"
	ResourceTypeAwsSqsQueue                 ResourceType = "AWS::SQS::Queue"
	ResourceTypeAwsLambdaFunction           ResourceType = "AWS::Lambda::Function"
	ResourceTypeAwsLambdaLayerversion       ResourceType = "AWS::Lambda::LayerVersion"
	ResourceTypeAwsKmsKey                   ResourceType = "AWS::KMS::Key"
	ResourceTypeAwsSecretsmanagerSecret     ResourceType = "AWS::SecretsManager::Secret"
	ResourceTypeAwsEfsFilesystem            ResourceType = "AWS::EFS::FileSystem"
	ResourceTypeAwsEc2Snapshot              ResourceType = "AWS::EC2::Snapshot"
	ResourceTypeAwsEcrRepository            ResourceType = "AWS::ECR::Repository"
	ResourceTypeAwsRdsDbsnapshot            ResourceType = "AWS::RDS::DBSnapshot"
	ResourceTypeAwsRdsDbclustersnapshot     ResourceType = "AWS::RDS::DBClusterSnapshot"
	ResourceTypeAwsSnsTopic                 ResourceType = "AWS::SNS::Topic"
	ResourceTypeAwsS3expressDirectorybucket ResourceType = "AWS::S3Express::DirectoryBucket"
	ResourceTypeAwsDynamodbTable            ResourceType = "AWS::DynamoDB::Table"
	ResourceTypeAwsDynamodbStream           ResourceType = "AWS::DynamoDB::Stream"
)

// 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{
		"AWS::S3::Bucket",
		"AWS::IAM::Role",
		"AWS::SQS::Queue",
		"AWS::Lambda::Function",
		"AWS::Lambda::LayerVersion",
		"AWS::KMS::Key",
		"AWS::SecretsManager::Secret",
		"AWS::EFS::FileSystem",
		"AWS::EC2::Snapshot",
		"AWS::ECR::Repository",
		"AWS::RDS::DBSnapshot",
		"AWS::RDS::DBClusterSnapshot",
		"AWS::SNS::Topic",
		"AWS::S3Express::DirectoryBucket",
		"AWS::DynamoDB::Table",
		"AWS::DynamoDB::Stream",
	}
}

type Status string

// Enum values for Status
const (
	StatusSucceeded  Status = "SUCCEEDED"
	StatusFailed     Status = "FAILED"
	StatusInProgress Status = "IN_PROGRESS"
)

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

type Type string

// Enum values for Type
const (
	TypeAccount                  Type = "ACCOUNT"
	TypeOrganization             Type = "ORGANIZATION"
	TypeAccountUnusedAccess      Type = "ACCOUNT_UNUSED_ACCESS"
	TypeOrganizationUnusedAccess Type = "ORGANIZATION_UNUSED_ACCESS"
)

// 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{
		"ACCOUNT",
		"ORGANIZATION",
		"ACCOUNT_UNUSED_ACCESS",
		"ORGANIZATION_UNUSED_ACCESS",
	}
}

type ValidatePolicyFindingType string

// Enum values for ValidatePolicyFindingType
const (
	ValidatePolicyFindingTypeError           ValidatePolicyFindingType = "ERROR"
	ValidatePolicyFindingTypeSecurityWarning ValidatePolicyFindingType = "SECURITY_WARNING"
	ValidatePolicyFindingTypeSuggestion      ValidatePolicyFindingType = "SUGGESTION"
	ValidatePolicyFindingTypeWarning         ValidatePolicyFindingType = "WARNING"
)

// Values returns all known values for ValidatePolicyFindingType. 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 (ValidatePolicyFindingType) Values() []ValidatePolicyFindingType {
	return []ValidatePolicyFindingType{
		"ERROR",
		"SECURITY_WARNING",
		"SUGGESTION",
		"WARNING",
	}
}

type ValidatePolicyResourceType string

// Enum values for ValidatePolicyResourceType
const (
	ValidatePolicyResourceTypeS3Bucket                  ValidatePolicyResourceType = "AWS::S3::Bucket"
	ValidatePolicyResourceTypeS3AccessPoint             ValidatePolicyResourceType = "AWS::S3::AccessPoint"
	ValidatePolicyResourceTypeS3MultiRegionAccessPoint  ValidatePolicyResourceType = "AWS::S3::MultiRegionAccessPoint"
	ValidatePolicyResourceTypeS3ObjectLambdaAccessPoint ValidatePolicyResourceType = "AWS::S3ObjectLambda::AccessPoint"
	ValidatePolicyResourceTypeRoleTrust                 ValidatePolicyResourceType = "AWS::IAM::AssumeRolePolicyDocument"
	ValidatePolicyResourceTypeDynamodbTable             ValidatePolicyResourceType = "AWS::DynamoDB::Table"
)

// Values returns all known values for ValidatePolicyResourceType. 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 (ValidatePolicyResourceType) Values() []ValidatePolicyResourceType {
	return []ValidatePolicyResourceType{
		"AWS::S3::Bucket",
		"AWS::S3::AccessPoint",
		"AWS::S3::MultiRegionAccessPoint",
		"AWS::S3ObjectLambda::AccessPoint",
		"AWS::IAM::AssumeRolePolicyDocument",
		"AWS::DynamoDB::Table",
	}
}

type ValidationExceptionReason string

// Enum values for ValidationExceptionReason
const (
	ValidationExceptionReasonUnknownOperation      ValidationExceptionReason = "unknownOperation"
	ValidationExceptionReasonCannotParse           ValidationExceptionReason = "cannotParse"
	ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "fieldValidationFailed"
	ValidationExceptionReasonOther                 ValidationExceptionReason = "other"
	ValidationExceptionReasonNotSupported          ValidationExceptionReason = "notSupported"
)

// 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{
		"unknownOperation",
		"cannotParse",
		"fieldValidationFailed",
		"other",
		"notSupported",
	}
}