@aws-sdk/client-accessanalyzer 3.1025.0 → 3.1027.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
|
@@ -46,12 +46,6 @@ const _CNPARh = "CheckNoPublicAccessResponse";
|
|
|
46
46
|
const _CPG = "CancelPolicyGeneration";
|
|
47
47
|
const _CPGR = "CancelPolicyGenerationRequest";
|
|
48
48
|
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
49
|
-
const _CPPC = "CreatePolicyPreviewConfiguration";
|
|
50
|
-
const _CPPCR = "CreatePolicyPreviewConfigurationRequest";
|
|
51
|
-
const _CPPCRr = "CreatePolicyPreviewConfigurationResponse";
|
|
52
|
-
const _CPPJ = "CancelPolicyPreviewJob";
|
|
53
|
-
const _CPPJR = "CancelPolicyPreviewJobRequest";
|
|
54
|
-
const _CPPJRa = "CancelPolicyPreviewJobResponse";
|
|
55
49
|
const _CTD = "CloudTrailDetails";
|
|
56
50
|
const _CTP = "CloudTrailProperties";
|
|
57
51
|
const _Co = "Configuration";
|
|
@@ -59,9 +53,6 @@ const _DA = "DeleteAnalyzer";
|
|
|
59
53
|
const _DAR = "DeleteAnalyzerRequest";
|
|
60
54
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
61
55
|
const _DARe = "DeleteArchiveRule";
|
|
62
|
-
const _DPPC = "DeletePolicyPreviewConfiguration";
|
|
63
|
-
const _DPPCR = "DeletePolicyPreviewConfigurationRequest";
|
|
64
|
-
const _DPPCRe = "DeletePolicyPreviewConfigurationResponse";
|
|
65
56
|
const _DSC = "DynamodbStreamConfiguration";
|
|
66
57
|
const _DTC = "DynamodbTableConfiguration";
|
|
67
58
|
const _EAD = "ExternalAccessDetails";
|
|
@@ -115,12 +106,6 @@ const _GGPRe = "GetGeneratedPolicyResponse";
|
|
|
115
106
|
const _GP = "GeneratedPolicy";
|
|
116
107
|
const _GPL = "GeneratedPolicyList";
|
|
117
108
|
const _GPP = "GeneratedPolicyProperties";
|
|
118
|
-
const _GPPC = "GetPolicyPreviewConfiguration";
|
|
119
|
-
const _GPPCR = "GetPolicyPreviewConfigurationRequest";
|
|
120
|
-
const _GPPCRe = "GetPolicyPreviewConfigurationResponse";
|
|
121
|
-
const _GPPJ = "GetPolicyPreviewJob";
|
|
122
|
-
const _GPPJR = "GetPolicyPreviewJobRequest";
|
|
123
|
-
const _GPPJRe = "GetPolicyPreviewJobResponse";
|
|
124
109
|
const _GPR = "GeneratedPolicyResult";
|
|
125
110
|
const _IAAR = "InternalAccessAnalysisRule";
|
|
126
111
|
const _IAARC = "InternalAccessAnalysisRuleCriteria";
|
|
@@ -168,27 +153,16 @@ const _LL = "LocationList";
|
|
|
168
153
|
const _LPG = "ListPolicyGenerations";
|
|
169
154
|
const _LPGR = "ListPolicyGenerationsRequest";
|
|
170
155
|
const _LPGRi = "ListPolicyGenerationsResponse";
|
|
171
|
-
const _LPPJ = "ListPolicyPreviewJobs";
|
|
172
|
-
const _LPPJR = "ListPolicyPreviewJobsRequest";
|
|
173
|
-
const _LPPJRi = "ListPolicyPreviewJobsResponse";
|
|
174
156
|
const _LTFR = "ListTagsForResource";
|
|
175
157
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
176
158
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
177
159
|
const _NOC = "NetworkOriginConfiguration";
|
|
178
160
|
const _P = "Position";
|
|
179
|
-
const _PC = "PolicyConfiguration";
|
|
180
|
-
const _PCL = "PolicyConfigurationsList";
|
|
181
161
|
const _PE = "PathElement";
|
|
182
162
|
const _PEL = "PathElementList";
|
|
183
163
|
const _PG = "PolicyGeneration";
|
|
184
164
|
const _PGD = "PolicyGenerationDetails";
|
|
185
165
|
const _PGL = "PolicyGenerationList";
|
|
186
|
-
const _PPAR = "PolicyPreviewAnalysisReport";
|
|
187
|
-
const _PPARo = "PolicyPreviewAnalysisReports";
|
|
188
|
-
const _PPC = "PolicyPreviewConfiguration";
|
|
189
|
-
const _PPCL = "PolicyPreviewConfigurationList";
|
|
190
|
-
const _PPJD = "PolicyPreviewJobDetails";
|
|
191
|
-
const _PPJP = "PolicyPreviewJobParameters";
|
|
192
166
|
const _RA = "Retry-After";
|
|
193
167
|
const _RDCSAM = "RdsDbClusterSnapshotAttributesMap";
|
|
194
168
|
const _RDCSAV = "RdsDbClusterSnapshotAttributeValue";
|
|
@@ -219,9 +193,6 @@ const _SPABC = "S3PublicAccessBlockConfiguration";
|
|
|
219
193
|
const _SPG = "StartPolicyGeneration";
|
|
220
194
|
const _SPGR = "StartPolicyGenerationRequest";
|
|
221
195
|
const _SPGRt = "StartPolicyGenerationResponse";
|
|
222
|
-
const _SPPJ = "StartPolicyPreviewJob";
|
|
223
|
-
const _SPPJR = "StartPolicyPreviewJobRequest";
|
|
224
|
-
const _SPPJRt = "StartPolicyPreviewJobResponse";
|
|
225
196
|
const _SQC = "SqsQueueConfiguration";
|
|
226
197
|
const _SQEE = "ServiceQuotaExceededException";
|
|
227
198
|
const _SR = "StatusReason";
|
|
@@ -287,7 +258,6 @@ const _aR = "accessRole";
|
|
|
287
258
|
const _aRl = "allRegions";
|
|
288
259
|
const _aRn = "analysisRule";
|
|
289
260
|
const _aRna = "analyzedResources";
|
|
290
|
-
const _aRnal = "analysisReports";
|
|
291
261
|
const _aRr = "archiveRules";
|
|
292
262
|
const _aRrc = "archiveRule";
|
|
293
263
|
const _aT = "accessType";
|
|
@@ -346,7 +316,6 @@ const _fS = "findingsStatistics";
|
|
|
346
316
|
const _fSP = "fileSystemPolicy";
|
|
347
317
|
const _fT = "findingType";
|
|
348
318
|
const _fi = "finding";
|
|
349
|
-
const _fil = "filters";
|
|
350
319
|
const _fin = "findings";
|
|
351
320
|
const _g = "groups";
|
|
352
321
|
const _gP = "generatedPolicies";
|
|
@@ -378,9 +347,6 @@ const _ind = "index";
|
|
|
378
347
|
const _jD = "jobDetails";
|
|
379
348
|
const _jE = "jobError";
|
|
380
349
|
const _jI = "jobId";
|
|
381
|
-
const _jP = "jobParameters";
|
|
382
|
-
const _jS = "jobStatus";
|
|
383
|
-
const _jT = "jobType";
|
|
384
350
|
const _k = "key";
|
|
385
351
|
const _kK = "kmsKey";
|
|
386
352
|
const _kKI = "kmsKeyId";
|
|
@@ -404,18 +370,14 @@ const _nT = "nextToken";
|
|
|
404
370
|
const _ne = "neq";
|
|
405
371
|
const _o = "operations";
|
|
406
372
|
const _oB = "orderBy";
|
|
407
|
-
const _oSU = "outputS3Uri";
|
|
408
373
|
const _of = "offset";
|
|
409
374
|
const _p = "principal";
|
|
410
375
|
const _pA = "principalArn";
|
|
411
376
|
const _pAB = "publicAccessBlock";
|
|
412
|
-
const _pC = "policyConfigurations";
|
|
413
377
|
const _pD = "policyDocument";
|
|
414
|
-
const _pDL = "policyDocumentsList";
|
|
415
378
|
const _pG = "policyGenerations";
|
|
416
379
|
const _pGD = "policyGenerationDetails";
|
|
417
380
|
const _pOA = "principalOwnerAccount";
|
|
418
|
-
const _pPC = "policyPreviewConfigurations";
|
|
419
381
|
const _pT = "policyType";
|
|
420
382
|
const _pTr = "principalType";
|
|
421
383
|
const _pUA = "policyUpdatedAt";
|
|
@@ -452,7 +414,6 @@ const _res = "resource";
|
|
|
452
414
|
const _resu = "result";
|
|
453
415
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.accessanalyzer";
|
|
454
416
|
const _sA = "startedAt";
|
|
455
|
-
const _sAu = "submittedAt";
|
|
456
417
|
const _sB = "s3Bucket";
|
|
457
418
|
const _sCPR = "serviceControlPolicyRestriction";
|
|
458
419
|
const _sEDB = "s3ExpressDirectoryBucket";
|
|
@@ -468,7 +429,6 @@ const _sR = "statusReason";
|
|
|
468
429
|
const _sT = "startTime";
|
|
469
430
|
const _sTn = "snsTopic";
|
|
470
431
|
const _sV = "sharedVia";
|
|
471
|
-
const _sc = "scope";
|
|
472
432
|
const _se = "server";
|
|
473
433
|
const _so = "sources";
|
|
474
434
|
const _sor = "sort";
|
|
@@ -483,7 +443,6 @@ const _tAE = "totalActiveErrors";
|
|
|
483
443
|
const _tAF = "totalActiveFindings";
|
|
484
444
|
const _tAFo = "totalArchivedFindings";
|
|
485
445
|
const _tAP = "totalActivePublic";
|
|
486
|
-
const _tI = "targetId";
|
|
487
446
|
const _tK = "tagKeys";
|
|
488
447
|
const _tP = "trailProperties";
|
|
489
448
|
const _tPa = "tablePolicy";
|
|
@@ -647,16 +606,6 @@ export var CancelPolicyGenerationResponse$ = [3, n0, _CPGRa,
|
|
|
647
606
|
[],
|
|
648
607
|
[]
|
|
649
608
|
];
|
|
650
|
-
export var CancelPolicyPreviewJobRequest$ = [3, n0, _CPPJR,
|
|
651
|
-
0,
|
|
652
|
-
[_jI],
|
|
653
|
-
[[0, 1]], 1
|
|
654
|
-
];
|
|
655
|
-
export var CancelPolicyPreviewJobResponse$ = [3, n0, _CPPJRa,
|
|
656
|
-
0,
|
|
657
|
-
[],
|
|
658
|
-
[]
|
|
659
|
-
];
|
|
660
609
|
export var CheckAccessNotGrantedRequest$ = [3, n0, _CANGR,
|
|
661
610
|
0,
|
|
662
611
|
[_pD, _acc, _pT],
|
|
@@ -722,16 +671,6 @@ export var CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
722
671
|
[_aN, _rN, _f, _cTl],
|
|
723
672
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
724
673
|
];
|
|
725
|
-
export var CreatePolicyPreviewConfigurationRequest$ = [3, n0, _CPPCR,
|
|
726
|
-
0,
|
|
727
|
-
[_cTl, _sc],
|
|
728
|
-
[[0, 4], 0]
|
|
729
|
-
];
|
|
730
|
-
export var CreatePolicyPreviewConfigurationResponse$ = [3, n0, _CPPCRr,
|
|
731
|
-
0,
|
|
732
|
-
[_st],
|
|
733
|
-
[0], 1
|
|
734
|
-
];
|
|
735
674
|
export var Criterion$ = [3, n0, _C,
|
|
736
675
|
0,
|
|
737
676
|
[_eq, _ne, _cont, _exi],
|
|
@@ -747,16 +686,6 @@ export var DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
747
686
|
[_aN, _rN, _cTl],
|
|
748
687
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
749
688
|
];
|
|
750
|
-
export var DeletePolicyPreviewConfigurationRequest$ = [3, n0, _DPPCR,
|
|
751
|
-
0,
|
|
752
|
-
[_cTl],
|
|
753
|
-
[[0, { [_hQ]: _cTl, [_iT]: 1 }]]
|
|
754
|
-
];
|
|
755
|
-
export var DeletePolicyPreviewConfigurationResponse$ = [3, n0, _DPPCRe,
|
|
756
|
-
0,
|
|
757
|
-
[],
|
|
758
|
-
[]
|
|
759
|
-
];
|
|
760
689
|
export var DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
761
690
|
0,
|
|
762
691
|
[_sP],
|
|
@@ -932,26 +861,6 @@ export var GetGeneratedPolicyResponse$ = [3, n0, _GGPRe,
|
|
|
932
861
|
[_jD, _gPR],
|
|
933
862
|
[() => JobDetails$, () => GeneratedPolicyResult$], 2
|
|
934
863
|
];
|
|
935
|
-
export var GetPolicyPreviewConfigurationRequest$ = [3, n0, _GPPCR,
|
|
936
|
-
0,
|
|
937
|
-
[],
|
|
938
|
-
[]
|
|
939
|
-
];
|
|
940
|
-
export var GetPolicyPreviewConfigurationResponse$ = [3, n0, _GPPCRe,
|
|
941
|
-
0,
|
|
942
|
-
[_pPC],
|
|
943
|
-
[() => PolicyPreviewConfigurationList]
|
|
944
|
-
];
|
|
945
|
-
export var GetPolicyPreviewJobRequest$ = [3, n0, _GPPJR,
|
|
946
|
-
0,
|
|
947
|
-
[_jI],
|
|
948
|
-
[[0, 1]], 1
|
|
949
|
-
];
|
|
950
|
-
export var GetPolicyPreviewJobResponse$ = [3, n0, _GPPJRe,
|
|
951
|
-
0,
|
|
952
|
-
[_jI, _oSU, _jP, _jD],
|
|
953
|
-
[0, 0, () => PolicyPreviewJobParameters$, () => PolicyPreviewJobDetails$], 2
|
|
954
|
-
];
|
|
955
864
|
export var IamRoleConfiguration$ = [3, n0, _IRC,
|
|
956
865
|
0,
|
|
957
866
|
[_tPr],
|
|
@@ -1102,16 +1011,6 @@ export var ListPolicyGenerationsResponse$ = [3, n0, _LPGRi,
|
|
|
1102
1011
|
[_pG, _nT],
|
|
1103
1012
|
[() => PolicyGenerationList, 0], 1
|
|
1104
1013
|
];
|
|
1105
|
-
export var ListPolicyPreviewJobsRequest$ = [3, n0, _LPPJR,
|
|
1106
|
-
0,
|
|
1107
|
-
[_fil, _mR, _nT],
|
|
1108
|
-
[[128 | 0, 64], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
1109
|
-
];
|
|
1110
|
-
export var ListPolicyPreviewJobsResponse$ = [3, n0, _LPPJRi,
|
|
1111
|
-
0,
|
|
1112
|
-
[_aRnal, _nT],
|
|
1113
|
-
[() => PolicyPreviewAnalysisReports, 0], 1
|
|
1114
|
-
];
|
|
1115
1014
|
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
1116
1015
|
0,
|
|
1117
1016
|
[_rA],
|
|
@@ -1127,11 +1026,6 @@ export var Location$ = [3, n0, _L,
|
|
|
1127
1026
|
[_pa, _sp],
|
|
1128
1027
|
[() => PathElementList, () => Span$], 2
|
|
1129
1028
|
];
|
|
1130
|
-
export var PolicyConfiguration$ = [3, n0, _PC,
|
|
1131
|
-
0,
|
|
1132
|
-
[_jT, _tI, _pDL],
|
|
1133
|
-
[0, 0, 64 | 0], 3
|
|
1134
|
-
];
|
|
1135
1029
|
export var PolicyGeneration$ = [3, n0, _PG,
|
|
1136
1030
|
0,
|
|
1137
1031
|
[_jI, _pA, _st, _sO, _cO],
|
|
@@ -1142,26 +1036,6 @@ export var PolicyGenerationDetails$ = [3, n0, _PGD,
|
|
|
1142
1036
|
[_pA],
|
|
1143
1037
|
[0], 1
|
|
1144
1038
|
];
|
|
1145
|
-
export var PolicyPreviewAnalysisReport$ = [3, n0, _PPAR,
|
|
1146
|
-
0,
|
|
1147
|
-
[_jI, _st, _sAu, _oSU, _sA, _cAo],
|
|
1148
|
-
[0, 0, 5, 0, 5, 5], 4
|
|
1149
|
-
];
|
|
1150
|
-
export var PolicyPreviewConfiguration$ = [3, n0, _PPC,
|
|
1151
|
-
0,
|
|
1152
|
-
[_sc, _st, _cA, _uA],
|
|
1153
|
-
[0, 0, 5, 5], 3
|
|
1154
|
-
];
|
|
1155
|
-
export var PolicyPreviewJobDetails$ = [3, n0, _PPJD,
|
|
1156
|
-
0,
|
|
1157
|
-
[_jS, _sAu, _sA, _cAo, _jE],
|
|
1158
|
-
[0, 5, 5, 5, () => JobError$], 2
|
|
1159
|
-
];
|
|
1160
|
-
export var PolicyPreviewJobParameters$ = [3, n0, _PPJP,
|
|
1161
|
-
0,
|
|
1162
|
-
[_sT, _eT, _pC],
|
|
1163
|
-
[5, 5, () => PolicyConfigurationsList], 3
|
|
1164
|
-
];
|
|
1165
1039
|
export var Position$ = [3, n0, _P,
|
|
1166
1040
|
0,
|
|
1167
1041
|
[_l, _col, _of],
|
|
@@ -1257,16 +1131,6 @@ export var StartPolicyGenerationResponse$ = [3, n0, _SPGRt,
|
|
|
1257
1131
|
[_jI],
|
|
1258
1132
|
[0], 1
|
|
1259
1133
|
];
|
|
1260
|
-
export var StartPolicyPreviewJobRequest$ = [3, n0, _SPPJR,
|
|
1261
|
-
0,
|
|
1262
|
-
[_pC, _sT, _oSU, _eT, _cTl],
|
|
1263
|
-
[() => PolicyConfigurationsList, 5, 0, 5, [0, 4]], 3
|
|
1264
|
-
];
|
|
1265
|
-
export var StartPolicyPreviewJobResponse$ = [3, n0, _SPPJRt,
|
|
1266
|
-
0,
|
|
1267
|
-
[_jI],
|
|
1268
|
-
[0], 1
|
|
1269
|
-
];
|
|
1270
1134
|
export var StartResourceScanRequest$ = [3, n0, _SRSR,
|
|
1271
1135
|
0,
|
|
1272
1136
|
[_aA, _rA, _rOA],
|
|
@@ -1467,19 +1331,9 @@ var LocationList = [1, n0, _LL,
|
|
|
1467
1331
|
var PathElementList = [1, n0, _PEL,
|
|
1468
1332
|
0, () => PathElement$
|
|
1469
1333
|
];
|
|
1470
|
-
var PolicyConfigurationsList = [1, n0, _PCL,
|
|
1471
|
-
0, () => PolicyConfiguration$
|
|
1472
|
-
];
|
|
1473
|
-
var PolicyDocumentList = 64 | 0;
|
|
1474
1334
|
var PolicyGenerationList = [1, n0, _PGL,
|
|
1475
1335
|
0, () => PolicyGeneration$
|
|
1476
1336
|
];
|
|
1477
|
-
var PolicyPreviewAnalysisReports = [1, n0, _PPARo,
|
|
1478
|
-
0, () => PolicyPreviewAnalysisReport$
|
|
1479
|
-
];
|
|
1480
|
-
var PolicyPreviewConfigurationList = [1, n0, _PPCL,
|
|
1481
|
-
0, () => PolicyPreviewConfiguration$
|
|
1482
|
-
];
|
|
1483
1337
|
var RdsDbClusterSnapshotAccountIdsList = 64 | 0;
|
|
1484
1338
|
var RdsDbSnapshotAccountIdsList = 64 | 0;
|
|
1485
1339
|
var ReasonSummaryList = [1, n0, _RSL,
|
|
@@ -1532,7 +1386,6 @@ var InternalAccessResourceTypeStatisticsMap = [2, n0, _IARTSM,
|
|
|
1532
1386
|
];
|
|
1533
1387
|
var KmsConstraintsMap = 128 | 0;
|
|
1534
1388
|
var KmsKeyPoliciesMap = 128 | 0;
|
|
1535
|
-
var PolicyPreviewJobFiltersMap = 128 | 0;
|
|
1536
1389
|
var PrincipalMap = 128 | 0;
|
|
1537
1390
|
var RdsDbClusterSnapshotAttributesMap = [2, n0, _RDCSAM,
|
|
1538
1391
|
0, 0, () => RdsDbClusterSnapshotAttributeValue$
|
|
@@ -1606,9 +1459,6 @@ export var ApplyArchiveRule$ = [9, n0, _AAR,
|
|
|
1606
1459
|
export var CancelPolicyGeneration$ = [9, n0, _CPG,
|
|
1607
1460
|
{ [_h]: ["PUT", "/policy/generation/{jobId}", 200] }, () => CancelPolicyGenerationRequest$, () => CancelPolicyGenerationResponse$
|
|
1608
1461
|
];
|
|
1609
|
-
export var CancelPolicyPreviewJob$ = [9, n0, _CPPJ,
|
|
1610
|
-
{ [_h]: ["PUT", "/policy/preview/{jobId}", 200] }, () => CancelPolicyPreviewJobRequest$, () => CancelPolicyPreviewJobResponse$
|
|
1611
|
-
];
|
|
1612
1462
|
export var CheckAccessNotGranted$ = [9, n0, _CANG,
|
|
1613
1463
|
{ [_h]: ["POST", "/policy/check-access-not-granted", 200] }, () => CheckAccessNotGrantedRequest$, () => CheckAccessNotGrantedResponse$
|
|
1614
1464
|
];
|
|
@@ -1627,18 +1477,12 @@ export var CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1627
1477
|
export var CreateArchiveRule$ = [9, n0, _CARre,
|
|
1628
1478
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => CreateArchiveRuleRequest$, () => __Unit
|
|
1629
1479
|
];
|
|
1630
|
-
export var CreatePolicyPreviewConfiguration$ = [9, n0, _CPPC,
|
|
1631
|
-
{ [_h]: ["PUT", "/policy/preview-configuration", 200] }, () => CreatePolicyPreviewConfigurationRequest$, () => CreatePolicyPreviewConfigurationResponse$
|
|
1632
|
-
];
|
|
1633
1480
|
export var DeleteAnalyzer$ = [9, n0, _DA,
|
|
1634
1481
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => DeleteAnalyzerRequest$, () => __Unit
|
|
1635
1482
|
];
|
|
1636
1483
|
export var DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1637
1484
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => DeleteArchiveRuleRequest$, () => __Unit
|
|
1638
1485
|
];
|
|
1639
|
-
export var DeletePolicyPreviewConfiguration$ = [9, n0, _DPPC,
|
|
1640
|
-
{ [_h]: ["DELETE", "/policy/preview-configuration", 200] }, () => DeletePolicyPreviewConfigurationRequest$, () => DeletePolicyPreviewConfigurationResponse$
|
|
1641
|
-
];
|
|
1642
1486
|
export var GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1643
1487
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => GenerateFindingRecommendationRequest$, () => __Unit
|
|
1644
1488
|
];
|
|
@@ -1669,12 +1513,6 @@ export var GetFindingV2$ = [9, n0, _GFV,
|
|
|
1669
1513
|
export var GetGeneratedPolicy$ = [9, n0, _GGP,
|
|
1670
1514
|
{ [_h]: ["GET", "/policy/generation/{jobId}", 200] }, () => GetGeneratedPolicyRequest$, () => GetGeneratedPolicyResponse$
|
|
1671
1515
|
];
|
|
1672
|
-
export var GetPolicyPreviewConfiguration$ = [9, n0, _GPPC,
|
|
1673
|
-
{ [_h]: ["GET", "/policy/preview-configuration", 200] }, () => GetPolicyPreviewConfigurationRequest$, () => GetPolicyPreviewConfigurationResponse$
|
|
1674
|
-
];
|
|
1675
|
-
export var GetPolicyPreviewJob$ = [9, n0, _GPPJ,
|
|
1676
|
-
{ [_h]: ["GET", "/policy/preview/{jobId}", 200] }, () => GetPolicyPreviewJobRequest$, () => GetPolicyPreviewJobResponse$
|
|
1677
|
-
];
|
|
1678
1516
|
export var ListAccessPreviewFindings$ = [9, n0, _LAPF,
|
|
1679
1517
|
{ [_h]: ["POST", "/access-preview/{accessPreviewId}", 200] }, () => ListAccessPreviewFindingsRequest$, () => ListAccessPreviewFindingsResponse$
|
|
1680
1518
|
];
|
|
@@ -1699,18 +1537,12 @@ export var ListFindingsV2$ = [9, n0, _LFV,
|
|
|
1699
1537
|
export var ListPolicyGenerations$ = [9, n0, _LPG,
|
|
1700
1538
|
{ [_h]: ["GET", "/policy/generation", 200] }, () => ListPolicyGenerationsRequest$, () => ListPolicyGenerationsResponse$
|
|
1701
1539
|
];
|
|
1702
|
-
export var ListPolicyPreviewJobs$ = [9, n0, _LPPJ,
|
|
1703
|
-
{ [_h]: ["GET", "/policy/preview", 200] }, () => ListPolicyPreviewJobsRequest$, () => ListPolicyPreviewJobsResponse$
|
|
1704
|
-
];
|
|
1705
1540
|
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1706
1541
|
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1707
1542
|
];
|
|
1708
1543
|
export var StartPolicyGeneration$ = [9, n0, _SPG,
|
|
1709
1544
|
{ [_h]: ["PUT", "/policy/generation", 200] }, () => StartPolicyGenerationRequest$, () => StartPolicyGenerationResponse$
|
|
1710
1545
|
];
|
|
1711
|
-
export var StartPolicyPreviewJob$ = [9, n0, _SPPJ,
|
|
1712
|
-
{ [_h]: ["PUT", "/policy/preview", 200] }, () => StartPolicyPreviewJobRequest$, () => StartPolicyPreviewJobResponse$
|
|
1713
|
-
];
|
|
1714
1546
|
export var StartResourceScan$ = [9, n0, _SRS,
|
|
1715
1547
|
{ [_h]: ["POST", "/resource/scan", 200] }, () => StartResourceScanRequest$, () => __Unit
|
|
1716
1548
|
];
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator
|
|
2
|
-
import type { WaiterResult } from "@smithy/util-waiter";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
3
2
|
import { AccessAnalyzerClient } from "./AccessAnalyzerClient";
|
|
4
3
|
import { type ApplyArchiveRuleCommandInput, type ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand";
|
|
5
4
|
import { type CancelPolicyGenerationCommandInput, type CancelPolicyGenerationCommandOutput } from "./commands/CancelPolicyGenerationCommand";
|
|
6
|
-
import { type CancelPolicyPreviewJobCommandInput, type CancelPolicyPreviewJobCommandOutput } from "./commands/CancelPolicyPreviewJobCommand";
|
|
7
5
|
import { type CheckAccessNotGrantedCommandInput, type CheckAccessNotGrantedCommandOutput } from "./commands/CheckAccessNotGrantedCommand";
|
|
8
6
|
import { type CheckNoNewAccessCommandInput, type CheckNoNewAccessCommandOutput } from "./commands/CheckNoNewAccessCommand";
|
|
9
7
|
import { type CheckNoPublicAccessCommandInput, type CheckNoPublicAccessCommandOutput } from "./commands/CheckNoPublicAccessCommand";
|
|
10
8
|
import { type CreateAccessPreviewCommandInput, type CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
11
9
|
import { type CreateAnalyzerCommandInput, type CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
12
10
|
import { type CreateArchiveRuleCommandInput, type CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
13
|
-
import { type CreatePolicyPreviewConfigurationCommandInput, type CreatePolicyPreviewConfigurationCommandOutput } from "./commands/CreatePolicyPreviewConfigurationCommand";
|
|
14
11
|
import { type DeleteAnalyzerCommandInput, type DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
15
12
|
import { type DeleteArchiveRuleCommandInput, type DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
16
|
-
import { type DeletePolicyPreviewConfigurationCommandInput, type DeletePolicyPreviewConfigurationCommandOutput } from "./commands/DeletePolicyPreviewConfigurationCommand";
|
|
17
13
|
import { type GenerateFindingRecommendationCommandInput, type GenerateFindingRecommendationCommandOutput } from "./commands/GenerateFindingRecommendationCommand";
|
|
18
14
|
import { type GetAccessPreviewCommandInput, type GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
19
15
|
import { type GetAnalyzedResourceCommandInput, type GetAnalyzedResourceCommandOutput } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -24,8 +20,6 @@ import { type GetFindingRecommendationCommandInput, type GetFindingRecommendatio
|
|
|
24
20
|
import { type GetFindingsStatisticsCommandInput, type GetFindingsStatisticsCommandOutput } from "./commands/GetFindingsStatisticsCommand";
|
|
25
21
|
import { type GetFindingV2CommandInput, type GetFindingV2CommandOutput } from "./commands/GetFindingV2Command";
|
|
26
22
|
import { type GetGeneratedPolicyCommandInput, type GetGeneratedPolicyCommandOutput } from "./commands/GetGeneratedPolicyCommand";
|
|
27
|
-
import { type GetPolicyPreviewConfigurationCommandInput, type GetPolicyPreviewConfigurationCommandOutput } from "./commands/GetPolicyPreviewConfigurationCommand";
|
|
28
|
-
import { type GetPolicyPreviewJobCommandInput, type GetPolicyPreviewJobCommandOutput } from "./commands/GetPolicyPreviewJobCommand";
|
|
29
23
|
import { type ListAccessPreviewFindingsCommandInput, type ListAccessPreviewFindingsCommandOutput } from "./commands/ListAccessPreviewFindingsCommand";
|
|
30
24
|
import { type ListAccessPreviewsCommandInput, type ListAccessPreviewsCommandOutput } from "./commands/ListAccessPreviewsCommand";
|
|
31
25
|
import { type ListAnalyzedResourcesCommandInput, type ListAnalyzedResourcesCommandOutput } from "./commands/ListAnalyzedResourcesCommand";
|
|
@@ -34,10 +28,8 @@ import { type ListArchiveRulesCommandInput, type ListArchiveRulesCommandOutput }
|
|
|
34
28
|
import { type ListFindingsCommandInput, type ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
35
29
|
import { type ListFindingsV2CommandInput, type ListFindingsV2CommandOutput } from "./commands/ListFindingsV2Command";
|
|
36
30
|
import { type ListPolicyGenerationsCommandInput, type ListPolicyGenerationsCommandOutput } from "./commands/ListPolicyGenerationsCommand";
|
|
37
|
-
import { type ListPolicyPreviewJobsCommandInput, type ListPolicyPreviewJobsCommandOutput } from "./commands/ListPolicyPreviewJobsCommand";
|
|
38
31
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
39
32
|
import { type StartPolicyGenerationCommandInput, type StartPolicyGenerationCommandOutput } from "./commands/StartPolicyGenerationCommand";
|
|
40
|
-
import { type StartPolicyPreviewJobCommandInput, type StartPolicyPreviewJobCommandOutput } from "./commands/StartPolicyPreviewJobCommand";
|
|
41
33
|
import { type StartResourceScanCommandInput, type StartResourceScanCommandOutput } from "./commands/StartResourceScanCommand";
|
|
42
34
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
43
35
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -58,12 +50,6 @@ export interface AccessAnalyzer {
|
|
|
58
50
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<CancelPolicyGenerationCommandOutput>;
|
|
59
51
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
60
52
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
61
|
-
/**
|
|
62
|
-
* @see {@link CancelPolicyPreviewJobCommand}
|
|
63
|
-
*/
|
|
64
|
-
cancelPolicyPreviewJob(args: CancelPolicyPreviewJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelPolicyPreviewJobCommandOutput>;
|
|
65
|
-
cancelPolicyPreviewJob(args: CancelPolicyPreviewJobCommandInput, cb: (err: any, data?: CancelPolicyPreviewJobCommandOutput) => void): void;
|
|
66
|
-
cancelPolicyPreviewJob(args: CancelPolicyPreviewJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPolicyPreviewJobCommandOutput) => void): void;
|
|
67
53
|
/**
|
|
68
54
|
* @see {@link CheckAccessNotGrantedCommand}
|
|
69
55
|
*/
|
|
@@ -100,13 +86,6 @@ export interface AccessAnalyzer {
|
|
|
100
86
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveRuleCommandOutput>;
|
|
101
87
|
createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
102
88
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
103
|
-
/**
|
|
104
|
-
* @see {@link CreatePolicyPreviewConfigurationCommand}
|
|
105
|
-
*/
|
|
106
|
-
createPolicyPreviewConfiguration(): Promise<CreatePolicyPreviewConfigurationCommandOutput>;
|
|
107
|
-
createPolicyPreviewConfiguration(args: CreatePolicyPreviewConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreatePolicyPreviewConfigurationCommandOutput>;
|
|
108
|
-
createPolicyPreviewConfiguration(args: CreatePolicyPreviewConfigurationCommandInput, cb: (err: any, data?: CreatePolicyPreviewConfigurationCommandOutput) => void): void;
|
|
109
|
-
createPolicyPreviewConfiguration(args: CreatePolicyPreviewConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePolicyPreviewConfigurationCommandOutput) => void): void;
|
|
110
89
|
/**
|
|
111
90
|
* @see {@link DeleteAnalyzerCommand}
|
|
112
91
|
*/
|
|
@@ -119,13 +98,6 @@ export interface AccessAnalyzer {
|
|
|
119
98
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveRuleCommandOutput>;
|
|
120
99
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
121
100
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
122
|
-
/**
|
|
123
|
-
* @see {@link DeletePolicyPreviewConfigurationCommand}
|
|
124
|
-
*/
|
|
125
|
-
deletePolicyPreviewConfiguration(): Promise<DeletePolicyPreviewConfigurationCommandOutput>;
|
|
126
|
-
deletePolicyPreviewConfiguration(args: DeletePolicyPreviewConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeletePolicyPreviewConfigurationCommandOutput>;
|
|
127
|
-
deletePolicyPreviewConfiguration(args: DeletePolicyPreviewConfigurationCommandInput, cb: (err: any, data?: DeletePolicyPreviewConfigurationCommandOutput) => void): void;
|
|
128
|
-
deletePolicyPreviewConfiguration(args: DeletePolicyPreviewConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePolicyPreviewConfigurationCommandOutput) => void): void;
|
|
129
101
|
/**
|
|
130
102
|
* @see {@link GenerateFindingRecommendationCommand}
|
|
131
103
|
*/
|
|
@@ -186,19 +158,6 @@ export interface AccessAnalyzer {
|
|
|
186
158
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetGeneratedPolicyCommandOutput>;
|
|
187
159
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
188
160
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
189
|
-
/**
|
|
190
|
-
* @see {@link GetPolicyPreviewConfigurationCommand}
|
|
191
|
-
*/
|
|
192
|
-
getPolicyPreviewConfiguration(): Promise<GetPolicyPreviewConfigurationCommandOutput>;
|
|
193
|
-
getPolicyPreviewConfiguration(args: GetPolicyPreviewConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyPreviewConfigurationCommandOutput>;
|
|
194
|
-
getPolicyPreviewConfiguration(args: GetPolicyPreviewConfigurationCommandInput, cb: (err: any, data?: GetPolicyPreviewConfigurationCommandOutput) => void): void;
|
|
195
|
-
getPolicyPreviewConfiguration(args: GetPolicyPreviewConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyPreviewConfigurationCommandOutput) => void): void;
|
|
196
|
-
/**
|
|
197
|
-
* @see {@link GetPolicyPreviewJobCommand}
|
|
198
|
-
*/
|
|
199
|
-
getPolicyPreviewJob(args: GetPolicyPreviewJobCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyPreviewJobCommandOutput>;
|
|
200
|
-
getPolicyPreviewJob(args: GetPolicyPreviewJobCommandInput, cb: (err: any, data?: GetPolicyPreviewJobCommandOutput) => void): void;
|
|
201
|
-
getPolicyPreviewJob(args: GetPolicyPreviewJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyPreviewJobCommandOutput) => void): void;
|
|
202
161
|
/**
|
|
203
162
|
* @see {@link ListAccessPreviewFindingsCommand}
|
|
204
163
|
*/
|
|
@@ -249,13 +208,6 @@ export interface AccessAnalyzer {
|
|
|
249
208
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPolicyGenerationsCommandOutput>;
|
|
250
209
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
251
210
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
252
|
-
/**
|
|
253
|
-
* @see {@link ListPolicyPreviewJobsCommand}
|
|
254
|
-
*/
|
|
255
|
-
listPolicyPreviewJobs(): Promise<ListPolicyPreviewJobsCommandOutput>;
|
|
256
|
-
listPolicyPreviewJobs(args: ListPolicyPreviewJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListPolicyPreviewJobsCommandOutput>;
|
|
257
|
-
listPolicyPreviewJobs(args: ListPolicyPreviewJobsCommandInput, cb: (err: any, data?: ListPolicyPreviewJobsCommandOutput) => void): void;
|
|
258
|
-
listPolicyPreviewJobs(args: ListPolicyPreviewJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPolicyPreviewJobsCommandOutput) => void): void;
|
|
259
211
|
/**
|
|
260
212
|
* @see {@link ListTagsForResourceCommand}
|
|
261
213
|
*/
|
|
@@ -268,12 +220,6 @@ export interface AccessAnalyzer {
|
|
|
268
220
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartPolicyGenerationCommandOutput>;
|
|
269
221
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
270
222
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
271
|
-
/**
|
|
272
|
-
* @see {@link StartPolicyPreviewJobCommand}
|
|
273
|
-
*/
|
|
274
|
-
startPolicyPreviewJob(args: StartPolicyPreviewJobCommandInput, options?: __HttpHandlerOptions): Promise<StartPolicyPreviewJobCommandOutput>;
|
|
275
|
-
startPolicyPreviewJob(args: StartPolicyPreviewJobCommandInput, cb: (err: any, data?: StartPolicyPreviewJobCommandOutput) => void): void;
|
|
276
|
-
startPolicyPreviewJob(args: StartPolicyPreviewJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPolicyPreviewJobCommandOutput) => void): void;
|
|
277
223
|
/**
|
|
278
224
|
* @see {@link StartResourceScanCommand}
|
|
279
225
|
*/
|
|
@@ -386,13 +332,6 @@ export interface AccessAnalyzer {
|
|
|
386
332
|
* @returns AsyncIterable of {@link ListPolicyGenerationsCommandOutput}.
|
|
387
333
|
*/
|
|
388
334
|
paginateListPolicyGenerations(args?: ListPolicyGenerationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPolicyGenerationsCommandOutput>;
|
|
389
|
-
/**
|
|
390
|
-
* @see {@link ListPolicyPreviewJobsCommand}
|
|
391
|
-
* @param args - command input.
|
|
392
|
-
* @param paginationConfig - optional pagination config.
|
|
393
|
-
* @returns AsyncIterable of {@link ListPolicyPreviewJobsCommandOutput}.
|
|
394
|
-
*/
|
|
395
|
-
paginateListPolicyPreviewJobs(args?: ListPolicyPreviewJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPolicyPreviewJobsCommandOutput>;
|
|
396
335
|
/**
|
|
397
336
|
* @see {@link ValidatePolicyCommand}
|
|
398
337
|
* @param args - command input.
|
|
@@ -400,18 +339,6 @@ export interface AccessAnalyzer {
|
|
|
400
339
|
* @returns AsyncIterable of {@link ValidatePolicyCommandOutput}.
|
|
401
340
|
*/
|
|
402
341
|
paginateValidatePolicy(args: ValidatePolicyCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ValidatePolicyCommandOutput>;
|
|
403
|
-
/**
|
|
404
|
-
* @see {@link GetPolicyPreviewConfigurationCommand}
|
|
405
|
-
* @param args - command input.
|
|
406
|
-
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
407
|
-
*/
|
|
408
|
-
waitUntilPolicyPreviewConfigurationActive(args: GetPolicyPreviewConfigurationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AccessAnalyzer>, "client">): Promise<WaiterResult>;
|
|
409
|
-
/**
|
|
410
|
-
* @see {@link GetPolicyPreviewJobCommand}
|
|
411
|
-
* @param args - command input.
|
|
412
|
-
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
413
|
-
*/
|
|
414
|
-
waitUntilPolicyPreviewJobCompleted(args: GetPolicyPreviewJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AccessAnalyzer>, "client">): Promise<WaiterResult>;
|
|
415
342
|
}
|
|
416
343
|
/**
|
|
417
344
|
* <p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external, internal, and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external, internal, or unused access, you first need to create an analyzer.</p> <p> <b>External access analyzers</b> help you identify potential risks of accessing resources by enabling you to identify any resource policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access to your resources before deploying permissions changes.</p> <p> <b>Internal access analyzers</b> help you identify which principals within your organization or account have access to selected resources. This analysis supports implementing the principle of least privilege by ensuring that your specified resources can only be accessed by the intended principals within your organization.</p> <p> <b>Unused access analyzers</b> help you identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.</p> <p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p> <p>This guide describes the IAM Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Using Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
|
|
@@ -9,17 +9,14 @@ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengt
|
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand";
|
|
11
11
|
import type { CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput } from "./commands/CancelPolicyGenerationCommand";
|
|
12
|
-
import type { CancelPolicyPreviewJobCommandInput, CancelPolicyPreviewJobCommandOutput } from "./commands/CancelPolicyPreviewJobCommand";
|
|
13
12
|
import type { CheckAccessNotGrantedCommandInput, CheckAccessNotGrantedCommandOutput } from "./commands/CheckAccessNotGrantedCommand";
|
|
14
13
|
import type { CheckNoNewAccessCommandInput, CheckNoNewAccessCommandOutput } from "./commands/CheckNoNewAccessCommand";
|
|
15
14
|
import type { CheckNoPublicAccessCommandInput, CheckNoPublicAccessCommandOutput } from "./commands/CheckNoPublicAccessCommand";
|
|
16
15
|
import type { CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
17
16
|
import type { CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
18
17
|
import type { CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
19
|
-
import type { CreatePolicyPreviewConfigurationCommandInput, CreatePolicyPreviewConfigurationCommandOutput } from "./commands/CreatePolicyPreviewConfigurationCommand";
|
|
20
18
|
import type { DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
21
19
|
import type { DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
22
|
-
import type { DeletePolicyPreviewConfigurationCommandInput, DeletePolicyPreviewConfigurationCommandOutput } from "./commands/DeletePolicyPreviewConfigurationCommand";
|
|
23
20
|
import type { GenerateFindingRecommendationCommandInput, GenerateFindingRecommendationCommandOutput } from "./commands/GenerateFindingRecommendationCommand";
|
|
24
21
|
import type { GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
25
22
|
import type { GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -30,8 +27,6 @@ import type { GetFindingRecommendationCommandInput, GetFindingRecommendationComm
|
|
|
30
27
|
import type { GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput } from "./commands/GetFindingsStatisticsCommand";
|
|
31
28
|
import type { GetFindingV2CommandInput, GetFindingV2CommandOutput } from "./commands/GetFindingV2Command";
|
|
32
29
|
import type { GetGeneratedPolicyCommandInput, GetGeneratedPolicyCommandOutput } from "./commands/GetGeneratedPolicyCommand";
|
|
33
|
-
import type { GetPolicyPreviewConfigurationCommandInput, GetPolicyPreviewConfigurationCommandOutput } from "./commands/GetPolicyPreviewConfigurationCommand";
|
|
34
|
-
import type { GetPolicyPreviewJobCommandInput, GetPolicyPreviewJobCommandOutput } from "./commands/GetPolicyPreviewJobCommand";
|
|
35
30
|
import type { ListAccessPreviewFindingsCommandInput, ListAccessPreviewFindingsCommandOutput } from "./commands/ListAccessPreviewFindingsCommand";
|
|
36
31
|
import type { ListAccessPreviewsCommandInput, ListAccessPreviewsCommandOutput } from "./commands/ListAccessPreviewsCommand";
|
|
37
32
|
import type { ListAnalyzedResourcesCommandInput, ListAnalyzedResourcesCommandOutput } from "./commands/ListAnalyzedResourcesCommand";
|
|
@@ -40,10 +35,8 @@ import type { ListArchiveRulesCommandInput, ListArchiveRulesCommandOutput } from
|
|
|
40
35
|
import type { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
41
36
|
import type { ListFindingsV2CommandInput, ListFindingsV2CommandOutput } from "./commands/ListFindingsV2Command";
|
|
42
37
|
import type { ListPolicyGenerationsCommandInput, ListPolicyGenerationsCommandOutput } from "./commands/ListPolicyGenerationsCommand";
|
|
43
|
-
import type { ListPolicyPreviewJobsCommandInput, ListPolicyPreviewJobsCommandOutput } from "./commands/ListPolicyPreviewJobsCommand";
|
|
44
38
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
45
39
|
import type { StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput } from "./commands/StartPolicyGenerationCommand";
|
|
46
|
-
import type { StartPolicyPreviewJobCommandInput, StartPolicyPreviewJobCommandOutput } from "./commands/StartPolicyPreviewJobCommand";
|
|
47
40
|
import type { StartResourceScanCommandInput, StartResourceScanCommandOutput } from "./commands/StartResourceScanCommand";
|
|
48
41
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
42
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -57,11 +50,11 @@ export { __Client };
|
|
|
57
50
|
/**
|
|
58
51
|
* @public
|
|
59
52
|
*/
|
|
60
|
-
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput |
|
|
53
|
+
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CheckAccessNotGrantedCommandInput | CheckNoNewAccessCommandInput | CheckNoPublicAccessCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | GenerateFindingRecommendationCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetFindingRecommendationCommandInput | GetFindingV2CommandInput | GetFindingsStatisticsCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListFindingsV2CommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalyzerCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
61
54
|
/**
|
|
62
55
|
* @public
|
|
63
56
|
*/
|
|
64
|
-
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput |
|
|
57
|
+
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CheckAccessNotGrantedCommandOutput | CheckNoNewAccessCommandOutput | CheckNoPublicAccessCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | GenerateFindingRecommendationCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetFindingRecommendationCommandOutput | GetFindingV2CommandOutput | GetFindingsStatisticsCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListFindingsV2CommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalyzerCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
65
58
|
/**
|
|
66
59
|
* @public
|
|
67
60
|
*/
|
|
@@ -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-types/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export type { AccessAnalyzerExtensionConfiguration } from "./extensionConfigurat
|
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./schemas/schemas_0";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./waiters";
|
|
15
14
|
export * from "./models/enums";
|
|
16
15
|
export * from "./models/errors";
|
|
17
16
|
export * from "./models/models_0";
|