@aws-sdk/client-accessanalyzer 3.928.0 → 3.930.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 (61) hide show
  1. package/dist-cjs/index.js +2113 -1976
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AccessAnalyzerClient.js +2 -0
  4. package/dist-es/commands/ApplyArchiveRuleCommand.js +3 -9
  5. package/dist-es/commands/CancelPolicyGenerationCommand.js +3 -9
  6. package/dist-es/commands/CheckAccessNotGrantedCommand.js +3 -10
  7. package/dist-es/commands/CheckNoNewAccessCommand.js +3 -10
  8. package/dist-es/commands/CheckNoPublicAccessCommand.js +3 -10
  9. package/dist-es/commands/CreateAccessPreviewCommand.js +3 -9
  10. package/dist-es/commands/CreateAnalyzerCommand.js +3 -9
  11. package/dist-es/commands/CreateArchiveRuleCommand.js +3 -9
  12. package/dist-es/commands/DeleteAnalyzerCommand.js +3 -9
  13. package/dist-es/commands/DeleteArchiveRuleCommand.js +3 -9
  14. package/dist-es/commands/GenerateFindingRecommendationCommand.js +3 -9
  15. package/dist-es/commands/GetAccessPreviewCommand.js +3 -9
  16. package/dist-es/commands/GetAnalyzedResourceCommand.js +3 -9
  17. package/dist-es/commands/GetAnalyzerCommand.js +3 -9
  18. package/dist-es/commands/GetArchiveRuleCommand.js +3 -9
  19. package/dist-es/commands/GetFindingCommand.js +3 -9
  20. package/dist-es/commands/GetFindingRecommendationCommand.js +3 -9
  21. package/dist-es/commands/GetFindingV2Command.js +3 -9
  22. package/dist-es/commands/GetFindingsStatisticsCommand.js +3 -9
  23. package/dist-es/commands/GetGeneratedPolicyCommand.js +3 -9
  24. package/dist-es/commands/ListAccessPreviewFindingsCommand.js +3 -9
  25. package/dist-es/commands/ListAccessPreviewsCommand.js +3 -9
  26. package/dist-es/commands/ListAnalyzedResourcesCommand.js +3 -9
  27. package/dist-es/commands/ListAnalyzersCommand.js +3 -9
  28. package/dist-es/commands/ListArchiveRulesCommand.js +3 -9
  29. package/dist-es/commands/ListFindingsCommand.js +3 -9
  30. package/dist-es/commands/ListFindingsV2Command.js +3 -9
  31. package/dist-es/commands/ListPolicyGenerationsCommand.js +3 -9
  32. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  33. package/dist-es/commands/StartPolicyGenerationCommand.js +3 -9
  34. package/dist-es/commands/StartResourceScanCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateAnalyzerCommand.js +3 -9
  38. package/dist-es/commands/UpdateArchiveRuleCommand.js +3 -9
  39. package/dist-es/commands/UpdateFindingsCommand.js +3 -9
  40. package/dist-es/commands/ValidatePolicyCommand.js +3 -9
  41. package/dist-es/models/models_0.js +0 -146
  42. package/dist-es/runtimeConfig.shared.js +2 -0
  43. package/dist-es/schemas/schemas_0.js +2043 -0
  44. package/dist-types/AccessAnalyzerClient.d.ts +10 -1
  45. package/dist-types/models/models_0.d.ts +40 -22
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +266 -0
  51. package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +4 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +0 -25
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +273 -0
  58. package/package.json +33 -34
  59. package/dist-es/protocols/Aws_restJson1.js +0 -1553
  60. package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class AccessAnalyzerClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class AccessAnalyzerClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class AccessAnalyzerServiceException extends smithyClient.ServiceException {
113
+ let AccessAnalyzerServiceException$1 = class AccessAnalyzerServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, AccessAnalyzerServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends AccessAnalyzerServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends AccessAnalyzerServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,8 +128,8 @@ class AccessDeniedException extends AccessAnalyzerServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
133
- class ConflictException extends AccessAnalyzerServiceException {
131
+ };
132
+ let ConflictException$1 = class ConflictException extends AccessAnalyzerServiceException$1 {
134
133
  name = "ConflictException";
135
134
  $fault = "client";
136
135
  resourceId;
@@ -145,8 +144,8 @@ class ConflictException extends AccessAnalyzerServiceException {
145
144
  this.resourceId = opts.resourceId;
146
145
  this.resourceType = opts.resourceType;
147
146
  }
148
- }
149
- class InternalServerException extends AccessAnalyzerServiceException {
147
+ };
148
+ let InternalServerException$1 = class InternalServerException extends AccessAnalyzerServiceException$1 {
150
149
  name = "InternalServerException";
151
150
  $fault = "server";
152
151
  $retryable = {};
@@ -160,8 +159,8 @@ class InternalServerException extends AccessAnalyzerServiceException {
160
159
  Object.setPrototypeOf(this, InternalServerException.prototype);
161
160
  this.retryAfterSeconds = opts.retryAfterSeconds;
162
161
  }
163
- }
164
- class ResourceNotFoundException extends AccessAnalyzerServiceException {
162
+ };
163
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends AccessAnalyzerServiceException$1 {
165
164
  name = "ResourceNotFoundException";
166
165
  $fault = "client";
167
166
  resourceId;
@@ -176,8 +175,8 @@ class ResourceNotFoundException extends AccessAnalyzerServiceException {
176
175
  this.resourceId = opts.resourceId;
177
176
  this.resourceType = opts.resourceType;
178
177
  }
179
- }
180
- class ServiceQuotaExceededException extends AccessAnalyzerServiceException {
178
+ };
179
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends AccessAnalyzerServiceException$1 {
181
180
  name = "ServiceQuotaExceededException";
182
181
  $fault = "client";
183
182
  resourceId;
@@ -192,8 +191,8 @@ class ServiceQuotaExceededException extends AccessAnalyzerServiceException {
192
191
  this.resourceId = opts.resourceId;
193
192
  this.resourceType = opts.resourceType;
194
193
  }
195
- }
196
- class ThrottlingException extends AccessAnalyzerServiceException {
194
+ };
195
+ let ThrottlingException$1 = class ThrottlingException extends AccessAnalyzerServiceException$1 {
197
196
  name = "ThrottlingException";
198
197
  $fault = "client";
199
198
  $retryable = {
@@ -209,7 +208,7 @@ class ThrottlingException extends AccessAnalyzerServiceException {
209
208
  Object.setPrototypeOf(this, ThrottlingException.prototype);
210
209
  this.retryAfterSeconds = opts.retryAfterSeconds;
211
210
  }
212
- }
211
+ };
213
212
  const ValidationExceptionReason = {
214
213
  CANNOT_PARSE: "cannotParse",
215
214
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
@@ -217,7 +216,7 @@ const ValidationExceptionReason = {
217
216
  OTHER: "other",
218
217
  UNKNOWN_OPERATION: "unknownOperation",
219
218
  };
220
- class ValidationException extends AccessAnalyzerServiceException {
219
+ let ValidationException$1 = class ValidationException extends AccessAnalyzerServiceException$1 {
221
220
  name = "ValidationException";
222
221
  $fault = "client";
223
222
  reason;
@@ -232,17 +231,7 @@ class ValidationException extends AccessAnalyzerServiceException {
232
231
  this.reason = opts.reason;
233
232
  this.fieldList = opts.fieldList;
234
233
  }
235
- }
236
- exports.AnalyzerConfiguration = void 0;
237
- (function (AnalyzerConfiguration) {
238
- AnalyzerConfiguration.visit = (value, visitor) => {
239
- if (value.unusedAccess !== undefined)
240
- return visitor.unusedAccess(value.unusedAccess);
241
- if (value.internalAccess !== undefined)
242
- return visitor.internalAccess(value.internalAccess);
243
- return visitor._(value.$unknown[0], value.$unknown[1]);
244
- };
245
- })(exports.AnalyzerConfiguration || (exports.AnalyzerConfiguration = {}));
234
+ };
246
235
  const AccessCheckPolicyType = {
247
236
  IDENTITY_POLICY: "IDENTITY_POLICY",
248
237
  RESOURCE_POLICY: "RESOURCE_POLICY",
@@ -251,7 +240,7 @@ const CheckAccessNotGrantedResult = {
251
240
  FAIL: "FAIL",
252
241
  PASS: "PASS",
253
242
  };
254
- class InvalidParameterException extends AccessAnalyzerServiceException {
243
+ let InvalidParameterException$1 = class InvalidParameterException extends AccessAnalyzerServiceException$1 {
255
244
  name = "InvalidParameterException";
256
245
  $fault = "client";
257
246
  constructor(opts) {
@@ -262,8 +251,8 @@ class InvalidParameterException extends AccessAnalyzerServiceException {
262
251
  });
263
252
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
264
253
  }
265
- }
266
- class UnprocessableEntityException extends AccessAnalyzerServiceException {
254
+ };
255
+ let UnprocessableEntityException$1 = class UnprocessableEntityException extends AccessAnalyzerServiceException$1 {
267
256
  name = "UnprocessableEntityException";
268
257
  $fault = "client";
269
258
  $retryable = {};
@@ -275,7 +264,7 @@ class UnprocessableEntityException extends AccessAnalyzerServiceException {
275
264
  });
276
265
  Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
277
266
  }
278
- }
267
+ };
279
268
  const CheckNoNewAccessResult = {
280
269
  FAIL: "FAIL",
281
270
  PASS: "PASS",
@@ -328,42 +317,6 @@ const KmsGrantOperation = {
328
317
  SIGN: "Sign",
329
318
  VERIFY: "Verify",
330
319
  };
331
- exports.RdsDbClusterSnapshotAttributeValue = void 0;
332
- (function (RdsDbClusterSnapshotAttributeValue) {
333
- RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
334
- if (value.accountIds !== undefined)
335
- return visitor.accountIds(value.accountIds);
336
- return visitor._(value.$unknown[0], value.$unknown[1]);
337
- };
338
- })(exports.RdsDbClusterSnapshotAttributeValue || (exports.RdsDbClusterSnapshotAttributeValue = {}));
339
- exports.RdsDbSnapshotAttributeValue = void 0;
340
- (function (RdsDbSnapshotAttributeValue) {
341
- RdsDbSnapshotAttributeValue.visit = (value, visitor) => {
342
- if (value.accountIds !== undefined)
343
- return visitor.accountIds(value.accountIds);
344
- return visitor._(value.$unknown[0], value.$unknown[1]);
345
- };
346
- })(exports.RdsDbSnapshotAttributeValue || (exports.RdsDbSnapshotAttributeValue = {}));
347
- exports.NetworkOriginConfiguration = void 0;
348
- (function (NetworkOriginConfiguration) {
349
- NetworkOriginConfiguration.visit = (value, visitor) => {
350
- if (value.vpcConfiguration !== undefined)
351
- return visitor.vpcConfiguration(value.vpcConfiguration);
352
- if (value.internetConfiguration !== undefined)
353
- return visitor.internetConfiguration(value.internetConfiguration);
354
- return visitor._(value.$unknown[0], value.$unknown[1]);
355
- };
356
- })(exports.NetworkOriginConfiguration || (exports.NetworkOriginConfiguration = {}));
357
- exports.AclGrantee = void 0;
358
- (function (AclGrantee) {
359
- AclGrantee.visit = (value, visitor) => {
360
- if (value.id !== undefined)
361
- return visitor.id(value.id);
362
- if (value.uri !== undefined)
363
- return visitor.uri(value.uri);
364
- return visitor._(value.$unknown[0], value.$unknown[1]);
365
- };
366
- })(exports.AclGrantee || (exports.AclGrantee = {}));
367
320
  const AclPermission = {
368
321
  FULL_CONTROL: "FULL_CONTROL",
369
322
  READ: "READ",
@@ -371,40 +324,6 @@ const AclPermission = {
371
324
  WRITE: "WRITE",
372
325
  WRITE_ACP: "WRITE_ACP",
373
326
  };
374
- exports.Configuration = void 0;
375
- (function (Configuration) {
376
- Configuration.visit = (value, visitor) => {
377
- if (value.ebsSnapshot !== undefined)
378
- return visitor.ebsSnapshot(value.ebsSnapshot);
379
- if (value.ecrRepository !== undefined)
380
- return visitor.ecrRepository(value.ecrRepository);
381
- if (value.iamRole !== undefined)
382
- return visitor.iamRole(value.iamRole);
383
- if (value.efsFileSystem !== undefined)
384
- return visitor.efsFileSystem(value.efsFileSystem);
385
- if (value.kmsKey !== undefined)
386
- return visitor.kmsKey(value.kmsKey);
387
- if (value.rdsDbClusterSnapshot !== undefined)
388
- return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
389
- if (value.rdsDbSnapshot !== undefined)
390
- return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
391
- if (value.secretsManagerSecret !== undefined)
392
- return visitor.secretsManagerSecret(value.secretsManagerSecret);
393
- if (value.s3Bucket !== undefined)
394
- return visitor.s3Bucket(value.s3Bucket);
395
- if (value.snsTopic !== undefined)
396
- return visitor.snsTopic(value.snsTopic);
397
- if (value.sqsQueue !== undefined)
398
- return visitor.sqsQueue(value.sqsQueue);
399
- if (value.s3ExpressDirectoryBucket !== undefined)
400
- return visitor.s3ExpressDirectoryBucket(value.s3ExpressDirectoryBucket);
401
- if (value.dynamodbStream !== undefined)
402
- return visitor.dynamodbStream(value.dynamodbStream);
403
- if (value.dynamodbTable !== undefined)
404
- return visitor.dynamodbTable(value.dynamodbTable);
405
- return visitor._(value.$unknown[0], value.$unknown[1]);
406
- };
407
- })(exports.Configuration || (exports.Configuration = {}));
408
327
  const AccessPreviewStatus = {
409
328
  COMPLETED: "COMPLETED",
410
329
  CREATING: "CREATING",
@@ -427,31 +346,11 @@ const RecommendedRemediationAction = {
427
346
  CREATE_POLICY: "CREATE_POLICY",
428
347
  DETACH_POLICY: "DETACH_POLICY",
429
348
  };
430
- exports.RecommendedStep = void 0;
431
- (function (RecommendedStep) {
432
- RecommendedStep.visit = (value, visitor) => {
433
- if (value.unusedPermissionsRecommendedStep !== undefined)
434
- return visitor.unusedPermissionsRecommendedStep(value.unusedPermissionsRecommendedStep);
435
- return visitor._(value.$unknown[0], value.$unknown[1]);
436
- };
437
- })(exports.RecommendedStep || (exports.RecommendedStep = {}));
438
349
  const Status = {
439
350
  FAILED: "FAILED",
440
351
  IN_PROGRESS: "IN_PROGRESS",
441
352
  SUCCEEDED: "SUCCEEDED",
442
353
  };
443
- exports.FindingsStatistics = void 0;
444
- (function (FindingsStatistics) {
445
- FindingsStatistics.visit = (value, visitor) => {
446
- if (value.externalAccessFindingsStatistics !== undefined)
447
- return visitor.externalAccessFindingsStatistics(value.externalAccessFindingsStatistics);
448
- if (value.internalAccessFindingsStatistics !== undefined)
449
- return visitor.internalAccessFindingsStatistics(value.internalAccessFindingsStatistics);
450
- if (value.unusedAccessFindingsStatistics !== undefined)
451
- return visitor.unusedAccessFindingsStatistics(value.unusedAccessFindingsStatistics);
452
- return visitor._(value.$unknown[0], value.$unknown[1]);
453
- };
454
- })(exports.FindingsStatistics || (exports.FindingsStatistics = {}));
455
354
  const InternalAccessType = {
456
355
  INTRA_ACCOUNT: "INTRA_ACCOUNT",
457
356
  INTRA_ORG: "INTRA_ORG",
@@ -466,24 +365,6 @@ const ServiceControlPolicyRestriction = {
466
365
  FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP",
467
366
  NOT_APPLICABLE: "NOT_APPLICABLE",
468
367
  };
469
- exports.FindingDetails = void 0;
470
- (function (FindingDetails) {
471
- FindingDetails.visit = (value, visitor) => {
472
- if (value.internalAccessDetails !== undefined)
473
- return visitor.internalAccessDetails(value.internalAccessDetails);
474
- if (value.externalAccessDetails !== undefined)
475
- return visitor.externalAccessDetails(value.externalAccessDetails);
476
- if (value.unusedPermissionDetails !== undefined)
477
- return visitor.unusedPermissionDetails(value.unusedPermissionDetails);
478
- if (value.unusedIamUserAccessKeyDetails !== undefined)
479
- return visitor.unusedIamUserAccessKeyDetails(value.unusedIamUserAccessKeyDetails);
480
- if (value.unusedIamRoleDetails !== undefined)
481
- return visitor.unusedIamRoleDetails(value.unusedIamRoleDetails);
482
- if (value.unusedIamUserPasswordDetails !== undefined)
483
- return visitor.unusedIamUserPasswordDetails(value.unusedIamUserPasswordDetails);
484
- return visitor._(value.$unknown[0], value.$unknown[1]);
485
- };
486
- })(exports.FindingDetails || (exports.FindingDetails = {}));
487
368
  const FindingType = {
488
369
  EXTERNAL_ACCESS: "ExternalAccess",
489
370
  INTERNAL_ACCESS: "InternalAccess",
@@ -541,1595 +422,2034 @@ const ValidatePolicyFindingType = {
541
422
  SUGGESTION: "SUGGESTION",
542
423
  WARNING: "WARNING",
543
424
  };
544
- exports.PathElement = void 0;
545
- (function (PathElement) {
546
- PathElement.visit = (value, visitor) => {
547
- if (value.index !== undefined)
548
- return visitor.index(value.index);
549
- if (value.key !== undefined)
550
- return visitor.key(value.key);
551
- if (value.substring !== undefined)
552
- return visitor.substring(value.substring);
553
- if (value.value !== undefined)
554
- return visitor.value(value.value);
555
- return visitor._(value.$unknown[0], value.$unknown[1]);
556
- };
557
- })(exports.PathElement || (exports.PathElement = {}));
558
- const CheckAccessNotGrantedRequestFilterSensitiveLog = (obj) => ({
559
- ...obj,
560
- ...(obj.policyDocument && { policyDocument: smithyClient.SENSITIVE_STRING }),
561
- });
562
- const CheckNoNewAccessRequestFilterSensitiveLog = (obj) => ({
563
- ...obj,
564
- ...(obj.newPolicyDocument && { newPolicyDocument: smithyClient.SENSITIVE_STRING }),
565
- ...(obj.existingPolicyDocument && { existingPolicyDocument: smithyClient.SENSITIVE_STRING }),
566
- });
567
- const CheckNoPublicAccessRequestFilterSensitiveLog = (obj) => ({
568
- ...obj,
569
- ...(obj.policyDocument && { policyDocument: smithyClient.SENSITIVE_STRING }),
570
- });
571
425
 
572
- const se_ApplyArchiveRuleCommand = async (input, context) => {
573
- const b = core.requestBuilder(input, context);
574
- const headers = {
575
- "content-type": "application/json",
576
- };
577
- b.bp("/archive-rule");
578
- let body;
579
- body = JSON.stringify(smithyClient.take(input, {
580
- analyzerArn: [],
581
- clientToken: [true, (_) => _ ?? uuid.v4()],
582
- ruleName: [],
583
- }));
584
- b.m("PUT").h(headers).b(body);
585
- return b.build();
586
- };
587
- const se_CancelPolicyGenerationCommand = async (input, context) => {
588
- const b = core.requestBuilder(input, context);
589
- const headers = {};
590
- b.bp("/policy/generation/{jobId}");
591
- b.p("jobId", () => input.jobId, "{jobId}", false);
592
- let body;
593
- b.m("PUT").h(headers).b(body);
594
- return b.build();
595
- };
596
- const se_CheckAccessNotGrantedCommand = async (input, context) => {
597
- const b = core.requestBuilder(input, context);
598
- const headers = {
599
- "content-type": "application/json",
600
- };
601
- b.bp("/policy/check-access-not-granted");
602
- let body;
603
- body = JSON.stringify(smithyClient.take(input, {
604
- access: (_) => smithyClient._json(_),
605
- policyDocument: [],
606
- policyType: [],
607
- }));
608
- b.m("POST").h(headers).b(body);
609
- return b.build();
610
- };
611
- const se_CheckNoNewAccessCommand = async (input, context) => {
612
- const b = core.requestBuilder(input, context);
613
- const headers = {
614
- "content-type": "application/json",
615
- };
616
- b.bp("/policy/check-no-new-access");
617
- let body;
618
- body = JSON.stringify(smithyClient.take(input, {
619
- existingPolicyDocument: [],
620
- newPolicyDocument: [],
621
- policyType: [],
622
- }));
623
- b.m("POST").h(headers).b(body);
624
- return b.build();
625
- };
626
- const se_CheckNoPublicAccessCommand = async (input, context) => {
627
- const b = core.requestBuilder(input, context);
628
- const headers = {
629
- "content-type": "application/json",
630
- };
631
- b.bp("/policy/check-no-public-access");
632
- let body;
633
- body = JSON.stringify(smithyClient.take(input, {
634
- policyDocument: [],
635
- resourceType: [],
636
- }));
637
- b.m("POST").h(headers).b(body);
638
- return b.build();
639
- };
640
- const se_CreateAccessPreviewCommand = async (input, context) => {
641
- const b = core.requestBuilder(input, context);
642
- const headers = {
643
- "content-type": "application/json",
644
- };
645
- b.bp("/access-preview");
646
- let body;
647
- body = JSON.stringify(smithyClient.take(input, {
648
- analyzerArn: [],
649
- clientToken: [true, (_) => _ ?? uuid.v4()],
650
- configurations: (_) => smithyClient._json(_),
651
- }));
652
- b.m("PUT").h(headers).b(body);
653
- return b.build();
654
- };
655
- const se_CreateAnalyzerCommand = async (input, context) => {
656
- const b = core.requestBuilder(input, context);
657
- const headers = {
658
- "content-type": "application/json",
659
- };
660
- b.bp("/analyzer");
661
- let body;
662
- body = JSON.stringify(smithyClient.take(input, {
663
- analyzerName: [],
664
- archiveRules: (_) => smithyClient._json(_),
665
- clientToken: [true, (_) => _ ?? uuid.v4()],
666
- configuration: (_) => smithyClient._json(_),
667
- tags: (_) => smithyClient._json(_),
668
- type: [],
669
- }));
670
- b.m("PUT").h(headers).b(body);
671
- return b.build();
672
- };
673
- const se_CreateArchiveRuleCommand = async (input, context) => {
674
- const b = core.requestBuilder(input, context);
675
- const headers = {
676
- "content-type": "application/json",
677
- };
678
- b.bp("/analyzer/{analyzerName}/archive-rule");
679
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
680
- let body;
681
- body = JSON.stringify(smithyClient.take(input, {
682
- clientToken: [true, (_) => _ ?? uuid.v4()],
683
- filter: (_) => smithyClient._json(_),
684
- ruleName: [],
685
- }));
686
- b.m("PUT").h(headers).b(body);
687
- return b.build();
688
- };
689
- const se_DeleteAnalyzerCommand = async (input, context) => {
690
- const b = core.requestBuilder(input, context);
691
- const headers = {};
692
- b.bp("/analyzer/{analyzerName}");
693
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
694
- const query = smithyClient.map({
695
- [_cT]: [, input[_cT] ?? uuid.v4()],
696
- });
697
- let body;
698
- b.m("DELETE").h(headers).q(query).b(body);
699
- return b.build();
700
- };
701
- const se_DeleteArchiveRuleCommand = async (input, context) => {
702
- const b = core.requestBuilder(input, context);
703
- const headers = {};
704
- b.bp("/analyzer/{analyzerName}/archive-rule/{ruleName}");
705
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
706
- b.p("ruleName", () => input.ruleName, "{ruleName}", false);
707
- const query = smithyClient.map({
708
- [_cT]: [, input[_cT] ?? uuid.v4()],
709
- });
710
- let body;
711
- b.m("DELETE").h(headers).q(query).b(body);
712
- return b.build();
713
- };
714
- const se_GenerateFindingRecommendationCommand = async (input, context) => {
715
- const b = core.requestBuilder(input, context);
716
- const headers = {};
717
- b.bp("/recommendation/{id}");
718
- b.p("id", () => input.id, "{id}", false);
719
- const query = smithyClient.map({
720
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
721
- });
722
- let body;
723
- b.m("POST").h(headers).q(query).b(body);
724
- return b.build();
725
- };
726
- const se_GetAccessPreviewCommand = async (input, context) => {
727
- const b = core.requestBuilder(input, context);
728
- const headers = {};
729
- b.bp("/access-preview/{accessPreviewId}");
730
- b.p("accessPreviewId", () => input.accessPreviewId, "{accessPreviewId}", false);
731
- const query = smithyClient.map({
732
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
733
- });
734
- let body;
735
- b.m("GET").h(headers).q(query).b(body);
736
- return b.build();
737
- };
738
- const se_GetAnalyzedResourceCommand = async (input, context) => {
739
- const b = core.requestBuilder(input, context);
740
- const headers = {};
741
- b.bp("/analyzed-resource");
742
- const query = smithyClient.map({
743
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
744
- [_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
745
- });
746
- let body;
747
- b.m("GET").h(headers).q(query).b(body);
748
- return b.build();
749
- };
750
- const se_GetAnalyzerCommand = async (input, context) => {
751
- const b = core.requestBuilder(input, context);
752
- const headers = {};
753
- b.bp("/analyzer/{analyzerName}");
754
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
755
- let body;
756
- b.m("GET").h(headers).b(body);
757
- return b.build();
758
- };
759
- const se_GetArchiveRuleCommand = async (input, context) => {
760
- const b = core.requestBuilder(input, context);
761
- const headers = {};
762
- b.bp("/analyzer/{analyzerName}/archive-rule/{ruleName}");
763
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
764
- b.p("ruleName", () => input.ruleName, "{ruleName}", false);
765
- let body;
766
- b.m("GET").h(headers).b(body);
767
- return b.build();
768
- };
769
- const se_GetFindingCommand = async (input, context) => {
770
- const b = core.requestBuilder(input, context);
771
- const headers = {};
772
- b.bp("/finding/{id}");
773
- b.p("id", () => input.id, "{id}", false);
774
- const query = smithyClient.map({
775
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
776
- });
777
- let body;
778
- b.m("GET").h(headers).q(query).b(body);
779
- return b.build();
780
- };
781
- const se_GetFindingRecommendationCommand = async (input, context) => {
782
- const b = core.requestBuilder(input, context);
783
- const headers = {};
784
- b.bp("/recommendation/{id}");
785
- b.p("id", () => input.id, "{id}", false);
786
- const query = smithyClient.map({
787
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
788
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
789
- [_nT]: [, input[_nT]],
790
- });
791
- let body;
792
- b.m("GET").h(headers).q(query).b(body);
793
- return b.build();
794
- };
795
- const se_GetFindingsStatisticsCommand = async (input, context) => {
796
- const b = core.requestBuilder(input, context);
797
- const headers = {
798
- "content-type": "application/json",
799
- };
800
- b.bp("/analyzer/findings/statistics");
801
- let body;
802
- body = JSON.stringify(smithyClient.take(input, {
803
- analyzerArn: [],
804
- }));
805
- b.m("POST").h(headers).b(body);
806
- return b.build();
807
- };
808
- const se_GetFindingV2Command = async (input, context) => {
809
- const b = core.requestBuilder(input, context);
810
- const headers = {};
811
- b.bp("/findingv2/{id}");
812
- b.p("id", () => input.id, "{id}", false);
813
- const query = smithyClient.map({
814
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
815
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
816
- [_nT]: [, input[_nT]],
817
- });
818
- let body;
819
- b.m("GET").h(headers).q(query).b(body);
820
- return b.build();
821
- };
822
- const se_GetGeneratedPolicyCommand = async (input, context) => {
823
- const b = core.requestBuilder(input, context);
824
- const headers = {};
825
- b.bp("/policy/generation/{jobId}");
826
- b.p("jobId", () => input.jobId, "{jobId}", false);
827
- const query = smithyClient.map({
828
- [_iRP]: [() => input.includeResourcePlaceholders !== void 0, () => input[_iRP].toString()],
829
- [_iSLT]: [() => input.includeServiceLevelTemplate !== void 0, () => input[_iSLT].toString()],
830
- });
831
- let body;
832
- b.m("GET").h(headers).q(query).b(body);
833
- return b.build();
834
- };
835
- const se_ListAccessPreviewFindingsCommand = async (input, context) => {
836
- const b = core.requestBuilder(input, context);
837
- const headers = {
838
- "content-type": "application/json",
839
- };
840
- b.bp("/access-preview/{accessPreviewId}");
841
- b.p("accessPreviewId", () => input.accessPreviewId, "{accessPreviewId}", false);
842
- let body;
843
- body = JSON.stringify(smithyClient.take(input, {
844
- analyzerArn: [],
845
- filter: (_) => smithyClient._json(_),
846
- maxResults: [],
847
- nextToken: [],
848
- }));
849
- b.m("POST").h(headers).b(body);
850
- return b.build();
851
- };
852
- const se_ListAccessPreviewsCommand = async (input, context) => {
853
- const b = core.requestBuilder(input, context);
854
- const headers = {};
855
- b.bp("/access-preview");
856
- const query = smithyClient.map({
857
- [_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
858
- [_nT]: [, input[_nT]],
859
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
860
- });
861
- let body;
862
- b.m("GET").h(headers).q(query).b(body);
863
- return b.build();
864
- };
865
- const se_ListAnalyzedResourcesCommand = async (input, context) => {
866
- const b = core.requestBuilder(input, context);
867
- const headers = {
868
- "content-type": "application/json",
869
- };
870
- b.bp("/analyzed-resource");
871
- let body;
872
- body = JSON.stringify(smithyClient.take(input, {
873
- analyzerArn: [],
874
- maxResults: [],
875
- nextToken: [],
876
- resourceType: [],
877
- }));
878
- b.m("POST").h(headers).b(body);
879
- return b.build();
880
- };
881
- const se_ListAnalyzersCommand = async (input, context) => {
882
- const b = core.requestBuilder(input, context);
883
- const headers = {};
884
- b.bp("/analyzer");
885
- const query = smithyClient.map({
886
- [_nT]: [, input[_nT]],
887
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
888
- [_t]: [, input[_t]],
889
- });
890
- let body;
891
- b.m("GET").h(headers).q(query).b(body);
892
- return b.build();
893
- };
894
- const se_ListArchiveRulesCommand = async (input, context) => {
895
- const b = core.requestBuilder(input, context);
896
- const headers = {};
897
- b.bp("/analyzer/{analyzerName}/archive-rule");
898
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
899
- const query = smithyClient.map({
900
- [_nT]: [, input[_nT]],
901
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
902
- });
903
- let body;
904
- b.m("GET").h(headers).q(query).b(body);
905
- return b.build();
906
- };
907
- const se_ListFindingsCommand = async (input, context) => {
908
- const b = core.requestBuilder(input, context);
909
- const headers = {
910
- "content-type": "application/json",
911
- };
912
- b.bp("/finding");
913
- let body;
914
- body = JSON.stringify(smithyClient.take(input, {
915
- analyzerArn: [],
916
- filter: (_) => smithyClient._json(_),
917
- maxResults: [],
918
- nextToken: [],
919
- sort: (_) => smithyClient._json(_),
920
- }));
921
- b.m("POST").h(headers).b(body);
922
- return b.build();
923
- };
924
- const se_ListFindingsV2Command = async (input, context) => {
925
- const b = core.requestBuilder(input, context);
926
- const headers = {
927
- "content-type": "application/json",
928
- };
929
- b.bp("/findingv2");
930
- let body;
931
- body = JSON.stringify(smithyClient.take(input, {
932
- analyzerArn: [],
933
- filter: (_) => smithyClient._json(_),
934
- maxResults: [],
935
- nextToken: [],
936
- sort: (_) => smithyClient._json(_),
937
- }));
938
- b.m("POST").h(headers).b(body);
939
- return b.build();
940
- };
941
- const se_ListPolicyGenerationsCommand = async (input, context) => {
942
- const b = core.requestBuilder(input, context);
943
- const headers = {};
944
- b.bp("/policy/generation");
945
- const query = smithyClient.map({
946
- [_pA]: [, input[_pA]],
947
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
948
- [_nT]: [, input[_nT]],
949
- });
950
- let body;
951
- b.m("GET").h(headers).q(query).b(body);
952
- return b.build();
953
- };
954
- const se_ListTagsForResourceCommand = async (input, context) => {
955
- const b = core.requestBuilder(input, context);
956
- const headers = {};
957
- b.bp("/tags/{resourceArn}");
958
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
959
- let body;
960
- b.m("GET").h(headers).b(body);
961
- return b.build();
962
- };
963
- const se_StartPolicyGenerationCommand = async (input, context) => {
964
- const b = core.requestBuilder(input, context);
965
- const headers = {
966
- "content-type": "application/json",
967
- };
968
- b.bp("/policy/generation");
969
- let body;
970
- body = JSON.stringify(smithyClient.take(input, {
971
- clientToken: [true, (_) => _ ?? uuid.v4()],
972
- cloudTrailDetails: (_) => se_CloudTrailDetails(_),
973
- policyGenerationDetails: (_) => smithyClient._json(_),
974
- }));
975
- b.m("PUT").h(headers).b(body);
976
- return b.build();
977
- };
978
- const se_StartResourceScanCommand = async (input, context) => {
979
- const b = core.requestBuilder(input, context);
980
- const headers = {
981
- "content-type": "application/json",
982
- };
983
- b.bp("/resource/scan");
984
- let body;
985
- body = JSON.stringify(smithyClient.take(input, {
986
- analyzerArn: [],
987
- resourceArn: [],
988
- resourceOwnerAccount: [],
989
- }));
990
- b.m("POST").h(headers).b(body);
991
- return b.build();
992
- };
993
- const se_TagResourceCommand = async (input, context) => {
994
- const b = core.requestBuilder(input, context);
995
- const headers = {
996
- "content-type": "application/json",
997
- };
998
- b.bp("/tags/{resourceArn}");
999
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1000
- let body;
1001
- body = JSON.stringify(smithyClient.take(input, {
1002
- tags: (_) => smithyClient._json(_),
1003
- }));
1004
- b.m("POST").h(headers).b(body);
1005
- return b.build();
1006
- };
1007
- const se_UntagResourceCommand = async (input, context) => {
1008
- const b = core.requestBuilder(input, context);
1009
- const headers = {};
1010
- b.bp("/tags/{resourceArn}");
1011
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1012
- const query = smithyClient.map({
1013
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
1014
- });
1015
- let body;
1016
- b.m("DELETE").h(headers).q(query).b(body);
1017
- return b.build();
1018
- };
1019
- const se_UpdateAnalyzerCommand = async (input, context) => {
1020
- const b = core.requestBuilder(input, context);
1021
- const headers = {
1022
- "content-type": "application/json",
1023
- };
1024
- b.bp("/analyzer/{analyzerName}");
1025
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
1026
- let body;
1027
- body = JSON.stringify(smithyClient.take(input, {
1028
- configuration: (_) => smithyClient._json(_),
1029
- }));
1030
- b.m("PUT").h(headers).b(body);
1031
- return b.build();
1032
- };
1033
- const se_UpdateArchiveRuleCommand = async (input, context) => {
1034
- const b = core.requestBuilder(input, context);
1035
- const headers = {
1036
- "content-type": "application/json",
1037
- };
1038
- b.bp("/analyzer/{analyzerName}/archive-rule/{ruleName}");
1039
- b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
1040
- b.p("ruleName", () => input.ruleName, "{ruleName}", false);
1041
- let body;
1042
- body = JSON.stringify(smithyClient.take(input, {
1043
- clientToken: [true, (_) => _ ?? uuid.v4()],
1044
- filter: (_) => smithyClient._json(_),
1045
- }));
1046
- b.m("PUT").h(headers).b(body);
1047
- return b.build();
1048
- };
1049
- const se_UpdateFindingsCommand = async (input, context) => {
1050
- const b = core.requestBuilder(input, context);
1051
- const headers = {
1052
- "content-type": "application/json",
1053
- };
1054
- b.bp("/finding");
1055
- let body;
1056
- body = JSON.stringify(smithyClient.take(input, {
1057
- analyzerArn: [],
1058
- clientToken: [true, (_) => _ ?? uuid.v4()],
1059
- ids: (_) => smithyClient._json(_),
1060
- resourceArn: [],
1061
- status: [],
1062
- }));
1063
- b.m("PUT").h(headers).b(body);
1064
- return b.build();
1065
- };
1066
- const se_ValidatePolicyCommand = async (input, context) => {
1067
- const b = core.requestBuilder(input, context);
1068
- const headers = {
1069
- "content-type": "application/json",
1070
- };
1071
- b.bp("/policy/validation");
1072
- const query = smithyClient.map({
1073
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1074
- [_nT]: [, input[_nT]],
1075
- });
1076
- let body;
1077
- body = JSON.stringify(smithyClient.take(input, {
1078
- locale: [],
1079
- policyDocument: [],
1080
- policyType: [],
1081
- validatePolicyResourceType: [],
1082
- }));
1083
- b.m("POST").h(headers).q(query).b(body);
1084
- return b.build();
1085
- };
1086
- const de_ApplyArchiveRuleCommand = async (output, context) => {
1087
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
- return de_CommandError(output, context);
1089
- }
1090
- const contents = smithyClient.map({
1091
- $metadata: deserializeMetadata(output),
1092
- });
1093
- await smithyClient.collectBody(output.body, context);
1094
- return contents;
1095
- };
1096
- const de_CancelPolicyGenerationCommand = async (output, context) => {
1097
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1098
- return de_CommandError(output, context);
1099
- }
1100
- const contents = smithyClient.map({
1101
- $metadata: deserializeMetadata(output),
1102
- });
1103
- await smithyClient.collectBody(output.body, context);
1104
- return contents;
1105
- };
1106
- const de_CheckAccessNotGrantedCommand = async (output, context) => {
1107
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1108
- return de_CommandError(output, context);
1109
- }
1110
- const contents = smithyClient.map({
1111
- $metadata: deserializeMetadata(output),
1112
- });
1113
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1114
- const doc = smithyClient.take(data, {
1115
- message: smithyClient.expectString,
1116
- reasons: smithyClient._json,
1117
- result: smithyClient.expectString,
1118
- });
1119
- Object.assign(contents, doc);
1120
- return contents;
1121
- };
1122
- const de_CheckNoNewAccessCommand = async (output, context) => {
1123
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1124
- return de_CommandError(output, context);
1125
- }
1126
- const contents = smithyClient.map({
1127
- $metadata: deserializeMetadata(output),
1128
- });
1129
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1130
- const doc = smithyClient.take(data, {
1131
- message: smithyClient.expectString,
1132
- reasons: smithyClient._json,
1133
- result: smithyClient.expectString,
1134
- });
1135
- Object.assign(contents, doc);
1136
- return contents;
1137
- };
1138
- const de_CheckNoPublicAccessCommand = async (output, context) => {
1139
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1140
- return de_CommandError(output, context);
1141
- }
1142
- const contents = smithyClient.map({
1143
- $metadata: deserializeMetadata(output),
1144
- });
1145
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1146
- const doc = smithyClient.take(data, {
1147
- message: smithyClient.expectString,
1148
- reasons: smithyClient._json,
1149
- result: smithyClient.expectString,
1150
- });
1151
- Object.assign(contents, doc);
1152
- return contents;
1153
- };
1154
- const de_CreateAccessPreviewCommand = async (output, context) => {
1155
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1156
- return de_CommandError(output, context);
1157
- }
1158
- const contents = smithyClient.map({
1159
- $metadata: deserializeMetadata(output),
1160
- });
1161
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1162
- const doc = smithyClient.take(data, {
1163
- id: smithyClient.expectString,
1164
- });
1165
- Object.assign(contents, doc);
1166
- return contents;
1167
- };
1168
- const de_CreateAnalyzerCommand = async (output, context) => {
1169
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1170
- return de_CommandError(output, context);
1171
- }
1172
- const contents = smithyClient.map({
1173
- $metadata: deserializeMetadata(output),
1174
- });
1175
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1176
- const doc = smithyClient.take(data, {
1177
- arn: smithyClient.expectString,
1178
- });
1179
- Object.assign(contents, doc);
1180
- return contents;
1181
- };
1182
- const de_CreateArchiveRuleCommand = async (output, context) => {
1183
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1184
- return de_CommandError(output, context);
1185
- }
1186
- const contents = smithyClient.map({
1187
- $metadata: deserializeMetadata(output),
1188
- });
1189
- await smithyClient.collectBody(output.body, context);
1190
- return contents;
1191
- };
1192
- const de_DeleteAnalyzerCommand = async (output, context) => {
1193
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1194
- return de_CommandError(output, context);
1195
- }
1196
- const contents = smithyClient.map({
1197
- $metadata: deserializeMetadata(output),
1198
- });
1199
- await smithyClient.collectBody(output.body, context);
1200
- return contents;
1201
- };
1202
- const de_DeleteArchiveRuleCommand = async (output, context) => {
1203
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1204
- return de_CommandError(output, context);
1205
- }
1206
- const contents = smithyClient.map({
1207
- $metadata: deserializeMetadata(output),
1208
- });
1209
- await smithyClient.collectBody(output.body, context);
1210
- return contents;
1211
- };
1212
- const de_GenerateFindingRecommendationCommand = async (output, context) => {
1213
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1214
- return de_CommandError(output, context);
1215
- }
1216
- const contents = smithyClient.map({
1217
- $metadata: deserializeMetadata(output),
1218
- });
1219
- await smithyClient.collectBody(output.body, context);
1220
- return contents;
1221
- };
1222
- const de_GetAccessPreviewCommand = async (output, context) => {
1223
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1224
- return de_CommandError(output, context);
1225
- }
1226
- const contents = smithyClient.map({
1227
- $metadata: deserializeMetadata(output),
1228
- });
1229
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1230
- const doc = smithyClient.take(data, {
1231
- accessPreview: (_) => de_AccessPreview(_),
1232
- });
1233
- Object.assign(contents, doc);
1234
- return contents;
1235
- };
1236
- const de_GetAnalyzedResourceCommand = async (output, context) => {
1237
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1238
- return de_CommandError(output, context);
1239
- }
1240
- const contents = smithyClient.map({
1241
- $metadata: deserializeMetadata(output),
1242
- });
1243
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1244
- const doc = smithyClient.take(data, {
1245
- resource: (_) => de_AnalyzedResource(_),
1246
- });
1247
- Object.assign(contents, doc);
1248
- return contents;
1249
- };
1250
- const de_GetAnalyzerCommand = async (output, context) => {
1251
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1252
- return de_CommandError(output, context);
1253
- }
1254
- const contents = smithyClient.map({
1255
- $metadata: deserializeMetadata(output),
1256
- });
1257
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1258
- const doc = smithyClient.take(data, {
1259
- analyzer: (_) => de_AnalyzerSummary(_),
1260
- });
1261
- Object.assign(contents, doc);
1262
- return contents;
1263
- };
1264
- const de_GetArchiveRuleCommand = async (output, context) => {
1265
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1266
- return de_CommandError(output, context);
1267
- }
1268
- const contents = smithyClient.map({
1269
- $metadata: deserializeMetadata(output),
1270
- });
1271
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1272
- const doc = smithyClient.take(data, {
1273
- archiveRule: (_) => de_ArchiveRuleSummary(_),
1274
- });
1275
- Object.assign(contents, doc);
1276
- return contents;
1277
- };
1278
- const de_GetFindingCommand = async (output, context) => {
1279
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1280
- return de_CommandError(output, context);
1281
- }
1282
- const contents = smithyClient.map({
1283
- $metadata: deserializeMetadata(output),
1284
- });
1285
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1286
- const doc = smithyClient.take(data, {
1287
- finding: (_) => de_Finding(_),
1288
- });
1289
- Object.assign(contents, doc);
1290
- return contents;
1291
- };
1292
- const de_GetFindingRecommendationCommand = async (output, context) => {
1293
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1294
- return de_CommandError(output, context);
1295
- }
1296
- const contents = smithyClient.map({
1297
- $metadata: deserializeMetadata(output),
1298
- });
1299
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1300
- const doc = smithyClient.take(data, {
1301
- completedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1302
- error: smithyClient._json,
1303
- nextToken: smithyClient.expectString,
1304
- recommendationType: smithyClient.expectString,
1305
- recommendedSteps: (_) => de_RecommendedStepList(_),
1306
- resourceArn: smithyClient.expectString,
1307
- startedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1308
- status: smithyClient.expectString,
1309
- });
1310
- Object.assign(contents, doc);
1311
- return contents;
1312
- };
1313
- const de_GetFindingsStatisticsCommand = async (output, context) => {
1314
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1315
- return de_CommandError(output, context);
1316
- }
1317
- const contents = smithyClient.map({
1318
- $metadata: deserializeMetadata(output),
1319
- });
1320
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1321
- const doc = smithyClient.take(data, {
1322
- findingsStatistics: smithyClient._json,
1323
- lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1324
- });
1325
- Object.assign(contents, doc);
1326
- return contents;
1327
- };
1328
- const de_GetFindingV2Command = async (output, context) => {
1329
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1330
- return de_CommandError(output, context);
1331
- }
1332
- const contents = smithyClient.map({
1333
- $metadata: deserializeMetadata(output),
1334
- });
1335
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1336
- const doc = smithyClient.take(data, {
1337
- analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1338
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1339
- error: smithyClient.expectString,
1340
- findingDetails: (_) => de_FindingDetailsList(_),
1341
- findingType: smithyClient.expectString,
1342
- id: smithyClient.expectString,
1343
- nextToken: smithyClient.expectString,
1344
- resource: smithyClient.expectString,
1345
- resourceOwnerAccount: smithyClient.expectString,
1346
- resourceType: smithyClient.expectString,
1347
- status: smithyClient.expectString,
1348
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1349
- });
1350
- Object.assign(contents, doc);
1351
- return contents;
1352
- };
1353
- const de_GetGeneratedPolicyCommand = async (output, context) => {
1354
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1355
- return de_CommandError(output, context);
1356
- }
1357
- const contents = smithyClient.map({
1358
- $metadata: deserializeMetadata(output),
1359
- });
1360
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1361
- const doc = smithyClient.take(data, {
1362
- generatedPolicyResult: (_) => de_GeneratedPolicyResult(_),
1363
- jobDetails: (_) => de_JobDetails(_),
1364
- });
1365
- Object.assign(contents, doc);
1366
- return contents;
1367
- };
1368
- const de_ListAccessPreviewFindingsCommand = async (output, context) => {
1369
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1370
- return de_CommandError(output, context);
1371
- }
1372
- const contents = smithyClient.map({
1373
- $metadata: deserializeMetadata(output),
1374
- });
1375
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1376
- const doc = smithyClient.take(data, {
1377
- findings: (_) => de_AccessPreviewFindingsList(_),
1378
- nextToken: smithyClient.expectString,
1379
- });
1380
- Object.assign(contents, doc);
1381
- return contents;
1382
- };
1383
- const de_ListAccessPreviewsCommand = async (output, context) => {
1384
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1385
- return de_CommandError(output, context);
1386
- }
1387
- const contents = smithyClient.map({
1388
- $metadata: deserializeMetadata(output),
1389
- });
1390
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1391
- const doc = smithyClient.take(data, {
1392
- accessPreviews: (_) => de_AccessPreviewsList(_),
1393
- nextToken: smithyClient.expectString,
1394
- });
1395
- Object.assign(contents, doc);
1396
- return contents;
1397
- };
1398
- const de_ListAnalyzedResourcesCommand = async (output, context) => {
1399
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1400
- return de_CommandError(output, context);
1401
- }
1402
- const contents = smithyClient.map({
1403
- $metadata: deserializeMetadata(output),
1404
- });
1405
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1406
- const doc = smithyClient.take(data, {
1407
- analyzedResources: smithyClient._json,
1408
- nextToken: smithyClient.expectString,
1409
- });
1410
- Object.assign(contents, doc);
1411
- return contents;
1412
- };
1413
- const de_ListAnalyzersCommand = async (output, context) => {
1414
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1415
- return de_CommandError(output, context);
1416
- }
1417
- const contents = smithyClient.map({
1418
- $metadata: deserializeMetadata(output),
1419
- });
1420
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1421
- const doc = smithyClient.take(data, {
1422
- analyzers: (_) => de_AnalyzersList(_),
1423
- nextToken: smithyClient.expectString,
1424
- });
1425
- Object.assign(contents, doc);
1426
- return contents;
1427
- };
1428
- const de_ListArchiveRulesCommand = async (output, context) => {
1429
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1430
- return de_CommandError(output, context);
1431
- }
1432
- const contents = smithyClient.map({
1433
- $metadata: deserializeMetadata(output),
1434
- });
1435
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1436
- const doc = smithyClient.take(data, {
1437
- archiveRules: (_) => de_ArchiveRulesList(_),
1438
- nextToken: smithyClient.expectString,
1439
- });
1440
- Object.assign(contents, doc);
1441
- return contents;
1442
- };
1443
- const de_ListFindingsCommand = async (output, context) => {
1444
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1445
- return de_CommandError(output, context);
1446
- }
1447
- const contents = smithyClient.map({
1448
- $metadata: deserializeMetadata(output),
1449
- });
1450
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1451
- const doc = smithyClient.take(data, {
1452
- findings: (_) => de_FindingsList(_),
1453
- nextToken: smithyClient.expectString,
1454
- });
1455
- Object.assign(contents, doc);
1456
- return contents;
1457
- };
1458
- const de_ListFindingsV2Command = async (output, context) => {
1459
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1460
- return de_CommandError(output, context);
1461
- }
1462
- const contents = smithyClient.map({
1463
- $metadata: deserializeMetadata(output),
1464
- });
1465
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1466
- const doc = smithyClient.take(data, {
1467
- findings: (_) => de_FindingsListV2(_),
1468
- nextToken: smithyClient.expectString,
1469
- });
1470
- Object.assign(contents, doc);
1471
- return contents;
1472
- };
1473
- const de_ListPolicyGenerationsCommand = async (output, context) => {
1474
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1475
- return de_CommandError(output, context);
1476
- }
1477
- const contents = smithyClient.map({
1478
- $metadata: deserializeMetadata(output),
1479
- });
1480
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1481
- const doc = smithyClient.take(data, {
1482
- nextToken: smithyClient.expectString,
1483
- policyGenerations: (_) => de_PolicyGenerationList(_),
1484
- });
1485
- Object.assign(contents, doc);
1486
- return contents;
1487
- };
1488
- const de_ListTagsForResourceCommand = async (output, context) => {
1489
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1490
- return de_CommandError(output, context);
1491
- }
1492
- const contents = smithyClient.map({
1493
- $metadata: deserializeMetadata(output),
1494
- });
1495
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1496
- const doc = smithyClient.take(data, {
1497
- tags: smithyClient._json,
1498
- });
1499
- Object.assign(contents, doc);
1500
- return contents;
1501
- };
1502
- const de_StartPolicyGenerationCommand = async (output, context) => {
1503
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1504
- return de_CommandError(output, context);
1505
- }
1506
- const contents = smithyClient.map({
1507
- $metadata: deserializeMetadata(output),
1508
- });
1509
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1510
- const doc = smithyClient.take(data, {
1511
- jobId: smithyClient.expectString,
1512
- });
1513
- Object.assign(contents, doc);
1514
- return contents;
1515
- };
1516
- const de_StartResourceScanCommand = async (output, context) => {
1517
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1518
- return de_CommandError(output, context);
1519
- }
1520
- const contents = smithyClient.map({
1521
- $metadata: deserializeMetadata(output),
1522
- });
1523
- await smithyClient.collectBody(output.body, context);
1524
- return contents;
1525
- };
1526
- const de_TagResourceCommand = async (output, context) => {
1527
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1528
- return de_CommandError(output, context);
1529
- }
1530
- const contents = smithyClient.map({
1531
- $metadata: deserializeMetadata(output),
1532
- });
1533
- await smithyClient.collectBody(output.body, context);
1534
- return contents;
1535
- };
1536
- const de_UntagResourceCommand = async (output, context) => {
1537
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1538
- return de_CommandError(output, context);
1539
- }
1540
- const contents = smithyClient.map({
1541
- $metadata: deserializeMetadata(output),
1542
- });
1543
- await smithyClient.collectBody(output.body, context);
1544
- return contents;
1545
- };
1546
- const de_UpdateAnalyzerCommand = async (output, context) => {
1547
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1548
- return de_CommandError(output, context);
1549
- }
1550
- const contents = smithyClient.map({
1551
- $metadata: deserializeMetadata(output),
1552
- });
1553
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1554
- const doc = smithyClient.take(data, {
1555
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1556
- });
1557
- Object.assign(contents, doc);
1558
- return contents;
1559
- };
1560
- const de_UpdateArchiveRuleCommand = async (output, context) => {
1561
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1562
- return de_CommandError(output, context);
1563
- }
1564
- const contents = smithyClient.map({
1565
- $metadata: deserializeMetadata(output),
1566
- });
1567
- await smithyClient.collectBody(output.body, context);
1568
- return contents;
1569
- };
1570
- const de_UpdateFindingsCommand = async (output, context) => {
1571
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1572
- return de_CommandError(output, context);
1573
- }
1574
- const contents = smithyClient.map({
1575
- $metadata: deserializeMetadata(output),
1576
- });
1577
- await smithyClient.collectBody(output.body, context);
1578
- return contents;
1579
- };
1580
- const de_ValidatePolicyCommand = async (output, context) => {
1581
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1582
- return de_CommandError(output, context);
1583
- }
1584
- const contents = smithyClient.map({
1585
- $metadata: deserializeMetadata(output),
1586
- });
1587
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1588
- const doc = smithyClient.take(data, {
1589
- findings: smithyClient._json,
1590
- nextToken: smithyClient.expectString,
1591
- });
1592
- Object.assign(contents, doc);
1593
- return contents;
1594
- };
1595
- const de_CommandError = async (output, context) => {
1596
- const parsedOutput = {
1597
- ...output,
1598
- body: await core$1.parseJsonErrorBody(output.body, context),
1599
- };
1600
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1601
- switch (errorCode) {
1602
- case "AccessDeniedException":
1603
- case "com.amazonaws.accessanalyzer#AccessDeniedException":
1604
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1605
- case "InternalServerException":
1606
- case "com.amazonaws.accessanalyzer#InternalServerException":
1607
- throw await de_InternalServerExceptionRes(parsedOutput);
1608
- case "ResourceNotFoundException":
1609
- case "com.amazonaws.accessanalyzer#ResourceNotFoundException":
1610
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1611
- case "ThrottlingException":
1612
- case "com.amazonaws.accessanalyzer#ThrottlingException":
1613
- throw await de_ThrottlingExceptionRes(parsedOutput);
1614
- case "ValidationException":
1615
- case "com.amazonaws.accessanalyzer#ValidationException":
1616
- throw await de_ValidationExceptionRes(parsedOutput);
1617
- case "InvalidParameterException":
1618
- case "com.amazonaws.accessanalyzer#InvalidParameterException":
1619
- throw await de_InvalidParameterExceptionRes(parsedOutput);
1620
- case "UnprocessableEntityException":
1621
- case "com.amazonaws.accessanalyzer#UnprocessableEntityException":
1622
- throw await de_UnprocessableEntityExceptionRes(parsedOutput);
1623
- case "ConflictException":
1624
- case "com.amazonaws.accessanalyzer#ConflictException":
1625
- throw await de_ConflictExceptionRes(parsedOutput);
1626
- case "ServiceQuotaExceededException":
1627
- case "com.amazonaws.accessanalyzer#ServiceQuotaExceededException":
1628
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1629
- default:
1630
- const parsedBody = parsedOutput.body;
1631
- return throwDefaultError({
1632
- output,
1633
- parsedBody,
1634
- errorCode,
1635
- });
1636
- }
1637
- };
1638
- const throwDefaultError = smithyClient.withBaseException(AccessAnalyzerServiceException);
1639
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1640
- const contents = smithyClient.map({});
1641
- const data = parsedOutput.body;
1642
- const doc = smithyClient.take(data, {
1643
- message: smithyClient.expectString,
1644
- });
1645
- Object.assign(contents, doc);
1646
- const exception = new AccessDeniedException({
1647
- $metadata: deserializeMetadata(parsedOutput),
1648
- ...contents,
1649
- });
1650
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1651
- };
1652
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1653
- const contents = smithyClient.map({});
1654
- const data = parsedOutput.body;
1655
- const doc = smithyClient.take(data, {
1656
- message: smithyClient.expectString,
1657
- resourceId: smithyClient.expectString,
1658
- resourceType: smithyClient.expectString,
1659
- });
1660
- Object.assign(contents, doc);
1661
- const exception = new ConflictException({
1662
- $metadata: deserializeMetadata(parsedOutput),
1663
- ...contents,
1664
- });
1665
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1666
- };
1667
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1668
- const contents = smithyClient.map({
1669
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1670
- });
1671
- const data = parsedOutput.body;
1672
- const doc = smithyClient.take(data, {
1673
- message: smithyClient.expectString,
1674
- });
1675
- Object.assign(contents, doc);
1676
- const exception = new InternalServerException({
1677
- $metadata: deserializeMetadata(parsedOutput),
1678
- ...contents,
1679
- });
1680
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1681
- };
1682
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1683
- const contents = smithyClient.map({});
1684
- const data = parsedOutput.body;
1685
- const doc = smithyClient.take(data, {
1686
- message: smithyClient.expectString,
1687
- });
1688
- Object.assign(contents, doc);
1689
- const exception = new InvalidParameterException({
1690
- $metadata: deserializeMetadata(parsedOutput),
1691
- ...contents,
1692
- });
1693
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1694
- };
1695
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1696
- const contents = smithyClient.map({});
1697
- const data = parsedOutput.body;
1698
- const doc = smithyClient.take(data, {
1699
- message: smithyClient.expectString,
1700
- resourceId: smithyClient.expectString,
1701
- resourceType: smithyClient.expectString,
1702
- });
1703
- Object.assign(contents, doc);
1704
- const exception = new ResourceNotFoundException({
1705
- $metadata: deserializeMetadata(parsedOutput),
1706
- ...contents,
1707
- });
1708
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1709
- };
1710
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1711
- const contents = smithyClient.map({});
1712
- const data = parsedOutput.body;
1713
- const doc = smithyClient.take(data, {
1714
- message: smithyClient.expectString,
1715
- resourceId: smithyClient.expectString,
1716
- resourceType: smithyClient.expectString,
1717
- });
1718
- Object.assign(contents, doc);
1719
- const exception = new ServiceQuotaExceededException({
1720
- $metadata: deserializeMetadata(parsedOutput),
1721
- ...contents,
1722
- });
1723
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1724
- };
1725
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1726
- const contents = smithyClient.map({
1727
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1728
- });
1729
- const data = parsedOutput.body;
1730
- const doc = smithyClient.take(data, {
1731
- message: smithyClient.expectString,
1732
- });
1733
- Object.assign(contents, doc);
1734
- const exception = new ThrottlingException({
1735
- $metadata: deserializeMetadata(parsedOutput),
1736
- ...contents,
1737
- });
1738
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1739
- };
1740
- const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
1741
- const contents = smithyClient.map({});
1742
- const data = parsedOutput.body;
1743
- const doc = smithyClient.take(data, {
1744
- message: smithyClient.expectString,
1745
- });
1746
- Object.assign(contents, doc);
1747
- const exception = new UnprocessableEntityException({
1748
- $metadata: deserializeMetadata(parsedOutput),
1749
- ...contents,
1750
- });
1751
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1752
- };
1753
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1754
- const contents = smithyClient.map({});
1755
- const data = parsedOutput.body;
1756
- const doc = smithyClient.take(data, {
1757
- fieldList: smithyClient._json,
1758
- message: smithyClient.expectString,
1759
- reason: smithyClient.expectString,
1760
- });
1761
- Object.assign(contents, doc);
1762
- const exception = new ValidationException({
1763
- $metadata: deserializeMetadata(parsedOutput),
1764
- ...contents,
1765
- });
1766
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1767
- };
1768
- const se_CloudTrailDetails = (input, context) => {
1769
- return smithyClient.take(input, {
1770
- accessRole: [],
1771
- endTime: smithyClient.serializeDateTime,
1772
- startTime: smithyClient.serializeDateTime,
1773
- trails: smithyClient._json,
1774
- });
1775
- };
1776
- const de_AccessPreview = (output, context) => {
1777
- return smithyClient.take(output, {
1778
- analyzerArn: smithyClient.expectString,
1779
- configurations: smithyClient._json,
1780
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1781
- id: smithyClient.expectString,
1782
- status: smithyClient.expectString,
1783
- statusReason: smithyClient._json,
1784
- });
1785
- };
1786
- const de_AccessPreviewFinding = (output, context) => {
1787
- return smithyClient.take(output, {
1788
- action: smithyClient._json,
1789
- changeType: smithyClient.expectString,
1790
- condition: smithyClient._json,
1791
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1792
- error: smithyClient.expectString,
1793
- existingFindingId: smithyClient.expectString,
1794
- existingFindingStatus: smithyClient.expectString,
1795
- id: smithyClient.expectString,
1796
- isPublic: smithyClient.expectBoolean,
1797
- principal: smithyClient._json,
1798
- resource: smithyClient.expectString,
1799
- resourceControlPolicyRestriction: smithyClient.expectString,
1800
- resourceOwnerAccount: smithyClient.expectString,
1801
- resourceType: smithyClient.expectString,
1802
- sources: smithyClient._json,
1803
- status: smithyClient.expectString,
1804
- });
1805
- };
1806
- const de_AccessPreviewFindingsList = (output, context) => {
1807
- const retVal = (output || [])
1808
- .filter((e) => e != null)
1809
- .map((entry) => {
1810
- return de_AccessPreviewFinding(entry);
1811
- });
1812
- return retVal;
1813
- };
1814
- const de_AccessPreviewsList = (output, context) => {
1815
- const retVal = (output || [])
1816
- .filter((e) => e != null)
1817
- .map((entry) => {
1818
- return de_AccessPreviewSummary(entry);
1819
- });
1820
- return retVal;
1821
- };
1822
- const de_AccessPreviewSummary = (output, context) => {
1823
- return smithyClient.take(output, {
1824
- analyzerArn: smithyClient.expectString,
1825
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1826
- id: smithyClient.expectString,
1827
- status: smithyClient.expectString,
1828
- statusReason: smithyClient._json,
1829
- });
1830
- };
1831
- const de_AnalyzedResource = (output, context) => {
1832
- return smithyClient.take(output, {
1833
- actions: smithyClient._json,
1834
- analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1835
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1836
- error: smithyClient.expectString,
1837
- isPublic: smithyClient.expectBoolean,
1838
- resourceArn: smithyClient.expectString,
1839
- resourceOwnerAccount: smithyClient.expectString,
1840
- resourceType: smithyClient.expectString,
1841
- sharedVia: smithyClient._json,
1842
- status: smithyClient.expectString,
1843
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1844
- });
1845
- };
1846
- const de_AnalyzersList = (output, context) => {
1847
- const retVal = (output || [])
1848
- .filter((e) => e != null)
1849
- .map((entry) => {
1850
- return de_AnalyzerSummary(entry);
1851
- });
1852
- return retVal;
1853
- };
1854
- const de_AnalyzerSummary = (output, context) => {
1855
- return smithyClient.take(output, {
1856
- arn: smithyClient.expectString,
1857
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1858
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1859
- lastResourceAnalyzed: smithyClient.expectString,
1860
- lastResourceAnalyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1861
- name: smithyClient.expectString,
1862
- status: smithyClient.expectString,
1863
- statusReason: smithyClient._json,
1864
- tags: smithyClient._json,
1865
- type: smithyClient.expectString,
1866
- });
1867
- };
1868
- const de_ArchiveRulesList = (output, context) => {
1869
- const retVal = (output || [])
1870
- .filter((e) => e != null)
1871
- .map((entry) => {
1872
- return de_ArchiveRuleSummary(entry);
1873
- });
1874
- return retVal;
1875
- };
1876
- const de_ArchiveRuleSummary = (output, context) => {
1877
- return smithyClient.take(output, {
1878
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1879
- filter: smithyClient._json,
1880
- ruleName: smithyClient.expectString,
1881
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1882
- });
1883
- };
1884
- const de_CloudTrailProperties = (output, context) => {
1885
- return smithyClient.take(output, {
1886
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1887
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1888
- trailProperties: smithyClient._json,
1889
- });
1890
- };
1891
- const de_Finding = (output, context) => {
1892
- return smithyClient.take(output, {
1893
- action: smithyClient._json,
1894
- analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1895
- condition: smithyClient._json,
1896
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1897
- error: smithyClient.expectString,
1898
- id: smithyClient.expectString,
1899
- isPublic: smithyClient.expectBoolean,
1900
- principal: smithyClient._json,
1901
- resource: smithyClient.expectString,
1902
- resourceControlPolicyRestriction: smithyClient.expectString,
1903
- resourceOwnerAccount: smithyClient.expectString,
1904
- resourceType: smithyClient.expectString,
1905
- sources: smithyClient._json,
1906
- status: smithyClient.expectString,
1907
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1908
- });
1909
- };
1910
- const de_FindingDetails = (output, context) => {
1911
- if (output.externalAccessDetails != null) {
1912
- return {
1913
- externalAccessDetails: smithyClient._json(output.externalAccessDetails),
1914
- };
1915
- }
1916
- if (output.internalAccessDetails != null) {
1917
- return {
1918
- internalAccessDetails: smithyClient._json(output.internalAccessDetails),
1919
- };
1920
- }
1921
- if (output.unusedIamRoleDetails != null) {
1922
- return {
1923
- unusedIamRoleDetails: de_UnusedIamRoleDetails(output.unusedIamRoleDetails),
1924
- };
1925
- }
1926
- if (output.unusedIamUserAccessKeyDetails != null) {
1927
- return {
1928
- unusedIamUserAccessKeyDetails: de_UnusedIamUserAccessKeyDetails(output.unusedIamUserAccessKeyDetails),
1929
- };
1930
- }
1931
- if (output.unusedIamUserPasswordDetails != null) {
1932
- return {
1933
- unusedIamUserPasswordDetails: de_UnusedIamUserPasswordDetails(output.unusedIamUserPasswordDetails),
1934
- };
1935
- }
1936
- if (output.unusedPermissionDetails != null) {
1937
- return {
1938
- unusedPermissionDetails: de_UnusedPermissionDetails(output.unusedPermissionDetails),
1939
- };
1940
- }
1941
- return { $unknown: Object.entries(output)[0] };
1942
- };
1943
- const de_FindingDetailsList = (output, context) => {
1944
- const retVal = (output || [])
1945
- .filter((e) => e != null)
1946
- .map((entry) => {
1947
- return de_FindingDetails(core$1.awsExpectUnion(entry));
1948
- });
1949
- return retVal;
1950
- };
1951
- const de_FindingsList = (output, context) => {
1952
- const retVal = (output || [])
1953
- .filter((e) => e != null)
1954
- .map((entry) => {
1955
- return de_FindingSummary(entry);
1956
- });
1957
- return retVal;
1958
- };
1959
- const de_FindingsListV2 = (output, context) => {
1960
- const retVal = (output || [])
1961
- .filter((e) => e != null)
1962
- .map((entry) => {
1963
- return de_FindingSummaryV2(entry);
1964
- });
1965
- return retVal;
1966
- };
1967
- const de_FindingSummary = (output, context) => {
1968
- return smithyClient.take(output, {
1969
- action: smithyClient._json,
1970
- analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1971
- condition: smithyClient._json,
1972
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1973
- error: smithyClient.expectString,
1974
- id: smithyClient.expectString,
1975
- isPublic: smithyClient.expectBoolean,
1976
- principal: smithyClient._json,
1977
- resource: smithyClient.expectString,
1978
- resourceControlPolicyRestriction: smithyClient.expectString,
1979
- resourceOwnerAccount: smithyClient.expectString,
1980
- resourceType: smithyClient.expectString,
1981
- sources: smithyClient._json,
1982
- status: smithyClient.expectString,
1983
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1984
- });
1985
- };
1986
- const de_FindingSummaryV2 = (output, context) => {
1987
- return smithyClient.take(output, {
1988
- analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1989
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1990
- error: smithyClient.expectString,
1991
- findingType: smithyClient.expectString,
1992
- id: smithyClient.expectString,
1993
- resource: smithyClient.expectString,
1994
- resourceOwnerAccount: smithyClient.expectString,
1995
- resourceType: smithyClient.expectString,
1996
- status: smithyClient.expectString,
1997
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1998
- });
1999
- };
2000
- const de_GeneratedPolicyProperties = (output, context) => {
2001
- return smithyClient.take(output, {
2002
- cloudTrailProperties: (_) => de_CloudTrailProperties(_),
2003
- isComplete: smithyClient.expectBoolean,
2004
- principalArn: smithyClient.expectString,
2005
- });
2006
- };
2007
- const de_GeneratedPolicyResult = (output, context) => {
2008
- return smithyClient.take(output, {
2009
- generatedPolicies: smithyClient._json,
2010
- properties: (_) => de_GeneratedPolicyProperties(_),
2011
- });
2012
- };
2013
- const de_JobDetails = (output, context) => {
2014
- return smithyClient.take(output, {
2015
- completedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2016
- jobError: smithyClient._json,
2017
- jobId: smithyClient.expectString,
2018
- startedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2019
- status: smithyClient.expectString,
2020
- });
2021
- };
2022
- const de_PolicyGeneration = (output, context) => {
2023
- return smithyClient.take(output, {
2024
- completedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2025
- jobId: smithyClient.expectString,
2026
- principalArn: smithyClient.expectString,
2027
- startedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2028
- status: smithyClient.expectString,
2029
- });
2030
- };
2031
- const de_PolicyGenerationList = (output, context) => {
2032
- const retVal = (output || [])
2033
- .filter((e) => e != null)
2034
- .map((entry) => {
2035
- return de_PolicyGeneration(entry);
2036
- });
2037
- return retVal;
2038
- };
2039
- const de_RecommendedStep = (output, context) => {
2040
- if (output.unusedPermissionsRecommendedStep != null) {
2041
- return {
2042
- unusedPermissionsRecommendedStep: de_UnusedPermissionsRecommendedStep(output.unusedPermissionsRecommendedStep),
2043
- };
2044
- }
2045
- return { $unknown: Object.entries(output)[0] };
2046
- };
2047
- const de_RecommendedStepList = (output, context) => {
2048
- const retVal = (output || [])
2049
- .filter((e) => e != null)
2050
- .map((entry) => {
2051
- return de_RecommendedStep(core$1.awsExpectUnion(entry));
2052
- });
2053
- return retVal;
2054
- };
2055
- const de_UnusedAction = (output, context) => {
2056
- return smithyClient.take(output, {
2057
- action: smithyClient.expectString,
2058
- lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2059
- });
2060
- };
2061
- const de_UnusedActionList = (output, context) => {
2062
- const retVal = (output || [])
2063
- .filter((e) => e != null)
2064
- .map((entry) => {
2065
- return de_UnusedAction(entry);
2066
- });
2067
- return retVal;
2068
- };
2069
- const de_UnusedIamRoleDetails = (output, context) => {
2070
- return smithyClient.take(output, {
2071
- lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2072
- });
2073
- };
2074
- const de_UnusedIamUserAccessKeyDetails = (output, context) => {
2075
- return smithyClient.take(output, {
2076
- accessKeyId: smithyClient.expectString,
2077
- lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2078
- });
2079
- };
2080
- const de_UnusedIamUserPasswordDetails = (output, context) => {
2081
- return smithyClient.take(output, {
2082
- lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2083
- });
2084
- };
2085
- const de_UnusedPermissionDetails = (output, context) => {
2086
- return smithyClient.take(output, {
2087
- actions: (_) => de_UnusedActionList(_),
2088
- lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2089
- serviceNamespace: smithyClient.expectString,
2090
- });
2091
- };
2092
- const de_UnusedPermissionsRecommendedStep = (output, context) => {
2093
- return smithyClient.take(output, {
2094
- existingPolicyId: smithyClient.expectString,
2095
- policyUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2096
- recommendedAction: smithyClient.expectString,
2097
- recommendedPolicy: smithyClient.expectString,
2098
- });
2099
- };
2100
- const deserializeMetadata = (output) => ({
2101
- httpStatusCode: output.statusCode,
2102
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2103
- extendedRequestId: output.headers["x-amz-id-2"],
2104
- cfId: output.headers["x-amz-cf-id"],
2105
- });
426
+ const _A = "Access";
427
+ const _AA = "AccountAggregations";
428
+ const _AAR = "ApplyArchiveRule";
429
+ const _AARR = "ApplyArchiveRuleRequest";
430
+ const _AC = "AnalyzerConfiguration";
431
+ const _ACPD = "AccessCheckPolicyDocument";
432
+ const _ADE = "AccessDeniedException";
433
+ const _AG = "AclGrantee";
434
+ const _AL = "AccessList";
435
+ const _ALn = "AnalyzersList";
436
+ const _AP = "AccessPreview";
437
+ const _APF = "AccessPreviewFinding";
438
+ const _APFL = "AccessPreviewFindingsList";
439
+ const _APL = "AccessPreviewsList";
440
+ const _APS = "AccessPreviewSummary";
441
+ const _APSR = "AccessPreviewStatusReason";
442
+ const _AR = "AnalysisRule";
443
+ const _ARC = "AnalysisRuleCriteria";
444
+ const _ARCL = "AnalysisRuleCriteriaList";
445
+ const _ARL = "AnalyzedResourcesList";
446
+ const _ARLr = "ArchiveRulesList";
447
+ const _ARS = "AnalyzedResourceSummary";
448
+ const _ARSr = "ArchiveRuleSummary";
449
+ const _ARn = "AnalyzedResource";
450
+ const _AS = "AnalyzerSummary";
451
+ const _C = "Criterion";
452
+ const _CA = "CreateAnalyzer";
453
+ const _CANG = "CheckAccessNotGranted";
454
+ const _CANGR = "CheckAccessNotGrantedRequest";
455
+ const _CANGRh = "CheckAccessNotGrantedResponse";
456
+ const _CAP = "CreateAccessPreview";
457
+ const _CAPR = "CreateAccessPreviewRequest";
458
+ const _CAPRr = "CreateAccessPreviewResponse";
459
+ const _CAR = "CreateAnalyzerRequest";
460
+ const _CARR = "CreateArchiveRuleRequest";
461
+ const _CARr = "CreateAnalyzerResponse";
462
+ const _CARre = "CreateArchiveRule";
463
+ const _CE = "ConflictException";
464
+ const _CM = "ConfigurationsMap";
465
+ const _CNNA = "CheckNoNewAccess";
466
+ const _CNNAR = "CheckNoNewAccessRequest";
467
+ const _CNNARh = "CheckNoNewAccessResponse";
468
+ const _CNPA = "CheckNoPublicAccess";
469
+ const _CNPAR = "CheckNoPublicAccessRequest";
470
+ const _CNPARh = "CheckNoPublicAccessResponse";
471
+ const _CPG = "CancelPolicyGeneration";
472
+ const _CPGR = "CancelPolicyGenerationRequest";
473
+ const _CPGRa = "CancelPolicyGenerationResponse";
474
+ const _CTD = "CloudTrailDetails";
475
+ const _CTP = "CloudTrailProperties";
476
+ const _Co = "Configuration";
477
+ const _DA = "DeleteAnalyzer";
478
+ const _DAR = "DeleteAnalyzerRequest";
479
+ const _DARR = "DeleteArchiveRuleRequest";
480
+ const _DARe = "DeleteArchiveRule";
481
+ const _DSC = "DynamodbStreamConfiguration";
482
+ const _DTC = "DynamodbTableConfiguration";
483
+ const _EAD = "ExternalAccessDetails";
484
+ const _EAFS = "ExternalAccessFindingsStatistics";
485
+ const _EFSC = "EfsFileSystemConfiguration";
486
+ const _ERC = "EcrRepositoryConfiguration";
487
+ const _ESC = "EbsSnapshotConfiguration";
488
+ const _F = "Finding";
489
+ const _FAAD = "FindingAggregationAccountDetails";
490
+ const _FCM = "FilterCriteriaMap";
491
+ const _FD = "FindingDetails";
492
+ const _FDL = "FindingDetailsList";
493
+ const _FL = "FindingsList";
494
+ const _FLV = "FindingsListV2";
495
+ const _FS = "FindingSource";
496
+ const _FSD = "FindingSourceDetail";
497
+ const _FSL = "FindingSourceList";
498
+ const _FSLi = "FindingsStatisticsList";
499
+ const _FSV = "FindingSummaryV2";
500
+ const _FSi = "FindingSummary";
501
+ const _FSin = "FindingsStatistics";
502
+ const _GA = "GetAnalyzer";
503
+ const _GAP = "GetAccessPreview";
504
+ const _GAPR = "GetAccessPreviewRequest";
505
+ const _GAPRe = "GetAccessPreviewResponse";
506
+ const _GAR = "GetAnalyzerRequest";
507
+ const _GARR = "GetAnalyzedResourceRequest";
508
+ const _GARRe = "GetAnalyzedResourceResponse";
509
+ const _GARRet = "GetArchiveRuleRequest";
510
+ const _GARRetr = "GetArchiveRuleResponse";
511
+ const _GARe = "GetAnalyzerResponse";
512
+ const _GARet = "GetAnalyzedResource";
513
+ const _GARetr = "GetArchiveRule";
514
+ const _GF = "GetFinding";
515
+ const _GFR = "GetFindingRequest";
516
+ const _GFRR = "GenerateFindingRecommendationRequest";
517
+ const _GFRRe = "GetFindingRecommendationRequest";
518
+ const _GFRRet = "GetFindingRecommendationResponse";
519
+ const _GFRe = "GetFindingResponse";
520
+ const _GFRen = "GenerateFindingRecommendation";
521
+ const _GFRet = "GetFindingRecommendation";
522
+ const _GFS = "GetFindingsStatistics";
523
+ const _GFSR = "GetFindingsStatisticsRequest";
524
+ const _GFSRe = "GetFindingsStatisticsResponse";
525
+ const _GFV = "GetFindingV2";
526
+ const _GFVR = "GetFindingV2Request";
527
+ const _GFVRe = "GetFindingV2Response";
528
+ const _GGP = "GetGeneratedPolicy";
529
+ const _GGPR = "GetGeneratedPolicyRequest";
530
+ const _GGPRe = "GetGeneratedPolicyResponse";
531
+ const _GP = "GeneratedPolicy";
532
+ const _GPL = "GeneratedPolicyList";
533
+ const _GPP = "GeneratedPolicyProperties";
534
+ const _GPR = "GeneratedPolicyResult";
535
+ const _IAAR = "InternalAccessAnalysisRule";
536
+ const _IAARC = "InternalAccessAnalysisRuleCriteria";
537
+ const _IAARCL = "InternalAccessAnalysisRuleCriteriaList";
538
+ const _IAC = "InternalAccessConfiguration";
539
+ const _IAD = "InternalAccessDetails";
540
+ const _IAFS = "InternalAccessFindingsStatistics";
541
+ const _IAR = "InlineArchiveRule";
542
+ const _IARL = "InlineArchiveRulesList";
543
+ const _IARTD = "InternalAccessResourceTypeDetails";
544
+ const _IARTSM = "InternalAccessResourceTypeStatisticsMap";
545
+ const _IC = "InternetConfiguration";
546
+ const _IPE = "InvalidParameterException";
547
+ const _IRC = "IamRoleConfiguration";
548
+ const _ISE = "InternalServerException";
549
+ const _JD = "JobDetails";
550
+ const _JE = "JobError";
551
+ const _KGC = "KmsGrantConfiguration";
552
+ const _KGCL = "KmsGrantConfigurationsList";
553
+ const _KGCm = "KmsGrantConstraints";
554
+ const _KKC = "KmsKeyConfiguration";
555
+ const _L = "Location";
556
+ const _LA = "ListAnalyzers";
557
+ const _LAP = "ListAccessPreviews";
558
+ const _LAPF = "ListAccessPreviewFindings";
559
+ const _LAPFR = "ListAccessPreviewFindingsRequest";
560
+ const _LAPFRi = "ListAccessPreviewFindingsResponse";
561
+ const _LAPR = "ListAccessPreviewsRequest";
562
+ const _LAPRi = "ListAccessPreviewsResponse";
563
+ const _LAR = "ListAnalyzersRequest";
564
+ const _LARR = "ListAnalyzedResourcesRequest";
565
+ const _LARRi = "ListAnalyzedResourcesResponse";
566
+ const _LARRis = "ListArchiveRulesRequest";
567
+ const _LARRist = "ListArchiveRulesResponse";
568
+ const _LARi = "ListAnalyzersResponse";
569
+ const _LARis = "ListAnalyzedResources";
570
+ const _LARist = "ListArchiveRules";
571
+ const _LF = "ListFindings";
572
+ const _LFR = "ListFindingsRequest";
573
+ const _LFRi = "ListFindingsResponse";
574
+ const _LFV = "ListFindingsV2";
575
+ const _LFVR = "ListFindingsV2Request";
576
+ const _LFVRi = "ListFindingsV2Response";
577
+ const _LL = "LocationList";
578
+ const _LPG = "ListPolicyGenerations";
579
+ const _LPGR = "ListPolicyGenerationsRequest";
580
+ const _LPGRi = "ListPolicyGenerationsResponse";
581
+ const _LTFR = "ListTagsForResource";
582
+ const _LTFRR = "ListTagsForResourceRequest";
583
+ const _LTFRRi = "ListTagsForResourceResponse";
584
+ const _NOC = "NetworkOriginConfiguration";
585
+ const _P = "Position";
586
+ const _PE = "PathElement";
587
+ const _PEL = "PathElementList";
588
+ const _PG = "PolicyGeneration";
589
+ const _PGD = "PolicyGenerationDetails";
590
+ const _PGL = "PolicyGenerationList";
591
+ const _RA = "Retry-After";
592
+ const _RDCSAM = "RdsDbClusterSnapshotAttributesMap";
593
+ const _RDCSAV = "RdsDbClusterSnapshotAttributeValue";
594
+ const _RDCSC = "RdsDbClusterSnapshotConfiguration";
595
+ const _RDSAM = "RdsDbSnapshotAttributesMap";
596
+ const _RDSAV = "RdsDbSnapshotAttributeValue";
597
+ const _RDSC = "RdsDbSnapshotConfiguration";
598
+ const _RE = "RecommendationError";
599
+ const _RNFE = "ResourceNotFoundException";
600
+ const _RS = "ReasonSummary";
601
+ const _RSL = "ReasonSummaryList";
602
+ const _RSLe = "RecommendedStepList";
603
+ const _RSe = "RecommendedStep";
604
+ const _RTD = "ResourceTypeDetails";
605
+ const _RTSM = "ResourceTypeStatisticsMap";
606
+ const _S = "Span";
607
+ const _SAPC = "S3AccessPointConfiguration";
608
+ const _SAPCM = "S3AccessPointConfigurationsMap";
609
+ const _SBAGC = "S3BucketAclGrantConfiguration";
610
+ const _SBAGCL = "S3BucketAclGrantConfigurationsList";
611
+ const _SBC = "S3BucketConfiguration";
612
+ const _SC = "SortCriteria";
613
+ const _SEDAPC = "S3ExpressDirectoryAccessPointConfiguration";
614
+ const _SEDAPCM = "S3ExpressDirectoryAccessPointConfigurationsMap";
615
+ const _SEDBC = "S3ExpressDirectoryBucketConfiguration";
616
+ const _SMSC = "SecretsManagerSecretConfiguration";
617
+ const _SPABC = "S3PublicAccessBlockConfiguration";
618
+ const _SPG = "StartPolicyGeneration";
619
+ const _SPGR = "StartPolicyGenerationRequest";
620
+ const _SPGRt = "StartPolicyGenerationResponse";
621
+ const _SQC = "SqsQueueConfiguration";
622
+ const _SQEE = "ServiceQuotaExceededException";
623
+ const _SR = "StatusReason";
624
+ const _SRS = "StartResourceScan";
625
+ const _SRSR = "StartResourceScanRequest";
626
+ const _STC = "SnsTopicConfiguration";
627
+ const _Su = "Substring";
628
+ const _T = "Trail";
629
+ const _TE = "ThrottlingException";
630
+ const _TL = "TagsList";
631
+ const _TLr = "TrailList";
632
+ const _TP = "TrailProperties";
633
+ const _TPL = "TrailPropertiesList";
634
+ const _TR = "TagResource";
635
+ const _TRR = "TagResourceRequest";
636
+ const _TRRa = "TagResourceResponse";
637
+ const _UA = "UnusedAction";
638
+ const _UAC = "UnusedAccessConfiguration";
639
+ const _UAFS = "UnusedAccessFindingsStatistics";
640
+ const _UAL = "UnusedActionList";
641
+ const _UAR = "UpdateAnalyzerRequest";
642
+ const _UARR = "UpdateArchiveRuleRequest";
643
+ const _UARp = "UpdateAnalyzerResponse";
644
+ const _UARpd = "UpdateArchiveRule";
645
+ const _UATS = "UnusedAccessTypeStatistics";
646
+ const _UATSL = "UnusedAccessTypeStatisticsList";
647
+ const _UAp = "UpdateAnalyzer";
648
+ const _UEE = "UnprocessableEntityException";
649
+ const _UF = "UpdateFindings";
650
+ const _UFR = "UpdateFindingsRequest";
651
+ const _UIRD = "UnusedIamRoleDetails";
652
+ const _UIUAKD = "UnusedIamUserAccessKeyDetails";
653
+ const _UIUPD = "UnusedIamUserPasswordDetails";
654
+ const _UPD = "UnusedPermissionDetails";
655
+ const _UPRS = "UnusedPermissionsRecommendedStep";
656
+ const _UR = "UntagResource";
657
+ const _URR = "UntagResourceRequest";
658
+ const _URRn = "UntagResourceResponse";
659
+ const _VC = "VpcConfiguration";
660
+ const _VE = "ValidationException";
661
+ const _VEF = "ValidationExceptionField";
662
+ const _VEFL = "ValidationExceptionFieldList";
663
+ const _VP = "ValidatePolicy";
664
+ const _VPF = "ValidatePolicyFinding";
665
+ const _VPFL = "ValidatePolicyFindingList";
666
+ const _VPR = "ValidatePolicyRequest";
667
+ const _VPRa = "ValidatePolicyResponse";
668
+ const _a = "actions";
2106
669
  const _aA = "analyzerArn";
2107
- const _cT = "clientToken";
670
+ const _aAn = "analyzedAt";
671
+ const _aI = "accountIds";
672
+ const _aKI = "accessKeyId";
673
+ const _aN = "analyzerName";
674
+ const _aNt = "attributeName";
675
+ const _aP = "accessPreview";
676
+ const _aPA = "accessPointArn";
677
+ const _aPAc = "accessPointAccount";
678
+ const _aPI = "accessPreviewId";
679
+ const _aPP = "accessPointPolicy";
680
+ const _aPc = "accessPreviews";
681
+ const _aPcc = "accessPoints";
682
+ const _aR = "accessRole";
683
+ const _aRl = "allRegions";
684
+ const _aRn = "analysisRule";
685
+ const _aRna = "analyzedResources";
686
+ const _aRr = "archiveRules";
687
+ const _aRrc = "archiveRule";
688
+ const _aT = "accessType";
689
+ const _ac = "action";
690
+ const _acc = "access";
691
+ const _acco = "account";
692
+ const _an = "analyzer";
693
+ const _ana = "analyzers";
694
+ const _ar = "arn";
695
+ const _at = "attributes";
696
+ const _bAG = "bucketAclGrants";
697
+ const _bP = "bucketPolicy";
698
+ const _bPAB = "bucketPublicAccessBlock";
699
+ const _c = "client";
700
+ const _cA = "createdAt";
701
+ const _cAo = "completedAt";
702
+ const _cO = "completedOn";
703
+ const _cT = "changeType";
704
+ const _cTA = "cloudTrailArn";
705
+ const _cTD = "cloudTrailDetails";
706
+ const _cTP = "cloudTrailProperties";
707
+ const _cTl = "clientToken";
708
+ const _co = "configurations";
709
+ const _cod = "code";
710
+ const _col = "column";
711
+ const _con = "condition";
712
+ const _conf = "configuration";
713
+ const _cons = "constraints";
714
+ const _cont = "contains";
715
+ const _d = "details";
716
+ const _dS = "dynamodbStream";
717
+ const _dT = "dynamodbTable";
718
+ const _de = "detail";
719
+ const _des = "description";
720
+ const _e = "error";
721
+ const _eAD = "externalAccessDetails";
722
+ const _eAFS = "externalAccessFindingsStatistics";
723
+ const _eCE = "encryptionContextEquals";
724
+ const _eCS = "encryptionContextSubset";
725
+ const _eFI = "existingFindingId";
726
+ const _eFS = "existingFindingStatus";
727
+ const _eFSf = "efsFileSystem";
728
+ const _ePD = "existingPolicyDocument";
729
+ const _ePI = "existingPolicyId";
730
+ const _eR = "ecrRepository";
731
+ const _eS = "ebsSnapshot";
732
+ const _eT = "endTime";
733
+ const _en = "end";
734
+ const _eq = "eq";
735
+ const _ex = "exclusions";
736
+ const _exi = "exists";
737
+ const _f = "filter";
738
+ const _fD = "findingDetails";
739
+ const _fL = "fieldList";
740
+ const _fS = "findingsStatistics";
741
+ const _fSP = "fileSystemPolicy";
742
+ const _fT = "findingType";
743
+ const _fi = "finding";
744
+ const _fin = "findings";
745
+ const _g = "groups";
746
+ const _gP = "generatedPolicies";
747
+ const _gPR = "generatedPolicyResult";
748
+ const _gPr = "granteePrincipal";
749
+ const _gr = "grants";
750
+ const _gra = "grantee";
751
+ const _h = "http";
752
+ const _hE = "httpError";
753
+ const _hH = "httpHeader";
754
+ const _hQ = "httpQuery";
755
+ const _i = "id";
756
+ const _iA = "issuingAccount";
757
+ const _iAD = "internalAccessDetails";
758
+ const _iAFS = "internalAccessFindingsStatistics";
759
+ const _iAn = "internalAccess";
760
+ const _iC = "isComplete";
761
+ const _iCn = "internetConfiguration";
762
+ const _iCs = "issueCode";
763
+ const _iP = "isPublic";
764
+ const _iPA = "ignorePublicAcls";
765
+ const _iR = "iamRole";
2108
766
  const _iRP = "includeResourcePlaceholders";
2109
767
  const _iSLT = "includeServiceLevelTemplate";
768
+ const _iT = "idempotencyToken";
769
+ const _id = "ids";
770
+ const _in = "inclusions";
771
+ const _ind = "index";
772
+ const _jD = "jobDetails";
773
+ const _jE = "jobError";
774
+ const _jI = "jobId";
775
+ const _k = "key";
776
+ const _kK = "kmsKey";
777
+ const _kKI = "kmsKeyId";
778
+ const _kP = "keyPolicies";
779
+ const _l = "line";
780
+ const _lA = "lastAccessed";
781
+ const _lML = "learnMoreLink";
782
+ const _lRA = "lastResourceAnalyzed";
783
+ const _lRAA = "lastResourceAnalyzedAt";
784
+ const _lUA = "lastUpdatedAt";
785
+ const _le = "length";
786
+ const _lo = "locations";
787
+ const _loc = "locale";
788
+ const _m = "message";
2110
789
  const _mR = "maxResults";
790
+ const _n = "name";
791
+ const _nO = "networkOrigin";
792
+ const _nOAF = "numberOfActiveFindings";
793
+ const _nPD = "newPolicyDocument";
2111
794
  const _nT = "nextToken";
795
+ const _ne = "neq";
796
+ const _o = "operations";
797
+ const _oB = "orderBy";
798
+ const _of = "offset";
799
+ const _p = "principal";
2112
800
  const _pA = "principalArn";
801
+ const _pAB = "publicAccessBlock";
802
+ const _pD = "policyDocument";
803
+ const _pG = "policyGenerations";
804
+ const _pGD = "policyGenerationDetails";
805
+ const _pOA = "principalOwnerAccount";
806
+ const _pT = "policyType";
807
+ const _pTr = "principalType";
808
+ const _pUA = "policyUpdatedAt";
809
+ const _pa = "path";
810
+ const _pe = "permission";
811
+ const _po = "policy";
812
+ const _pr = "properties";
813
+ const _qP = "queuePolicy";
814
+ const _r = "resources";
2113
815
  const _rA = "resourceArn";
2114
816
  const _rAS = "retryAfterSeconds";
2115
- const _ra = "retry-after";
817
+ const _rAe = "resourceArns";
818
+ const _rAec = "recommendedAction";
819
+ const _rCPR = "resourceControlPolicyRestriction";
820
+ const _rDCS = "rdsDbClusterSnapshot";
821
+ const _rDS = "rdsDbSnapshot";
822
+ const _rI = "resourceId";
823
+ const _rN = "ruleName";
824
+ const _rOA = "resourceOwnerAccount";
825
+ const _rP = "repositoryPolicy";
826
+ const _rPB = "restrictPublicBuckets";
827
+ const _rPe = "retiringPrincipal";
828
+ const _rPec = "recommendedPolicy";
829
+ const _rS = "recommendedSteps";
830
+ const _rT = "resourceType";
831
+ const _rTS = "resourceTypeStatistics";
832
+ const _rTe = "resourceTags";
833
+ const _rTec = "recommendationType";
834
+ const _rTes = "resourceTypes";
835
+ const _re = "resource";
836
+ const _rea = "reasons";
837
+ const _reas = "reason";
838
+ const _reg = "regions";
839
+ const _res = "result";
840
+ const _s = "status";
841
+ const _sA = "startedAt";
842
+ const _sB = "s3Bucket";
843
+ const _sCPR = "serviceControlPolicyRestriction";
844
+ const _sEDB = "s3ExpressDirectoryBucket";
845
+ const _sI = "statementIndex";
846
+ const _sIt = "statementId";
847
+ const _sMS = "secretsManagerSecret";
848
+ const _sN = "serviceNamespace";
849
+ const _sO = "startedOn";
850
+ const _sP = "streamPolicy";
851
+ const _sPe = "secretPolicy";
852
+ const _sQ = "sqsQueue";
853
+ const _sR = "statusReason";
854
+ const _sT = "startTime";
855
+ const _sTn = "snsTopic";
856
+ const _sV = "sharedVia";
857
+ const _se = "server";
858
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.accessanalyzer";
859
+ const _so = "sources";
860
+ const _sor = "sort";
861
+ const _sp = "span";
862
+ const _st = "start";
863
+ const _su = "substring";
2116
864
  const _t = "type";
865
+ const _tA = "topAccounts";
866
+ const _tACA = "totalActiveCrossAccount";
867
+ const _tAE = "totalActiveErrors";
868
+ const _tAF = "totalActiveFindings";
869
+ const _tAFo = "totalArchivedFindings";
870
+ const _tAP = "totalActivePublic";
2117
871
  const _tK = "tagKeys";
872
+ const _tP = "trailProperties";
873
+ const _tPa = "tablePolicy";
874
+ const _tPo = "topicPolicy";
875
+ const _tPr = "trustPolicy";
876
+ const _tRF = "totalResolvedFindings";
877
+ const _ta = "tags";
878
+ const _to = "total";
879
+ const _tr = "trails";
880
+ const _u = "uri";
881
+ const _uA = "updatedAt";
882
+ const _uAA = "unusedAccessAge";
883
+ const _uAFS = "unusedAccessFindingsStatistics";
884
+ const _uAT = "unusedAccessType";
885
+ const _uATS = "unusedAccessTypeStatistics";
886
+ const _uAn = "unusedAccess";
887
+ const _uI = "userIds";
888
+ const _uIRD = "unusedIamRoleDetails";
889
+ const _uIUAKD = "unusedIamUserAccessKeyDetails";
890
+ const _uIUPD = "unusedIamUserPasswordDetails";
891
+ const _uPD = "unusedPermissionDetails";
892
+ const _uPRS = "unusedPermissionsRecommendedStep";
893
+ const _v = "value";
894
+ const _vC = "vpcConfiguration";
895
+ const _vI = "vpcId";
896
+ const _vPRT = "validatePolicyResourceType";
897
+ const n0 = "com.amazonaws.accessanalyzer";
898
+ var AccessCheckPolicyDocument = [0, n0, _ACPD, 8, 0];
899
+ var Access = [3, n0, _A, 0, [_a, _r], [64 | 0, 64 | 0]];
900
+ var AccessDeniedException = [
901
+ -3,
902
+ n0,
903
+ _ADE,
904
+ {
905
+ [_e]: _c,
906
+ [_hE]: 403,
907
+ },
908
+ [_m],
909
+ [0],
910
+ ];
911
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
912
+ var AccessPreview = [
913
+ 3,
914
+ n0,
915
+ _AP,
916
+ 0,
917
+ [_i, _aA, _co, _cA, _s, _sR],
918
+ [0, 0, () => ConfigurationsMap, 5, 0, () => AccessPreviewStatusReason],
919
+ ];
920
+ var AccessPreviewFinding = [
921
+ 3,
922
+ n0,
923
+ _APF,
924
+ 0,
925
+ [_i, _eFI, _eFS, _p, _ac, _con, _re, _iP, _rT, _cA, _cT, _s, _rOA, _e, _so, _rCPR],
926
+ [0, 0, 0, 128 | 0, 64 | 0, 128 | 0, 0, 2, 0, 5, 0, 0, 0, 0, () => FindingSourceList, 0],
927
+ ];
928
+ var AccessPreviewStatusReason = [3, n0, _APSR, 0, [_cod], [0]];
929
+ var AccessPreviewSummary = [
930
+ 3,
931
+ n0,
932
+ _APS,
933
+ 0,
934
+ [_i, _aA, _cA, _s, _sR],
935
+ [0, 0, 5, 0, () => AccessPreviewStatusReason],
936
+ ];
937
+ var AnalysisRule = [3, n0, _AR, 0, [_ex], [() => AnalysisRuleCriteriaList]];
938
+ var AnalysisRuleCriteria = [
939
+ 3,
940
+ n0,
941
+ _ARC,
942
+ 0,
943
+ [_aI, _rTe],
944
+ [64 | 0, [1, n0, _TL, 0, 128 | 0]],
945
+ ];
946
+ var AnalyzedResource = [
947
+ 3,
948
+ n0,
949
+ _ARn,
950
+ 0,
951
+ [_rA, _rT, _cA, _aAn, _uA, _iP, _a, _sV, _s, _rOA, _e],
952
+ [0, 0, 5, 5, 5, 2, 64 | 0, 64 | 0, 0, 0, 0],
953
+ ];
954
+ var AnalyzedResourceSummary = [3, n0, _ARS, 0, [_rA, _rOA, _rT], [0, 0, 0]];
955
+ var AnalyzerSummary = [
956
+ 3,
957
+ n0,
958
+ _AS,
959
+ 0,
960
+ [_ar, _n, _t, _cA, _lRA, _lRAA, _ta, _s, _sR, _conf],
961
+ [0, 0, 0, 5, 0, 5, 128 | 0, 0, () => StatusReason, () => AnalyzerConfiguration],
962
+ ];
963
+ var ApplyArchiveRuleRequest = [3, n0, _AARR, 0, [_aA, _rN, _cTl], [0, 0, [0, 4]]];
964
+ var ArchiveRuleSummary = [
965
+ 3,
966
+ n0,
967
+ _ARSr,
968
+ 0,
969
+ [_rN, _f, _cA, _uA],
970
+ [0, () => FilterCriteriaMap, 5, 5],
971
+ ];
972
+ var CancelPolicyGenerationRequest = [3, n0, _CPGR, 0, [_jI], [[0, 1]]];
973
+ var CancelPolicyGenerationResponse = [3, n0, _CPGRa, 0, [], []];
974
+ var CheckAccessNotGrantedRequest = [
975
+ 3,
976
+ n0,
977
+ _CANGR,
978
+ 0,
979
+ [_pD, _acc, _pT],
980
+ [[() => AccessCheckPolicyDocument, 0], () => AccessList, 0],
981
+ ];
982
+ var CheckAccessNotGrantedResponse = [
983
+ 3,
984
+ n0,
985
+ _CANGRh,
986
+ 0,
987
+ [_res, _m, _rea],
988
+ [0, 0, () => ReasonSummaryList],
989
+ ];
990
+ var CheckNoNewAccessRequest = [
991
+ 3,
992
+ n0,
993
+ _CNNAR,
994
+ 0,
995
+ [_nPD, _ePD, _pT],
996
+ [[() => AccessCheckPolicyDocument, 0], [() => AccessCheckPolicyDocument, 0], 0],
997
+ ];
998
+ var CheckNoNewAccessResponse = [
999
+ 3,
1000
+ n0,
1001
+ _CNNARh,
1002
+ 0,
1003
+ [_res, _m, _rea],
1004
+ [0, 0, () => ReasonSummaryList],
1005
+ ];
1006
+ var CheckNoPublicAccessRequest = [
1007
+ 3,
1008
+ n0,
1009
+ _CNPAR,
1010
+ 0,
1011
+ [_pD, _rT],
1012
+ [[() => AccessCheckPolicyDocument, 0], 0],
1013
+ ];
1014
+ var CheckNoPublicAccessResponse = [
1015
+ 3,
1016
+ n0,
1017
+ _CNPARh,
1018
+ 0,
1019
+ [_res, _m, _rea],
1020
+ [0, 0, () => ReasonSummaryList],
1021
+ ];
1022
+ var CloudTrailDetails = [
1023
+ 3,
1024
+ n0,
1025
+ _CTD,
1026
+ 0,
1027
+ [_tr, _aR, _sT, _eT],
1028
+ [() => TrailList, 0, 5, 5],
1029
+ ];
1030
+ var CloudTrailProperties = [
1031
+ 3,
1032
+ n0,
1033
+ _CTP,
1034
+ 0,
1035
+ [_tP, _sT, _eT],
1036
+ [() => TrailPropertiesList, 5, 5],
1037
+ ];
1038
+ var ConflictException = [
1039
+ -3,
1040
+ n0,
1041
+ _CE,
1042
+ {
1043
+ [_e]: _c,
1044
+ [_hE]: 409,
1045
+ },
1046
+ [_m, _rI, _rT],
1047
+ [0, 0, 0],
1048
+ ];
1049
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1050
+ var CreateAccessPreviewRequest = [
1051
+ 3,
1052
+ n0,
1053
+ _CAPR,
1054
+ 0,
1055
+ [_aA, _co, _cTl],
1056
+ [0, () => ConfigurationsMap, [0, 4]],
1057
+ ];
1058
+ var CreateAccessPreviewResponse = [3, n0, _CAPRr, 0, [_i], [0]];
1059
+ var CreateAnalyzerRequest = [
1060
+ 3,
1061
+ n0,
1062
+ _CAR,
1063
+ 0,
1064
+ [_aN, _t, _aRr, _ta, _cTl, _conf],
1065
+ [0, 0, () => InlineArchiveRulesList, 128 | 0, [0, 4], () => AnalyzerConfiguration],
1066
+ ];
1067
+ var CreateAnalyzerResponse = [3, n0, _CARr, 0, [_ar], [0]];
1068
+ var CreateArchiveRuleRequest = [
1069
+ 3,
1070
+ n0,
1071
+ _CARR,
1072
+ 0,
1073
+ [_aN, _rN, _f, _cTl],
1074
+ [[0, 1], 0, () => FilterCriteriaMap, [0, 4]],
1075
+ ];
1076
+ var Criterion = [3, n0, _C, 0, [_eq, _ne, _cont, _exi], [64 | 0, 64 | 0, 64 | 0, 2]];
1077
+ var DeleteAnalyzerRequest = [
1078
+ 3,
1079
+ n0,
1080
+ _DAR,
1081
+ 0,
1082
+ [_aN, _cTl],
1083
+ [
1084
+ [0, 1],
1085
+ [
1086
+ 0,
1087
+ {
1088
+ [_iT]: 1,
1089
+ [_hQ]: _cTl,
1090
+ },
1091
+ ],
1092
+ ],
1093
+ ];
1094
+ var DeleteArchiveRuleRequest = [
1095
+ 3,
1096
+ n0,
1097
+ _DARR,
1098
+ 0,
1099
+ [_aN, _rN, _cTl],
1100
+ [
1101
+ [0, 1],
1102
+ [0, 1],
1103
+ [
1104
+ 0,
1105
+ {
1106
+ [_iT]: 1,
1107
+ [_hQ]: _cTl,
1108
+ },
1109
+ ],
1110
+ ],
1111
+ ];
1112
+ var DynamodbStreamConfiguration = [3, n0, _DSC, 0, [_sP], [0]];
1113
+ var DynamodbTableConfiguration = [3, n0, _DTC, 0, [_tPa], [0]];
1114
+ var EbsSnapshotConfiguration = [3, n0, _ESC, 0, [_uI, _g, _kKI], [64 | 0, 64 | 0, 0]];
1115
+ var EcrRepositoryConfiguration = [3, n0, _ERC, 0, [_rP], [0]];
1116
+ var EfsFileSystemConfiguration = [3, n0, _EFSC, 0, [_fSP], [0]];
1117
+ var ExternalAccessDetails = [
1118
+ 3,
1119
+ n0,
1120
+ _EAD,
1121
+ 0,
1122
+ [_ac, _con, _iP, _p, _so, _rCPR],
1123
+ [64 | 0, 128 | 0, 2, 128 | 0, () => FindingSourceList, 0],
1124
+ ];
1125
+ var ExternalAccessFindingsStatistics = [
1126
+ 3,
1127
+ n0,
1128
+ _EAFS,
1129
+ 0,
1130
+ [_rTS, _tAF, _tAFo, _tRF],
1131
+ [() => ResourceTypeStatisticsMap, 1, 1, 1],
1132
+ ];
1133
+ var Finding = [
1134
+ 3,
1135
+ n0,
1136
+ _F,
1137
+ 0,
1138
+ [_i, _p, _ac, _re, _iP, _rT, _con, _cA, _aAn, _uA, _s, _rOA, _e, _so, _rCPR],
1139
+ [0, 128 | 0, 64 | 0, 0, 2, 0, 128 | 0, 5, 5, 5, 0, 0, 0, () => FindingSourceList, 0],
1140
+ ];
1141
+ var FindingAggregationAccountDetails = [
1142
+ 3,
1143
+ n0,
1144
+ _FAAD,
1145
+ 0,
1146
+ [_acco, _nOAF, _d],
1147
+ [0, 1, 128 | 1],
1148
+ ];
1149
+ var FindingSource = [3, n0, _FS, 0, [_t, _de], [0, () => FindingSourceDetail]];
1150
+ var FindingSourceDetail = [3, n0, _FSD, 0, [_aPA, _aPAc], [0, 0]];
1151
+ var FindingSummary = [
1152
+ 3,
1153
+ n0,
1154
+ _FSi,
1155
+ 0,
1156
+ [_i, _p, _ac, _re, _iP, _rT, _con, _cA, _aAn, _uA, _s, _rOA, _e, _so, _rCPR],
1157
+ [0, 128 | 0, 64 | 0, 0, 2, 0, 128 | 0, 5, 5, 5, 0, 0, 0, () => FindingSourceList, 0],
1158
+ ];
1159
+ var FindingSummaryV2 = [
1160
+ 3,
1161
+ n0,
1162
+ _FSV,
1163
+ 0,
1164
+ [_aAn, _cA, _e, _i, _re, _rT, _rOA, _s, _uA, _fT],
1165
+ [5, 5, 0, 0, 0, 0, 0, 0, 5, 0],
1166
+ ];
1167
+ var GeneratedPolicy = [3, n0, _GP, 0, [_po], [0]];
1168
+ var GeneratedPolicyProperties = [
1169
+ 3,
1170
+ n0,
1171
+ _GPP,
1172
+ 0,
1173
+ [_iC, _pA, _cTP],
1174
+ [2, 0, () => CloudTrailProperties],
1175
+ ];
1176
+ var GeneratedPolicyResult = [
1177
+ 3,
1178
+ n0,
1179
+ _GPR,
1180
+ 0,
1181
+ [_pr, _gP],
1182
+ [() => GeneratedPolicyProperties, () => GeneratedPolicyList],
1183
+ ];
1184
+ var GenerateFindingRecommendationRequest = [
1185
+ 3,
1186
+ n0,
1187
+ _GFRR,
1188
+ 0,
1189
+ [_aA, _i],
1190
+ [
1191
+ [
1192
+ 0,
1193
+ {
1194
+ [_hQ]: _aA,
1195
+ },
1196
+ ],
1197
+ [0, 1],
1198
+ ],
1199
+ ];
1200
+ var GetAccessPreviewRequest = [
1201
+ 3,
1202
+ n0,
1203
+ _GAPR,
1204
+ 0,
1205
+ [_aPI, _aA],
1206
+ [
1207
+ [0, 1],
1208
+ [
1209
+ 0,
1210
+ {
1211
+ [_hQ]: _aA,
1212
+ },
1213
+ ],
1214
+ ],
1215
+ ];
1216
+ var GetAccessPreviewResponse = [3, n0, _GAPRe, 0, [_aP], [() => AccessPreview]];
1217
+ var GetAnalyzedResourceRequest = [
1218
+ 3,
1219
+ n0,
1220
+ _GARR,
1221
+ 0,
1222
+ [_aA, _rA],
1223
+ [
1224
+ [
1225
+ 0,
1226
+ {
1227
+ [_hQ]: _aA,
1228
+ },
1229
+ ],
1230
+ [
1231
+ 0,
1232
+ {
1233
+ [_hQ]: _rA,
1234
+ },
1235
+ ],
1236
+ ],
1237
+ ];
1238
+ var GetAnalyzedResourceResponse = [3, n0, _GARRe, 0, [_re], [() => AnalyzedResource]];
1239
+ var GetAnalyzerRequest = [3, n0, _GAR, 0, [_aN], [[0, 1]]];
1240
+ var GetAnalyzerResponse = [3, n0, _GARe, 0, [_an], [() => AnalyzerSummary]];
1241
+ var GetArchiveRuleRequest = [
1242
+ 3,
1243
+ n0,
1244
+ _GARRet,
1245
+ 0,
1246
+ [_aN, _rN],
1247
+ [
1248
+ [0, 1],
1249
+ [0, 1],
1250
+ ],
1251
+ ];
1252
+ var GetArchiveRuleResponse = [3, n0, _GARRetr, 0, [_aRrc], [() => ArchiveRuleSummary]];
1253
+ var GetFindingRecommendationRequest = [
1254
+ 3,
1255
+ n0,
1256
+ _GFRRe,
1257
+ 0,
1258
+ [_aA, _i, _mR, _nT],
1259
+ [
1260
+ [
1261
+ 0,
1262
+ {
1263
+ [_hQ]: _aA,
1264
+ },
1265
+ ],
1266
+ [0, 1],
1267
+ [
1268
+ 1,
1269
+ {
1270
+ [_hQ]: _mR,
1271
+ },
1272
+ ],
1273
+ [
1274
+ 0,
1275
+ {
1276
+ [_hQ]: _nT,
1277
+ },
1278
+ ],
1279
+ ],
1280
+ ];
1281
+ var GetFindingRecommendationResponse = [
1282
+ 3,
1283
+ n0,
1284
+ _GFRRet,
1285
+ 0,
1286
+ [_sA, _cAo, _nT, _e, _rA, _rS, _rTec, _s],
1287
+ [5, 5, 0, () => RecommendationError, 0, () => RecommendedStepList, 0, 0],
1288
+ ];
1289
+ var GetFindingRequest = [
1290
+ 3,
1291
+ n0,
1292
+ _GFR,
1293
+ 0,
1294
+ [_aA, _i],
1295
+ [
1296
+ [
1297
+ 0,
1298
+ {
1299
+ [_hQ]: _aA,
1300
+ },
1301
+ ],
1302
+ [0, 1],
1303
+ ],
1304
+ ];
1305
+ var GetFindingResponse = [3, n0, _GFRe, 0, [_fi], [() => Finding]];
1306
+ var GetFindingsStatisticsRequest = [3, n0, _GFSR, 0, [_aA], [0]];
1307
+ var GetFindingsStatisticsResponse = [
1308
+ 3,
1309
+ n0,
1310
+ _GFSRe,
1311
+ 0,
1312
+ [_fS, _lUA],
1313
+ [() => FindingsStatisticsList, 5],
1314
+ ];
1315
+ var GetFindingV2Request = [
1316
+ 3,
1317
+ n0,
1318
+ _GFVR,
1319
+ 0,
1320
+ [_aA, _i, _mR, _nT],
1321
+ [
1322
+ [
1323
+ 0,
1324
+ {
1325
+ [_hQ]: _aA,
1326
+ },
1327
+ ],
1328
+ [0, 1],
1329
+ [
1330
+ 1,
1331
+ {
1332
+ [_hQ]: _mR,
1333
+ },
1334
+ ],
1335
+ [
1336
+ 0,
1337
+ {
1338
+ [_hQ]: _nT,
1339
+ },
1340
+ ],
1341
+ ],
1342
+ ];
1343
+ var GetFindingV2Response = [
1344
+ 3,
1345
+ n0,
1346
+ _GFVRe,
1347
+ 0,
1348
+ [_aAn, _cA, _e, _i, _nT, _re, _rT, _rOA, _s, _uA, _fD, _fT],
1349
+ [5, 5, 0, 0, 0, 0, 0, 0, 0, 5, () => FindingDetailsList, 0],
1350
+ ];
1351
+ var GetGeneratedPolicyRequest = [
1352
+ 3,
1353
+ n0,
1354
+ _GGPR,
1355
+ 0,
1356
+ [_jI, _iRP, _iSLT],
1357
+ [
1358
+ [0, 1],
1359
+ [
1360
+ 2,
1361
+ {
1362
+ [_hQ]: _iRP,
1363
+ },
1364
+ ],
1365
+ [
1366
+ 2,
1367
+ {
1368
+ [_hQ]: _iSLT,
1369
+ },
1370
+ ],
1371
+ ],
1372
+ ];
1373
+ var GetGeneratedPolicyResponse = [
1374
+ 3,
1375
+ n0,
1376
+ _GGPRe,
1377
+ 0,
1378
+ [_jD, _gPR],
1379
+ [() => JobDetails, () => GeneratedPolicyResult],
1380
+ ];
1381
+ var IamRoleConfiguration = [3, n0, _IRC, 0, [_tPr], [0]];
1382
+ var InlineArchiveRule = [3, n0, _IAR, 0, [_rN, _f], [0, () => FilterCriteriaMap]];
1383
+ var InternalAccessAnalysisRule = [
1384
+ 3,
1385
+ n0,
1386
+ _IAAR,
1387
+ 0,
1388
+ [_in],
1389
+ [() => InternalAccessAnalysisRuleCriteriaList],
1390
+ ];
1391
+ var InternalAccessAnalysisRuleCriteria = [
1392
+ 3,
1393
+ n0,
1394
+ _IAARC,
1395
+ 0,
1396
+ [_aI, _rTes, _rAe],
1397
+ [64 | 0, 64 | 0, 64 | 0],
1398
+ ];
1399
+ var InternalAccessConfiguration = [
1400
+ 3,
1401
+ n0,
1402
+ _IAC,
1403
+ 0,
1404
+ [_aRn],
1405
+ [() => InternalAccessAnalysisRule],
1406
+ ];
1407
+ var InternalAccessDetails = [
1408
+ 3,
1409
+ n0,
1410
+ _IAD,
1411
+ 0,
1412
+ [_ac, _con, _p, _pOA, _aT, _pTr, _so, _rCPR, _sCPR],
1413
+ [64 | 0, 128 | 0, 128 | 0, 0, 0, 0, () => FindingSourceList, 0, 0],
1414
+ ];
1415
+ var InternalAccessFindingsStatistics = [
1416
+ 3,
1417
+ n0,
1418
+ _IAFS,
1419
+ 0,
1420
+ [_rTS, _tAF, _tAFo, _tRF],
1421
+ [() => InternalAccessResourceTypeStatisticsMap, 1, 1, 1],
1422
+ ];
1423
+ var InternalAccessResourceTypeDetails = [
1424
+ 3,
1425
+ n0,
1426
+ _IARTD,
1427
+ 0,
1428
+ [_tAF, _tRF, _tAFo],
1429
+ [1, 1, 1],
1430
+ ];
1431
+ var InternalServerException = [
1432
+ -3,
1433
+ n0,
1434
+ _ISE,
1435
+ {
1436
+ [_e]: _se,
1437
+ [_hE]: 500,
1438
+ },
1439
+ [_m, _rAS],
1440
+ [
1441
+ 0,
1442
+ [
1443
+ 1,
1444
+ {
1445
+ [_hH]: _RA,
1446
+ },
1447
+ ],
1448
+ ],
1449
+ ];
1450
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1451
+ var InternetConfiguration = [3, n0, _IC, 0, [], []];
1452
+ var InvalidParameterException = [
1453
+ -3,
1454
+ n0,
1455
+ _IPE,
1456
+ {
1457
+ [_e]: _c,
1458
+ [_hE]: 400,
1459
+ },
1460
+ [_m],
1461
+ [0],
1462
+ ];
1463
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
1464
+ var JobDetails = [3, n0, _JD, 0, [_jI, _s, _sO, _cO, _jE], [0, 0, 5, 5, () => JobError]];
1465
+ var JobError = [3, n0, _JE, 0, [_cod, _m], [0, 0]];
1466
+ var KmsGrantConfiguration = [
1467
+ 3,
1468
+ n0,
1469
+ _KGC,
1470
+ 0,
1471
+ [_o, _gPr, _rPe, _cons, _iA],
1472
+ [64 | 0, 0, 0, () => KmsGrantConstraints, 0],
1473
+ ];
1474
+ var KmsGrantConstraints = [3, n0, _KGCm, 0, [_eCE, _eCS], [128 | 0, 128 | 0]];
1475
+ var KmsKeyConfiguration = [
1476
+ 3,
1477
+ n0,
1478
+ _KKC,
1479
+ 0,
1480
+ [_kP, _gr],
1481
+ [128 | 0, () => KmsGrantConfigurationsList],
1482
+ ];
1483
+ var ListAccessPreviewFindingsRequest = [
1484
+ 3,
1485
+ n0,
1486
+ _LAPFR,
1487
+ 0,
1488
+ [_aPI, _aA, _f, _nT, _mR],
1489
+ [[0, 1], 0, () => FilterCriteriaMap, 0, 1],
1490
+ ];
1491
+ var ListAccessPreviewFindingsResponse = [
1492
+ 3,
1493
+ n0,
1494
+ _LAPFRi,
1495
+ 0,
1496
+ [_fin, _nT],
1497
+ [() => AccessPreviewFindingsList, 0],
1498
+ ];
1499
+ var ListAccessPreviewsRequest = [
1500
+ 3,
1501
+ n0,
1502
+ _LAPR,
1503
+ 0,
1504
+ [_aA, _nT, _mR],
1505
+ [
1506
+ [
1507
+ 0,
1508
+ {
1509
+ [_hQ]: _aA,
1510
+ },
1511
+ ],
1512
+ [
1513
+ 0,
1514
+ {
1515
+ [_hQ]: _nT,
1516
+ },
1517
+ ],
1518
+ [
1519
+ 1,
1520
+ {
1521
+ [_hQ]: _mR,
1522
+ },
1523
+ ],
1524
+ ],
1525
+ ];
1526
+ var ListAccessPreviewsResponse = [
1527
+ 3,
1528
+ n0,
1529
+ _LAPRi,
1530
+ 0,
1531
+ [_aPc, _nT],
1532
+ [() => AccessPreviewsList, 0],
1533
+ ];
1534
+ var ListAnalyzedResourcesRequest = [3, n0, _LARR, 0, [_aA, _rT, _nT, _mR], [0, 0, 0, 1]];
1535
+ var ListAnalyzedResourcesResponse = [
1536
+ 3,
1537
+ n0,
1538
+ _LARRi,
1539
+ 0,
1540
+ [_aRna, _nT],
1541
+ [() => AnalyzedResourcesList, 0],
1542
+ ];
1543
+ var ListAnalyzersRequest = [
1544
+ 3,
1545
+ n0,
1546
+ _LAR,
1547
+ 0,
1548
+ [_nT, _mR, _t],
1549
+ [
1550
+ [
1551
+ 0,
1552
+ {
1553
+ [_hQ]: _nT,
1554
+ },
1555
+ ],
1556
+ [
1557
+ 1,
1558
+ {
1559
+ [_hQ]: _mR,
1560
+ },
1561
+ ],
1562
+ [
1563
+ 0,
1564
+ {
1565
+ [_hQ]: _t,
1566
+ },
1567
+ ],
1568
+ ],
1569
+ ];
1570
+ var ListAnalyzersResponse = [3, n0, _LARi, 0, [_ana, _nT], [() => AnalyzersList, 0]];
1571
+ var ListArchiveRulesRequest = [
1572
+ 3,
1573
+ n0,
1574
+ _LARRis,
1575
+ 0,
1576
+ [_aN, _nT, _mR],
1577
+ [
1578
+ [0, 1],
1579
+ [
1580
+ 0,
1581
+ {
1582
+ [_hQ]: _nT,
1583
+ },
1584
+ ],
1585
+ [
1586
+ 1,
1587
+ {
1588
+ [_hQ]: _mR,
1589
+ },
1590
+ ],
1591
+ ],
1592
+ ];
1593
+ var ListArchiveRulesResponse = [
1594
+ 3,
1595
+ n0,
1596
+ _LARRist,
1597
+ 0,
1598
+ [_aRr, _nT],
1599
+ [() => ArchiveRulesList, 0],
1600
+ ];
1601
+ var ListFindingsRequest = [
1602
+ 3,
1603
+ n0,
1604
+ _LFR,
1605
+ 0,
1606
+ [_aA, _f, _sor, _nT, _mR],
1607
+ [0, () => FilterCriteriaMap, () => SortCriteria, 0, 1],
1608
+ ];
1609
+ var ListFindingsResponse = [3, n0, _LFRi, 0, [_fin, _nT], [() => FindingsList, 0]];
1610
+ var ListFindingsV2Request = [
1611
+ 3,
1612
+ n0,
1613
+ _LFVR,
1614
+ 0,
1615
+ [_aA, _f, _mR, _nT, _sor],
1616
+ [0, () => FilterCriteriaMap, 1, 0, () => SortCriteria],
1617
+ ];
1618
+ var ListFindingsV2Response = [3, n0, _LFVRi, 0, [_fin, _nT], [() => FindingsListV2, 0]];
1619
+ var ListPolicyGenerationsRequest = [
1620
+ 3,
1621
+ n0,
1622
+ _LPGR,
1623
+ 0,
1624
+ [_pA, _mR, _nT],
1625
+ [
1626
+ [
1627
+ 0,
1628
+ {
1629
+ [_hQ]: _pA,
1630
+ },
1631
+ ],
1632
+ [
1633
+ 1,
1634
+ {
1635
+ [_hQ]: _mR,
1636
+ },
1637
+ ],
1638
+ [
1639
+ 0,
1640
+ {
1641
+ [_hQ]: _nT,
1642
+ },
1643
+ ],
1644
+ ],
1645
+ ];
1646
+ var ListPolicyGenerationsResponse = [
1647
+ 3,
1648
+ n0,
1649
+ _LPGRi,
1650
+ 0,
1651
+ [_pG, _nT],
1652
+ [() => PolicyGenerationList, 0],
1653
+ ];
1654
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
1655
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
1656
+ var Location = [3, n0, _L, 0, [_pa, _sp], [() => PathElementList, () => Span]];
1657
+ var PolicyGeneration = [3, n0, _PG, 0, [_jI, _pA, _s, _sO, _cO], [0, 0, 0, 5, 5]];
1658
+ var PolicyGenerationDetails = [3, n0, _PGD, 0, [_pA], [0]];
1659
+ var Position = [3, n0, _P, 0, [_l, _col, _of], [1, 1, 1]];
1660
+ var RdsDbClusterSnapshotConfiguration = [
1661
+ 3,
1662
+ n0,
1663
+ _RDCSC,
1664
+ 0,
1665
+ [_at, _kKI],
1666
+ [() => RdsDbClusterSnapshotAttributesMap, 0],
1667
+ ];
1668
+ var RdsDbSnapshotConfiguration = [
1669
+ 3,
1670
+ n0,
1671
+ _RDSC,
1672
+ 0,
1673
+ [_at, _kKI],
1674
+ [() => RdsDbSnapshotAttributesMap, 0],
1675
+ ];
1676
+ var ReasonSummary = [3, n0, _RS, 0, [_des, _sI, _sIt], [0, 1, 0]];
1677
+ var RecommendationError = [3, n0, _RE, 0, [_cod, _m], [0, 0]];
1678
+ var ResourceNotFoundException = [
1679
+ -3,
1680
+ n0,
1681
+ _RNFE,
1682
+ {
1683
+ [_e]: _c,
1684
+ [_hE]: 404,
1685
+ },
1686
+ [_m, _rI, _rT],
1687
+ [0, 0, 0],
1688
+ ];
1689
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1690
+ var ResourceTypeDetails = [3, n0, _RTD, 0, [_tAP, _tACA, _tAE], [1, 1, 1]];
1691
+ var S3AccessPointConfiguration = [
1692
+ 3,
1693
+ n0,
1694
+ _SAPC,
1695
+ 0,
1696
+ [_aPP, _pAB, _nO],
1697
+ [0, () => S3PublicAccessBlockConfiguration, () => NetworkOriginConfiguration],
1698
+ ];
1699
+ var S3BucketAclGrantConfiguration = [
1700
+ 3,
1701
+ n0,
1702
+ _SBAGC,
1703
+ 0,
1704
+ [_pe, _gra],
1705
+ [0, () => AclGrantee],
1706
+ ];
1707
+ var S3BucketConfiguration = [
1708
+ 3,
1709
+ n0,
1710
+ _SBC,
1711
+ 0,
1712
+ [_bP, _bAG, _bPAB, _aPcc],
1713
+ [
1714
+ 0,
1715
+ () => S3BucketAclGrantConfigurationsList,
1716
+ () => S3PublicAccessBlockConfiguration,
1717
+ () => S3AccessPointConfigurationsMap,
1718
+ ],
1719
+ ];
1720
+ var S3ExpressDirectoryAccessPointConfiguration = [
1721
+ 3,
1722
+ n0,
1723
+ _SEDAPC,
1724
+ 0,
1725
+ [_aPP, _nO],
1726
+ [0, () => NetworkOriginConfiguration],
1727
+ ];
1728
+ var S3ExpressDirectoryBucketConfiguration = [
1729
+ 3,
1730
+ n0,
1731
+ _SEDBC,
1732
+ 0,
1733
+ [_bP, _aPcc],
1734
+ [0, () => S3ExpressDirectoryAccessPointConfigurationsMap],
1735
+ ];
1736
+ var S3PublicAccessBlockConfiguration = [3, n0, _SPABC, 0, [_iPA, _rPB], [2, 2]];
1737
+ var SecretsManagerSecretConfiguration = [3, n0, _SMSC, 0, [_kKI, _sPe], [0, 0]];
1738
+ var ServiceQuotaExceededException = [
1739
+ -3,
1740
+ n0,
1741
+ _SQEE,
1742
+ {
1743
+ [_e]: _c,
1744
+ [_hE]: 402,
1745
+ },
1746
+ [_m, _rI, _rT],
1747
+ [0, 0, 0],
1748
+ ];
1749
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1750
+ var SnsTopicConfiguration = [3, n0, _STC, 0, [_tPo], [0]];
1751
+ var SortCriteria = [3, n0, _SC, 0, [_aNt, _oB], [0, 0]];
1752
+ var Span = [3, n0, _S, 0, [_st, _en], [() => Position, () => Position]];
1753
+ var SqsQueueConfiguration = [3, n0, _SQC, 0, [_qP], [0]];
1754
+ var StartPolicyGenerationRequest = [
1755
+ 3,
1756
+ n0,
1757
+ _SPGR,
1758
+ 0,
1759
+ [_pGD, _cTD, _cTl],
1760
+ [() => PolicyGenerationDetails, () => CloudTrailDetails, [0, 4]],
1761
+ ];
1762
+ var StartPolicyGenerationResponse = [3, n0, _SPGRt, 0, [_jI], [0]];
1763
+ var StartResourceScanRequest = [3, n0, _SRSR, 0, [_aA, _rA, _rOA], [0, 0, 0]];
1764
+ var StatusReason = [3, n0, _SR, 0, [_cod], [0]];
1765
+ var Substring = [3, n0, _Su, 0, [_st, _le], [1, 1]];
1766
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _ta], [[0, 1], 128 | 0]];
1767
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1768
+ var ThrottlingException = [
1769
+ -3,
1770
+ n0,
1771
+ _TE,
1772
+ {
1773
+ [_e]: _c,
1774
+ [_hE]: 429,
1775
+ },
1776
+ [_m, _rAS],
1777
+ [
1778
+ 0,
1779
+ [
1780
+ 1,
1781
+ {
1782
+ [_hH]: _RA,
1783
+ },
1784
+ ],
1785
+ ],
1786
+ ];
1787
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1788
+ var Trail = [3, n0, _T, 0, [_cTA, _reg, _aRl], [0, 64 | 0, 2]];
1789
+ var TrailProperties = [3, n0, _TP, 0, [_cTA, _reg, _aRl], [0, 64 | 0, 2]];
1790
+ var UnprocessableEntityException = [
1791
+ -3,
1792
+ n0,
1793
+ _UEE,
1794
+ {
1795
+ [_e]: _c,
1796
+ [_hE]: 422,
1797
+ },
1798
+ [_m],
1799
+ [0],
1800
+ ];
1801
+ schema.TypeRegistry.for(n0).registerError(UnprocessableEntityException, UnprocessableEntityException$1);
1802
+ var UntagResourceRequest = [
1803
+ 3,
1804
+ n0,
1805
+ _URR,
1806
+ 0,
1807
+ [_rA, _tK],
1808
+ [
1809
+ [0, 1],
1810
+ [
1811
+ 64 | 0,
1812
+ {
1813
+ [_hQ]: _tK,
1814
+ },
1815
+ ],
1816
+ ],
1817
+ ];
1818
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1819
+ var UnusedAccessConfiguration = [3, n0, _UAC, 0, [_uAA, _aRn], [1, () => AnalysisRule]];
1820
+ var UnusedAccessFindingsStatistics = [
1821
+ 3,
1822
+ n0,
1823
+ _UAFS,
1824
+ 0,
1825
+ [_uATS, _tA, _tAF, _tAFo, _tRF],
1826
+ [() => UnusedAccessTypeStatisticsList, () => AccountAggregations, 1, 1, 1],
1827
+ ];
1828
+ var UnusedAccessTypeStatistics = [3, n0, _UATS, 0, [_uAT, _to], [0, 1]];
1829
+ var UnusedAction = [3, n0, _UA, 0, [_ac, _lA], [0, 5]];
1830
+ var UnusedIamRoleDetails = [3, n0, _UIRD, 0, [_lA], [5]];
1831
+ var UnusedIamUserAccessKeyDetails = [3, n0, _UIUAKD, 0, [_aKI, _lA], [0, 5]];
1832
+ var UnusedIamUserPasswordDetails = [3, n0, _UIUPD, 0, [_lA], [5]];
1833
+ var UnusedPermissionDetails = [
1834
+ 3,
1835
+ n0,
1836
+ _UPD,
1837
+ 0,
1838
+ [_a, _sN, _lA],
1839
+ [() => UnusedActionList, 0, 5],
1840
+ ];
1841
+ var UnusedPermissionsRecommendedStep = [
1842
+ 3,
1843
+ n0,
1844
+ _UPRS,
1845
+ 0,
1846
+ [_pUA, _rAec, _rPec, _ePI],
1847
+ [5, 0, 0, 0],
1848
+ ];
1849
+ var UpdateAnalyzerRequest = [
1850
+ 3,
1851
+ n0,
1852
+ _UAR,
1853
+ 0,
1854
+ [_aN, _conf],
1855
+ [[0, 1], () => AnalyzerConfiguration],
1856
+ ];
1857
+ var UpdateAnalyzerResponse = [3, n0, _UARp, 0, [_conf], [() => AnalyzerConfiguration]];
1858
+ var UpdateArchiveRuleRequest = [
1859
+ 3,
1860
+ n0,
1861
+ _UARR,
1862
+ 0,
1863
+ [_aN, _rN, _f, _cTl],
1864
+ [[0, 1], [0, 1], () => FilterCriteriaMap, [0, 4]],
1865
+ ];
1866
+ var UpdateFindingsRequest = [
1867
+ 3,
1868
+ n0,
1869
+ _UFR,
1870
+ 0,
1871
+ [_aA, _s, _id, _rA, _cTl],
1872
+ [0, 0, 64 | 0, 0, [0, 4]],
1873
+ ];
1874
+ var ValidatePolicyFinding = [
1875
+ 3,
1876
+ n0,
1877
+ _VPF,
1878
+ 0,
1879
+ [_fD, _fT, _iCs, _lML, _lo],
1880
+ [0, 0, 0, 0, () => LocationList],
1881
+ ];
1882
+ var ValidatePolicyRequest = [
1883
+ 3,
1884
+ n0,
1885
+ _VPR,
1886
+ 0,
1887
+ [_loc, _mR, _nT, _pD, _pT, _vPRT],
1888
+ [
1889
+ 0,
1890
+ [
1891
+ 1,
1892
+ {
1893
+ [_hQ]: _mR,
1894
+ },
1895
+ ],
1896
+ [
1897
+ 0,
1898
+ {
1899
+ [_hQ]: _nT,
1900
+ },
1901
+ ],
1902
+ 0,
1903
+ 0,
1904
+ 0,
1905
+ ],
1906
+ ];
1907
+ var ValidatePolicyResponse = [
1908
+ 3,
1909
+ n0,
1910
+ _VPRa,
1911
+ 0,
1912
+ [_fin, _nT],
1913
+ [() => ValidatePolicyFindingList, 0],
1914
+ ];
1915
+ var ValidationException = [
1916
+ -3,
1917
+ n0,
1918
+ _VE,
1919
+ {
1920
+ [_e]: _c,
1921
+ [_hE]: 400,
1922
+ },
1923
+ [_m, _reas, _fL],
1924
+ [0, 0, () => ValidationExceptionFieldList],
1925
+ ];
1926
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1927
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
1928
+ var VpcConfiguration = [3, n0, _VC, 0, [_vI], [0]];
1929
+ var __Unit = "unit";
1930
+ var AccessAnalyzerServiceException = [-3, _sm, "AccessAnalyzerServiceException", 0, [], []];
1931
+ schema.TypeRegistry.for(_sm).registerError(AccessAnalyzerServiceException, AccessAnalyzerServiceException$1);
1932
+ var AccessList = [1, n0, _AL, 0, () => Access];
1933
+ var AccessPreviewFindingsList = [1, n0, _APFL, 0, () => AccessPreviewFinding];
1934
+ var AccessPreviewsList = [1, n0, _APL, 0, () => AccessPreviewSummary];
1935
+ var AccountAggregations = [1, n0, _AA, 0, () => FindingAggregationAccountDetails];
1936
+ var AnalysisRuleCriteriaList = [1, n0, _ARCL, 0, () => AnalysisRuleCriteria];
1937
+ var AnalyzedResourcesList = [1, n0, _ARL, 0, () => AnalyzedResourceSummary];
1938
+ var AnalyzersList = [1, n0, _ALn, 0, () => AnalyzerSummary];
1939
+ var ArchiveRulesList = [1, n0, _ARLr, 0, () => ArchiveRuleSummary];
1940
+ var FindingDetailsList = [1, n0, _FDL, 0, () => FindingDetails];
1941
+ var FindingsList = [1, n0, _FL, 0, () => FindingSummary];
1942
+ var FindingsListV2 = [1, n0, _FLV, 0, () => FindingSummaryV2];
1943
+ var FindingSourceList = [1, n0, _FSL, 0, () => FindingSource];
1944
+ var FindingsStatisticsList = [1, n0, _FSLi, 0, () => FindingsStatistics];
1945
+ var GeneratedPolicyList = [1, n0, _GPL, 0, () => GeneratedPolicy];
1946
+ var InlineArchiveRulesList = [1, n0, _IARL, 0, () => InlineArchiveRule];
1947
+ var InternalAccessAnalysisRuleCriteriaList = [
1948
+ 1,
1949
+ n0,
1950
+ _IAARCL,
1951
+ 0,
1952
+ () => InternalAccessAnalysisRuleCriteria,
1953
+ ];
1954
+ var KmsGrantConfigurationsList = [1, n0, _KGCL, 0, () => KmsGrantConfiguration];
1955
+ var LocationList = [1, n0, _LL, 0, () => Location];
1956
+ var PathElementList = [1, n0, _PEL, 0, () => PathElement];
1957
+ var PolicyGenerationList = [1, n0, _PGL, 0, () => PolicyGeneration];
1958
+ var ReasonSummaryList = [1, n0, _RSL, 0, () => ReasonSummary];
1959
+ var RecommendedStepList = [1, n0, _RSLe, 0, () => RecommendedStep];
1960
+ var S3BucketAclGrantConfigurationsList = [
1961
+ 1,
1962
+ n0,
1963
+ _SBAGCL,
1964
+ 0,
1965
+ () => S3BucketAclGrantConfiguration,
1966
+ ];
1967
+ var TrailList = [1, n0, _TLr, 0, () => Trail];
1968
+ var TrailPropertiesList = [1, n0, _TPL, 0, () => TrailProperties];
1969
+ var UnusedAccessTypeStatisticsList = [1, n0, _UATSL, 0, () => UnusedAccessTypeStatistics];
1970
+ var UnusedActionList = [1, n0, _UAL, 0, () => UnusedAction];
1971
+ var ValidatePolicyFindingList = [1, n0, _VPFL, 0, () => ValidatePolicyFinding];
1972
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1973
+ var ConfigurationsMap = [2, n0, _CM, 0, 0, () => Configuration];
1974
+ var FilterCriteriaMap = [2, n0, _FCM, 0, 0, () => Criterion];
1975
+ var InternalAccessResourceTypeStatisticsMap = [
1976
+ 2,
1977
+ n0,
1978
+ _IARTSM,
1979
+ 0,
1980
+ 0,
1981
+ () => InternalAccessResourceTypeDetails,
1982
+ ];
1983
+ var RdsDbClusterSnapshotAttributesMap = [
1984
+ 2,
1985
+ n0,
1986
+ _RDCSAM,
1987
+ 0,
1988
+ 0,
1989
+ () => RdsDbClusterSnapshotAttributeValue,
1990
+ ];
1991
+ var RdsDbSnapshotAttributesMap = [2, n0, _RDSAM, 0, 0, () => RdsDbSnapshotAttributeValue];
1992
+ var ResourceTypeStatisticsMap = [2, n0, _RTSM, 0, 0, () => ResourceTypeDetails];
1993
+ var S3AccessPointConfigurationsMap = [2, n0, _SAPCM, 0, 0, () => S3AccessPointConfiguration];
1994
+ var S3ExpressDirectoryAccessPointConfigurationsMap = [
1995
+ 2,
1996
+ n0,
1997
+ _SEDAPCM,
1998
+ 0,
1999
+ 0,
2000
+ () => S3ExpressDirectoryAccessPointConfiguration,
2001
+ ];
2002
+ var AclGrantee = [3, n0, _AG, 0, [_i, _u], [0, 0]];
2003
+ var AnalyzerConfiguration = [
2004
+ 3,
2005
+ n0,
2006
+ _AC,
2007
+ 0,
2008
+ [_uAn, _iAn],
2009
+ [() => UnusedAccessConfiguration, () => InternalAccessConfiguration],
2010
+ ];
2011
+ var Configuration = [
2012
+ 3,
2013
+ n0,
2014
+ _Co,
2015
+ 0,
2016
+ [_eS, _eR, _iR, _eFSf, _kK, _rDCS, _rDS, _sMS, _sB, _sTn, _sQ, _sEDB, _dS, _dT],
2017
+ [
2018
+ () => EbsSnapshotConfiguration,
2019
+ () => EcrRepositoryConfiguration,
2020
+ () => IamRoleConfiguration,
2021
+ () => EfsFileSystemConfiguration,
2022
+ () => KmsKeyConfiguration,
2023
+ () => RdsDbClusterSnapshotConfiguration,
2024
+ () => RdsDbSnapshotConfiguration,
2025
+ () => SecretsManagerSecretConfiguration,
2026
+ () => S3BucketConfiguration,
2027
+ () => SnsTopicConfiguration,
2028
+ () => SqsQueueConfiguration,
2029
+ () => S3ExpressDirectoryBucketConfiguration,
2030
+ () => DynamodbStreamConfiguration,
2031
+ () => DynamodbTableConfiguration,
2032
+ ],
2033
+ ];
2034
+ var FindingDetails = [
2035
+ 3,
2036
+ n0,
2037
+ _FD,
2038
+ 0,
2039
+ [_iAD, _eAD, _uPD, _uIUAKD, _uIRD, _uIUPD],
2040
+ [
2041
+ () => InternalAccessDetails,
2042
+ () => ExternalAccessDetails,
2043
+ () => UnusedPermissionDetails,
2044
+ () => UnusedIamUserAccessKeyDetails,
2045
+ () => UnusedIamRoleDetails,
2046
+ () => UnusedIamUserPasswordDetails,
2047
+ ],
2048
+ ];
2049
+ var FindingsStatistics = [
2050
+ 3,
2051
+ n0,
2052
+ _FSin,
2053
+ 0,
2054
+ [_eAFS, _iAFS, _uAFS],
2055
+ [
2056
+ () => ExternalAccessFindingsStatistics,
2057
+ () => InternalAccessFindingsStatistics,
2058
+ () => UnusedAccessFindingsStatistics,
2059
+ ],
2060
+ ];
2061
+ var NetworkOriginConfiguration = [
2062
+ 3,
2063
+ n0,
2064
+ _NOC,
2065
+ 0,
2066
+ [_vC, _iCn],
2067
+ [() => VpcConfiguration, () => InternetConfiguration],
2068
+ ];
2069
+ var PathElement = [3, n0, _PE, 0, [_ind, _k, _su, _v], [1, 0, () => Substring, 0]];
2070
+ var RdsDbClusterSnapshotAttributeValue = [3, n0, _RDCSAV, 0, [_aI], [64 | 0]];
2071
+ var RdsDbSnapshotAttributeValue = [3, n0, _RDSAV, 0, [_aI], [64 | 0]];
2072
+ var RecommendedStep = [3, n0, _RSe, 0, [_uPRS], [() => UnusedPermissionsRecommendedStep]];
2073
+ var ApplyArchiveRule = [
2074
+ 9,
2075
+ n0,
2076
+ _AAR,
2077
+ {
2078
+ [_h]: ["PUT", "/archive-rule", 200],
2079
+ },
2080
+ () => ApplyArchiveRuleRequest,
2081
+ () => __Unit,
2082
+ ];
2083
+ var CancelPolicyGeneration = [
2084
+ 9,
2085
+ n0,
2086
+ _CPG,
2087
+ {
2088
+ [_h]: ["PUT", "/policy/generation/{jobId}", 200],
2089
+ },
2090
+ () => CancelPolicyGenerationRequest,
2091
+ () => CancelPolicyGenerationResponse,
2092
+ ];
2093
+ var CheckAccessNotGranted = [
2094
+ 9,
2095
+ n0,
2096
+ _CANG,
2097
+ {
2098
+ [_h]: ["POST", "/policy/check-access-not-granted", 200],
2099
+ },
2100
+ () => CheckAccessNotGrantedRequest,
2101
+ () => CheckAccessNotGrantedResponse,
2102
+ ];
2103
+ var CheckNoNewAccess = [
2104
+ 9,
2105
+ n0,
2106
+ _CNNA,
2107
+ {
2108
+ [_h]: ["POST", "/policy/check-no-new-access", 200],
2109
+ },
2110
+ () => CheckNoNewAccessRequest,
2111
+ () => CheckNoNewAccessResponse,
2112
+ ];
2113
+ var CheckNoPublicAccess = [
2114
+ 9,
2115
+ n0,
2116
+ _CNPA,
2117
+ {
2118
+ [_h]: ["POST", "/policy/check-no-public-access", 200],
2119
+ },
2120
+ () => CheckNoPublicAccessRequest,
2121
+ () => CheckNoPublicAccessResponse,
2122
+ ];
2123
+ var CreateAccessPreview = [
2124
+ 9,
2125
+ n0,
2126
+ _CAP,
2127
+ {
2128
+ [_h]: ["PUT", "/access-preview", 200],
2129
+ },
2130
+ () => CreateAccessPreviewRequest,
2131
+ () => CreateAccessPreviewResponse,
2132
+ ];
2133
+ var CreateAnalyzer = [
2134
+ 9,
2135
+ n0,
2136
+ _CA,
2137
+ {
2138
+ [_h]: ["PUT", "/analyzer", 200],
2139
+ },
2140
+ () => CreateAnalyzerRequest,
2141
+ () => CreateAnalyzerResponse,
2142
+ ];
2143
+ var CreateArchiveRule = [
2144
+ 9,
2145
+ n0,
2146
+ _CARre,
2147
+ {
2148
+ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200],
2149
+ },
2150
+ () => CreateArchiveRuleRequest,
2151
+ () => __Unit,
2152
+ ];
2153
+ var DeleteAnalyzer = [
2154
+ 9,
2155
+ n0,
2156
+ _DA,
2157
+ {
2158
+ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200],
2159
+ },
2160
+ () => DeleteAnalyzerRequest,
2161
+ () => __Unit,
2162
+ ];
2163
+ var DeleteArchiveRule = [
2164
+ 9,
2165
+ n0,
2166
+ _DARe,
2167
+ {
2168
+ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200],
2169
+ },
2170
+ () => DeleteArchiveRuleRequest,
2171
+ () => __Unit,
2172
+ ];
2173
+ var GenerateFindingRecommendation = [
2174
+ 9,
2175
+ n0,
2176
+ _GFRen,
2177
+ {
2178
+ [_h]: ["POST", "/recommendation/{id}", 200],
2179
+ },
2180
+ () => GenerateFindingRecommendationRequest,
2181
+ () => __Unit,
2182
+ ];
2183
+ var GetAccessPreview = [
2184
+ 9,
2185
+ n0,
2186
+ _GAP,
2187
+ {
2188
+ [_h]: ["GET", "/access-preview/{accessPreviewId}", 200],
2189
+ },
2190
+ () => GetAccessPreviewRequest,
2191
+ () => GetAccessPreviewResponse,
2192
+ ];
2193
+ var GetAnalyzedResource = [
2194
+ 9,
2195
+ n0,
2196
+ _GARet,
2197
+ {
2198
+ [_h]: ["GET", "/analyzed-resource", 200],
2199
+ },
2200
+ () => GetAnalyzedResourceRequest,
2201
+ () => GetAnalyzedResourceResponse,
2202
+ ];
2203
+ var GetAnalyzer = [
2204
+ 9,
2205
+ n0,
2206
+ _GA,
2207
+ {
2208
+ [_h]: ["GET", "/analyzer/{analyzerName}", 200],
2209
+ },
2210
+ () => GetAnalyzerRequest,
2211
+ () => GetAnalyzerResponse,
2212
+ ];
2213
+ var GetArchiveRule = [
2214
+ 9,
2215
+ n0,
2216
+ _GARetr,
2217
+ {
2218
+ [_h]: ["GET", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200],
2219
+ },
2220
+ () => GetArchiveRuleRequest,
2221
+ () => GetArchiveRuleResponse,
2222
+ ];
2223
+ var GetFinding = [
2224
+ 9,
2225
+ n0,
2226
+ _GF,
2227
+ {
2228
+ [_h]: ["GET", "/finding/{id}", 200],
2229
+ },
2230
+ () => GetFindingRequest,
2231
+ () => GetFindingResponse,
2232
+ ];
2233
+ var GetFindingRecommendation = [
2234
+ 9,
2235
+ n0,
2236
+ _GFRet,
2237
+ {
2238
+ [_h]: ["GET", "/recommendation/{id}", 200],
2239
+ },
2240
+ () => GetFindingRecommendationRequest,
2241
+ () => GetFindingRecommendationResponse,
2242
+ ];
2243
+ var GetFindingsStatistics = [
2244
+ 9,
2245
+ n0,
2246
+ _GFS,
2247
+ {
2248
+ [_h]: ["POST", "/analyzer/findings/statistics", 200],
2249
+ },
2250
+ () => GetFindingsStatisticsRequest,
2251
+ () => GetFindingsStatisticsResponse,
2252
+ ];
2253
+ var GetFindingV2 = [
2254
+ 9,
2255
+ n0,
2256
+ _GFV,
2257
+ {
2258
+ [_h]: ["GET", "/findingv2/{id}", 200],
2259
+ },
2260
+ () => GetFindingV2Request,
2261
+ () => GetFindingV2Response,
2262
+ ];
2263
+ var GetGeneratedPolicy = [
2264
+ 9,
2265
+ n0,
2266
+ _GGP,
2267
+ {
2268
+ [_h]: ["GET", "/policy/generation/{jobId}", 200],
2269
+ },
2270
+ () => GetGeneratedPolicyRequest,
2271
+ () => GetGeneratedPolicyResponse,
2272
+ ];
2273
+ var ListAccessPreviewFindings = [
2274
+ 9,
2275
+ n0,
2276
+ _LAPF,
2277
+ {
2278
+ [_h]: ["POST", "/access-preview/{accessPreviewId}", 200],
2279
+ },
2280
+ () => ListAccessPreviewFindingsRequest,
2281
+ () => ListAccessPreviewFindingsResponse,
2282
+ ];
2283
+ var ListAccessPreviews = [
2284
+ 9,
2285
+ n0,
2286
+ _LAP,
2287
+ {
2288
+ [_h]: ["GET", "/access-preview", 200],
2289
+ },
2290
+ () => ListAccessPreviewsRequest,
2291
+ () => ListAccessPreviewsResponse,
2292
+ ];
2293
+ var ListAnalyzedResources = [
2294
+ 9,
2295
+ n0,
2296
+ _LARis,
2297
+ {
2298
+ [_h]: ["POST", "/analyzed-resource", 200],
2299
+ },
2300
+ () => ListAnalyzedResourcesRequest,
2301
+ () => ListAnalyzedResourcesResponse,
2302
+ ];
2303
+ var ListAnalyzers = [
2304
+ 9,
2305
+ n0,
2306
+ _LA,
2307
+ {
2308
+ [_h]: ["GET", "/analyzer", 200],
2309
+ },
2310
+ () => ListAnalyzersRequest,
2311
+ () => ListAnalyzersResponse,
2312
+ ];
2313
+ var ListArchiveRules = [
2314
+ 9,
2315
+ n0,
2316
+ _LARist,
2317
+ {
2318
+ [_h]: ["GET", "/analyzer/{analyzerName}/archive-rule", 200],
2319
+ },
2320
+ () => ListArchiveRulesRequest,
2321
+ () => ListArchiveRulesResponse,
2322
+ ];
2323
+ var ListFindings = [
2324
+ 9,
2325
+ n0,
2326
+ _LF,
2327
+ {
2328
+ [_h]: ["POST", "/finding", 200],
2329
+ },
2330
+ () => ListFindingsRequest,
2331
+ () => ListFindingsResponse,
2332
+ ];
2333
+ var ListFindingsV2 = [
2334
+ 9,
2335
+ n0,
2336
+ _LFV,
2337
+ {
2338
+ [_h]: ["POST", "/findingv2", 200],
2339
+ },
2340
+ () => ListFindingsV2Request,
2341
+ () => ListFindingsV2Response,
2342
+ ];
2343
+ var ListPolicyGenerations = [
2344
+ 9,
2345
+ n0,
2346
+ _LPG,
2347
+ {
2348
+ [_h]: ["GET", "/policy/generation", 200],
2349
+ },
2350
+ () => ListPolicyGenerationsRequest,
2351
+ () => ListPolicyGenerationsResponse,
2352
+ ];
2353
+ var ListTagsForResource = [
2354
+ 9,
2355
+ n0,
2356
+ _LTFR,
2357
+ {
2358
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
2359
+ },
2360
+ () => ListTagsForResourceRequest,
2361
+ () => ListTagsForResourceResponse,
2362
+ ];
2363
+ var StartPolicyGeneration = [
2364
+ 9,
2365
+ n0,
2366
+ _SPG,
2367
+ {
2368
+ [_h]: ["PUT", "/policy/generation", 200],
2369
+ },
2370
+ () => StartPolicyGenerationRequest,
2371
+ () => StartPolicyGenerationResponse,
2372
+ ];
2373
+ var StartResourceScan = [
2374
+ 9,
2375
+ n0,
2376
+ _SRS,
2377
+ {
2378
+ [_h]: ["POST", "/resource/scan", 200],
2379
+ },
2380
+ () => StartResourceScanRequest,
2381
+ () => __Unit,
2382
+ ];
2383
+ var TagResource = [
2384
+ 9,
2385
+ n0,
2386
+ _TR,
2387
+ {
2388
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
2389
+ },
2390
+ () => TagResourceRequest,
2391
+ () => TagResourceResponse,
2392
+ ];
2393
+ var UntagResource = [
2394
+ 9,
2395
+ n0,
2396
+ _UR,
2397
+ {
2398
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
2399
+ },
2400
+ () => UntagResourceRequest,
2401
+ () => UntagResourceResponse,
2402
+ ];
2403
+ var UpdateAnalyzer = [
2404
+ 9,
2405
+ n0,
2406
+ _UAp,
2407
+ {
2408
+ [_h]: ["PUT", "/analyzer/{analyzerName}", 200],
2409
+ },
2410
+ () => UpdateAnalyzerRequest,
2411
+ () => UpdateAnalyzerResponse,
2412
+ ];
2413
+ var UpdateArchiveRule = [
2414
+ 9,
2415
+ n0,
2416
+ _UARpd,
2417
+ {
2418
+ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200],
2419
+ },
2420
+ () => UpdateArchiveRuleRequest,
2421
+ () => __Unit,
2422
+ ];
2423
+ var UpdateFindings = [
2424
+ 9,
2425
+ n0,
2426
+ _UF,
2427
+ {
2428
+ [_h]: ["PUT", "/finding", 200],
2429
+ },
2430
+ () => UpdateFindingsRequest,
2431
+ () => __Unit,
2432
+ ];
2433
+ var ValidatePolicy = [
2434
+ 9,
2435
+ n0,
2436
+ _VP,
2437
+ {
2438
+ [_h]: ["POST", "/policy/validation", 200],
2439
+ },
2440
+ () => ValidatePolicyRequest,
2441
+ () => ValidatePolicyResponse,
2442
+ ];
2118
2443
 
2119
2444
  class ApplyArchiveRuleCommand extends smithyClient.Command
2120
2445
  .classBuilder()
2121
2446
  .ep(commonParams)
2122
2447
  .m(function (Command, cs, config, o) {
2123
- return [
2124
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2125
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2126
- ];
2448
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2127
2449
  })
2128
2450
  .s("AccessAnalyzer", "ApplyArchiveRule", {})
2129
2451
  .n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
2130
- .f(void 0, void 0)
2131
- .ser(se_ApplyArchiveRuleCommand)
2132
- .de(de_ApplyArchiveRuleCommand)
2452
+ .sc(ApplyArchiveRule)
2133
2453
  .build() {
2134
2454
  }
2135
2455
 
@@ -2137,16 +2457,11 @@ class CancelPolicyGenerationCommand extends smithyClient.Command
2137
2457
  .classBuilder()
2138
2458
  .ep(commonParams)
2139
2459
  .m(function (Command, cs, config, o) {
2140
- return [
2141
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2142
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2143
- ];
2460
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2144
2461
  })
2145
2462
  .s("AccessAnalyzer", "CancelPolicyGeneration", {})
2146
2463
  .n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
2147
- .f(void 0, void 0)
2148
- .ser(se_CancelPolicyGenerationCommand)
2149
- .de(de_CancelPolicyGenerationCommand)
2464
+ .sc(CancelPolicyGeneration)
2150
2465
  .build() {
2151
2466
  }
2152
2467
 
@@ -2154,16 +2469,11 @@ class CheckAccessNotGrantedCommand extends smithyClient.Command
2154
2469
  .classBuilder()
2155
2470
  .ep(commonParams)
2156
2471
  .m(function (Command, cs, config, o) {
2157
- return [
2158
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2159
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2160
- ];
2472
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2161
2473
  })
2162
2474
  .s("AccessAnalyzer", "CheckAccessNotGranted", {})
2163
2475
  .n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
2164
- .f(CheckAccessNotGrantedRequestFilterSensitiveLog, void 0)
2165
- .ser(se_CheckAccessNotGrantedCommand)
2166
- .de(de_CheckAccessNotGrantedCommand)
2476
+ .sc(CheckAccessNotGranted)
2167
2477
  .build() {
2168
2478
  }
2169
2479
 
@@ -2171,16 +2481,11 @@ class CheckNoNewAccessCommand extends smithyClient.Command
2171
2481
  .classBuilder()
2172
2482
  .ep(commonParams)
2173
2483
  .m(function (Command, cs, config, o) {
2174
- return [
2175
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2176
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2177
- ];
2484
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2178
2485
  })
2179
2486
  .s("AccessAnalyzer", "CheckNoNewAccess", {})
2180
2487
  .n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
2181
- .f(CheckNoNewAccessRequestFilterSensitiveLog, void 0)
2182
- .ser(se_CheckNoNewAccessCommand)
2183
- .de(de_CheckNoNewAccessCommand)
2488
+ .sc(CheckNoNewAccess)
2184
2489
  .build() {
2185
2490
  }
2186
2491
 
@@ -2188,16 +2493,11 @@ class CheckNoPublicAccessCommand extends smithyClient.Command
2188
2493
  .classBuilder()
2189
2494
  .ep(commonParams)
2190
2495
  .m(function (Command, cs, config, o) {
2191
- return [
2192
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2193
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2194
- ];
2496
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2195
2497
  })
2196
2498
  .s("AccessAnalyzer", "CheckNoPublicAccess", {})
2197
2499
  .n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
2198
- .f(CheckNoPublicAccessRequestFilterSensitiveLog, void 0)
2199
- .ser(se_CheckNoPublicAccessCommand)
2200
- .de(de_CheckNoPublicAccessCommand)
2500
+ .sc(CheckNoPublicAccess)
2201
2501
  .build() {
2202
2502
  }
2203
2503
 
@@ -2205,16 +2505,11 @@ class CreateAccessPreviewCommand extends smithyClient.Command
2205
2505
  .classBuilder()
2206
2506
  .ep(commonParams)
2207
2507
  .m(function (Command, cs, config, o) {
2208
- return [
2209
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2210
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2211
- ];
2508
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2212
2509
  })
2213
2510
  .s("AccessAnalyzer", "CreateAccessPreview", {})
2214
2511
  .n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
2215
- .f(void 0, void 0)
2216
- .ser(se_CreateAccessPreviewCommand)
2217
- .de(de_CreateAccessPreviewCommand)
2512
+ .sc(CreateAccessPreview)
2218
2513
  .build() {
2219
2514
  }
2220
2515
 
@@ -2222,16 +2517,11 @@ class CreateAnalyzerCommand extends smithyClient.Command
2222
2517
  .classBuilder()
2223
2518
  .ep(commonParams)
2224
2519
  .m(function (Command, cs, config, o) {
2225
- return [
2226
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2227
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2228
- ];
2520
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2229
2521
  })
2230
2522
  .s("AccessAnalyzer", "CreateAnalyzer", {})
2231
2523
  .n("AccessAnalyzerClient", "CreateAnalyzerCommand")
2232
- .f(void 0, void 0)
2233
- .ser(se_CreateAnalyzerCommand)
2234
- .de(de_CreateAnalyzerCommand)
2524
+ .sc(CreateAnalyzer)
2235
2525
  .build() {
2236
2526
  }
2237
2527
 
@@ -2239,16 +2529,11 @@ class CreateArchiveRuleCommand extends smithyClient.Command
2239
2529
  .classBuilder()
2240
2530
  .ep(commonParams)
2241
2531
  .m(function (Command, cs, config, o) {
2242
- return [
2243
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2244
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2245
- ];
2532
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2246
2533
  })
2247
2534
  .s("AccessAnalyzer", "CreateArchiveRule", {})
2248
2535
  .n("AccessAnalyzerClient", "CreateArchiveRuleCommand")
2249
- .f(void 0, void 0)
2250
- .ser(se_CreateArchiveRuleCommand)
2251
- .de(de_CreateArchiveRuleCommand)
2536
+ .sc(CreateArchiveRule)
2252
2537
  .build() {
2253
2538
  }
2254
2539
 
@@ -2256,16 +2541,11 @@ class DeleteAnalyzerCommand extends smithyClient.Command
2256
2541
  .classBuilder()
2257
2542
  .ep(commonParams)
2258
2543
  .m(function (Command, cs, config, o) {
2259
- return [
2260
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2261
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2262
- ];
2544
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2263
2545
  })
2264
2546
  .s("AccessAnalyzer", "DeleteAnalyzer", {})
2265
2547
  .n("AccessAnalyzerClient", "DeleteAnalyzerCommand")
2266
- .f(void 0, void 0)
2267
- .ser(se_DeleteAnalyzerCommand)
2268
- .de(de_DeleteAnalyzerCommand)
2548
+ .sc(DeleteAnalyzer)
2269
2549
  .build() {
2270
2550
  }
2271
2551
 
@@ -2273,16 +2553,11 @@ class DeleteArchiveRuleCommand extends smithyClient.Command
2273
2553
  .classBuilder()
2274
2554
  .ep(commonParams)
2275
2555
  .m(function (Command, cs, config, o) {
2276
- return [
2277
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2278
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2279
- ];
2556
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2280
2557
  })
2281
2558
  .s("AccessAnalyzer", "DeleteArchiveRule", {})
2282
2559
  .n("AccessAnalyzerClient", "DeleteArchiveRuleCommand")
2283
- .f(void 0, void 0)
2284
- .ser(se_DeleteArchiveRuleCommand)
2285
- .de(de_DeleteArchiveRuleCommand)
2560
+ .sc(DeleteArchiveRule)
2286
2561
  .build() {
2287
2562
  }
2288
2563
 
@@ -2290,16 +2565,11 @@ class GenerateFindingRecommendationCommand extends smithyClient.Command
2290
2565
  .classBuilder()
2291
2566
  .ep(commonParams)
2292
2567
  .m(function (Command, cs, config, o) {
2293
- return [
2294
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2295
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2296
- ];
2568
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2297
2569
  })
2298
2570
  .s("AccessAnalyzer", "GenerateFindingRecommendation", {})
2299
2571
  .n("AccessAnalyzerClient", "GenerateFindingRecommendationCommand")
2300
- .f(void 0, void 0)
2301
- .ser(se_GenerateFindingRecommendationCommand)
2302
- .de(de_GenerateFindingRecommendationCommand)
2572
+ .sc(GenerateFindingRecommendation)
2303
2573
  .build() {
2304
2574
  }
2305
2575
 
@@ -2307,16 +2577,11 @@ class GetAccessPreviewCommand extends smithyClient.Command
2307
2577
  .classBuilder()
2308
2578
  .ep(commonParams)
2309
2579
  .m(function (Command, cs, config, o) {
2310
- return [
2311
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2312
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2313
- ];
2580
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2314
2581
  })
2315
2582
  .s("AccessAnalyzer", "GetAccessPreview", {})
2316
2583
  .n("AccessAnalyzerClient", "GetAccessPreviewCommand")
2317
- .f(void 0, void 0)
2318
- .ser(se_GetAccessPreviewCommand)
2319
- .de(de_GetAccessPreviewCommand)
2584
+ .sc(GetAccessPreview)
2320
2585
  .build() {
2321
2586
  }
2322
2587
 
@@ -2324,16 +2589,11 @@ class GetAnalyzedResourceCommand extends smithyClient.Command
2324
2589
  .classBuilder()
2325
2590
  .ep(commonParams)
2326
2591
  .m(function (Command, cs, config, o) {
2327
- return [
2328
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2329
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2330
- ];
2592
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2331
2593
  })
2332
2594
  .s("AccessAnalyzer", "GetAnalyzedResource", {})
2333
2595
  .n("AccessAnalyzerClient", "GetAnalyzedResourceCommand")
2334
- .f(void 0, void 0)
2335
- .ser(se_GetAnalyzedResourceCommand)
2336
- .de(de_GetAnalyzedResourceCommand)
2596
+ .sc(GetAnalyzedResource)
2337
2597
  .build() {
2338
2598
  }
2339
2599
 
@@ -2341,16 +2601,11 @@ class GetAnalyzerCommand extends smithyClient.Command
2341
2601
  .classBuilder()
2342
2602
  .ep(commonParams)
2343
2603
  .m(function (Command, cs, config, o) {
2344
- return [
2345
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2346
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2347
- ];
2604
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2348
2605
  })
2349
2606
  .s("AccessAnalyzer", "GetAnalyzer", {})
2350
2607
  .n("AccessAnalyzerClient", "GetAnalyzerCommand")
2351
- .f(void 0, void 0)
2352
- .ser(se_GetAnalyzerCommand)
2353
- .de(de_GetAnalyzerCommand)
2608
+ .sc(GetAnalyzer)
2354
2609
  .build() {
2355
2610
  }
2356
2611
 
@@ -2358,16 +2613,11 @@ class GetArchiveRuleCommand extends smithyClient.Command
2358
2613
  .classBuilder()
2359
2614
  .ep(commonParams)
2360
2615
  .m(function (Command, cs, config, o) {
2361
- return [
2362
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2363
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2364
- ];
2616
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2365
2617
  })
2366
2618
  .s("AccessAnalyzer", "GetArchiveRule", {})
2367
2619
  .n("AccessAnalyzerClient", "GetArchiveRuleCommand")
2368
- .f(void 0, void 0)
2369
- .ser(se_GetArchiveRuleCommand)
2370
- .de(de_GetArchiveRuleCommand)
2620
+ .sc(GetArchiveRule)
2371
2621
  .build() {
2372
2622
  }
2373
2623
 
@@ -2375,16 +2625,11 @@ class GetFindingCommand extends smithyClient.Command
2375
2625
  .classBuilder()
2376
2626
  .ep(commonParams)
2377
2627
  .m(function (Command, cs, config, o) {
2378
- return [
2379
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2380
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2381
- ];
2628
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2382
2629
  })
2383
2630
  .s("AccessAnalyzer", "GetFinding", {})
2384
2631
  .n("AccessAnalyzerClient", "GetFindingCommand")
2385
- .f(void 0, void 0)
2386
- .ser(se_GetFindingCommand)
2387
- .de(de_GetFindingCommand)
2632
+ .sc(GetFinding)
2388
2633
  .build() {
2389
2634
  }
2390
2635
 
@@ -2392,16 +2637,11 @@ class GetFindingRecommendationCommand extends smithyClient.Command
2392
2637
  .classBuilder()
2393
2638
  .ep(commonParams)
2394
2639
  .m(function (Command, cs, config, o) {
2395
- return [
2396
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2397
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2398
- ];
2640
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2399
2641
  })
2400
2642
  .s("AccessAnalyzer", "GetFindingRecommendation", {})
2401
2643
  .n("AccessAnalyzerClient", "GetFindingRecommendationCommand")
2402
- .f(void 0, void 0)
2403
- .ser(se_GetFindingRecommendationCommand)
2404
- .de(de_GetFindingRecommendationCommand)
2644
+ .sc(GetFindingRecommendation)
2405
2645
  .build() {
2406
2646
  }
2407
2647
 
@@ -2409,16 +2649,11 @@ class GetFindingsStatisticsCommand extends smithyClient.Command
2409
2649
  .classBuilder()
2410
2650
  .ep(commonParams)
2411
2651
  .m(function (Command, cs, config, o) {
2412
- return [
2413
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2414
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2415
- ];
2652
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2416
2653
  })
2417
2654
  .s("AccessAnalyzer", "GetFindingsStatistics", {})
2418
2655
  .n("AccessAnalyzerClient", "GetFindingsStatisticsCommand")
2419
- .f(void 0, void 0)
2420
- .ser(se_GetFindingsStatisticsCommand)
2421
- .de(de_GetFindingsStatisticsCommand)
2656
+ .sc(GetFindingsStatistics)
2422
2657
  .build() {
2423
2658
  }
2424
2659
 
@@ -2426,16 +2661,11 @@ class GetFindingV2Command extends smithyClient.Command
2426
2661
  .classBuilder()
2427
2662
  .ep(commonParams)
2428
2663
  .m(function (Command, cs, config, o) {
2429
- return [
2430
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2431
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2432
- ];
2664
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2433
2665
  })
2434
2666
  .s("AccessAnalyzer", "GetFindingV2", {})
2435
2667
  .n("AccessAnalyzerClient", "GetFindingV2Command")
2436
- .f(void 0, void 0)
2437
- .ser(se_GetFindingV2Command)
2438
- .de(de_GetFindingV2Command)
2668
+ .sc(GetFindingV2)
2439
2669
  .build() {
2440
2670
  }
2441
2671
 
@@ -2443,16 +2673,11 @@ class GetGeneratedPolicyCommand extends smithyClient.Command
2443
2673
  .classBuilder()
2444
2674
  .ep(commonParams)
2445
2675
  .m(function (Command, cs, config, o) {
2446
- return [
2447
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2448
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2449
- ];
2676
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2450
2677
  })
2451
2678
  .s("AccessAnalyzer", "GetGeneratedPolicy", {})
2452
2679
  .n("AccessAnalyzerClient", "GetGeneratedPolicyCommand")
2453
- .f(void 0, void 0)
2454
- .ser(se_GetGeneratedPolicyCommand)
2455
- .de(de_GetGeneratedPolicyCommand)
2680
+ .sc(GetGeneratedPolicy)
2456
2681
  .build() {
2457
2682
  }
2458
2683
 
@@ -2460,16 +2685,11 @@ class ListAccessPreviewFindingsCommand extends smithyClient.Command
2460
2685
  .classBuilder()
2461
2686
  .ep(commonParams)
2462
2687
  .m(function (Command, cs, config, o) {
2463
- return [
2464
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2465
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2466
- ];
2688
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2467
2689
  })
2468
2690
  .s("AccessAnalyzer", "ListAccessPreviewFindings", {})
2469
2691
  .n("AccessAnalyzerClient", "ListAccessPreviewFindingsCommand")
2470
- .f(void 0, void 0)
2471
- .ser(se_ListAccessPreviewFindingsCommand)
2472
- .de(de_ListAccessPreviewFindingsCommand)
2692
+ .sc(ListAccessPreviewFindings)
2473
2693
  .build() {
2474
2694
  }
2475
2695
 
@@ -2477,16 +2697,11 @@ class ListAccessPreviewsCommand extends smithyClient.Command
2477
2697
  .classBuilder()
2478
2698
  .ep(commonParams)
2479
2699
  .m(function (Command, cs, config, o) {
2480
- return [
2481
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2482
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2483
- ];
2700
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2484
2701
  })
2485
2702
  .s("AccessAnalyzer", "ListAccessPreviews", {})
2486
2703
  .n("AccessAnalyzerClient", "ListAccessPreviewsCommand")
2487
- .f(void 0, void 0)
2488
- .ser(se_ListAccessPreviewsCommand)
2489
- .de(de_ListAccessPreviewsCommand)
2704
+ .sc(ListAccessPreviews)
2490
2705
  .build() {
2491
2706
  }
2492
2707
 
@@ -2494,16 +2709,11 @@ class ListAnalyzedResourcesCommand extends smithyClient.Command
2494
2709
  .classBuilder()
2495
2710
  .ep(commonParams)
2496
2711
  .m(function (Command, cs, config, o) {
2497
- return [
2498
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2499
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2500
- ];
2712
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2501
2713
  })
2502
2714
  .s("AccessAnalyzer", "ListAnalyzedResources", {})
2503
2715
  .n("AccessAnalyzerClient", "ListAnalyzedResourcesCommand")
2504
- .f(void 0, void 0)
2505
- .ser(se_ListAnalyzedResourcesCommand)
2506
- .de(de_ListAnalyzedResourcesCommand)
2716
+ .sc(ListAnalyzedResources)
2507
2717
  .build() {
2508
2718
  }
2509
2719
 
@@ -2511,16 +2721,11 @@ class ListAnalyzersCommand extends smithyClient.Command
2511
2721
  .classBuilder()
2512
2722
  .ep(commonParams)
2513
2723
  .m(function (Command, cs, config, o) {
2514
- return [
2515
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2516
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2517
- ];
2724
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2518
2725
  })
2519
2726
  .s("AccessAnalyzer", "ListAnalyzers", {})
2520
2727
  .n("AccessAnalyzerClient", "ListAnalyzersCommand")
2521
- .f(void 0, void 0)
2522
- .ser(se_ListAnalyzersCommand)
2523
- .de(de_ListAnalyzersCommand)
2728
+ .sc(ListAnalyzers)
2524
2729
  .build() {
2525
2730
  }
2526
2731
 
@@ -2528,16 +2733,11 @@ class ListArchiveRulesCommand extends smithyClient.Command
2528
2733
  .classBuilder()
2529
2734
  .ep(commonParams)
2530
2735
  .m(function (Command, cs, config, o) {
2531
- return [
2532
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2533
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2534
- ];
2736
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2535
2737
  })
2536
2738
  .s("AccessAnalyzer", "ListArchiveRules", {})
2537
2739
  .n("AccessAnalyzerClient", "ListArchiveRulesCommand")
2538
- .f(void 0, void 0)
2539
- .ser(se_ListArchiveRulesCommand)
2540
- .de(de_ListArchiveRulesCommand)
2740
+ .sc(ListArchiveRules)
2541
2741
  .build() {
2542
2742
  }
2543
2743
 
@@ -2545,16 +2745,11 @@ class ListFindingsCommand extends smithyClient.Command
2545
2745
  .classBuilder()
2546
2746
  .ep(commonParams)
2547
2747
  .m(function (Command, cs, config, o) {
2548
- return [
2549
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2550
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2551
- ];
2748
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2552
2749
  })
2553
2750
  .s("AccessAnalyzer", "ListFindings", {})
2554
2751
  .n("AccessAnalyzerClient", "ListFindingsCommand")
2555
- .f(void 0, void 0)
2556
- .ser(se_ListFindingsCommand)
2557
- .de(de_ListFindingsCommand)
2752
+ .sc(ListFindings)
2558
2753
  .build() {
2559
2754
  }
2560
2755
 
@@ -2562,16 +2757,11 @@ class ListFindingsV2Command extends smithyClient.Command
2562
2757
  .classBuilder()
2563
2758
  .ep(commonParams)
2564
2759
  .m(function (Command, cs, config, o) {
2565
- return [
2566
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2567
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2568
- ];
2760
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2569
2761
  })
2570
2762
  .s("AccessAnalyzer", "ListFindingsV2", {})
2571
2763
  .n("AccessAnalyzerClient", "ListFindingsV2Command")
2572
- .f(void 0, void 0)
2573
- .ser(se_ListFindingsV2Command)
2574
- .de(de_ListFindingsV2Command)
2764
+ .sc(ListFindingsV2)
2575
2765
  .build() {
2576
2766
  }
2577
2767
 
@@ -2579,16 +2769,11 @@ class ListPolicyGenerationsCommand extends smithyClient.Command
2579
2769
  .classBuilder()
2580
2770
  .ep(commonParams)
2581
2771
  .m(function (Command, cs, config, o) {
2582
- return [
2583
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2584
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2585
- ];
2772
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2586
2773
  })
2587
2774
  .s("AccessAnalyzer", "ListPolicyGenerations", {})
2588
2775
  .n("AccessAnalyzerClient", "ListPolicyGenerationsCommand")
2589
- .f(void 0, void 0)
2590
- .ser(se_ListPolicyGenerationsCommand)
2591
- .de(de_ListPolicyGenerationsCommand)
2776
+ .sc(ListPolicyGenerations)
2592
2777
  .build() {
2593
2778
  }
2594
2779
 
@@ -2596,16 +2781,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2596
2781
  .classBuilder()
2597
2782
  .ep(commonParams)
2598
2783
  .m(function (Command, cs, config, o) {
2599
- return [
2600
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2601
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2602
- ];
2784
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2603
2785
  })
2604
2786
  .s("AccessAnalyzer", "ListTagsForResource", {})
2605
2787
  .n("AccessAnalyzerClient", "ListTagsForResourceCommand")
2606
- .f(void 0, void 0)
2607
- .ser(se_ListTagsForResourceCommand)
2608
- .de(de_ListTagsForResourceCommand)
2788
+ .sc(ListTagsForResource)
2609
2789
  .build() {
2610
2790
  }
2611
2791
 
@@ -2613,16 +2793,11 @@ class StartPolicyGenerationCommand extends smithyClient.Command
2613
2793
  .classBuilder()
2614
2794
  .ep(commonParams)
2615
2795
  .m(function (Command, cs, config, o) {
2616
- return [
2617
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2618
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2619
- ];
2796
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2620
2797
  })
2621
2798
  .s("AccessAnalyzer", "StartPolicyGeneration", {})
2622
2799
  .n("AccessAnalyzerClient", "StartPolicyGenerationCommand")
2623
- .f(void 0, void 0)
2624
- .ser(se_StartPolicyGenerationCommand)
2625
- .de(de_StartPolicyGenerationCommand)
2800
+ .sc(StartPolicyGeneration)
2626
2801
  .build() {
2627
2802
  }
2628
2803
 
@@ -2630,16 +2805,11 @@ class StartResourceScanCommand extends smithyClient.Command
2630
2805
  .classBuilder()
2631
2806
  .ep(commonParams)
2632
2807
  .m(function (Command, cs, config, o) {
2633
- return [
2634
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2635
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2636
- ];
2808
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2637
2809
  })
2638
2810
  .s("AccessAnalyzer", "StartResourceScan", {})
2639
2811
  .n("AccessAnalyzerClient", "StartResourceScanCommand")
2640
- .f(void 0, void 0)
2641
- .ser(se_StartResourceScanCommand)
2642
- .de(de_StartResourceScanCommand)
2812
+ .sc(StartResourceScan)
2643
2813
  .build() {
2644
2814
  }
2645
2815
 
@@ -2647,16 +2817,11 @@ class TagResourceCommand extends smithyClient.Command
2647
2817
  .classBuilder()
2648
2818
  .ep(commonParams)
2649
2819
  .m(function (Command, cs, config, o) {
2650
- return [
2651
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2652
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2653
- ];
2820
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2654
2821
  })
2655
2822
  .s("AccessAnalyzer", "TagResource", {})
2656
2823
  .n("AccessAnalyzerClient", "TagResourceCommand")
2657
- .f(void 0, void 0)
2658
- .ser(se_TagResourceCommand)
2659
- .de(de_TagResourceCommand)
2824
+ .sc(TagResource)
2660
2825
  .build() {
2661
2826
  }
2662
2827
 
@@ -2664,16 +2829,11 @@ class UntagResourceCommand extends smithyClient.Command
2664
2829
  .classBuilder()
2665
2830
  .ep(commonParams)
2666
2831
  .m(function (Command, cs, config, o) {
2667
- return [
2668
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2669
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2670
- ];
2832
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2671
2833
  })
2672
2834
  .s("AccessAnalyzer", "UntagResource", {})
2673
2835
  .n("AccessAnalyzerClient", "UntagResourceCommand")
2674
- .f(void 0, void 0)
2675
- .ser(se_UntagResourceCommand)
2676
- .de(de_UntagResourceCommand)
2836
+ .sc(UntagResource)
2677
2837
  .build() {
2678
2838
  }
2679
2839
 
@@ -2681,16 +2841,11 @@ class UpdateAnalyzerCommand extends smithyClient.Command
2681
2841
  .classBuilder()
2682
2842
  .ep(commonParams)
2683
2843
  .m(function (Command, cs, config, o) {
2684
- return [
2685
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2686
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2687
- ];
2844
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2688
2845
  })
2689
2846
  .s("AccessAnalyzer", "UpdateAnalyzer", {})
2690
2847
  .n("AccessAnalyzerClient", "UpdateAnalyzerCommand")
2691
- .f(void 0, void 0)
2692
- .ser(se_UpdateAnalyzerCommand)
2693
- .de(de_UpdateAnalyzerCommand)
2848
+ .sc(UpdateAnalyzer)
2694
2849
  .build() {
2695
2850
  }
2696
2851
 
@@ -2698,16 +2853,11 @@ class UpdateArchiveRuleCommand extends smithyClient.Command
2698
2853
  .classBuilder()
2699
2854
  .ep(commonParams)
2700
2855
  .m(function (Command, cs, config, o) {
2701
- return [
2702
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2703
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2704
- ];
2856
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2705
2857
  })
2706
2858
  .s("AccessAnalyzer", "UpdateArchiveRule", {})
2707
2859
  .n("AccessAnalyzerClient", "UpdateArchiveRuleCommand")
2708
- .f(void 0, void 0)
2709
- .ser(se_UpdateArchiveRuleCommand)
2710
- .de(de_UpdateArchiveRuleCommand)
2860
+ .sc(UpdateArchiveRule)
2711
2861
  .build() {
2712
2862
  }
2713
2863
 
@@ -2715,16 +2865,11 @@ class UpdateFindingsCommand extends smithyClient.Command
2715
2865
  .classBuilder()
2716
2866
  .ep(commonParams)
2717
2867
  .m(function (Command, cs, config, o) {
2718
- return [
2719
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2720
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2721
- ];
2868
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2722
2869
  })
2723
2870
  .s("AccessAnalyzer", "UpdateFindings", {})
2724
2871
  .n("AccessAnalyzerClient", "UpdateFindingsCommand")
2725
- .f(void 0, void 0)
2726
- .ser(se_UpdateFindingsCommand)
2727
- .de(de_UpdateFindingsCommand)
2872
+ .sc(UpdateFindings)
2728
2873
  .build() {
2729
2874
  }
2730
2875
 
@@ -2732,16 +2877,11 @@ class ValidatePolicyCommand extends smithyClient.Command
2732
2877
  .classBuilder()
2733
2878
  .ep(commonParams)
2734
2879
  .m(function (Command, cs, config, o) {
2735
- return [
2736
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2737
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2738
- ];
2880
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2739
2881
  })
2740
2882
  .s("AccessAnalyzer", "ValidatePolicy", {})
2741
2883
  .n("AccessAnalyzerClient", "ValidatePolicyCommand")
2742
- .f(void 0, void 0)
2743
- .ser(se_ValidatePolicyCommand)
2744
- .de(de_ValidatePolicyCommand)
2884
+ .sc(ValidatePolicy)
2745
2885
  .build() {
2746
2886
  }
2747
2887
 
@@ -2820,25 +2960,22 @@ Object.defineProperty(exports, "__Client", {
2820
2960
  });
2821
2961
  exports.AccessAnalyzer = AccessAnalyzer;
2822
2962
  exports.AccessAnalyzerClient = AccessAnalyzerClient;
2823
- exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException;
2963
+ exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException$1;
2824
2964
  exports.AccessCheckPolicyType = AccessCheckPolicyType;
2825
2965
  exports.AccessCheckResourceType = AccessCheckResourceType;
2826
- exports.AccessDeniedException = AccessDeniedException;
2966
+ exports.AccessDeniedException = AccessDeniedException$1;
2827
2967
  exports.AccessPreviewStatus = AccessPreviewStatus;
2828
2968
  exports.AccessPreviewStatusReasonCode = AccessPreviewStatusReasonCode;
2829
2969
  exports.AclPermission = AclPermission;
2830
2970
  exports.ApplyArchiveRuleCommand = ApplyArchiveRuleCommand;
2831
2971
  exports.CancelPolicyGenerationCommand = CancelPolicyGenerationCommand;
2832
2972
  exports.CheckAccessNotGrantedCommand = CheckAccessNotGrantedCommand;
2833
- exports.CheckAccessNotGrantedRequestFilterSensitiveLog = CheckAccessNotGrantedRequestFilterSensitiveLog;
2834
2973
  exports.CheckAccessNotGrantedResult = CheckAccessNotGrantedResult;
2835
2974
  exports.CheckNoNewAccessCommand = CheckNoNewAccessCommand;
2836
- exports.CheckNoNewAccessRequestFilterSensitiveLog = CheckNoNewAccessRequestFilterSensitiveLog;
2837
2975
  exports.CheckNoNewAccessResult = CheckNoNewAccessResult;
2838
2976
  exports.CheckNoPublicAccessCommand = CheckNoPublicAccessCommand;
2839
- exports.CheckNoPublicAccessRequestFilterSensitiveLog = CheckNoPublicAccessRequestFilterSensitiveLog;
2840
2977
  exports.CheckNoPublicAccessResult = CheckNoPublicAccessResult;
2841
- exports.ConflictException = ConflictException;
2978
+ exports.ConflictException = ConflictException$1;
2842
2979
  exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
2843
2980
  exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
2844
2981
  exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
@@ -2857,8 +2994,8 @@ exports.GetFindingV2Command = GetFindingV2Command;
2857
2994
  exports.GetFindingsStatisticsCommand = GetFindingsStatisticsCommand;
2858
2995
  exports.GetGeneratedPolicyCommand = GetGeneratedPolicyCommand;
2859
2996
  exports.InternalAccessType = InternalAccessType;
2860
- exports.InternalServerException = InternalServerException;
2861
- exports.InvalidParameterException = InvalidParameterException;
2997
+ exports.InternalServerException = InternalServerException$1;
2998
+ exports.InvalidParameterException = InvalidParameterException$1;
2862
2999
  exports.JobErrorCode = JobErrorCode;
2863
3000
  exports.JobStatus = JobStatus;
2864
3001
  exports.KmsGrantOperation = KmsGrantOperation;
@@ -2877,15 +3014,15 @@ exports.PrincipalType = PrincipalType;
2877
3014
  exports.RecommendationType = RecommendationType;
2878
3015
  exports.RecommendedRemediationAction = RecommendedRemediationAction;
2879
3016
  exports.ResourceControlPolicyRestriction = ResourceControlPolicyRestriction;
2880
- exports.ResourceNotFoundException = ResourceNotFoundException;
3017
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2881
3018
  exports.ServiceControlPolicyRestriction = ServiceControlPolicyRestriction;
2882
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
3019
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2883
3020
  exports.StartPolicyGenerationCommand = StartPolicyGenerationCommand;
2884
3021
  exports.StartResourceScanCommand = StartResourceScanCommand;
2885
3022
  exports.Status = Status;
2886
3023
  exports.TagResourceCommand = TagResourceCommand;
2887
- exports.ThrottlingException = ThrottlingException;
2888
- exports.UnprocessableEntityException = UnprocessableEntityException;
3024
+ exports.ThrottlingException = ThrottlingException$1;
3025
+ exports.UnprocessableEntityException = UnprocessableEntityException$1;
2889
3026
  exports.UntagResourceCommand = UntagResourceCommand;
2890
3027
  exports.UpdateAnalyzerCommand = UpdateAnalyzerCommand;
2891
3028
  exports.UpdateArchiveRuleCommand = UpdateArchiveRuleCommand;
@@ -2893,7 +3030,7 @@ exports.UpdateFindingsCommand = UpdateFindingsCommand;
2893
3030
  exports.ValidatePolicyCommand = ValidatePolicyCommand;
2894
3031
  exports.ValidatePolicyFindingType = ValidatePolicyFindingType;
2895
3032
  exports.ValidatePolicyResourceType = ValidatePolicyResourceType;
2896
- exports.ValidationException = ValidationException;
3033
+ exports.ValidationException = ValidationException$1;
2897
3034
  exports.ValidationExceptionReason = ValidationExceptionReason;
2898
3035
  exports.paginateGetFindingRecommendation = paginateGetFindingRecommendation;
2899
3036
  exports.paginateGetFindingV2 = paginateGetFindingV2;