@aws-sdk/client-accessanalyzer 3.929.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.
package/dist-cjs/index.js CHANGED
@@ -232,16 +232,6 @@ let ValidationException$1 = class ValidationException extends AccessAnalyzerServ
232
232
  this.fieldList = opts.fieldList;
233
233
  }
234
234
  };
235
- exports.AnalyzerConfiguration = void 0;
236
- (function (AnalyzerConfiguration) {
237
- AnalyzerConfiguration.visit = (value, visitor) => {
238
- if (value.unusedAccess !== undefined)
239
- return visitor.unusedAccess(value.unusedAccess);
240
- if (value.internalAccess !== undefined)
241
- return visitor.internalAccess(value.internalAccess);
242
- return visitor._(value.$unknown[0], value.$unknown[1]);
243
- };
244
- })(exports.AnalyzerConfiguration || (exports.AnalyzerConfiguration = {}));
245
235
  const AccessCheckPolicyType = {
246
236
  IDENTITY_POLICY: "IDENTITY_POLICY",
247
237
  RESOURCE_POLICY: "RESOURCE_POLICY",
@@ -327,42 +317,6 @@ const KmsGrantOperation = {
327
317
  SIGN: "Sign",
328
318
  VERIFY: "Verify",
329
319
  };
330
- exports.RdsDbClusterSnapshotAttributeValue = void 0;
331
- (function (RdsDbClusterSnapshotAttributeValue) {
332
- RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
333
- if (value.accountIds !== undefined)
334
- return visitor.accountIds(value.accountIds);
335
- return visitor._(value.$unknown[0], value.$unknown[1]);
336
- };
337
- })(exports.RdsDbClusterSnapshotAttributeValue || (exports.RdsDbClusterSnapshotAttributeValue = {}));
338
- exports.RdsDbSnapshotAttributeValue = void 0;
339
- (function (RdsDbSnapshotAttributeValue) {
340
- RdsDbSnapshotAttributeValue.visit = (value, visitor) => {
341
- if (value.accountIds !== undefined)
342
- return visitor.accountIds(value.accountIds);
343
- return visitor._(value.$unknown[0], value.$unknown[1]);
344
- };
345
- })(exports.RdsDbSnapshotAttributeValue || (exports.RdsDbSnapshotAttributeValue = {}));
346
- exports.NetworkOriginConfiguration = void 0;
347
- (function (NetworkOriginConfiguration) {
348
- NetworkOriginConfiguration.visit = (value, visitor) => {
349
- if (value.vpcConfiguration !== undefined)
350
- return visitor.vpcConfiguration(value.vpcConfiguration);
351
- if (value.internetConfiguration !== undefined)
352
- return visitor.internetConfiguration(value.internetConfiguration);
353
- return visitor._(value.$unknown[0], value.$unknown[1]);
354
- };
355
- })(exports.NetworkOriginConfiguration || (exports.NetworkOriginConfiguration = {}));
356
- exports.AclGrantee = void 0;
357
- (function (AclGrantee) {
358
- AclGrantee.visit = (value, visitor) => {
359
- if (value.id !== undefined)
360
- return visitor.id(value.id);
361
- if (value.uri !== undefined)
362
- return visitor.uri(value.uri);
363
- return visitor._(value.$unknown[0], value.$unknown[1]);
364
- };
365
- })(exports.AclGrantee || (exports.AclGrantee = {}));
366
320
  const AclPermission = {
367
321
  FULL_CONTROL: "FULL_CONTROL",
368
322
  READ: "READ",
@@ -370,40 +324,6 @@ const AclPermission = {
370
324
  WRITE: "WRITE",
371
325
  WRITE_ACP: "WRITE_ACP",
372
326
  };
373
- exports.Configuration = void 0;
374
- (function (Configuration) {
375
- Configuration.visit = (value, visitor) => {
376
- if (value.ebsSnapshot !== undefined)
377
- return visitor.ebsSnapshot(value.ebsSnapshot);
378
- if (value.ecrRepository !== undefined)
379
- return visitor.ecrRepository(value.ecrRepository);
380
- if (value.iamRole !== undefined)
381
- return visitor.iamRole(value.iamRole);
382
- if (value.efsFileSystem !== undefined)
383
- return visitor.efsFileSystem(value.efsFileSystem);
384
- if (value.kmsKey !== undefined)
385
- return visitor.kmsKey(value.kmsKey);
386
- if (value.rdsDbClusterSnapshot !== undefined)
387
- return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
388
- if (value.rdsDbSnapshot !== undefined)
389
- return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
390
- if (value.secretsManagerSecret !== undefined)
391
- return visitor.secretsManagerSecret(value.secretsManagerSecret);
392
- if (value.s3Bucket !== undefined)
393
- return visitor.s3Bucket(value.s3Bucket);
394
- if (value.snsTopic !== undefined)
395
- return visitor.snsTopic(value.snsTopic);
396
- if (value.sqsQueue !== undefined)
397
- return visitor.sqsQueue(value.sqsQueue);
398
- if (value.s3ExpressDirectoryBucket !== undefined)
399
- return visitor.s3ExpressDirectoryBucket(value.s3ExpressDirectoryBucket);
400
- if (value.dynamodbStream !== undefined)
401
- return visitor.dynamodbStream(value.dynamodbStream);
402
- if (value.dynamodbTable !== undefined)
403
- return visitor.dynamodbTable(value.dynamodbTable);
404
- return visitor._(value.$unknown[0], value.$unknown[1]);
405
- };
406
- })(exports.Configuration || (exports.Configuration = {}));
407
327
  const AccessPreviewStatus = {
408
328
  COMPLETED: "COMPLETED",
409
329
  CREATING: "CREATING",
@@ -426,31 +346,11 @@ const RecommendedRemediationAction = {
426
346
  CREATE_POLICY: "CREATE_POLICY",
427
347
  DETACH_POLICY: "DETACH_POLICY",
428
348
  };
429
- exports.RecommendedStep = void 0;
430
- (function (RecommendedStep) {
431
- RecommendedStep.visit = (value, visitor) => {
432
- if (value.unusedPermissionsRecommendedStep !== undefined)
433
- return visitor.unusedPermissionsRecommendedStep(value.unusedPermissionsRecommendedStep);
434
- return visitor._(value.$unknown[0], value.$unknown[1]);
435
- };
436
- })(exports.RecommendedStep || (exports.RecommendedStep = {}));
437
349
  const Status = {
438
350
  FAILED: "FAILED",
439
351
  IN_PROGRESS: "IN_PROGRESS",
440
352
  SUCCEEDED: "SUCCEEDED",
441
353
  };
442
- exports.FindingsStatistics = void 0;
443
- (function (FindingsStatistics) {
444
- FindingsStatistics.visit = (value, visitor) => {
445
- if (value.externalAccessFindingsStatistics !== undefined)
446
- return visitor.externalAccessFindingsStatistics(value.externalAccessFindingsStatistics);
447
- if (value.internalAccessFindingsStatistics !== undefined)
448
- return visitor.internalAccessFindingsStatistics(value.internalAccessFindingsStatistics);
449
- if (value.unusedAccessFindingsStatistics !== undefined)
450
- return visitor.unusedAccessFindingsStatistics(value.unusedAccessFindingsStatistics);
451
- return visitor._(value.$unknown[0], value.$unknown[1]);
452
- };
453
- })(exports.FindingsStatistics || (exports.FindingsStatistics = {}));
454
354
  const InternalAccessType = {
455
355
  INTRA_ACCOUNT: "INTRA_ACCOUNT",
456
356
  INTRA_ORG: "INTRA_ORG",
@@ -465,24 +365,6 @@ const ServiceControlPolicyRestriction = {
465
365
  FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP",
466
366
  NOT_APPLICABLE: "NOT_APPLICABLE",
467
367
  };
468
- exports.FindingDetails = void 0;
469
- (function (FindingDetails) {
470
- FindingDetails.visit = (value, visitor) => {
471
- if (value.internalAccessDetails !== undefined)
472
- return visitor.internalAccessDetails(value.internalAccessDetails);
473
- if (value.externalAccessDetails !== undefined)
474
- return visitor.externalAccessDetails(value.externalAccessDetails);
475
- if (value.unusedPermissionDetails !== undefined)
476
- return visitor.unusedPermissionDetails(value.unusedPermissionDetails);
477
- if (value.unusedIamUserAccessKeyDetails !== undefined)
478
- return visitor.unusedIamUserAccessKeyDetails(value.unusedIamUserAccessKeyDetails);
479
- if (value.unusedIamRoleDetails !== undefined)
480
- return visitor.unusedIamRoleDetails(value.unusedIamRoleDetails);
481
- if (value.unusedIamUserPasswordDetails !== undefined)
482
- return visitor.unusedIamUserPasswordDetails(value.unusedIamUserPasswordDetails);
483
- return visitor._(value.$unknown[0], value.$unknown[1]);
484
- };
485
- })(exports.FindingDetails || (exports.FindingDetails = {}));
486
368
  const FindingType = {
487
369
  EXTERNAL_ACCESS: "ExternalAccess",
488
370
  INTERNAL_ACCESS: "InternalAccess",
@@ -540,20 +422,6 @@ const ValidatePolicyFindingType = {
540
422
  SUGGESTION: "SUGGESTION",
541
423
  WARNING: "WARNING",
542
424
  };
543
- exports.PathElement = void 0;
544
- (function (PathElement) {
545
- PathElement.visit = (value, visitor) => {
546
- if (value.index !== undefined)
547
- return visitor.index(value.index);
548
- if (value.key !== undefined)
549
- return visitor.key(value.key);
550
- if (value.substring !== undefined)
551
- return visitor.substring(value.substring);
552
- if (value.value !== undefined)
553
- return visitor.value(value.value);
554
- return visitor._(value.$unknown[0], value.$unknown[1]);
555
- };
556
- })(exports.PathElement || (exports.PathElement = {}));
557
425
 
558
426
  const _A = "Access";
559
427
  const _AA = "AccountAggregations";
@@ -114,16 +114,6 @@ export class ValidationException extends __BaseException {
114
114
  this.fieldList = opts.fieldList;
115
115
  }
116
116
  }
117
- export var AnalyzerConfiguration;
118
- (function (AnalyzerConfiguration) {
119
- AnalyzerConfiguration.visit = (value, visitor) => {
120
- if (value.unusedAccess !== undefined)
121
- return visitor.unusedAccess(value.unusedAccess);
122
- if (value.internalAccess !== undefined)
123
- return visitor.internalAccess(value.internalAccess);
124
- return visitor._(value.$unknown[0], value.$unknown[1]);
125
- };
126
- })(AnalyzerConfiguration || (AnalyzerConfiguration = {}));
127
117
  export const AccessCheckPolicyType = {
128
118
  IDENTITY_POLICY: "IDENTITY_POLICY",
129
119
  RESOURCE_POLICY: "RESOURCE_POLICY",
@@ -209,42 +199,6 @@ export const KmsGrantOperation = {
209
199
  SIGN: "Sign",
210
200
  VERIFY: "Verify",
211
201
  };
212
- export var RdsDbClusterSnapshotAttributeValue;
213
- (function (RdsDbClusterSnapshotAttributeValue) {
214
- RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
215
- if (value.accountIds !== undefined)
216
- return visitor.accountIds(value.accountIds);
217
- return visitor._(value.$unknown[0], value.$unknown[1]);
218
- };
219
- })(RdsDbClusterSnapshotAttributeValue || (RdsDbClusterSnapshotAttributeValue = {}));
220
- export var RdsDbSnapshotAttributeValue;
221
- (function (RdsDbSnapshotAttributeValue) {
222
- RdsDbSnapshotAttributeValue.visit = (value, visitor) => {
223
- if (value.accountIds !== undefined)
224
- return visitor.accountIds(value.accountIds);
225
- return visitor._(value.$unknown[0], value.$unknown[1]);
226
- };
227
- })(RdsDbSnapshotAttributeValue || (RdsDbSnapshotAttributeValue = {}));
228
- export var NetworkOriginConfiguration;
229
- (function (NetworkOriginConfiguration) {
230
- NetworkOriginConfiguration.visit = (value, visitor) => {
231
- if (value.vpcConfiguration !== undefined)
232
- return visitor.vpcConfiguration(value.vpcConfiguration);
233
- if (value.internetConfiguration !== undefined)
234
- return visitor.internetConfiguration(value.internetConfiguration);
235
- return visitor._(value.$unknown[0], value.$unknown[1]);
236
- };
237
- })(NetworkOriginConfiguration || (NetworkOriginConfiguration = {}));
238
- export var AclGrantee;
239
- (function (AclGrantee) {
240
- AclGrantee.visit = (value, visitor) => {
241
- if (value.id !== undefined)
242
- return visitor.id(value.id);
243
- if (value.uri !== undefined)
244
- return visitor.uri(value.uri);
245
- return visitor._(value.$unknown[0], value.$unknown[1]);
246
- };
247
- })(AclGrantee || (AclGrantee = {}));
248
202
  export const AclPermission = {
249
203
  FULL_CONTROL: "FULL_CONTROL",
250
204
  READ: "READ",
@@ -252,40 +206,6 @@ export const AclPermission = {
252
206
  WRITE: "WRITE",
253
207
  WRITE_ACP: "WRITE_ACP",
254
208
  };
255
- export var Configuration;
256
- (function (Configuration) {
257
- Configuration.visit = (value, visitor) => {
258
- if (value.ebsSnapshot !== undefined)
259
- return visitor.ebsSnapshot(value.ebsSnapshot);
260
- if (value.ecrRepository !== undefined)
261
- return visitor.ecrRepository(value.ecrRepository);
262
- if (value.iamRole !== undefined)
263
- return visitor.iamRole(value.iamRole);
264
- if (value.efsFileSystem !== undefined)
265
- return visitor.efsFileSystem(value.efsFileSystem);
266
- if (value.kmsKey !== undefined)
267
- return visitor.kmsKey(value.kmsKey);
268
- if (value.rdsDbClusterSnapshot !== undefined)
269
- return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
270
- if (value.rdsDbSnapshot !== undefined)
271
- return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
272
- if (value.secretsManagerSecret !== undefined)
273
- return visitor.secretsManagerSecret(value.secretsManagerSecret);
274
- if (value.s3Bucket !== undefined)
275
- return visitor.s3Bucket(value.s3Bucket);
276
- if (value.snsTopic !== undefined)
277
- return visitor.snsTopic(value.snsTopic);
278
- if (value.sqsQueue !== undefined)
279
- return visitor.sqsQueue(value.sqsQueue);
280
- if (value.s3ExpressDirectoryBucket !== undefined)
281
- return visitor.s3ExpressDirectoryBucket(value.s3ExpressDirectoryBucket);
282
- if (value.dynamodbStream !== undefined)
283
- return visitor.dynamodbStream(value.dynamodbStream);
284
- if (value.dynamodbTable !== undefined)
285
- return visitor.dynamodbTable(value.dynamodbTable);
286
- return visitor._(value.$unknown[0], value.$unknown[1]);
287
- };
288
- })(Configuration || (Configuration = {}));
289
209
  export const AccessPreviewStatus = {
290
210
  COMPLETED: "COMPLETED",
291
211
  CREATING: "CREATING",
@@ -308,31 +228,11 @@ export const RecommendedRemediationAction = {
308
228
  CREATE_POLICY: "CREATE_POLICY",
309
229
  DETACH_POLICY: "DETACH_POLICY",
310
230
  };
311
- export var RecommendedStep;
312
- (function (RecommendedStep) {
313
- RecommendedStep.visit = (value, visitor) => {
314
- if (value.unusedPermissionsRecommendedStep !== undefined)
315
- return visitor.unusedPermissionsRecommendedStep(value.unusedPermissionsRecommendedStep);
316
- return visitor._(value.$unknown[0], value.$unknown[1]);
317
- };
318
- })(RecommendedStep || (RecommendedStep = {}));
319
231
  export const Status = {
320
232
  FAILED: "FAILED",
321
233
  IN_PROGRESS: "IN_PROGRESS",
322
234
  SUCCEEDED: "SUCCEEDED",
323
235
  };
324
- export var FindingsStatistics;
325
- (function (FindingsStatistics) {
326
- FindingsStatistics.visit = (value, visitor) => {
327
- if (value.externalAccessFindingsStatistics !== undefined)
328
- return visitor.externalAccessFindingsStatistics(value.externalAccessFindingsStatistics);
329
- if (value.internalAccessFindingsStatistics !== undefined)
330
- return visitor.internalAccessFindingsStatistics(value.internalAccessFindingsStatistics);
331
- if (value.unusedAccessFindingsStatistics !== undefined)
332
- return visitor.unusedAccessFindingsStatistics(value.unusedAccessFindingsStatistics);
333
- return visitor._(value.$unknown[0], value.$unknown[1]);
334
- };
335
- })(FindingsStatistics || (FindingsStatistics = {}));
336
236
  export const InternalAccessType = {
337
237
  INTRA_ACCOUNT: "INTRA_ACCOUNT",
338
238
  INTRA_ORG: "INTRA_ORG",
@@ -347,24 +247,6 @@ export const ServiceControlPolicyRestriction = {
347
247
  FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP",
348
248
  NOT_APPLICABLE: "NOT_APPLICABLE",
349
249
  };
350
- export var FindingDetails;
351
- (function (FindingDetails) {
352
- FindingDetails.visit = (value, visitor) => {
353
- if (value.internalAccessDetails !== undefined)
354
- return visitor.internalAccessDetails(value.internalAccessDetails);
355
- if (value.externalAccessDetails !== undefined)
356
- return visitor.externalAccessDetails(value.externalAccessDetails);
357
- if (value.unusedPermissionDetails !== undefined)
358
- return visitor.unusedPermissionDetails(value.unusedPermissionDetails);
359
- if (value.unusedIamUserAccessKeyDetails !== undefined)
360
- return visitor.unusedIamUserAccessKeyDetails(value.unusedIamUserAccessKeyDetails);
361
- if (value.unusedIamRoleDetails !== undefined)
362
- return visitor.unusedIamRoleDetails(value.unusedIamRoleDetails);
363
- if (value.unusedIamUserPasswordDetails !== undefined)
364
- return visitor.unusedIamUserPasswordDetails(value.unusedIamUserPasswordDetails);
365
- return visitor._(value.$unknown[0], value.$unknown[1]);
366
- };
367
- })(FindingDetails || (FindingDetails = {}));
368
250
  export const FindingType = {
369
251
  EXTERNAL_ACCESS: "ExternalAccess",
370
252
  INTERNAL_ACCESS: "InternalAccess",
@@ -422,17 +304,3 @@ export const ValidatePolicyFindingType = {
422
304
  SUGGESTION: "SUGGESTION",
423
305
  WARNING: "WARNING",
424
306
  };
425
- export var PathElement;
426
- (function (PathElement) {
427
- PathElement.visit = (value, visitor) => {
428
- if (value.index !== undefined)
429
- return visitor.index(value.index);
430
- if (value.key !== undefined)
431
- return visitor.key(value.key);
432
- if (value.substring !== undefined)
433
- return visitor.substring(value.substring);
434
- if (value.value !== undefined)
435
- return visitor.value(value.value);
436
- return visitor._(value.$unknown[0], value.$unknown[1]);
437
- };
438
- })(PathElement || (PathElement = {}));
@@ -515,12 +515,15 @@ export declare namespace AnalyzerConfiguration {
515
515
  internalAccess?: never;
516
516
  $unknown: [string, any];
517
517
  }
518
+ /**
519
+ * @deprecated unused in schema-serde mode.
520
+ *
521
+ */
518
522
  interface Visitor<T> {
519
523
  unusedAccess: (value: UnusedAccessConfiguration) => T;
520
524
  internalAccess: (value: InternalAccessConfiguration) => T;
521
525
  _: (name: string, value: any) => T;
522
526
  }
523
- const visit: <T>(value: AnalyzerConfiguration, visitor: Visitor<T>) => T;
524
527
  }
525
528
  /**
526
529
  * @public
@@ -1216,11 +1219,14 @@ export declare namespace RdsDbClusterSnapshotAttributeValue {
1216
1219
  accountIds?: never;
1217
1220
  $unknown: [string, any];
1218
1221
  }
1222
+ /**
1223
+ * @deprecated unused in schema-serde mode.
1224
+ *
1225
+ */
1219
1226
  interface Visitor<T> {
1220
1227
  accountIds: (value: string[]) => T;
1221
1228
  _: (name: string, value: any) => T;
1222
1229
  }
1223
- const visit: <T>(value: RdsDbClusterSnapshotAttributeValue, visitor: Visitor<T>) => T;
1224
1230
  }
1225
1231
  /**
1226
1232
  * <p>The proposed access control configuration for an Amazon RDS DB cluster snapshot. You can propose a configuration for a new Amazon RDS DB cluster snapshot or an Amazon RDS DB cluster snapshot that you own by specifying the <code>RdsDbClusterSnapshotAttributeValue</code> and optional KMS encryption key. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyDBClusterSnapshotAttribute.html">ModifyDBClusterSnapshotAttribute</a>.</p>
@@ -1262,11 +1268,14 @@ export declare namespace RdsDbSnapshotAttributeValue {
1262
1268
  accountIds?: never;
1263
1269
  $unknown: [string, any];
1264
1270
  }
1271
+ /**
1272
+ * @deprecated unused in schema-serde mode.
1273
+ *
1274
+ */
1265
1275
  interface Visitor<T> {
1266
1276
  accountIds: (value: string[]) => T;
1267
1277
  _: (name: string, value: any) => T;
1268
1278
  }
1269
- const visit: <T>(value: RdsDbSnapshotAttributeValue, visitor: Visitor<T>) => T;
1270
1279
  }
1271
1280
  /**
1272
1281
  * <p>The proposed access control configuration for an Amazon RDS DB snapshot. You can propose a configuration for a new Amazon RDS DB snapshot or an Amazon RDS DB snapshot that you own by specifying the <code>RdsDbSnapshotAttributeValue</code> and optional KMS encryption key. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyDBSnapshotAttribute.html">ModifyDBSnapshotAttribute</a>.</p>
@@ -1336,12 +1345,15 @@ export declare namespace NetworkOriginConfiguration {
1336
1345
  internetConfiguration?: never;
1337
1346
  $unknown: [string, any];
1338
1347
  }
1348
+ /**
1349
+ * @deprecated unused in schema-serde mode.
1350
+ *
1351
+ */
1339
1352
  interface Visitor<T> {
1340
1353
  vpcConfiguration: (value: VpcConfiguration) => T;
1341
1354
  internetConfiguration: (value: InternetConfiguration) => T;
1342
1355
  _: (name: string, value: any) => T;
1343
1356
  }
1344
- const visit: <T>(value: NetworkOriginConfiguration, visitor: Visitor<T>) => T;
1345
1357
  }
1346
1358
  /**
1347
1359
  * <p>The <code>PublicAccessBlock</code> configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses <code>false</code>. If the proposed configuration is for a new access point or multi-region access point and the access point BPA configuration is not specified, the access preview uses <code>true</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-publicaccessblockconfiguration.html">PublicAccessBlockConfiguration</a>. </p>
@@ -1415,12 +1427,15 @@ export declare namespace AclGrantee {
1415
1427
  uri?: never;
1416
1428
  $unknown: [string, any];
1417
1429
  }
1430
+ /**
1431
+ * @deprecated unused in schema-serde mode.
1432
+ *
1433
+ */
1418
1434
  interface Visitor<T> {
1419
1435
  id: (value: string) => T;
1420
1436
  uri: (value: string) => T;
1421
1437
  _: (name: string, value: any) => T;
1422
1438
  }
1423
- const visit: <T>(value: AclGrantee, visitor: Visitor<T>) => T;
1424
1439
  }
1425
1440
  /**
1426
1441
  * @public
@@ -1872,6 +1887,10 @@ export declare namespace Configuration {
1872
1887
  dynamodbTable?: never;
1873
1888
  $unknown: [string, any];
1874
1889
  }
1890
+ /**
1891
+ * @deprecated unused in schema-serde mode.
1892
+ *
1893
+ */
1875
1894
  interface Visitor<T> {
1876
1895
  ebsSnapshot: (value: EbsSnapshotConfiguration) => T;
1877
1896
  ecrRepository: (value: EcrRepositoryConfiguration) => T;
@@ -1889,7 +1908,6 @@ export declare namespace Configuration {
1889
1908
  dynamodbTable: (value: DynamodbTableConfiguration) => T;
1890
1909
  _: (name: string, value: any) => T;
1891
1910
  }
1892
- const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
1893
1911
  }
1894
1912
  /**
1895
1913
  * @public
@@ -2397,11 +2415,14 @@ export declare namespace RecommendedStep {
2397
2415
  unusedPermissionsRecommendedStep?: never;
2398
2416
  $unknown: [string, any];
2399
2417
  }
2418
+ /**
2419
+ * @deprecated unused in schema-serde mode.
2420
+ *
2421
+ */
2400
2422
  interface Visitor<T> {
2401
2423
  unusedPermissionsRecommendedStep: (value: UnusedPermissionsRecommendedStep) => T;
2402
2424
  _: (name: string, value: any) => T;
2403
2425
  }
2404
- const visit: <T>(value: RecommendedStep, visitor: Visitor<T>) => T;
2405
2426
  }
2406
2427
  /**
2407
2428
  * @public
@@ -2681,13 +2702,16 @@ export declare namespace FindingsStatistics {
2681
2702
  unusedAccessFindingsStatistics?: never;
2682
2703
  $unknown: [string, any];
2683
2704
  }
2705
+ /**
2706
+ * @deprecated unused in schema-serde mode.
2707
+ *
2708
+ */
2684
2709
  interface Visitor<T> {
2685
2710
  externalAccessFindingsStatistics: (value: ExternalAccessFindingsStatistics) => T;
2686
2711
  internalAccessFindingsStatistics: (value: InternalAccessFindingsStatistics) => T;
2687
2712
  unusedAccessFindingsStatistics: (value: UnusedAccessFindingsStatistics) => T;
2688
2713
  _: (name: string, value: any) => T;
2689
2714
  }
2690
- const visit: <T>(value: FindingsStatistics, visitor: Visitor<T>) => T;
2691
2715
  }
2692
2716
  /**
2693
2717
  * @public
@@ -3028,6 +3052,10 @@ export declare namespace FindingDetails {
3028
3052
  unusedIamUserPasswordDetails?: never;
3029
3053
  $unknown: [string, any];
3030
3054
  }
3055
+ /**
3056
+ * @deprecated unused in schema-serde mode.
3057
+ *
3058
+ */
3031
3059
  interface Visitor<T> {
3032
3060
  internalAccessDetails: (value: InternalAccessDetails) => T;
3033
3061
  externalAccessDetails: (value: ExternalAccessDetails) => T;
@@ -3037,7 +3065,6 @@ export declare namespace FindingDetails {
3037
3065
  unusedIamUserPasswordDetails: (value: UnusedIamUserPasswordDetails) => T;
3038
3066
  _: (name: string, value: any) => T;
3039
3067
  }
3040
- const visit: <T>(value: FindingDetails, visitor: Visitor<T>) => T;
3041
3068
  }
3042
3069
  /**
3043
3070
  * @public
@@ -4296,6 +4323,10 @@ export declare namespace PathElement {
4296
4323
  value?: never;
4297
4324
  $unknown: [string, any];
4298
4325
  }
4326
+ /**
4327
+ * @deprecated unused in schema-serde mode.
4328
+ *
4329
+ */
4299
4330
  interface Visitor<T> {
4300
4331
  index: (value: number) => T;
4301
4332
  key: (value: string) => T;
@@ -4303,7 +4334,6 @@ export declare namespace PathElement {
4303
4334
  value: (value: string) => T;
4304
4335
  _: (name: string, value: any) => T;
4305
4336
  }
4306
- const visit: <T>(value: PathElement, visitor: Visitor<T>) => T;
4307
4337
  }
4308
4338
  /**
4309
4339
  * <p>A position in a policy.</p>
@@ -192,7 +192,6 @@ export declare namespace AnalyzerConfiguration {
192
192
  internalAccess: (value: InternalAccessConfiguration) => T;
193
193
  _: (name: string, value: any) => T;
194
194
  }
195
- const visit: <T>(value: AnalyzerConfiguration, visitor: Visitor<T>) => T;
196
195
  }
197
196
  export type Type =
198
197
  | "ACCOUNT"
@@ -440,10 +439,6 @@ export declare namespace RdsDbClusterSnapshotAttributeValue {
440
439
  accountIds: (value: string[]) => T;
441
440
  _: (name: string, value: any) => T;
442
441
  }
443
- const visit: <T>(
444
- value: RdsDbClusterSnapshotAttributeValue,
445
- visitor: Visitor<T>
446
- ) => T;
447
442
  }
448
443
  export interface RdsDbClusterSnapshotConfiguration {
449
444
  attributes?: Record<string, RdsDbClusterSnapshotAttributeValue> | undefined;
@@ -465,10 +460,6 @@ export declare namespace RdsDbSnapshotAttributeValue {
465
460
  accountIds: (value: string[]) => T;
466
461
  _: (name: string, value: any) => T;
467
462
  }
468
- const visit: <T>(
469
- value: RdsDbSnapshotAttributeValue,
470
- visitor: Visitor<T>
471
- ) => T;
472
463
  }
473
464
  export interface RdsDbSnapshotConfiguration {
474
465
  attributes?: Record<string, RdsDbSnapshotAttributeValue> | undefined;
@@ -503,7 +494,6 @@ export declare namespace NetworkOriginConfiguration {
503
494
  internetConfiguration: (value: InternetConfiguration) => T;
504
495
  _: (name: string, value: any) => T;
505
496
  }
506
- const visit: <T>(value: NetworkOriginConfiguration, visitor: Visitor<T>) => T;
507
497
  }
508
498
  export interface S3PublicAccessBlockConfiguration {
509
499
  ignorePublicAcls: boolean | undefined;
@@ -539,7 +529,6 @@ export declare namespace AclGrantee {
539
529
  uri: (value: string) => T;
540
530
  _: (name: string, value: any) => T;
541
531
  }
542
- const visit: <T>(value: AclGrantee, visitor: Visitor<T>) => T;
543
532
  }
544
533
  export declare const AclPermission: {
545
534
  readonly FULL_CONTROL: "FULL_CONTROL";
@@ -870,7 +859,6 @@ export declare namespace Configuration {
870
859
  dynamodbTable: (value: DynamodbTableConfiguration) => T;
871
860
  _: (name: string, value: any) => T;
872
861
  }
873
- const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
874
862
  }
875
863
  export interface CreateAccessPreviewRequest {
876
864
  analyzerArn: string | undefined;
@@ -1028,7 +1016,6 @@ export declare namespace RecommendedStep {
1028
1016
  ) => T;
1029
1017
  _: (name: string, value: any) => T;
1030
1018
  }
1031
- const visit: <T>(value: RecommendedStep, visitor: Visitor<T>) => T;
1032
1019
  }
1033
1020
  export declare const Status: {
1034
1021
  readonly FAILED: "FAILED";
@@ -1133,7 +1120,6 @@ export declare namespace FindingsStatistics {
1133
1120
  ) => T;
1134
1121
  _: (name: string, value: any) => T;
1135
1122
  }
1136
- const visit: <T>(value: FindingsStatistics, visitor: Visitor<T>) => T;
1137
1123
  }
1138
1124
  export interface GetFindingsStatisticsResponse {
1139
1125
  findingsStatistics?: FindingsStatistics[] | undefined;
@@ -1287,7 +1273,6 @@ export declare namespace FindingDetails {
1287
1273
  unusedIamUserPasswordDetails: (value: UnusedIamUserPasswordDetails) => T;
1288
1274
  _: (name: string, value: any) => T;
1289
1275
  }
1290
- const visit: <T>(value: FindingDetails, visitor: Visitor<T>) => T;
1291
1276
  }
1292
1277
  export declare const FindingType: {
1293
1278
  readonly EXTERNAL_ACCESS: "ExternalAccess";
@@ -1661,7 +1646,6 @@ export declare namespace PathElement {
1661
1646
  value: (value: string) => T;
1662
1647
  _: (name: string, value: any) => T;
1663
1648
  }
1664
- const visit: <T>(value: PathElement, visitor: Visitor<T>) => T;
1665
1649
  }
1666
1650
  export interface Position {
1667
1651
  line: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-accessanalyzer",
3
3
  "description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },