@aws-sdk/client-accessanalyzer 3.936.0 → 3.939.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -2778,6 +2778,179 @@ const paginateListPolicyGenerations = core.createPaginator(AccessAnalyzerClient,
2778
2778
 
2779
2779
  const paginateValidatePolicy = core.createPaginator(AccessAnalyzerClient, ValidatePolicyCommand, "nextToken", "nextToken", "maxResults");
2780
2780
 
2781
+ const ValidationExceptionReason = {
2782
+ CANNOT_PARSE: "cannotParse",
2783
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
2784
+ NOT_SUPPORTED: "notSupported",
2785
+ OTHER: "other",
2786
+ UNKNOWN_OPERATION: "unknownOperation",
2787
+ };
2788
+ const AccessCheckPolicyType = {
2789
+ IDENTITY_POLICY: "IDENTITY_POLICY",
2790
+ RESOURCE_POLICY: "RESOURCE_POLICY",
2791
+ };
2792
+ const CheckAccessNotGrantedResult = {
2793
+ FAIL: "FAIL",
2794
+ PASS: "PASS",
2795
+ };
2796
+ const CheckNoNewAccessResult = {
2797
+ FAIL: "FAIL",
2798
+ PASS: "PASS",
2799
+ };
2800
+ const AccessCheckResourceType = {
2801
+ API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi",
2802
+ BACKUP_VAULT: "AWS::Backup::BackupVault",
2803
+ CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard",
2804
+ CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore",
2805
+ CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain",
2806
+ DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
2807
+ DYNAMODB_TABLE: "AWS::DynamoDB::Table",
2808
+ EFS_FILESYSTEM: "AWS::EFS::FileSystem",
2809
+ KINESIS_DATA_STREAM: "AWS::Kinesis::Stream",
2810
+ KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer",
2811
+ KMS_KEY: "AWS::KMS::Key",
2812
+ LAMBDA_FUNCTION: "AWS::Lambda::Function",
2813
+ OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain",
2814
+ ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
2815
+ S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
2816
+ S3_ACCESS_POINT: "AWS::S3::AccessPoint",
2817
+ S3_BUCKET: "AWS::S3::Bucket",
2818
+ S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint",
2819
+ S3_GLACIER: "AWS::S3::Glacier",
2820
+ S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint",
2821
+ S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket",
2822
+ S3_TABLE: "AWS::S3Tables::Table",
2823
+ S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket",
2824
+ SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
2825
+ SNS_TOPIC: "AWS::SNS::Topic",
2826
+ SQS_QUEUE: "AWS::SQS::Queue",
2827
+ };
2828
+ const CheckNoPublicAccessResult = {
2829
+ FAIL: "FAIL",
2830
+ PASS: "PASS",
2831
+ };
2832
+ const KmsGrantOperation = {
2833
+ CREATE_GRANT: "CreateGrant",
2834
+ DECRYPT: "Decrypt",
2835
+ DESCRIBE_KEY: "DescribeKey",
2836
+ ENCRYPT: "Encrypt",
2837
+ GENERATE_DATA_KEY: "GenerateDataKey",
2838
+ GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair",
2839
+ GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext",
2840
+ GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext",
2841
+ GET_PUBLIC_KEY: "GetPublicKey",
2842
+ REENCRYPT_FROM: "ReEncryptFrom",
2843
+ REENCRYPT_TO: "ReEncryptTo",
2844
+ RETIRE_GRANT: "RetireGrant",
2845
+ SIGN: "Sign",
2846
+ VERIFY: "Verify",
2847
+ };
2848
+ const AclPermission = {
2849
+ FULL_CONTROL: "FULL_CONTROL",
2850
+ READ: "READ",
2851
+ READ_ACP: "READ_ACP",
2852
+ WRITE: "WRITE",
2853
+ WRITE_ACP: "WRITE_ACP",
2854
+ };
2855
+ const AccessPreviewStatus = {
2856
+ COMPLETED: "COMPLETED",
2857
+ CREATING: "CREATING",
2858
+ FAILED: "FAILED",
2859
+ };
2860
+ const AccessPreviewStatusReasonCode = {
2861
+ INTERNAL_ERROR: "INTERNAL_ERROR",
2862
+ INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
2863
+ };
2864
+ const ResourceControlPolicyRestriction = {
2865
+ APPLICABLE: "APPLICABLE",
2866
+ APPLIED: "APPLIED",
2867
+ FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
2868
+ NOT_APPLICABLE: "NOT_APPLICABLE",
2869
+ };
2870
+ const RecommendationType = {
2871
+ UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation",
2872
+ };
2873
+ const RecommendedRemediationAction = {
2874
+ CREATE_POLICY: "CREATE_POLICY",
2875
+ DETACH_POLICY: "DETACH_POLICY",
2876
+ };
2877
+ const Status = {
2878
+ FAILED: "FAILED",
2879
+ IN_PROGRESS: "IN_PROGRESS",
2880
+ SUCCEEDED: "SUCCEEDED",
2881
+ };
2882
+ const InternalAccessType = {
2883
+ INTRA_ACCOUNT: "INTRA_ACCOUNT",
2884
+ INTRA_ORG: "INTRA_ORG",
2885
+ };
2886
+ const PrincipalType = {
2887
+ IAM_ROLE: "IAM_ROLE",
2888
+ IAM_USER: "IAM_USER",
2889
+ };
2890
+ const ServiceControlPolicyRestriction = {
2891
+ APPLICABLE: "APPLICABLE",
2892
+ APPLIED: "APPLIED",
2893
+ FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP",
2894
+ NOT_APPLICABLE: "NOT_APPLICABLE",
2895
+ };
2896
+ const FindingType = {
2897
+ EXTERNAL_ACCESS: "ExternalAccess",
2898
+ INTERNAL_ACCESS: "InternalAccess",
2899
+ UNUSED_IAM_ROLE: "UnusedIAMRole",
2900
+ UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey",
2901
+ UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword",
2902
+ UNUSED_PERMISSION: "UnusedPermission",
2903
+ };
2904
+ const JobErrorCode = {
2905
+ AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
2906
+ RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
2907
+ SERVICE_ERROR: "SERVICE_ERROR",
2908
+ SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
2909
+ };
2910
+ const JobStatus = {
2911
+ CANCELED: "CANCELED",
2912
+ FAILED: "FAILED",
2913
+ IN_PROGRESS: "IN_PROGRESS",
2914
+ SUCCEEDED: "SUCCEEDED",
2915
+ };
2916
+ const FindingChangeType = {
2917
+ CHANGED: "CHANGED",
2918
+ NEW: "NEW",
2919
+ UNCHANGED: "UNCHANGED",
2920
+ };
2921
+ const Locale = {
2922
+ DE: "DE",
2923
+ EN: "EN",
2924
+ ES: "ES",
2925
+ FR: "FR",
2926
+ IT: "IT",
2927
+ JA: "JA",
2928
+ KO: "KO",
2929
+ PT_BR: "PT_BR",
2930
+ ZH_CN: "ZH_CN",
2931
+ ZH_TW: "ZH_TW",
2932
+ };
2933
+ const PolicyType = {
2934
+ IDENTITY_POLICY: "IDENTITY_POLICY",
2935
+ RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
2936
+ RESOURCE_POLICY: "RESOURCE_POLICY",
2937
+ SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
2938
+ };
2939
+ const ValidatePolicyResourceType = {
2940
+ DYNAMODB_TABLE: "AWS::DynamoDB::Table",
2941
+ ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
2942
+ S3_ACCESS_POINT: "AWS::S3::AccessPoint",
2943
+ S3_BUCKET: "AWS::S3::Bucket",
2944
+ S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint",
2945
+ S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint",
2946
+ };
2947
+ const ValidatePolicyFindingType = {
2948
+ ERROR: "ERROR",
2949
+ SECURITY_WARNING: "SECURITY_WARNING",
2950
+ SUGGESTION: "SUGGESTION",
2951
+ WARNING: "WARNING",
2952
+ };
2953
+
2781
2954
  Object.defineProperty(exports, "$Command", {
2782
2955
  enumerable: true,
2783
2956
  get: function () { return smithyClient.Command; }
@@ -2789,18 +2962,28 @@ Object.defineProperty(exports, "__Client", {
2789
2962
  exports.AccessAnalyzer = AccessAnalyzer;
2790
2963
  exports.AccessAnalyzerClient = AccessAnalyzerClient;
2791
2964
  exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException$1;
2965
+ exports.AccessCheckPolicyType = AccessCheckPolicyType;
2966
+ exports.AccessCheckResourceType = AccessCheckResourceType;
2792
2967
  exports.AccessDeniedException = AccessDeniedException$1;
2968
+ exports.AccessPreviewStatus = AccessPreviewStatus;
2969
+ exports.AccessPreviewStatusReasonCode = AccessPreviewStatusReasonCode;
2970
+ exports.AclPermission = AclPermission;
2793
2971
  exports.ApplyArchiveRuleCommand = ApplyArchiveRuleCommand;
2794
2972
  exports.CancelPolicyGenerationCommand = CancelPolicyGenerationCommand;
2795
2973
  exports.CheckAccessNotGrantedCommand = CheckAccessNotGrantedCommand;
2974
+ exports.CheckAccessNotGrantedResult = CheckAccessNotGrantedResult;
2796
2975
  exports.CheckNoNewAccessCommand = CheckNoNewAccessCommand;
2976
+ exports.CheckNoNewAccessResult = CheckNoNewAccessResult;
2797
2977
  exports.CheckNoPublicAccessCommand = CheckNoPublicAccessCommand;
2978
+ exports.CheckNoPublicAccessResult = CheckNoPublicAccessResult;
2798
2979
  exports.ConflictException = ConflictException$1;
2799
2980
  exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
2800
2981
  exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
2801
2982
  exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
2802
2983
  exports.DeleteAnalyzerCommand = DeleteAnalyzerCommand;
2803
2984
  exports.DeleteArchiveRuleCommand = DeleteArchiveRuleCommand;
2985
+ exports.FindingChangeType = FindingChangeType;
2986
+ exports.FindingType = FindingType;
2804
2987
  exports.GenerateFindingRecommendationCommand = GenerateFindingRecommendationCommand;
2805
2988
  exports.GetAccessPreviewCommand = GetAccessPreviewCommand;
2806
2989
  exports.GetAnalyzedResourceCommand = GetAnalyzedResourceCommand;
@@ -2811,8 +2994,12 @@ exports.GetFindingRecommendationCommand = GetFindingRecommendationCommand;
2811
2994
  exports.GetFindingV2Command = GetFindingV2Command;
2812
2995
  exports.GetFindingsStatisticsCommand = GetFindingsStatisticsCommand;
2813
2996
  exports.GetGeneratedPolicyCommand = GetGeneratedPolicyCommand;
2997
+ exports.InternalAccessType = InternalAccessType;
2814
2998
  exports.InternalServerException = InternalServerException$1;
2815
2999
  exports.InvalidParameterException = InvalidParameterException$1;
3000
+ exports.JobErrorCode = JobErrorCode;
3001
+ exports.JobStatus = JobStatus;
3002
+ exports.KmsGrantOperation = KmsGrantOperation;
2816
3003
  exports.ListAccessPreviewFindingsCommand = ListAccessPreviewFindingsCommand;
2817
3004
  exports.ListAccessPreviewsCommand = ListAccessPreviewsCommand;
2818
3005
  exports.ListAnalyzedResourcesCommand = ListAnalyzedResourcesCommand;
@@ -2822,10 +3009,18 @@ exports.ListFindingsCommand = ListFindingsCommand;
2822
3009
  exports.ListFindingsV2Command = ListFindingsV2Command;
2823
3010
  exports.ListPolicyGenerationsCommand = ListPolicyGenerationsCommand;
2824
3011
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3012
+ exports.Locale = Locale;
3013
+ exports.PolicyType = PolicyType;
3014
+ exports.PrincipalType = PrincipalType;
3015
+ exports.RecommendationType = RecommendationType;
3016
+ exports.RecommendedRemediationAction = RecommendedRemediationAction;
3017
+ exports.ResourceControlPolicyRestriction = ResourceControlPolicyRestriction;
2825
3018
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
3019
+ exports.ServiceControlPolicyRestriction = ServiceControlPolicyRestriction;
2826
3020
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2827
3021
  exports.StartPolicyGenerationCommand = StartPolicyGenerationCommand;
2828
3022
  exports.StartResourceScanCommand = StartResourceScanCommand;
3023
+ exports.Status = Status;
2829
3024
  exports.TagResourceCommand = TagResourceCommand;
2830
3025
  exports.ThrottlingException = ThrottlingException$1;
2831
3026
  exports.UnprocessableEntityException = UnprocessableEntityException$1;
@@ -2834,7 +3029,10 @@ exports.UpdateAnalyzerCommand = UpdateAnalyzerCommand;
2834
3029
  exports.UpdateArchiveRuleCommand = UpdateArchiveRuleCommand;
2835
3030
  exports.UpdateFindingsCommand = UpdateFindingsCommand;
2836
3031
  exports.ValidatePolicyCommand = ValidatePolicyCommand;
3032
+ exports.ValidatePolicyFindingType = ValidatePolicyFindingType;
3033
+ exports.ValidatePolicyResourceType = ValidatePolicyResourceType;
2837
3034
  exports.ValidationException = ValidationException$1;
3035
+ exports.ValidationExceptionReason = ValidationExceptionReason;
2838
3036
  exports.paginateGetFindingRecommendation = paginateGetFindingRecommendation;
2839
3037
  exports.paginateGetFindingV2 = paginateGetFindingV2;
2840
3038
  exports.paginateListAccessPreviewFindings = paginateListAccessPreviewFindings;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./AccessAnalyzerClient";
2
2
  export * from "./AccessAnalyzer";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { AccessAnalyzerServiceException } from "./models/AccessAnalyzerServiceException";
@@ -0,0 +1,172 @@
1
+ export const ValidationExceptionReason = {
2
+ CANNOT_PARSE: "cannotParse",
3
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
4
+ NOT_SUPPORTED: "notSupported",
5
+ OTHER: "other",
6
+ UNKNOWN_OPERATION: "unknownOperation",
7
+ };
8
+ export const AccessCheckPolicyType = {
9
+ IDENTITY_POLICY: "IDENTITY_POLICY",
10
+ RESOURCE_POLICY: "RESOURCE_POLICY",
11
+ };
12
+ export const CheckAccessNotGrantedResult = {
13
+ FAIL: "FAIL",
14
+ PASS: "PASS",
15
+ };
16
+ export const CheckNoNewAccessResult = {
17
+ FAIL: "FAIL",
18
+ PASS: "PASS",
19
+ };
20
+ export const AccessCheckResourceType = {
21
+ API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi",
22
+ BACKUP_VAULT: "AWS::Backup::BackupVault",
23
+ CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard",
24
+ CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore",
25
+ CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain",
26
+ DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
27
+ DYNAMODB_TABLE: "AWS::DynamoDB::Table",
28
+ EFS_FILESYSTEM: "AWS::EFS::FileSystem",
29
+ KINESIS_DATA_STREAM: "AWS::Kinesis::Stream",
30
+ KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer",
31
+ KMS_KEY: "AWS::KMS::Key",
32
+ LAMBDA_FUNCTION: "AWS::Lambda::Function",
33
+ OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain",
34
+ ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
35
+ S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
36
+ S3_ACCESS_POINT: "AWS::S3::AccessPoint",
37
+ S3_BUCKET: "AWS::S3::Bucket",
38
+ S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint",
39
+ S3_GLACIER: "AWS::S3::Glacier",
40
+ S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint",
41
+ S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket",
42
+ S3_TABLE: "AWS::S3Tables::Table",
43
+ S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket",
44
+ SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
45
+ SNS_TOPIC: "AWS::SNS::Topic",
46
+ SQS_QUEUE: "AWS::SQS::Queue",
47
+ };
48
+ export const CheckNoPublicAccessResult = {
49
+ FAIL: "FAIL",
50
+ PASS: "PASS",
51
+ };
52
+ export const KmsGrantOperation = {
53
+ CREATE_GRANT: "CreateGrant",
54
+ DECRYPT: "Decrypt",
55
+ DESCRIBE_KEY: "DescribeKey",
56
+ ENCRYPT: "Encrypt",
57
+ GENERATE_DATA_KEY: "GenerateDataKey",
58
+ GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair",
59
+ GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext",
60
+ GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext",
61
+ GET_PUBLIC_KEY: "GetPublicKey",
62
+ REENCRYPT_FROM: "ReEncryptFrom",
63
+ REENCRYPT_TO: "ReEncryptTo",
64
+ RETIRE_GRANT: "RetireGrant",
65
+ SIGN: "Sign",
66
+ VERIFY: "Verify",
67
+ };
68
+ export const AclPermission = {
69
+ FULL_CONTROL: "FULL_CONTROL",
70
+ READ: "READ",
71
+ READ_ACP: "READ_ACP",
72
+ WRITE: "WRITE",
73
+ WRITE_ACP: "WRITE_ACP",
74
+ };
75
+ export const AccessPreviewStatus = {
76
+ COMPLETED: "COMPLETED",
77
+ CREATING: "CREATING",
78
+ FAILED: "FAILED",
79
+ };
80
+ export const AccessPreviewStatusReasonCode = {
81
+ INTERNAL_ERROR: "INTERNAL_ERROR",
82
+ INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
83
+ };
84
+ export const ResourceControlPolicyRestriction = {
85
+ APPLICABLE: "APPLICABLE",
86
+ APPLIED: "APPLIED",
87
+ FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
88
+ NOT_APPLICABLE: "NOT_APPLICABLE",
89
+ };
90
+ export const RecommendationType = {
91
+ UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation",
92
+ };
93
+ export const RecommendedRemediationAction = {
94
+ CREATE_POLICY: "CREATE_POLICY",
95
+ DETACH_POLICY: "DETACH_POLICY",
96
+ };
97
+ export const Status = {
98
+ FAILED: "FAILED",
99
+ IN_PROGRESS: "IN_PROGRESS",
100
+ SUCCEEDED: "SUCCEEDED",
101
+ };
102
+ export const InternalAccessType = {
103
+ INTRA_ACCOUNT: "INTRA_ACCOUNT",
104
+ INTRA_ORG: "INTRA_ORG",
105
+ };
106
+ export const PrincipalType = {
107
+ IAM_ROLE: "IAM_ROLE",
108
+ IAM_USER: "IAM_USER",
109
+ };
110
+ export const ServiceControlPolicyRestriction = {
111
+ APPLICABLE: "APPLICABLE",
112
+ APPLIED: "APPLIED",
113
+ FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP",
114
+ NOT_APPLICABLE: "NOT_APPLICABLE",
115
+ };
116
+ export const FindingType = {
117
+ EXTERNAL_ACCESS: "ExternalAccess",
118
+ INTERNAL_ACCESS: "InternalAccess",
119
+ UNUSED_IAM_ROLE: "UnusedIAMRole",
120
+ UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey",
121
+ UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword",
122
+ UNUSED_PERMISSION: "UnusedPermission",
123
+ };
124
+ export const JobErrorCode = {
125
+ AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
126
+ RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
127
+ SERVICE_ERROR: "SERVICE_ERROR",
128
+ SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
129
+ };
130
+ export const JobStatus = {
131
+ CANCELED: "CANCELED",
132
+ FAILED: "FAILED",
133
+ IN_PROGRESS: "IN_PROGRESS",
134
+ SUCCEEDED: "SUCCEEDED",
135
+ };
136
+ export const FindingChangeType = {
137
+ CHANGED: "CHANGED",
138
+ NEW: "NEW",
139
+ UNCHANGED: "UNCHANGED",
140
+ };
141
+ export const Locale = {
142
+ DE: "DE",
143
+ EN: "EN",
144
+ ES: "ES",
145
+ FR: "FR",
146
+ IT: "IT",
147
+ JA: "JA",
148
+ KO: "KO",
149
+ PT_BR: "PT_BR",
150
+ ZH_CN: "ZH_CN",
151
+ ZH_TW: "ZH_TW",
152
+ };
153
+ export const PolicyType = {
154
+ IDENTITY_POLICY: "IDENTITY_POLICY",
155
+ RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
156
+ RESOURCE_POLICY: "RESOURCE_POLICY",
157
+ SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
158
+ };
159
+ export const ValidatePolicyResourceType = {
160
+ DYNAMODB_TABLE: "AWS::DynamoDB::Table",
161
+ ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
162
+ S3_ACCESS_POINT: "AWS::S3::AccessPoint",
163
+ S3_BUCKET: "AWS::S3::Bucket",
164
+ S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint",
165
+ S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint",
166
+ };
167
+ export const ValidatePolicyFindingType = {
168
+ ERROR: "ERROR",
169
+ SECURITY_WARNING: "SECURITY_WARNING",
170
+ SUGGESTION: "SUGGESTION",
171
+ WARNING: "WARNING",
172
+ };
@@ -1,172 +1 @@
1
- export const ValidationExceptionReason = {
2
- CANNOT_PARSE: "cannotParse",
3
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
4
- NOT_SUPPORTED: "notSupported",
5
- OTHER: "other",
6
- UNKNOWN_OPERATION: "unknownOperation",
7
- };
8
- export const AccessCheckPolicyType = {
9
- IDENTITY_POLICY: "IDENTITY_POLICY",
10
- RESOURCE_POLICY: "RESOURCE_POLICY",
11
- };
12
- export const CheckAccessNotGrantedResult = {
13
- FAIL: "FAIL",
14
- PASS: "PASS",
15
- };
16
- export const CheckNoNewAccessResult = {
17
- FAIL: "FAIL",
18
- PASS: "PASS",
19
- };
20
- export const AccessCheckResourceType = {
21
- API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi",
22
- BACKUP_VAULT: "AWS::Backup::BackupVault",
23
- CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard",
24
- CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore",
25
- CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain",
26
- DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
27
- DYNAMODB_TABLE: "AWS::DynamoDB::Table",
28
- EFS_FILESYSTEM: "AWS::EFS::FileSystem",
29
- KINESIS_DATA_STREAM: "AWS::Kinesis::Stream",
30
- KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer",
31
- KMS_KEY: "AWS::KMS::Key",
32
- LAMBDA_FUNCTION: "AWS::Lambda::Function",
33
- OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain",
34
- ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
35
- S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
36
- S3_ACCESS_POINT: "AWS::S3::AccessPoint",
37
- S3_BUCKET: "AWS::S3::Bucket",
38
- S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint",
39
- S3_GLACIER: "AWS::S3::Glacier",
40
- S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint",
41
- S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket",
42
- S3_TABLE: "AWS::S3Tables::Table",
43
- S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket",
44
- SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
45
- SNS_TOPIC: "AWS::SNS::Topic",
46
- SQS_QUEUE: "AWS::SQS::Queue",
47
- };
48
- export const CheckNoPublicAccessResult = {
49
- FAIL: "FAIL",
50
- PASS: "PASS",
51
- };
52
- export const KmsGrantOperation = {
53
- CREATE_GRANT: "CreateGrant",
54
- DECRYPT: "Decrypt",
55
- DESCRIBE_KEY: "DescribeKey",
56
- ENCRYPT: "Encrypt",
57
- GENERATE_DATA_KEY: "GenerateDataKey",
58
- GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair",
59
- GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext",
60
- GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext",
61
- GET_PUBLIC_KEY: "GetPublicKey",
62
- REENCRYPT_FROM: "ReEncryptFrom",
63
- REENCRYPT_TO: "ReEncryptTo",
64
- RETIRE_GRANT: "RetireGrant",
65
- SIGN: "Sign",
66
- VERIFY: "Verify",
67
- };
68
- export const AclPermission = {
69
- FULL_CONTROL: "FULL_CONTROL",
70
- READ: "READ",
71
- READ_ACP: "READ_ACP",
72
- WRITE: "WRITE",
73
- WRITE_ACP: "WRITE_ACP",
74
- };
75
- export const AccessPreviewStatus = {
76
- COMPLETED: "COMPLETED",
77
- CREATING: "CREATING",
78
- FAILED: "FAILED",
79
- };
80
- export const AccessPreviewStatusReasonCode = {
81
- INTERNAL_ERROR: "INTERNAL_ERROR",
82
- INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
83
- };
84
- export const ResourceControlPolicyRestriction = {
85
- APPLICABLE: "APPLICABLE",
86
- APPLIED: "APPLIED",
87
- FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
88
- NOT_APPLICABLE: "NOT_APPLICABLE",
89
- };
90
- export const RecommendationType = {
91
- UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation",
92
- };
93
- export const RecommendedRemediationAction = {
94
- CREATE_POLICY: "CREATE_POLICY",
95
- DETACH_POLICY: "DETACH_POLICY",
96
- };
97
- export const Status = {
98
- FAILED: "FAILED",
99
- IN_PROGRESS: "IN_PROGRESS",
100
- SUCCEEDED: "SUCCEEDED",
101
- };
102
- export const InternalAccessType = {
103
- INTRA_ACCOUNT: "INTRA_ACCOUNT",
104
- INTRA_ORG: "INTRA_ORG",
105
- };
106
- export const PrincipalType = {
107
- IAM_ROLE: "IAM_ROLE",
108
- IAM_USER: "IAM_USER",
109
- };
110
- export const ServiceControlPolicyRestriction = {
111
- APPLICABLE: "APPLICABLE",
112
- APPLIED: "APPLIED",
113
- FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP",
114
- NOT_APPLICABLE: "NOT_APPLICABLE",
115
- };
116
- export const FindingType = {
117
- EXTERNAL_ACCESS: "ExternalAccess",
118
- INTERNAL_ACCESS: "InternalAccess",
119
- UNUSED_IAM_ROLE: "UnusedIAMRole",
120
- UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey",
121
- UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword",
122
- UNUSED_PERMISSION: "UnusedPermission",
123
- };
124
- export const JobErrorCode = {
125
- AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
126
- RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
127
- SERVICE_ERROR: "SERVICE_ERROR",
128
- SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
129
- };
130
- export const JobStatus = {
131
- CANCELED: "CANCELED",
132
- FAILED: "FAILED",
133
- IN_PROGRESS: "IN_PROGRESS",
134
- SUCCEEDED: "SUCCEEDED",
135
- };
136
- export const FindingChangeType = {
137
- CHANGED: "CHANGED",
138
- NEW: "NEW",
139
- UNCHANGED: "UNCHANGED",
140
- };
141
- export const Locale = {
142
- DE: "DE",
143
- EN: "EN",
144
- ES: "ES",
145
- FR: "FR",
146
- IT: "IT",
147
- JA: "JA",
148
- KO: "KO",
149
- PT_BR: "PT_BR",
150
- ZH_CN: "ZH_CN",
151
- ZH_TW: "ZH_TW",
152
- };
153
- export const PolicyType = {
154
- IDENTITY_POLICY: "IDENTITY_POLICY",
155
- RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
156
- RESOURCE_POLICY: "RESOURCE_POLICY",
157
- SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
158
- };
159
- export const ValidatePolicyResourceType = {
160
- DYNAMODB_TABLE: "AWS::DynamoDB::Table",
161
- ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
162
- S3_ACCESS_POINT: "AWS::S3::AccessPoint",
163
- S3_BUCKET: "AWS::S3::Bucket",
164
- S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint",
165
- S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint",
166
- };
167
- export const ValidatePolicyFindingType = {
168
- ERROR: "ERROR",
169
- SECURITY_WARNING: "SECURITY_WARNING",
170
- SUGGESTION: "SUGGESTION",
171
- WARNING: "WARNING",
172
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { AccessAnalyzerExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { AccessAnalyzerServiceException } from "./models/AccessAnalyzerServiceException";