@aws-sdk/client-m2 3.777.0 → 3.787.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 (36) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +186 -9
  3. package/dist-es/M2.js +6 -0
  4. package/dist-es/commands/CreateDataSetExportTaskCommand.js +22 -0
  5. package/dist-es/commands/GetDataSetExportTaskCommand.js +22 -0
  6. package/dist-es/commands/ListDataSetExportHistoryCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +18 -8
  9. package/dist-es/pagination/ListDataSetExportHistoryPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +108 -1
  12. package/dist-types/M2.d.ts +21 -0
  13. package/dist-types/M2Client.d.ts +5 -2
  14. package/dist-types/commands/CreateDataSetExportTaskCommand.d.ts +106 -0
  15. package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +4 -0
  16. package/dist-types/commands/GetDataSetExportTaskCommand.d.ts +98 -0
  17. package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +2 -0
  18. package/dist-types/commands/ListBatchJobRestartPointsCommand.d.ts +3 -0
  19. package/dist-types/commands/ListDataSetExportHistoryCommand.d.ts +103 -0
  20. package/dist-types/commands/StartBatchJobCommand.d.ts +2 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/models_0.d.ts +291 -33
  23. package/dist-types/pagination/ListDataSetExportHistoryPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  26. package/dist-types/ts3.4/M2.d.ts +51 -0
  27. package/dist-types/ts3.4/M2Client.d.ts +18 -0
  28. package/dist-types/ts3.4/commands/CreateDataSetExportTaskCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/GetDataSetExportTaskCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/ListDataSetExportHistoryCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +97 -19
  33. package/dist-types/ts3.4/pagination/ListDataSetExportHistoryPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  36. package/package.json +5 -5
package/README.md CHANGED
@@ -222,6 +222,14 @@ CreateApplication
222
222
 
223
223
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/m2/command/CreateApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/CreateApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/CreateApplicationCommandOutput/)
224
224
 
225
+ </details>
226
+ <details>
227
+ <summary>
228
+ CreateDataSetExportTask
229
+ </summary>
230
+
231
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/m2/command/CreateDataSetExportTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/CreateDataSetExportTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/CreateDataSetExportTaskCommandOutput/)
232
+
225
233
  </details>
226
234
  <details>
227
235
  <summary>
@@ -302,6 +310,14 @@ GetDataSetDetails
302
310
 
303
311
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/m2/command/GetDataSetDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/GetDataSetDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/GetDataSetDetailsCommandOutput/)
304
312
 
313
+ </details>
314
+ <details>
315
+ <summary>
316
+ GetDataSetExportTask
317
+ </summary>
318
+
319
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/m2/command/GetDataSetExportTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/GetDataSetExportTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/GetDataSetExportTaskCommandOutput/)
320
+
305
321
  </details>
306
322
  <details>
307
323
  <summary>
@@ -374,6 +390,14 @@ ListBatchJobRestartPoints
374
390
 
375
391
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/m2/command/ListBatchJobRestartPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/ListBatchJobRestartPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/ListBatchJobRestartPointsCommandOutput/)
376
392
 
393
+ </details>
394
+ <details>
395
+ <summary>
396
+ ListDataSetExportHistory
397
+ </summary>
398
+
399
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/m2/command/ListDataSetExportHistoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/ListDataSetExportHistoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-m2/Interface/ListDataSetExportHistoryCommandOutput/)
400
+
377
401
  </details>
378
402
  <details>
379
403
  <summary>
package/dist-cjs/index.js CHANGED
@@ -32,9 +32,11 @@ __export(index_exports, {
32
32
  CancelBatchJobExecutionCommand: () => CancelBatchJobExecutionCommand,
33
33
  ConflictException: () => ConflictException,
34
34
  CreateApplicationCommand: () => CreateApplicationCommand,
35
+ CreateDataSetExportTaskCommand: () => CreateDataSetExportTaskCommand,
35
36
  CreateDataSetImportTaskCommand: () => CreateDataSetImportTaskCommand,
36
37
  CreateDeploymentCommand: () => CreateDeploymentCommand,
37
38
  CreateEnvironmentCommand: () => CreateEnvironmentCommand,
39
+ DataSetExportConfig: () => DataSetExportConfig,
38
40
  DataSetImportConfig: () => DataSetImportConfig,
39
41
  DataSetTaskLifecycle: () => DataSetTaskLifecycle,
40
42
  DatasetDetailOrgAttributes: () => DatasetDetailOrgAttributes,
@@ -52,6 +54,7 @@ __export(index_exports, {
52
54
  GetApplicationVersionCommand: () => GetApplicationVersionCommand,
53
55
  GetBatchJobExecutionCommand: () => GetBatchJobExecutionCommand,
54
56
  GetDataSetDetailsCommand: () => GetDataSetDetailsCommand,
57
+ GetDataSetExportTaskCommand: () => GetDataSetExportTaskCommand,
55
58
  GetDataSetImportTaskCommand: () => GetDataSetImportTaskCommand,
56
59
  GetDeploymentCommand: () => GetDeploymentCommand,
57
60
  GetEnvironmentCommand: () => GetEnvironmentCommand,
@@ -63,6 +66,7 @@ __export(index_exports, {
63
66
  ListBatchJobDefinitionsCommand: () => ListBatchJobDefinitionsCommand,
64
67
  ListBatchJobExecutionsCommand: () => ListBatchJobExecutionsCommand,
65
68
  ListBatchJobRestartPointsCommand: () => ListBatchJobRestartPointsCommand,
69
+ ListDataSetExportHistoryCommand: () => ListDataSetExportHistoryCommand,
66
70
  ListDataSetImportHistoryCommand: () => ListDataSetImportHistoryCommand,
67
71
  ListDataSetsCommand: () => ListDataSetsCommand,
68
72
  ListDeploymentsCommand: () => ListDeploymentsCommand,
@@ -92,6 +96,7 @@ __export(index_exports, {
92
96
  paginateListApplications: () => paginateListApplications,
93
97
  paginateListBatchJobDefinitions: () => paginateListBatchJobDefinitions,
94
98
  paginateListBatchJobExecutions: () => paginateListBatchJobExecutions,
99
+ paginateListDataSetExportHistory: () => paginateListDataSetExportHistory,
95
100
  paginateListDataSetImportHistory: () => paginateListDataSetImportHistory,
96
101
  paginateListDataSets: () => paginateListDataSets,
97
102
  paginateListDeployments: () => paginateListDeployments,
@@ -505,6 +510,21 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
505
510
  this.quotaCode = opts.quotaCode;
506
511
  }
507
512
  };
513
+ var ExternalLocation;
514
+ ((ExternalLocation3) => {
515
+ ExternalLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
516
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
517
+ return visitor._(value.$unknown[0], value.$unknown[1]);
518
+ }, "visit");
519
+ })(ExternalLocation || (ExternalLocation = {}));
520
+ var DataSetExportConfig;
521
+ ((DataSetExportConfig3) => {
522
+ DataSetExportConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
523
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
524
+ if (value.dataSets !== void 0) return visitor.dataSets(value.dataSets);
525
+ return visitor._(value.$unknown[0], value.$unknown[1]);
526
+ }, "visit");
527
+ })(DataSetExportConfig || (DataSetExportConfig = {}));
508
528
  var DatasetOrgAttributes;
509
529
  ((DatasetOrgAttributes3) => {
510
530
  DatasetOrgAttributes3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -515,13 +535,6 @@ var DatasetOrgAttributes;
515
535
  return visitor._(value.$unknown[0], value.$unknown[1]);
516
536
  }, "visit");
517
537
  })(DatasetOrgAttributes || (DatasetOrgAttributes = {}));
518
- var ExternalLocation;
519
- ((ExternalLocation3) => {
520
- ExternalLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
521
- if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
522
- return visitor._(value.$unknown[0], value.$unknown[1]);
523
- }, "visit");
524
- })(ExternalLocation || (ExternalLocation = {}));
525
538
  var DataSetImportConfig;
526
539
  ((DataSetImportConfig3) => {
527
540
  DataSetImportConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -719,6 +732,24 @@ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
719
732
  b.m("POST").h(headers).b(body);
720
733
  return b.build();
721
734
  }, "se_CreateApplicationCommand");
735
+ var se_CreateDataSetExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
736
+ const b = (0, import_core.requestBuilder)(input, context);
737
+ const headers = {
738
+ "content-type": "application/json"
739
+ };
740
+ b.bp("/applications/{applicationId}/dataset-export-task");
741
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
742
+ let body;
743
+ body = JSON.stringify(
744
+ (0, import_smithy_client.take)(input, {
745
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
746
+ exportConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "exportConfig"),
747
+ kmsKeyId: []
748
+ })
749
+ );
750
+ b.m("POST").h(headers).b(body);
751
+ return b.build();
752
+ }, "se_CreateDataSetExportTaskCommand");
722
753
  var se_CreateDataSetImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
723
754
  const b = (0, import_core.requestBuilder)(input, context);
724
755
  const headers = {
@@ -850,6 +881,16 @@ var se_GetDataSetDetailsCommand = /* @__PURE__ */ __name(async (input, context)
850
881
  b.m("GET").h(headers).b(body);
851
882
  return b.build();
852
883
  }, "se_GetDataSetDetailsCommand");
884
+ var se_GetDataSetExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
885
+ const b = (0, import_core.requestBuilder)(input, context);
886
+ const headers = {};
887
+ b.bp("/applications/{applicationId}/dataset-export-tasks/{taskId}");
888
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
889
+ b.p("taskId", () => input.taskId, "{taskId}", false);
890
+ let body;
891
+ b.m("GET").h(headers).b(body);
892
+ return b.build();
893
+ }, "se_GetDataSetExportTaskCommand");
853
894
  var se_GetDataSetImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
854
895
  const b = (0, import_core.requestBuilder)(input, context);
855
896
  const headers = {};
@@ -959,6 +1000,19 @@ var se_ListBatchJobRestartPointsCommand = /* @__PURE__ */ __name(async (input, c
959
1000
  b.m("GET").h(headers).q(query).b(body);
960
1001
  return b.build();
961
1002
  }, "se_ListBatchJobRestartPointsCommand");
1003
+ var se_ListDataSetExportHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
1004
+ const b = (0, import_core.requestBuilder)(input, context);
1005
+ const headers = {};
1006
+ b.bp("/applications/{applicationId}/dataset-export-tasks");
1007
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
1008
+ const query = (0, import_smithy_client.map)({
1009
+ [_nT]: [, input[_nT]],
1010
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
1011
+ });
1012
+ let body;
1013
+ b.m("GET").h(headers).q(query).b(body);
1014
+ return b.build();
1015
+ }, "se_ListDataSetExportHistoryCommand");
962
1016
  var se_ListDataSetImportHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
963
1017
  const b = (0, import_core.requestBuilder)(input, context);
964
1018
  const headers = {};
@@ -1172,6 +1226,20 @@ var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
1172
1226
  Object.assign(contents, doc);
1173
1227
  return contents;
1174
1228
  }, "de_CreateApplicationCommand");
1229
+ var de_CreateDataSetExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
1230
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1231
+ return de_CommandError(output, context);
1232
+ }
1233
+ const contents = (0, import_smithy_client.map)({
1234
+ $metadata: deserializeMetadata(output)
1235
+ });
1236
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1237
+ const doc = (0, import_smithy_client.take)(data, {
1238
+ taskId: import_smithy_client.expectString
1239
+ });
1240
+ Object.assign(contents, doc);
1241
+ return contents;
1242
+ }, "de_CreateDataSetExportTaskCommand");
1175
1243
  var de_CreateDataSetImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
1176
1244
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1177
1245
  return de_CommandError(output, context);
@@ -1345,6 +1413,24 @@ var de_GetDataSetDetailsCommand = /* @__PURE__ */ __name(async (output, context)
1345
1413
  Object.assign(contents, doc);
1346
1414
  return contents;
1347
1415
  }, "de_GetDataSetDetailsCommand");
1416
+ var de_GetDataSetExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
1417
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1418
+ return de_CommandError(output, context);
1419
+ }
1420
+ const contents = (0, import_smithy_client.map)({
1421
+ $metadata: deserializeMetadata(output)
1422
+ });
1423
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1424
+ const doc = (0, import_smithy_client.take)(data, {
1425
+ kmsKeyArn: import_smithy_client.expectString,
1426
+ status: import_smithy_client.expectString,
1427
+ statusReason: import_smithy_client.expectString,
1428
+ summary: import_smithy_client._json,
1429
+ taskId: import_smithy_client.expectString
1430
+ });
1431
+ Object.assign(contents, doc);
1432
+ return contents;
1433
+ }, "de_GetDataSetExportTaskCommand");
1348
1434
  var de_GetDataSetImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
1349
1435
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1350
1436
  return de_CommandError(output, context);
@@ -1500,11 +1586,26 @@ var de_ListBatchJobRestartPointsCommand = /* @__PURE__ */ __name(async (output,
1500
1586
  });
1501
1587
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1502
1588
  const doc = (0, import_smithy_client.take)(data, {
1503
- batchJobSteps: import_smithy_client._json
1589
+ batchJobSteps: /* @__PURE__ */ __name((_) => de_BatchJobStepList(_, context), "batchJobSteps")
1504
1590
  });
1505
1591
  Object.assign(contents, doc);
1506
1592
  return contents;
1507
1593
  }, "de_ListBatchJobRestartPointsCommand");
1594
+ var de_ListDataSetExportHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
1595
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1596
+ return de_CommandError(output, context);
1597
+ }
1598
+ const contents = (0, import_smithy_client.map)({
1599
+ $metadata: deserializeMetadata(output)
1600
+ });
1601
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1602
+ const doc = (0, import_smithy_client.take)(data, {
1603
+ dataSetExportTasks: import_smithy_client._json,
1604
+ nextToken: import_smithy_client.expectString
1605
+ });
1606
+ Object.assign(contents, doc);
1607
+ return contents;
1608
+ }, "de_ListDataSetExportHistoryCommand");
1508
1609
  var de_ListDataSetImportHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
1509
1610
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1510
1611
  return de_CommandError(output, context);
@@ -1934,6 +2035,12 @@ var de_BatchJobExecutionSummaryList = /* @__PURE__ */ __name((output, context) =
1934
2035
  });
1935
2036
  return retVal;
1936
2037
  }, "de_BatchJobExecutionSummaryList");
2038
+ var de_BatchJobStepList = /* @__PURE__ */ __name((output, context) => {
2039
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2040
+ return de_JobStep(entry, context);
2041
+ });
2042
+ return retVal;
2043
+ }, "de_BatchJobStepList");
1937
2044
  var de_DataSetsSummaryList = /* @__PURE__ */ __name((output, context) => {
1938
2045
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
1939
2046
  return de_DataSetSummary(entry, context);
@@ -1998,6 +2105,19 @@ var de_FsxStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
1998
2105
  mountPoint: [, import_smithy_client.expectString, `mount-point`]
1999
2106
  });
2000
2107
  }, "de_FsxStorageConfiguration");
2108
+ var de_JobStep = /* @__PURE__ */ __name((output, context) => {
2109
+ return (0, import_smithy_client.take)(output, {
2110
+ procStepName: import_smithy_client.expectString,
2111
+ procStepNumber: import_smithy_client.expectInt32,
2112
+ stepCheckpoint: import_smithy_client.expectInt32,
2113
+ stepCheckpointStatus: import_smithy_client.expectString,
2114
+ stepCheckpointTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "stepCheckpointTime"),
2115
+ stepCondCode: import_smithy_client.expectString,
2116
+ stepName: import_smithy_client.expectString,
2117
+ stepNumber: import_smithy_client.expectInt32,
2118
+ stepRestartable: import_smithy_client.expectBoolean
2119
+ });
2120
+ }, "de_JobStep");
2001
2121
  var de_MaintenanceSchedule = /* @__PURE__ */ __name((output, context) => {
2002
2122
  return (0, import_smithy_client.take)(output, {
2003
2123
  endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
@@ -2079,6 +2199,21 @@ var CreateApplicationCommand = class extends import_smithy_client.Command.classB
2079
2199
  }
2080
2200
  };
2081
2201
 
2202
+ // src/commands/CreateDataSetExportTaskCommand.ts
2203
+
2204
+
2205
+
2206
+ var CreateDataSetExportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2207
+ return [
2208
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2209
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2210
+ ];
2211
+ }).s("AwsSupernovaControlPlaneService", "CreateDataSetExportTask", {}).n("M2Client", "CreateDataSetExportTaskCommand").f(void 0, void 0).ser(se_CreateDataSetExportTaskCommand).de(de_CreateDataSetExportTaskCommand).build() {
2212
+ static {
2213
+ __name(this, "CreateDataSetExportTaskCommand");
2214
+ }
2215
+ };
2216
+
2082
2217
  // src/commands/CreateDataSetImportTaskCommand.ts
2083
2218
 
2084
2219
 
@@ -2229,6 +2364,21 @@ var GetDataSetDetailsCommand = class extends import_smithy_client.Command.classB
2229
2364
  }
2230
2365
  };
2231
2366
 
2367
+ // src/commands/GetDataSetExportTaskCommand.ts
2368
+
2369
+
2370
+
2371
+ var GetDataSetExportTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2372
+ return [
2373
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2374
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2375
+ ];
2376
+ }).s("AwsSupernovaControlPlaneService", "GetDataSetExportTask", {}).n("M2Client", "GetDataSetExportTaskCommand").f(void 0, void 0).ser(se_GetDataSetExportTaskCommand).de(de_GetDataSetExportTaskCommand).build() {
2377
+ static {
2378
+ __name(this, "GetDataSetExportTaskCommand");
2379
+ }
2380
+ };
2381
+
2232
2382
  // src/commands/GetDataSetImportTaskCommand.ts
2233
2383
 
2234
2384
 
@@ -2364,6 +2514,21 @@ var ListBatchJobRestartPointsCommand = class extends import_smithy_client.Comman
2364
2514
  }
2365
2515
  };
2366
2516
 
2517
+ // src/commands/ListDataSetExportHistoryCommand.ts
2518
+
2519
+
2520
+
2521
+ var ListDataSetExportHistoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2522
+ return [
2523
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2524
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2525
+ ];
2526
+ }).s("AwsSupernovaControlPlaneService", "ListDataSetExportHistory", {}).n("M2Client", "ListDataSetExportHistoryCommand").f(void 0, void 0).ser(se_ListDataSetExportHistoryCommand).de(de_ListDataSetExportHistoryCommand).build() {
2527
+ static {
2528
+ __name(this, "ListDataSetExportHistoryCommand");
2529
+ }
2530
+ };
2531
+
2367
2532
  // src/commands/ListDataSetImportHistoryCommand.ts
2368
2533
 
2369
2534
 
@@ -2563,6 +2728,7 @@ var UpdateEnvironmentCommand = class extends import_smithy_client.Command.classB
2563
2728
  var commands = {
2564
2729
  CancelBatchJobExecutionCommand,
2565
2730
  CreateApplicationCommand,
2731
+ CreateDataSetExportTaskCommand,
2566
2732
  CreateDataSetImportTaskCommand,
2567
2733
  CreateDeploymentCommand,
2568
2734
  CreateEnvironmentCommand,
@@ -2573,6 +2739,7 @@ var commands = {
2573
2739
  GetApplicationVersionCommand,
2574
2740
  GetBatchJobExecutionCommand,
2575
2741
  GetDataSetDetailsCommand,
2742
+ GetDataSetExportTaskCommand,
2576
2743
  GetDataSetImportTaskCommand,
2577
2744
  GetDeploymentCommand,
2578
2745
  GetEnvironmentCommand,
@@ -2582,6 +2749,7 @@ var commands = {
2582
2749
  ListBatchJobDefinitionsCommand,
2583
2750
  ListBatchJobExecutionsCommand,
2584
2751
  ListBatchJobRestartPointsCommand,
2752
+ ListDataSetExportHistoryCommand,
2585
2753
  ListDataSetImportHistoryCommand,
2586
2754
  ListDataSetsCommand,
2587
2755
  ListDeploymentsCommand,
@@ -2619,6 +2787,10 @@ var paginateListBatchJobDefinitions = (0, import_core.createPaginator)(M2Client,
2619
2787
 
2620
2788
  var paginateListBatchJobExecutions = (0, import_core.createPaginator)(M2Client, ListBatchJobExecutionsCommand, "nextToken", "nextToken", "maxResults");
2621
2789
 
2790
+ // src/pagination/ListDataSetExportHistoryPaginator.ts
2791
+
2792
+ var paginateListDataSetExportHistory = (0, import_core.createPaginator)(M2Client, ListDataSetExportHistoryCommand, "nextToken", "nextToken", "maxResults");
2793
+
2622
2794
  // src/pagination/ListDataSetImportHistoryPaginator.ts
2623
2795
 
2624
2796
  var paginateListDataSetImportHistory = (0, import_core.createPaginator)(M2Client, ListDataSetImportHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -2648,6 +2820,7 @@ var paginateListEnvironments = (0, import_core.createPaginator)(M2Client, ListEn
2648
2820
  $Command,
2649
2821
  CancelBatchJobExecutionCommand,
2650
2822
  CreateApplicationCommand,
2823
+ CreateDataSetExportTaskCommand,
2651
2824
  CreateDataSetImportTaskCommand,
2652
2825
  CreateDeploymentCommand,
2653
2826
  CreateEnvironmentCommand,
@@ -2658,6 +2831,7 @@ var paginateListEnvironments = (0, import_core.createPaginator)(M2Client, ListEn
2658
2831
  GetApplicationVersionCommand,
2659
2832
  GetBatchJobExecutionCommand,
2660
2833
  GetDataSetDetailsCommand,
2834
+ GetDataSetExportTaskCommand,
2661
2835
  GetDataSetImportTaskCommand,
2662
2836
  GetDeploymentCommand,
2663
2837
  GetEnvironmentCommand,
@@ -2667,6 +2841,7 @@ var paginateListEnvironments = (0, import_core.createPaginator)(M2Client, ListEn
2667
2841
  ListBatchJobDefinitionsCommand,
2668
2842
  ListBatchJobExecutionsCommand,
2669
2843
  ListBatchJobRestartPointsCommand,
2844
+ ListDataSetExportHistoryCommand,
2670
2845
  ListDataSetImportHistoryCommand,
2671
2846
  ListDataSetsCommand,
2672
2847
  ListDeploymentsCommand,
@@ -2684,6 +2859,7 @@ var paginateListEnvironments = (0, import_core.createPaginator)(M2Client, ListEn
2684
2859
  paginateListApplications,
2685
2860
  paginateListBatchJobDefinitions,
2686
2861
  paginateListBatchJobExecutions,
2862
+ paginateListDataSetExportHistory,
2687
2863
  paginateListDataSetImportHistory,
2688
2864
  paginateListDataSets,
2689
2865
  paginateListDeployments,
@@ -2699,8 +2875,9 @@ var paginateListEnvironments = (0, import_core.createPaginator)(M2Client, ListEn
2699
2875
  Definition,
2700
2876
  EngineType,
2701
2877
  ServiceQuotaExceededException,
2702
- DatasetOrgAttributes,
2703
2878
  ExternalLocation,
2879
+ DataSetExportConfig,
2880
+ DatasetOrgAttributes,
2704
2881
  DataSetImportConfig,
2705
2882
  DeploymentLifecycle,
2706
2883
  ApplicationVersionLifecycle,
package/dist-es/M2.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CancelBatchJobExecutionCommand, } from "./commands/CancelBatchJobExecutionCommand";
3
3
  import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
4
+ import { CreateDataSetExportTaskCommand, } from "./commands/CreateDataSetExportTaskCommand";
4
5
  import { CreateDataSetImportTaskCommand, } from "./commands/CreateDataSetImportTaskCommand";
5
6
  import { CreateDeploymentCommand, } from "./commands/CreateDeploymentCommand";
6
7
  import { CreateEnvironmentCommand, } from "./commands/CreateEnvironmentCommand";
@@ -11,6 +12,7 @@ import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
11
12
  import { GetApplicationVersionCommand, } from "./commands/GetApplicationVersionCommand";
12
13
  import { GetBatchJobExecutionCommand, } from "./commands/GetBatchJobExecutionCommand";
13
14
  import { GetDataSetDetailsCommand, } from "./commands/GetDataSetDetailsCommand";
15
+ import { GetDataSetExportTaskCommand, } from "./commands/GetDataSetExportTaskCommand";
14
16
  import { GetDataSetImportTaskCommand, } from "./commands/GetDataSetImportTaskCommand";
15
17
  import { GetDeploymentCommand, } from "./commands/GetDeploymentCommand";
16
18
  import { GetEnvironmentCommand, } from "./commands/GetEnvironmentCommand";
@@ -20,6 +22,7 @@ import { ListApplicationVersionsCommand, } from "./commands/ListApplicationVersi
20
22
  import { ListBatchJobDefinitionsCommand, } from "./commands/ListBatchJobDefinitionsCommand";
21
23
  import { ListBatchJobExecutionsCommand, } from "./commands/ListBatchJobExecutionsCommand";
22
24
  import { ListBatchJobRestartPointsCommand, } from "./commands/ListBatchJobRestartPointsCommand";
25
+ import { ListDataSetExportHistoryCommand, } from "./commands/ListDataSetExportHistoryCommand";
23
26
  import { ListDataSetImportHistoryCommand, } from "./commands/ListDataSetImportHistoryCommand";
24
27
  import { ListDataSetsCommand, } from "./commands/ListDataSetsCommand";
25
28
  import { ListDeploymentsCommand, } from "./commands/ListDeploymentsCommand";
@@ -37,6 +40,7 @@ import { M2Client } from "./M2Client";
37
40
  const commands = {
38
41
  CancelBatchJobExecutionCommand,
39
42
  CreateApplicationCommand,
43
+ CreateDataSetExportTaskCommand,
40
44
  CreateDataSetImportTaskCommand,
41
45
  CreateDeploymentCommand,
42
46
  CreateEnvironmentCommand,
@@ -47,6 +51,7 @@ const commands = {
47
51
  GetApplicationVersionCommand,
48
52
  GetBatchJobExecutionCommand,
49
53
  GetDataSetDetailsCommand,
54
+ GetDataSetExportTaskCommand,
50
55
  GetDataSetImportTaskCommand,
51
56
  GetDeploymentCommand,
52
57
  GetEnvironmentCommand,
@@ -56,6 +61,7 @@ const commands = {
56
61
  ListBatchJobDefinitionsCommand,
57
62
  ListBatchJobExecutionsCommand,
58
63
  ListBatchJobRestartPointsCommand,
64
+ ListDataSetExportHistoryCommand,
59
65
  ListDataSetImportHistoryCommand,
60
66
  ListDataSetsCommand,
61
67
  ListDeploymentsCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateDataSetExportTaskCommand, se_CreateDataSetExportTaskCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateDataSetExportTaskCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AwsSupernovaControlPlaneService", "CreateDataSetExportTask", {})
17
+ .n("M2Client", "CreateDataSetExportTaskCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateDataSetExportTaskCommand)
20
+ .de(de_CreateDataSetExportTaskCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDataSetExportTaskCommand, se_GetDataSetExportTaskCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetDataSetExportTaskCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AwsSupernovaControlPlaneService", "GetDataSetExportTask", {})
17
+ .n("M2Client", "GetDataSetExportTaskCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetDataSetExportTaskCommand)
20
+ .de(de_GetDataSetExportTaskCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDataSetExportHistoryCommand, se_ListDataSetExportHistoryCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListDataSetExportHistoryCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AwsSupernovaControlPlaneService", "ListDataSetExportHistory", {})
17
+ .n("M2Client", "ListDataSetExportHistoryCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDataSetExportHistoryCommand)
20
+ .de(de_ListDataSetExportHistoryCommand)
21
+ .build() {
22
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./CancelBatchJobExecutionCommand";
2
2
  export * from "./CreateApplicationCommand";
3
+ export * from "./CreateDataSetExportTaskCommand";
3
4
  export * from "./CreateDataSetImportTaskCommand";
4
5
  export * from "./CreateDeploymentCommand";
5
6
  export * from "./CreateEnvironmentCommand";
@@ -10,6 +11,7 @@ export * from "./GetApplicationCommand";
10
11
  export * from "./GetApplicationVersionCommand";
11
12
  export * from "./GetBatchJobExecutionCommand";
12
13
  export * from "./GetDataSetDetailsCommand";
14
+ export * from "./GetDataSetExportTaskCommand";
13
15
  export * from "./GetDataSetImportTaskCommand";
14
16
  export * from "./GetDeploymentCommand";
15
17
  export * from "./GetEnvironmentCommand";
@@ -19,6 +21,7 @@ export * from "./ListApplicationsCommand";
19
21
  export * from "./ListBatchJobDefinitionsCommand";
20
22
  export * from "./ListBatchJobExecutionsCommand";
21
23
  export * from "./ListBatchJobRestartPointsCommand";
24
+ export * from "./ListDataSetExportHistoryCommand";
22
25
  export * from "./ListDataSetImportHistoryCommand";
23
26
  export * from "./ListDataSetsCommand";
24
27
  export * from "./ListDeploymentsCommand";
@@ -137,6 +137,24 @@ export class ServiceQuotaExceededException extends __BaseException {
137
137
  this.quotaCode = opts.quotaCode;
138
138
  }
139
139
  }
140
+ export var ExternalLocation;
141
+ (function (ExternalLocation) {
142
+ ExternalLocation.visit = (value, visitor) => {
143
+ if (value.s3Location !== undefined)
144
+ return visitor.s3Location(value.s3Location);
145
+ return visitor._(value.$unknown[0], value.$unknown[1]);
146
+ };
147
+ })(ExternalLocation || (ExternalLocation = {}));
148
+ export var DataSetExportConfig;
149
+ (function (DataSetExportConfig) {
150
+ DataSetExportConfig.visit = (value, visitor) => {
151
+ if (value.s3Location !== undefined)
152
+ return visitor.s3Location(value.s3Location);
153
+ if (value.dataSets !== undefined)
154
+ return visitor.dataSets(value.dataSets);
155
+ return visitor._(value.$unknown[0], value.$unknown[1]);
156
+ };
157
+ })(DataSetExportConfig || (DataSetExportConfig = {}));
140
158
  export var DatasetOrgAttributes;
141
159
  (function (DatasetOrgAttributes) {
142
160
  DatasetOrgAttributes.visit = (value, visitor) => {
@@ -151,14 +169,6 @@ export var DatasetOrgAttributes;
151
169
  return visitor._(value.$unknown[0], value.$unknown[1]);
152
170
  };
153
171
  })(DatasetOrgAttributes || (DatasetOrgAttributes = {}));
154
- export var ExternalLocation;
155
- (function (ExternalLocation) {
156
- ExternalLocation.visit = (value, visitor) => {
157
- if (value.s3Location !== undefined)
158
- return visitor.s3Location(value.s3Location);
159
- return visitor._(value.$unknown[0], value.$unknown[1]);
160
- };
161
- })(ExternalLocation || (ExternalLocation = {}));
162
172
  export var DataSetImportConfig;
163
173
  (function (DataSetImportConfig) {
164
174
  DataSetImportConfig.visit = (value, visitor) => {
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDataSetExportHistoryCommand, } from "../commands/ListDataSetExportHistoryCommand";
3
+ import { M2Client } from "../M2Client";
4
+ export const paginateListDataSetExportHistory = createPaginator(M2Client, ListDataSetExportHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -3,6 +3,7 @@ export * from "./ListApplicationVersionsPaginator";
3
3
  export * from "./ListApplicationsPaginator";
4
4
  export * from "./ListBatchJobDefinitionsPaginator";
5
5
  export * from "./ListBatchJobExecutionsPaginator";
6
+ export * from "./ListDataSetExportHistoryPaginator";
6
7
  export * from "./ListDataSetImportHistoryPaginator";
7
8
  export * from "./ListDataSetsPaginator";
8
9
  export * from "./ListDeploymentsPaginator";