@aws-sdk/client-accessanalyzer 3.935.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.
@@ -0,0 +1,404 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ValidationExceptionReason: {
6
+ readonly CANNOT_PARSE: "cannotParse";
7
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
8
+ readonly NOT_SUPPORTED: "notSupported";
9
+ readonly OTHER: "other";
10
+ readonly UNKNOWN_OPERATION: "unknownOperation";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
16
+ /**
17
+ * @public
18
+ */
19
+ export type ResourceType = "AWS::DynamoDB::Stream" | "AWS::DynamoDB::Table" | "AWS::EC2::Snapshot" | "AWS::ECR::Repository" | "AWS::EFS::FileSystem" | "AWS::IAM::Role" | "AWS::IAM::User" | "AWS::KMS::Key" | "AWS::Lambda::Function" | "AWS::Lambda::LayerVersion" | "AWS::RDS::DBClusterSnapshot" | "AWS::RDS::DBSnapshot" | "AWS::S3::Bucket" | "AWS::S3Express::DirectoryBucket" | "AWS::SNS::Topic" | "AWS::SQS::Queue" | "AWS::SecretsManager::Secret";
20
+ /**
21
+ * @public
22
+ */
23
+ export type Type = "ACCOUNT" | "ACCOUNT_INTERNAL_ACCESS" | "ACCOUNT_UNUSED_ACCESS" | "ORGANIZATION" | "ORGANIZATION_INTERNAL_ACCESS" | "ORGANIZATION_UNUSED_ACCESS";
24
+ /**
25
+ * @public
26
+ */
27
+ export type AnalyzerStatus = "ACTIVE" | "CREATING" | "DISABLED" | "FAILED";
28
+ /**
29
+ * @public
30
+ */
31
+ export type ReasonCode = "AWS_SERVICE_ACCESS_DISABLED" | "DELEGATED_ADMINISTRATOR_DEREGISTERED" | "ORGANIZATION_DELETED" | "SERVICE_LINKED_ROLE_CREATION_FAILED";
32
+ /**
33
+ * @public
34
+ * @enum
35
+ */
36
+ export declare const AccessCheckPolicyType: {
37
+ readonly IDENTITY_POLICY: "IDENTITY_POLICY";
38
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
39
+ };
40
+ /**
41
+ * @public
42
+ */
43
+ export type AccessCheckPolicyType = (typeof AccessCheckPolicyType)[keyof typeof AccessCheckPolicyType];
44
+ /**
45
+ * @public
46
+ * @enum
47
+ */
48
+ export declare const CheckAccessNotGrantedResult: {
49
+ readonly FAIL: "FAIL";
50
+ readonly PASS: "PASS";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type CheckAccessNotGrantedResult = (typeof CheckAccessNotGrantedResult)[keyof typeof CheckAccessNotGrantedResult];
56
+ /**
57
+ * @public
58
+ * @enum
59
+ */
60
+ export declare const CheckNoNewAccessResult: {
61
+ readonly FAIL: "FAIL";
62
+ readonly PASS: "PASS";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type CheckNoNewAccessResult = (typeof CheckNoNewAccessResult)[keyof typeof CheckNoNewAccessResult];
68
+ /**
69
+ * @public
70
+ * @enum
71
+ */
72
+ export declare const AccessCheckResourceType: {
73
+ readonly API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi";
74
+ readonly BACKUP_VAULT: "AWS::Backup::BackupVault";
75
+ readonly CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard";
76
+ readonly CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore";
77
+ readonly CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain";
78
+ readonly DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
79
+ readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
80
+ readonly EFS_FILESYSTEM: "AWS::EFS::FileSystem";
81
+ readonly KINESIS_DATA_STREAM: "AWS::Kinesis::Stream";
82
+ readonly KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer";
83
+ readonly KMS_KEY: "AWS::KMS::Key";
84
+ readonly LAMBDA_FUNCTION: "AWS::Lambda::Function";
85
+ readonly OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain";
86
+ readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
87
+ readonly S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
88
+ readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
89
+ readonly S3_BUCKET: "AWS::S3::Bucket";
90
+ readonly S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint";
91
+ readonly S3_GLACIER: "AWS::S3::Glacier";
92
+ readonly S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint";
93
+ readonly S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket";
94
+ readonly S3_TABLE: "AWS::S3Tables::Table";
95
+ readonly S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket";
96
+ readonly SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
97
+ readonly SNS_TOPIC: "AWS::SNS::Topic";
98
+ readonly SQS_QUEUE: "AWS::SQS::Queue";
99
+ };
100
+ /**
101
+ * @public
102
+ */
103
+ export type AccessCheckResourceType = (typeof AccessCheckResourceType)[keyof typeof AccessCheckResourceType];
104
+ /**
105
+ * @public
106
+ * @enum
107
+ */
108
+ export declare const CheckNoPublicAccessResult: {
109
+ readonly FAIL: "FAIL";
110
+ readonly PASS: "PASS";
111
+ };
112
+ /**
113
+ * @public
114
+ */
115
+ export type CheckNoPublicAccessResult = (typeof CheckNoPublicAccessResult)[keyof typeof CheckNoPublicAccessResult];
116
+ /**
117
+ * @public
118
+ * @enum
119
+ */
120
+ export declare const KmsGrantOperation: {
121
+ readonly CREATE_GRANT: "CreateGrant";
122
+ readonly DECRYPT: "Decrypt";
123
+ readonly DESCRIBE_KEY: "DescribeKey";
124
+ readonly ENCRYPT: "Encrypt";
125
+ readonly GENERATE_DATA_KEY: "GenerateDataKey";
126
+ readonly GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair";
127
+ readonly GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext";
128
+ readonly GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext";
129
+ readonly GET_PUBLIC_KEY: "GetPublicKey";
130
+ readonly REENCRYPT_FROM: "ReEncryptFrom";
131
+ readonly REENCRYPT_TO: "ReEncryptTo";
132
+ readonly RETIRE_GRANT: "RetireGrant";
133
+ readonly SIGN: "Sign";
134
+ readonly VERIFY: "Verify";
135
+ };
136
+ /**
137
+ * @public
138
+ */
139
+ export type KmsGrantOperation = (typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
140
+ /**
141
+ * @public
142
+ * @enum
143
+ */
144
+ export declare const AclPermission: {
145
+ readonly FULL_CONTROL: "FULL_CONTROL";
146
+ readonly READ: "READ";
147
+ readonly READ_ACP: "READ_ACP";
148
+ readonly WRITE: "WRITE";
149
+ readonly WRITE_ACP: "WRITE_ACP";
150
+ };
151
+ /**
152
+ * @public
153
+ */
154
+ export type AclPermission = (typeof AclPermission)[keyof typeof AclPermission];
155
+ /**
156
+ * @public
157
+ * @enum
158
+ */
159
+ export declare const AccessPreviewStatus: {
160
+ readonly COMPLETED: "COMPLETED";
161
+ readonly CREATING: "CREATING";
162
+ readonly FAILED: "FAILED";
163
+ };
164
+ /**
165
+ * @public
166
+ */
167
+ export type AccessPreviewStatus = (typeof AccessPreviewStatus)[keyof typeof AccessPreviewStatus];
168
+ /**
169
+ * @public
170
+ * @enum
171
+ */
172
+ export declare const AccessPreviewStatusReasonCode: {
173
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
174
+ readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
175
+ };
176
+ /**
177
+ * @public
178
+ */
179
+ export type AccessPreviewStatusReasonCode = (typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
180
+ /**
181
+ * @public
182
+ */
183
+ export type FindingStatus = "ACTIVE" | "ARCHIVED" | "RESOLVED";
184
+ /**
185
+ * @public
186
+ * @enum
187
+ */
188
+ export declare const ResourceControlPolicyRestriction: {
189
+ readonly APPLICABLE: "APPLICABLE";
190
+ readonly APPLIED: "APPLIED";
191
+ readonly FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP";
192
+ readonly NOT_APPLICABLE: "NOT_APPLICABLE";
193
+ };
194
+ /**
195
+ * @public
196
+ */
197
+ export type ResourceControlPolicyRestriction = (typeof ResourceControlPolicyRestriction)[keyof typeof ResourceControlPolicyRestriction];
198
+ /**
199
+ * @public
200
+ */
201
+ export type FindingSourceType = "BUCKET_ACL" | "POLICY" | "S3_ACCESS_POINT" | "S3_ACCESS_POINT_ACCOUNT";
202
+ /**
203
+ * @public
204
+ * @enum
205
+ */
206
+ export declare const RecommendationType: {
207
+ readonly UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation";
208
+ };
209
+ /**
210
+ * @public
211
+ */
212
+ export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
213
+ /**
214
+ * @public
215
+ * @enum
216
+ */
217
+ export declare const RecommendedRemediationAction: {
218
+ readonly CREATE_POLICY: "CREATE_POLICY";
219
+ readonly DETACH_POLICY: "DETACH_POLICY";
220
+ };
221
+ /**
222
+ * @public
223
+ */
224
+ export type RecommendedRemediationAction = (typeof RecommendedRemediationAction)[keyof typeof RecommendedRemediationAction];
225
+ /**
226
+ * @public
227
+ * @enum
228
+ */
229
+ export declare const Status: {
230
+ readonly FAILED: "FAILED";
231
+ readonly IN_PROGRESS: "IN_PROGRESS";
232
+ readonly SUCCEEDED: "SUCCEEDED";
233
+ };
234
+ /**
235
+ * @public
236
+ */
237
+ export type Status = (typeof Status)[keyof typeof Status];
238
+ /**
239
+ * @public
240
+ * @enum
241
+ */
242
+ export declare const InternalAccessType: {
243
+ readonly INTRA_ACCOUNT: "INTRA_ACCOUNT";
244
+ readonly INTRA_ORG: "INTRA_ORG";
245
+ };
246
+ /**
247
+ * @public
248
+ */
249
+ export type InternalAccessType = (typeof InternalAccessType)[keyof typeof InternalAccessType];
250
+ /**
251
+ * @public
252
+ * @enum
253
+ */
254
+ export declare const PrincipalType: {
255
+ readonly IAM_ROLE: "IAM_ROLE";
256
+ readonly IAM_USER: "IAM_USER";
257
+ };
258
+ /**
259
+ * @public
260
+ */
261
+ export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
262
+ /**
263
+ * @public
264
+ * @enum
265
+ */
266
+ export declare const ServiceControlPolicyRestriction: {
267
+ readonly APPLICABLE: "APPLICABLE";
268
+ readonly APPLIED: "APPLIED";
269
+ readonly FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP";
270
+ readonly NOT_APPLICABLE: "NOT_APPLICABLE";
271
+ };
272
+ /**
273
+ * @public
274
+ */
275
+ export type ServiceControlPolicyRestriction = (typeof ServiceControlPolicyRestriction)[keyof typeof ServiceControlPolicyRestriction];
276
+ /**
277
+ * @public
278
+ * @enum
279
+ */
280
+ export declare const FindingType: {
281
+ readonly EXTERNAL_ACCESS: "ExternalAccess";
282
+ readonly INTERNAL_ACCESS: "InternalAccess";
283
+ readonly UNUSED_IAM_ROLE: "UnusedIAMRole";
284
+ readonly UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey";
285
+ readonly UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword";
286
+ readonly UNUSED_PERMISSION: "UnusedPermission";
287
+ };
288
+ /**
289
+ * @public
290
+ */
291
+ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
292
+ /**
293
+ * @public
294
+ * @enum
295
+ */
296
+ export declare const JobErrorCode: {
297
+ readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
298
+ readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
299
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
300
+ readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
301
+ };
302
+ /**
303
+ * @public
304
+ */
305
+ export type JobErrorCode = (typeof JobErrorCode)[keyof typeof JobErrorCode];
306
+ /**
307
+ * @public
308
+ * @enum
309
+ */
310
+ export declare const JobStatus: {
311
+ readonly CANCELED: "CANCELED";
312
+ readonly FAILED: "FAILED";
313
+ readonly IN_PROGRESS: "IN_PROGRESS";
314
+ readonly SUCCEEDED: "SUCCEEDED";
315
+ };
316
+ /**
317
+ * @public
318
+ */
319
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
320
+ /**
321
+ * @public
322
+ * @enum
323
+ */
324
+ export declare const FindingChangeType: {
325
+ readonly CHANGED: "CHANGED";
326
+ readonly NEW: "NEW";
327
+ readonly UNCHANGED: "UNCHANGED";
328
+ };
329
+ /**
330
+ * @public
331
+ */
332
+ export type FindingChangeType = (typeof FindingChangeType)[keyof typeof FindingChangeType];
333
+ /**
334
+ * @public
335
+ */
336
+ export type OrderBy = "ASC" | "DESC";
337
+ /**
338
+ * @public
339
+ */
340
+ export type FindingStatusUpdate = "ACTIVE" | "ARCHIVED";
341
+ /**
342
+ * @public
343
+ * @enum
344
+ */
345
+ export declare const Locale: {
346
+ readonly DE: "DE";
347
+ readonly EN: "EN";
348
+ readonly ES: "ES";
349
+ readonly FR: "FR";
350
+ readonly IT: "IT";
351
+ readonly JA: "JA";
352
+ readonly KO: "KO";
353
+ readonly PT_BR: "PT_BR";
354
+ readonly ZH_CN: "ZH_CN";
355
+ readonly ZH_TW: "ZH_TW";
356
+ };
357
+ /**
358
+ * @public
359
+ */
360
+ export type Locale = (typeof Locale)[keyof typeof Locale];
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const PolicyType: {
366
+ readonly IDENTITY_POLICY: "IDENTITY_POLICY";
367
+ readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
368
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
369
+ readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
370
+ };
371
+ /**
372
+ * @public
373
+ */
374
+ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
375
+ /**
376
+ * @public
377
+ * @enum
378
+ */
379
+ export declare const ValidatePolicyResourceType: {
380
+ readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
381
+ readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
382
+ readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
383
+ readonly S3_BUCKET: "AWS::S3::Bucket";
384
+ readonly S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint";
385
+ readonly S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint";
386
+ };
387
+ /**
388
+ * @public
389
+ */
390
+ export type ValidatePolicyResourceType = (typeof ValidatePolicyResourceType)[keyof typeof ValidatePolicyResourceType];
391
+ /**
392
+ * @public
393
+ * @enum
394
+ */
395
+ export declare const ValidatePolicyFindingType: {
396
+ readonly ERROR: "ERROR";
397
+ readonly SECURITY_WARNING: "SECURITY_WARNING";
398
+ readonly SUGGESTION: "SUGGESTION";
399
+ readonly WARNING: "WARNING";
400
+ };
401
+ /**
402
+ * @public
403
+ */
404
+ export type ValidatePolicyFindingType = (typeof ValidatePolicyFindingType)[keyof typeof ValidatePolicyFindingType];
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
3
- import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
4
5
  /**
5
6
  * <p>You do not have sufficient access to perform this action.</p>
6
7
  * @public