@aws-sdk/client-database-migration-service 3.774.0 → 3.777.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/DatabaseMigrationServiceClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +10 -7
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +1 -0
- package/dist-types/commands/BatchStartRecommendationsCommand.d.ts +1 -0
- package/dist-types/commands/CancelReplicationTaskAssessmentRunCommand.d.ts +1 -0
- package/dist-types/commands/CreateDataMigrationCommand.d.ts +1 -0
- package/dist-types/commands/CreateDataProviderCommand.d.ts +26 -26
- package/dist-types/commands/CreateEndpointCommand.d.ts +28 -28
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/CreateFleetAdvisorCollectorCommand.d.ts +1 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +21 -21
- package/dist-types/commands/CreateMigrationProjectCommand.d.ts +40 -40
- package/dist-types/commands/CreateReplicationConfigCommand.d.ts +1 -0
- package/dist-types/commands/CreateReplicationInstanceCommand.d.ts +52 -52
- package/dist-types/commands/CreateReplicationSubnetGroupCommand.d.ts +10 -10
- package/dist-types/commands/CreateReplicationTaskCommand.d.ts +25 -25
- package/dist-types/commands/DeleteCertificateCommand.d.ts +5 -5
- package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -6
- package/dist-types/commands/DeleteDataMigrationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDataProviderCommand.d.ts +15 -15
- package/dist-types/commands/DeleteEndpointCommand.d.ts +15 -15
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFleetAdvisorCollectorCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFleetAdvisorDatabasesCommand.d.ts +1 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +13 -13
- package/dist-types/commands/DeleteMigrationProjectCommand.d.ts +23 -23
- package/dist-types/commands/DeleteReplicationConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteReplicationInstanceCommand.d.ts +40 -40
- package/dist-types/commands/DeleteReplicationSubnetGroupCommand.d.ts +7 -4
- package/dist-types/commands/DeleteReplicationTaskAssessmentRunCommand.d.ts +1 -0
- package/dist-types/commands/DeleteReplicationTaskCommand.d.ts +15 -15
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +14 -14
- package/dist-types/commands/DescribeApplicableIndividualAssessmentsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +10 -10
- package/dist-types/commands/DescribeConnectionsCommand.d.ts +15 -15
- package/dist-types/commands/DescribeConversionConfigurationCommand.d.ts +6 -6
- package/dist-types/commands/DescribeDataMigrationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDataProvidersCommand.d.ts +20 -20
- package/dist-types/commands/DescribeEndpointSettingsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEndpointTypesCommand.d.ts +10 -10
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeExtensionPackAssociationsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeFleetAdvisorCollectorsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetAdvisorDatabasesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetAdvisorLsaAnalysisCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetAdvisorSchemasCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceProfilesCommand.d.ts +17 -17
- package/dist-types/commands/DescribeMetadataModelAssessmentsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeMetadataModelConversionsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +14 -14
- package/dist-types/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +14 -14
- package/dist-types/commands/DescribeMetadataModelImportsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeMigrationProjectsCommand.d.ts +28 -28
- package/dist-types/commands/DescribeOrderableReplicationInstancesCommand.d.ts +7 -7
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRecommendationLimitationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRecommendationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRefreshSchemasStatusCommand.d.ts +5 -5
- package/dist-types/commands/DescribeReplicationConfigsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationInstanceTaskLogsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationInstancesCommand.d.ts +10 -10
- package/dist-types/commands/DescribeReplicationSubnetGroupsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeReplicationTableStatisticsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationTaskAssessmentRunsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationTaskIndividualAssessmentsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationTasksCommand.d.ts +10 -10
- package/dist-types/commands/DescribeReplicationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSchemasCommand.d.ts +8 -8
- package/dist-types/commands/DescribeTableStatisticsCommand.d.ts +9 -9
- package/dist-types/commands/ExportMetadataModelAssessmentCommand.d.ts +13 -13
- package/dist-types/commands/ImportCertificateCommand.d.ts +6 -6
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -5
- package/dist-types/commands/ModifyConversionConfigurationCommand.d.ts +6 -6
- package/dist-types/commands/ModifyDataMigrationCommand.d.ts +1 -0
- package/dist-types/commands/ModifyDataProviderCommand.d.ts +24 -24
- package/dist-types/commands/ModifyEndpointCommand.d.ts +16 -16
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/ModifyInstanceProfileCommand.d.ts +21 -21
- package/dist-types/commands/ModifyMigrationProjectCommand.d.ts +37 -37
- package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +1 -0
- package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +48 -48
- package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +7 -7
- package/dist-types/commands/ModifyReplicationTaskCommand.d.ts +1 -0
- package/dist-types/commands/MoveReplicationTaskCommand.d.ts +1 -0
- package/dist-types/commands/RebootReplicationInstanceCommand.d.ts +1 -0
- package/dist-types/commands/RefreshSchemasCommand.d.ts +6 -6
- package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +1 -0
- package/dist-types/commands/ReloadTablesCommand.d.ts +1 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +8 -5
- package/dist-types/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -0
- package/dist-types/commands/StartDataMigrationCommand.d.ts +1 -0
- package/dist-types/commands/StartExtensionPackAssociationCommand.d.ts +5 -5
- package/dist-types/commands/StartMetadataModelAssessmentCommand.d.ts +7 -7
- package/dist-types/commands/StartMetadataModelConversionCommand.d.ts +6 -6
- package/dist-types/commands/StartMetadataModelExportAsScriptCommand.d.ts +8 -8
- package/dist-types/commands/StartMetadataModelExportToTargetCommand.d.ts +7 -7
- package/dist-types/commands/StartMetadataModelImportCommand.d.ts +8 -8
- package/dist-types/commands/StartRecommendationsCommand.d.ts +1 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -0
- package/dist-types/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -0
- package/dist-types/commands/StartReplicationTaskCommand.d.ts +17 -17
- package/dist-types/commands/StopDataMigrationCommand.d.ts +1 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopReplicationTaskCommand.d.ts +15 -15
- package/dist-types/commands/TestConnectionCommand.d.ts +6 -6
- package/dist-types/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -0
- package/package.json +34 -34
|
@@ -40,8 +40,6 @@ const defaultDatabaseMigrationServiceHttpAuthSchemeProvider = (authParameters) =
|
|
|
40
40
|
exports.defaultDatabaseMigrationServiceHttpAuthSchemeProvider = defaultDatabaseMigrationServiceHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -312,12 +312,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
312
312
|
|
|
313
313
|
// src/endpoint/EndpointParameters.ts
|
|
314
314
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
315
|
-
return {
|
|
316
|
-
...options,
|
|
315
|
+
return Object.assign(options, {
|
|
317
316
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
318
317
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
319
318
|
defaultSigningName: "dms"
|
|
320
|
-
};
|
|
319
|
+
});
|
|
321
320
|
}, "resolveClientEndpointParameters");
|
|
322
321
|
var commonParams = {
|
|
323
322
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -374,22 +373,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
374
373
|
}, "resolveHttpAuthRuntimeConfig");
|
|
375
374
|
|
|
376
375
|
// src/runtimeExtensions.ts
|
|
377
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
378
376
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
379
|
-
const extensionConfiguration =
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
377
|
+
const extensionConfiguration = Object.assign(
|
|
378
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
379
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
380
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
381
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
382
|
+
);
|
|
385
383
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
386
|
-
return
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
384
|
+
return Object.assign(
|
|
385
|
+
runtimeConfig,
|
|
386
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
387
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
388
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
389
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
390
|
+
);
|
|
393
391
|
}, "resolveRuntimeExtensions");
|
|
394
392
|
|
|
395
393
|
// src/DatabaseMigrationServiceClient.ts
|
|
@@ -403,6 +401,8 @@ var DatabaseMigrationServiceClient = class extends import_smithy_client.Client {
|
|
|
403
401
|
config;
|
|
404
402
|
constructor(...[configuration]) {
|
|
405
403
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
404
|
+
super(_config_0);
|
|
405
|
+
this.initConfig = _config_0;
|
|
406
406
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
407
407
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
408
408
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -411,7 +411,6 @@ var DatabaseMigrationServiceClient = class extends import_smithy_client.Client {
|
|
|
411
411
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
412
412
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
413
413
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
414
|
-
super(_config_8);
|
|
415
414
|
this.config = _config_8;
|
|
416
415
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
417
416
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
@@ -17,6 +17,8 @@ export class DatabaseMigrationServiceClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class DatabaseMigrationServiceClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultDatabaseMigrationServiceHttpAuthSchemeProvider = (authParame
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "dms",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -71,24 +71,27 @@ declare const AddTagsToResourceCommand_base: {
|
|
|
71
71
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* @example Add tags to resource
|
|
76
76
|
* ```javascript
|
|
77
77
|
* // Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with AWS DMS resources, or used in a Condition statement in an IAM policy for AWS DMS.
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
80
|
-
*
|
|
79
|
+
* ResourceArn: "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
|
|
80
|
+
* Tags: [
|
|
81
81
|
* {
|
|
82
|
-
*
|
|
83
|
-
*
|
|
82
|
+
* Key: "Acount",
|
|
83
|
+
* Value: "1633456"
|
|
84
84
|
* }
|
|
85
85
|
* ]
|
|
86
86
|
* };
|
|
87
87
|
* const command = new AddTagsToResourceCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* empty *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class AddTagsToResourceCommand extends AddTagsToResourceCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,7 @@ declare const ApplyPendingMaintenanceActionCommand_base: {
|
|
|
72
72
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class ApplyPendingMaintenanceActionCommand extends ApplyPendingMaintenanceActionCommand_base {
|
|
@@ -83,6 +83,7 @@ declare const BatchStartRecommendationsCommand_base: {
|
|
|
83
83
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
85
85
|
*
|
|
86
|
+
*
|
|
86
87
|
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class BatchStartRecommendationsCommand extends BatchStartRecommendationsCommand_base {
|
|
@@ -92,6 +92,7 @@ declare const CancelReplicationTaskAssessmentRunCommand_base: {
|
|
|
92
92
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
94
94
|
*
|
|
95
|
+
*
|
|
95
96
|
* @public
|
|
96
97
|
*/
|
|
97
98
|
export declare class CancelReplicationTaskAssessmentRunCommand extends CancelReplicationTaskAssessmentRunCommand_base {
|
|
@@ -142,6 +142,7 @@ declare const CreateDataMigrationCommand_base: {
|
|
|
142
142
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
143
143
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
144
144
|
*
|
|
145
|
+
*
|
|
145
146
|
* @public
|
|
146
147
|
*/
|
|
147
148
|
export declare class CreateDataMigrationCommand extends CreateDataMigrationCommand_base {
|
|
@@ -235,52 +235,52 @@ declare const CreateDataProviderCommand_base: {
|
|
|
235
235
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
236
236
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
237
237
|
*
|
|
238
|
-
*
|
|
238
|
+
*
|
|
239
239
|
* @example Create Data Provider
|
|
240
240
|
* ```javascript
|
|
241
241
|
* // Creates the data provider with the specified parameters.
|
|
242
242
|
* const input = {
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
243
|
+
* DataProviderName: "sqlServer-dev",
|
|
244
|
+
* Description: "description",
|
|
245
|
+
* Engine: "sqlserver",
|
|
246
|
+
* Settings: {
|
|
247
|
+
* MicrosoftSqlServerSettings: {
|
|
248
|
+
* DatabaseName: "DatabaseName",
|
|
249
|
+
* Port: 11112,
|
|
250
|
+
* ServerName: "ServerName2",
|
|
251
|
+
* SslMode: "none"
|
|
252
252
|
* }
|
|
253
253
|
* },
|
|
254
|
-
*
|
|
254
|
+
* Tags: [
|
|
255
255
|
* {
|
|
256
|
-
*
|
|
257
|
-
*
|
|
256
|
+
* Key: "access",
|
|
257
|
+
* Value: "authorizedusers"
|
|
258
258
|
* }
|
|
259
259
|
* ]
|
|
260
260
|
* };
|
|
261
261
|
* const command = new CreateDataProviderCommand(input);
|
|
262
262
|
* const response = await client.send(command);
|
|
263
|
-
* /* response
|
|
263
|
+
* /* response is
|
|
264
264
|
* {
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
*
|
|
265
|
+
* DataProvider: {
|
|
266
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-dataprovider",
|
|
267
|
+
* DataProviderCreationTime: "2023-05-12T10:50:41.988561Z",
|
|
268
|
+
* DataProviderName: "my-target-dataprovider",
|
|
269
|
+
* Engine: "postgres",
|
|
270
|
+
* Settings: {
|
|
271
|
+
* PostgreSqlSettings: {
|
|
272
|
+
* DatabaseName: "target",
|
|
273
|
+
* Port: 5432,
|
|
274
|
+
* ServerName: "postrgesql.a1b2c3d4e5f6.us-east-1.rds.amazonaws.com",
|
|
275
|
+
* SslMode: "none"
|
|
276
276
|
* }
|
|
277
277
|
* }
|
|
278
278
|
* }
|
|
279
279
|
* }
|
|
280
280
|
* *\/
|
|
281
|
-
* // example id: create-data-provider-1689726511871
|
|
282
281
|
* ```
|
|
283
282
|
*
|
|
283
|
+
* @public
|
|
284
284
|
*/
|
|
285
285
|
export declare class CreateDataProviderCommand extends CreateDataProviderCommand_base {
|
|
286
286
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -797,50 +797,50 @@ declare const CreateEndpointCommand_base: {
|
|
|
797
797
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
798
798
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
799
799
|
*
|
|
800
|
-
*
|
|
800
|
+
*
|
|
801
801
|
* @example Create endpoint
|
|
802
802
|
* ```javascript
|
|
803
803
|
* // Creates an endpoint using the provided settings.
|
|
804
804
|
* const input = {
|
|
805
|
-
*
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
815
|
-
*
|
|
816
|
-
*
|
|
805
|
+
* CertificateArn: "",
|
|
806
|
+
* DatabaseName: "testdb",
|
|
807
|
+
* EndpointIdentifier: "test-endpoint-1",
|
|
808
|
+
* EndpointType: "source",
|
|
809
|
+
* EngineName: "mysql",
|
|
810
|
+
* ExtraConnectionAttributes: "",
|
|
811
|
+
* KmsKeyId: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
|
812
|
+
* Password: "pasword",
|
|
813
|
+
* Port: 3306,
|
|
814
|
+
* ServerName: "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
|
|
815
|
+
* SslMode: "require",
|
|
816
|
+
* Tags: [
|
|
817
817
|
* {
|
|
818
|
-
*
|
|
819
|
-
*
|
|
818
|
+
* Key: "Acount",
|
|
819
|
+
* Value: "143327655"
|
|
820
820
|
* }
|
|
821
821
|
* ],
|
|
822
|
-
*
|
|
822
|
+
* Username: "username"
|
|
823
823
|
* };
|
|
824
824
|
* const command = new CreateEndpointCommand(input);
|
|
825
825
|
* const response = await client.send(command);
|
|
826
|
-
* /* response
|
|
826
|
+
* /* response is
|
|
827
827
|
* {
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
*
|
|
832
|
-
*
|
|
833
|
-
*
|
|
834
|
-
*
|
|
835
|
-
*
|
|
836
|
-
*
|
|
837
|
-
*
|
|
828
|
+
* Endpoint: {
|
|
829
|
+
* EndpointArn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
|
|
830
|
+
* EndpointIdentifier: "test-endpoint-1",
|
|
831
|
+
* EndpointType: "source",
|
|
832
|
+
* EngineName: "mysql",
|
|
833
|
+
* KmsKeyId: "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
|
|
834
|
+
* Port: 3306,
|
|
835
|
+
* ServerName: "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
|
|
836
|
+
* Status: "active",
|
|
837
|
+
* Username: "username"
|
|
838
838
|
* }
|
|
839
839
|
* }
|
|
840
840
|
* *\/
|
|
841
|
-
* // example id: create-endpoint-1481746254348
|
|
842
841
|
* ```
|
|
843
842
|
*
|
|
843
|
+
* @public
|
|
844
844
|
*/
|
|
845
845
|
export declare class CreateEndpointCommand extends CreateEndpointCommand_base {
|
|
846
846
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -128,6 +128,7 @@ declare const CreateEventSubscriptionCommand_base: {
|
|
|
128
128
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
130
130
|
*
|
|
131
|
+
*
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class CreateEventSubscriptionCommand extends CreateEventSubscriptionCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const CreateFleetAdvisorCollectorCommand_base: {
|
|
|
78
78
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class CreateFleetAdvisorCollectorCommand extends CreateFleetAdvisorCollectorCommand_base {
|
|
@@ -112,45 +112,45 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
112
112
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
114
114
|
*
|
|
115
|
-
*
|
|
115
|
+
*
|
|
116
116
|
* @example Create Instance Profile
|
|
117
117
|
* ```javascript
|
|
118
118
|
* // Creates the instance profile using the specified parameters.
|
|
119
119
|
* const input = {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
120
|
+
* Description: "Description",
|
|
121
|
+
* InstanceProfileName: "my-instance-profile",
|
|
122
|
+
* KmsKeyArn: "arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef",
|
|
123
|
+
* NetworkType: "DUAL",
|
|
124
|
+
* PubliclyAccessible: true,
|
|
125
|
+
* SubnetGroupIdentifier: "my-subnet-group",
|
|
126
|
+
* Tags: [
|
|
127
127
|
* {
|
|
128
|
-
*
|
|
129
|
-
*
|
|
128
|
+
* Key: "access",
|
|
129
|
+
* Value: "authorizedusers"
|
|
130
130
|
* }
|
|
131
131
|
* ]
|
|
132
132
|
* };
|
|
133
133
|
* const command = new CreateInstanceProfileCommand(input);
|
|
134
134
|
* const response = await client.send(command);
|
|
135
|
-
* /* response
|
|
135
|
+
* /* response is
|
|
136
136
|
* {
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
137
|
+
* InstanceProfile: {
|
|
138
|
+
* InstanceProfileArn: "arn:aws:dms:us-east-1:012345678901:instance-profile:my-instance-profile",
|
|
139
|
+
* InstanceProfileCreationTime: "2022-12-16T09:44:43.543246Z",
|
|
140
|
+
* InstanceProfileName: "my-instance-profile",
|
|
141
|
+
* KmsKeyArn: "arn:aws:kms:us-east-1:012345678901:key/01234567-89ab-cdef-0123-456789abcdef",
|
|
142
|
+
* PubliclyAccessible: true,
|
|
143
|
+
* SubnetGroupIdentifier: "public-subnets",
|
|
144
|
+
* VpcIdentifier: "vpc-0a1b2c3d4e5f6g7h8",
|
|
145
|
+
* VpcSecurityGroups: [
|
|
146
146
|
* "sg-0123456"
|
|
147
147
|
* ]
|
|
148
148
|
* }
|
|
149
149
|
* }
|
|
150
150
|
* *\/
|
|
151
|
-
* // example id: create-instance-profile-1689716070633
|
|
152
151
|
* ```
|
|
153
152
|
*
|
|
153
|
+
* @public
|
|
154
154
|
*/
|
|
155
155
|
export declare class CreateInstanceProfileCommand extends CreateInstanceProfileCommand_base {
|
|
156
156
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -135,76 +135,76 @@ declare const CreateMigrationProjectCommand_base: {
|
|
|
135
135
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
136
136
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
137
137
|
*
|
|
138
|
-
*
|
|
138
|
+
*
|
|
139
139
|
* @example Create Migration Project
|
|
140
140
|
* ```javascript
|
|
141
141
|
* // Creates the migration project with the specified parameters.
|
|
142
142
|
* const input = {
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
143
|
+
* Description: "description",
|
|
144
|
+
* InstanceProfileIdentifier: "ip-au-17",
|
|
145
|
+
* MigrationProjectName: "my-migration-project",
|
|
146
|
+
* SchemaConversionApplicationAttributes: {
|
|
147
|
+
* S3BucketPath: "arn:aws:s3:::mylogin-bucket",
|
|
148
|
+
* S3BucketRoleArn: "arn:aws:iam::012345678901:role/Admin"
|
|
149
149
|
* },
|
|
150
|
-
*
|
|
150
|
+
* SourceDataProviderDescriptors: [
|
|
151
151
|
* {
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
152
|
+
* DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
|
153
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
|
154
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/ALL.SOURCE.ORACLE_12-A1B2C3"
|
|
155
155
|
* }
|
|
156
156
|
* ],
|
|
157
|
-
*
|
|
157
|
+
* Tags: [
|
|
158
158
|
* {
|
|
159
|
-
*
|
|
160
|
-
*
|
|
159
|
+
* Key: "access",
|
|
160
|
+
* Value: "authorizedusers"
|
|
161
161
|
* }
|
|
162
162
|
* ],
|
|
163
|
-
*
|
|
163
|
+
* TargetDataProviderDescriptors: [
|
|
164
164
|
* {
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
165
|
+
* DataProviderIdentifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
|
166
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
|
167
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/TARGET.postgresql-A1B2C3"
|
|
168
168
|
* }
|
|
169
169
|
* ],
|
|
170
|
-
*
|
|
170
|
+
* TransformationRules: `{"key0":"value0","key1":"value1","key2":"value2"}`
|
|
171
171
|
* };
|
|
172
172
|
* const command = new CreateMigrationProjectCommand(input);
|
|
173
173
|
* const response = await client.send(command);
|
|
174
|
-
* /* response
|
|
174
|
+
* /* response is
|
|
175
175
|
* {
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
176
|
+
* MigrationProject: {
|
|
177
|
+
* InstanceProfileArn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
|
178
|
+
* InstanceProfileName: "my-instance-profile",
|
|
179
|
+
* MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
|
180
|
+
* MigrationProjectCreationTime: "2023-04-19T11:45:15.805253Z",
|
|
181
|
+
* MigrationProjectName: "my-migration-project",
|
|
182
|
+
* SchemaConversionApplicationAttributes: {
|
|
183
|
+
* S3BucketPath: "my-s3-bucket/my_folder",
|
|
184
|
+
* S3BucketRoleArn: "arn:aws:iam::012345678901:role/my-s3role"
|
|
185
185
|
* },
|
|
186
|
-
*
|
|
186
|
+
* SourceDataProviderDescriptors: [
|
|
187
187
|
* {
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
188
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
|
189
|
+
* DataProviderName: "source-oracle-12",
|
|
190
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/my-access-role",
|
|
191
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456"
|
|
192
192
|
* }
|
|
193
193
|
* ],
|
|
194
|
-
*
|
|
194
|
+
* TargetDataProviderDescriptors: [
|
|
195
195
|
* {
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
196
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
|
197
|
+
* DataProviderName: "target-dataprovider-3",
|
|
198
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::012345678901:role/dmytbon-admin-access",
|
|
199
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456"
|
|
200
200
|
* }
|
|
201
201
|
* ]
|
|
202
202
|
* }
|
|
203
203
|
* }
|
|
204
204
|
* *\/
|
|
205
|
-
* // example id: create-migration-project-1689716672685
|
|
206
205
|
* ```
|
|
207
206
|
*
|
|
207
|
+
* @public
|
|
208
208
|
*/
|
|
209
209
|
export declare class CreateMigrationProjectCommand extends CreateMigrationProjectCommand_base {
|
|
210
210
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -132,6 +132,7 @@ declare const CreateReplicationConfigCommand_base: {
|
|
|
132
132
|
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
133
133
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
134
134
|
*
|
|
135
|
+
*
|
|
135
136
|
* @public
|
|
136
137
|
*/
|
|
137
138
|
export declare class CreateReplicationConfigCommand extends CreateReplicationConfigCommand_base {
|