@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
|
@@ -2,9 +2,7 @@ import {
|
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
3
|
PaginationConfiguration,
|
|
4
4
|
Paginator,
|
|
5
|
-
WaiterConfiguration,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
import { WaiterResult } from "@smithy/util-waiter";
|
|
8
6
|
import { AccessAnalyzerClient } from "./AccessAnalyzerClient";
|
|
9
7
|
import {
|
|
10
8
|
ApplyArchiveRuleCommandInput,
|
|
@@ -14,10 +12,6 @@ import {
|
|
|
14
12
|
CancelPolicyGenerationCommandInput,
|
|
15
13
|
CancelPolicyGenerationCommandOutput,
|
|
16
14
|
} from "./commands/CancelPolicyGenerationCommand";
|
|
17
|
-
import {
|
|
18
|
-
CancelPolicyPreviewJobCommandInput,
|
|
19
|
-
CancelPolicyPreviewJobCommandOutput,
|
|
20
|
-
} from "./commands/CancelPolicyPreviewJobCommand";
|
|
21
15
|
import {
|
|
22
16
|
CheckAccessNotGrantedCommandInput,
|
|
23
17
|
CheckAccessNotGrantedCommandOutput,
|
|
@@ -42,10 +36,6 @@ import {
|
|
|
42
36
|
CreateArchiveRuleCommandInput,
|
|
43
37
|
CreateArchiveRuleCommandOutput,
|
|
44
38
|
} from "./commands/CreateArchiveRuleCommand";
|
|
45
|
-
import {
|
|
46
|
-
CreatePolicyPreviewConfigurationCommandInput,
|
|
47
|
-
CreatePolicyPreviewConfigurationCommandOutput,
|
|
48
|
-
} from "./commands/CreatePolicyPreviewConfigurationCommand";
|
|
49
39
|
import {
|
|
50
40
|
DeleteAnalyzerCommandInput,
|
|
51
41
|
DeleteAnalyzerCommandOutput,
|
|
@@ -54,10 +44,6 @@ import {
|
|
|
54
44
|
DeleteArchiveRuleCommandInput,
|
|
55
45
|
DeleteArchiveRuleCommandOutput,
|
|
56
46
|
} from "./commands/DeleteArchiveRuleCommand";
|
|
57
|
-
import {
|
|
58
|
-
DeletePolicyPreviewConfigurationCommandInput,
|
|
59
|
-
DeletePolicyPreviewConfigurationCommandOutput,
|
|
60
|
-
} from "./commands/DeletePolicyPreviewConfigurationCommand";
|
|
61
47
|
import {
|
|
62
48
|
GenerateFindingRecommendationCommandInput,
|
|
63
49
|
GenerateFindingRecommendationCommandOutput,
|
|
@@ -98,14 +84,6 @@ import {
|
|
|
98
84
|
GetGeneratedPolicyCommandInput,
|
|
99
85
|
GetGeneratedPolicyCommandOutput,
|
|
100
86
|
} from "./commands/GetGeneratedPolicyCommand";
|
|
101
|
-
import {
|
|
102
|
-
GetPolicyPreviewConfigurationCommandInput,
|
|
103
|
-
GetPolicyPreviewConfigurationCommandOutput,
|
|
104
|
-
} from "./commands/GetPolicyPreviewConfigurationCommand";
|
|
105
|
-
import {
|
|
106
|
-
GetPolicyPreviewJobCommandInput,
|
|
107
|
-
GetPolicyPreviewJobCommandOutput,
|
|
108
|
-
} from "./commands/GetPolicyPreviewJobCommand";
|
|
109
87
|
import {
|
|
110
88
|
ListAccessPreviewFindingsCommandInput,
|
|
111
89
|
ListAccessPreviewFindingsCommandOutput,
|
|
@@ -138,10 +116,6 @@ import {
|
|
|
138
116
|
ListPolicyGenerationsCommandInput,
|
|
139
117
|
ListPolicyGenerationsCommandOutput,
|
|
140
118
|
} from "./commands/ListPolicyGenerationsCommand";
|
|
141
|
-
import {
|
|
142
|
-
ListPolicyPreviewJobsCommandInput,
|
|
143
|
-
ListPolicyPreviewJobsCommandOutput,
|
|
144
|
-
} from "./commands/ListPolicyPreviewJobsCommand";
|
|
145
119
|
import {
|
|
146
120
|
ListTagsForResourceCommandInput,
|
|
147
121
|
ListTagsForResourceCommandOutput,
|
|
@@ -150,10 +124,6 @@ import {
|
|
|
150
124
|
StartPolicyGenerationCommandInput,
|
|
151
125
|
StartPolicyGenerationCommandOutput,
|
|
152
126
|
} from "./commands/StartPolicyGenerationCommand";
|
|
153
|
-
import {
|
|
154
|
-
StartPolicyPreviewJobCommandInput,
|
|
155
|
-
StartPolicyPreviewJobCommandOutput,
|
|
156
|
-
} from "./commands/StartPolicyPreviewJobCommand";
|
|
157
127
|
import {
|
|
158
128
|
StartResourceScanCommandInput,
|
|
159
129
|
StartResourceScanCommandOutput,
|
|
@@ -209,19 +179,6 @@ export interface AccessAnalyzer {
|
|
|
209
179
|
options: __HttpHandlerOptions,
|
|
210
180
|
cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void
|
|
211
181
|
): void;
|
|
212
|
-
cancelPolicyPreviewJob(
|
|
213
|
-
args: CancelPolicyPreviewJobCommandInput,
|
|
214
|
-
options?: __HttpHandlerOptions
|
|
215
|
-
): Promise<CancelPolicyPreviewJobCommandOutput>;
|
|
216
|
-
cancelPolicyPreviewJob(
|
|
217
|
-
args: CancelPolicyPreviewJobCommandInput,
|
|
218
|
-
cb: (err: any, data?: CancelPolicyPreviewJobCommandOutput) => void
|
|
219
|
-
): void;
|
|
220
|
-
cancelPolicyPreviewJob(
|
|
221
|
-
args: CancelPolicyPreviewJobCommandInput,
|
|
222
|
-
options: __HttpHandlerOptions,
|
|
223
|
-
cb: (err: any, data?: CancelPolicyPreviewJobCommandOutput) => void
|
|
224
|
-
): void;
|
|
225
182
|
checkAccessNotGranted(
|
|
226
183
|
args: CheckAccessNotGrantedCommandInput,
|
|
227
184
|
options?: __HttpHandlerOptions
|
|
@@ -300,20 +257,6 @@ export interface AccessAnalyzer {
|
|
|
300
257
|
options: __HttpHandlerOptions,
|
|
301
258
|
cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void
|
|
302
259
|
): void;
|
|
303
|
-
createPolicyPreviewConfiguration(): Promise<CreatePolicyPreviewConfigurationCommandOutput>;
|
|
304
|
-
createPolicyPreviewConfiguration(
|
|
305
|
-
args: CreatePolicyPreviewConfigurationCommandInput,
|
|
306
|
-
options?: __HttpHandlerOptions
|
|
307
|
-
): Promise<CreatePolicyPreviewConfigurationCommandOutput>;
|
|
308
|
-
createPolicyPreviewConfiguration(
|
|
309
|
-
args: CreatePolicyPreviewConfigurationCommandInput,
|
|
310
|
-
cb: (err: any, data?: CreatePolicyPreviewConfigurationCommandOutput) => void
|
|
311
|
-
): void;
|
|
312
|
-
createPolicyPreviewConfiguration(
|
|
313
|
-
args: CreatePolicyPreviewConfigurationCommandInput,
|
|
314
|
-
options: __HttpHandlerOptions,
|
|
315
|
-
cb: (err: any, data?: CreatePolicyPreviewConfigurationCommandOutput) => void
|
|
316
|
-
): void;
|
|
317
260
|
deleteAnalyzer(
|
|
318
261
|
args: DeleteAnalyzerCommandInput,
|
|
319
262
|
options?: __HttpHandlerOptions
|
|
@@ -340,20 +283,6 @@ export interface AccessAnalyzer {
|
|
|
340
283
|
options: __HttpHandlerOptions,
|
|
341
284
|
cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void
|
|
342
285
|
): void;
|
|
343
|
-
deletePolicyPreviewConfiguration(): Promise<DeletePolicyPreviewConfigurationCommandOutput>;
|
|
344
|
-
deletePolicyPreviewConfiguration(
|
|
345
|
-
args: DeletePolicyPreviewConfigurationCommandInput,
|
|
346
|
-
options?: __HttpHandlerOptions
|
|
347
|
-
): Promise<DeletePolicyPreviewConfigurationCommandOutput>;
|
|
348
|
-
deletePolicyPreviewConfiguration(
|
|
349
|
-
args: DeletePolicyPreviewConfigurationCommandInput,
|
|
350
|
-
cb: (err: any, data?: DeletePolicyPreviewConfigurationCommandOutput) => void
|
|
351
|
-
): void;
|
|
352
|
-
deletePolicyPreviewConfiguration(
|
|
353
|
-
args: DeletePolicyPreviewConfigurationCommandInput,
|
|
354
|
-
options: __HttpHandlerOptions,
|
|
355
|
-
cb: (err: any, data?: DeletePolicyPreviewConfigurationCommandOutput) => void
|
|
356
|
-
): void;
|
|
357
286
|
generateFindingRecommendation(
|
|
358
287
|
args: GenerateFindingRecommendationCommandInput,
|
|
359
288
|
options?: __HttpHandlerOptions
|
|
@@ -484,33 +413,6 @@ export interface AccessAnalyzer {
|
|
|
484
413
|
options: __HttpHandlerOptions,
|
|
485
414
|
cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void
|
|
486
415
|
): void;
|
|
487
|
-
getPolicyPreviewConfiguration(): Promise<GetPolicyPreviewConfigurationCommandOutput>;
|
|
488
|
-
getPolicyPreviewConfiguration(
|
|
489
|
-
args: GetPolicyPreviewConfigurationCommandInput,
|
|
490
|
-
options?: __HttpHandlerOptions
|
|
491
|
-
): Promise<GetPolicyPreviewConfigurationCommandOutput>;
|
|
492
|
-
getPolicyPreviewConfiguration(
|
|
493
|
-
args: GetPolicyPreviewConfigurationCommandInput,
|
|
494
|
-
cb: (err: any, data?: GetPolicyPreviewConfigurationCommandOutput) => void
|
|
495
|
-
): void;
|
|
496
|
-
getPolicyPreviewConfiguration(
|
|
497
|
-
args: GetPolicyPreviewConfigurationCommandInput,
|
|
498
|
-
options: __HttpHandlerOptions,
|
|
499
|
-
cb: (err: any, data?: GetPolicyPreviewConfigurationCommandOutput) => void
|
|
500
|
-
): void;
|
|
501
|
-
getPolicyPreviewJob(
|
|
502
|
-
args: GetPolicyPreviewJobCommandInput,
|
|
503
|
-
options?: __HttpHandlerOptions
|
|
504
|
-
): Promise<GetPolicyPreviewJobCommandOutput>;
|
|
505
|
-
getPolicyPreviewJob(
|
|
506
|
-
args: GetPolicyPreviewJobCommandInput,
|
|
507
|
-
cb: (err: any, data?: GetPolicyPreviewJobCommandOutput) => void
|
|
508
|
-
): void;
|
|
509
|
-
getPolicyPreviewJob(
|
|
510
|
-
args: GetPolicyPreviewJobCommandInput,
|
|
511
|
-
options: __HttpHandlerOptions,
|
|
512
|
-
cb: (err: any, data?: GetPolicyPreviewJobCommandOutput) => void
|
|
513
|
-
): void;
|
|
514
416
|
listAccessPreviewFindings(
|
|
515
417
|
args: ListAccessPreviewFindingsCommandInput,
|
|
516
418
|
options?: __HttpHandlerOptions
|
|
@@ -617,20 +519,6 @@ export interface AccessAnalyzer {
|
|
|
617
519
|
options: __HttpHandlerOptions,
|
|
618
520
|
cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void
|
|
619
521
|
): void;
|
|
620
|
-
listPolicyPreviewJobs(): Promise<ListPolicyPreviewJobsCommandOutput>;
|
|
621
|
-
listPolicyPreviewJobs(
|
|
622
|
-
args: ListPolicyPreviewJobsCommandInput,
|
|
623
|
-
options?: __HttpHandlerOptions
|
|
624
|
-
): Promise<ListPolicyPreviewJobsCommandOutput>;
|
|
625
|
-
listPolicyPreviewJobs(
|
|
626
|
-
args: ListPolicyPreviewJobsCommandInput,
|
|
627
|
-
cb: (err: any, data?: ListPolicyPreviewJobsCommandOutput) => void
|
|
628
|
-
): void;
|
|
629
|
-
listPolicyPreviewJobs(
|
|
630
|
-
args: ListPolicyPreviewJobsCommandInput,
|
|
631
|
-
options: __HttpHandlerOptions,
|
|
632
|
-
cb: (err: any, data?: ListPolicyPreviewJobsCommandOutput) => void
|
|
633
|
-
): void;
|
|
634
522
|
listTagsForResource(
|
|
635
523
|
args: ListTagsForResourceCommandInput,
|
|
636
524
|
options?: __HttpHandlerOptions
|
|
@@ -657,19 +545,6 @@ export interface AccessAnalyzer {
|
|
|
657
545
|
options: __HttpHandlerOptions,
|
|
658
546
|
cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void
|
|
659
547
|
): void;
|
|
660
|
-
startPolicyPreviewJob(
|
|
661
|
-
args: StartPolicyPreviewJobCommandInput,
|
|
662
|
-
options?: __HttpHandlerOptions
|
|
663
|
-
): Promise<StartPolicyPreviewJobCommandOutput>;
|
|
664
|
-
startPolicyPreviewJob(
|
|
665
|
-
args: StartPolicyPreviewJobCommandInput,
|
|
666
|
-
cb: (err: any, data?: StartPolicyPreviewJobCommandOutput) => void
|
|
667
|
-
): void;
|
|
668
|
-
startPolicyPreviewJob(
|
|
669
|
-
args: StartPolicyPreviewJobCommandInput,
|
|
670
|
-
options: __HttpHandlerOptions,
|
|
671
|
-
cb: (err: any, data?: StartPolicyPreviewJobCommandOutput) => void
|
|
672
|
-
): void;
|
|
673
548
|
startResourceScan(
|
|
674
549
|
args: StartResourceScanCommandInput,
|
|
675
550
|
options?: __HttpHandlerOptions
|
|
@@ -831,13 +706,6 @@ export interface AccessAnalyzer {
|
|
|
831
706
|
Exclude<keyof PaginationConfiguration, "client">
|
|
832
707
|
>
|
|
833
708
|
): Paginator<ListPolicyGenerationsCommandOutput>;
|
|
834
|
-
paginateListPolicyPreviewJobs(
|
|
835
|
-
args?: ListPolicyPreviewJobsCommandInput,
|
|
836
|
-
paginationConfig?: Pick<
|
|
837
|
-
PaginationConfiguration,
|
|
838
|
-
Exclude<keyof PaginationConfiguration, "client">
|
|
839
|
-
>
|
|
840
|
-
): Paginator<ListPolicyPreviewJobsCommandOutput>;
|
|
841
709
|
paginateValidatePolicy(
|
|
842
710
|
args: ValidatePolicyCommandInput,
|
|
843
711
|
paginationConfig?: Pick<
|
|
@@ -845,24 +713,6 @@ export interface AccessAnalyzer {
|
|
|
845
713
|
Exclude<keyof PaginationConfiguration, "client">
|
|
846
714
|
>
|
|
847
715
|
): Paginator<ValidatePolicyCommandOutput>;
|
|
848
|
-
waitUntilPolicyPreviewConfigurationActive(
|
|
849
|
-
args: GetPolicyPreviewConfigurationCommandInput,
|
|
850
|
-
waiterConfig:
|
|
851
|
-
| number
|
|
852
|
-
| Pick<
|
|
853
|
-
WaiterConfiguration<AccessAnalyzer>,
|
|
854
|
-
Exclude<keyof WaiterConfiguration<AccessAnalyzer>, "client">
|
|
855
|
-
>
|
|
856
|
-
): Promise<WaiterResult>;
|
|
857
|
-
waitUntilPolicyPreviewJobCompleted(
|
|
858
|
-
args: GetPolicyPreviewJobCommandInput,
|
|
859
|
-
waiterConfig:
|
|
860
|
-
| number
|
|
861
|
-
| Pick<
|
|
862
|
-
WaiterConfiguration<AccessAnalyzer>,
|
|
863
|
-
Exclude<keyof WaiterConfiguration<AccessAnalyzer>, "client">
|
|
864
|
-
>
|
|
865
|
-
): Promise<WaiterResult>;
|
|
866
716
|
}
|
|
867
717
|
export declare class AccessAnalyzer
|
|
868
718
|
extends AccessAnalyzerClient
|
|
@@ -52,10 +52,6 @@ import {
|
|
|
52
52
|
CancelPolicyGenerationCommandInput,
|
|
53
53
|
CancelPolicyGenerationCommandOutput,
|
|
54
54
|
} from "./commands/CancelPolicyGenerationCommand";
|
|
55
|
-
import {
|
|
56
|
-
CancelPolicyPreviewJobCommandInput,
|
|
57
|
-
CancelPolicyPreviewJobCommandOutput,
|
|
58
|
-
} from "./commands/CancelPolicyPreviewJobCommand";
|
|
59
55
|
import {
|
|
60
56
|
CheckAccessNotGrantedCommandInput,
|
|
61
57
|
CheckAccessNotGrantedCommandOutput,
|
|
@@ -80,10 +76,6 @@ import {
|
|
|
80
76
|
CreateArchiveRuleCommandInput,
|
|
81
77
|
CreateArchiveRuleCommandOutput,
|
|
82
78
|
} from "./commands/CreateArchiveRuleCommand";
|
|
83
|
-
import {
|
|
84
|
-
CreatePolicyPreviewConfigurationCommandInput,
|
|
85
|
-
CreatePolicyPreviewConfigurationCommandOutput,
|
|
86
|
-
} from "./commands/CreatePolicyPreviewConfigurationCommand";
|
|
87
79
|
import {
|
|
88
80
|
DeleteAnalyzerCommandInput,
|
|
89
81
|
DeleteAnalyzerCommandOutput,
|
|
@@ -92,10 +84,6 @@ import {
|
|
|
92
84
|
DeleteArchiveRuleCommandInput,
|
|
93
85
|
DeleteArchiveRuleCommandOutput,
|
|
94
86
|
} from "./commands/DeleteArchiveRuleCommand";
|
|
95
|
-
import {
|
|
96
|
-
DeletePolicyPreviewConfigurationCommandInput,
|
|
97
|
-
DeletePolicyPreviewConfigurationCommandOutput,
|
|
98
|
-
} from "./commands/DeletePolicyPreviewConfigurationCommand";
|
|
99
87
|
import {
|
|
100
88
|
GenerateFindingRecommendationCommandInput,
|
|
101
89
|
GenerateFindingRecommendationCommandOutput,
|
|
@@ -136,14 +124,6 @@ import {
|
|
|
136
124
|
GetGeneratedPolicyCommandInput,
|
|
137
125
|
GetGeneratedPolicyCommandOutput,
|
|
138
126
|
} from "./commands/GetGeneratedPolicyCommand";
|
|
139
|
-
import {
|
|
140
|
-
GetPolicyPreviewConfigurationCommandInput,
|
|
141
|
-
GetPolicyPreviewConfigurationCommandOutput,
|
|
142
|
-
} from "./commands/GetPolicyPreviewConfigurationCommand";
|
|
143
|
-
import {
|
|
144
|
-
GetPolicyPreviewJobCommandInput,
|
|
145
|
-
GetPolicyPreviewJobCommandOutput,
|
|
146
|
-
} from "./commands/GetPolicyPreviewJobCommand";
|
|
147
127
|
import {
|
|
148
128
|
ListAccessPreviewFindingsCommandInput,
|
|
149
129
|
ListAccessPreviewFindingsCommandOutput,
|
|
@@ -176,10 +156,6 @@ import {
|
|
|
176
156
|
ListPolicyGenerationsCommandInput,
|
|
177
157
|
ListPolicyGenerationsCommandOutput,
|
|
178
158
|
} from "./commands/ListPolicyGenerationsCommand";
|
|
179
|
-
import {
|
|
180
|
-
ListPolicyPreviewJobsCommandInput,
|
|
181
|
-
ListPolicyPreviewJobsCommandOutput,
|
|
182
|
-
} from "./commands/ListPolicyPreviewJobsCommand";
|
|
183
159
|
import {
|
|
184
160
|
ListTagsForResourceCommandInput,
|
|
185
161
|
ListTagsForResourceCommandOutput,
|
|
@@ -188,10 +164,6 @@ import {
|
|
|
188
164
|
StartPolicyGenerationCommandInput,
|
|
189
165
|
StartPolicyGenerationCommandOutput,
|
|
190
166
|
} from "./commands/StartPolicyGenerationCommand";
|
|
191
|
-
import {
|
|
192
|
-
StartPolicyPreviewJobCommandInput,
|
|
193
|
-
StartPolicyPreviewJobCommandOutput,
|
|
194
|
-
} from "./commands/StartPolicyPreviewJobCommand";
|
|
195
167
|
import {
|
|
196
168
|
StartResourceScanCommandInput,
|
|
197
169
|
StartResourceScanCommandOutput,
|
|
@@ -230,17 +202,14 @@ export { __Client };
|
|
|
230
202
|
export type ServiceInputTypes =
|
|
231
203
|
| ApplyArchiveRuleCommandInput
|
|
232
204
|
| CancelPolicyGenerationCommandInput
|
|
233
|
-
| CancelPolicyPreviewJobCommandInput
|
|
234
205
|
| CheckAccessNotGrantedCommandInput
|
|
235
206
|
| CheckNoNewAccessCommandInput
|
|
236
207
|
| CheckNoPublicAccessCommandInput
|
|
237
208
|
| CreateAccessPreviewCommandInput
|
|
238
209
|
| CreateAnalyzerCommandInput
|
|
239
210
|
| CreateArchiveRuleCommandInput
|
|
240
|
-
| CreatePolicyPreviewConfigurationCommandInput
|
|
241
211
|
| DeleteAnalyzerCommandInput
|
|
242
212
|
| DeleteArchiveRuleCommandInput
|
|
243
|
-
| DeletePolicyPreviewConfigurationCommandInput
|
|
244
213
|
| GenerateFindingRecommendationCommandInput
|
|
245
214
|
| GetAccessPreviewCommandInput
|
|
246
215
|
| GetAnalyzedResourceCommandInput
|
|
@@ -251,8 +220,6 @@ export type ServiceInputTypes =
|
|
|
251
220
|
| GetFindingV2CommandInput
|
|
252
221
|
| GetFindingsStatisticsCommandInput
|
|
253
222
|
| GetGeneratedPolicyCommandInput
|
|
254
|
-
| GetPolicyPreviewConfigurationCommandInput
|
|
255
|
-
| GetPolicyPreviewJobCommandInput
|
|
256
223
|
| ListAccessPreviewFindingsCommandInput
|
|
257
224
|
| ListAccessPreviewsCommandInput
|
|
258
225
|
| ListAnalyzedResourcesCommandInput
|
|
@@ -261,10 +228,8 @@ export type ServiceInputTypes =
|
|
|
261
228
|
| ListFindingsCommandInput
|
|
262
229
|
| ListFindingsV2CommandInput
|
|
263
230
|
| ListPolicyGenerationsCommandInput
|
|
264
|
-
| ListPolicyPreviewJobsCommandInput
|
|
265
231
|
| ListTagsForResourceCommandInput
|
|
266
232
|
| StartPolicyGenerationCommandInput
|
|
267
|
-
| StartPolicyPreviewJobCommandInput
|
|
268
233
|
| StartResourceScanCommandInput
|
|
269
234
|
| TagResourceCommandInput
|
|
270
235
|
| UntagResourceCommandInput
|
|
@@ -275,17 +240,14 @@ export type ServiceInputTypes =
|
|
|
275
240
|
export type ServiceOutputTypes =
|
|
276
241
|
| ApplyArchiveRuleCommandOutput
|
|
277
242
|
| CancelPolicyGenerationCommandOutput
|
|
278
|
-
| CancelPolicyPreviewJobCommandOutput
|
|
279
243
|
| CheckAccessNotGrantedCommandOutput
|
|
280
244
|
| CheckNoNewAccessCommandOutput
|
|
281
245
|
| CheckNoPublicAccessCommandOutput
|
|
282
246
|
| CreateAccessPreviewCommandOutput
|
|
283
247
|
| CreateAnalyzerCommandOutput
|
|
284
248
|
| CreateArchiveRuleCommandOutput
|
|
285
|
-
| CreatePolicyPreviewConfigurationCommandOutput
|
|
286
249
|
| DeleteAnalyzerCommandOutput
|
|
287
250
|
| DeleteArchiveRuleCommandOutput
|
|
288
|
-
| DeletePolicyPreviewConfigurationCommandOutput
|
|
289
251
|
| GenerateFindingRecommendationCommandOutput
|
|
290
252
|
| GetAccessPreviewCommandOutput
|
|
291
253
|
| GetAnalyzedResourceCommandOutput
|
|
@@ -296,8 +258,6 @@ export type ServiceOutputTypes =
|
|
|
296
258
|
| GetFindingV2CommandOutput
|
|
297
259
|
| GetFindingsStatisticsCommandOutput
|
|
298
260
|
| GetGeneratedPolicyCommandOutput
|
|
299
|
-
| GetPolicyPreviewConfigurationCommandOutput
|
|
300
|
-
| GetPolicyPreviewJobCommandOutput
|
|
301
261
|
| ListAccessPreviewFindingsCommandOutput
|
|
302
262
|
| ListAccessPreviewsCommandOutput
|
|
303
263
|
| ListAnalyzedResourcesCommandOutput
|
|
@@ -306,10 +266,8 @@ export type ServiceOutputTypes =
|
|
|
306
266
|
| ListFindingsCommandOutput
|
|
307
267
|
| ListFindingsV2CommandOutput
|
|
308
268
|
| ListPolicyGenerationsCommandOutput
|
|
309
|
-
| ListPolicyPreviewJobsCommandOutput
|
|
310
269
|
| ListTagsForResourceCommandOutput
|
|
311
270
|
| StartPolicyGenerationCommandOutput
|
|
312
|
-
| StartPolicyPreviewJobCommandOutput
|
|
313
271
|
| StartResourceScanCommandOutput
|
|
314
272
|
| TagResourceCommandOutput
|
|
315
273
|
| UntagResourceCommandOutput
|
|
@@ -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";
|
|
@@ -6,7 +6,6 @@ export { AccessAnalyzerExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./schemas/schemas_0";
|
|
8
8
|
export * from "./pagination";
|
|
9
|
-
export * from "./waiters";
|
|
10
9
|
export * from "./models/enums";
|
|
11
10
|
export * from "./models/errors";
|
|
12
11
|
export * from "./models/models_0";
|
|
@@ -131,18 +131,6 @@ export declare const AclPermission: {
|
|
|
131
131
|
readonly WRITE_ACP: "WRITE_ACP";
|
|
132
132
|
};
|
|
133
133
|
export type AclPermission = (typeof AclPermission)[keyof typeof AclPermission];
|
|
134
|
-
export declare const PolicyPreviewScope: {
|
|
135
|
-
readonly GLOBAL: "GLOBAL";
|
|
136
|
-
};
|
|
137
|
-
export type PolicyPreviewScope =
|
|
138
|
-
(typeof PolicyPreviewScope)[keyof typeof PolicyPreviewScope];
|
|
139
|
-
export declare const PolicyPreviewStatus: {
|
|
140
|
-
readonly ACTIVE: "ACTIVE";
|
|
141
|
-
readonly FAILED: "FAILED";
|
|
142
|
-
readonly PENDING_CREATION: "PENDING_CREATION";
|
|
143
|
-
};
|
|
144
|
-
export type PolicyPreviewStatus =
|
|
145
|
-
(typeof PolicyPreviewStatus)[keyof typeof PolicyPreviewStatus];
|
|
146
134
|
export declare const AccessPreviewStatus: {
|
|
147
135
|
readonly COMPLETED: "COMPLETED";
|
|
148
136
|
readonly CREATING: "CREATING";
|
|
@@ -225,16 +213,7 @@ export declare const FindingType: {
|
|
|
225
213
|
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
226
214
|
export declare const JobErrorCode: {
|
|
227
215
|
readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
|
|
228
|
-
readonly CANCELED_JOB_ERROR: "CANCELED_JOB_ERROR";
|
|
229
|
-
readonly INSUFFICIENT_PERMISSIONS_ERROR: "INSUFFICIENT_PERMISSIONS_ERROR";
|
|
230
|
-
readonly INVALID_ORGANIZATION_CONFIGURATION: "INVALID_ORGANIZATION_CONFIGURATION";
|
|
231
|
-
readonly INVALID_POLICY_PREVIEW_CONFIGURATION: "INVALID_POLICY_PREVIEW_CONFIGURATION";
|
|
232
|
-
readonly INVALID_SERVICE_LINKED_ROLE: "INVALID_SERVICE_LINKED_ROLE";
|
|
233
|
-
readonly INVALID_TARGET_ERROR: "INVALID_TARGET_ERROR";
|
|
234
|
-
readonly ORGANIZATION_ACCESS_DENIED_ERROR: "ORGANIZATION_ACCESS_DENIED_ERROR";
|
|
235
216
|
readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
|
|
236
|
-
readonly S3_BUCKET_NOT_FOUND_ERROR: "S3_BUCKET_NOT_FOUND_ERROR";
|
|
237
|
-
readonly S3_BUCKET_PERMISSION_ERROR: "S3_BUCKET_PERMISSION_ERROR";
|
|
238
217
|
readonly SERVICE_ERROR: "SERVICE_ERROR";
|
|
239
218
|
readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
|
|
240
219
|
};
|
|
@@ -246,20 +225,6 @@ export declare const JobStatus: {
|
|
|
246
225
|
readonly SUCCEEDED: "SUCCEEDED";
|
|
247
226
|
};
|
|
248
227
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
249
|
-
export declare const ImpactAnalysisJobStatus: {
|
|
250
|
-
readonly CANCELED: "CANCELED";
|
|
251
|
-
readonly COMPLETED: "COMPLETED";
|
|
252
|
-
readonly FAILED: "FAILED";
|
|
253
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
254
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
255
|
-
};
|
|
256
|
-
export type ImpactAnalysisJobStatus =
|
|
257
|
-
(typeof ImpactAnalysisJobStatus)[keyof typeof ImpactAnalysisJobStatus];
|
|
258
|
-
export declare const ImpactAnalysisJobType: {
|
|
259
|
-
readonly SCP: "SCP";
|
|
260
|
-
};
|
|
261
|
-
export type ImpactAnalysisJobType =
|
|
262
|
-
(typeof ImpactAnalysisJobType)[keyof typeof ImpactAnalysisJobType];
|
|
263
228
|
export declare const FindingChangeType: {
|
|
264
229
|
readonly CHANGED: "CHANGED";
|
|
265
230
|
readonly NEW: "NEW";
|
|
@@ -272,12 +237,6 @@ export declare const OrderBy: {
|
|
|
272
237
|
readonly DESC: "DESC";
|
|
273
238
|
};
|
|
274
239
|
export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
275
|
-
export declare const PolicyPreviewJobFilterName: {
|
|
276
|
-
readonly JOB_STATUS: "jobStatus";
|
|
277
|
-
readonly TARGET_ID: "targetId";
|
|
278
|
-
};
|
|
279
|
-
export type PolicyPreviewJobFilterName =
|
|
280
|
-
(typeof PolicyPreviewJobFilterName)[keyof typeof PolicyPreviewJobFilterName];
|
|
281
240
|
export declare const FindingStatusUpdate: {
|
|
282
241
|
readonly ACTIVE: "ACTIVE";
|
|
283
242
|
readonly ARCHIVED: "ARCHIVED";
|
|
@@ -13,17 +13,12 @@ import {
|
|
|
13
13
|
FindingStatus,
|
|
14
14
|
FindingStatusUpdate,
|
|
15
15
|
FindingType,
|
|
16
|
-
ImpactAnalysisJobStatus,
|
|
17
|
-
ImpactAnalysisJobType,
|
|
18
16
|
InternalAccessType,
|
|
19
17
|
JobErrorCode,
|
|
20
18
|
JobStatus,
|
|
21
19
|
KmsGrantOperation,
|
|
22
20
|
Locale,
|
|
23
21
|
OrderBy,
|
|
24
|
-
PolicyPreviewJobFilterName,
|
|
25
|
-
PolicyPreviewScope,
|
|
26
|
-
PolicyPreviewStatus,
|
|
27
22
|
PolicyType,
|
|
28
23
|
PrincipalType,
|
|
29
24
|
ReasonCode,
|
|
@@ -203,10 +198,6 @@ export interface CancelPolicyGenerationRequest {
|
|
|
203
198
|
jobId: string | undefined;
|
|
204
199
|
}
|
|
205
200
|
export interface CancelPolicyGenerationResponse {}
|
|
206
|
-
export interface CancelPolicyPreviewJobRequest {
|
|
207
|
-
jobId: string | undefined;
|
|
208
|
-
}
|
|
209
|
-
export interface CancelPolicyPreviewJobResponse {}
|
|
210
201
|
export interface CheckAccessNotGrantedRequest {
|
|
211
202
|
policyDocument: string | undefined;
|
|
212
203
|
access: Access[] | undefined;
|
|
@@ -713,17 +704,6 @@ export interface CreateAccessPreviewRequest {
|
|
|
713
704
|
export interface CreateAccessPreviewResponse {
|
|
714
705
|
id: string | undefined;
|
|
715
706
|
}
|
|
716
|
-
export interface CreatePolicyPreviewConfigurationRequest {
|
|
717
|
-
clientToken?: string | undefined;
|
|
718
|
-
scope?: PolicyPreviewScope | undefined;
|
|
719
|
-
}
|
|
720
|
-
export interface CreatePolicyPreviewConfigurationResponse {
|
|
721
|
-
status: PolicyPreviewStatus | undefined;
|
|
722
|
-
}
|
|
723
|
-
export interface DeletePolicyPreviewConfigurationRequest {
|
|
724
|
-
clientToken?: string | undefined;
|
|
725
|
-
}
|
|
726
|
-
export interface DeletePolicyPreviewConfigurationResponse {}
|
|
727
707
|
export interface GenerateFindingRecommendationRequest {
|
|
728
708
|
analyzerArn: string | undefined;
|
|
729
709
|
id: string | undefined;
|
|
@@ -1123,42 +1103,6 @@ export interface GetGeneratedPolicyResponse {
|
|
|
1123
1103
|
jobDetails: JobDetails | undefined;
|
|
1124
1104
|
generatedPolicyResult: GeneratedPolicyResult | undefined;
|
|
1125
1105
|
}
|
|
1126
|
-
export interface GetPolicyPreviewConfigurationRequest {}
|
|
1127
|
-
export interface PolicyPreviewConfiguration {
|
|
1128
|
-
scope: PolicyPreviewScope | undefined;
|
|
1129
|
-
status: PolicyPreviewStatus | undefined;
|
|
1130
|
-
createdAt: Date | undefined;
|
|
1131
|
-
updatedAt?: Date | undefined;
|
|
1132
|
-
}
|
|
1133
|
-
export interface GetPolicyPreviewConfigurationResponse {
|
|
1134
|
-
policyPreviewConfigurations?: PolicyPreviewConfiguration[] | undefined;
|
|
1135
|
-
}
|
|
1136
|
-
export interface GetPolicyPreviewJobRequest {
|
|
1137
|
-
jobId: string | undefined;
|
|
1138
|
-
}
|
|
1139
|
-
export interface PolicyPreviewJobDetails {
|
|
1140
|
-
jobStatus: ImpactAnalysisJobStatus | undefined;
|
|
1141
|
-
submittedAt: Date | undefined;
|
|
1142
|
-
startedAt?: Date | undefined;
|
|
1143
|
-
completedAt?: Date | undefined;
|
|
1144
|
-
jobError?: JobError | undefined;
|
|
1145
|
-
}
|
|
1146
|
-
export interface PolicyConfiguration {
|
|
1147
|
-
jobType: ImpactAnalysisJobType | undefined;
|
|
1148
|
-
targetId: string | undefined;
|
|
1149
|
-
policyDocumentsList: string[] | undefined;
|
|
1150
|
-
}
|
|
1151
|
-
export interface PolicyPreviewJobParameters {
|
|
1152
|
-
startTime: Date | undefined;
|
|
1153
|
-
endTime: Date | undefined;
|
|
1154
|
-
policyConfigurations: PolicyConfiguration[] | undefined;
|
|
1155
|
-
}
|
|
1156
|
-
export interface GetPolicyPreviewJobResponse {
|
|
1157
|
-
jobId: string | undefined;
|
|
1158
|
-
jobParameters?: PolicyPreviewJobParameters | undefined;
|
|
1159
|
-
jobDetails?: PolicyPreviewJobDetails | undefined;
|
|
1160
|
-
outputS3Uri: string | undefined;
|
|
1161
|
-
}
|
|
1162
1106
|
export interface ListAccessPreviewFindingsRequest {
|
|
1163
1107
|
accessPreviewId: string | undefined;
|
|
1164
1108
|
analyzerArn: string | undefined;
|
|
@@ -1294,23 +1238,6 @@ export interface ListPolicyGenerationsResponse {
|
|
|
1294
1238
|
policyGenerations: PolicyGeneration[] | undefined;
|
|
1295
1239
|
nextToken?: string | undefined;
|
|
1296
1240
|
}
|
|
1297
|
-
export interface ListPolicyPreviewJobsRequest {
|
|
1298
|
-
filters?: Partial<Record<PolicyPreviewJobFilterName, string>> | undefined;
|
|
1299
|
-
maxResults?: number | undefined;
|
|
1300
|
-
nextToken?: string | undefined;
|
|
1301
|
-
}
|
|
1302
|
-
export interface PolicyPreviewAnalysisReport {
|
|
1303
|
-
jobId: string | undefined;
|
|
1304
|
-
status: ImpactAnalysisJobStatus | undefined;
|
|
1305
|
-
submittedAt: Date | undefined;
|
|
1306
|
-
startedAt?: Date | undefined;
|
|
1307
|
-
completedAt?: Date | undefined;
|
|
1308
|
-
outputS3Uri: string | undefined;
|
|
1309
|
-
}
|
|
1310
|
-
export interface ListPolicyPreviewJobsResponse {
|
|
1311
|
-
analysisReports: PolicyPreviewAnalysisReport[] | undefined;
|
|
1312
|
-
nextToken?: string | undefined;
|
|
1313
|
-
}
|
|
1314
1241
|
export interface ListTagsForResourceRequest {
|
|
1315
1242
|
resourceArn: string | undefined;
|
|
1316
1243
|
}
|
|
@@ -1339,16 +1266,6 @@ export interface StartPolicyGenerationRequest {
|
|
|
1339
1266
|
export interface StartPolicyGenerationResponse {
|
|
1340
1267
|
jobId: string | undefined;
|
|
1341
1268
|
}
|
|
1342
|
-
export interface StartPolicyPreviewJobRequest {
|
|
1343
|
-
policyConfigurations: PolicyConfiguration[] | undefined;
|
|
1344
|
-
startTime: Date | undefined;
|
|
1345
|
-
endTime?: Date | undefined;
|
|
1346
|
-
outputS3Uri: string | undefined;
|
|
1347
|
-
clientToken?: string | undefined;
|
|
1348
|
-
}
|
|
1349
|
-
export interface StartPolicyPreviewJobResponse {
|
|
1350
|
-
jobId: string | undefined;
|
|
1351
|
-
}
|
|
1352
1269
|
export interface StartResourceScanRequest {
|
|
1353
1270
|
analyzerArn: string | undefined;
|
|
1354
1271
|
resourceArn: string | undefined;
|
|
@@ -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";
|