@aws-sdk/client-database-migration-service 3.668.0 → 3.670.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 (73) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +549 -103
  3. package/dist-cjs/runtimeConfig.browser.js +1 -1
  4. package/dist-cjs/runtimeConfig.js +1 -1
  5. package/dist-es/DatabaseMigrationService.js +12 -0
  6. package/dist-es/commands/CreateDataMigrationCommand.js +23 -0
  7. package/dist-es/commands/DeleteDataMigrationCommand.js +23 -0
  8. package/dist-es/commands/DescribeDataMigrationsCommand.js +23 -0
  9. package/dist-es/commands/ImportCertificateCommand.js +1 -1
  10. package/dist-es/commands/ModifyDataMigrationCommand.js +23 -0
  11. package/dist-es/commands/StartDataMigrationCommand.js +23 -0
  12. package/dist-es/commands/StopDataMigrationCommand.js +23 -0
  13. package/dist-es/commands/index.js +6 -0
  14. package/dist-es/models/models_0.js +87 -66
  15. package/dist-es/models/models_1.js +42 -1
  16. package/dist-es/pagination/DescribeDataMigrationsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +2 -1
  18. package/dist-es/protocols/Aws_json1_1.js +262 -9
  19. package/dist-es/runtimeConfig.browser.js +2 -2
  20. package/dist-es/runtimeConfig.js +2 -2
  21. package/dist-types/DatabaseMigrationService.d.ts +43 -0
  22. package/dist-types/DatabaseMigrationServiceClient.d.ts +8 -2
  23. package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateDataMigrationCommand.d.ts +146 -0
  25. package/dist-types/commands/CreateDataProviderCommand.d.ts +3 -0
  26. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +3 -0
  27. package/dist-types/commands/CreateMigrationProjectCommand.d.ts +3 -0
  28. package/dist-types/commands/DeleteDataMigrationCommand.d.ts +119 -0
  29. package/dist-types/commands/DeleteDataProviderCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteFleetAdvisorCollectorCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteFleetAdvisorDatabasesCommand.d.ts +4 -0
  32. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +3 -0
  33. package/dist-types/commands/DeleteMigrationProjectCommand.d.ts +3 -0
  34. package/dist-types/commands/DescribeDataMigrationsCommand.d.ts +133 -0
  35. package/dist-types/commands/DescribeDataProvidersCommand.d.ts +3 -0
  36. package/dist-types/commands/DescribeInstanceProfilesCommand.d.ts +3 -0
  37. package/dist-types/commands/DescribeMigrationProjectsCommand.d.ts +3 -0
  38. package/dist-types/commands/ExportMetadataModelAssessmentCommand.d.ts +1 -1
  39. package/dist-types/commands/ImportCertificateCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -1
  41. package/dist-types/commands/ModifyConversionConfigurationCommand.d.ts +1 -1
  42. package/dist-types/commands/ModifyDataMigrationCommand.d.ts +133 -0
  43. package/dist-types/commands/ModifyDataProviderCommand.d.ts +3 -0
  44. package/dist-types/commands/ModifyInstanceProfileCommand.d.ts +3 -0
  45. package/dist-types/commands/ModifyMigrationProjectCommand.d.ts +3 -0
  46. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -0
  47. package/dist-types/commands/StartDataMigrationCommand.d.ts +126 -0
  48. package/dist-types/commands/StopDataMigrationCommand.d.ts +119 -0
  49. package/dist-types/commands/index.d.ts +6 -0
  50. package/dist-types/models/models_0.d.ts +428 -244
  51. package/dist-types/models/models_1.d.ts +312 -1
  52. package/dist-types/pagination/DescribeDataMigrationsPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +2 -1
  54. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  55. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +103 -0
  56. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +36 -0
  57. package/dist-types/ts3.4/commands/CreateDataMigrationCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/DeleteDataMigrationCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/DescribeDataMigrationsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/ExportMetadataModelAssessmentCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ModifyConversionConfigurationCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ModifyDataMigrationCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/StartDataMigrationCommand.d.ts +51 -0
  66. package/dist-types/ts3.4/commands/StopDataMigrationCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +131 -89
  69. package/dist-types/ts3.4/models/models_1.d.ts +102 -0
  70. package/dist-types/ts3.4/pagination/DescribeDataMigrationsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  73. package/package.json +7 -7
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
- import { ImportCertificateMessage, ImportCertificateResponse } from "../models/models_0";
4
+ import { ImportCertificateMessage, ImportCertificateResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
- import { ListTagsForResourceMessage, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ListTagsForResourceMessage, ListTagsForResourceResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -64,6 +64,9 @@ declare const ListTagsForResourceCommand_base: {
64
64
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
65
65
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
66
66
  *
67
+ * @throws {@link InvalidResourceStateFault} (client fault)
68
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
69
+ *
67
70
  * @throws {@link ResourceNotFoundFault} (client fault)
68
71
  * <p>The resource could not be found.</p>
69
72
  *
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
- import { ModifyConversionConfigurationMessage, ModifyConversionConfigurationResponse } from "../models/models_0";
4
+ import { ModifyConversionConfigurationMessage, ModifyConversionConfigurationResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,133 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
+ import { ModifyDataMigrationMessage, ModifyDataMigrationResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyDataMigrationCommand}.
14
+ */
15
+ export interface ModifyDataMigrationCommandInput extends ModifyDataMigrationMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyDataMigrationCommand}.
21
+ */
22
+ export interface ModifyDataMigrationCommandOutput extends ModifyDataMigrationResponse, __MetadataBearer {
23
+ }
24
+ declare const ModifyDataMigrationCommand_base: {
25
+ new (input: ModifyDataMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyDataMigrationCommandInput, ModifyDataMigrationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyDataMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyDataMigrationCommandInput, ModifyDataMigrationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies an existing DMS data migration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DatabaseMigrationServiceClient, ModifyDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
35
+ * // const { DatabaseMigrationServiceClient, ModifyDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
36
+ * const client = new DatabaseMigrationServiceClient(config);
37
+ * const input = { // ModifyDataMigrationMessage
38
+ * DataMigrationIdentifier: "STRING_VALUE", // required
39
+ * DataMigrationName: "STRING_VALUE",
40
+ * EnableCloudwatchLogs: true || false,
41
+ * ServiceAccessRoleArn: "STRING_VALUE",
42
+ * DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
43
+ * SourceDataSettings: [ // SourceDataSettings
44
+ * { // SourceDataSetting
45
+ * CDCStartPosition: "STRING_VALUE",
46
+ * CDCStartTime: new Date("TIMESTAMP"),
47
+ * CDCStopTime: new Date("TIMESTAMP"),
48
+ * SlotName: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * NumberOfJobs: Number("int"),
52
+ * SelectionRules: "STRING_VALUE",
53
+ * };
54
+ * const command = new ModifyDataMigrationCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ModifyDataMigrationResponse
57
+ * // DataMigration: { // DataMigration
58
+ * // DataMigrationName: "STRING_VALUE",
59
+ * // DataMigrationArn: "STRING_VALUE",
60
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
61
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
62
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
63
+ * // ServiceAccessRoleArn: "STRING_VALUE",
64
+ * // MigrationProjectArn: "STRING_VALUE",
65
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
66
+ * // DataMigrationSettings: { // DataMigrationSettings
67
+ * // NumberOfJobs: Number("int"),
68
+ * // CloudwatchLogsEnabled: true || false,
69
+ * // SelectionRules: "STRING_VALUE",
70
+ * // },
71
+ * // SourceDataSettings: [ // SourceDataSettings
72
+ * // { // SourceDataSetting
73
+ * // CDCStartPosition: "STRING_VALUE",
74
+ * // CDCStartTime: new Date("TIMESTAMP"),
75
+ * // CDCStopTime: new Date("TIMESTAMP"),
76
+ * // SlotName: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // DataMigrationStatistics: { // DataMigrationStatistics
80
+ * // TablesLoaded: Number("int"),
81
+ * // ElapsedTimeMillis: Number("long"),
82
+ * // TablesLoading: Number("int"),
83
+ * // FullLoadPercentage: Number("int"),
84
+ * // CDCLatency: Number("int"),
85
+ * // TablesQueued: Number("int"),
86
+ * // TablesErrored: Number("int"),
87
+ * // StartTime: new Date("TIMESTAMP"),
88
+ * // StopTime: new Date("TIMESTAMP"),
89
+ * // },
90
+ * // DataMigrationStatus: "STRING_VALUE",
91
+ * // PublicIpAddresses: [ // PublicIpAddressList
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // LastFailureMessage: "STRING_VALUE",
95
+ * // StopReason: "STRING_VALUE",
96
+ * // },
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param ModifyDataMigrationCommandInput - {@link ModifyDataMigrationCommandInput}
102
+ * @returns {@link ModifyDataMigrationCommandOutput}
103
+ * @see {@link ModifyDataMigrationCommandInput} for command's `input` shape.
104
+ * @see {@link ModifyDataMigrationCommandOutput} for command's `response` shape.
105
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
106
+ *
107
+ * @throws {@link FailedDependencyFault} (client fault)
108
+ * <p>A dependency threw an exception.</p>
109
+ *
110
+ * @throws {@link InvalidResourceStateFault} (client fault)
111
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
112
+ *
113
+ * @throws {@link ResourceNotFoundFault} (client fault)
114
+ * <p>The resource could not be found.</p>
115
+ *
116
+ * @throws {@link DatabaseMigrationServiceServiceException}
117
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
118
+ *
119
+ * @public
120
+ */
121
+ export declare class ModifyDataMigrationCommand extends ModifyDataMigrationCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: ModifyDataMigrationMessage;
126
+ output: ModifyDataMigrationResponse;
127
+ };
128
+ sdk: {
129
+ input: ModifyDataMigrationCommandInput;
130
+ output: ModifyDataMigrationCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -192,6 +192,9 @@ declare const ModifyDataProviderCommand_base: {
192
192
  * <p>DMS was denied access to the endpoint. Check that the
193
193
  * role is correctly configured.</p>
194
194
  *
195
+ * @throws {@link FailedDependencyFault} (client fault)
196
+ * <p>A dependency threw an exception.</p>
197
+ *
195
198
  * @throws {@link InvalidResourceStateFault} (client fault)
196
199
  * <p>The resource is in a state that prevents it from being used for database migration.</p>
197
200
  *
@@ -82,6 +82,9 @@ declare const ModifyInstanceProfileCommand_base: {
82
82
  * <p>DMS was denied access to the endpoint. Check that the
83
83
  * role is correctly configured.</p>
84
84
  *
85
+ * @throws {@link FailedDependencyFault} (client fault)
86
+ * <p>A dependency threw an exception.</p>
87
+ *
85
88
  * @throws {@link InvalidResourceStateFault} (client fault)
86
89
  * <p>The resource is in a state that prevents it from being used for database migration.</p>
87
90
  *
@@ -108,6 +108,9 @@ declare const ModifyMigrationProjectCommand_base: {
108
108
  * <p>DMS was denied access to the endpoint. Check that the
109
109
  * role is correctly configured.</p>
110
110
  *
111
+ * @throws {@link FailedDependencyFault} (client fault)
112
+ * <p>A dependency threw an exception.</p>
113
+ *
111
114
  * @throws {@link InvalidResourceStateFault} (client fault)
112
115
  * <p>The resource is in a state that prevents it from being used for database migration.</p>
113
116
  *
@@ -57,6 +57,9 @@ declare const RemoveTagsFromResourceCommand_base: {
57
57
  * @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
58
58
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
59
59
  *
60
+ * @throws {@link InvalidResourceStateFault} (client fault)
61
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
62
+ *
60
63
  * @throws {@link ResourceNotFoundFault} (client fault)
61
64
  * <p>The resource could not be found.</p>
62
65
  *
@@ -0,0 +1,126 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
+ import { StartDataMigrationMessage, StartDataMigrationResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartDataMigrationCommand}.
14
+ */
15
+ export interface StartDataMigrationCommandInput extends StartDataMigrationMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartDataMigrationCommand}.
21
+ */
22
+ export interface StartDataMigrationCommandOutput extends StartDataMigrationResponse, __MetadataBearer {
23
+ }
24
+ declare const StartDataMigrationCommand_base: {
25
+ new (input: StartDataMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<StartDataMigrationCommandInput, StartDataMigrationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartDataMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<StartDataMigrationCommandInput, StartDataMigrationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts the specified data migration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DatabaseMigrationServiceClient, StartDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
35
+ * // const { DatabaseMigrationServiceClient, StartDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
36
+ * const client = new DatabaseMigrationServiceClient(config);
37
+ * const input = { // StartDataMigrationMessage
38
+ * DataMigrationIdentifier: "STRING_VALUE", // required
39
+ * StartType: "reload-target" || "resume-processing" || "start-replication", // required
40
+ * };
41
+ * const command = new StartDataMigrationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // StartDataMigrationResponse
44
+ * // DataMigration: { // DataMigration
45
+ * // DataMigrationName: "STRING_VALUE",
46
+ * // DataMigrationArn: "STRING_VALUE",
47
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
48
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
49
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
50
+ * // ServiceAccessRoleArn: "STRING_VALUE",
51
+ * // MigrationProjectArn: "STRING_VALUE",
52
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
53
+ * // DataMigrationSettings: { // DataMigrationSettings
54
+ * // NumberOfJobs: Number("int"),
55
+ * // CloudwatchLogsEnabled: true || false,
56
+ * // SelectionRules: "STRING_VALUE",
57
+ * // },
58
+ * // SourceDataSettings: [ // SourceDataSettings
59
+ * // { // SourceDataSetting
60
+ * // CDCStartPosition: "STRING_VALUE",
61
+ * // CDCStartTime: new Date("TIMESTAMP"),
62
+ * // CDCStopTime: new Date("TIMESTAMP"),
63
+ * // SlotName: "STRING_VALUE",
64
+ * // },
65
+ * // ],
66
+ * // DataMigrationStatistics: { // DataMigrationStatistics
67
+ * // TablesLoaded: Number("int"),
68
+ * // ElapsedTimeMillis: Number("long"),
69
+ * // TablesLoading: Number("int"),
70
+ * // FullLoadPercentage: Number("int"),
71
+ * // CDCLatency: Number("int"),
72
+ * // TablesQueued: Number("int"),
73
+ * // TablesErrored: Number("int"),
74
+ * // StartTime: new Date("TIMESTAMP"),
75
+ * // StopTime: new Date("TIMESTAMP"),
76
+ * // },
77
+ * // DataMigrationStatus: "STRING_VALUE",
78
+ * // PublicIpAddresses: [ // PublicIpAddressList
79
+ * // "STRING_VALUE",
80
+ * // ],
81
+ * // LastFailureMessage: "STRING_VALUE",
82
+ * // StopReason: "STRING_VALUE",
83
+ * // },
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param StartDataMigrationCommandInput - {@link StartDataMigrationCommandInput}
89
+ * @returns {@link StartDataMigrationCommandOutput}
90
+ * @see {@link StartDataMigrationCommandInput} for command's `input` shape.
91
+ * @see {@link StartDataMigrationCommandOutput} for command's `response` shape.
92
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
93
+ *
94
+ * @throws {@link FailedDependencyFault} (client fault)
95
+ * <p>A dependency threw an exception.</p>
96
+ *
97
+ * @throws {@link InvalidOperationFault} (client fault)
98
+ * <p>The action or operation requested isn't valid.</p>
99
+ *
100
+ * @throws {@link InvalidResourceStateFault} (client fault)
101
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundFault} (client fault)
104
+ * <p>The resource could not be found.</p>
105
+ *
106
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
107
+ * <p>The quota for this resource quota has been exceeded.</p>
108
+ *
109
+ * @throws {@link DatabaseMigrationServiceServiceException}
110
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
111
+ *
112
+ * @public
113
+ */
114
+ export declare class StartDataMigrationCommand extends StartDataMigrationCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: StartDataMigrationMessage;
119
+ output: StartDataMigrationResponse;
120
+ };
121
+ sdk: {
122
+ input: StartDataMigrationCommandInput;
123
+ output: StartDataMigrationCommandOutput;
124
+ };
125
+ };
126
+ }
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
4
+ import { StopDataMigrationMessage, StopDataMigrationResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopDataMigrationCommand}.
14
+ */
15
+ export interface StopDataMigrationCommandInput extends StopDataMigrationMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopDataMigrationCommand}.
21
+ */
22
+ export interface StopDataMigrationCommandOutput extends StopDataMigrationResponse, __MetadataBearer {
23
+ }
24
+ declare const StopDataMigrationCommand_base: {
25
+ new (input: StopDataMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<StopDataMigrationCommandInput, StopDataMigrationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StopDataMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<StopDataMigrationCommandInput, StopDataMigrationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops the specified data migration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DatabaseMigrationServiceClient, StopDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
35
+ * // const { DatabaseMigrationServiceClient, StopDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
36
+ * const client = new DatabaseMigrationServiceClient(config);
37
+ * const input = { // StopDataMigrationMessage
38
+ * DataMigrationIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new StopDataMigrationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // StopDataMigrationResponse
43
+ * // DataMigration: { // DataMigration
44
+ * // DataMigrationName: "STRING_VALUE",
45
+ * // DataMigrationArn: "STRING_VALUE",
46
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
47
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
48
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
49
+ * // ServiceAccessRoleArn: "STRING_VALUE",
50
+ * // MigrationProjectArn: "STRING_VALUE",
51
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
52
+ * // DataMigrationSettings: { // DataMigrationSettings
53
+ * // NumberOfJobs: Number("int"),
54
+ * // CloudwatchLogsEnabled: true || false,
55
+ * // SelectionRules: "STRING_VALUE",
56
+ * // },
57
+ * // SourceDataSettings: [ // SourceDataSettings
58
+ * // { // SourceDataSetting
59
+ * // CDCStartPosition: "STRING_VALUE",
60
+ * // CDCStartTime: new Date("TIMESTAMP"),
61
+ * // CDCStopTime: new Date("TIMESTAMP"),
62
+ * // SlotName: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // DataMigrationStatistics: { // DataMigrationStatistics
66
+ * // TablesLoaded: Number("int"),
67
+ * // ElapsedTimeMillis: Number("long"),
68
+ * // TablesLoading: Number("int"),
69
+ * // FullLoadPercentage: Number("int"),
70
+ * // CDCLatency: Number("int"),
71
+ * // TablesQueued: Number("int"),
72
+ * // TablesErrored: Number("int"),
73
+ * // StartTime: new Date("TIMESTAMP"),
74
+ * // StopTime: new Date("TIMESTAMP"),
75
+ * // },
76
+ * // DataMigrationStatus: "STRING_VALUE",
77
+ * // PublicIpAddresses: [ // PublicIpAddressList
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // LastFailureMessage: "STRING_VALUE",
81
+ * // StopReason: "STRING_VALUE",
82
+ * // },
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param StopDataMigrationCommandInput - {@link StopDataMigrationCommandInput}
88
+ * @returns {@link StopDataMigrationCommandOutput}
89
+ * @see {@link StopDataMigrationCommandInput} for command's `input` shape.
90
+ * @see {@link StopDataMigrationCommandOutput} for command's `response` shape.
91
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
92
+ *
93
+ * @throws {@link FailedDependencyFault} (client fault)
94
+ * <p>A dependency threw an exception.</p>
95
+ *
96
+ * @throws {@link InvalidResourceStateFault} (client fault)
97
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
98
+ *
99
+ * @throws {@link ResourceNotFoundFault} (client fault)
100
+ * <p>The resource could not be found.</p>
101
+ *
102
+ * @throws {@link DatabaseMigrationServiceServiceException}
103
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
104
+ *
105
+ * @public
106
+ */
107
+ export declare class StopDataMigrationCommand extends StopDataMigrationCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: StopDataMigrationMessage;
112
+ output: StopDataMigrationResponse;
113
+ };
114
+ sdk: {
115
+ input: StopDataMigrationCommandInput;
116
+ output: StopDataMigrationCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -2,6 +2,7 @@ export * from "./AddTagsToResourceCommand";
2
2
  export * from "./ApplyPendingMaintenanceActionCommand";
3
3
  export * from "./BatchStartRecommendationsCommand";
4
4
  export * from "./CancelReplicationTaskAssessmentRunCommand";
5
+ export * from "./CreateDataMigrationCommand";
5
6
  export * from "./CreateDataProviderCommand";
6
7
  export * from "./CreateEndpointCommand";
7
8
  export * from "./CreateEventSubscriptionCommand";
@@ -14,6 +15,7 @@ export * from "./CreateReplicationSubnetGroupCommand";
14
15
  export * from "./CreateReplicationTaskCommand";
15
16
  export * from "./DeleteCertificateCommand";
16
17
  export * from "./DeleteConnectionCommand";
18
+ export * from "./DeleteDataMigrationCommand";
17
19
  export * from "./DeleteDataProviderCommand";
18
20
  export * from "./DeleteEndpointCommand";
19
21
  export * from "./DeleteEventSubscriptionCommand";
@@ -31,6 +33,7 @@ export * from "./DescribeApplicableIndividualAssessmentsCommand";
31
33
  export * from "./DescribeCertificatesCommand";
32
34
  export * from "./DescribeConnectionsCommand";
33
35
  export * from "./DescribeConversionConfigurationCommand";
36
+ export * from "./DescribeDataMigrationsCommand";
34
37
  export * from "./DescribeDataProvidersCommand";
35
38
  export * from "./DescribeEndpointSettingsCommand";
36
39
  export * from "./DescribeEndpointTypesCommand";
@@ -73,6 +76,7 @@ export * from "./ExportMetadataModelAssessmentCommand";
73
76
  export * from "./ImportCertificateCommand";
74
77
  export * from "./ListTagsForResourceCommand";
75
78
  export * from "./ModifyConversionConfigurationCommand";
79
+ export * from "./ModifyDataMigrationCommand";
76
80
  export * from "./ModifyDataProviderCommand";
77
81
  export * from "./ModifyEndpointCommand";
78
82
  export * from "./ModifyEventSubscriptionCommand";
@@ -89,6 +93,7 @@ export * from "./ReloadReplicationTablesCommand";
89
93
  export * from "./ReloadTablesCommand";
90
94
  export * from "./RemoveTagsFromResourceCommand";
91
95
  export * from "./RunFleetAdvisorLsaAnalysisCommand";
96
+ export * from "./StartDataMigrationCommand";
92
97
  export * from "./StartExtensionPackAssociationCommand";
93
98
  export * from "./StartMetadataModelAssessmentCommand";
94
99
  export * from "./StartMetadataModelConversionCommand";
@@ -100,6 +105,7 @@ export * from "./StartReplicationCommand";
100
105
  export * from "./StartReplicationTaskAssessmentCommand";
101
106
  export * from "./StartReplicationTaskAssessmentRunCommand";
102
107
  export * from "./StartReplicationTaskCommand";
108
+ export * from "./StopDataMigrationCommand";
103
109
  export * from "./StopReplicationCommand";
104
110
  export * from "./StopReplicationTaskCommand";
105
111
  export * from "./TestConnectionCommand";