@aws-sdk/client-accessanalyzer 3.296.0 → 3.298.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/commands/ApplyArchiveRuleCommand.js +2 -3
- package/dist-cjs/commands/CancelPolicyGenerationCommand.js +2 -3
- package/dist-cjs/commands/CreateAccessPreviewCommand.js +2 -3
- package/dist-cjs/commands/CreateAnalyzerCommand.js +2 -3
- package/dist-cjs/commands/CreateArchiveRuleCommand.js +2 -3
- package/dist-cjs/commands/DeleteAnalyzerCommand.js +2 -3
- package/dist-cjs/commands/DeleteArchiveRuleCommand.js +2 -3
- package/dist-cjs/commands/GetAccessPreviewCommand.js +2 -3
- package/dist-cjs/commands/GetAnalyzedResourceCommand.js +2 -3
- package/dist-cjs/commands/GetAnalyzerCommand.js +2 -3
- package/dist-cjs/commands/GetArchiveRuleCommand.js +2 -3
- package/dist-cjs/commands/GetFindingCommand.js +2 -3
- package/dist-cjs/commands/GetGeneratedPolicyCommand.js +2 -3
- package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +2 -3
- package/dist-cjs/commands/ListAccessPreviewsCommand.js +2 -3
- package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +2 -3
- package/dist-cjs/commands/ListAnalyzersCommand.js +2 -3
- package/dist-cjs/commands/ListArchiveRulesCommand.js +2 -3
- package/dist-cjs/commands/ListFindingsCommand.js +2 -3
- package/dist-cjs/commands/ListPolicyGenerationsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/StartPolicyGenerationCommand.js +2 -3
- package/dist-cjs/commands/StartResourceScanCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateArchiveRuleCommand.js +2 -3
- package/dist-cjs/commands/UpdateFindingsCommand.js +2 -3
- package/dist-cjs/commands/ValidatePolicyCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -498
- package/dist-es/commands/ApplyArchiveRuleCommand.js +2 -3
- package/dist-es/commands/CancelPolicyGenerationCommand.js +2 -3
- package/dist-es/commands/CreateAccessPreviewCommand.js +2 -3
- package/dist-es/commands/CreateAnalyzerCommand.js +2 -3
- package/dist-es/commands/CreateArchiveRuleCommand.js +2 -3
- package/dist-es/commands/DeleteAnalyzerCommand.js +2 -3
- package/dist-es/commands/DeleteArchiveRuleCommand.js +2 -3
- package/dist-es/commands/GetAccessPreviewCommand.js +2 -3
- package/dist-es/commands/GetAnalyzedResourceCommand.js +2 -3
- package/dist-es/commands/GetAnalyzerCommand.js +2 -3
- package/dist-es/commands/GetArchiveRuleCommand.js +2 -3
- package/dist-es/commands/GetFindingCommand.js +2 -3
- package/dist-es/commands/GetGeneratedPolicyCommand.js +2 -3
- package/dist-es/commands/ListAccessPreviewFindingsCommand.js +2 -3
- package/dist-es/commands/ListAccessPreviewsCommand.js +2 -3
- package/dist-es/commands/ListAnalyzedResourcesCommand.js +2 -3
- package/dist-es/commands/ListAnalyzersCommand.js +2 -3
- package/dist-es/commands/ListArchiveRulesCommand.js +2 -3
- package/dist-es/commands/ListFindingsCommand.js +2 -3
- package/dist-es/commands/ListPolicyGenerationsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/StartPolicyGenerationCommand.js +2 -3
- package/dist-es/commands/StartResourceScanCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateArchiveRuleCommand.js +2 -3
- package/dist-es/commands/UpdateFindingsCommand.js +2 -3
- package/dist-es/commands/ValidatePolicyCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -389
- package/dist-types/AccessAnalyzer.d.ts +29 -0
- package/dist-types/AccessAnalyzerClient.d.ts +24 -4
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +16 -0
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +16 -0
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +16 -0
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +16 -0
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +16 -0
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +16 -0
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +16 -0
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +16 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +16 -0
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +16 -0
- package/dist-types/commands/GetFindingCommand.d.ts +16 -0
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +16 -0
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +16 -0
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +16 -0
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +16 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +16 -0
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +16 -0
- package/dist-types/commands/StartResourceScanCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +16 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +16 -0
- package/dist-types/commands/ValidatePolicyCommand.d.ts +16 -0
- package/dist-types/models/AccessAnalyzerServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +228 -425
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAccessPreviewFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAccessPreviewsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAnalyzedResourcesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAnalyzersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListArchiveRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ValidatePolicyPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -292
- package/package.json +4 -3
|
@@ -272,392 +272,3 @@ export var PathElement;
|
|
|
272
272
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
273
273
|
};
|
|
274
274
|
})(PathElement || (PathElement = {}));
|
|
275
|
-
export const CriterionFilterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
});
|
|
278
|
-
export const CreateArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
279
|
-
...obj,
|
|
280
|
-
});
|
|
281
|
-
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
});
|
|
284
|
-
export const DeleteArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
285
|
-
...obj,
|
|
286
|
-
});
|
|
287
|
-
export const GetArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
288
|
-
...obj,
|
|
289
|
-
});
|
|
290
|
-
export const ArchiveRuleSummaryFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
});
|
|
293
|
-
export const GetArchiveRuleResponseFilterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
});
|
|
296
|
-
export const ListArchiveRulesRequestFilterSensitiveLog = (obj) => ({
|
|
297
|
-
...obj,
|
|
298
|
-
});
|
|
299
|
-
export const ListArchiveRulesResponseFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
});
|
|
302
|
-
export const UpdateArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
});
|
|
305
|
-
export const InlineArchiveRuleFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
});
|
|
308
|
-
export const CreateAnalyzerRequestFilterSensitiveLog = (obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
});
|
|
311
|
-
export const CreateAnalyzerResponseFilterSensitiveLog = (obj) => ({
|
|
312
|
-
...obj,
|
|
313
|
-
});
|
|
314
|
-
export const DeleteAnalyzerRequestFilterSensitiveLog = (obj) => ({
|
|
315
|
-
...obj,
|
|
316
|
-
});
|
|
317
|
-
export const GetAnalyzerRequestFilterSensitiveLog = (obj) => ({
|
|
318
|
-
...obj,
|
|
319
|
-
});
|
|
320
|
-
export const StatusReasonFilterSensitiveLog = (obj) => ({
|
|
321
|
-
...obj,
|
|
322
|
-
});
|
|
323
|
-
export const AnalyzerSummaryFilterSensitiveLog = (obj) => ({
|
|
324
|
-
...obj,
|
|
325
|
-
});
|
|
326
|
-
export const GetAnalyzerResponseFilterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
});
|
|
329
|
-
export const ListAnalyzersRequestFilterSensitiveLog = (obj) => ({
|
|
330
|
-
...obj,
|
|
331
|
-
});
|
|
332
|
-
export const ListAnalyzersResponseFilterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
});
|
|
335
|
-
export const ApplyArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
});
|
|
338
|
-
export const CancelPolicyGenerationRequestFilterSensitiveLog = (obj) => ({
|
|
339
|
-
...obj,
|
|
340
|
-
});
|
|
341
|
-
export const CancelPolicyGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
342
|
-
...obj,
|
|
343
|
-
});
|
|
344
|
-
export const EbsSnapshotConfigurationFilterSensitiveLog = (obj) => ({
|
|
345
|
-
...obj,
|
|
346
|
-
});
|
|
347
|
-
export const EcrRepositoryConfigurationFilterSensitiveLog = (obj) => ({
|
|
348
|
-
...obj,
|
|
349
|
-
});
|
|
350
|
-
export const EfsFileSystemConfigurationFilterSensitiveLog = (obj) => ({
|
|
351
|
-
...obj,
|
|
352
|
-
});
|
|
353
|
-
export const IamRoleConfigurationFilterSensitiveLog = (obj) => ({
|
|
354
|
-
...obj,
|
|
355
|
-
});
|
|
356
|
-
export const KmsGrantConstraintsFilterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
});
|
|
359
|
-
export const KmsGrantConfigurationFilterSensitiveLog = (obj) => ({
|
|
360
|
-
...obj,
|
|
361
|
-
});
|
|
362
|
-
export const KmsKeyConfigurationFilterSensitiveLog = (obj) => ({
|
|
363
|
-
...obj,
|
|
364
|
-
});
|
|
365
|
-
export const RdsDbClusterSnapshotAttributeValueFilterSensitiveLog = (obj) => {
|
|
366
|
-
if (obj.accountIds !== undefined)
|
|
367
|
-
return { accountIds: obj.accountIds };
|
|
368
|
-
if (obj.$unknown !== undefined)
|
|
369
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
370
|
-
};
|
|
371
|
-
export const RdsDbClusterSnapshotConfigurationFilterSensitiveLog = (obj) => ({
|
|
372
|
-
...obj,
|
|
373
|
-
...(obj.attributes && {
|
|
374
|
-
attributes: Object.entries(obj.attributes).reduce((acc, [key, value]) => ((acc[key] = RdsDbClusterSnapshotAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
375
|
-
}),
|
|
376
|
-
});
|
|
377
|
-
export const RdsDbSnapshotAttributeValueFilterSensitiveLog = (obj) => {
|
|
378
|
-
if (obj.accountIds !== undefined)
|
|
379
|
-
return { accountIds: obj.accountIds };
|
|
380
|
-
if (obj.$unknown !== undefined)
|
|
381
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
382
|
-
};
|
|
383
|
-
export const RdsDbSnapshotConfigurationFilterSensitiveLog = (obj) => ({
|
|
384
|
-
...obj,
|
|
385
|
-
...(obj.attributes && {
|
|
386
|
-
attributes: Object.entries(obj.attributes).reduce((acc, [key, value]) => ((acc[key] = RdsDbSnapshotAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
387
|
-
}),
|
|
388
|
-
});
|
|
389
|
-
export const InternetConfigurationFilterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
});
|
|
392
|
-
export const VpcConfigurationFilterSensitiveLog = (obj) => ({
|
|
393
|
-
...obj,
|
|
394
|
-
});
|
|
395
|
-
export const NetworkOriginConfigurationFilterSensitiveLog = (obj) => {
|
|
396
|
-
if (obj.vpcConfiguration !== undefined)
|
|
397
|
-
return { vpcConfiguration: VpcConfigurationFilterSensitiveLog(obj.vpcConfiguration) };
|
|
398
|
-
if (obj.internetConfiguration !== undefined)
|
|
399
|
-
return { internetConfiguration: InternetConfigurationFilterSensitiveLog(obj.internetConfiguration) };
|
|
400
|
-
if (obj.$unknown !== undefined)
|
|
401
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
402
|
-
};
|
|
403
|
-
export const S3PublicAccessBlockConfigurationFilterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
});
|
|
406
|
-
export const S3AccessPointConfigurationFilterSensitiveLog = (obj) => ({
|
|
407
|
-
...obj,
|
|
408
|
-
...(obj.networkOrigin && { networkOrigin: NetworkOriginConfigurationFilterSensitiveLog(obj.networkOrigin) }),
|
|
409
|
-
});
|
|
410
|
-
export const AclGranteeFilterSensitiveLog = (obj) => {
|
|
411
|
-
if (obj.id !== undefined)
|
|
412
|
-
return { id: obj.id };
|
|
413
|
-
if (obj.uri !== undefined)
|
|
414
|
-
return { uri: obj.uri };
|
|
415
|
-
if (obj.$unknown !== undefined)
|
|
416
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
417
|
-
};
|
|
418
|
-
export const S3BucketAclGrantConfigurationFilterSensitiveLog = (obj) => ({
|
|
419
|
-
...obj,
|
|
420
|
-
...(obj.grantee && { grantee: AclGranteeFilterSensitiveLog(obj.grantee) }),
|
|
421
|
-
});
|
|
422
|
-
export const S3BucketConfigurationFilterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
...(obj.bucketAclGrants && {
|
|
425
|
-
bucketAclGrants: obj.bucketAclGrants.map((item) => S3BucketAclGrantConfigurationFilterSensitiveLog(item)),
|
|
426
|
-
}),
|
|
427
|
-
...(obj.accessPoints && {
|
|
428
|
-
accessPoints: Object.entries(obj.accessPoints).reduce((acc, [key, value]) => ((acc[key] = S3AccessPointConfigurationFilterSensitiveLog(value)), acc), {}),
|
|
429
|
-
}),
|
|
430
|
-
});
|
|
431
|
-
export const SecretsManagerSecretConfigurationFilterSensitiveLog = (obj) => ({
|
|
432
|
-
...obj,
|
|
433
|
-
});
|
|
434
|
-
export const SnsTopicConfigurationFilterSensitiveLog = (obj) => ({
|
|
435
|
-
...obj,
|
|
436
|
-
});
|
|
437
|
-
export const SqsQueueConfigurationFilterSensitiveLog = (obj) => ({
|
|
438
|
-
...obj,
|
|
439
|
-
});
|
|
440
|
-
export const ConfigurationFilterSensitiveLog = (obj) => {
|
|
441
|
-
if (obj.ebsSnapshot !== undefined)
|
|
442
|
-
return { ebsSnapshot: EbsSnapshotConfigurationFilterSensitiveLog(obj.ebsSnapshot) };
|
|
443
|
-
if (obj.ecrRepository !== undefined)
|
|
444
|
-
return { ecrRepository: EcrRepositoryConfigurationFilterSensitiveLog(obj.ecrRepository) };
|
|
445
|
-
if (obj.iamRole !== undefined)
|
|
446
|
-
return { iamRole: IamRoleConfigurationFilterSensitiveLog(obj.iamRole) };
|
|
447
|
-
if (obj.efsFileSystem !== undefined)
|
|
448
|
-
return { efsFileSystem: EfsFileSystemConfigurationFilterSensitiveLog(obj.efsFileSystem) };
|
|
449
|
-
if (obj.kmsKey !== undefined)
|
|
450
|
-
return { kmsKey: KmsKeyConfigurationFilterSensitiveLog(obj.kmsKey) };
|
|
451
|
-
if (obj.rdsDbClusterSnapshot !== undefined)
|
|
452
|
-
return { rdsDbClusterSnapshot: RdsDbClusterSnapshotConfigurationFilterSensitiveLog(obj.rdsDbClusterSnapshot) };
|
|
453
|
-
if (obj.rdsDbSnapshot !== undefined)
|
|
454
|
-
return { rdsDbSnapshot: RdsDbSnapshotConfigurationFilterSensitiveLog(obj.rdsDbSnapshot) };
|
|
455
|
-
if (obj.secretsManagerSecret !== undefined)
|
|
456
|
-
return { secretsManagerSecret: SecretsManagerSecretConfigurationFilterSensitiveLog(obj.secretsManagerSecret) };
|
|
457
|
-
if (obj.s3Bucket !== undefined)
|
|
458
|
-
return { s3Bucket: S3BucketConfigurationFilterSensitiveLog(obj.s3Bucket) };
|
|
459
|
-
if (obj.snsTopic !== undefined)
|
|
460
|
-
return { snsTopic: SnsTopicConfigurationFilterSensitiveLog(obj.snsTopic) };
|
|
461
|
-
if (obj.sqsQueue !== undefined)
|
|
462
|
-
return { sqsQueue: SqsQueueConfigurationFilterSensitiveLog(obj.sqsQueue) };
|
|
463
|
-
if (obj.$unknown !== undefined)
|
|
464
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
465
|
-
};
|
|
466
|
-
export const CreateAccessPreviewRequestFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
...(obj.configurations && {
|
|
469
|
-
configurations: Object.entries(obj.configurations).reduce((acc, [key, value]) => ((acc[key] = ConfigurationFilterSensitiveLog(value)), acc), {}),
|
|
470
|
-
}),
|
|
471
|
-
});
|
|
472
|
-
export const CreateAccessPreviewResponseFilterSensitiveLog = (obj) => ({
|
|
473
|
-
...obj,
|
|
474
|
-
});
|
|
475
|
-
export const GetAccessPreviewRequestFilterSensitiveLog = (obj) => ({
|
|
476
|
-
...obj,
|
|
477
|
-
});
|
|
478
|
-
export const AccessPreviewStatusReasonFilterSensitiveLog = (obj) => ({
|
|
479
|
-
...obj,
|
|
480
|
-
});
|
|
481
|
-
export const AccessPreviewFilterSensitiveLog = (obj) => ({
|
|
482
|
-
...obj,
|
|
483
|
-
...(obj.configurations && {
|
|
484
|
-
configurations: Object.entries(obj.configurations).reduce((acc, [key, value]) => ((acc[key] = ConfigurationFilterSensitiveLog(value)), acc), {}),
|
|
485
|
-
}),
|
|
486
|
-
});
|
|
487
|
-
export const GetAccessPreviewResponseFilterSensitiveLog = (obj) => ({
|
|
488
|
-
...obj,
|
|
489
|
-
...(obj.accessPreview && { accessPreview: AccessPreviewFilterSensitiveLog(obj.accessPreview) }),
|
|
490
|
-
});
|
|
491
|
-
export const GetAnalyzedResourceRequestFilterSensitiveLog = (obj) => ({
|
|
492
|
-
...obj,
|
|
493
|
-
});
|
|
494
|
-
export const AnalyzedResourceFilterSensitiveLog = (obj) => ({
|
|
495
|
-
...obj,
|
|
496
|
-
});
|
|
497
|
-
export const GetAnalyzedResourceResponseFilterSensitiveLog = (obj) => ({
|
|
498
|
-
...obj,
|
|
499
|
-
});
|
|
500
|
-
export const GetFindingRequestFilterSensitiveLog = (obj) => ({
|
|
501
|
-
...obj,
|
|
502
|
-
});
|
|
503
|
-
export const FindingSourceDetailFilterSensitiveLog = (obj) => ({
|
|
504
|
-
...obj,
|
|
505
|
-
});
|
|
506
|
-
export const FindingSourceFilterSensitiveLog = (obj) => ({
|
|
507
|
-
...obj,
|
|
508
|
-
});
|
|
509
|
-
export const FindingFilterSensitiveLog = (obj) => ({
|
|
510
|
-
...obj,
|
|
511
|
-
});
|
|
512
|
-
export const GetFindingResponseFilterSensitiveLog = (obj) => ({
|
|
513
|
-
...obj,
|
|
514
|
-
});
|
|
515
|
-
export const GetGeneratedPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
516
|
-
...obj,
|
|
517
|
-
});
|
|
518
|
-
export const GeneratedPolicyFilterSensitiveLog = (obj) => ({
|
|
519
|
-
...obj,
|
|
520
|
-
});
|
|
521
|
-
export const TrailPropertiesFilterSensitiveLog = (obj) => ({
|
|
522
|
-
...obj,
|
|
523
|
-
});
|
|
524
|
-
export const CloudTrailPropertiesFilterSensitiveLog = (obj) => ({
|
|
525
|
-
...obj,
|
|
526
|
-
});
|
|
527
|
-
export const GeneratedPolicyPropertiesFilterSensitiveLog = (obj) => ({
|
|
528
|
-
...obj,
|
|
529
|
-
});
|
|
530
|
-
export const GeneratedPolicyResultFilterSensitiveLog = (obj) => ({
|
|
531
|
-
...obj,
|
|
532
|
-
});
|
|
533
|
-
export const JobErrorFilterSensitiveLog = (obj) => ({
|
|
534
|
-
...obj,
|
|
535
|
-
});
|
|
536
|
-
export const JobDetailsFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
});
|
|
539
|
-
export const GetGeneratedPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
540
|
-
...obj,
|
|
541
|
-
});
|
|
542
|
-
export const ListAccessPreviewFindingsRequestFilterSensitiveLog = (obj) => ({
|
|
543
|
-
...obj,
|
|
544
|
-
});
|
|
545
|
-
export const AccessPreviewFindingFilterSensitiveLog = (obj) => ({
|
|
546
|
-
...obj,
|
|
547
|
-
});
|
|
548
|
-
export const ListAccessPreviewFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
549
|
-
...obj,
|
|
550
|
-
});
|
|
551
|
-
export const ListAccessPreviewsRequestFilterSensitiveLog = (obj) => ({
|
|
552
|
-
...obj,
|
|
553
|
-
});
|
|
554
|
-
export const AccessPreviewSummaryFilterSensitiveLog = (obj) => ({
|
|
555
|
-
...obj,
|
|
556
|
-
});
|
|
557
|
-
export const ListAccessPreviewsResponseFilterSensitiveLog = (obj) => ({
|
|
558
|
-
...obj,
|
|
559
|
-
});
|
|
560
|
-
export const ListAnalyzedResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
561
|
-
...obj,
|
|
562
|
-
});
|
|
563
|
-
export const AnalyzedResourceSummaryFilterSensitiveLog = (obj) => ({
|
|
564
|
-
...obj,
|
|
565
|
-
});
|
|
566
|
-
export const ListAnalyzedResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
567
|
-
...obj,
|
|
568
|
-
});
|
|
569
|
-
export const SortCriteriaFilterSensitiveLog = (obj) => ({
|
|
570
|
-
...obj,
|
|
571
|
-
});
|
|
572
|
-
export const ListFindingsRequestFilterSensitiveLog = (obj) => ({
|
|
573
|
-
...obj,
|
|
574
|
-
});
|
|
575
|
-
export const FindingSummaryFilterSensitiveLog = (obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
});
|
|
578
|
-
export const ListFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
579
|
-
...obj,
|
|
580
|
-
});
|
|
581
|
-
export const ListPolicyGenerationsRequestFilterSensitiveLog = (obj) => ({
|
|
582
|
-
...obj,
|
|
583
|
-
});
|
|
584
|
-
export const PolicyGenerationFilterSensitiveLog = (obj) => ({
|
|
585
|
-
...obj,
|
|
586
|
-
});
|
|
587
|
-
export const ListPolicyGenerationsResponseFilterSensitiveLog = (obj) => ({
|
|
588
|
-
...obj,
|
|
589
|
-
});
|
|
590
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
591
|
-
...obj,
|
|
592
|
-
});
|
|
593
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
594
|
-
...obj,
|
|
595
|
-
});
|
|
596
|
-
export const TrailFilterSensitiveLog = (obj) => ({
|
|
597
|
-
...obj,
|
|
598
|
-
});
|
|
599
|
-
export const CloudTrailDetailsFilterSensitiveLog = (obj) => ({
|
|
600
|
-
...obj,
|
|
601
|
-
});
|
|
602
|
-
export const PolicyGenerationDetailsFilterSensitiveLog = (obj) => ({
|
|
603
|
-
...obj,
|
|
604
|
-
});
|
|
605
|
-
export const StartPolicyGenerationRequestFilterSensitiveLog = (obj) => ({
|
|
606
|
-
...obj,
|
|
607
|
-
});
|
|
608
|
-
export const StartPolicyGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
609
|
-
...obj,
|
|
610
|
-
});
|
|
611
|
-
export const StartResourceScanRequestFilterSensitiveLog = (obj) => ({
|
|
612
|
-
...obj,
|
|
613
|
-
});
|
|
614
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
615
|
-
...obj,
|
|
616
|
-
});
|
|
617
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
618
|
-
...obj,
|
|
619
|
-
});
|
|
620
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
621
|
-
...obj,
|
|
622
|
-
});
|
|
623
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
624
|
-
...obj,
|
|
625
|
-
});
|
|
626
|
-
export const UpdateFindingsRequestFilterSensitiveLog = (obj) => ({
|
|
627
|
-
...obj,
|
|
628
|
-
});
|
|
629
|
-
export const ValidatePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
});
|
|
632
|
-
export const SubstringFilterSensitiveLog = (obj) => ({
|
|
633
|
-
...obj,
|
|
634
|
-
});
|
|
635
|
-
export const PathElementFilterSensitiveLog = (obj) => {
|
|
636
|
-
if (obj.index !== undefined)
|
|
637
|
-
return { index: obj.index };
|
|
638
|
-
if (obj.key !== undefined)
|
|
639
|
-
return { key: obj.key };
|
|
640
|
-
if (obj.substring !== undefined)
|
|
641
|
-
return { substring: SubstringFilterSensitiveLog(obj.substring) };
|
|
642
|
-
if (obj.value !== undefined)
|
|
643
|
-
return { value: obj.value };
|
|
644
|
-
if (obj.$unknown !== undefined)
|
|
645
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
646
|
-
};
|
|
647
|
-
export const PositionFilterSensitiveLog = (obj) => ({
|
|
648
|
-
...obj,
|
|
649
|
-
});
|
|
650
|
-
export const SpanFilterSensitiveLog = (obj) => ({
|
|
651
|
-
...obj,
|
|
652
|
-
});
|
|
653
|
-
export const LocationFilterSensitiveLog = (obj) => ({
|
|
654
|
-
...obj,
|
|
655
|
-
...(obj.path && { path: obj.path.map((item) => PathElementFilterSensitiveLog(item)) }),
|
|
656
|
-
});
|
|
657
|
-
export const ValidatePolicyFindingFilterSensitiveLog = (obj) => ({
|
|
658
|
-
...obj,
|
|
659
|
-
...(obj.locations && { locations: obj.locations.map((item) => LocationFilterSensitiveLog(item)) }),
|
|
660
|
-
});
|
|
661
|
-
export const ValidatePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
662
|
-
...obj,
|
|
663
|
-
});
|
|
@@ -29,6 +29,7 @@ import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from ".
|
|
|
29
29
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
30
30
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
31
31
|
/**
|
|
32
|
+
* @public
|
|
32
33
|
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
33
34
|
* identify any policies that grant access to an external principal. It does this by using
|
|
34
35
|
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
@@ -41,6 +42,7 @@ import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./comma
|
|
|
41
42
|
*/
|
|
42
43
|
export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
43
44
|
/**
|
|
45
|
+
* @public
|
|
44
46
|
* <p>Retroactively applies the archive rule to existing findings that meet the archive rule
|
|
45
47
|
* criteria.</p>
|
|
46
48
|
*/
|
|
@@ -48,12 +50,14 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
48
50
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, cb: (err: any, data?: ApplyArchiveRuleCommandOutput) => void): void;
|
|
49
51
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyArchiveRuleCommandOutput) => void): void;
|
|
50
52
|
/**
|
|
53
|
+
* @public
|
|
51
54
|
* <p>Cancels the requested policy generation.</p>
|
|
52
55
|
*/
|
|
53
56
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<CancelPolicyGenerationCommandOutput>;
|
|
54
57
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
55
58
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
56
59
|
/**
|
|
60
|
+
* @public
|
|
57
61
|
* <p>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
|
|
58
62
|
* resource before deploying resource permissions.</p>
|
|
59
63
|
*/
|
|
@@ -61,12 +65,14 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
61
65
|
createAccessPreview(args: CreateAccessPreviewCommandInput, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
|
|
62
66
|
createAccessPreview(args: CreateAccessPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
|
|
63
67
|
/**
|
|
68
|
+
* @public
|
|
64
69
|
* <p>Creates an analyzer for your account.</p>
|
|
65
70
|
*/
|
|
66
71
|
createAnalyzer(args: CreateAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnalyzerCommandOutput>;
|
|
67
72
|
createAnalyzer(args: CreateAnalyzerCommandInput, cb: (err: any, data?: CreateAnalyzerCommandOutput) => void): void;
|
|
68
73
|
createAnalyzer(args: CreateAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnalyzerCommandOutput) => void): void;
|
|
69
74
|
/**
|
|
75
|
+
* @public
|
|
70
76
|
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
|
|
71
77
|
* new findings that meet the criteria you define when you create the rule.</p>
|
|
72
78
|
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
@@ -75,6 +81,7 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
75
81
|
createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
76
82
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
77
83
|
/**
|
|
84
|
+
* @public
|
|
78
85
|
* <p>Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled
|
|
79
86
|
* for the account or organization in the current or specific Region. All findings that were
|
|
80
87
|
* generated by the analyzer are deleted. You cannot undo this action.</p>
|
|
@@ -83,30 +90,35 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
83
90
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
|
|
84
91
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
|
|
85
92
|
/**
|
|
93
|
+
* @public
|
|
86
94
|
* <p>Deletes the specified archive rule.</p>
|
|
87
95
|
*/
|
|
88
96
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveRuleCommandOutput>;
|
|
89
97
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
90
98
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
91
99
|
/**
|
|
100
|
+
* @public
|
|
92
101
|
* <p>Retrieves information about an access preview for the specified analyzer.</p>
|
|
93
102
|
*/
|
|
94
103
|
getAccessPreview(args: GetAccessPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessPreviewCommandOutput>;
|
|
95
104
|
getAccessPreview(args: GetAccessPreviewCommandInput, cb: (err: any, data?: GetAccessPreviewCommandOutput) => void): void;
|
|
96
105
|
getAccessPreview(args: GetAccessPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessPreviewCommandOutput) => void): void;
|
|
97
106
|
/**
|
|
107
|
+
* @public
|
|
98
108
|
* <p>Retrieves information about a resource that was analyzed.</p>
|
|
99
109
|
*/
|
|
100
110
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalyzedResourceCommandOutput>;
|
|
101
111
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, cb: (err: any, data?: GetAnalyzedResourceCommandOutput) => void): void;
|
|
102
112
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzedResourceCommandOutput) => void): void;
|
|
103
113
|
/**
|
|
114
|
+
* @public
|
|
104
115
|
* <p>Retrieves information about the specified analyzer.</p>
|
|
105
116
|
*/
|
|
106
117
|
getAnalyzer(args: GetAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalyzerCommandOutput>;
|
|
107
118
|
getAnalyzer(args: GetAnalyzerCommandInput, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
|
|
108
119
|
getAnalyzer(args: GetAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
|
|
109
120
|
/**
|
|
121
|
+
* @public
|
|
110
122
|
* <p>Retrieves information about an archive rule.</p>
|
|
111
123
|
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
112
124
|
*/
|
|
@@ -114,12 +126,14 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
114
126
|
getArchiveRule(args: GetArchiveRuleCommandInput, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
|
|
115
127
|
getArchiveRule(args: GetArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
|
|
116
128
|
/**
|
|
129
|
+
* @public
|
|
117
130
|
* <p>Retrieves information about the specified finding.</p>
|
|
118
131
|
*/
|
|
119
132
|
getFinding(args: GetFindingCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingCommandOutput>;
|
|
120
133
|
getFinding(args: GetFindingCommandInput, cb: (err: any, data?: GetFindingCommandOutput) => void): void;
|
|
121
134
|
getFinding(args: GetFindingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingCommandOutput) => void): void;
|
|
122
135
|
/**
|
|
136
|
+
* @public
|
|
123
137
|
* <p>Retrieves the policy that was generated using <code>StartPolicyGeneration</code>.
|
|
124
138
|
* </p>
|
|
125
139
|
*/
|
|
@@ -127,6 +141,7 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
127
141
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
128
142
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
129
143
|
/**
|
|
144
|
+
* @public
|
|
130
145
|
* <p>Retrieves a list of access preview findings generated by the specified access
|
|
131
146
|
* preview.</p>
|
|
132
147
|
*/
|
|
@@ -134,12 +149,14 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
134
149
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, cb: (err: any, data?: ListAccessPreviewFindingsCommandOutput) => void): void;
|
|
135
150
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPreviewFindingsCommandOutput) => void): void;
|
|
136
151
|
/**
|
|
152
|
+
* @public
|
|
137
153
|
* <p>Retrieves a list of access previews for the specified analyzer.</p>
|
|
138
154
|
*/
|
|
139
155
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPreviewsCommandOutput>;
|
|
140
156
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, cb: (err: any, data?: ListAccessPreviewsCommandOutput) => void): void;
|
|
141
157
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPreviewsCommandOutput) => void): void;
|
|
142
158
|
/**
|
|
159
|
+
* @public
|
|
143
160
|
* <p>Retrieves a list of resources of the specified type that have been analyzed by the
|
|
144
161
|
* specified analyzer..</p>
|
|
145
162
|
*/
|
|
@@ -147,18 +164,21 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
147
164
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, cb: (err: any, data?: ListAnalyzedResourcesCommandOutput) => void): void;
|
|
148
165
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzedResourcesCommandOutput) => void): void;
|
|
149
166
|
/**
|
|
167
|
+
* @public
|
|
150
168
|
* <p>Retrieves a list of analyzers.</p>
|
|
151
169
|
*/
|
|
152
170
|
listAnalyzers(args: ListAnalyzersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzersCommandOutput>;
|
|
153
171
|
listAnalyzers(args: ListAnalyzersCommandInput, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
|
|
154
172
|
listAnalyzers(args: ListAnalyzersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
|
|
155
173
|
/**
|
|
174
|
+
* @public
|
|
156
175
|
* <p>Retrieves a list of archive rules created for the specified analyzer.</p>
|
|
157
176
|
*/
|
|
158
177
|
listArchiveRules(args: ListArchiveRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListArchiveRulesCommandOutput>;
|
|
159
178
|
listArchiveRules(args: ListArchiveRulesCommandInput, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
|
|
160
179
|
listArchiveRules(args: ListArchiveRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
|
|
161
180
|
/**
|
|
181
|
+
* @public
|
|
162
182
|
* <p>Retrieves a list of findings generated by the specified analyzer.</p>
|
|
163
183
|
* <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
164
184
|
*/
|
|
@@ -166,54 +186,63 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
166
186
|
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
167
187
|
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
168
188
|
/**
|
|
189
|
+
* @public
|
|
169
190
|
* <p>Lists all of the policy generations requested in the last seven days.</p>
|
|
170
191
|
*/
|
|
171
192
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPolicyGenerationsCommandOutput>;
|
|
172
193
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
173
194
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
174
195
|
/**
|
|
196
|
+
* @public
|
|
175
197
|
* <p>Retrieves a list of tags applied to the specified resource.</p>
|
|
176
198
|
*/
|
|
177
199
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
178
200
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
179
201
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
180
202
|
/**
|
|
203
|
+
* @public
|
|
181
204
|
* <p>Starts the policy generation request.</p>
|
|
182
205
|
*/
|
|
183
206
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartPolicyGenerationCommandOutput>;
|
|
184
207
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
185
208
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
186
209
|
/**
|
|
210
|
+
* @public
|
|
187
211
|
* <p>Immediately starts a scan of the policies applied to the specified resource.</p>
|
|
188
212
|
*/
|
|
189
213
|
startResourceScan(args: StartResourceScanCommandInput, options?: __HttpHandlerOptions): Promise<StartResourceScanCommandOutput>;
|
|
190
214
|
startResourceScan(args: StartResourceScanCommandInput, cb: (err: any, data?: StartResourceScanCommandOutput) => void): void;
|
|
191
215
|
startResourceScan(args: StartResourceScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartResourceScanCommandOutput) => void): void;
|
|
192
216
|
/**
|
|
217
|
+
* @public
|
|
193
218
|
* <p>Adds a tag to the specified resource.</p>
|
|
194
219
|
*/
|
|
195
220
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
196
221
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
197
222
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
198
223
|
/**
|
|
224
|
+
* @public
|
|
199
225
|
* <p>Removes a tag from the specified resource.</p>
|
|
200
226
|
*/
|
|
201
227
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
202
228
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
203
229
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
204
230
|
/**
|
|
231
|
+
* @public
|
|
205
232
|
* <p>Updates the criteria and values for the specified archive rule.</p>
|
|
206
233
|
*/
|
|
207
234
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateArchiveRuleCommandOutput>;
|
|
208
235
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, cb: (err: any, data?: UpdateArchiveRuleCommandOutput) => void): void;
|
|
209
236
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateArchiveRuleCommandOutput) => void): void;
|
|
210
237
|
/**
|
|
238
|
+
* @public
|
|
211
239
|
* <p>Updates the status for the specified findings.</p>
|
|
212
240
|
*/
|
|
213
241
|
updateFindings(args: UpdateFindingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFindingsCommandOutput>;
|
|
214
242
|
updateFindings(args: UpdateFindingsCommandInput, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void;
|
|
215
243
|
updateFindings(args: UpdateFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void;
|
|
216
244
|
/**
|
|
245
|
+
* @public
|
|
217
246
|
* <p>Requests the validation of a policy and returns a list of findings. The findings help
|
|
218
247
|
* you identify issues and provide actionable recommendations to resolve the issue and enable
|
|
219
248
|
* you to author functional policies that meet security best practices. </p>
|
|
@@ -36,15 +36,24 @@ import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from ".
|
|
|
36
36
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
37
37
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
38
38
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
39
42
|
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
40
46
|
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
41
50
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
51
|
/**
|
|
43
52
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
44
53
|
*/
|
|
45
54
|
requestHandler?: __HttpHandler;
|
|
46
55
|
/**
|
|
47
|
-
* A constructor for a class implementing the {@link
|
|
56
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
48
57
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
49
58
|
* @internal
|
|
50
59
|
*/
|
|
@@ -134,23 +143,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
134
143
|
*/
|
|
135
144
|
logger?: __Logger;
|
|
136
145
|
/**
|
|
137
|
-
* The {@link
|
|
146
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
138
147
|
*/
|
|
139
148
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
140
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
141
153
|
type AccessAnalyzerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
142
154
|
/**
|
|
143
|
-
*
|
|
155
|
+
* @public
|
|
156
|
+
*
|
|
157
|
+
* The configuration interface of AccessAnalyzerClient class constructor that set the region, credentials and other options.
|
|
144
158
|
*/
|
|
145
159
|
export interface AccessAnalyzerClientConfig extends AccessAnalyzerClientConfigType {
|
|
146
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
147
164
|
type AccessAnalyzerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
148
165
|
/**
|
|
149
|
-
*
|
|
166
|
+
* @public
|
|
167
|
+
*
|
|
168
|
+
* The resolved configuration interface of AccessAnalyzerClient class. This is resolved and normalized from the {@link AccessAnalyzerClientConfig | constructor configuration interface}.
|
|
150
169
|
*/
|
|
151
170
|
export interface AccessAnalyzerClientResolvedConfig extends AccessAnalyzerClientResolvedConfigType {
|
|
152
171
|
}
|
|
153
172
|
/**
|
|
173
|
+
* @public
|
|
154
174
|
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
155
175
|
* identify any policies that grant access to an external principal. It does this by using
|
|
156
176
|
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|