@aws-sdk/client-accessanalyzer 3.1024.0 → 3.1025.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/README.md +49 -0
- package/dist-cjs/index.js +249 -1
- package/dist-cjs/schemas/schemas_0.js +173 -5
- package/dist-es/AccessAnalyzer.js +23 -1
- package/dist-es/commands/CancelPolicyPreviewJobCommand.js +16 -0
- package/dist-es/commands/CreatePolicyPreviewConfigurationCommand.js +16 -0
- package/dist-es/commands/DeletePolicyPreviewConfigurationCommand.js +16 -0
- package/dist-es/commands/GetPolicyPreviewConfigurationCommand.js +16 -0
- package/dist-es/commands/GetPolicyPreviewJobCommand.js +16 -0
- package/dist-es/commands/ListPolicyPreviewJobsCommand.js +16 -0
- package/dist-es/commands/StartPolicyPreviewJobCommand.js +16 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +31 -0
- package/dist-es/pagination/ListPolicyPreviewJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +168 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForPolicyPreviewConfigurationActive.js +54 -0
- package/dist-es/waiters/waitForPolicyPreviewJobCompleted.js +49 -0
- package/dist-types/AccessAnalyzer.d.ts +74 -1
- package/dist-types/AccessAnalyzerClient.d.ts +9 -2
- package/dist-types/commands/CancelPolicyPreviewJobCommand.d.ts +100 -0
- package/dist-types/commands/CreatePolicyPreviewConfigurationCommand.d.ts +109 -0
- package/dist-types/commands/DeletePolicyPreviewConfigurationCommand.d.ts +100 -0
- package/dist-types/commands/GetPolicyPreviewConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/GetPolicyPreviewJobCommand.d.ts +187 -0
- package/dist-types/commands/ListPolicyPreviewJobsCommand.d.ts +137 -0
- package/dist-types/commands/StartPolicyPreviewJobCommand.d.ts +154 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +71 -0
- package/dist-types/models/models_0.d.ts +316 -1
- package/dist-types/pagination/ListPolicyPreviewJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +26 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +150 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelPolicyPreviewJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePolicyPreviewConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePolicyPreviewConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyPreviewConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyPreviewJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyPreviewJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPolicyPreviewJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +83 -0
- package/dist-types/ts3.4/pagination/ListPolicyPreviewJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +26 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForPolicyPreviewConfigurationActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyPreviewJobCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForPolicyPreviewConfigurationActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyPreviewJobCompleted.d.ts +14 -0
- package/package.json +2 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = void 0;
|
|
3
|
+
exports.EbsSnapshotConfiguration$ = exports.DynamodbTableConfiguration$ = exports.DynamodbStreamConfiguration$ = exports.DeletePolicyPreviewConfigurationResponse$ = exports.DeletePolicyPreviewConfigurationRequest$ = exports.DeleteArchiveRuleRequest$ = exports.DeleteAnalyzerRequest$ = exports.Criterion$ = exports.CreatePolicyPreviewConfigurationResponse$ = exports.CreatePolicyPreviewConfigurationRequest$ = exports.CreateArchiveRuleRequest$ = exports.CreateAnalyzerResponse$ = exports.CreateAnalyzerRequest$ = exports.CreateAccessPreviewResponse$ = exports.CreateAccessPreviewRequest$ = exports.CloudTrailProperties$ = exports.CloudTrailDetails$ = exports.CheckNoPublicAccessResponse$ = exports.CheckNoPublicAccessRequest$ = exports.CheckNoNewAccessResponse$ = exports.CheckNoNewAccessRequest$ = exports.CheckAccessNotGrantedResponse$ = exports.CheckAccessNotGrantedRequest$ = exports.CancelPolicyPreviewJobResponse$ = exports.CancelPolicyPreviewJobRequest$ = exports.CancelPolicyGenerationResponse$ = exports.CancelPolicyGenerationRequest$ = exports.ArchiveRuleSummary$ = exports.ApplyArchiveRuleRequest$ = exports.AnalyzerSummary$ = exports.AnalyzedResourceSummary$ = exports.AnalyzedResource$ = exports.AnalysisRuleCriteria$ = exports.AnalysisRule$ = exports.AccessPreviewSummary$ = exports.AccessPreviewStatusReason$ = exports.AccessPreviewFinding$ = exports.AccessPreview$ = exports.Access$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnprocessableEntityException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InvalidParameterException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.AccessAnalyzerServiceException$ = void 0;
|
|
4
|
+
exports.KmsKeyConfiguration$ = exports.KmsGrantConstraints$ = exports.KmsGrantConfiguration$ = exports.JobError$ = exports.JobDetails$ = exports.InternetConfiguration$ = exports.InternalAccessResourceTypeDetails$ = exports.InternalAccessFindingsStatistics$ = exports.InternalAccessDetails$ = exports.InternalAccessConfiguration$ = exports.InternalAccessAnalysisRuleCriteria$ = exports.InternalAccessAnalysisRule$ = exports.InlineArchiveRule$ = exports.IamRoleConfiguration$ = exports.GetPolicyPreviewJobResponse$ = exports.GetPolicyPreviewJobRequest$ = exports.GetPolicyPreviewConfigurationResponse$ = exports.GetPolicyPreviewConfigurationRequest$ = exports.GetGeneratedPolicyResponse$ = exports.GetGeneratedPolicyRequest$ = exports.GetFindingV2Response$ = exports.GetFindingV2Request$ = exports.GetFindingsStatisticsResponse$ = exports.GetFindingsStatisticsRequest$ = exports.GetFindingResponse$ = exports.GetFindingRequest$ = exports.GetFindingRecommendationResponse$ = exports.GetFindingRecommendationRequest$ = exports.GetArchiveRuleResponse$ = exports.GetArchiveRuleRequest$ = exports.GetAnalyzerResponse$ = exports.GetAnalyzerRequest$ = exports.GetAnalyzedResourceResponse$ = exports.GetAnalyzedResourceRequest$ = exports.GetAccessPreviewResponse$ = exports.GetAccessPreviewRequest$ = exports.GenerateFindingRecommendationRequest$ = exports.GeneratedPolicyResult$ = exports.GeneratedPolicyProperties$ = exports.GeneratedPolicy$ = exports.FindingSummaryV2$ = exports.FindingSummary$ = exports.FindingSourceDetail$ = exports.FindingSource$ = exports.FindingAggregationAccountDetails$ = exports.Finding$ = exports.ExternalAccessFindingsStatistics$ = exports.ExternalAccessDetails$ = exports.EfsFileSystemConfiguration$ = exports.EcrRepositoryConfiguration$ = void 0;
|
|
5
|
+
exports.StartResourceScanRequest$ = exports.StartPolicyPreviewJobResponse$ = exports.StartPolicyPreviewJobRequest$ = exports.StartPolicyGenerationResponse$ = exports.StartPolicyGenerationRequest$ = exports.SqsQueueConfiguration$ = exports.Span$ = exports.SortCriteria$ = exports.SnsTopicConfiguration$ = exports.SecretsManagerSecretConfiguration$ = exports.S3PublicAccessBlockConfiguration$ = exports.S3ExpressDirectoryBucketConfiguration$ = exports.S3ExpressDirectoryAccessPointConfiguration$ = exports.S3BucketConfiguration$ = exports.S3BucketAclGrantConfiguration$ = exports.S3AccessPointConfiguration$ = exports.ResourceTypeDetails$ = exports.RecommendationError$ = exports.ReasonSummary$ = exports.RdsDbSnapshotConfiguration$ = exports.RdsDbClusterSnapshotConfiguration$ = exports.Position$ = exports.PolicyPreviewJobParameters$ = exports.PolicyPreviewJobDetails$ = exports.PolicyPreviewConfiguration$ = exports.PolicyPreviewAnalysisReport$ = exports.PolicyGenerationDetails$ = exports.PolicyGeneration$ = exports.PolicyConfiguration$ = exports.Location$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPolicyPreviewJobsResponse$ = exports.ListPolicyPreviewJobsRequest$ = exports.ListPolicyGenerationsResponse$ = exports.ListPolicyGenerationsRequest$ = exports.ListFindingsV2Response$ = exports.ListFindingsV2Request$ = exports.ListFindingsResponse$ = exports.ListFindingsRequest$ = exports.ListArchiveRulesResponse$ = exports.ListArchiveRulesRequest$ = exports.ListAnalyzersResponse$ = exports.ListAnalyzersRequest$ = exports.ListAnalyzedResourcesResponse$ = exports.ListAnalyzedResourcesRequest$ = exports.ListAccessPreviewsResponse$ = exports.ListAccessPreviewsRequest$ = exports.ListAccessPreviewFindingsResponse$ = exports.ListAccessPreviewFindingsRequest$ = void 0;
|
|
6
|
+
exports.GenerateFindingRecommendation$ = exports.DeletePolicyPreviewConfiguration$ = exports.DeleteArchiveRule$ = exports.DeleteAnalyzer$ = exports.CreatePolicyPreviewConfiguration$ = exports.CreateArchiveRule$ = exports.CreateAnalyzer$ = exports.CreateAccessPreview$ = exports.CheckNoPublicAccess$ = exports.CheckNoNewAccess$ = exports.CheckAccessNotGranted$ = exports.CancelPolicyPreviewJob$ = exports.CancelPolicyGeneration$ = exports.ApplyArchiveRule$ = exports.RecommendedStep$ = exports.RdsDbSnapshotAttributeValue$ = exports.RdsDbClusterSnapshotAttributeValue$ = exports.PathElement$ = exports.NetworkOriginConfiguration$ = exports.FindingsStatistics$ = exports.FindingDetails$ = exports.Configuration$ = exports.AnalyzerConfiguration$ = exports.AclGrantee$ = exports.VpcConfiguration$ = exports.ValidationExceptionField$ = exports.ValidatePolicyResponse$ = exports.ValidatePolicyRequest$ = exports.ValidatePolicyFinding$ = exports.UpdateFindingsRequest$ = exports.UpdateArchiveRuleRequest$ = exports.UpdateAnalyzerResponse$ = exports.UpdateAnalyzerRequest$ = exports.UnusedPermissionsRecommendedStep$ = exports.UnusedPermissionDetails$ = exports.UnusedIamUserPasswordDetails$ = exports.UnusedIamUserAccessKeyDetails$ = exports.UnusedIamRoleDetails$ = exports.UnusedAction$ = exports.UnusedAccessTypeStatistics$ = exports.UnusedAccessFindingsStatistics$ = exports.UnusedAccessConfiguration$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TrailProperties$ = exports.Trail$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Substring$ = exports.StatusReason$ = void 0;
|
|
7
|
+
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = exports.UntagResource$ = exports.TagResource$ = exports.StartResourceScan$ = exports.StartPolicyPreviewJob$ = exports.StartPolicyGeneration$ = exports.ListTagsForResource$ = exports.ListPolicyPreviewJobs$ = exports.ListPolicyGenerations$ = exports.ListFindingsV2$ = exports.ListFindings$ = exports.ListArchiveRules$ = exports.ListAnalyzers$ = exports.ListAnalyzedResources$ = exports.ListAccessPreviews$ = exports.ListAccessPreviewFindings$ = exports.GetPolicyPreviewJob$ = exports.GetPolicyPreviewConfiguration$ = exports.GetGeneratedPolicy$ = exports.GetFindingV2$ = exports.GetFindingsStatistics$ = exports.GetFindingRecommendation$ = exports.GetFinding$ = exports.GetArchiveRule$ = exports.GetAnalyzer$ = exports.GetAnalyzedResource$ = exports.GetAccessPreview$ = void 0;
|
|
8
8
|
const _A = "Access";
|
|
9
9
|
const _AA = "AccountAggregations";
|
|
10
10
|
const _AAR = "ApplyArchiveRule";
|
|
@@ -53,6 +53,12 @@ const _CNPARh = "CheckNoPublicAccessResponse";
|
|
|
53
53
|
const _CPG = "CancelPolicyGeneration";
|
|
54
54
|
const _CPGR = "CancelPolicyGenerationRequest";
|
|
55
55
|
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
56
|
+
const _CPPC = "CreatePolicyPreviewConfiguration";
|
|
57
|
+
const _CPPCR = "CreatePolicyPreviewConfigurationRequest";
|
|
58
|
+
const _CPPCRr = "CreatePolicyPreviewConfigurationResponse";
|
|
59
|
+
const _CPPJ = "CancelPolicyPreviewJob";
|
|
60
|
+
const _CPPJR = "CancelPolicyPreviewJobRequest";
|
|
61
|
+
const _CPPJRa = "CancelPolicyPreviewJobResponse";
|
|
56
62
|
const _CTD = "CloudTrailDetails";
|
|
57
63
|
const _CTP = "CloudTrailProperties";
|
|
58
64
|
const _Co = "Configuration";
|
|
@@ -60,6 +66,9 @@ const _DA = "DeleteAnalyzer";
|
|
|
60
66
|
const _DAR = "DeleteAnalyzerRequest";
|
|
61
67
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
62
68
|
const _DARe = "DeleteArchiveRule";
|
|
69
|
+
const _DPPC = "DeletePolicyPreviewConfiguration";
|
|
70
|
+
const _DPPCR = "DeletePolicyPreviewConfigurationRequest";
|
|
71
|
+
const _DPPCRe = "DeletePolicyPreviewConfigurationResponse";
|
|
63
72
|
const _DSC = "DynamodbStreamConfiguration";
|
|
64
73
|
const _DTC = "DynamodbTableConfiguration";
|
|
65
74
|
const _EAD = "ExternalAccessDetails";
|
|
@@ -113,6 +122,12 @@ const _GGPRe = "GetGeneratedPolicyResponse";
|
|
|
113
122
|
const _GP = "GeneratedPolicy";
|
|
114
123
|
const _GPL = "GeneratedPolicyList";
|
|
115
124
|
const _GPP = "GeneratedPolicyProperties";
|
|
125
|
+
const _GPPC = "GetPolicyPreviewConfiguration";
|
|
126
|
+
const _GPPCR = "GetPolicyPreviewConfigurationRequest";
|
|
127
|
+
const _GPPCRe = "GetPolicyPreviewConfigurationResponse";
|
|
128
|
+
const _GPPJ = "GetPolicyPreviewJob";
|
|
129
|
+
const _GPPJR = "GetPolicyPreviewJobRequest";
|
|
130
|
+
const _GPPJRe = "GetPolicyPreviewJobResponse";
|
|
116
131
|
const _GPR = "GeneratedPolicyResult";
|
|
117
132
|
const _IAAR = "InternalAccessAnalysisRule";
|
|
118
133
|
const _IAARC = "InternalAccessAnalysisRuleCriteria";
|
|
@@ -160,16 +175,27 @@ const _LL = "LocationList";
|
|
|
160
175
|
const _LPG = "ListPolicyGenerations";
|
|
161
176
|
const _LPGR = "ListPolicyGenerationsRequest";
|
|
162
177
|
const _LPGRi = "ListPolicyGenerationsResponse";
|
|
178
|
+
const _LPPJ = "ListPolicyPreviewJobs";
|
|
179
|
+
const _LPPJR = "ListPolicyPreviewJobsRequest";
|
|
180
|
+
const _LPPJRi = "ListPolicyPreviewJobsResponse";
|
|
163
181
|
const _LTFR = "ListTagsForResource";
|
|
164
182
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
165
183
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
166
184
|
const _NOC = "NetworkOriginConfiguration";
|
|
167
185
|
const _P = "Position";
|
|
186
|
+
const _PC = "PolicyConfiguration";
|
|
187
|
+
const _PCL = "PolicyConfigurationsList";
|
|
168
188
|
const _PE = "PathElement";
|
|
169
189
|
const _PEL = "PathElementList";
|
|
170
190
|
const _PG = "PolicyGeneration";
|
|
171
191
|
const _PGD = "PolicyGenerationDetails";
|
|
172
192
|
const _PGL = "PolicyGenerationList";
|
|
193
|
+
const _PPAR = "PolicyPreviewAnalysisReport";
|
|
194
|
+
const _PPARo = "PolicyPreviewAnalysisReports";
|
|
195
|
+
const _PPC = "PolicyPreviewConfiguration";
|
|
196
|
+
const _PPCL = "PolicyPreviewConfigurationList";
|
|
197
|
+
const _PPJD = "PolicyPreviewJobDetails";
|
|
198
|
+
const _PPJP = "PolicyPreviewJobParameters";
|
|
173
199
|
const _RA = "Retry-After";
|
|
174
200
|
const _RDCSAM = "RdsDbClusterSnapshotAttributesMap";
|
|
175
201
|
const _RDCSAV = "RdsDbClusterSnapshotAttributeValue";
|
|
@@ -200,6 +226,9 @@ const _SPABC = "S3PublicAccessBlockConfiguration";
|
|
|
200
226
|
const _SPG = "StartPolicyGeneration";
|
|
201
227
|
const _SPGR = "StartPolicyGenerationRequest";
|
|
202
228
|
const _SPGRt = "StartPolicyGenerationResponse";
|
|
229
|
+
const _SPPJ = "StartPolicyPreviewJob";
|
|
230
|
+
const _SPPJR = "StartPolicyPreviewJobRequest";
|
|
231
|
+
const _SPPJRt = "StartPolicyPreviewJobResponse";
|
|
203
232
|
const _SQC = "SqsQueueConfiguration";
|
|
204
233
|
const _SQEE = "ServiceQuotaExceededException";
|
|
205
234
|
const _SR = "StatusReason";
|
|
@@ -265,6 +294,7 @@ const _aR = "accessRole";
|
|
|
265
294
|
const _aRl = "allRegions";
|
|
266
295
|
const _aRn = "analysisRule";
|
|
267
296
|
const _aRna = "analyzedResources";
|
|
297
|
+
const _aRnal = "analysisReports";
|
|
268
298
|
const _aRr = "archiveRules";
|
|
269
299
|
const _aRrc = "archiveRule";
|
|
270
300
|
const _aT = "accessType";
|
|
@@ -323,6 +353,7 @@ const _fS = "findingsStatistics";
|
|
|
323
353
|
const _fSP = "fileSystemPolicy";
|
|
324
354
|
const _fT = "findingType";
|
|
325
355
|
const _fi = "finding";
|
|
356
|
+
const _fil = "filters";
|
|
326
357
|
const _fin = "findings";
|
|
327
358
|
const _g = "groups";
|
|
328
359
|
const _gP = "generatedPolicies";
|
|
@@ -354,6 +385,9 @@ const _ind = "index";
|
|
|
354
385
|
const _jD = "jobDetails";
|
|
355
386
|
const _jE = "jobError";
|
|
356
387
|
const _jI = "jobId";
|
|
388
|
+
const _jP = "jobParameters";
|
|
389
|
+
const _jS = "jobStatus";
|
|
390
|
+
const _jT = "jobType";
|
|
357
391
|
const _k = "key";
|
|
358
392
|
const _kK = "kmsKey";
|
|
359
393
|
const _kKI = "kmsKeyId";
|
|
@@ -377,14 +411,18 @@ const _nT = "nextToken";
|
|
|
377
411
|
const _ne = "neq";
|
|
378
412
|
const _o = "operations";
|
|
379
413
|
const _oB = "orderBy";
|
|
414
|
+
const _oSU = "outputS3Uri";
|
|
380
415
|
const _of = "offset";
|
|
381
416
|
const _p = "principal";
|
|
382
417
|
const _pA = "principalArn";
|
|
383
418
|
const _pAB = "publicAccessBlock";
|
|
419
|
+
const _pC = "policyConfigurations";
|
|
384
420
|
const _pD = "policyDocument";
|
|
421
|
+
const _pDL = "policyDocumentsList";
|
|
385
422
|
const _pG = "policyGenerations";
|
|
386
423
|
const _pGD = "policyGenerationDetails";
|
|
387
424
|
const _pOA = "principalOwnerAccount";
|
|
425
|
+
const _pPC = "policyPreviewConfigurations";
|
|
388
426
|
const _pT = "policyType";
|
|
389
427
|
const _pTr = "principalType";
|
|
390
428
|
const _pUA = "policyUpdatedAt";
|
|
@@ -421,6 +459,7 @@ const _res = "resource";
|
|
|
421
459
|
const _resu = "result";
|
|
422
460
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.accessanalyzer";
|
|
423
461
|
const _sA = "startedAt";
|
|
462
|
+
const _sAu = "submittedAt";
|
|
424
463
|
const _sB = "s3Bucket";
|
|
425
464
|
const _sCPR = "serviceControlPolicyRestriction";
|
|
426
465
|
const _sEDB = "s3ExpressDirectoryBucket";
|
|
@@ -436,6 +475,7 @@ const _sR = "statusReason";
|
|
|
436
475
|
const _sT = "startTime";
|
|
437
476
|
const _sTn = "snsTopic";
|
|
438
477
|
const _sV = "sharedVia";
|
|
478
|
+
const _sc = "scope";
|
|
439
479
|
const _se = "server";
|
|
440
480
|
const _so = "sources";
|
|
441
481
|
const _sor = "sort";
|
|
@@ -450,6 +490,7 @@ const _tAE = "totalActiveErrors";
|
|
|
450
490
|
const _tAF = "totalActiveFindings";
|
|
451
491
|
const _tAFo = "totalArchivedFindings";
|
|
452
492
|
const _tAP = "totalActivePublic";
|
|
493
|
+
const _tI = "targetId";
|
|
453
494
|
const _tK = "tagKeys";
|
|
454
495
|
const _tP = "trailProperties";
|
|
455
496
|
const _tPa = "tablePolicy";
|
|
@@ -613,6 +654,16 @@ exports.CancelPolicyGenerationResponse$ = [3, n0, _CPGRa,
|
|
|
613
654
|
[],
|
|
614
655
|
[]
|
|
615
656
|
];
|
|
657
|
+
exports.CancelPolicyPreviewJobRequest$ = [3, n0, _CPPJR,
|
|
658
|
+
0,
|
|
659
|
+
[_jI],
|
|
660
|
+
[[0, 1]], 1
|
|
661
|
+
];
|
|
662
|
+
exports.CancelPolicyPreviewJobResponse$ = [3, n0, _CPPJRa,
|
|
663
|
+
0,
|
|
664
|
+
[],
|
|
665
|
+
[]
|
|
666
|
+
];
|
|
616
667
|
exports.CheckAccessNotGrantedRequest$ = [3, n0, _CANGR,
|
|
617
668
|
0,
|
|
618
669
|
[_pD, _acc, _pT],
|
|
@@ -678,6 +729,16 @@ exports.CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
678
729
|
[_aN, _rN, _f, _cTl],
|
|
679
730
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
680
731
|
];
|
|
732
|
+
exports.CreatePolicyPreviewConfigurationRequest$ = [3, n0, _CPPCR,
|
|
733
|
+
0,
|
|
734
|
+
[_cTl, _sc],
|
|
735
|
+
[[0, 4], 0]
|
|
736
|
+
];
|
|
737
|
+
exports.CreatePolicyPreviewConfigurationResponse$ = [3, n0, _CPPCRr,
|
|
738
|
+
0,
|
|
739
|
+
[_st],
|
|
740
|
+
[0], 1
|
|
741
|
+
];
|
|
681
742
|
exports.Criterion$ = [3, n0, _C,
|
|
682
743
|
0,
|
|
683
744
|
[_eq, _ne, _cont, _exi],
|
|
@@ -693,6 +754,16 @@ exports.DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
693
754
|
[_aN, _rN, _cTl],
|
|
694
755
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
695
756
|
];
|
|
757
|
+
exports.DeletePolicyPreviewConfigurationRequest$ = [3, n0, _DPPCR,
|
|
758
|
+
0,
|
|
759
|
+
[_cTl],
|
|
760
|
+
[[0, { [_hQ]: _cTl, [_iT]: 1 }]]
|
|
761
|
+
];
|
|
762
|
+
exports.DeletePolicyPreviewConfigurationResponse$ = [3, n0, _DPPCRe,
|
|
763
|
+
0,
|
|
764
|
+
[],
|
|
765
|
+
[]
|
|
766
|
+
];
|
|
696
767
|
exports.DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
697
768
|
0,
|
|
698
769
|
[_sP],
|
|
@@ -868,6 +939,26 @@ exports.GetGeneratedPolicyResponse$ = [3, n0, _GGPRe,
|
|
|
868
939
|
[_jD, _gPR],
|
|
869
940
|
[() => exports.JobDetails$, () => exports.GeneratedPolicyResult$], 2
|
|
870
941
|
];
|
|
942
|
+
exports.GetPolicyPreviewConfigurationRequest$ = [3, n0, _GPPCR,
|
|
943
|
+
0,
|
|
944
|
+
[],
|
|
945
|
+
[]
|
|
946
|
+
];
|
|
947
|
+
exports.GetPolicyPreviewConfigurationResponse$ = [3, n0, _GPPCRe,
|
|
948
|
+
0,
|
|
949
|
+
[_pPC],
|
|
950
|
+
[() => PolicyPreviewConfigurationList]
|
|
951
|
+
];
|
|
952
|
+
exports.GetPolicyPreviewJobRequest$ = [3, n0, _GPPJR,
|
|
953
|
+
0,
|
|
954
|
+
[_jI],
|
|
955
|
+
[[0, 1]], 1
|
|
956
|
+
];
|
|
957
|
+
exports.GetPolicyPreviewJobResponse$ = [3, n0, _GPPJRe,
|
|
958
|
+
0,
|
|
959
|
+
[_jI, _oSU, _jP, _jD],
|
|
960
|
+
[0, 0, () => exports.PolicyPreviewJobParameters$, () => exports.PolicyPreviewJobDetails$], 2
|
|
961
|
+
];
|
|
871
962
|
exports.IamRoleConfiguration$ = [3, n0, _IRC,
|
|
872
963
|
0,
|
|
873
964
|
[_tPr],
|
|
@@ -1018,6 +1109,16 @@ exports.ListPolicyGenerationsResponse$ = [3, n0, _LPGRi,
|
|
|
1018
1109
|
[_pG, _nT],
|
|
1019
1110
|
[() => PolicyGenerationList, 0], 1
|
|
1020
1111
|
];
|
|
1112
|
+
exports.ListPolicyPreviewJobsRequest$ = [3, n0, _LPPJR,
|
|
1113
|
+
0,
|
|
1114
|
+
[_fil, _mR, _nT],
|
|
1115
|
+
[[128 | 0, 64], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
1116
|
+
];
|
|
1117
|
+
exports.ListPolicyPreviewJobsResponse$ = [3, n0, _LPPJRi,
|
|
1118
|
+
0,
|
|
1119
|
+
[_aRnal, _nT],
|
|
1120
|
+
[() => PolicyPreviewAnalysisReports, 0], 1
|
|
1121
|
+
];
|
|
1021
1122
|
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
1022
1123
|
0,
|
|
1023
1124
|
[_rA],
|
|
@@ -1033,6 +1134,11 @@ exports.Location$ = [3, n0, _L,
|
|
|
1033
1134
|
[_pa, _sp],
|
|
1034
1135
|
[() => PathElementList, () => exports.Span$], 2
|
|
1035
1136
|
];
|
|
1137
|
+
exports.PolicyConfiguration$ = [3, n0, _PC,
|
|
1138
|
+
0,
|
|
1139
|
+
[_jT, _tI, _pDL],
|
|
1140
|
+
[0, 0, 64 | 0], 3
|
|
1141
|
+
];
|
|
1036
1142
|
exports.PolicyGeneration$ = [3, n0, _PG,
|
|
1037
1143
|
0,
|
|
1038
1144
|
[_jI, _pA, _st, _sO, _cO],
|
|
@@ -1043,6 +1149,26 @@ exports.PolicyGenerationDetails$ = [3, n0, _PGD,
|
|
|
1043
1149
|
[_pA],
|
|
1044
1150
|
[0], 1
|
|
1045
1151
|
];
|
|
1152
|
+
exports.PolicyPreviewAnalysisReport$ = [3, n0, _PPAR,
|
|
1153
|
+
0,
|
|
1154
|
+
[_jI, _st, _sAu, _oSU, _sA, _cAo],
|
|
1155
|
+
[0, 0, 5, 0, 5, 5], 4
|
|
1156
|
+
];
|
|
1157
|
+
exports.PolicyPreviewConfiguration$ = [3, n0, _PPC,
|
|
1158
|
+
0,
|
|
1159
|
+
[_sc, _st, _cA, _uA],
|
|
1160
|
+
[0, 0, 5, 5], 3
|
|
1161
|
+
];
|
|
1162
|
+
exports.PolicyPreviewJobDetails$ = [3, n0, _PPJD,
|
|
1163
|
+
0,
|
|
1164
|
+
[_jS, _sAu, _sA, _cAo, _jE],
|
|
1165
|
+
[0, 5, 5, 5, () => exports.JobError$], 2
|
|
1166
|
+
];
|
|
1167
|
+
exports.PolicyPreviewJobParameters$ = [3, n0, _PPJP,
|
|
1168
|
+
0,
|
|
1169
|
+
[_sT, _eT, _pC],
|
|
1170
|
+
[5, 5, () => PolicyConfigurationsList], 3
|
|
1171
|
+
];
|
|
1046
1172
|
exports.Position$ = [3, n0, _P,
|
|
1047
1173
|
0,
|
|
1048
1174
|
[_l, _col, _of],
|
|
@@ -1138,6 +1264,16 @@ exports.StartPolicyGenerationResponse$ = [3, n0, _SPGRt,
|
|
|
1138
1264
|
[_jI],
|
|
1139
1265
|
[0], 1
|
|
1140
1266
|
];
|
|
1267
|
+
exports.StartPolicyPreviewJobRequest$ = [3, n0, _SPPJR,
|
|
1268
|
+
0,
|
|
1269
|
+
[_pC, _sT, _oSU, _eT, _cTl],
|
|
1270
|
+
[() => PolicyConfigurationsList, 5, 0, 5, [0, 4]], 3
|
|
1271
|
+
];
|
|
1272
|
+
exports.StartPolicyPreviewJobResponse$ = [3, n0, _SPPJRt,
|
|
1273
|
+
0,
|
|
1274
|
+
[_jI],
|
|
1275
|
+
[0], 1
|
|
1276
|
+
];
|
|
1141
1277
|
exports.StartResourceScanRequest$ = [3, n0, _SRSR,
|
|
1142
1278
|
0,
|
|
1143
1279
|
[_aA, _rA, _rOA],
|
|
@@ -1338,9 +1474,19 @@ var LocationList = [1, n0, _LL,
|
|
|
1338
1474
|
var PathElementList = [1, n0, _PEL,
|
|
1339
1475
|
0, () => exports.PathElement$
|
|
1340
1476
|
];
|
|
1477
|
+
var PolicyConfigurationsList = [1, n0, _PCL,
|
|
1478
|
+
0, () => exports.PolicyConfiguration$
|
|
1479
|
+
];
|
|
1480
|
+
var PolicyDocumentList = 64 | 0;
|
|
1341
1481
|
var PolicyGenerationList = [1, n0, _PGL,
|
|
1342
1482
|
0, () => exports.PolicyGeneration$
|
|
1343
1483
|
];
|
|
1484
|
+
var PolicyPreviewAnalysisReports = [1, n0, _PPARo,
|
|
1485
|
+
0, () => exports.PolicyPreviewAnalysisReport$
|
|
1486
|
+
];
|
|
1487
|
+
var PolicyPreviewConfigurationList = [1, n0, _PPCL,
|
|
1488
|
+
0, () => exports.PolicyPreviewConfiguration$
|
|
1489
|
+
];
|
|
1344
1490
|
var RdsDbClusterSnapshotAccountIdsList = 64 | 0;
|
|
1345
1491
|
var RdsDbSnapshotAccountIdsList = 64 | 0;
|
|
1346
1492
|
var ReasonSummaryList = [1, n0, _RSL,
|
|
@@ -1393,6 +1539,7 @@ var InternalAccessResourceTypeStatisticsMap = [2, n0, _IARTSM,
|
|
|
1393
1539
|
];
|
|
1394
1540
|
var KmsConstraintsMap = 128 | 0;
|
|
1395
1541
|
var KmsKeyPoliciesMap = 128 | 0;
|
|
1542
|
+
var PolicyPreviewJobFiltersMap = 128 | 0;
|
|
1396
1543
|
var PrincipalMap = 128 | 0;
|
|
1397
1544
|
var RdsDbClusterSnapshotAttributesMap = [2, n0, _RDCSAM,
|
|
1398
1545
|
0, 0, () => exports.RdsDbClusterSnapshotAttributeValue$
|
|
@@ -1466,6 +1613,9 @@ exports.ApplyArchiveRule$ = [9, n0, _AAR,
|
|
|
1466
1613
|
exports.CancelPolicyGeneration$ = [9, n0, _CPG,
|
|
1467
1614
|
{ [_h]: ["PUT", "/policy/generation/{jobId}", 200] }, () => exports.CancelPolicyGenerationRequest$, () => exports.CancelPolicyGenerationResponse$
|
|
1468
1615
|
];
|
|
1616
|
+
exports.CancelPolicyPreviewJob$ = [9, n0, _CPPJ,
|
|
1617
|
+
{ [_h]: ["PUT", "/policy/preview/{jobId}", 200] }, () => exports.CancelPolicyPreviewJobRequest$, () => exports.CancelPolicyPreviewJobResponse$
|
|
1618
|
+
];
|
|
1469
1619
|
exports.CheckAccessNotGranted$ = [9, n0, _CANG,
|
|
1470
1620
|
{ [_h]: ["POST", "/policy/check-access-not-granted", 200] }, () => exports.CheckAccessNotGrantedRequest$, () => exports.CheckAccessNotGrantedResponse$
|
|
1471
1621
|
];
|
|
@@ -1484,12 +1634,18 @@ exports.CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1484
1634
|
exports.CreateArchiveRule$ = [9, n0, _CARre,
|
|
1485
1635
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => exports.CreateArchiveRuleRequest$, () => __Unit
|
|
1486
1636
|
];
|
|
1637
|
+
exports.CreatePolicyPreviewConfiguration$ = [9, n0, _CPPC,
|
|
1638
|
+
{ [_h]: ["PUT", "/policy/preview-configuration", 200] }, () => exports.CreatePolicyPreviewConfigurationRequest$, () => exports.CreatePolicyPreviewConfigurationResponse$
|
|
1639
|
+
];
|
|
1487
1640
|
exports.DeleteAnalyzer$ = [9, n0, _DA,
|
|
1488
1641
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => exports.DeleteAnalyzerRequest$, () => __Unit
|
|
1489
1642
|
];
|
|
1490
1643
|
exports.DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1491
1644
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => exports.DeleteArchiveRuleRequest$, () => __Unit
|
|
1492
1645
|
];
|
|
1646
|
+
exports.DeletePolicyPreviewConfiguration$ = [9, n0, _DPPC,
|
|
1647
|
+
{ [_h]: ["DELETE", "/policy/preview-configuration", 200] }, () => exports.DeletePolicyPreviewConfigurationRequest$, () => exports.DeletePolicyPreviewConfigurationResponse$
|
|
1648
|
+
];
|
|
1493
1649
|
exports.GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1494
1650
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => exports.GenerateFindingRecommendationRequest$, () => __Unit
|
|
1495
1651
|
];
|
|
@@ -1520,6 +1676,12 @@ exports.GetFindingV2$ = [9, n0, _GFV,
|
|
|
1520
1676
|
exports.GetGeneratedPolicy$ = [9, n0, _GGP,
|
|
1521
1677
|
{ [_h]: ["GET", "/policy/generation/{jobId}", 200] }, () => exports.GetGeneratedPolicyRequest$, () => exports.GetGeneratedPolicyResponse$
|
|
1522
1678
|
];
|
|
1679
|
+
exports.GetPolicyPreviewConfiguration$ = [9, n0, _GPPC,
|
|
1680
|
+
{ [_h]: ["GET", "/policy/preview-configuration", 200] }, () => exports.GetPolicyPreviewConfigurationRequest$, () => exports.GetPolicyPreviewConfigurationResponse$
|
|
1681
|
+
];
|
|
1682
|
+
exports.GetPolicyPreviewJob$ = [9, n0, _GPPJ,
|
|
1683
|
+
{ [_h]: ["GET", "/policy/preview/{jobId}", 200] }, () => exports.GetPolicyPreviewJobRequest$, () => exports.GetPolicyPreviewJobResponse$
|
|
1684
|
+
];
|
|
1523
1685
|
exports.ListAccessPreviewFindings$ = [9, n0, _LAPF,
|
|
1524
1686
|
{ [_h]: ["POST", "/access-preview/{accessPreviewId}", 200] }, () => exports.ListAccessPreviewFindingsRequest$, () => exports.ListAccessPreviewFindingsResponse$
|
|
1525
1687
|
];
|
|
@@ -1544,12 +1706,18 @@ exports.ListFindingsV2$ = [9, n0, _LFV,
|
|
|
1544
1706
|
exports.ListPolicyGenerations$ = [9, n0, _LPG,
|
|
1545
1707
|
{ [_h]: ["GET", "/policy/generation", 200] }, () => exports.ListPolicyGenerationsRequest$, () => exports.ListPolicyGenerationsResponse$
|
|
1546
1708
|
];
|
|
1709
|
+
exports.ListPolicyPreviewJobs$ = [9, n0, _LPPJ,
|
|
1710
|
+
{ [_h]: ["GET", "/policy/preview", 200] }, () => exports.ListPolicyPreviewJobsRequest$, () => exports.ListPolicyPreviewJobsResponse$
|
|
1711
|
+
];
|
|
1547
1712
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
1548
1713
|
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
1549
1714
|
];
|
|
1550
1715
|
exports.StartPolicyGeneration$ = [9, n0, _SPG,
|
|
1551
1716
|
{ [_h]: ["PUT", "/policy/generation", 200] }, () => exports.StartPolicyGenerationRequest$, () => exports.StartPolicyGenerationResponse$
|
|
1552
1717
|
];
|
|
1718
|
+
exports.StartPolicyPreviewJob$ = [9, n0, _SPPJ,
|
|
1719
|
+
{ [_h]: ["PUT", "/policy/preview", 200] }, () => exports.StartPolicyPreviewJobRequest$, () => exports.StartPolicyPreviewJobResponse$
|
|
1720
|
+
];
|
|
1553
1721
|
exports.StartResourceScan$ = [9, n0, _SRS,
|
|
1554
1722
|
{ [_h]: ["POST", "/resource/scan", 200] }, () => exports.StartResourceScanRequest$, () => __Unit
|
|
1555
1723
|
];
|
|
@@ -2,14 +2,17 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { AccessAnalyzerClient } from "./AccessAnalyzerClient";
|
|
3
3
|
import { ApplyArchiveRuleCommand, } from "./commands/ApplyArchiveRuleCommand";
|
|
4
4
|
import { CancelPolicyGenerationCommand, } from "./commands/CancelPolicyGenerationCommand";
|
|
5
|
+
import { CancelPolicyPreviewJobCommand, } from "./commands/CancelPolicyPreviewJobCommand";
|
|
5
6
|
import { CheckAccessNotGrantedCommand, } from "./commands/CheckAccessNotGrantedCommand";
|
|
6
7
|
import { CheckNoNewAccessCommand, } from "./commands/CheckNoNewAccessCommand";
|
|
7
8
|
import { CheckNoPublicAccessCommand, } from "./commands/CheckNoPublicAccessCommand";
|
|
8
9
|
import { CreateAccessPreviewCommand, } from "./commands/CreateAccessPreviewCommand";
|
|
9
10
|
import { CreateAnalyzerCommand, } from "./commands/CreateAnalyzerCommand";
|
|
10
11
|
import { CreateArchiveRuleCommand, } from "./commands/CreateArchiveRuleCommand";
|
|
12
|
+
import { CreatePolicyPreviewConfigurationCommand, } from "./commands/CreatePolicyPreviewConfigurationCommand";
|
|
11
13
|
import { DeleteAnalyzerCommand, } from "./commands/DeleteAnalyzerCommand";
|
|
12
14
|
import { DeleteArchiveRuleCommand, } from "./commands/DeleteArchiveRuleCommand";
|
|
15
|
+
import { DeletePolicyPreviewConfigurationCommand, } from "./commands/DeletePolicyPreviewConfigurationCommand";
|
|
13
16
|
import { GenerateFindingRecommendationCommand, } from "./commands/GenerateFindingRecommendationCommand";
|
|
14
17
|
import { GetAccessPreviewCommand, } from "./commands/GetAccessPreviewCommand";
|
|
15
18
|
import { GetAnalyzedResourceCommand, } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -20,6 +23,8 @@ import { GetFindingRecommendationCommand, } from "./commands/GetFindingRecommend
|
|
|
20
23
|
import { GetFindingsStatisticsCommand, } from "./commands/GetFindingsStatisticsCommand";
|
|
21
24
|
import { GetFindingV2Command, } from "./commands/GetFindingV2Command";
|
|
22
25
|
import { GetGeneratedPolicyCommand, } from "./commands/GetGeneratedPolicyCommand";
|
|
26
|
+
import { GetPolicyPreviewConfigurationCommand, } from "./commands/GetPolicyPreviewConfigurationCommand";
|
|
27
|
+
import { GetPolicyPreviewJobCommand, } from "./commands/GetPolicyPreviewJobCommand";
|
|
23
28
|
import { ListAccessPreviewFindingsCommand, } from "./commands/ListAccessPreviewFindingsCommand";
|
|
24
29
|
import { ListAccessPreviewsCommand, } from "./commands/ListAccessPreviewsCommand";
|
|
25
30
|
import { ListAnalyzedResourcesCommand, } from "./commands/ListAnalyzedResourcesCommand";
|
|
@@ -28,8 +33,10 @@ import { ListArchiveRulesCommand, } from "./commands/ListArchiveRulesCommand";
|
|
|
28
33
|
import { ListFindingsCommand, } from "./commands/ListFindingsCommand";
|
|
29
34
|
import { ListFindingsV2Command, } from "./commands/ListFindingsV2Command";
|
|
30
35
|
import { ListPolicyGenerationsCommand, } from "./commands/ListPolicyGenerationsCommand";
|
|
36
|
+
import { ListPolicyPreviewJobsCommand, } from "./commands/ListPolicyPreviewJobsCommand";
|
|
31
37
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
32
38
|
import { StartPolicyGenerationCommand, } from "./commands/StartPolicyGenerationCommand";
|
|
39
|
+
import { StartPolicyPreviewJobCommand, } from "./commands/StartPolicyPreviewJobCommand";
|
|
33
40
|
import { StartResourceScanCommand, } from "./commands/StartResourceScanCommand";
|
|
34
41
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
35
42
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -47,18 +54,24 @@ import { paginateListArchiveRules } from "./pagination/ListArchiveRulesPaginator
|
|
|
47
54
|
import { paginateListFindings } from "./pagination/ListFindingsPaginator";
|
|
48
55
|
import { paginateListFindingsV2 } from "./pagination/ListFindingsV2Paginator";
|
|
49
56
|
import { paginateListPolicyGenerations } from "./pagination/ListPolicyGenerationsPaginator";
|
|
57
|
+
import { paginateListPolicyPreviewJobs } from "./pagination/ListPolicyPreviewJobsPaginator";
|
|
50
58
|
import { paginateValidatePolicy } from "./pagination/ValidatePolicyPaginator";
|
|
59
|
+
import { waitUntilPolicyPreviewConfigurationActive } from "./waiters/waitForPolicyPreviewConfigurationActive";
|
|
60
|
+
import { waitUntilPolicyPreviewJobCompleted } from "./waiters/waitForPolicyPreviewJobCompleted";
|
|
51
61
|
const commands = {
|
|
52
62
|
ApplyArchiveRuleCommand,
|
|
53
63
|
CancelPolicyGenerationCommand,
|
|
64
|
+
CancelPolicyPreviewJobCommand,
|
|
54
65
|
CheckAccessNotGrantedCommand,
|
|
55
66
|
CheckNoNewAccessCommand,
|
|
56
67
|
CheckNoPublicAccessCommand,
|
|
57
68
|
CreateAccessPreviewCommand,
|
|
58
69
|
CreateAnalyzerCommand,
|
|
59
70
|
CreateArchiveRuleCommand,
|
|
71
|
+
CreatePolicyPreviewConfigurationCommand,
|
|
60
72
|
DeleteAnalyzerCommand,
|
|
61
73
|
DeleteArchiveRuleCommand,
|
|
74
|
+
DeletePolicyPreviewConfigurationCommand,
|
|
62
75
|
GenerateFindingRecommendationCommand,
|
|
63
76
|
GetAccessPreviewCommand,
|
|
64
77
|
GetAnalyzedResourceCommand,
|
|
@@ -69,6 +82,8 @@ const commands = {
|
|
|
69
82
|
GetFindingsStatisticsCommand,
|
|
70
83
|
GetFindingV2Command,
|
|
71
84
|
GetGeneratedPolicyCommand,
|
|
85
|
+
GetPolicyPreviewConfigurationCommand,
|
|
86
|
+
GetPolicyPreviewJobCommand,
|
|
72
87
|
ListAccessPreviewFindingsCommand,
|
|
73
88
|
ListAccessPreviewsCommand,
|
|
74
89
|
ListAnalyzedResourcesCommand,
|
|
@@ -77,8 +92,10 @@ const commands = {
|
|
|
77
92
|
ListFindingsCommand,
|
|
78
93
|
ListFindingsV2Command,
|
|
79
94
|
ListPolicyGenerationsCommand,
|
|
95
|
+
ListPolicyPreviewJobsCommand,
|
|
80
96
|
ListTagsForResourceCommand,
|
|
81
97
|
StartPolicyGenerationCommand,
|
|
98
|
+
StartPolicyPreviewJobCommand,
|
|
82
99
|
StartResourceScanCommand,
|
|
83
100
|
TagResourceCommand,
|
|
84
101
|
UntagResourceCommand,
|
|
@@ -98,8 +115,13 @@ const paginators = {
|
|
|
98
115
|
paginateListFindings,
|
|
99
116
|
paginateListFindingsV2,
|
|
100
117
|
paginateListPolicyGenerations,
|
|
118
|
+
paginateListPolicyPreviewJobs,
|
|
101
119
|
paginateValidatePolicy,
|
|
102
120
|
};
|
|
121
|
+
const waiters = {
|
|
122
|
+
waitUntilPolicyPreviewConfigurationActive,
|
|
123
|
+
waitUntilPolicyPreviewJobCompleted,
|
|
124
|
+
};
|
|
103
125
|
export class AccessAnalyzer extends AccessAnalyzerClient {
|
|
104
126
|
}
|
|
105
|
-
createAggregatedClient(commands, AccessAnalyzer, { paginators });
|
|
127
|
+
createAggregatedClient(commands, AccessAnalyzer, { paginators, waiters });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CancelPolicyPreviewJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CancelPolicyPreviewJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "CancelPolicyPreviewJob", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "CancelPolicyPreviewJobCommand")
|
|
14
|
+
.sc(CancelPolicyPreviewJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreatePolicyPreviewConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreatePolicyPreviewConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "CreatePolicyPreviewConfiguration", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "CreatePolicyPreviewConfigurationCommand")
|
|
14
|
+
.sc(CreatePolicyPreviewConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeletePolicyPreviewConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeletePolicyPreviewConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "DeletePolicyPreviewConfiguration", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "DeletePolicyPreviewConfigurationCommand")
|
|
14
|
+
.sc(DeletePolicyPreviewConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetPolicyPreviewConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetPolicyPreviewConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "GetPolicyPreviewConfiguration", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "GetPolicyPreviewConfigurationCommand")
|
|
14
|
+
.sc(GetPolicyPreviewConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetPolicyPreviewJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetPolicyPreviewJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "GetPolicyPreviewJob", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "GetPolicyPreviewJobCommand")
|
|
14
|
+
.sc(GetPolicyPreviewJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListPolicyPreviewJobs$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListPolicyPreviewJobsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "ListPolicyPreviewJobs", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "ListPolicyPreviewJobsCommand")
|
|
14
|
+
.sc(ListPolicyPreviewJobs$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartPolicyPreviewJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartPolicyPreviewJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "StartPolicyPreviewJob", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "StartPolicyPreviewJobCommand")
|
|
14
|
+
.sc(StartPolicyPreviewJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|