@aws-sdk/client-m2 3.782.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
@@ -39,6 +39,22 @@ export const se_CreateApplicationCommand = async (input, context) => {
39
39
  b.m("POST").h(headers).b(body);
40
40
  return b.build();
41
41
  };
42
+ export const se_CreateDataSetExportTaskCommand = async (input, context) => {
43
+ const b = rb(input, context);
44
+ const headers = {
45
+ "content-type": "application/json",
46
+ };
47
+ b.bp("/applications/{applicationId}/dataset-export-task");
48
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
49
+ let body;
50
+ body = JSON.stringify(take(input, {
51
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
52
+ exportConfig: (_) => _json(_),
53
+ kmsKeyId: [],
54
+ }));
55
+ b.m("POST").h(headers).b(body);
56
+ return b.build();
57
+ };
42
58
  export const se_CreateDataSetImportTaskCommand = async (input, context) => {
43
59
  const b = rb(input, context);
44
60
  const headers = {
@@ -164,6 +180,16 @@ export const se_GetDataSetDetailsCommand = async (input, context) => {
164
180
  b.m("GET").h(headers).b(body);
165
181
  return b.build();
166
182
  };
183
+ export const se_GetDataSetExportTaskCommand = async (input, context) => {
184
+ const b = rb(input, context);
185
+ const headers = {};
186
+ b.bp("/applications/{applicationId}/dataset-export-tasks/{taskId}");
187
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
188
+ b.p("taskId", () => input.taskId, "{taskId}", false);
189
+ let body;
190
+ b.m("GET").h(headers).b(body);
191
+ return b.build();
192
+ };
167
193
  export const se_GetDataSetImportTaskCommand = async (input, context) => {
168
194
  const b = rb(input, context);
169
195
  const headers = {};
@@ -273,6 +299,19 @@ export const se_ListBatchJobRestartPointsCommand = async (input, context) => {
273
299
  b.m("GET").h(headers).q(query).b(body);
274
300
  return b.build();
275
301
  };
302
+ export const se_ListDataSetExportHistoryCommand = async (input, context) => {
303
+ const b = rb(input, context);
304
+ const headers = {};
305
+ b.bp("/applications/{applicationId}/dataset-export-tasks");
306
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
307
+ const query = map({
308
+ [_nT]: [, input[_nT]],
309
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
310
+ });
311
+ let body;
312
+ b.m("GET").h(headers).q(query).b(body);
313
+ return b.build();
314
+ };
276
315
  export const se_ListDataSetImportHistoryCommand = async (input, context) => {
277
316
  const b = rb(input, context);
278
317
  const headers = {};
@@ -476,6 +515,20 @@ export const de_CreateApplicationCommand = async (output, context) => {
476
515
  Object.assign(contents, doc);
477
516
  return contents;
478
517
  };
518
+ export const de_CreateDataSetExportTaskCommand = async (output, context) => {
519
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
520
+ return de_CommandError(output, context);
521
+ }
522
+ const contents = map({
523
+ $metadata: deserializeMetadata(output),
524
+ });
525
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
526
+ const doc = take(data, {
527
+ taskId: __expectString,
528
+ });
529
+ Object.assign(contents, doc);
530
+ return contents;
531
+ };
479
532
  export const de_CreateDataSetImportTaskCommand = async (output, context) => {
480
533
  if (output.statusCode !== 200 && output.statusCode >= 300) {
481
534
  return de_CommandError(output, context);
@@ -649,6 +702,24 @@ export const de_GetDataSetDetailsCommand = async (output, context) => {
649
702
  Object.assign(contents, doc);
650
703
  return contents;
651
704
  };
705
+ export const de_GetDataSetExportTaskCommand = async (output, context) => {
706
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
707
+ return de_CommandError(output, context);
708
+ }
709
+ const contents = map({
710
+ $metadata: deserializeMetadata(output),
711
+ });
712
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
713
+ const doc = take(data, {
714
+ kmsKeyArn: __expectString,
715
+ status: __expectString,
716
+ statusReason: __expectString,
717
+ summary: _json,
718
+ taskId: __expectString,
719
+ });
720
+ Object.assign(contents, doc);
721
+ return contents;
722
+ };
652
723
  export const de_GetDataSetImportTaskCommand = async (output, context) => {
653
724
  if (output.statusCode !== 200 && output.statusCode >= 300) {
654
725
  return de_CommandError(output, context);
@@ -804,7 +875,22 @@ export const de_ListBatchJobRestartPointsCommand = async (output, context) => {
804
875
  });
805
876
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
806
877
  const doc = take(data, {
807
- batchJobSteps: _json,
878
+ batchJobSteps: (_) => de_BatchJobStepList(_, context),
879
+ });
880
+ Object.assign(contents, doc);
881
+ return contents;
882
+ };
883
+ export const de_ListDataSetExportHistoryCommand = async (output, context) => {
884
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
885
+ return de_CommandError(output, context);
886
+ }
887
+ const contents = map({
888
+ $metadata: deserializeMetadata(output),
889
+ });
890
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
891
+ const doc = take(data, {
892
+ dataSetExportTasks: _json,
893
+ nextToken: __expectString,
808
894
  });
809
895
  Object.assign(contents, doc);
810
896
  return contents;
@@ -1246,6 +1332,14 @@ const de_BatchJobExecutionSummaryList = (output, context) => {
1246
1332
  });
1247
1333
  return retVal;
1248
1334
  };
1335
+ const de_BatchJobStepList = (output, context) => {
1336
+ const retVal = (output || [])
1337
+ .filter((e) => e != null)
1338
+ .map((entry) => {
1339
+ return de_JobStep(entry, context);
1340
+ });
1341
+ return retVal;
1342
+ };
1249
1343
  const de_DataSetsSummaryList = (output, context) => {
1250
1344
  const retVal = (output || [])
1251
1345
  .filter((e) => e != null)
@@ -1316,6 +1410,19 @@ const de_FsxStorageConfiguration = (output, context) => {
1316
1410
  mountPoint: [, __expectString, `mount-point`],
1317
1411
  });
1318
1412
  };
1413
+ const de_JobStep = (output, context) => {
1414
+ return take(output, {
1415
+ procStepName: __expectString,
1416
+ procStepNumber: __expectInt32,
1417
+ stepCheckpoint: __expectInt32,
1418
+ stepCheckpointStatus: __expectString,
1419
+ stepCheckpointTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1420
+ stepCondCode: __expectString,
1421
+ stepName: __expectString,
1422
+ stepNumber: __expectInt32,
1423
+ stepRestartable: __expectBoolean,
1424
+ });
1425
+ };
1319
1426
  const de_MaintenanceSchedule = (output, context) => {
1320
1427
  return take(output, {
1321
1428
  endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1,6 +1,7 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CancelBatchJobExecutionCommandInput, CancelBatchJobExecutionCommandOutput } from "./commands/CancelBatchJobExecutionCommand";
3
3
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
4
+ import { CreateDataSetExportTaskCommandInput, CreateDataSetExportTaskCommandOutput } from "./commands/CreateDataSetExportTaskCommand";
4
5
  import { CreateDataSetImportTaskCommandInput, CreateDataSetImportTaskCommandOutput } from "./commands/CreateDataSetImportTaskCommand";
5
6
  import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
6
7
  import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
@@ -11,6 +12,7 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
11
12
  import { GetApplicationVersionCommandInput, GetApplicationVersionCommandOutput } from "./commands/GetApplicationVersionCommand";
12
13
  import { GetBatchJobExecutionCommandInput, GetBatchJobExecutionCommandOutput } from "./commands/GetBatchJobExecutionCommand";
13
14
  import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from "./commands/GetDataSetDetailsCommand";
15
+ import { GetDataSetExportTaskCommandInput, GetDataSetExportTaskCommandOutput } from "./commands/GetDataSetExportTaskCommand";
14
16
  import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "./commands/GetDataSetImportTaskCommand";
15
17
  import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
16
18
  import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
@@ -20,6 +22,7 @@ import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutp
20
22
  import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "./commands/ListBatchJobDefinitionsCommand";
21
23
  import { ListBatchJobExecutionsCommandInput, ListBatchJobExecutionsCommandOutput } from "./commands/ListBatchJobExecutionsCommand";
22
24
  import { ListBatchJobRestartPointsCommandInput, ListBatchJobRestartPointsCommandOutput } from "./commands/ListBatchJobRestartPointsCommand";
25
+ import { ListDataSetExportHistoryCommandInput, ListDataSetExportHistoryCommandOutput } from "./commands/ListDataSetExportHistoryCommand";
23
26
  import { ListDataSetImportHistoryCommandInput, ListDataSetImportHistoryCommandOutput } from "./commands/ListDataSetImportHistoryCommand";
24
27
  import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
25
28
  import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
@@ -47,6 +50,12 @@ export interface M2 {
47
50
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
48
51
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
49
52
  createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
53
+ /**
54
+ * @see {@link CreateDataSetExportTaskCommand}
55
+ */
56
+ createDataSetExportTask(args: CreateDataSetExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSetExportTaskCommandOutput>;
57
+ createDataSetExportTask(args: CreateDataSetExportTaskCommandInput, cb: (err: any, data?: CreateDataSetExportTaskCommandOutput) => void): void;
58
+ createDataSetExportTask(args: CreateDataSetExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSetExportTaskCommandOutput) => void): void;
50
59
  /**
51
60
  * @see {@link CreateDataSetImportTaskCommand}
52
61
  */
@@ -107,6 +116,12 @@ export interface M2 {
107
116
  getDataSetDetails(args: GetDataSetDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSetDetailsCommandOutput>;
108
117
  getDataSetDetails(args: GetDataSetDetailsCommandInput, cb: (err: any, data?: GetDataSetDetailsCommandOutput) => void): void;
109
118
  getDataSetDetails(args: GetDataSetDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSetDetailsCommandOutput) => void): void;
119
+ /**
120
+ * @see {@link GetDataSetExportTaskCommand}
121
+ */
122
+ getDataSetExportTask(args: GetDataSetExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSetExportTaskCommandOutput>;
123
+ getDataSetExportTask(args: GetDataSetExportTaskCommandInput, cb: (err: any, data?: GetDataSetExportTaskCommandOutput) => void): void;
124
+ getDataSetExportTask(args: GetDataSetExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSetExportTaskCommandOutput) => void): void;
110
125
  /**
111
126
  * @see {@link GetDataSetImportTaskCommand}
112
127
  */
@@ -163,6 +178,12 @@ export interface M2 {
163
178
  listBatchJobRestartPoints(args: ListBatchJobRestartPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchJobRestartPointsCommandOutput>;
164
179
  listBatchJobRestartPoints(args: ListBatchJobRestartPointsCommandInput, cb: (err: any, data?: ListBatchJobRestartPointsCommandOutput) => void): void;
165
180
  listBatchJobRestartPoints(args: ListBatchJobRestartPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBatchJobRestartPointsCommandOutput) => void): void;
181
+ /**
182
+ * @see {@link ListDataSetExportHistoryCommand}
183
+ */
184
+ listDataSetExportHistory(args: ListDataSetExportHistoryCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSetExportHistoryCommandOutput>;
185
+ listDataSetExportHistory(args: ListDataSetExportHistoryCommandInput, cb: (err: any, data?: ListDataSetExportHistoryCommandOutput) => void): void;
186
+ listDataSetExportHistory(args: ListDataSetExportHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSetExportHistoryCommandOutput) => void): void;
166
187
  /**
167
188
  * @see {@link ListDataSetImportHistoryCommand}
168
189
  */
@@ -9,6 +9,7 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CancelBatchJobExecutionCommandInput, CancelBatchJobExecutionCommandOutput } from "./commands/CancelBatchJobExecutionCommand";
11
11
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
12
+ import { CreateDataSetExportTaskCommandInput, CreateDataSetExportTaskCommandOutput } from "./commands/CreateDataSetExportTaskCommand";
12
13
  import { CreateDataSetImportTaskCommandInput, CreateDataSetImportTaskCommandOutput } from "./commands/CreateDataSetImportTaskCommand";
13
14
  import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
14
15
  import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
@@ -19,6 +20,7 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
19
20
  import { GetApplicationVersionCommandInput, GetApplicationVersionCommandOutput } from "./commands/GetApplicationVersionCommand";
20
21
  import { GetBatchJobExecutionCommandInput, GetBatchJobExecutionCommandOutput } from "./commands/GetBatchJobExecutionCommand";
21
22
  import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from "./commands/GetDataSetDetailsCommand";
23
+ import { GetDataSetExportTaskCommandInput, GetDataSetExportTaskCommandOutput } from "./commands/GetDataSetExportTaskCommand";
22
24
  import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "./commands/GetDataSetImportTaskCommand";
23
25
  import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
24
26
  import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
@@ -28,6 +30,7 @@ import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutp
28
30
  import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "./commands/ListBatchJobDefinitionsCommand";
29
31
  import { ListBatchJobExecutionsCommandInput, ListBatchJobExecutionsCommandOutput } from "./commands/ListBatchJobExecutionsCommand";
30
32
  import { ListBatchJobRestartPointsCommandInput, ListBatchJobRestartPointsCommandOutput } from "./commands/ListBatchJobRestartPointsCommand";
33
+ import { ListDataSetExportHistoryCommandInput, ListDataSetExportHistoryCommandOutput } from "./commands/ListDataSetExportHistoryCommand";
31
34
  import { ListDataSetImportHistoryCommandInput, ListDataSetImportHistoryCommandOutput } from "./commands/ListDataSetImportHistoryCommand";
32
35
  import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
33
36
  import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
@@ -47,11 +50,11 @@ export { __Client };
47
50
  /**
48
51
  * @public
49
52
  */
50
- export type ServiceInputTypes = CancelBatchJobExecutionCommandInput | CreateApplicationCommandInput | CreateDataSetImportTaskCommandInput | CreateDeploymentCommandInput | CreateEnvironmentCommandInput | DeleteApplicationCommandInput | DeleteApplicationFromEnvironmentCommandInput | DeleteEnvironmentCommandInput | GetApplicationCommandInput | GetApplicationVersionCommandInput | GetBatchJobExecutionCommandInput | GetDataSetDetailsCommandInput | GetDataSetImportTaskCommandInput | GetDeploymentCommandInput | GetEnvironmentCommandInput | GetSignedBluinsightsUrlCommandInput | ListApplicationVersionsCommandInput | ListApplicationsCommandInput | ListBatchJobDefinitionsCommandInput | ListBatchJobExecutionsCommandInput | ListBatchJobRestartPointsCommandInput | ListDataSetImportHistoryCommandInput | ListDataSetsCommandInput | ListDeploymentsCommandInput | ListEngineVersionsCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartBatchJobCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateEnvironmentCommandInput;
53
+ export type ServiceInputTypes = CancelBatchJobExecutionCommandInput | CreateApplicationCommandInput | CreateDataSetExportTaskCommandInput | CreateDataSetImportTaskCommandInput | CreateDeploymentCommandInput | CreateEnvironmentCommandInput | DeleteApplicationCommandInput | DeleteApplicationFromEnvironmentCommandInput | DeleteEnvironmentCommandInput | GetApplicationCommandInput | GetApplicationVersionCommandInput | GetBatchJobExecutionCommandInput | GetDataSetDetailsCommandInput | GetDataSetExportTaskCommandInput | GetDataSetImportTaskCommandInput | GetDeploymentCommandInput | GetEnvironmentCommandInput | GetSignedBluinsightsUrlCommandInput | ListApplicationVersionsCommandInput | ListApplicationsCommandInput | ListBatchJobDefinitionsCommandInput | ListBatchJobExecutionsCommandInput | ListBatchJobRestartPointsCommandInput | ListDataSetExportHistoryCommandInput | ListDataSetImportHistoryCommandInput | ListDataSetsCommandInput | ListDeploymentsCommandInput | ListEngineVersionsCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartBatchJobCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateEnvironmentCommandInput;
51
54
  /**
52
55
  * @public
53
56
  */
54
- export type ServiceOutputTypes = CancelBatchJobExecutionCommandOutput | CreateApplicationCommandOutput | CreateDataSetImportTaskCommandOutput | CreateDeploymentCommandOutput | CreateEnvironmentCommandOutput | DeleteApplicationCommandOutput | DeleteApplicationFromEnvironmentCommandOutput | DeleteEnvironmentCommandOutput | GetApplicationCommandOutput | GetApplicationVersionCommandOutput | GetBatchJobExecutionCommandOutput | GetDataSetDetailsCommandOutput | GetDataSetImportTaskCommandOutput | GetDeploymentCommandOutput | GetEnvironmentCommandOutput | GetSignedBluinsightsUrlCommandOutput | ListApplicationVersionsCommandOutput | ListApplicationsCommandOutput | ListBatchJobDefinitionsCommandOutput | ListBatchJobExecutionsCommandOutput | ListBatchJobRestartPointsCommandOutput | ListDataSetImportHistoryCommandOutput | ListDataSetsCommandOutput | ListDeploymentsCommandOutput | ListEngineVersionsCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartBatchJobCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateEnvironmentCommandOutput;
57
+ export type ServiceOutputTypes = CancelBatchJobExecutionCommandOutput | CreateApplicationCommandOutput | CreateDataSetExportTaskCommandOutput | CreateDataSetImportTaskCommandOutput | CreateDeploymentCommandOutput | CreateEnvironmentCommandOutput | DeleteApplicationCommandOutput | DeleteApplicationFromEnvironmentCommandOutput | DeleteEnvironmentCommandOutput | GetApplicationCommandOutput | GetApplicationVersionCommandOutput | GetBatchJobExecutionCommandOutput | GetDataSetDetailsCommandOutput | GetDataSetExportTaskCommandOutput | GetDataSetImportTaskCommandOutput | GetDeploymentCommandOutput | GetEnvironmentCommandOutput | GetSignedBluinsightsUrlCommandOutput | ListApplicationVersionsCommandOutput | ListApplicationsCommandOutput | ListBatchJobDefinitionsCommandOutput | ListBatchJobExecutionsCommandOutput | ListBatchJobRestartPointsCommandOutput | ListDataSetExportHistoryCommandOutput | ListDataSetImportHistoryCommandOutput | ListDataSetsCommandOutput | ListDeploymentsCommandOutput | ListEngineVersionsCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartBatchJobCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateEnvironmentCommandOutput;
55
58
  /**
56
59
  * @public
57
60
  */
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../M2Client";
4
+ import { CreateDataSetExportTaskRequest, CreateDataSetExportTaskResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDataSetExportTaskCommand}.
14
+ */
15
+ export interface CreateDataSetExportTaskCommandInput extends CreateDataSetExportTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDataSetExportTaskCommand}.
21
+ */
22
+ export interface CreateDataSetExportTaskCommandOutput extends CreateDataSetExportTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDataSetExportTaskCommand_base: {
25
+ new (input: CreateDataSetExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataSetExportTaskCommandInput, CreateDataSetExportTaskCommandOutput, M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDataSetExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataSetExportTaskCommandInput, CreateDataSetExportTaskCommandOutput, M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a data set export task for a specific application.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { M2Client, CreateDataSetExportTaskCommand } from "@aws-sdk/client-m2"; // ES Modules import
35
+ * // const { M2Client, CreateDataSetExportTaskCommand } = require("@aws-sdk/client-m2"); // CommonJS import
36
+ * const client = new M2Client(config);
37
+ * const input = { // CreateDataSetExportTaskRequest
38
+ * applicationId: "STRING_VALUE", // required
39
+ * exportConfig: { // DataSetExportConfig Union: only one key present
40
+ * s3Location: "STRING_VALUE",
41
+ * dataSets: [ // DataSetExportList
42
+ * { // DataSetExportItem
43
+ * datasetName: "STRING_VALUE", // required
44
+ * externalLocation: { // ExternalLocation Union: only one key present
45
+ * s3Location: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * ],
49
+ * },
50
+ * clientToken: "STRING_VALUE",
51
+ * kmsKeyId: "STRING_VALUE",
52
+ * };
53
+ * const command = new CreateDataSetExportTaskCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // CreateDataSetExportTaskResponse
56
+ * // taskId: "STRING_VALUE", // required
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param CreateDataSetExportTaskCommandInput - {@link CreateDataSetExportTaskCommandInput}
62
+ * @returns {@link CreateDataSetExportTaskCommandOutput}
63
+ * @see {@link CreateDataSetExportTaskCommandInput} for command's `input` shape.
64
+ * @see {@link CreateDataSetExportTaskCommandOutput} for command's `response` shape.
65
+ * @see {@link M2ClientResolvedConfig | config} for M2Client's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The account or role doesn't have the right permissions to make the request.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>The parameters provided in the request conflict with existing resources.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>An unexpected error occurred during the processing of the request.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource was not found.</p>
78
+ *
79
+ * @throws {@link ServiceQuotaExceededException} (client fault)
80
+ * <p>One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The number of requests made exceeds the limit.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>One or more parameters provided in the request is not valid.</p>
87
+ *
88
+ * @throws {@link M2ServiceException}
89
+ * <p>Base exception class for all service exceptions from M2 service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class CreateDataSetExportTaskCommand extends CreateDataSetExportTaskCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: CreateDataSetExportTaskRequest;
99
+ output: CreateDataSetExportTaskResponse;
100
+ };
101
+ sdk: {
102
+ input: CreateDataSetExportTaskCommandInput;
103
+ output: CreateDataSetExportTaskCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -75,6 +75,8 @@ declare const GetBatchJobExecutionCommand_base: {
75
75
  * // fromProcStep: "STRING_VALUE",
76
76
  * // toStep: "STRING_VALUE",
77
77
  * // toProcStep: "STRING_VALUE",
78
+ * // stepCheckpoint: Number("int"),
79
+ * // skip: true || false,
78
80
  * // },
79
81
  * // },
80
82
  * // },
@@ -83,6 +85,8 @@ declare const GetBatchJobExecutionCommand_base: {
83
85
  * // fromProcStep: "STRING_VALUE",
84
86
  * // toStep: "STRING_VALUE",
85
87
  * // toProcStep: "STRING_VALUE",
88
+ * // stepCheckpoint: Number("int"),
89
+ * // skip: true || false,
86
90
  * // },
87
91
  * // };
88
92
  *
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../M2Client";
4
+ import { GetDataSetExportTaskRequest, GetDataSetExportTaskResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDataSetExportTaskCommand}.
14
+ */
15
+ export interface GetDataSetExportTaskCommandInput extends GetDataSetExportTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataSetExportTaskCommand}.
21
+ */
22
+ export interface GetDataSetExportTaskCommandOutput extends GetDataSetExportTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataSetExportTaskCommand_base: {
25
+ new (input: GetDataSetExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataSetExportTaskCommandInput, GetDataSetExportTaskCommandOutput, M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetDataSetExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataSetExportTaskCommandInput, GetDataSetExportTaskCommandOutput, M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the status of a data set import task initiated with the <a>CreateDataSetExportTask</a> operation.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { M2Client, GetDataSetExportTaskCommand } from "@aws-sdk/client-m2"; // ES Modules import
35
+ * // const { M2Client, GetDataSetExportTaskCommand } = require("@aws-sdk/client-m2"); // CommonJS import
36
+ * const client = new M2Client(config);
37
+ * const input = { // GetDataSetExportTaskRequest
38
+ * applicationId: "STRING_VALUE", // required
39
+ * taskId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetDataSetExportTaskCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetDataSetExportTaskResponse
44
+ * // taskId: "STRING_VALUE", // required
45
+ * // status: "STRING_VALUE", // required
46
+ * // summary: { // DataSetExportSummary
47
+ * // total: Number("int"), // required
48
+ * // succeeded: Number("int"), // required
49
+ * // failed: Number("int"), // required
50
+ * // pending: Number("int"), // required
51
+ * // inProgress: Number("int"), // required
52
+ * // },
53
+ * // statusReason: "STRING_VALUE",
54
+ * // kmsKeyArn: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetDataSetExportTaskCommandInput - {@link GetDataSetExportTaskCommandInput}
60
+ * @returns {@link GetDataSetExportTaskCommandOutput}
61
+ * @see {@link GetDataSetExportTaskCommandInput} for command's `input` shape.
62
+ * @see {@link GetDataSetExportTaskCommandOutput} for command's `response` shape.
63
+ * @see {@link M2ClientResolvedConfig | config} for M2Client's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>The account or role doesn't have the right permissions to make the request.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>An unexpected error occurred during the processing of the request.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource was not found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The number of requests made exceeds the limit.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>One or more parameters provided in the request is not valid.</p>
79
+ *
80
+ * @throws {@link M2ServiceException}
81
+ * <p>Base exception class for all service exceptions from M2 service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetDataSetExportTaskCommand extends GetDataSetExportTaskCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetDataSetExportTaskRequest;
91
+ output: GetDataSetExportTaskResponse;
92
+ };
93
+ sdk: {
94
+ input: GetDataSetExportTaskCommandInput;
95
+ output: GetDataSetExportTaskCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -84,6 +84,8 @@ declare const ListBatchJobExecutionsCommand_base: {
84
84
  * // fromProcStep: "STRING_VALUE",
85
85
  * // toStep: "STRING_VALUE",
86
86
  * // toProcStep: "STRING_VALUE",
87
+ * // stepCheckpoint: Number("int"),
88
+ * // skip: true || false,
87
89
  * // },
88
90
  * // },
89
91
  * // },
@@ -50,6 +50,9 @@ declare const ListBatchJobRestartPointsCommand_base: {
50
50
  * // procStepName: "STRING_VALUE",
51
51
  * // stepCondCode: "STRING_VALUE",
52
52
  * // stepRestartable: true || false,
53
+ * // stepCheckpoint: Number("int"),
54
+ * // stepCheckpointStatus: "STRING_VALUE",
55
+ * // stepCheckpointTime: new Date("TIMESTAMP"),
53
56
  * // },
54
57
  * // ],
55
58
  * // };
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../M2Client";
4
+ import { ListDataSetExportHistoryRequest, ListDataSetExportHistoryResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDataSetExportHistoryCommand}.
14
+ */
15
+ export interface ListDataSetExportHistoryCommandInput extends ListDataSetExportHistoryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDataSetExportHistoryCommand}.
21
+ */
22
+ export interface ListDataSetExportHistoryCommandOutput extends ListDataSetExportHistoryResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDataSetExportHistoryCommand_base: {
25
+ new (input: ListDataSetExportHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataSetExportHistoryCommandInput, ListDataSetExportHistoryCommandOutput, M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListDataSetExportHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataSetExportHistoryCommandInput, ListDataSetExportHistoryCommandOutput, M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the data set exports for the specified application.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { M2Client, ListDataSetExportHistoryCommand } from "@aws-sdk/client-m2"; // ES Modules import
35
+ * // const { M2Client, ListDataSetExportHistoryCommand } = require("@aws-sdk/client-m2"); // CommonJS import
36
+ * const client = new M2Client(config);
37
+ * const input = { // ListDataSetExportHistoryRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * applicationId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListDataSetExportHistoryCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListDataSetExportHistoryResponse
45
+ * // dataSetExportTasks: [ // DataSetExportTaskList // required
46
+ * // { // DataSetExportTask
47
+ * // taskId: "STRING_VALUE", // required
48
+ * // status: "STRING_VALUE", // required
49
+ * // summary: { // DataSetExportSummary
50
+ * // total: Number("int"), // required
51
+ * // succeeded: Number("int"), // required
52
+ * // failed: Number("int"), // required
53
+ * // pending: Number("int"), // required
54
+ * // inProgress: Number("int"), // required
55
+ * // },
56
+ * // statusReason: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListDataSetExportHistoryCommandInput - {@link ListDataSetExportHistoryCommandInput}
65
+ * @returns {@link ListDataSetExportHistoryCommandOutput}
66
+ * @see {@link ListDataSetExportHistoryCommandInput} for command's `input` shape.
67
+ * @see {@link ListDataSetExportHistoryCommandOutput} for command's `response` shape.
68
+ * @see {@link M2ClientResolvedConfig | config} for M2Client's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>The account or role doesn't have the right permissions to make the request.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>An unexpected error occurred during the processing of the request.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource was not found.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The number of requests made exceeds the limit.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>One or more parameters provided in the request is not valid.</p>
84
+ *
85
+ * @throws {@link M2ServiceException}
86
+ * <p>Base exception class for all service exceptions from M2 service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListDataSetExportHistoryCommand extends ListDataSetExportHistoryCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListDataSetExportHistoryRequest;
96
+ output: ListDataSetExportHistoryResponse;
97
+ };
98
+ sdk: {
99
+ input: ListDataSetExportHistoryCommandInput;
100
+ output: ListDataSetExportHistoryCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -60,6 +60,8 @@ declare const StartBatchJobCommand_base: {
60
60
  * fromProcStep: "STRING_VALUE",
61
61
  * toStep: "STRING_VALUE",
62
62
  * toProcStep: "STRING_VALUE",
63
+ * stepCheckpoint: Number("int"),
64
+ * skip: true || false,
63
65
  * },
64
66
  * },
65
67
  * },
@@ -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";