@aws-sdk/client-accessanalyzer 3.1023.0 → 3.1025.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +249 -1
  3. package/dist-cjs/schemas/schemas_0.js +173 -5
  4. package/dist-es/AccessAnalyzer.js +23 -1
  5. package/dist-es/commands/CancelPolicyPreviewJobCommand.js +16 -0
  6. package/dist-es/commands/CreatePolicyPreviewConfigurationCommand.js +16 -0
  7. package/dist-es/commands/DeletePolicyPreviewConfigurationCommand.js +16 -0
  8. package/dist-es/commands/GetPolicyPreviewConfigurationCommand.js +16 -0
  9. package/dist-es/commands/GetPolicyPreviewJobCommand.js +16 -0
  10. package/dist-es/commands/ListPolicyPreviewJobsCommand.js +16 -0
  11. package/dist-es/commands/StartPolicyPreviewJobCommand.js +16 -0
  12. package/dist-es/commands/index.js +7 -0
  13. package/dist-es/index.js +1 -0
  14. package/dist-es/models/enums.js +31 -0
  15. package/dist-es/pagination/ListPolicyPreviewJobsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/schemas/schemas_0.js +168 -0
  18. package/dist-es/waiters/index.js +2 -0
  19. package/dist-es/waiters/waitForPolicyPreviewConfigurationActive.js +54 -0
  20. package/dist-es/waiters/waitForPolicyPreviewJobCompleted.js +49 -0
  21. package/dist-types/AccessAnalyzer.d.ts +74 -1
  22. package/dist-types/AccessAnalyzerClient.d.ts +9 -2
  23. package/dist-types/commands/CancelPolicyPreviewJobCommand.d.ts +100 -0
  24. package/dist-types/commands/CreatePolicyPreviewConfigurationCommand.d.ts +109 -0
  25. package/dist-types/commands/DeletePolicyPreviewConfigurationCommand.d.ts +100 -0
  26. package/dist-types/commands/GetPolicyPreviewConfigurationCommand.d.ts +114 -0
  27. package/dist-types/commands/GetPolicyPreviewJobCommand.d.ts +187 -0
  28. package/dist-types/commands/ListPolicyPreviewJobsCommand.d.ts +137 -0
  29. package/dist-types/commands/StartPolicyPreviewJobCommand.d.ts +154 -0
  30. package/dist-types/commands/index.d.ts +7 -0
  31. package/dist-types/index.d.ts +1 -0
  32. package/dist-types/models/enums.d.ts +71 -0
  33. package/dist-types/models/models_0.d.ts +316 -1
  34. package/dist-types/pagination/ListPolicyPreviewJobsPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +26 -0
  37. package/dist-types/ts3.4/AccessAnalyzer.d.ts +150 -0
  38. package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/CancelPolicyPreviewJobCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/CreatePolicyPreviewConfigurationCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/DeletePolicyPreviewConfigurationCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/GetPolicyPreviewConfigurationCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/GetPolicyPreviewJobCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/ListPolicyPreviewJobsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/StartPolicyPreviewJobCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  47. package/dist-types/ts3.4/index.d.ts +1 -0
  48. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +83 -0
  50. package/dist-types/ts3.4/pagination/ListPolicyPreviewJobsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +26 -0
  53. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  54. package/dist-types/ts3.4/waiters/waitForPolicyPreviewConfigurationActive.d.ts +11 -0
  55. package/dist-types/ts3.4/waiters/waitForPolicyPreviewJobCompleted.d.ts +11 -0
  56. package/dist-types/waiters/index.d.ts +2 -0
  57. package/dist-types/waiters/waitForPolicyPreviewConfigurationActive.d.ts +14 -0
  58. package/dist-types/waiters/waitForPolicyPreviewJobCompleted.d.ts +14 -0
  59. package/package.json +2 -1
@@ -2,7 +2,9 @@ import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
3
  PaginationConfiguration,
4
4
  Paginator,
5
+ WaiterConfiguration,
5
6
  } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
6
8
  import { AccessAnalyzerClient } from "./AccessAnalyzerClient";
7
9
  import {
8
10
  ApplyArchiveRuleCommandInput,
@@ -12,6 +14,10 @@ import {
12
14
  CancelPolicyGenerationCommandInput,
13
15
  CancelPolicyGenerationCommandOutput,
14
16
  } from "./commands/CancelPolicyGenerationCommand";
17
+ import {
18
+ CancelPolicyPreviewJobCommandInput,
19
+ CancelPolicyPreviewJobCommandOutput,
20
+ } from "./commands/CancelPolicyPreviewJobCommand";
15
21
  import {
16
22
  CheckAccessNotGrantedCommandInput,
17
23
  CheckAccessNotGrantedCommandOutput,
@@ -36,6 +42,10 @@ import {
36
42
  CreateArchiveRuleCommandInput,
37
43
  CreateArchiveRuleCommandOutput,
38
44
  } from "./commands/CreateArchiveRuleCommand";
45
+ import {
46
+ CreatePolicyPreviewConfigurationCommandInput,
47
+ CreatePolicyPreviewConfigurationCommandOutput,
48
+ } from "./commands/CreatePolicyPreviewConfigurationCommand";
39
49
  import {
40
50
  DeleteAnalyzerCommandInput,
41
51
  DeleteAnalyzerCommandOutput,
@@ -44,6 +54,10 @@ import {
44
54
  DeleteArchiveRuleCommandInput,
45
55
  DeleteArchiveRuleCommandOutput,
46
56
  } from "./commands/DeleteArchiveRuleCommand";
57
+ import {
58
+ DeletePolicyPreviewConfigurationCommandInput,
59
+ DeletePolicyPreviewConfigurationCommandOutput,
60
+ } from "./commands/DeletePolicyPreviewConfigurationCommand";
47
61
  import {
48
62
  GenerateFindingRecommendationCommandInput,
49
63
  GenerateFindingRecommendationCommandOutput,
@@ -84,6 +98,14 @@ import {
84
98
  GetGeneratedPolicyCommandInput,
85
99
  GetGeneratedPolicyCommandOutput,
86
100
  } from "./commands/GetGeneratedPolicyCommand";
101
+ import {
102
+ GetPolicyPreviewConfigurationCommandInput,
103
+ GetPolicyPreviewConfigurationCommandOutput,
104
+ } from "./commands/GetPolicyPreviewConfigurationCommand";
105
+ import {
106
+ GetPolicyPreviewJobCommandInput,
107
+ GetPolicyPreviewJobCommandOutput,
108
+ } from "./commands/GetPolicyPreviewJobCommand";
87
109
  import {
88
110
  ListAccessPreviewFindingsCommandInput,
89
111
  ListAccessPreviewFindingsCommandOutput,
@@ -116,6 +138,10 @@ import {
116
138
  ListPolicyGenerationsCommandInput,
117
139
  ListPolicyGenerationsCommandOutput,
118
140
  } from "./commands/ListPolicyGenerationsCommand";
141
+ import {
142
+ ListPolicyPreviewJobsCommandInput,
143
+ ListPolicyPreviewJobsCommandOutput,
144
+ } from "./commands/ListPolicyPreviewJobsCommand";
119
145
  import {
120
146
  ListTagsForResourceCommandInput,
121
147
  ListTagsForResourceCommandOutput,
@@ -124,6 +150,10 @@ import {
124
150
  StartPolicyGenerationCommandInput,
125
151
  StartPolicyGenerationCommandOutput,
126
152
  } from "./commands/StartPolicyGenerationCommand";
153
+ import {
154
+ StartPolicyPreviewJobCommandInput,
155
+ StartPolicyPreviewJobCommandOutput,
156
+ } from "./commands/StartPolicyPreviewJobCommand";
127
157
  import {
128
158
  StartResourceScanCommandInput,
129
159
  StartResourceScanCommandOutput,
@@ -179,6 +209,19 @@ export interface AccessAnalyzer {
179
209
  options: __HttpHandlerOptions,
180
210
  cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void
181
211
  ): 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;
182
225
  checkAccessNotGranted(
183
226
  args: CheckAccessNotGrantedCommandInput,
184
227
  options?: __HttpHandlerOptions
@@ -257,6 +300,20 @@ export interface AccessAnalyzer {
257
300
  options: __HttpHandlerOptions,
258
301
  cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void
259
302
  ): 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;
260
317
  deleteAnalyzer(
261
318
  args: DeleteAnalyzerCommandInput,
262
319
  options?: __HttpHandlerOptions
@@ -283,6 +340,20 @@ export interface AccessAnalyzer {
283
340
  options: __HttpHandlerOptions,
284
341
  cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void
285
342
  ): 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;
286
357
  generateFindingRecommendation(
287
358
  args: GenerateFindingRecommendationCommandInput,
288
359
  options?: __HttpHandlerOptions
@@ -413,6 +484,33 @@ export interface AccessAnalyzer {
413
484
  options: __HttpHandlerOptions,
414
485
  cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void
415
486
  ): 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;
416
514
  listAccessPreviewFindings(
417
515
  args: ListAccessPreviewFindingsCommandInput,
418
516
  options?: __HttpHandlerOptions
@@ -519,6 +617,20 @@ export interface AccessAnalyzer {
519
617
  options: __HttpHandlerOptions,
520
618
  cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void
521
619
  ): 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;
522
634
  listTagsForResource(
523
635
  args: ListTagsForResourceCommandInput,
524
636
  options?: __HttpHandlerOptions
@@ -545,6 +657,19 @@ export interface AccessAnalyzer {
545
657
  options: __HttpHandlerOptions,
546
658
  cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void
547
659
  ): 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;
548
673
  startResourceScan(
549
674
  args: StartResourceScanCommandInput,
550
675
  options?: __HttpHandlerOptions
@@ -706,6 +831,13 @@ export interface AccessAnalyzer {
706
831
  Exclude<keyof PaginationConfiguration, "client">
707
832
  >
708
833
  ): Paginator<ListPolicyGenerationsCommandOutput>;
834
+ paginateListPolicyPreviewJobs(
835
+ args?: ListPolicyPreviewJobsCommandInput,
836
+ paginationConfig?: Pick<
837
+ PaginationConfiguration,
838
+ Exclude<keyof PaginationConfiguration, "client">
839
+ >
840
+ ): Paginator<ListPolicyPreviewJobsCommandOutput>;
709
841
  paginateValidatePolicy(
710
842
  args: ValidatePolicyCommandInput,
711
843
  paginationConfig?: Pick<
@@ -713,6 +845,24 @@ export interface AccessAnalyzer {
713
845
  Exclude<keyof PaginationConfiguration, "client">
714
846
  >
715
847
  ): 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>;
716
866
  }
717
867
  export declare class AccessAnalyzer
718
868
  extends AccessAnalyzerClient
@@ -52,6 +52,10 @@ import {
52
52
  CancelPolicyGenerationCommandInput,
53
53
  CancelPolicyGenerationCommandOutput,
54
54
  } from "./commands/CancelPolicyGenerationCommand";
55
+ import {
56
+ CancelPolicyPreviewJobCommandInput,
57
+ CancelPolicyPreviewJobCommandOutput,
58
+ } from "./commands/CancelPolicyPreviewJobCommand";
55
59
  import {
56
60
  CheckAccessNotGrantedCommandInput,
57
61
  CheckAccessNotGrantedCommandOutput,
@@ -76,6 +80,10 @@ import {
76
80
  CreateArchiveRuleCommandInput,
77
81
  CreateArchiveRuleCommandOutput,
78
82
  } from "./commands/CreateArchiveRuleCommand";
83
+ import {
84
+ CreatePolicyPreviewConfigurationCommandInput,
85
+ CreatePolicyPreviewConfigurationCommandOutput,
86
+ } from "./commands/CreatePolicyPreviewConfigurationCommand";
79
87
  import {
80
88
  DeleteAnalyzerCommandInput,
81
89
  DeleteAnalyzerCommandOutput,
@@ -84,6 +92,10 @@ import {
84
92
  DeleteArchiveRuleCommandInput,
85
93
  DeleteArchiveRuleCommandOutput,
86
94
  } from "./commands/DeleteArchiveRuleCommand";
95
+ import {
96
+ DeletePolicyPreviewConfigurationCommandInput,
97
+ DeletePolicyPreviewConfigurationCommandOutput,
98
+ } from "./commands/DeletePolicyPreviewConfigurationCommand";
87
99
  import {
88
100
  GenerateFindingRecommendationCommandInput,
89
101
  GenerateFindingRecommendationCommandOutput,
@@ -124,6 +136,14 @@ import {
124
136
  GetGeneratedPolicyCommandInput,
125
137
  GetGeneratedPolicyCommandOutput,
126
138
  } from "./commands/GetGeneratedPolicyCommand";
139
+ import {
140
+ GetPolicyPreviewConfigurationCommandInput,
141
+ GetPolicyPreviewConfigurationCommandOutput,
142
+ } from "./commands/GetPolicyPreviewConfigurationCommand";
143
+ import {
144
+ GetPolicyPreviewJobCommandInput,
145
+ GetPolicyPreviewJobCommandOutput,
146
+ } from "./commands/GetPolicyPreviewJobCommand";
127
147
  import {
128
148
  ListAccessPreviewFindingsCommandInput,
129
149
  ListAccessPreviewFindingsCommandOutput,
@@ -156,6 +176,10 @@ import {
156
176
  ListPolicyGenerationsCommandInput,
157
177
  ListPolicyGenerationsCommandOutput,
158
178
  } from "./commands/ListPolicyGenerationsCommand";
179
+ import {
180
+ ListPolicyPreviewJobsCommandInput,
181
+ ListPolicyPreviewJobsCommandOutput,
182
+ } from "./commands/ListPolicyPreviewJobsCommand";
159
183
  import {
160
184
  ListTagsForResourceCommandInput,
161
185
  ListTagsForResourceCommandOutput,
@@ -164,6 +188,10 @@ import {
164
188
  StartPolicyGenerationCommandInput,
165
189
  StartPolicyGenerationCommandOutput,
166
190
  } from "./commands/StartPolicyGenerationCommand";
191
+ import {
192
+ StartPolicyPreviewJobCommandInput,
193
+ StartPolicyPreviewJobCommandOutput,
194
+ } from "./commands/StartPolicyPreviewJobCommand";
167
195
  import {
168
196
  StartResourceScanCommandInput,
169
197
  StartResourceScanCommandOutput,
@@ -202,14 +230,17 @@ export { __Client };
202
230
  export type ServiceInputTypes =
203
231
  | ApplyArchiveRuleCommandInput
204
232
  | CancelPolicyGenerationCommandInput
233
+ | CancelPolicyPreviewJobCommandInput
205
234
  | CheckAccessNotGrantedCommandInput
206
235
  | CheckNoNewAccessCommandInput
207
236
  | CheckNoPublicAccessCommandInput
208
237
  | CreateAccessPreviewCommandInput
209
238
  | CreateAnalyzerCommandInput
210
239
  | CreateArchiveRuleCommandInput
240
+ | CreatePolicyPreviewConfigurationCommandInput
211
241
  | DeleteAnalyzerCommandInput
212
242
  | DeleteArchiveRuleCommandInput
243
+ | DeletePolicyPreviewConfigurationCommandInput
213
244
  | GenerateFindingRecommendationCommandInput
214
245
  | GetAccessPreviewCommandInput
215
246
  | GetAnalyzedResourceCommandInput
@@ -220,6 +251,8 @@ export type ServiceInputTypes =
220
251
  | GetFindingV2CommandInput
221
252
  | GetFindingsStatisticsCommandInput
222
253
  | GetGeneratedPolicyCommandInput
254
+ | GetPolicyPreviewConfigurationCommandInput
255
+ | GetPolicyPreviewJobCommandInput
223
256
  | ListAccessPreviewFindingsCommandInput
224
257
  | ListAccessPreviewsCommandInput
225
258
  | ListAnalyzedResourcesCommandInput
@@ -228,8 +261,10 @@ export type ServiceInputTypes =
228
261
  | ListFindingsCommandInput
229
262
  | ListFindingsV2CommandInput
230
263
  | ListPolicyGenerationsCommandInput
264
+ | ListPolicyPreviewJobsCommandInput
231
265
  | ListTagsForResourceCommandInput
232
266
  | StartPolicyGenerationCommandInput
267
+ | StartPolicyPreviewJobCommandInput
233
268
  | StartResourceScanCommandInput
234
269
  | TagResourceCommandInput
235
270
  | UntagResourceCommandInput
@@ -240,14 +275,17 @@ export type ServiceInputTypes =
240
275
  export type ServiceOutputTypes =
241
276
  | ApplyArchiveRuleCommandOutput
242
277
  | CancelPolicyGenerationCommandOutput
278
+ | CancelPolicyPreviewJobCommandOutput
243
279
  | CheckAccessNotGrantedCommandOutput
244
280
  | CheckNoNewAccessCommandOutput
245
281
  | CheckNoPublicAccessCommandOutput
246
282
  | CreateAccessPreviewCommandOutput
247
283
  | CreateAnalyzerCommandOutput
248
284
  | CreateArchiveRuleCommandOutput
285
+ | CreatePolicyPreviewConfigurationCommandOutput
249
286
  | DeleteAnalyzerCommandOutput
250
287
  | DeleteArchiveRuleCommandOutput
288
+ | DeletePolicyPreviewConfigurationCommandOutput
251
289
  | GenerateFindingRecommendationCommandOutput
252
290
  | GetAccessPreviewCommandOutput
253
291
  | GetAnalyzedResourceCommandOutput
@@ -258,6 +296,8 @@ export type ServiceOutputTypes =
258
296
  | GetFindingV2CommandOutput
259
297
  | GetFindingsStatisticsCommandOutput
260
298
  | GetGeneratedPolicyCommandOutput
299
+ | GetPolicyPreviewConfigurationCommandOutput
300
+ | GetPolicyPreviewJobCommandOutput
261
301
  | ListAccessPreviewFindingsCommandOutput
262
302
  | ListAccessPreviewsCommandOutput
263
303
  | ListAnalyzedResourcesCommandOutput
@@ -266,8 +306,10 @@ export type ServiceOutputTypes =
266
306
  | ListFindingsCommandOutput
267
307
  | ListFindingsV2CommandOutput
268
308
  | ListPolicyGenerationsCommandOutput
309
+ | ListPolicyPreviewJobsCommandOutput
269
310
  | ListTagsForResourceCommandOutput
270
311
  | StartPolicyGenerationCommandOutput
312
+ | StartPolicyPreviewJobCommandOutput
271
313
  | StartResourceScanCommandOutput
272
314
  | TagResourceCommandOutput
273
315
  | UntagResourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccessAnalyzerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccessAnalyzerClient";
8
+ import {
9
+ CancelPolicyPreviewJobRequest,
10
+ CancelPolicyPreviewJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CancelPolicyPreviewJobCommandInput
15
+ extends CancelPolicyPreviewJobRequest {}
16
+ export interface CancelPolicyPreviewJobCommandOutput
17
+ extends CancelPolicyPreviewJobResponse,
18
+ __MetadataBearer {}
19
+ declare const CancelPolicyPreviewJobCommand_base: {
20
+ new (
21
+ input: CancelPolicyPreviewJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CancelPolicyPreviewJobCommandInput,
24
+ CancelPolicyPreviewJobCommandOutput,
25
+ AccessAnalyzerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CancelPolicyPreviewJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CancelPolicyPreviewJobCommandInput,
33
+ CancelPolicyPreviewJobCommandOutput,
34
+ AccessAnalyzerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CancelPolicyPreviewJobCommand extends CancelPolicyPreviewJobCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CancelPolicyPreviewJobRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: CancelPolicyPreviewJobCommandInput;
48
+ output: CancelPolicyPreviewJobCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccessAnalyzerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccessAnalyzerClient";
8
+ import {
9
+ CreatePolicyPreviewConfigurationRequest,
10
+ CreatePolicyPreviewConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreatePolicyPreviewConfigurationCommandInput
15
+ extends CreatePolicyPreviewConfigurationRequest {}
16
+ export interface CreatePolicyPreviewConfigurationCommandOutput
17
+ extends CreatePolicyPreviewConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreatePolicyPreviewConfigurationCommand_base: {
20
+ new (
21
+ input: CreatePolicyPreviewConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreatePolicyPreviewConfigurationCommandInput,
24
+ CreatePolicyPreviewConfigurationCommandOutput,
25
+ AccessAnalyzerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [CreatePolicyPreviewConfigurationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreatePolicyPreviewConfigurationCommandInput,
33
+ CreatePolicyPreviewConfigurationCommandOutput,
34
+ AccessAnalyzerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreatePolicyPreviewConfigurationCommand extends CreatePolicyPreviewConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreatePolicyPreviewConfigurationRequest;
44
+ output: CreatePolicyPreviewConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: CreatePolicyPreviewConfigurationCommandInput;
48
+ output: CreatePolicyPreviewConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccessAnalyzerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccessAnalyzerClient";
8
+ import {
9
+ DeletePolicyPreviewConfigurationRequest,
10
+ DeletePolicyPreviewConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeletePolicyPreviewConfigurationCommandInput
15
+ extends DeletePolicyPreviewConfigurationRequest {}
16
+ export interface DeletePolicyPreviewConfigurationCommandOutput
17
+ extends DeletePolicyPreviewConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const DeletePolicyPreviewConfigurationCommand_base: {
20
+ new (
21
+ input: DeletePolicyPreviewConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeletePolicyPreviewConfigurationCommandInput,
24
+ DeletePolicyPreviewConfigurationCommandOutput,
25
+ AccessAnalyzerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DeletePolicyPreviewConfigurationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeletePolicyPreviewConfigurationCommandInput,
33
+ DeletePolicyPreviewConfigurationCommandOutput,
34
+ AccessAnalyzerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeletePolicyPreviewConfigurationCommand extends DeletePolicyPreviewConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeletePolicyPreviewConfigurationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeletePolicyPreviewConfigurationCommandInput;
48
+ output: DeletePolicyPreviewConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccessAnalyzerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccessAnalyzerClient";
8
+ import {
9
+ GetPolicyPreviewConfigurationRequest,
10
+ GetPolicyPreviewConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetPolicyPreviewConfigurationCommandInput
15
+ extends GetPolicyPreviewConfigurationRequest {}
16
+ export interface GetPolicyPreviewConfigurationCommandOutput
17
+ extends GetPolicyPreviewConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const GetPolicyPreviewConfigurationCommand_base: {
20
+ new (
21
+ input: GetPolicyPreviewConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetPolicyPreviewConfigurationCommandInput,
24
+ GetPolicyPreviewConfigurationCommandOutput,
25
+ AccessAnalyzerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [GetPolicyPreviewConfigurationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetPolicyPreviewConfigurationCommandInput,
33
+ GetPolicyPreviewConfigurationCommandOutput,
34
+ AccessAnalyzerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetPolicyPreviewConfigurationCommand extends GetPolicyPreviewConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: {};
44
+ output: GetPolicyPreviewConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: GetPolicyPreviewConfigurationCommandInput;
48
+ output: GetPolicyPreviewConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccessAnalyzerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccessAnalyzerClient";
8
+ import {
9
+ GetPolicyPreviewJobRequest,
10
+ GetPolicyPreviewJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetPolicyPreviewJobCommandInput
15
+ extends GetPolicyPreviewJobRequest {}
16
+ export interface GetPolicyPreviewJobCommandOutput
17
+ extends GetPolicyPreviewJobResponse,
18
+ __MetadataBearer {}
19
+ declare const GetPolicyPreviewJobCommand_base: {
20
+ new (
21
+ input: GetPolicyPreviewJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetPolicyPreviewJobCommandInput,
24
+ GetPolicyPreviewJobCommandOutput,
25
+ AccessAnalyzerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetPolicyPreviewJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetPolicyPreviewJobCommandInput,
33
+ GetPolicyPreviewJobCommandOutput,
34
+ AccessAnalyzerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetPolicyPreviewJobCommand extends GetPolicyPreviewJobCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetPolicyPreviewJobRequest;
44
+ output: GetPolicyPreviewJobResponse;
45
+ };
46
+ sdk: {
47
+ input: GetPolicyPreviewJobCommandInput;
48
+ output: GetPolicyPreviewJobCommandOutput;
49
+ };
50
+ };
51
+ }