@aws-sdk/client-accessanalyzer 3.1025.0 → 3.1026.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 +0 -49
- package/dist-cjs/index.js +1 -249
- package/dist-cjs/schemas/schemas_0.js +5 -173
- package/dist-es/AccessAnalyzer.js +1 -23
- package/dist-es/commands/index.js +0 -7
- package/dist-es/index.js +0 -1
- package/dist-es/models/enums.js +0 -31
- package/dist-es/pagination/index.js +0 -1
- package/dist-es/schemas/schemas_0.js +0 -168
- package/dist-types/AccessAnalyzer.d.ts +1 -74
- package/dist-types/AccessAnalyzerClient.d.ts +2 -9
- package/dist-types/commands/index.d.ts +0 -7
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/enums.d.ts +0 -71
- package/dist-types/models/models_0.d.ts +1 -316
- package/dist-types/pagination/index.d.ts +0 -1
- package/dist-types/schemas/schemas_0.d.ts +0 -26
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +0 -150
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +0 -42
- package/dist-types/ts3.4/commands/index.d.ts +0 -7
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/dist-types/ts3.4/models/enums.d.ts +0 -41
- package/dist-types/ts3.4/models/models_0.d.ts +0 -83
- package/dist-types/ts3.4/pagination/index.d.ts +0 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -26
- package/package.json +33 -34
- package/dist-es/commands/CancelPolicyPreviewJobCommand.js +0 -16
- package/dist-es/commands/CreatePolicyPreviewConfigurationCommand.js +0 -16
- package/dist-es/commands/DeletePolicyPreviewConfigurationCommand.js +0 -16
- package/dist-es/commands/GetPolicyPreviewConfigurationCommand.js +0 -16
- package/dist-es/commands/GetPolicyPreviewJobCommand.js +0 -16
- package/dist-es/commands/ListPolicyPreviewJobsCommand.js +0 -16
- package/dist-es/commands/StartPolicyPreviewJobCommand.js +0 -16
- package/dist-es/pagination/ListPolicyPreviewJobsPaginator.js +0 -4
- package/dist-es/waiters/index.js +0 -2
- package/dist-es/waiters/waitForPolicyPreviewConfigurationActive.js +0 -54
- package/dist-es/waiters/waitForPolicyPreviewJobCompleted.js +0 -49
- package/dist-types/commands/CancelPolicyPreviewJobCommand.d.ts +0 -100
- package/dist-types/commands/CreatePolicyPreviewConfigurationCommand.d.ts +0 -109
- package/dist-types/commands/DeletePolicyPreviewConfigurationCommand.d.ts +0 -100
- package/dist-types/commands/GetPolicyPreviewConfigurationCommand.d.ts +0 -114
- package/dist-types/commands/GetPolicyPreviewJobCommand.d.ts +0 -187
- package/dist-types/commands/ListPolicyPreviewJobsCommand.d.ts +0 -137
- package/dist-types/commands/StartPolicyPreviewJobCommand.d.ts +0 -154
- package/dist-types/pagination/ListPolicyPreviewJobsPaginator.d.ts +0 -7
- package/dist-types/ts3.4/commands/CancelPolicyPreviewJobCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/CreatePolicyPreviewConfigurationCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/DeletePolicyPreviewConfigurationCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/GetPolicyPreviewConfigurationCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/GetPolicyPreviewJobCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/ListPolicyPreviewJobsCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/StartPolicyPreviewJobCommand.d.ts +0 -51
- package/dist-types/ts3.4/pagination/ListPolicyPreviewJobsPaginator.d.ts +0 -11
- package/dist-types/ts3.4/waiters/index.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForPolicyPreviewConfigurationActive.d.ts +0 -11
- package/dist-types/ts3.4/waiters/waitForPolicyPreviewJobCompleted.d.ts +0 -11
- package/dist-types/waiters/index.d.ts +0 -2
- package/dist-types/waiters/waitForPolicyPreviewConfigurationActive.d.ts +0 -14
- package/dist-types/waiters/waitForPolicyPreviewJobCompleted.d.ts +0 -14
|
@@ -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$ =
|
|
3
|
+
exports.FindingAggregationAccountDetails$ = exports.Finding$ = exports.ExternalAccessFindingsStatistics$ = exports.ExternalAccessDetails$ = exports.EfsFileSystemConfiguration$ = exports.EcrRepositoryConfiguration$ = exports.EbsSnapshotConfiguration$ = exports.DynamodbTableConfiguration$ = exports.DynamodbStreamConfiguration$ = exports.DeleteArchiveRuleRequest$ = exports.DeleteAnalyzerRequest$ = exports.Criterion$ = 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.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.ListArchiveRulesResponse$ = exports.ListArchiveRulesRequest$ = exports.ListAnalyzersResponse$ = exports.ListAnalyzersRequest$ = exports.ListAnalyzedResourcesResponse$ = exports.ListAnalyzedResourcesRequest$ = exports.ListAccessPreviewsResponse$ = exports.ListAccessPreviewsRequest$ = exports.ListAccessPreviewFindingsResponse$ = exports.ListAccessPreviewFindingsRequest$ = 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.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$ = void 0;
|
|
5
|
+
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$ = exports.StartResourceScanRequest$ = 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.PolicyGenerationDetails$ = exports.PolicyGeneration$ = exports.Location$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPolicyGenerationsResponse$ = exports.ListPolicyGenerationsRequest$ = exports.ListFindingsV2Response$ = exports.ListFindingsV2Request$ = exports.ListFindingsResponse$ = exports.ListFindingsRequest$ = void 0;
|
|
6
|
+
exports.UntagResource$ = exports.TagResource$ = exports.StartResourceScan$ = exports.StartPolicyGeneration$ = exports.ListTagsForResource$ = exports.ListPolicyGenerations$ = exports.ListFindingsV2$ = exports.ListFindings$ = exports.ListArchiveRules$ = exports.ListAnalyzers$ = exports.ListAnalyzedResources$ = exports.ListAccessPreviews$ = exports.ListAccessPreviewFindings$ = exports.GetGeneratedPolicy$ = exports.GetFindingV2$ = exports.GetFindingsStatistics$ = exports.GetFindingRecommendation$ = exports.GetFinding$ = exports.GetArchiveRule$ = exports.GetAnalyzer$ = exports.GetAnalyzedResource$ = exports.GetAccessPreview$ = exports.GenerateFindingRecommendation$ = exports.DeleteArchiveRule$ = exports.DeleteAnalyzer$ = exports.CreateArchiveRule$ = exports.CreateAnalyzer$ = exports.CreateAccessPreview$ = exports.CheckNoPublicAccess$ = exports.CheckNoNewAccess$ = exports.CheckAccessNotGranted$ = 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$ = void 0;
|
|
7
|
+
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = void 0;
|
|
8
8
|
const _A = "Access";
|
|
9
9
|
const _AA = "AccountAggregations";
|
|
10
10
|
const _AAR = "ApplyArchiveRule";
|
|
@@ -53,12 +53,6 @@ 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";
|
|
62
56
|
const _CTD = "CloudTrailDetails";
|
|
63
57
|
const _CTP = "CloudTrailProperties";
|
|
64
58
|
const _Co = "Configuration";
|
|
@@ -66,9 +60,6 @@ const _DA = "DeleteAnalyzer";
|
|
|
66
60
|
const _DAR = "DeleteAnalyzerRequest";
|
|
67
61
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
68
62
|
const _DARe = "DeleteArchiveRule";
|
|
69
|
-
const _DPPC = "DeletePolicyPreviewConfiguration";
|
|
70
|
-
const _DPPCR = "DeletePolicyPreviewConfigurationRequest";
|
|
71
|
-
const _DPPCRe = "DeletePolicyPreviewConfigurationResponse";
|
|
72
63
|
const _DSC = "DynamodbStreamConfiguration";
|
|
73
64
|
const _DTC = "DynamodbTableConfiguration";
|
|
74
65
|
const _EAD = "ExternalAccessDetails";
|
|
@@ -122,12 +113,6 @@ const _GGPRe = "GetGeneratedPolicyResponse";
|
|
|
122
113
|
const _GP = "GeneratedPolicy";
|
|
123
114
|
const _GPL = "GeneratedPolicyList";
|
|
124
115
|
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";
|
|
131
116
|
const _GPR = "GeneratedPolicyResult";
|
|
132
117
|
const _IAAR = "InternalAccessAnalysisRule";
|
|
133
118
|
const _IAARC = "InternalAccessAnalysisRuleCriteria";
|
|
@@ -175,27 +160,16 @@ const _LL = "LocationList";
|
|
|
175
160
|
const _LPG = "ListPolicyGenerations";
|
|
176
161
|
const _LPGR = "ListPolicyGenerationsRequest";
|
|
177
162
|
const _LPGRi = "ListPolicyGenerationsResponse";
|
|
178
|
-
const _LPPJ = "ListPolicyPreviewJobs";
|
|
179
|
-
const _LPPJR = "ListPolicyPreviewJobsRequest";
|
|
180
|
-
const _LPPJRi = "ListPolicyPreviewJobsResponse";
|
|
181
163
|
const _LTFR = "ListTagsForResource";
|
|
182
164
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
183
165
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
184
166
|
const _NOC = "NetworkOriginConfiguration";
|
|
185
167
|
const _P = "Position";
|
|
186
|
-
const _PC = "PolicyConfiguration";
|
|
187
|
-
const _PCL = "PolicyConfigurationsList";
|
|
188
168
|
const _PE = "PathElement";
|
|
189
169
|
const _PEL = "PathElementList";
|
|
190
170
|
const _PG = "PolicyGeneration";
|
|
191
171
|
const _PGD = "PolicyGenerationDetails";
|
|
192
172
|
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";
|
|
199
173
|
const _RA = "Retry-After";
|
|
200
174
|
const _RDCSAM = "RdsDbClusterSnapshotAttributesMap";
|
|
201
175
|
const _RDCSAV = "RdsDbClusterSnapshotAttributeValue";
|
|
@@ -226,9 +200,6 @@ const _SPABC = "S3PublicAccessBlockConfiguration";
|
|
|
226
200
|
const _SPG = "StartPolicyGeneration";
|
|
227
201
|
const _SPGR = "StartPolicyGenerationRequest";
|
|
228
202
|
const _SPGRt = "StartPolicyGenerationResponse";
|
|
229
|
-
const _SPPJ = "StartPolicyPreviewJob";
|
|
230
|
-
const _SPPJR = "StartPolicyPreviewJobRequest";
|
|
231
|
-
const _SPPJRt = "StartPolicyPreviewJobResponse";
|
|
232
203
|
const _SQC = "SqsQueueConfiguration";
|
|
233
204
|
const _SQEE = "ServiceQuotaExceededException";
|
|
234
205
|
const _SR = "StatusReason";
|
|
@@ -294,7 +265,6 @@ const _aR = "accessRole";
|
|
|
294
265
|
const _aRl = "allRegions";
|
|
295
266
|
const _aRn = "analysisRule";
|
|
296
267
|
const _aRna = "analyzedResources";
|
|
297
|
-
const _aRnal = "analysisReports";
|
|
298
268
|
const _aRr = "archiveRules";
|
|
299
269
|
const _aRrc = "archiveRule";
|
|
300
270
|
const _aT = "accessType";
|
|
@@ -353,7 +323,6 @@ const _fS = "findingsStatistics";
|
|
|
353
323
|
const _fSP = "fileSystemPolicy";
|
|
354
324
|
const _fT = "findingType";
|
|
355
325
|
const _fi = "finding";
|
|
356
|
-
const _fil = "filters";
|
|
357
326
|
const _fin = "findings";
|
|
358
327
|
const _g = "groups";
|
|
359
328
|
const _gP = "generatedPolicies";
|
|
@@ -385,9 +354,6 @@ const _ind = "index";
|
|
|
385
354
|
const _jD = "jobDetails";
|
|
386
355
|
const _jE = "jobError";
|
|
387
356
|
const _jI = "jobId";
|
|
388
|
-
const _jP = "jobParameters";
|
|
389
|
-
const _jS = "jobStatus";
|
|
390
|
-
const _jT = "jobType";
|
|
391
357
|
const _k = "key";
|
|
392
358
|
const _kK = "kmsKey";
|
|
393
359
|
const _kKI = "kmsKeyId";
|
|
@@ -411,18 +377,14 @@ const _nT = "nextToken";
|
|
|
411
377
|
const _ne = "neq";
|
|
412
378
|
const _o = "operations";
|
|
413
379
|
const _oB = "orderBy";
|
|
414
|
-
const _oSU = "outputS3Uri";
|
|
415
380
|
const _of = "offset";
|
|
416
381
|
const _p = "principal";
|
|
417
382
|
const _pA = "principalArn";
|
|
418
383
|
const _pAB = "publicAccessBlock";
|
|
419
|
-
const _pC = "policyConfigurations";
|
|
420
384
|
const _pD = "policyDocument";
|
|
421
|
-
const _pDL = "policyDocumentsList";
|
|
422
385
|
const _pG = "policyGenerations";
|
|
423
386
|
const _pGD = "policyGenerationDetails";
|
|
424
387
|
const _pOA = "principalOwnerAccount";
|
|
425
|
-
const _pPC = "policyPreviewConfigurations";
|
|
426
388
|
const _pT = "policyType";
|
|
427
389
|
const _pTr = "principalType";
|
|
428
390
|
const _pUA = "policyUpdatedAt";
|
|
@@ -459,7 +421,6 @@ const _res = "resource";
|
|
|
459
421
|
const _resu = "result";
|
|
460
422
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.accessanalyzer";
|
|
461
423
|
const _sA = "startedAt";
|
|
462
|
-
const _sAu = "submittedAt";
|
|
463
424
|
const _sB = "s3Bucket";
|
|
464
425
|
const _sCPR = "serviceControlPolicyRestriction";
|
|
465
426
|
const _sEDB = "s3ExpressDirectoryBucket";
|
|
@@ -475,7 +436,6 @@ const _sR = "statusReason";
|
|
|
475
436
|
const _sT = "startTime";
|
|
476
437
|
const _sTn = "snsTopic";
|
|
477
438
|
const _sV = "sharedVia";
|
|
478
|
-
const _sc = "scope";
|
|
479
439
|
const _se = "server";
|
|
480
440
|
const _so = "sources";
|
|
481
441
|
const _sor = "sort";
|
|
@@ -490,7 +450,6 @@ const _tAE = "totalActiveErrors";
|
|
|
490
450
|
const _tAF = "totalActiveFindings";
|
|
491
451
|
const _tAFo = "totalArchivedFindings";
|
|
492
452
|
const _tAP = "totalActivePublic";
|
|
493
|
-
const _tI = "targetId";
|
|
494
453
|
const _tK = "tagKeys";
|
|
495
454
|
const _tP = "trailProperties";
|
|
496
455
|
const _tPa = "tablePolicy";
|
|
@@ -654,16 +613,6 @@ exports.CancelPolicyGenerationResponse$ = [3, n0, _CPGRa,
|
|
|
654
613
|
[],
|
|
655
614
|
[]
|
|
656
615
|
];
|
|
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
|
-
];
|
|
667
616
|
exports.CheckAccessNotGrantedRequest$ = [3, n0, _CANGR,
|
|
668
617
|
0,
|
|
669
618
|
[_pD, _acc, _pT],
|
|
@@ -729,16 +678,6 @@ exports.CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
729
678
|
[_aN, _rN, _f, _cTl],
|
|
730
679
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
731
680
|
];
|
|
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
|
-
];
|
|
742
681
|
exports.Criterion$ = [3, n0, _C,
|
|
743
682
|
0,
|
|
744
683
|
[_eq, _ne, _cont, _exi],
|
|
@@ -754,16 +693,6 @@ exports.DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
754
693
|
[_aN, _rN, _cTl],
|
|
755
694
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
756
695
|
];
|
|
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
|
-
];
|
|
767
696
|
exports.DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
768
697
|
0,
|
|
769
698
|
[_sP],
|
|
@@ -939,26 +868,6 @@ exports.GetGeneratedPolicyResponse$ = [3, n0, _GGPRe,
|
|
|
939
868
|
[_jD, _gPR],
|
|
940
869
|
[() => exports.JobDetails$, () => exports.GeneratedPolicyResult$], 2
|
|
941
870
|
];
|
|
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
|
-
];
|
|
962
871
|
exports.IamRoleConfiguration$ = [3, n0, _IRC,
|
|
963
872
|
0,
|
|
964
873
|
[_tPr],
|
|
@@ -1109,16 +1018,6 @@ exports.ListPolicyGenerationsResponse$ = [3, n0, _LPGRi,
|
|
|
1109
1018
|
[_pG, _nT],
|
|
1110
1019
|
[() => PolicyGenerationList, 0], 1
|
|
1111
1020
|
];
|
|
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
|
-
];
|
|
1122
1021
|
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
1123
1022
|
0,
|
|
1124
1023
|
[_rA],
|
|
@@ -1134,11 +1033,6 @@ exports.Location$ = [3, n0, _L,
|
|
|
1134
1033
|
[_pa, _sp],
|
|
1135
1034
|
[() => PathElementList, () => exports.Span$], 2
|
|
1136
1035
|
];
|
|
1137
|
-
exports.PolicyConfiguration$ = [3, n0, _PC,
|
|
1138
|
-
0,
|
|
1139
|
-
[_jT, _tI, _pDL],
|
|
1140
|
-
[0, 0, 64 | 0], 3
|
|
1141
|
-
];
|
|
1142
1036
|
exports.PolicyGeneration$ = [3, n0, _PG,
|
|
1143
1037
|
0,
|
|
1144
1038
|
[_jI, _pA, _st, _sO, _cO],
|
|
@@ -1149,26 +1043,6 @@ exports.PolicyGenerationDetails$ = [3, n0, _PGD,
|
|
|
1149
1043
|
[_pA],
|
|
1150
1044
|
[0], 1
|
|
1151
1045
|
];
|
|
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
|
-
];
|
|
1172
1046
|
exports.Position$ = [3, n0, _P,
|
|
1173
1047
|
0,
|
|
1174
1048
|
[_l, _col, _of],
|
|
@@ -1264,16 +1138,6 @@ exports.StartPolicyGenerationResponse$ = [3, n0, _SPGRt,
|
|
|
1264
1138
|
[_jI],
|
|
1265
1139
|
[0], 1
|
|
1266
1140
|
];
|
|
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
|
-
];
|
|
1277
1141
|
exports.StartResourceScanRequest$ = [3, n0, _SRSR,
|
|
1278
1142
|
0,
|
|
1279
1143
|
[_aA, _rA, _rOA],
|
|
@@ -1474,19 +1338,9 @@ var LocationList = [1, n0, _LL,
|
|
|
1474
1338
|
var PathElementList = [1, n0, _PEL,
|
|
1475
1339
|
0, () => exports.PathElement$
|
|
1476
1340
|
];
|
|
1477
|
-
var PolicyConfigurationsList = [1, n0, _PCL,
|
|
1478
|
-
0, () => exports.PolicyConfiguration$
|
|
1479
|
-
];
|
|
1480
|
-
var PolicyDocumentList = 64 | 0;
|
|
1481
1341
|
var PolicyGenerationList = [1, n0, _PGL,
|
|
1482
1342
|
0, () => exports.PolicyGeneration$
|
|
1483
1343
|
];
|
|
1484
|
-
var PolicyPreviewAnalysisReports = [1, n0, _PPARo,
|
|
1485
|
-
0, () => exports.PolicyPreviewAnalysisReport$
|
|
1486
|
-
];
|
|
1487
|
-
var PolicyPreviewConfigurationList = [1, n0, _PPCL,
|
|
1488
|
-
0, () => exports.PolicyPreviewConfiguration$
|
|
1489
|
-
];
|
|
1490
1344
|
var RdsDbClusterSnapshotAccountIdsList = 64 | 0;
|
|
1491
1345
|
var RdsDbSnapshotAccountIdsList = 64 | 0;
|
|
1492
1346
|
var ReasonSummaryList = [1, n0, _RSL,
|
|
@@ -1539,7 +1393,6 @@ var InternalAccessResourceTypeStatisticsMap = [2, n0, _IARTSM,
|
|
|
1539
1393
|
];
|
|
1540
1394
|
var KmsConstraintsMap = 128 | 0;
|
|
1541
1395
|
var KmsKeyPoliciesMap = 128 | 0;
|
|
1542
|
-
var PolicyPreviewJobFiltersMap = 128 | 0;
|
|
1543
1396
|
var PrincipalMap = 128 | 0;
|
|
1544
1397
|
var RdsDbClusterSnapshotAttributesMap = [2, n0, _RDCSAM,
|
|
1545
1398
|
0, 0, () => exports.RdsDbClusterSnapshotAttributeValue$
|
|
@@ -1613,9 +1466,6 @@ exports.ApplyArchiveRule$ = [9, n0, _AAR,
|
|
|
1613
1466
|
exports.CancelPolicyGeneration$ = [9, n0, _CPG,
|
|
1614
1467
|
{ [_h]: ["PUT", "/policy/generation/{jobId}", 200] }, () => exports.CancelPolicyGenerationRequest$, () => exports.CancelPolicyGenerationResponse$
|
|
1615
1468
|
];
|
|
1616
|
-
exports.CancelPolicyPreviewJob$ = [9, n0, _CPPJ,
|
|
1617
|
-
{ [_h]: ["PUT", "/policy/preview/{jobId}", 200] }, () => exports.CancelPolicyPreviewJobRequest$, () => exports.CancelPolicyPreviewJobResponse$
|
|
1618
|
-
];
|
|
1619
1469
|
exports.CheckAccessNotGranted$ = [9, n0, _CANG,
|
|
1620
1470
|
{ [_h]: ["POST", "/policy/check-access-not-granted", 200] }, () => exports.CheckAccessNotGrantedRequest$, () => exports.CheckAccessNotGrantedResponse$
|
|
1621
1471
|
];
|
|
@@ -1634,18 +1484,12 @@ exports.CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1634
1484
|
exports.CreateArchiveRule$ = [9, n0, _CARre,
|
|
1635
1485
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => exports.CreateArchiveRuleRequest$, () => __Unit
|
|
1636
1486
|
];
|
|
1637
|
-
exports.CreatePolicyPreviewConfiguration$ = [9, n0, _CPPC,
|
|
1638
|
-
{ [_h]: ["PUT", "/policy/preview-configuration", 200] }, () => exports.CreatePolicyPreviewConfigurationRequest$, () => exports.CreatePolicyPreviewConfigurationResponse$
|
|
1639
|
-
];
|
|
1640
1487
|
exports.DeleteAnalyzer$ = [9, n0, _DA,
|
|
1641
1488
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => exports.DeleteAnalyzerRequest$, () => __Unit
|
|
1642
1489
|
];
|
|
1643
1490
|
exports.DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1644
1491
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => exports.DeleteArchiveRuleRequest$, () => __Unit
|
|
1645
1492
|
];
|
|
1646
|
-
exports.DeletePolicyPreviewConfiguration$ = [9, n0, _DPPC,
|
|
1647
|
-
{ [_h]: ["DELETE", "/policy/preview-configuration", 200] }, () => exports.DeletePolicyPreviewConfigurationRequest$, () => exports.DeletePolicyPreviewConfigurationResponse$
|
|
1648
|
-
];
|
|
1649
1493
|
exports.GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1650
1494
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => exports.GenerateFindingRecommendationRequest$, () => __Unit
|
|
1651
1495
|
];
|
|
@@ -1676,12 +1520,6 @@ exports.GetFindingV2$ = [9, n0, _GFV,
|
|
|
1676
1520
|
exports.GetGeneratedPolicy$ = [9, n0, _GGP,
|
|
1677
1521
|
{ [_h]: ["GET", "/policy/generation/{jobId}", 200] }, () => exports.GetGeneratedPolicyRequest$, () => exports.GetGeneratedPolicyResponse$
|
|
1678
1522
|
];
|
|
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
|
-
];
|
|
1685
1523
|
exports.ListAccessPreviewFindings$ = [9, n0, _LAPF,
|
|
1686
1524
|
{ [_h]: ["POST", "/access-preview/{accessPreviewId}", 200] }, () => exports.ListAccessPreviewFindingsRequest$, () => exports.ListAccessPreviewFindingsResponse$
|
|
1687
1525
|
];
|
|
@@ -1706,18 +1544,12 @@ exports.ListFindingsV2$ = [9, n0, _LFV,
|
|
|
1706
1544
|
exports.ListPolicyGenerations$ = [9, n0, _LPG,
|
|
1707
1545
|
{ [_h]: ["GET", "/policy/generation", 200] }, () => exports.ListPolicyGenerationsRequest$, () => exports.ListPolicyGenerationsResponse$
|
|
1708
1546
|
];
|
|
1709
|
-
exports.ListPolicyPreviewJobs$ = [9, n0, _LPPJ,
|
|
1710
|
-
{ [_h]: ["GET", "/policy/preview", 200] }, () => exports.ListPolicyPreviewJobsRequest$, () => exports.ListPolicyPreviewJobsResponse$
|
|
1711
|
-
];
|
|
1712
1547
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
1713
1548
|
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
1714
1549
|
];
|
|
1715
1550
|
exports.StartPolicyGeneration$ = [9, n0, _SPG,
|
|
1716
1551
|
{ [_h]: ["PUT", "/policy/generation", 200] }, () => exports.StartPolicyGenerationRequest$, () => exports.StartPolicyGenerationResponse$
|
|
1717
1552
|
];
|
|
1718
|
-
exports.StartPolicyPreviewJob$ = [9, n0, _SPPJ,
|
|
1719
|
-
{ [_h]: ["PUT", "/policy/preview", 200] }, () => exports.StartPolicyPreviewJobRequest$, () => exports.StartPolicyPreviewJobResponse$
|
|
1720
|
-
];
|
|
1721
1553
|
exports.StartResourceScan$ = [9, n0, _SRS,
|
|
1722
1554
|
{ [_h]: ["POST", "/resource/scan", 200] }, () => exports.StartResourceScanRequest$, () => __Unit
|
|
1723
1555
|
];
|
|
@@ -2,17 +2,14 @@ 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";
|
|
6
5
|
import { CheckAccessNotGrantedCommand, } from "./commands/CheckAccessNotGrantedCommand";
|
|
7
6
|
import { CheckNoNewAccessCommand, } from "./commands/CheckNoNewAccessCommand";
|
|
8
7
|
import { CheckNoPublicAccessCommand, } from "./commands/CheckNoPublicAccessCommand";
|
|
9
8
|
import { CreateAccessPreviewCommand, } from "./commands/CreateAccessPreviewCommand";
|
|
10
9
|
import { CreateAnalyzerCommand, } from "./commands/CreateAnalyzerCommand";
|
|
11
10
|
import { CreateArchiveRuleCommand, } from "./commands/CreateArchiveRuleCommand";
|
|
12
|
-
import { CreatePolicyPreviewConfigurationCommand, } from "./commands/CreatePolicyPreviewConfigurationCommand";
|
|
13
11
|
import { DeleteAnalyzerCommand, } from "./commands/DeleteAnalyzerCommand";
|
|
14
12
|
import { DeleteArchiveRuleCommand, } from "./commands/DeleteArchiveRuleCommand";
|
|
15
|
-
import { DeletePolicyPreviewConfigurationCommand, } from "./commands/DeletePolicyPreviewConfigurationCommand";
|
|
16
13
|
import { GenerateFindingRecommendationCommand, } from "./commands/GenerateFindingRecommendationCommand";
|
|
17
14
|
import { GetAccessPreviewCommand, } from "./commands/GetAccessPreviewCommand";
|
|
18
15
|
import { GetAnalyzedResourceCommand, } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -23,8 +20,6 @@ import { GetFindingRecommendationCommand, } from "./commands/GetFindingRecommend
|
|
|
23
20
|
import { GetFindingsStatisticsCommand, } from "./commands/GetFindingsStatisticsCommand";
|
|
24
21
|
import { GetFindingV2Command, } from "./commands/GetFindingV2Command";
|
|
25
22
|
import { GetGeneratedPolicyCommand, } from "./commands/GetGeneratedPolicyCommand";
|
|
26
|
-
import { GetPolicyPreviewConfigurationCommand, } from "./commands/GetPolicyPreviewConfigurationCommand";
|
|
27
|
-
import { GetPolicyPreviewJobCommand, } from "./commands/GetPolicyPreviewJobCommand";
|
|
28
23
|
import { ListAccessPreviewFindingsCommand, } from "./commands/ListAccessPreviewFindingsCommand";
|
|
29
24
|
import { ListAccessPreviewsCommand, } from "./commands/ListAccessPreviewsCommand";
|
|
30
25
|
import { ListAnalyzedResourcesCommand, } from "./commands/ListAnalyzedResourcesCommand";
|
|
@@ -33,10 +28,8 @@ import { ListArchiveRulesCommand, } from "./commands/ListArchiveRulesCommand";
|
|
|
33
28
|
import { ListFindingsCommand, } from "./commands/ListFindingsCommand";
|
|
34
29
|
import { ListFindingsV2Command, } from "./commands/ListFindingsV2Command";
|
|
35
30
|
import { ListPolicyGenerationsCommand, } from "./commands/ListPolicyGenerationsCommand";
|
|
36
|
-
import { ListPolicyPreviewJobsCommand, } from "./commands/ListPolicyPreviewJobsCommand";
|
|
37
31
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
38
32
|
import { StartPolicyGenerationCommand, } from "./commands/StartPolicyGenerationCommand";
|
|
39
|
-
import { StartPolicyPreviewJobCommand, } from "./commands/StartPolicyPreviewJobCommand";
|
|
40
33
|
import { StartResourceScanCommand, } from "./commands/StartResourceScanCommand";
|
|
41
34
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
42
35
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -54,24 +47,18 @@ import { paginateListArchiveRules } from "./pagination/ListArchiveRulesPaginator
|
|
|
54
47
|
import { paginateListFindings } from "./pagination/ListFindingsPaginator";
|
|
55
48
|
import { paginateListFindingsV2 } from "./pagination/ListFindingsV2Paginator";
|
|
56
49
|
import { paginateListPolicyGenerations } from "./pagination/ListPolicyGenerationsPaginator";
|
|
57
|
-
import { paginateListPolicyPreviewJobs } from "./pagination/ListPolicyPreviewJobsPaginator";
|
|
58
50
|
import { paginateValidatePolicy } from "./pagination/ValidatePolicyPaginator";
|
|
59
|
-
import { waitUntilPolicyPreviewConfigurationActive } from "./waiters/waitForPolicyPreviewConfigurationActive";
|
|
60
|
-
import { waitUntilPolicyPreviewJobCompleted } from "./waiters/waitForPolicyPreviewJobCompleted";
|
|
61
51
|
const commands = {
|
|
62
52
|
ApplyArchiveRuleCommand,
|
|
63
53
|
CancelPolicyGenerationCommand,
|
|
64
|
-
CancelPolicyPreviewJobCommand,
|
|
65
54
|
CheckAccessNotGrantedCommand,
|
|
66
55
|
CheckNoNewAccessCommand,
|
|
67
56
|
CheckNoPublicAccessCommand,
|
|
68
57
|
CreateAccessPreviewCommand,
|
|
69
58
|
CreateAnalyzerCommand,
|
|
70
59
|
CreateArchiveRuleCommand,
|
|
71
|
-
CreatePolicyPreviewConfigurationCommand,
|
|
72
60
|
DeleteAnalyzerCommand,
|
|
73
61
|
DeleteArchiveRuleCommand,
|
|
74
|
-
DeletePolicyPreviewConfigurationCommand,
|
|
75
62
|
GenerateFindingRecommendationCommand,
|
|
76
63
|
GetAccessPreviewCommand,
|
|
77
64
|
GetAnalyzedResourceCommand,
|
|
@@ -82,8 +69,6 @@ const commands = {
|
|
|
82
69
|
GetFindingsStatisticsCommand,
|
|
83
70
|
GetFindingV2Command,
|
|
84
71
|
GetGeneratedPolicyCommand,
|
|
85
|
-
GetPolicyPreviewConfigurationCommand,
|
|
86
|
-
GetPolicyPreviewJobCommand,
|
|
87
72
|
ListAccessPreviewFindingsCommand,
|
|
88
73
|
ListAccessPreviewsCommand,
|
|
89
74
|
ListAnalyzedResourcesCommand,
|
|
@@ -92,10 +77,8 @@ const commands = {
|
|
|
92
77
|
ListFindingsCommand,
|
|
93
78
|
ListFindingsV2Command,
|
|
94
79
|
ListPolicyGenerationsCommand,
|
|
95
|
-
ListPolicyPreviewJobsCommand,
|
|
96
80
|
ListTagsForResourceCommand,
|
|
97
81
|
StartPolicyGenerationCommand,
|
|
98
|
-
StartPolicyPreviewJobCommand,
|
|
99
82
|
StartResourceScanCommand,
|
|
100
83
|
TagResourceCommand,
|
|
101
84
|
UntagResourceCommand,
|
|
@@ -115,13 +98,8 @@ const paginators = {
|
|
|
115
98
|
paginateListFindings,
|
|
116
99
|
paginateListFindingsV2,
|
|
117
100
|
paginateListPolicyGenerations,
|
|
118
|
-
paginateListPolicyPreviewJobs,
|
|
119
101
|
paginateValidatePolicy,
|
|
120
102
|
};
|
|
121
|
-
const waiters = {
|
|
122
|
-
waitUntilPolicyPreviewConfigurationActive,
|
|
123
|
-
waitUntilPolicyPreviewJobCompleted,
|
|
124
|
-
};
|
|
125
103
|
export class AccessAnalyzer extends AccessAnalyzerClient {
|
|
126
104
|
}
|
|
127
|
-
createAggregatedClient(commands, AccessAnalyzer, { paginators
|
|
105
|
+
createAggregatedClient(commands, AccessAnalyzer, { paginators });
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
export * from "./ApplyArchiveRuleCommand";
|
|
2
2
|
export * from "./CancelPolicyGenerationCommand";
|
|
3
|
-
export * from "./CancelPolicyPreviewJobCommand";
|
|
4
3
|
export * from "./CheckAccessNotGrantedCommand";
|
|
5
4
|
export * from "./CheckNoNewAccessCommand";
|
|
6
5
|
export * from "./CheckNoPublicAccessCommand";
|
|
7
6
|
export * from "./CreateAccessPreviewCommand";
|
|
8
7
|
export * from "./CreateAnalyzerCommand";
|
|
9
8
|
export * from "./CreateArchiveRuleCommand";
|
|
10
|
-
export * from "./CreatePolicyPreviewConfigurationCommand";
|
|
11
9
|
export * from "./DeleteAnalyzerCommand";
|
|
12
10
|
export * from "./DeleteArchiveRuleCommand";
|
|
13
|
-
export * from "./DeletePolicyPreviewConfigurationCommand";
|
|
14
11
|
export * from "./GenerateFindingRecommendationCommand";
|
|
15
12
|
export * from "./GetAccessPreviewCommand";
|
|
16
13
|
export * from "./GetAnalyzedResourceCommand";
|
|
@@ -21,8 +18,6 @@ export * from "./GetFindingRecommendationCommand";
|
|
|
21
18
|
export * from "./GetFindingV2Command";
|
|
22
19
|
export * from "./GetFindingsStatisticsCommand";
|
|
23
20
|
export * from "./GetGeneratedPolicyCommand";
|
|
24
|
-
export * from "./GetPolicyPreviewConfigurationCommand";
|
|
25
|
-
export * from "./GetPolicyPreviewJobCommand";
|
|
26
21
|
export * from "./ListAccessPreviewFindingsCommand";
|
|
27
22
|
export * from "./ListAccessPreviewsCommand";
|
|
28
23
|
export * from "./ListAnalyzedResourcesCommand";
|
|
@@ -31,10 +26,8 @@ export * from "./ListArchiveRulesCommand";
|
|
|
31
26
|
export * from "./ListFindingsCommand";
|
|
32
27
|
export * from "./ListFindingsV2Command";
|
|
33
28
|
export * from "./ListPolicyGenerationsCommand";
|
|
34
|
-
export * from "./ListPolicyPreviewJobsCommand";
|
|
35
29
|
export * from "./ListTagsForResourceCommand";
|
|
36
30
|
export * from "./StartPolicyGenerationCommand";
|
|
37
|
-
export * from "./StartPolicyPreviewJobCommand";
|
|
38
31
|
export * from "./StartResourceScanCommand";
|
|
39
32
|
export * from "./TagResourceCommand";
|
|
40
33
|
export * from "./UntagResourceCommand";
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -111,14 +111,6 @@ export const AclPermission = {
|
|
|
111
111
|
WRITE: "WRITE",
|
|
112
112
|
WRITE_ACP: "WRITE_ACP",
|
|
113
113
|
};
|
|
114
|
-
export const PolicyPreviewScope = {
|
|
115
|
-
GLOBAL: "GLOBAL",
|
|
116
|
-
};
|
|
117
|
-
export const PolicyPreviewStatus = {
|
|
118
|
-
ACTIVE: "ACTIVE",
|
|
119
|
-
FAILED: "FAILED",
|
|
120
|
-
PENDING_CREATION: "PENDING_CREATION",
|
|
121
|
-
};
|
|
122
114
|
export const AccessPreviewStatus = {
|
|
123
115
|
COMPLETED: "COMPLETED",
|
|
124
116
|
CREATING: "CREATING",
|
|
@@ -181,16 +173,7 @@ export const FindingType = {
|
|
|
181
173
|
};
|
|
182
174
|
export const JobErrorCode = {
|
|
183
175
|
AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
|
|
184
|
-
CANCELED_JOB_ERROR: "CANCELED_JOB_ERROR",
|
|
185
|
-
INSUFFICIENT_PERMISSIONS_ERROR: "INSUFFICIENT_PERMISSIONS_ERROR",
|
|
186
|
-
INVALID_ORGANIZATION_CONFIGURATION: "INVALID_ORGANIZATION_CONFIGURATION",
|
|
187
|
-
INVALID_POLICY_PREVIEW_CONFIGURATION: "INVALID_POLICY_PREVIEW_CONFIGURATION",
|
|
188
|
-
INVALID_SERVICE_LINKED_ROLE: "INVALID_SERVICE_LINKED_ROLE",
|
|
189
|
-
INVALID_TARGET_ERROR: "INVALID_TARGET_ERROR",
|
|
190
|
-
ORGANIZATION_ACCESS_DENIED_ERROR: "ORGANIZATION_ACCESS_DENIED_ERROR",
|
|
191
176
|
RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
|
|
192
|
-
S3_BUCKET_NOT_FOUND_ERROR: "S3_BUCKET_NOT_FOUND_ERROR",
|
|
193
|
-
S3_BUCKET_PERMISSION_ERROR: "S3_BUCKET_PERMISSION_ERROR",
|
|
194
177
|
SERVICE_ERROR: "SERVICE_ERROR",
|
|
195
178
|
SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
|
|
196
179
|
};
|
|
@@ -200,16 +183,6 @@ export const JobStatus = {
|
|
|
200
183
|
IN_PROGRESS: "IN_PROGRESS",
|
|
201
184
|
SUCCEEDED: "SUCCEEDED",
|
|
202
185
|
};
|
|
203
|
-
export const ImpactAnalysisJobStatus = {
|
|
204
|
-
CANCELED: "CANCELED",
|
|
205
|
-
COMPLETED: "COMPLETED",
|
|
206
|
-
FAILED: "FAILED",
|
|
207
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
208
|
-
SUBMITTED: "SUBMITTED",
|
|
209
|
-
};
|
|
210
|
-
export const ImpactAnalysisJobType = {
|
|
211
|
-
SCP: "SCP",
|
|
212
|
-
};
|
|
213
186
|
export const FindingChangeType = {
|
|
214
187
|
CHANGED: "CHANGED",
|
|
215
188
|
NEW: "NEW",
|
|
@@ -219,10 +192,6 @@ export const OrderBy = {
|
|
|
219
192
|
ASC: "ASC",
|
|
220
193
|
DESC: "DESC",
|
|
221
194
|
};
|
|
222
|
-
export const PolicyPreviewJobFilterName = {
|
|
223
|
-
JOB_STATUS: "jobStatus",
|
|
224
|
-
TARGET_ID: "targetId",
|
|
225
|
-
};
|
|
226
195
|
export const FindingStatusUpdate = {
|
|
227
196
|
ACTIVE: "ACTIVE",
|
|
228
197
|
ARCHIVED: "ARCHIVED",
|
|
@@ -9,5 +9,4 @@ export * from "./ListArchiveRulesPaginator";
|
|
|
9
9
|
export * from "./ListFindingsPaginator";
|
|
10
10
|
export * from "./ListFindingsV2Paginator";
|
|
11
11
|
export * from "./ListPolicyGenerationsPaginator";
|
|
12
|
-
export * from "./ListPolicyPreviewJobsPaginator";
|
|
13
12
|
export * from "./ValidatePolicyPaginator";
|