@aws-sdk/client-m2 3.751.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +75 -95
  2. package/package.json +13 -13
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  ApplicationDeploymentLifecycle: () => ApplicationDeploymentLifecycle,
26
26
  ApplicationLifecycle: () => ApplicationLifecycle,
@@ -98,7 +98,7 @@ __export(src_exports, {
98
98
  paginateListEngineVersions: () => paginateListEngineVersions,
99
99
  paginateListEnvironments: () => paginateListEnvironments
100
100
  });
101
- module.exports = __toCommonJS(src_exports);
101
+ module.exports = __toCommonJS(index_exports);
102
102
 
103
103
  // src/M2Client.ts
104
104
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -225,9 +225,9 @@ var M2Client = class extends import_smithy_client.Client {
225
225
  this.middlewareStack.use(
226
226
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
227
227
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultM2HttpAuthSchemeParametersProvider,
228
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
228
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
229
229
  "aws.auth#sigv4": config.credentials
230
- })
230
+ }), "identityProviderConfigProvider")
231
231
  })
232
232
  );
233
233
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -455,10 +455,8 @@ var ValidationException = class _ValidationException extends M2ServiceException
455
455
  var Definition;
456
456
  ((Definition3) => {
457
457
  Definition3.visit = /* @__PURE__ */ __name((value, visitor) => {
458
- if (value.s3Location !== void 0)
459
- return visitor.s3Location(value.s3Location);
460
- if (value.content !== void 0)
461
- return visitor.content(value.content);
458
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
459
+ if (value.content !== void 0) return visitor.content(value.content);
462
460
  return visitor._(value.$unknown[0], value.$unknown[1]);
463
461
  }, "visit");
464
462
  })(Definition || (Definition = {}));
@@ -511,32 +509,25 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
511
509
  var DatasetOrgAttributes;
512
510
  ((DatasetOrgAttributes3) => {
513
511
  DatasetOrgAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
514
- if (value.vsam !== void 0)
515
- return visitor.vsam(value.vsam);
516
- if (value.gdg !== void 0)
517
- return visitor.gdg(value.gdg);
518
- if (value.po !== void 0)
519
- return visitor.po(value.po);
520
- if (value.ps !== void 0)
521
- return visitor.ps(value.ps);
512
+ if (value.vsam !== void 0) return visitor.vsam(value.vsam);
513
+ if (value.gdg !== void 0) return visitor.gdg(value.gdg);
514
+ if (value.po !== void 0) return visitor.po(value.po);
515
+ if (value.ps !== void 0) return visitor.ps(value.ps);
522
516
  return visitor._(value.$unknown[0], value.$unknown[1]);
523
517
  }, "visit");
524
518
  })(DatasetOrgAttributes || (DatasetOrgAttributes = {}));
525
519
  var ExternalLocation;
526
520
  ((ExternalLocation3) => {
527
521
  ExternalLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
528
- if (value.s3Location !== void 0)
529
- return visitor.s3Location(value.s3Location);
522
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
530
523
  return visitor._(value.$unknown[0], value.$unknown[1]);
531
524
  }, "visit");
532
525
  })(ExternalLocation || (ExternalLocation = {}));
533
526
  var DataSetImportConfig;
534
527
  ((DataSetImportConfig3) => {
535
528
  DataSetImportConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
536
- if (value.s3Location !== void 0)
537
- return visitor.s3Location(value.s3Location);
538
- if (value.dataSets !== void 0)
539
- return visitor.dataSets(value.dataSets);
529
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
530
+ if (value.dataSets !== void 0) return visitor.dataSets(value.dataSets);
540
531
  return visitor._(value.$unknown[0], value.$unknown[1]);
541
532
  }, "visit");
542
533
  })(DataSetImportConfig || (DataSetImportConfig = {}));
@@ -567,22 +558,18 @@ var ApplicationLifecycle = {
567
558
  var JobIdentifier;
568
559
  ((JobIdentifier3) => {
569
560
  JobIdentifier3.visit = /* @__PURE__ */ __name((value, visitor) => {
570
- if (value.fileName !== void 0)
571
- return visitor.fileName(value.fileName);
572
- if (value.scriptName !== void 0)
573
- return visitor.scriptName(value.scriptName);
561
+ if (value.fileName !== void 0) return visitor.fileName(value.fileName);
562
+ if (value.scriptName !== void 0) return visitor.scriptName(value.scriptName);
574
563
  return visitor._(value.$unknown[0], value.$unknown[1]);
575
564
  }, "visit");
576
565
  })(JobIdentifier || (JobIdentifier = {}));
577
566
  var BatchJobIdentifier;
578
567
  ((BatchJobIdentifier3) => {
579
568
  BatchJobIdentifier3.visit = /* @__PURE__ */ __name((value, visitor) => {
580
- if (value.fileBatchJobIdentifier !== void 0)
581
- return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
569
+ if (value.fileBatchJobIdentifier !== void 0) return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
582
570
  if (value.scriptBatchJobIdentifier !== void 0)
583
571
  return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
584
- if (value.s3BatchJobIdentifier !== void 0)
585
- return visitor.s3BatchJobIdentifier(value.s3BatchJobIdentifier);
572
+ if (value.s3BatchJobIdentifier !== void 0) return visitor.s3BatchJobIdentifier(value.s3BatchJobIdentifier);
586
573
  if (value.restartBatchJobIdentifier !== void 0)
587
574
  return visitor.restartBatchJobIdentifier(value.restartBatchJobIdentifier);
588
575
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -627,14 +614,10 @@ var ExecutionTimeoutException = class _ExecutionTimeoutException extends M2Servi
627
614
  var DatasetDetailOrgAttributes;
628
615
  ((DatasetDetailOrgAttributes2) => {
629
616
  DatasetDetailOrgAttributes2.visit = /* @__PURE__ */ __name((value, visitor) => {
630
- if (value.vsam !== void 0)
631
- return visitor.vsam(value.vsam);
632
- if (value.gdg !== void 0)
633
- return visitor.gdg(value.gdg);
634
- if (value.po !== void 0)
635
- return visitor.po(value.po);
636
- if (value.ps !== void 0)
637
- return visitor.ps(value.ps);
617
+ if (value.vsam !== void 0) return visitor.vsam(value.vsam);
618
+ if (value.gdg !== void 0) return visitor.gdg(value.gdg);
619
+ if (value.po !== void 0) return visitor.po(value.po);
620
+ if (value.ps !== void 0) return visitor.ps(value.ps);
638
621
  return visitor._(value.$unknown[0], value.$unknown[1]);
639
622
  }, "visit");
640
623
  })(DatasetDetailOrgAttributes || (DatasetDetailOrgAttributes = {}));
@@ -670,8 +653,7 @@ var ApplicationDeploymentLifecycle = {
670
653
  var BatchJobDefinition;
671
654
  ((BatchJobDefinition2) => {
672
655
  BatchJobDefinition2.visit = /* @__PURE__ */ __name((value, visitor) => {
673
- if (value.fileBatchJobDefinition !== void 0)
674
- return visitor.fileBatchJobDefinition(value.fileBatchJobDefinition);
656
+ if (value.fileBatchJobDefinition !== void 0) return visitor.fileBatchJobDefinition(value.fileBatchJobDefinition);
675
657
  if (value.scriptBatchJobDefinition !== void 0)
676
658
  return visitor.scriptBatchJobDefinition(value.scriptBatchJobDefinition);
677
659
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -684,10 +666,8 @@ var NetworkType = {
684
666
  var StorageConfiguration;
685
667
  ((StorageConfiguration2) => {
686
668
  StorageConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
687
- if (value.efs !== void 0)
688
- return visitor.efs(value.efs);
689
- if (value.fsx !== void 0)
690
- return visitor.fsx(value.fsx);
669
+ if (value.efs !== void 0) return visitor.efs(value.efs);
670
+ if (value.fsx !== void 0) return visitor.fsx(value.fsx);
691
671
  return visitor._(value.$unknown[0], value.$unknown[1]);
692
672
  }, "visit");
693
673
  })(StorageConfiguration || (StorageConfiguration = {}));
@@ -728,13 +708,13 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
728
708
  body = JSON.stringify(
729
709
  (0, import_smithy_client.take)(input, {
730
710
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
731
- definition: (_) => (0, import_smithy_client._json)(_),
711
+ definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "definition"),
732
712
  description: [],
733
713
  engineType: [],
734
714
  kmsKeyId: [],
735
715
  name: [],
736
716
  roleArn: [],
737
- tags: (_) => (0, import_smithy_client._json)(_)
717
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
738
718
  })
739
719
  );
740
720
  b.m("POST").h(headers).b(body);
@@ -751,7 +731,7 @@ var se_CreateDataSetImportTaskCommand = /* @__PURE__ */ __name(async (input, con
751
731
  body = JSON.stringify(
752
732
  (0, import_smithy_client.take)(input, {
753
733
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
754
- importConfig: (_) => (0, import_smithy_client._json)(_)
734
+ importConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "importConfig")
755
735
  })
756
736
  );
757
737
  b.m("POST").h(headers).b(body);
@@ -788,17 +768,17 @@ var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
788
768
  description: [],
789
769
  engineType: [],
790
770
  engineVersion: [],
791
- highAvailabilityConfig: (_) => (0, import_smithy_client._json)(_),
771
+ highAvailabilityConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "highAvailabilityConfig"),
792
772
  instanceType: [],
793
773
  kmsKeyId: [],
794
774
  name: [],
795
775
  networkType: [],
796
776
  preferredMaintenanceWindow: [],
797
777
  publiclyAccessible: [],
798
- securityGroupIds: (_) => (0, import_smithy_client._json)(_),
799
- storageConfigurations: (_) => se_StorageConfigurationList(_, context),
800
- subnetIds: (_) => (0, import_smithy_client._json)(_),
801
- tags: (_) => (0, import_smithy_client._json)(_)
778
+ securityGroupIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "securityGroupIds"),
779
+ storageConfigurations: /* @__PURE__ */ __name((_) => se_StorageConfigurationList(_, context), "storageConfigurations"),
780
+ subnetIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "subnetIds"),
781
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
802
782
  })
803
783
  );
804
784
  b.m("POST").h(headers).b(body);
@@ -1077,8 +1057,8 @@ var se_StartBatchJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1077
1057
  body = JSON.stringify(
1078
1058
  (0, import_smithy_client.take)(input, {
1079
1059
  authSecretsManagerArn: [],
1080
- batchJobIdentifier: (_) => (0, import_smithy_client._json)(_),
1081
- jobParams: (_) => (0, import_smithy_client._json)(_)
1060
+ batchJobIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "batchJobIdentifier"),
1061
+ jobParams: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobParams")
1082
1062
  })
1083
1063
  );
1084
1064
  b.m("POST").h(headers).b(body);
@@ -1110,7 +1090,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1110
1090
  let body;
1111
1091
  body = JSON.stringify(
1112
1092
  (0, import_smithy_client.take)(input, {
1113
- tags: (_) => (0, import_smithy_client._json)(_)
1093
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1114
1094
  })
1115
1095
  );
1116
1096
  b.m("POST").h(headers).b(body);
@@ -1139,7 +1119,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
1139
1119
  body = JSON.stringify(
1140
1120
  (0, import_smithy_client.take)(input, {
1141
1121
  currentApplicationVersion: [],
1142
- definition: (_) => (0, import_smithy_client._json)(_),
1122
+ definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "definition"),
1143
1123
  description: []
1144
1124
  })
1145
1125
  );
@@ -1276,14 +1256,14 @@ var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) =>
1276
1256
  const doc = (0, import_smithy_client.take)(data, {
1277
1257
  applicationArn: import_smithy_client.expectString,
1278
1258
  applicationId: import_smithy_client.expectString,
1279
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1259
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1280
1260
  deployedVersion: import_smithy_client._json,
1281
1261
  description: import_smithy_client.expectString,
1282
1262
  engineType: import_smithy_client.expectString,
1283
1263
  environmentId: import_smithy_client.expectString,
1284
1264
  kmsKeyId: import_smithy_client.expectString,
1285
- lastStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1286
- latestVersion: (_) => de_ApplicationVersionSummary(_, context),
1265
+ lastStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStartTime"),
1266
+ latestVersion: /* @__PURE__ */ __name((_) => de_ApplicationVersionSummary(_, context), "latestVersion"),
1287
1267
  listenerArns: import_smithy_client._json,
1288
1268
  listenerPorts: import_smithy_client._json,
1289
1269
  loadBalancerDnsName: import_smithy_client.expectString,
@@ -1308,7 +1288,7 @@ var de_GetApplicationVersionCommand = /* @__PURE__ */ __name(async (output, cont
1308
1288
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1309
1289
  const doc = (0, import_smithy_client.take)(data, {
1310
1290
  applicationVersion: import_smithy_client.expectInt32,
1311
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1291
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1312
1292
  definitionContent: import_smithy_client.expectString,
1313
1293
  description: import_smithy_client.expectString,
1314
1294
  name: import_smithy_client.expectString,
@@ -1328,8 +1308,8 @@ var de_GetBatchJobExecutionCommand = /* @__PURE__ */ __name(async (output, conte
1328
1308
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1329
1309
  const doc = (0, import_smithy_client.take)(data, {
1330
1310
  applicationId: import_smithy_client.expectString,
1331
- batchJobIdentifier: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1332
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1311
+ batchJobIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "batchJobIdentifier"),
1312
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1333
1313
  executionId: import_smithy_client.expectString,
1334
1314
  jobId: import_smithy_client.expectString,
1335
1315
  jobName: import_smithy_client.expectString,
@@ -1337,7 +1317,7 @@ var de_GetBatchJobExecutionCommand = /* @__PURE__ */ __name(async (output, conte
1337
1317
  jobType: import_smithy_client.expectString,
1338
1318
  jobUser: import_smithy_client.expectString,
1339
1319
  returnCode: import_smithy_client.expectString,
1340
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1320
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
1341
1321
  status: import_smithy_client.expectString,
1342
1322
  statusReason: import_smithy_client.expectString
1343
1323
  });
@@ -1354,12 +1334,12 @@ var de_GetDataSetDetailsCommand = /* @__PURE__ */ __name(async (output, context)
1354
1334
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1355
1335
  const doc = (0, import_smithy_client.take)(data, {
1356
1336
  blocksize: import_smithy_client.expectInt32,
1357
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1337
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1358
1338
  dataSetName: import_smithy_client.expectString,
1359
- dataSetOrg: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1339
+ dataSetOrg: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "dataSetOrg"),
1360
1340
  fileSize: import_smithy_client.expectLong,
1361
- lastReferencedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1362
- lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1341
+ lastReferencedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastReferencedTime"),
1342
+ lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedTime"),
1363
1343
  location: import_smithy_client.expectString,
1364
1344
  recordLength: import_smithy_client.expectInt32
1365
1345
  });
@@ -1393,7 +1373,7 @@ var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =>
1393
1373
  const doc = (0, import_smithy_client.take)(data, {
1394
1374
  applicationId: import_smithy_client.expectString,
1395
1375
  applicationVersion: import_smithy_client.expectInt32,
1396
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1376
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1397
1377
  deploymentId: import_smithy_client.expectString,
1398
1378
  environmentId: import_smithy_client.expectString,
1399
1379
  status: import_smithy_client.expectString,
@@ -1412,7 +1392,7 @@ var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) =>
1412
1392
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1413
1393
  const doc = (0, import_smithy_client.take)(data, {
1414
1394
  actualCapacity: import_smithy_client.expectInt32,
1415
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1395
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1416
1396
  description: import_smithy_client.expectString,
1417
1397
  engineType: import_smithy_client.expectString,
1418
1398
  engineVersion: import_smithy_client.expectString,
@@ -1424,13 +1404,13 @@ var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) =>
1424
1404
  loadBalancerArn: import_smithy_client.expectString,
1425
1405
  name: import_smithy_client.expectString,
1426
1406
  networkType: import_smithy_client.expectString,
1427
- pendingMaintenance: (_) => de_PendingMaintenance(_, context),
1407
+ pendingMaintenance: /* @__PURE__ */ __name((_) => de_PendingMaintenance(_, context), "pendingMaintenance"),
1428
1408
  preferredMaintenanceWindow: import_smithy_client.expectString,
1429
1409
  publiclyAccessible: import_smithy_client.expectBoolean,
1430
1410
  securityGroupIds: import_smithy_client._json,
1431
1411
  status: import_smithy_client.expectString,
1432
1412
  statusReason: import_smithy_client.expectString,
1433
- storageConfigurations: (_) => de_StorageConfigurationList(_, context),
1413
+ storageConfigurations: /* @__PURE__ */ __name((_) => de_StorageConfigurationList(_, context), "storageConfigurations"),
1434
1414
  subnetIds: import_smithy_client._json,
1435
1415
  tags: import_smithy_client._json,
1436
1416
  vpcId: import_smithy_client.expectString
@@ -1461,7 +1441,7 @@ var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context)
1461
1441
  });
1462
1442
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1463
1443
  const doc = (0, import_smithy_client.take)(data, {
1464
- applications: (_) => de_ApplicationSummaryList(_, context),
1444
+ applications: /* @__PURE__ */ __name((_) => de_ApplicationSummaryList(_, context), "applications"),
1465
1445
  nextToken: import_smithy_client.expectString
1466
1446
  });
1467
1447
  Object.assign(contents, doc);
@@ -1476,7 +1456,7 @@ var de_ListApplicationVersionsCommand = /* @__PURE__ */ __name(async (output, co
1476
1456
  });
1477
1457
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1478
1458
  const doc = (0, import_smithy_client.take)(data, {
1479
- applicationVersions: (_) => de_ApplicationVersionSummaryList(_, context),
1459
+ applicationVersions: /* @__PURE__ */ __name((_) => de_ApplicationVersionSummaryList(_, context), "applicationVersions"),
1480
1460
  nextToken: import_smithy_client.expectString
1481
1461
  });
1482
1462
  Object.assign(contents, doc);
@@ -1506,7 +1486,7 @@ var de_ListBatchJobExecutionsCommand = /* @__PURE__ */ __name(async (output, con
1506
1486
  });
1507
1487
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1508
1488
  const doc = (0, import_smithy_client.take)(data, {
1509
- batchJobExecutions: (_) => de_BatchJobExecutionSummaryList(_, context),
1489
+ batchJobExecutions: /* @__PURE__ */ __name((_) => de_BatchJobExecutionSummaryList(_, context), "batchJobExecutions"),
1510
1490
  nextToken: import_smithy_client.expectString
1511
1491
  });
1512
1492
  Object.assign(contents, doc);
@@ -1550,7 +1530,7 @@ var de_ListDataSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1550
1530
  });
1551
1531
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1552
1532
  const doc = (0, import_smithy_client.take)(data, {
1553
- dataSets: (_) => de_DataSetsSummaryList(_, context),
1533
+ dataSets: /* @__PURE__ */ __name((_) => de_DataSetsSummaryList(_, context), "dataSets"),
1554
1534
  nextToken: import_smithy_client.expectString
1555
1535
  });
1556
1536
  Object.assign(contents, doc);
@@ -1565,7 +1545,7 @@ var de_ListDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) =
1565
1545
  });
1566
1546
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1567
1547
  const doc = (0, import_smithy_client.take)(data, {
1568
- deployments: (_) => de_DeploymentList(_, context),
1548
+ deployments: /* @__PURE__ */ __name((_) => de_DeploymentList(_, context), "deployments"),
1569
1549
  nextToken: import_smithy_client.expectString
1570
1550
  });
1571
1551
  Object.assign(contents, doc);
@@ -1595,7 +1575,7 @@ var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context)
1595
1575
  });
1596
1576
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1597
1577
  const doc = (0, import_smithy_client.take)(data, {
1598
- environments: (_) => de_EnvironmentSummaryList(_, context),
1578
+ environments: /* @__PURE__ */ __name((_) => de_EnvironmentSummaryList(_, context), "environments"),
1599
1579
  nextToken: import_smithy_client.expectString
1600
1580
  });
1601
1581
  Object.assign(contents, doc);
@@ -1888,9 +1868,9 @@ var se_FsxStorageConfiguration = /* @__PURE__ */ __name((input, context) => {
1888
1868
  }, "se_FsxStorageConfiguration");
1889
1869
  var se_StorageConfiguration = /* @__PURE__ */ __name((input, context) => {
1890
1870
  return StorageConfiguration.visit(input, {
1891
- efs: (value) => ({ efs: se_EfsStorageConfiguration(value, context) }),
1892
- fsx: (value) => ({ fsx: se_FsxStorageConfiguration(value, context) }),
1893
- _: (name, value) => ({ [name]: value })
1871
+ efs: /* @__PURE__ */ __name((value) => ({ efs: se_EfsStorageConfiguration(value, context) }), "efs"),
1872
+ fsx: /* @__PURE__ */ __name((value) => ({ fsx: se_FsxStorageConfiguration(value, context) }), "fsx"),
1873
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1894
1874
  });
1895
1875
  }, "se_StorageConfiguration");
1896
1876
  var se_StorageConfigurationList = /* @__PURE__ */ __name((input, context) => {
@@ -1903,12 +1883,12 @@ var de_ApplicationSummary = /* @__PURE__ */ __name((output, context) => {
1903
1883
  applicationArn: import_smithy_client.expectString,
1904
1884
  applicationId: import_smithy_client.expectString,
1905
1885
  applicationVersion: import_smithy_client.expectInt32,
1906
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1886
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1907
1887
  deploymentStatus: import_smithy_client.expectString,
1908
1888
  description: import_smithy_client.expectString,
1909
1889
  engineType: import_smithy_client.expectString,
1910
1890
  environmentId: import_smithy_client.expectString,
1911
- lastStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1891
+ lastStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStartTime"),
1912
1892
  name: import_smithy_client.expectString,
1913
1893
  roleArn: import_smithy_client.expectString,
1914
1894
  status: import_smithy_client.expectString,
@@ -1924,7 +1904,7 @@ var de_ApplicationSummaryList = /* @__PURE__ */ __name((output, context) => {
1924
1904
  var de_ApplicationVersionSummary = /* @__PURE__ */ __name((output, context) => {
1925
1905
  return (0, import_smithy_client.take)(output, {
1926
1906
  applicationVersion: import_smithy_client.expectInt32,
1927
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1907
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1928
1908
  status: import_smithy_client.expectString,
1929
1909
  statusReason: import_smithy_client.expectString
1930
1910
  });
@@ -1938,14 +1918,14 @@ var de_ApplicationVersionSummaryList = /* @__PURE__ */ __name((output, context)
1938
1918
  var de_BatchJobExecutionSummary = /* @__PURE__ */ __name((output, context) => {
1939
1919
  return (0, import_smithy_client.take)(output, {
1940
1920
  applicationId: import_smithy_client.expectString,
1941
- batchJobIdentifier: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1942
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1921
+ batchJobIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "batchJobIdentifier"),
1922
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1943
1923
  executionId: import_smithy_client.expectString,
1944
1924
  jobId: import_smithy_client.expectString,
1945
1925
  jobName: import_smithy_client.expectString,
1946
1926
  jobType: import_smithy_client.expectString,
1947
1927
  returnCode: import_smithy_client.expectString,
1948
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1928
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
1949
1929
  status: import_smithy_client.expectString
1950
1930
  });
1951
1931
  }, "de_BatchJobExecutionSummary");
@@ -1963,12 +1943,12 @@ var de_DataSetsSummaryList = /* @__PURE__ */ __name((output, context) => {
1963
1943
  }, "de_DataSetsSummaryList");
1964
1944
  var de_DataSetSummary = /* @__PURE__ */ __name((output, context) => {
1965
1945
  return (0, import_smithy_client.take)(output, {
1966
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1946
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1967
1947
  dataSetName: import_smithy_client.expectString,
1968
1948
  dataSetOrg: import_smithy_client.expectString,
1969
1949
  format: import_smithy_client.expectString,
1970
- lastReferencedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1971
- lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1950
+ lastReferencedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastReferencedTime"),
1951
+ lastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedTime")
1972
1952
  });
1973
1953
  }, "de_DataSetSummary");
1974
1954
  var de_DeploymentList = /* @__PURE__ */ __name((output, context) => {
@@ -1981,7 +1961,7 @@ var de_DeploymentSummary = /* @__PURE__ */ __name((output, context) => {
1981
1961
  return (0, import_smithy_client.take)(output, {
1982
1962
  applicationId: import_smithy_client.expectString,
1983
1963
  applicationVersion: import_smithy_client.expectInt32,
1984
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1964
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1985
1965
  deploymentId: import_smithy_client.expectString,
1986
1966
  environmentId: import_smithy_client.expectString,
1987
1967
  status: import_smithy_client.expectString,
@@ -1996,7 +1976,7 @@ var de_EfsStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
1996
1976
  }, "de_EfsStorageConfiguration");
1997
1977
  var de_EnvironmentSummary = /* @__PURE__ */ __name((output, context) => {
1998
1978
  return (0, import_smithy_client.take)(output, {
1999
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1979
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
2000
1980
  engineType: import_smithy_client.expectString,
2001
1981
  engineVersion: import_smithy_client.expectString,
2002
1982
  environmentArn: import_smithy_client.expectString,
@@ -2021,14 +2001,14 @@ var de_FsxStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
2021
2001
  }, "de_FsxStorageConfiguration");
2022
2002
  var de_MaintenanceSchedule = /* @__PURE__ */ __name((output, context) => {
2023
2003
  return (0, import_smithy_client.take)(output, {
2024
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2025
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2004
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
2005
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
2026
2006
  });
2027
2007
  }, "de_MaintenanceSchedule");
2028
2008
  var de_PendingMaintenance = /* @__PURE__ */ __name((output, context) => {
2029
2009
  return (0, import_smithy_client.take)(output, {
2030
2010
  engineVersion: import_smithy_client.expectString,
2031
- schedule: (_) => de_MaintenanceSchedule(_, context)
2011
+ schedule: /* @__PURE__ */ __name((_) => de_MaintenanceSchedule(_, context), "schedule")
2032
2012
  });
2033
2013
  }, "de_PendingMaintenance");
2034
2014
  var de_StorageConfiguration = /* @__PURE__ */ __name((output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-m2",
3
3
  "description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
4
- "version": "3.751.0",
4
+ "version": "3.772.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-m2",
@@ -20,38 +20,38 @@
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.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",