@aws-sdk/client-accessanalyzer 3.454.0 → 3.458.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 +84 -37
- package/dist-cjs/AccessAnalyzer.js +8 -0
- package/dist-cjs/commands/CheckAccessNotGrantedCommand.js +52 -0
- package/dist-cjs/commands/CheckNoNewAccessCommand.js +52 -0
- package/dist-cjs/commands/GetFindingV2Command.js +51 -0
- package/dist-cjs/commands/ListFindingsV2Command.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +83 -1
- package/dist-cjs/pagination/GetFindingV2Paginator.js +29 -0
- package/dist-cjs/pagination/ListFindingsV2Paginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +426 -2
- package/dist-es/AccessAnalyzer.js +8 -0
- package/dist-es/commands/CheckAccessNotGrantedCommand.js +48 -0
- package/dist-es/commands/CheckNoNewAccessCommand.js +48 -0
- package/dist-es/commands/GetFindingV2Command.js +47 -0
- package/dist-es/commands/ListFindingsV2Command.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +78 -0
- package/dist-es/pagination/GetFindingV2Paginator.js +25 -0
- package/dist-es/pagination/ListFindingsV2Paginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +417 -1
- package/dist-types/AccessAnalyzer.d.ts +52 -9
- package/dist-types/AccessAnalyzerClient.d.ts +30 -11
- package/dist-types/commands/CheckAccessNotGrantedCommand.d.ts +107 -0
- package/dist-types/commands/CheckNoNewAccessCommand.d.ts +106 -0
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +5 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +5 -0
- package/dist-types/commands/GetFindingV2Command.d.ts +146 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +5 -0
- package/dist-types/commands/ListFindingsV2Command.d.ts +123 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +24 -9
- package/dist-types/models/models_0.d.ts +705 -11
- package/dist-types/pagination/GetFindingV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListFindingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +68 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CheckAccessNotGrantedCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CheckNoNewAccessCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetFindingV2Command.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFindingsV2Command.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +238 -1
- package/dist-types/ts3.4/pagination/GetFindingV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFindingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,15 +6,30 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript AccessAnalyzer Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Identity and Access Management Access Analyzer helps
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
<p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing
|
|
10
|
+
a suite of capabilities. Its features include findings for external and unused access,
|
|
11
|
+
basic and custom policy checks for validating policies, and policy generation to generate
|
|
12
|
+
fine-grained policies. To start using IAM Access Analyzer to identify external or unused access,
|
|
13
|
+
you first need to create an analyzer.</p>
|
|
14
|
+
<p>
|
|
15
|
+
<b>External access analyzers</b> help identify potential risks
|
|
16
|
+
of accessing resources by enabling you to identify any resource policies that grant access
|
|
17
|
+
to an external principal. It does this by using logic-based reasoning to analyze
|
|
18
|
+
resource-based policies in your Amazon Web Services environment. An external principal can be another
|
|
19
|
+
Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an
|
|
20
|
+
anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access
|
|
21
|
+
to your resources before deploying permissions changes.</p>
|
|
22
|
+
<p>
|
|
23
|
+
<b>Unused access analyzers</b> help identify potential
|
|
24
|
+
identity access risks by enabling you to identify unused IAM roles, unused access keys,
|
|
25
|
+
unused console passwords, and IAM principals with unused service and action-level
|
|
26
|
+
permissions.</p>
|
|
27
|
+
<p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM
|
|
28
|
+
policies before deploying permissions changes. You can use policy generation to refine
|
|
29
|
+
permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p>
|
|
30
|
+
<p>This guide describes the IAM Access Analyzer operations that you can call programmatically.
|
|
31
|
+
For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the
|
|
32
|
+
<b>IAM User Guide</b>.</p>
|
|
18
33
|
|
|
19
34
|
## Installing
|
|
20
35
|
|
|
@@ -216,7 +231,7 @@ see LICENSE for more information.
|
|
|
216
231
|
ApplyArchiveRule
|
|
217
232
|
</summary>
|
|
218
233
|
|
|
219
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
234
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ApplyArchiveRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ApplyArchiveRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ApplyArchiveRuleCommandOutput/)
|
|
220
235
|
|
|
221
236
|
</details>
|
|
222
237
|
<details>
|
|
@@ -224,7 +239,23 @@ ApplyArchiveRule
|
|
|
224
239
|
CancelPolicyGeneration
|
|
225
240
|
</summary>
|
|
226
241
|
|
|
227
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
242
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CancelPolicyGenerationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CancelPolicyGenerationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CancelPolicyGenerationCommandOutput/)
|
|
243
|
+
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
247
|
+
CheckAccessNotGranted
|
|
248
|
+
</summary>
|
|
249
|
+
|
|
250
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CheckAccessNotGrantedCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CheckAccessNotGrantedCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CheckAccessNotGrantedCommandOutput/)
|
|
251
|
+
|
|
252
|
+
</details>
|
|
253
|
+
<details>
|
|
254
|
+
<summary>
|
|
255
|
+
CheckNoNewAccess
|
|
256
|
+
</summary>
|
|
257
|
+
|
|
258
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CheckNoNewAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CheckNoNewAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CheckNoNewAccessCommandOutput/)
|
|
228
259
|
|
|
229
260
|
</details>
|
|
230
261
|
<details>
|
|
@@ -232,7 +263,7 @@ CancelPolicyGeneration
|
|
|
232
263
|
CreateAccessPreview
|
|
233
264
|
</summary>
|
|
234
265
|
|
|
235
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
266
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CreateAccessPreviewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateAccessPreviewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateAccessPreviewCommandOutput/)
|
|
236
267
|
|
|
237
268
|
</details>
|
|
238
269
|
<details>
|
|
@@ -240,7 +271,7 @@ CreateAccessPreview
|
|
|
240
271
|
CreateAnalyzer
|
|
241
272
|
</summary>
|
|
242
273
|
|
|
243
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
274
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CreateAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateAnalyzerCommandOutput/)
|
|
244
275
|
|
|
245
276
|
</details>
|
|
246
277
|
<details>
|
|
@@ -248,7 +279,7 @@ CreateAnalyzer
|
|
|
248
279
|
CreateArchiveRule
|
|
249
280
|
</summary>
|
|
250
281
|
|
|
251
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
282
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CreateArchiveRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateArchiveRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateArchiveRuleCommandOutput/)
|
|
252
283
|
|
|
253
284
|
</details>
|
|
254
285
|
<details>
|
|
@@ -256,7 +287,7 @@ CreateArchiveRule
|
|
|
256
287
|
DeleteAnalyzer
|
|
257
288
|
</summary>
|
|
258
289
|
|
|
259
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
290
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/DeleteAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteAnalyzerCommandOutput/)
|
|
260
291
|
|
|
261
292
|
</details>
|
|
262
293
|
<details>
|
|
@@ -264,7 +295,7 @@ DeleteAnalyzer
|
|
|
264
295
|
DeleteArchiveRule
|
|
265
296
|
</summary>
|
|
266
297
|
|
|
267
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
298
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/DeleteArchiveRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteArchiveRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteArchiveRuleCommandOutput/)
|
|
268
299
|
|
|
269
300
|
</details>
|
|
270
301
|
<details>
|
|
@@ -272,7 +303,7 @@ DeleteArchiveRule
|
|
|
272
303
|
GetAccessPreview
|
|
273
304
|
</summary>
|
|
274
305
|
|
|
275
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
306
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetAccessPreviewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetAccessPreviewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetAccessPreviewCommandOutput/)
|
|
276
307
|
|
|
277
308
|
</details>
|
|
278
309
|
<details>
|
|
@@ -280,7 +311,7 @@ GetAccessPreview
|
|
|
280
311
|
GetAnalyzedResource
|
|
281
312
|
</summary>
|
|
282
313
|
|
|
283
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
314
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetAnalyzedResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetAnalyzedResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetAnalyzedResourceCommandOutput/)
|
|
284
315
|
|
|
285
316
|
</details>
|
|
286
317
|
<details>
|
|
@@ -288,7 +319,7 @@ GetAnalyzedResource
|
|
|
288
319
|
GetAnalyzer
|
|
289
320
|
</summary>
|
|
290
321
|
|
|
291
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
322
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetAnalyzerCommandOutput/)
|
|
292
323
|
|
|
293
324
|
</details>
|
|
294
325
|
<details>
|
|
@@ -296,7 +327,7 @@ GetAnalyzer
|
|
|
296
327
|
GetArchiveRule
|
|
297
328
|
</summary>
|
|
298
329
|
|
|
299
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
330
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetArchiveRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetArchiveRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetArchiveRuleCommandOutput/)
|
|
300
331
|
|
|
301
332
|
</details>
|
|
302
333
|
<details>
|
|
@@ -304,7 +335,15 @@ GetArchiveRule
|
|
|
304
335
|
GetFinding
|
|
305
336
|
</summary>
|
|
306
337
|
|
|
307
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
338
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetFindingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetFindingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetFindingCommandOutput/)
|
|
339
|
+
|
|
340
|
+
</details>
|
|
341
|
+
<details>
|
|
342
|
+
<summary>
|
|
343
|
+
GetFindingV2
|
|
344
|
+
</summary>
|
|
345
|
+
|
|
346
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetFindingV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetFindingV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetFindingV2CommandOutput/)
|
|
308
347
|
|
|
309
348
|
</details>
|
|
310
349
|
<details>
|
|
@@ -312,7 +351,7 @@ GetFinding
|
|
|
312
351
|
GetGeneratedPolicy
|
|
313
352
|
</summary>
|
|
314
353
|
|
|
315
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
354
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/GetGeneratedPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetGeneratedPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/GetGeneratedPolicyCommandOutput/)
|
|
316
355
|
|
|
317
356
|
</details>
|
|
318
357
|
<details>
|
|
@@ -320,7 +359,7 @@ GetGeneratedPolicy
|
|
|
320
359
|
ListAccessPreviewFindings
|
|
321
360
|
</summary>
|
|
322
361
|
|
|
323
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
362
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListAccessPreviewFindingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAccessPreviewFindingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAccessPreviewFindingsCommandOutput/)
|
|
324
363
|
|
|
325
364
|
</details>
|
|
326
365
|
<details>
|
|
@@ -328,7 +367,7 @@ ListAccessPreviewFindings
|
|
|
328
367
|
ListAccessPreviews
|
|
329
368
|
</summary>
|
|
330
369
|
|
|
331
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
370
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListAccessPreviewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAccessPreviewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAccessPreviewsCommandOutput/)
|
|
332
371
|
|
|
333
372
|
</details>
|
|
334
373
|
<details>
|
|
@@ -336,7 +375,7 @@ ListAccessPreviews
|
|
|
336
375
|
ListAnalyzedResources
|
|
337
376
|
</summary>
|
|
338
377
|
|
|
339
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
378
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListAnalyzedResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAnalyzedResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAnalyzedResourcesCommandOutput/)
|
|
340
379
|
|
|
341
380
|
</details>
|
|
342
381
|
<details>
|
|
@@ -344,7 +383,7 @@ ListAnalyzedResources
|
|
|
344
383
|
ListAnalyzers
|
|
345
384
|
</summary>
|
|
346
385
|
|
|
347
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
386
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListAnalyzersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAnalyzersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListAnalyzersCommandOutput/)
|
|
348
387
|
|
|
349
388
|
</details>
|
|
350
389
|
<details>
|
|
@@ -352,7 +391,7 @@ ListAnalyzers
|
|
|
352
391
|
ListArchiveRules
|
|
353
392
|
</summary>
|
|
354
393
|
|
|
355
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
394
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListArchiveRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListArchiveRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListArchiveRulesCommandOutput/)
|
|
356
395
|
|
|
357
396
|
</details>
|
|
358
397
|
<details>
|
|
@@ -360,7 +399,15 @@ ListArchiveRules
|
|
|
360
399
|
ListFindings
|
|
361
400
|
</summary>
|
|
362
401
|
|
|
363
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
402
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListFindingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListFindingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListFindingsCommandOutput/)
|
|
403
|
+
|
|
404
|
+
</details>
|
|
405
|
+
<details>
|
|
406
|
+
<summary>
|
|
407
|
+
ListFindingsV2
|
|
408
|
+
</summary>
|
|
409
|
+
|
|
410
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListFindingsV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListFindingsV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListFindingsV2CommandOutput/)
|
|
364
411
|
|
|
365
412
|
</details>
|
|
366
413
|
<details>
|
|
@@ -368,7 +415,7 @@ ListFindings
|
|
|
368
415
|
ListPolicyGenerations
|
|
369
416
|
</summary>
|
|
370
417
|
|
|
371
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
418
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListPolicyGenerationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListPolicyGenerationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListPolicyGenerationsCommandOutput/)
|
|
372
419
|
|
|
373
420
|
</details>
|
|
374
421
|
<details>
|
|
@@ -376,7 +423,7 @@ ListPolicyGenerations
|
|
|
376
423
|
ListTagsForResource
|
|
377
424
|
</summary>
|
|
378
425
|
|
|
379
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
426
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ListTagsForResourceCommandOutput/)
|
|
380
427
|
|
|
381
428
|
</details>
|
|
382
429
|
<details>
|
|
@@ -384,7 +431,7 @@ ListTagsForResource
|
|
|
384
431
|
StartPolicyGeneration
|
|
385
432
|
</summary>
|
|
386
433
|
|
|
387
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
434
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/StartPolicyGenerationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/StartPolicyGenerationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/StartPolicyGenerationCommandOutput/)
|
|
388
435
|
|
|
389
436
|
</details>
|
|
390
437
|
<details>
|
|
@@ -392,7 +439,7 @@ StartPolicyGeneration
|
|
|
392
439
|
StartResourceScan
|
|
393
440
|
</summary>
|
|
394
441
|
|
|
395
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
442
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/StartResourceScanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/StartResourceScanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/StartResourceScanCommandOutput/)
|
|
396
443
|
|
|
397
444
|
</details>
|
|
398
445
|
<details>
|
|
@@ -400,7 +447,7 @@ StartResourceScan
|
|
|
400
447
|
TagResource
|
|
401
448
|
</summary>
|
|
402
449
|
|
|
403
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
450
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/TagResourceCommandOutput/)
|
|
404
451
|
|
|
405
452
|
</details>
|
|
406
453
|
<details>
|
|
@@ -408,7 +455,7 @@ TagResource
|
|
|
408
455
|
UntagResource
|
|
409
456
|
</summary>
|
|
410
457
|
|
|
411
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
458
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/UntagResourceCommandOutput/)
|
|
412
459
|
|
|
413
460
|
</details>
|
|
414
461
|
<details>
|
|
@@ -416,7 +463,7 @@ UntagResource
|
|
|
416
463
|
UpdateArchiveRule
|
|
417
464
|
</summary>
|
|
418
465
|
|
|
419
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
466
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/UpdateArchiveRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/UpdateArchiveRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/UpdateArchiveRuleCommandOutput/)
|
|
420
467
|
|
|
421
468
|
</details>
|
|
422
469
|
<details>
|
|
@@ -424,7 +471,7 @@ UpdateArchiveRule
|
|
|
424
471
|
UpdateFindings
|
|
425
472
|
</summary>
|
|
426
473
|
|
|
427
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
474
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/UpdateFindingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/UpdateFindingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/UpdateFindingsCommandOutput/)
|
|
428
475
|
|
|
429
476
|
</details>
|
|
430
477
|
<details>
|
|
@@ -432,6 +479,6 @@ UpdateFindings
|
|
|
432
479
|
ValidatePolicy
|
|
433
480
|
</summary>
|
|
434
481
|
|
|
435
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
482
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/ValidatePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ValidatePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/ValidatePolicyCommandOutput/)
|
|
436
483
|
|
|
437
484
|
</details>
|
|
@@ -5,6 +5,8 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
|
5
5
|
const AccessAnalyzerClient_1 = require("./AccessAnalyzerClient");
|
|
6
6
|
const ApplyArchiveRuleCommand_1 = require("./commands/ApplyArchiveRuleCommand");
|
|
7
7
|
const CancelPolicyGenerationCommand_1 = require("./commands/CancelPolicyGenerationCommand");
|
|
8
|
+
const CheckAccessNotGrantedCommand_1 = require("./commands/CheckAccessNotGrantedCommand");
|
|
9
|
+
const CheckNoNewAccessCommand_1 = require("./commands/CheckNoNewAccessCommand");
|
|
8
10
|
const CreateAccessPreviewCommand_1 = require("./commands/CreateAccessPreviewCommand");
|
|
9
11
|
const CreateAnalyzerCommand_1 = require("./commands/CreateAnalyzerCommand");
|
|
10
12
|
const CreateArchiveRuleCommand_1 = require("./commands/CreateArchiveRuleCommand");
|
|
@@ -15,6 +17,7 @@ const GetAnalyzedResourceCommand_1 = require("./commands/GetAnalyzedResourceComm
|
|
|
15
17
|
const GetAnalyzerCommand_1 = require("./commands/GetAnalyzerCommand");
|
|
16
18
|
const GetArchiveRuleCommand_1 = require("./commands/GetArchiveRuleCommand");
|
|
17
19
|
const GetFindingCommand_1 = require("./commands/GetFindingCommand");
|
|
20
|
+
const GetFindingV2Command_1 = require("./commands/GetFindingV2Command");
|
|
18
21
|
const GetGeneratedPolicyCommand_1 = require("./commands/GetGeneratedPolicyCommand");
|
|
19
22
|
const ListAccessPreviewFindingsCommand_1 = require("./commands/ListAccessPreviewFindingsCommand");
|
|
20
23
|
const ListAccessPreviewsCommand_1 = require("./commands/ListAccessPreviewsCommand");
|
|
@@ -22,6 +25,7 @@ const ListAnalyzedResourcesCommand_1 = require("./commands/ListAnalyzedResources
|
|
|
22
25
|
const ListAnalyzersCommand_1 = require("./commands/ListAnalyzersCommand");
|
|
23
26
|
const ListArchiveRulesCommand_1 = require("./commands/ListArchiveRulesCommand");
|
|
24
27
|
const ListFindingsCommand_1 = require("./commands/ListFindingsCommand");
|
|
28
|
+
const ListFindingsV2Command_1 = require("./commands/ListFindingsV2Command");
|
|
25
29
|
const ListPolicyGenerationsCommand_1 = require("./commands/ListPolicyGenerationsCommand");
|
|
26
30
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
27
31
|
const StartPolicyGenerationCommand_1 = require("./commands/StartPolicyGenerationCommand");
|
|
@@ -34,6 +38,8 @@ const ValidatePolicyCommand_1 = require("./commands/ValidatePolicyCommand");
|
|
|
34
38
|
const commands = {
|
|
35
39
|
ApplyArchiveRuleCommand: ApplyArchiveRuleCommand_1.ApplyArchiveRuleCommand,
|
|
36
40
|
CancelPolicyGenerationCommand: CancelPolicyGenerationCommand_1.CancelPolicyGenerationCommand,
|
|
41
|
+
CheckAccessNotGrantedCommand: CheckAccessNotGrantedCommand_1.CheckAccessNotGrantedCommand,
|
|
42
|
+
CheckNoNewAccessCommand: CheckNoNewAccessCommand_1.CheckNoNewAccessCommand,
|
|
37
43
|
CreateAccessPreviewCommand: CreateAccessPreviewCommand_1.CreateAccessPreviewCommand,
|
|
38
44
|
CreateAnalyzerCommand: CreateAnalyzerCommand_1.CreateAnalyzerCommand,
|
|
39
45
|
CreateArchiveRuleCommand: CreateArchiveRuleCommand_1.CreateArchiveRuleCommand,
|
|
@@ -44,6 +50,7 @@ const commands = {
|
|
|
44
50
|
GetAnalyzerCommand: GetAnalyzerCommand_1.GetAnalyzerCommand,
|
|
45
51
|
GetArchiveRuleCommand: GetArchiveRuleCommand_1.GetArchiveRuleCommand,
|
|
46
52
|
GetFindingCommand: GetFindingCommand_1.GetFindingCommand,
|
|
53
|
+
GetFindingV2Command: GetFindingV2Command_1.GetFindingV2Command,
|
|
47
54
|
GetGeneratedPolicyCommand: GetGeneratedPolicyCommand_1.GetGeneratedPolicyCommand,
|
|
48
55
|
ListAccessPreviewFindingsCommand: ListAccessPreviewFindingsCommand_1.ListAccessPreviewFindingsCommand,
|
|
49
56
|
ListAccessPreviewsCommand: ListAccessPreviewsCommand_1.ListAccessPreviewsCommand,
|
|
@@ -51,6 +58,7 @@ const commands = {
|
|
|
51
58
|
ListAnalyzersCommand: ListAnalyzersCommand_1.ListAnalyzersCommand,
|
|
52
59
|
ListArchiveRulesCommand: ListArchiveRulesCommand_1.ListArchiveRulesCommand,
|
|
53
60
|
ListFindingsCommand: ListFindingsCommand_1.ListFindingsCommand,
|
|
61
|
+
ListFindingsV2Command: ListFindingsV2Command_1.ListFindingsV2Command,
|
|
54
62
|
ListPolicyGenerationsCommand: ListPolicyGenerationsCommand_1.ListPolicyGenerationsCommand,
|
|
55
63
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
56
64
|
StartPolicyGenerationCommand: StartPolicyGenerationCommand_1.StartPolicyGenerationCommand,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckAccessNotGrantedCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class CheckAccessNotGrantedCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CheckAccessNotGrantedCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "AccessAnalyzerClient";
|
|
30
|
+
const commandName = "CheckAccessNotGrantedCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.CheckAccessNotGrantedRequestFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AccessAnalyzer",
|
|
39
|
+
operation: "CheckAccessNotGranted",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_CheckAccessNotGrantedCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_CheckAccessNotGrantedCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.CheckAccessNotGrantedCommand = CheckAccessNotGrantedCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckNoNewAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class CheckNoNewAccessCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CheckNoNewAccessCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "AccessAnalyzerClient";
|
|
30
|
+
const commandName = "CheckNoNewAccessCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.CheckNoNewAccessRequestFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AccessAnalyzer",
|
|
39
|
+
operation: "CheckNoNewAccess",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_CheckNoNewAccessCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_CheckNoNewAccessCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.CheckNoNewAccessCommand = CheckNoNewAccessCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetFindingV2Command = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetFindingV2Command extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFindingV2Command.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "AccessAnalyzerClient";
|
|
29
|
+
const commandName = "GetFindingV2Command";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AccessAnalyzer",
|
|
38
|
+
operation: "GetFindingV2",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetFindingV2Command)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetFindingV2Command)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetFindingV2Command = GetFindingV2Command;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFindingsV2Command = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListFindingsV2Command extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListFindingsV2Command.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "AccessAnalyzerClient";
|
|
29
|
+
const commandName = "ListFindingsV2Command";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AccessAnalyzer",
|
|
38
|
+
operation: "ListFindingsV2",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListFindingsV2Command)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListFindingsV2Command)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListFindingsV2Command = ListFindingsV2Command;
|