From f47726349d83ca49aa194a20d1fbde388c2d82e3 Mon Sep 17 00:00:00 2001
From: awstools
Date: Thu, 10 Oct 2024 18:17:37 +0000
Subject: [PATCH] feat(client-database-migration-service): Introduces
DescribeDataMigrations, CreateDataMigration, ModifyDataMigration,
DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK.
Provides FailedDependencyFault error message.
---
.../README.md | 48 +
.../src/DatabaseMigrationService.ts | 139 +++
.../src/DatabaseMigrationServiceClient.ts | 30 +
.../src/commands/AddTagsToResourceCommand.ts | 3 +
.../commands/CreateDataMigrationCommand.ts | 176 ++++
.../src/commands/CreateDataProviderCommand.ts | 3 +
.../commands/CreateInstanceProfileCommand.ts | 3 +
.../commands/CreateMigrationProjectCommand.ts | 3 +
.../commands/DeleteDataMigrationCommand.ts | 148 +++
.../src/commands/DeleteDataProviderCommand.ts | 3 +
.../DeleteFleetAdvisorCollectorCommand.ts | 4 +
.../DeleteFleetAdvisorDatabasesCommand.ts | 4 +
.../commands/DeleteInstanceProfileCommand.ts | 3 +
.../commands/DeleteMigrationProjectCommand.ts | 3 +
.../commands/DescribeDataMigrationsCommand.ts | 162 ++++
.../commands/DescribeDataProvidersCommand.ts | 3 +
.../DescribeInstanceProfilesCommand.ts | 3 +
.../DescribeMigrationProjectsCommand.ts | 3 +
.../ExportMetadataModelAssessmentCommand.ts | 2 +-
.../src/commands/ImportCertificateCommand.ts | 2 +-
.../commands/ListTagsForResourceCommand.ts | 5 +-
.../ModifyConversionConfigurationCommand.ts | 2 +-
.../commands/ModifyDataMigrationCommand.ts | 163 ++++
.../src/commands/ModifyDataProviderCommand.ts | 3 +
.../commands/ModifyInstanceProfileCommand.ts | 3 +
.../commands/ModifyMigrationProjectCommand.ts | 3 +
.../commands/RemoveTagsFromResourceCommand.ts | 3 +
.../src/commands/StartDataMigrationCommand.ts | 155 ++++
.../src/commands/StopDataMigrationCommand.ts | 148 +++
.../src/commands/index.ts | 6 +
.../src/models/models_0.ts | 854 +++++++++++-------
.../src/models/models_1.ts | 382 ++++++++
.../DescribeDataMigrationsPaginator.ts | 24 +
.../src/pagination/index.ts | 5 +-
.../src/protocols/Aws_json1_1.ts | 479 +++++++++-
.../database-migration-service.json | 831 ++++++++++++++++-
36 files changed, 3477 insertions(+), 334 deletions(-)
create mode 100644 clients/client-database-migration-service/src/commands/CreateDataMigrationCommand.ts
create mode 100644 clients/client-database-migration-service/src/commands/DeleteDataMigrationCommand.ts
create mode 100644 clients/client-database-migration-service/src/commands/DescribeDataMigrationsCommand.ts
create mode 100644 clients/client-database-migration-service/src/commands/ModifyDataMigrationCommand.ts
create mode 100644 clients/client-database-migration-service/src/commands/StartDataMigrationCommand.ts
create mode 100644 clients/client-database-migration-service/src/commands/StopDataMigrationCommand.ts
create mode 100644 clients/client-database-migration-service/src/pagination/DescribeDataMigrationsPaginator.ts
diff --git a/clients/client-database-migration-service/README.md b/clients/client-database-migration-service/README.md
index 02c2219881a0..9e09ad5de806 100644
--- a/clients/client-database-migration-service/README.md
+++ b/clients/client-database-migration-service/README.md
@@ -247,6 +247,14 @@ CancelReplicationTaskAssessmentRun
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/CancelReplicationTaskAssessmentRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/CancelReplicationTaskAssessmentRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/CancelReplicationTaskAssessmentRunCommandOutput/)
+
+
+
+CreateDataMigration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/CreateDataMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/CreateDataMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/CreateDataMigrationCommandOutput/)
+
@@ -343,6 +351,14 @@ DeleteConnection
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DeleteConnectionCommandOutput/)
+
+
+
+DeleteDataMigration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/DeleteDataMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DeleteDataMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DeleteDataMigrationCommandOutput/)
+
@@ -479,6 +495,14 @@ DescribeConversionConfiguration
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/DescribeConversionConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DescribeConversionConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DescribeConversionConfigurationCommandOutput/)
+
+
+
+DescribeDataMigrations
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/DescribeDataMigrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DescribeDataMigrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/DescribeDataMigrationsCommandOutput/)
+
@@ -815,6 +839,14 @@ ModifyConversionConfiguration
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/ModifyConversionConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/ModifyConversionConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/ModifyConversionConfigurationCommandOutput/)
+
+
+
+ModifyDataMigration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/ModifyDataMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/ModifyDataMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/ModifyDataMigrationCommandOutput/)
+
@@ -943,6 +975,14 @@ RunFleetAdvisorLsaAnalysis
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/RunFleetAdvisorLsaAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/RunFleetAdvisorLsaAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/RunFleetAdvisorLsaAnalysisCommandOutput/)
+
+
+
+StartDataMigration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/StartDataMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/StartDataMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/StartDataMigrationCommandOutput/)
+
@@ -1031,6 +1071,14 @@ StartReplicationTaskAssessmentRun
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/StartReplicationTaskAssessmentRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/StartReplicationTaskAssessmentRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/StartReplicationTaskAssessmentRunCommandOutput/)
+
+
+
+StopDataMigration
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/database-migration-service/command/StopDataMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/StopDataMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-database-migration-service/Interface/StopDataMigrationCommandOutput/)
+
diff --git a/clients/client-database-migration-service/src/DatabaseMigrationService.ts b/clients/client-database-migration-service/src/DatabaseMigrationService.ts
index fc014bf51664..6739d9d56e5e 100644
--- a/clients/client-database-migration-service/src/DatabaseMigrationService.ts
+++ b/clients/client-database-migration-service/src/DatabaseMigrationService.ts
@@ -22,6 +22,11 @@ import {
CancelReplicationTaskAssessmentRunCommandInput,
CancelReplicationTaskAssessmentRunCommandOutput,
} from "./commands/CancelReplicationTaskAssessmentRunCommand";
+import {
+ CreateDataMigrationCommand,
+ CreateDataMigrationCommandInput,
+ CreateDataMigrationCommandOutput,
+} from "./commands/CreateDataMigrationCommand";
import {
CreateDataProviderCommand,
CreateDataProviderCommandInput,
@@ -82,6 +87,11 @@ import {
DeleteConnectionCommandInput,
DeleteConnectionCommandOutput,
} from "./commands/DeleteConnectionCommand";
+import {
+ DeleteDataMigrationCommand,
+ DeleteDataMigrationCommandInput,
+ DeleteDataMigrationCommandOutput,
+} from "./commands/DeleteDataMigrationCommand";
import {
DeleteDataProviderCommand,
DeleteDataProviderCommandInput,
@@ -167,6 +177,11 @@ import {
DescribeConversionConfigurationCommandInput,
DescribeConversionConfigurationCommandOutput,
} from "./commands/DescribeConversionConfigurationCommand";
+import {
+ DescribeDataMigrationsCommand,
+ DescribeDataMigrationsCommandInput,
+ DescribeDataMigrationsCommandOutput,
+} from "./commands/DescribeDataMigrationsCommand";
import {
DescribeDataProvidersCommand,
DescribeDataProvidersCommandInput,
@@ -377,6 +392,11 @@ import {
ModifyConversionConfigurationCommandInput,
ModifyConversionConfigurationCommandOutput,
} from "./commands/ModifyConversionConfigurationCommand";
+import {
+ ModifyDataMigrationCommand,
+ ModifyDataMigrationCommandInput,
+ ModifyDataMigrationCommandOutput,
+} from "./commands/ModifyDataMigrationCommand";
import {
ModifyDataProviderCommand,
ModifyDataProviderCommandInput,
@@ -457,6 +477,11 @@ import {
RunFleetAdvisorLsaAnalysisCommandInput,
RunFleetAdvisorLsaAnalysisCommandOutput,
} from "./commands/RunFleetAdvisorLsaAnalysisCommand";
+import {
+ StartDataMigrationCommand,
+ StartDataMigrationCommandInput,
+ StartDataMigrationCommandOutput,
+} from "./commands/StartDataMigrationCommand";
import {
StartExtensionPackAssociationCommand,
StartExtensionPackAssociationCommandInput,
@@ -512,6 +537,11 @@ import {
StartReplicationTaskCommandInput,
StartReplicationTaskCommandOutput,
} from "./commands/StartReplicationTaskCommand";
+import {
+ StopDataMigrationCommand,
+ StopDataMigrationCommandInput,
+ StopDataMigrationCommandOutput,
+} from "./commands/StopDataMigrationCommand";
import {
StopReplicationCommand,
StopReplicationCommandInput,
@@ -539,6 +569,7 @@ const commands = {
ApplyPendingMaintenanceActionCommand,
BatchStartRecommendationsCommand,
CancelReplicationTaskAssessmentRunCommand,
+ CreateDataMigrationCommand,
CreateDataProviderCommand,
CreateEndpointCommand,
CreateEventSubscriptionCommand,
@@ -551,6 +582,7 @@ const commands = {
CreateReplicationTaskCommand,
DeleteCertificateCommand,
DeleteConnectionCommand,
+ DeleteDataMigrationCommand,
DeleteDataProviderCommand,
DeleteEndpointCommand,
DeleteEventSubscriptionCommand,
@@ -568,6 +600,7 @@ const commands = {
DescribeCertificatesCommand,
DescribeConnectionsCommand,
DescribeConversionConfigurationCommand,
+ DescribeDataMigrationsCommand,
DescribeDataProvidersCommand,
DescribeEndpointsCommand,
DescribeEndpointSettingsCommand,
@@ -610,6 +643,7 @@ const commands = {
ImportCertificateCommand,
ListTagsForResourceCommand,
ModifyConversionConfigurationCommand,
+ ModifyDataMigrationCommand,
ModifyDataProviderCommand,
ModifyEndpointCommand,
ModifyEventSubscriptionCommand,
@@ -626,6 +660,7 @@ const commands = {
ReloadTablesCommand,
RemoveTagsFromResourceCommand,
RunFleetAdvisorLsaAnalysisCommand,
+ StartDataMigrationCommand,
StartExtensionPackAssociationCommand,
StartMetadataModelAssessmentCommand,
StartMetadataModelConversionCommand,
@@ -637,6 +672,7 @@ const commands = {
StartReplicationTaskCommand,
StartReplicationTaskAssessmentCommand,
StartReplicationTaskAssessmentRunCommand,
+ StopDataMigrationCommand,
StopReplicationCommand,
StopReplicationTaskCommand,
TestConnectionCommand,
@@ -713,6 +749,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: CancelReplicationTaskAssessmentRunCommandOutput) => void
): void;
+ /**
+ * @see {@link CreateDataMigrationCommand}
+ */
+ createDataMigration(
+ args: CreateDataMigrationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ createDataMigration(
+ args: CreateDataMigrationCommandInput,
+ cb: (err: any, data?: CreateDataMigrationCommandOutput) => void
+ ): void;
+ createDataMigration(
+ args: CreateDataMigrationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDataMigrationCommandOutput) => void
+ ): void;
+
/**
* @see {@link CreateDataProviderCommand}
*/
@@ -915,6 +968,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: DeleteConnectionCommandOutput) => void
): void;
+ /**
+ * @see {@link DeleteDataMigrationCommand}
+ */
+ deleteDataMigration(
+ args: DeleteDataMigrationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ deleteDataMigration(
+ args: DeleteDataMigrationCommandInput,
+ cb: (err: any, data?: DeleteDataMigrationCommandOutput) => void
+ ): void;
+ deleteDataMigration(
+ args: DeleteDataMigrationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteDataMigrationCommandOutput) => void
+ ): void;
+
/**
* @see {@link DeleteDataProviderCommand}
*/
@@ -1205,6 +1275,24 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: DescribeConversionConfigurationCommandOutput) => void
): void;
+ /**
+ * @see {@link DescribeDataMigrationsCommand}
+ */
+ describeDataMigrations(): Promise;
+ describeDataMigrations(
+ args: DescribeDataMigrationsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ describeDataMigrations(
+ args: DescribeDataMigrationsCommandInput,
+ cb: (err: any, data?: DescribeDataMigrationsCommandOutput) => void
+ ): void;
+ describeDataMigrations(
+ args: DescribeDataMigrationsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDataMigrationsCommandOutput) => void
+ ): void;
+
/**
* @see {@link DescribeDataProvidersCommand}
*/
@@ -1940,6 +2028,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: ModifyConversionConfigurationCommandOutput) => void
): void;
+ /**
+ * @see {@link ModifyDataMigrationCommand}
+ */
+ modifyDataMigration(
+ args: ModifyDataMigrationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ modifyDataMigration(
+ args: ModifyDataMigrationCommandInput,
+ cb: (err: any, data?: ModifyDataMigrationCommandOutput) => void
+ ): void;
+ modifyDataMigration(
+ args: ModifyDataMigrationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ModifyDataMigrationCommandOutput) => void
+ ): void;
+
/**
* @see {@link ModifyDataProviderCommand}
*/
@@ -2201,6 +2306,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: RunFleetAdvisorLsaAnalysisCommandOutput) => void
): void;
+ /**
+ * @see {@link StartDataMigrationCommand}
+ */
+ startDataMigration(
+ args: StartDataMigrationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ startDataMigration(
+ args: StartDataMigrationCommandInput,
+ cb: (err: any, data?: StartDataMigrationCommandOutput) => void
+ ): void;
+ startDataMigration(
+ args: StartDataMigrationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: StartDataMigrationCommandOutput) => void
+ ): void;
+
/**
* @see {@link StartExtensionPackAssociationCommand}
*/
@@ -2388,6 +2510,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: StartReplicationTaskAssessmentRunCommandOutput) => void
): void;
+ /**
+ * @see {@link StopDataMigrationCommand}
+ */
+ stopDataMigration(
+ args: StopDataMigrationCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ stopDataMigration(
+ args: StopDataMigrationCommandInput,
+ cb: (err: any, data?: StopDataMigrationCommandOutput) => void
+ ): void;
+ stopDataMigration(
+ args: StopDataMigrationCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: StopDataMigrationCommandOutput) => void
+ ): void;
+
/**
* @see {@link StopReplicationCommand}
*/
diff --git a/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts b/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts
index 37f6c91ff9d9..a99907de8213 100644
--- a/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts
+++ b/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts
@@ -66,6 +66,10 @@ import {
CancelReplicationTaskAssessmentRunCommandInput,
CancelReplicationTaskAssessmentRunCommandOutput,
} from "./commands/CancelReplicationTaskAssessmentRunCommand";
+import {
+ CreateDataMigrationCommandInput,
+ CreateDataMigrationCommandOutput,
+} from "./commands/CreateDataMigrationCommand";
import { CreateDataProviderCommandInput, CreateDataProviderCommandOutput } from "./commands/CreateDataProviderCommand";
import { CreateEndpointCommandInput, CreateEndpointCommandOutput } from "./commands/CreateEndpointCommand";
import {
@@ -102,6 +106,10 @@ import {
} from "./commands/CreateReplicationTaskCommand";
import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
+import {
+ DeleteDataMigrationCommandInput,
+ DeleteDataMigrationCommandOutput,
+} from "./commands/DeleteDataMigrationCommand";
import { DeleteDataProviderCommandInput, DeleteDataProviderCommandOutput } from "./commands/DeleteDataProviderCommand";
import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
import {
@@ -164,6 +172,10 @@ import {
DescribeConversionConfigurationCommandInput,
DescribeConversionConfigurationCommandOutput,
} from "./commands/DescribeConversionConfigurationCommand";
+import {
+ DescribeDataMigrationsCommandInput,
+ DescribeDataMigrationsCommandOutput,
+} from "./commands/DescribeDataMigrationsCommand";
import {
DescribeDataProvidersCommandInput,
DescribeDataProvidersCommandOutput,
@@ -320,6 +332,10 @@ import {
ModifyConversionConfigurationCommandInput,
ModifyConversionConfigurationCommandOutput,
} from "./commands/ModifyConversionConfigurationCommand";
+import {
+ ModifyDataMigrationCommandInput,
+ ModifyDataMigrationCommandOutput,
+} from "./commands/ModifyDataMigrationCommand";
import { ModifyDataProviderCommandInput, ModifyDataProviderCommandOutput } from "./commands/ModifyDataProviderCommand";
import { ModifyEndpointCommandInput, ModifyEndpointCommandOutput } from "./commands/ModifyEndpointCommand";
import {
@@ -372,6 +388,7 @@ import {
RunFleetAdvisorLsaAnalysisCommandInput,
RunFleetAdvisorLsaAnalysisCommandOutput,
} from "./commands/RunFleetAdvisorLsaAnalysisCommand";
+import { StartDataMigrationCommandInput, StartDataMigrationCommandOutput } from "./commands/StartDataMigrationCommand";
import {
StartExtensionPackAssociationCommandInput,
StartExtensionPackAssociationCommandOutput,
@@ -413,6 +430,7 @@ import {
StartReplicationTaskCommandInput,
StartReplicationTaskCommandOutput,
} from "./commands/StartReplicationTaskCommand";
+import { StopDataMigrationCommandInput, StopDataMigrationCommandOutput } from "./commands/StopDataMigrationCommand";
import { StopReplicationCommandInput, StopReplicationCommandOutput } from "./commands/StopReplicationCommand";
import {
StopReplicationTaskCommandInput,
@@ -442,6 +460,7 @@ export type ServiceInputTypes =
| ApplyPendingMaintenanceActionCommandInput
| BatchStartRecommendationsCommandInput
| CancelReplicationTaskAssessmentRunCommandInput
+ | CreateDataMigrationCommandInput
| CreateDataProviderCommandInput
| CreateEndpointCommandInput
| CreateEventSubscriptionCommandInput
@@ -454,6 +473,7 @@ export type ServiceInputTypes =
| CreateReplicationTaskCommandInput
| DeleteCertificateCommandInput
| DeleteConnectionCommandInput
+ | DeleteDataMigrationCommandInput
| DeleteDataProviderCommandInput
| DeleteEndpointCommandInput
| DeleteEventSubscriptionCommandInput
@@ -471,6 +491,7 @@ export type ServiceInputTypes =
| DescribeCertificatesCommandInput
| DescribeConnectionsCommandInput
| DescribeConversionConfigurationCommandInput
+ | DescribeDataMigrationsCommandInput
| DescribeDataProvidersCommandInput
| DescribeEndpointSettingsCommandInput
| DescribeEndpointTypesCommandInput
@@ -513,6 +534,7 @@ export type ServiceInputTypes =
| ImportCertificateCommandInput
| ListTagsForResourceCommandInput
| ModifyConversionConfigurationCommandInput
+ | ModifyDataMigrationCommandInput
| ModifyDataProviderCommandInput
| ModifyEndpointCommandInput
| ModifyEventSubscriptionCommandInput
@@ -529,6 +551,7 @@ export type ServiceInputTypes =
| ReloadTablesCommandInput
| RemoveTagsFromResourceCommandInput
| RunFleetAdvisorLsaAnalysisCommandInput
+ | StartDataMigrationCommandInput
| StartExtensionPackAssociationCommandInput
| StartMetadataModelAssessmentCommandInput
| StartMetadataModelConversionCommandInput
@@ -540,6 +563,7 @@ export type ServiceInputTypes =
| StartReplicationTaskAssessmentCommandInput
| StartReplicationTaskAssessmentRunCommandInput
| StartReplicationTaskCommandInput
+ | StopDataMigrationCommandInput
| StopReplicationCommandInput
| StopReplicationTaskCommandInput
| TestConnectionCommandInput
@@ -553,6 +577,7 @@ export type ServiceOutputTypes =
| ApplyPendingMaintenanceActionCommandOutput
| BatchStartRecommendationsCommandOutput
| CancelReplicationTaskAssessmentRunCommandOutput
+ | CreateDataMigrationCommandOutput
| CreateDataProviderCommandOutput
| CreateEndpointCommandOutput
| CreateEventSubscriptionCommandOutput
@@ -565,6 +590,7 @@ export type ServiceOutputTypes =
| CreateReplicationTaskCommandOutput
| DeleteCertificateCommandOutput
| DeleteConnectionCommandOutput
+ | DeleteDataMigrationCommandOutput
| DeleteDataProviderCommandOutput
| DeleteEndpointCommandOutput
| DeleteEventSubscriptionCommandOutput
@@ -582,6 +608,7 @@ export type ServiceOutputTypes =
| DescribeCertificatesCommandOutput
| DescribeConnectionsCommandOutput
| DescribeConversionConfigurationCommandOutput
+ | DescribeDataMigrationsCommandOutput
| DescribeDataProvidersCommandOutput
| DescribeEndpointSettingsCommandOutput
| DescribeEndpointTypesCommandOutput
@@ -624,6 +651,7 @@ export type ServiceOutputTypes =
| ImportCertificateCommandOutput
| ListTagsForResourceCommandOutput
| ModifyConversionConfigurationCommandOutput
+ | ModifyDataMigrationCommandOutput
| ModifyDataProviderCommandOutput
| ModifyEndpointCommandOutput
| ModifyEventSubscriptionCommandOutput
@@ -640,6 +668,7 @@ export type ServiceOutputTypes =
| ReloadTablesCommandOutput
| RemoveTagsFromResourceCommandOutput
| RunFleetAdvisorLsaAnalysisCommandOutput
+ | StartDataMigrationCommandOutput
| StartExtensionPackAssociationCommandOutput
| StartMetadataModelAssessmentCommandOutput
| StartMetadataModelConversionCommandOutput
@@ -651,6 +680,7 @@ export type ServiceOutputTypes =
| StartReplicationTaskAssessmentCommandOutput
| StartReplicationTaskAssessmentRunCommandOutput
| StartReplicationTaskCommandOutput
+ | StopDataMigrationCommandOutput
| StopReplicationCommandOutput
| StopReplicationTaskCommandOutput
| TestConnectionCommandOutput
diff --git a/clients/client-database-migration-service/src/commands/AddTagsToResourceCommand.ts b/clients/client-database-migration-service/src/commands/AddTagsToResourceCommand.ts
index 1ebe5ae297d6..410bd8362ac0 100644
--- a/clients/client-database-migration-service/src/commands/AddTagsToResourceCommand.ts
+++ b/clients/client-database-migration-service/src/commands/AddTagsToResourceCommand.ts
@@ -66,6 +66,9 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceRespons
* @see {@link AddTagsToResourceCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
* @throws {@link ResourceNotFoundFault} (client fault)
* The resource could not be found.
*
diff --git a/clients/client-database-migration-service/src/commands/CreateDataMigrationCommand.ts b/clients/client-database-migration-service/src/commands/CreateDataMigrationCommand.ts
new file mode 100644
index 000000000000..5213cd332701
--- /dev/null
+++ b/clients/client-database-migration-service/src/commands/CreateDataMigrationCommand.ts
@@ -0,0 +1,176 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../DatabaseMigrationServiceClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import {
+ CreateDataMigrationMessage,
+ CreateDataMigrationMessageFilterSensitiveLog,
+ CreateDataMigrationResponse,
+ CreateDataMigrationResponseFilterSensitiveLog,
+} from "../models/models_0";
+import { de_CreateDataMigrationCommand, se_CreateDataMigrationCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link CreateDataMigrationCommand}.
+ */
+export interface CreateDataMigrationCommandInput extends CreateDataMigrationMessage {}
+/**
+ * @public
+ *
+ * The output of {@link CreateDataMigrationCommand}.
+ */
+export interface CreateDataMigrationCommandOutput extends CreateDataMigrationResponse, __MetadataBearer {}
+
+/**
+ * Creates a data migration using the provided settings.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { DatabaseMigrationServiceClient, CreateDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
+ * // const { DatabaseMigrationServiceClient, CreateDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
+ * const client = new DatabaseMigrationServiceClient(config);
+ * const input = { // CreateDataMigrationMessage
+ * DataMigrationName: "STRING_VALUE",
+ * MigrationProjectIdentifier: "STRING_VALUE", // required
+ * DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc", // required
+ * ServiceAccessRoleArn: "STRING_VALUE", // required
+ * EnableCloudwatchLogs: true || false,
+ * SourceDataSettings: [ // SourceDataSettings
+ * { // SourceDataSetting
+ * CDCStartPosition: "STRING_VALUE",
+ * CDCStartTime: new Date("TIMESTAMP"),
+ * CDCStopTime: new Date("TIMESTAMP"),
+ * SlotName: "STRING_VALUE",
+ * },
+ * ],
+ * NumberOfJobs: Number("int"),
+ * Tags: [ // TagList
+ * { // Tag
+ * Key: "STRING_VALUE",
+ * Value: "STRING_VALUE",
+ * ResourceArn: "STRING_VALUE",
+ * },
+ * ],
+ * SelectionRules: "STRING_VALUE",
+ * };
+ * const command = new CreateDataMigrationCommand(input);
+ * const response = await client.send(command);
+ * // { // CreateDataMigrationResponse
+ * // DataMigration: { // DataMigration
+ * // DataMigrationName: "STRING_VALUE",
+ * // DataMigrationArn: "STRING_VALUE",
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
+ * // ServiceAccessRoleArn: "STRING_VALUE",
+ * // MigrationProjectArn: "STRING_VALUE",
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * // DataMigrationSettings: { // DataMigrationSettings
+ * // NumberOfJobs: Number("int"),
+ * // CloudwatchLogsEnabled: true || false,
+ * // SelectionRules: "STRING_VALUE",
+ * // },
+ * // SourceDataSettings: [ // SourceDataSettings
+ * // { // SourceDataSetting
+ * // CDCStartPosition: "STRING_VALUE",
+ * // CDCStartTime: new Date("TIMESTAMP"),
+ * // CDCStopTime: new Date("TIMESTAMP"),
+ * // SlotName: "STRING_VALUE",
+ * // },
+ * // ],
+ * // DataMigrationStatistics: { // DataMigrationStatistics
+ * // TablesLoaded: Number("int"),
+ * // ElapsedTimeMillis: Number("long"),
+ * // TablesLoading: Number("int"),
+ * // FullLoadPercentage: Number("int"),
+ * // CDCLatency: Number("int"),
+ * // TablesQueued: Number("int"),
+ * // TablesErrored: Number("int"),
+ * // StartTime: new Date("TIMESTAMP"),
+ * // StopTime: new Date("TIMESTAMP"),
+ * // },
+ * // DataMigrationStatus: "STRING_VALUE",
+ * // PublicIpAddresses: [ // PublicIpAddressList
+ * // "STRING_VALUE",
+ * // ],
+ * // LastFailureMessage: "STRING_VALUE",
+ * // StopReason: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param CreateDataMigrationCommandInput - {@link CreateDataMigrationCommandInput}
+ * @returns {@link CreateDataMigrationCommandOutput}
+ * @see {@link CreateDataMigrationCommandInput} for command's `input` shape.
+ * @see {@link CreateDataMigrationCommandOutput} for command's `response` shape.
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
+ *
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
+ * @throws {@link InvalidOperationFault} (client fault)
+ * The action or operation requested isn't valid.
+ *
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
+ * The resource you are attempting to create already exists.
+ *
+ * @throws {@link ResourceNotFoundFault} (client fault)
+ * The resource could not be found.
+ *
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
+ * The quota for this resource quota has been exceeded.
+ *
+ * @throws {@link DatabaseMigrationServiceServiceException}
+ * Base exception class for all service exceptions from DatabaseMigrationService service.
+ *
+ * @public
+ */
+export class CreateDataMigrationCommand extends $Command
+ .classBuilder<
+ CreateDataMigrationCommandInput,
+ CreateDataMigrationCommandOutput,
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: DatabaseMigrationServiceClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonDMSv20160101", "CreateDataMigration", {})
+ .n("DatabaseMigrationServiceClient", "CreateDataMigrationCommand")
+ .f(CreateDataMigrationMessageFilterSensitiveLog, CreateDataMigrationResponseFilterSensitiveLog)
+ .ser(se_CreateDataMigrationCommand)
+ .de(de_CreateDataMigrationCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: CreateDataMigrationMessage;
+ output: CreateDataMigrationResponse;
+ };
+ sdk: {
+ input: CreateDataMigrationCommandInput;
+ output: CreateDataMigrationCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-database-migration-service/src/commands/CreateDataProviderCommand.ts b/clients/client-database-migration-service/src/commands/CreateDataProviderCommand.ts
index 0d4ec0d61436..bb1075a6ef83 100644
--- a/clients/client-database-migration-service/src/commands/CreateDataProviderCommand.ts
+++ b/clients/client-database-migration-service/src/commands/CreateDataProviderCommand.ts
@@ -200,6 +200,9 @@ export interface CreateDataProviderCommandOutput extends CreateDataProviderRespo
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link ResourceAlreadyExistsFault} (client fault)
* The resource you are attempting to create already exists.
*
diff --git a/clients/client-database-migration-service/src/commands/CreateInstanceProfileCommand.ts b/clients/client-database-migration-service/src/commands/CreateInstanceProfileCommand.ts
index 37d0244a5f1b..3a00455ce24b 100644
--- a/clients/client-database-migration-service/src/commands/CreateInstanceProfileCommand.ts
+++ b/clients/client-database-migration-service/src/commands/CreateInstanceProfileCommand.ts
@@ -89,6 +89,9 @@ export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfil
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/CreateMigrationProjectCommand.ts b/clients/client-database-migration-service/src/commands/CreateMigrationProjectCommand.ts
index c1e6287667aa..358ba3435ec0 100644
--- a/clients/client-database-migration-service/src/commands/CreateMigrationProjectCommand.ts
+++ b/clients/client-database-migration-service/src/commands/CreateMigrationProjectCommand.ts
@@ -118,6 +118,9 @@ export interface CreateMigrationProjectCommandOutput extends CreateMigrationProj
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link ResourceAlreadyExistsFault} (client fault)
* The resource you are attempting to create already exists.
*
diff --git a/clients/client-database-migration-service/src/commands/DeleteDataMigrationCommand.ts b/clients/client-database-migration-service/src/commands/DeleteDataMigrationCommand.ts
new file mode 100644
index 000000000000..efe29585cd6a
--- /dev/null
+++ b/clients/client-database-migration-service/src/commands/DeleteDataMigrationCommand.ts
@@ -0,0 +1,148 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../DatabaseMigrationServiceClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import {
+ DeleteDataMigrationMessage,
+ DeleteDataMigrationResponse,
+ DeleteDataMigrationResponseFilterSensitiveLog,
+} from "../models/models_0";
+import { de_DeleteDataMigrationCommand, se_DeleteDataMigrationCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link DeleteDataMigrationCommand}.
+ */
+export interface DeleteDataMigrationCommandInput extends DeleteDataMigrationMessage {}
+/**
+ * @public
+ *
+ * The output of {@link DeleteDataMigrationCommand}.
+ */
+export interface DeleteDataMigrationCommandOutput extends DeleteDataMigrationResponse, __MetadataBearer {}
+
+/**
+ * Deletes the specified data migration.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { DatabaseMigrationServiceClient, DeleteDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
+ * // const { DatabaseMigrationServiceClient, DeleteDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
+ * const client = new DatabaseMigrationServiceClient(config);
+ * const input = { // DeleteDataMigrationMessage
+ * DataMigrationIdentifier: "STRING_VALUE", // required
+ * };
+ * const command = new DeleteDataMigrationCommand(input);
+ * const response = await client.send(command);
+ * // { // DeleteDataMigrationResponse
+ * // DataMigration: { // DataMigration
+ * // DataMigrationName: "STRING_VALUE",
+ * // DataMigrationArn: "STRING_VALUE",
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
+ * // ServiceAccessRoleArn: "STRING_VALUE",
+ * // MigrationProjectArn: "STRING_VALUE",
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * // DataMigrationSettings: { // DataMigrationSettings
+ * // NumberOfJobs: Number("int"),
+ * // CloudwatchLogsEnabled: true || false,
+ * // SelectionRules: "STRING_VALUE",
+ * // },
+ * // SourceDataSettings: [ // SourceDataSettings
+ * // { // SourceDataSetting
+ * // CDCStartPosition: "STRING_VALUE",
+ * // CDCStartTime: new Date("TIMESTAMP"),
+ * // CDCStopTime: new Date("TIMESTAMP"),
+ * // SlotName: "STRING_VALUE",
+ * // },
+ * // ],
+ * // DataMigrationStatistics: { // DataMigrationStatistics
+ * // TablesLoaded: Number("int"),
+ * // ElapsedTimeMillis: Number("long"),
+ * // TablesLoading: Number("int"),
+ * // FullLoadPercentage: Number("int"),
+ * // CDCLatency: Number("int"),
+ * // TablesQueued: Number("int"),
+ * // TablesErrored: Number("int"),
+ * // StartTime: new Date("TIMESTAMP"),
+ * // StopTime: new Date("TIMESTAMP"),
+ * // },
+ * // DataMigrationStatus: "STRING_VALUE",
+ * // PublicIpAddresses: [ // PublicIpAddressList
+ * // "STRING_VALUE",
+ * // ],
+ * // LastFailureMessage: "STRING_VALUE",
+ * // StopReason: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param DeleteDataMigrationCommandInput - {@link DeleteDataMigrationCommandInput}
+ * @returns {@link DeleteDataMigrationCommandOutput}
+ * @see {@link DeleteDataMigrationCommandInput} for command's `input` shape.
+ * @see {@link DeleteDataMigrationCommandOutput} for command's `response` shape.
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
+ *
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
+ * @throws {@link ResourceNotFoundFault} (client fault)
+ * The resource could not be found.
+ *
+ * @throws {@link DatabaseMigrationServiceServiceException}
+ * Base exception class for all service exceptions from DatabaseMigrationService service.
+ *
+ * @public
+ */
+export class DeleteDataMigrationCommand extends $Command
+ .classBuilder<
+ DeleteDataMigrationCommandInput,
+ DeleteDataMigrationCommandOutput,
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: DatabaseMigrationServiceClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonDMSv20160101", "DeleteDataMigration", {})
+ .n("DatabaseMigrationServiceClient", "DeleteDataMigrationCommand")
+ .f(void 0, DeleteDataMigrationResponseFilterSensitiveLog)
+ .ser(se_DeleteDataMigrationCommand)
+ .de(de_DeleteDataMigrationCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: DeleteDataMigrationMessage;
+ output: DeleteDataMigrationResponse;
+ };
+ sdk: {
+ input: DeleteDataMigrationCommandInput;
+ output: DeleteDataMigrationCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-database-migration-service/src/commands/DeleteDataProviderCommand.ts b/clients/client-database-migration-service/src/commands/DeleteDataProviderCommand.ts
index 7073d2774b4f..daa566ab78de 100644
--- a/clients/client-database-migration-service/src/commands/DeleteDataProviderCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DeleteDataProviderCommand.ts
@@ -132,6 +132,9 @@ export interface DeleteDataProviderCommandOutput extends DeleteDataProviderRespo
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorCollectorCommand.ts b/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorCollectorCommand.ts
index 88690faddbe4..aa3c9038b9bc 100644
--- a/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorCollectorCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorCollectorCommand.ts
@@ -54,6 +54,10 @@ export interface DeleteFleetAdvisorCollectorCommandOutput extends __MetadataBear
* @see {@link DeleteFleetAdvisorCollectorCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
+ * @throws {@link AccessDeniedFault} (client fault)
+ * DMS was denied access to the endpoint. Check that the
+ * role is correctly configured.
+ *
* @throws {@link CollectorNotFoundFault} (client fault)
* The specified collector doesn't exist.
*
diff --git a/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorDatabasesCommand.ts b/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorDatabasesCommand.ts
index 8d2e616e0f7f..e4e4a3c02664 100644
--- a/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorDatabasesCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DeleteFleetAdvisorDatabasesCommand.ts
@@ -62,6 +62,10 @@ export interface DeleteFleetAdvisorDatabasesCommandOutput
* @see {@link DeleteFleetAdvisorDatabasesCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
+ * @throws {@link AccessDeniedFault} (client fault)
+ * DMS was denied access to the endpoint. Check that the
+ * role is correctly configured.
+ *
* @throws {@link InvalidOperationFault} (client fault)
* The action or operation requested isn't valid.
*
diff --git a/clients/client-database-migration-service/src/commands/DeleteInstanceProfileCommand.ts b/clients/client-database-migration-service/src/commands/DeleteInstanceProfileCommand.ts
index 76899558dc9d..ee4135324eba 100644
--- a/clients/client-database-migration-service/src/commands/DeleteInstanceProfileCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DeleteInstanceProfileCommand.ts
@@ -77,6 +77,9 @@ export interface DeleteInstanceProfileCommandOutput extends DeleteInstanceProfil
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/DeleteMigrationProjectCommand.ts b/clients/client-database-migration-service/src/commands/DeleteMigrationProjectCommand.ts
index 18d9673a8fdb..daebfa5473d3 100644
--- a/clients/client-database-migration-service/src/commands/DeleteMigrationProjectCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DeleteMigrationProjectCommand.ts
@@ -91,6 +91,9 @@ export interface DeleteMigrationProjectCommandOutput extends DeleteMigrationProj
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/DescribeDataMigrationsCommand.ts b/clients/client-database-migration-service/src/commands/DescribeDataMigrationsCommand.ts
new file mode 100644
index 000000000000..d023e0f806ce
--- /dev/null
+++ b/clients/client-database-migration-service/src/commands/DescribeDataMigrationsCommand.ts
@@ -0,0 +1,162 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../DatabaseMigrationServiceClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import {
+ DescribeDataMigrationsMessage,
+ DescribeDataMigrationsResponse,
+ DescribeDataMigrationsResponseFilterSensitiveLog,
+} from "../models/models_0";
+import { de_DescribeDataMigrationsCommand, se_DescribeDataMigrationsCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link DescribeDataMigrationsCommand}.
+ */
+export interface DescribeDataMigrationsCommandInput extends DescribeDataMigrationsMessage {}
+/**
+ * @public
+ *
+ * The output of {@link DescribeDataMigrationsCommand}.
+ */
+export interface DescribeDataMigrationsCommandOutput extends DescribeDataMigrationsResponse, __MetadataBearer {}
+
+/**
+ * Returns information about data migrations.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { DatabaseMigrationServiceClient, DescribeDataMigrationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
+ * // const { DatabaseMigrationServiceClient, DescribeDataMigrationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
+ * const client = new DatabaseMigrationServiceClient(config);
+ * const input = { // DescribeDataMigrationsMessage
+ * Filters: [ // FilterList
+ * { // Filter
+ * Name: "STRING_VALUE", // required
+ * Values: [ // FilterValueList // required
+ * "STRING_VALUE",
+ * ],
+ * },
+ * ],
+ * MaxRecords: Number("int"),
+ * Marker: "STRING_VALUE",
+ * WithoutSettings: true || false,
+ * WithoutStatistics: true || false,
+ * };
+ * const command = new DescribeDataMigrationsCommand(input);
+ * const response = await client.send(command);
+ * // { // DescribeDataMigrationsResponse
+ * // DataMigrations: [ // DataMigrations
+ * // { // DataMigration
+ * // DataMigrationName: "STRING_VALUE",
+ * // DataMigrationArn: "STRING_VALUE",
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
+ * // ServiceAccessRoleArn: "STRING_VALUE",
+ * // MigrationProjectArn: "STRING_VALUE",
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * // DataMigrationSettings: { // DataMigrationSettings
+ * // NumberOfJobs: Number("int"),
+ * // CloudwatchLogsEnabled: true || false,
+ * // SelectionRules: "STRING_VALUE",
+ * // },
+ * // SourceDataSettings: [ // SourceDataSettings
+ * // { // SourceDataSetting
+ * // CDCStartPosition: "STRING_VALUE",
+ * // CDCStartTime: new Date("TIMESTAMP"),
+ * // CDCStopTime: new Date("TIMESTAMP"),
+ * // SlotName: "STRING_VALUE",
+ * // },
+ * // ],
+ * // DataMigrationStatistics: { // DataMigrationStatistics
+ * // TablesLoaded: Number("int"),
+ * // ElapsedTimeMillis: Number("long"),
+ * // TablesLoading: Number("int"),
+ * // FullLoadPercentage: Number("int"),
+ * // CDCLatency: Number("int"),
+ * // TablesQueued: Number("int"),
+ * // TablesErrored: Number("int"),
+ * // StartTime: new Date("TIMESTAMP"),
+ * // StopTime: new Date("TIMESTAMP"),
+ * // },
+ * // DataMigrationStatus: "STRING_VALUE",
+ * // PublicIpAddresses: [ // PublicIpAddressList
+ * // "STRING_VALUE",
+ * // ],
+ * // LastFailureMessage: "STRING_VALUE",
+ * // StopReason: "STRING_VALUE",
+ * // },
+ * // ],
+ * // Marker: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param DescribeDataMigrationsCommandInput - {@link DescribeDataMigrationsCommandInput}
+ * @returns {@link DescribeDataMigrationsCommandOutput}
+ * @see {@link DescribeDataMigrationsCommandInput} for command's `input` shape.
+ * @see {@link DescribeDataMigrationsCommandOutput} for command's `response` shape.
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
+ *
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
+ * @throws {@link ResourceNotFoundFault} (client fault)
+ * The resource could not be found.
+ *
+ * @throws {@link DatabaseMigrationServiceServiceException}
+ * Base exception class for all service exceptions from DatabaseMigrationService service.
+ *
+ * @public
+ */
+export class DescribeDataMigrationsCommand extends $Command
+ .classBuilder<
+ DescribeDataMigrationsCommandInput,
+ DescribeDataMigrationsCommandOutput,
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: DatabaseMigrationServiceClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonDMSv20160101", "DescribeDataMigrations", {})
+ .n("DatabaseMigrationServiceClient", "DescribeDataMigrationsCommand")
+ .f(void 0, DescribeDataMigrationsResponseFilterSensitiveLog)
+ .ser(se_DescribeDataMigrationsCommand)
+ .de(de_DescribeDataMigrationsCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: DescribeDataMigrationsMessage;
+ output: DescribeDataMigrationsResponse;
+ };
+ sdk: {
+ input: DescribeDataMigrationsCommandInput;
+ output: DescribeDataMigrationsCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-database-migration-service/src/commands/DescribeDataProvidersCommand.ts b/clients/client-database-migration-service/src/commands/DescribeDataProvidersCommand.ts
index d423b861dda7..485b90497b3c 100644
--- a/clients/client-database-migration-service/src/commands/DescribeDataProvidersCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DescribeDataProvidersCommand.ts
@@ -140,6 +140,9 @@ export interface DescribeDataProvidersCommandOutput extends DescribeDataProvider
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link ResourceNotFoundFault} (client fault)
* The resource could not be found.
*
diff --git a/clients/client-database-migration-service/src/commands/DescribeInstanceProfilesCommand.ts b/clients/client-database-migration-service/src/commands/DescribeInstanceProfilesCommand.ts
index c1c153afdaa2..193a5442b13c 100644
--- a/clients/client-database-migration-service/src/commands/DescribeInstanceProfilesCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DescribeInstanceProfilesCommand.ts
@@ -85,6 +85,9 @@ export interface DescribeInstanceProfilesCommandOutput extends DescribeInstanceP
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link ResourceNotFoundFault} (client fault)
* The resource could not be found.
*
diff --git a/clients/client-database-migration-service/src/commands/DescribeMigrationProjectsCommand.ts b/clients/client-database-migration-service/src/commands/DescribeMigrationProjectsCommand.ts
index c8977ce80b4e..45325a22186d 100644
--- a/clients/client-database-migration-service/src/commands/DescribeMigrationProjectsCommand.ts
+++ b/clients/client-database-migration-service/src/commands/DescribeMigrationProjectsCommand.ts
@@ -100,6 +100,9 @@ export interface DescribeMigrationProjectsCommandOutput extends DescribeMigratio
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link ResourceNotFoundFault} (client fault)
* The resource could not be found.
*
diff --git a/clients/client-database-migration-service/src/commands/ExportMetadataModelAssessmentCommand.ts b/clients/client-database-migration-service/src/commands/ExportMetadataModelAssessmentCommand.ts
index 5d44c9e985aa..87239abe2eb7 100644
--- a/clients/client-database-migration-service/src/commands/ExportMetadataModelAssessmentCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ExportMetadataModelAssessmentCommand.ts
@@ -10,7 +10,7 @@ import {
ServiceOutputTypes,
} from "../DatabaseMigrationServiceClient";
import { commonParams } from "../endpoint/EndpointParameters";
-import { ExportMetadataModelAssessmentMessage, ExportMetadataModelAssessmentResponse } from "../models/models_0";
+import { ExportMetadataModelAssessmentMessage, ExportMetadataModelAssessmentResponse } from "../models/models_1";
import {
de_ExportMetadataModelAssessmentCommand,
se_ExportMetadataModelAssessmentCommand,
diff --git a/clients/client-database-migration-service/src/commands/ImportCertificateCommand.ts b/clients/client-database-migration-service/src/commands/ImportCertificateCommand.ts
index 3a9bbcbf8023..76e08e537d7d 100644
--- a/clients/client-database-migration-service/src/commands/ImportCertificateCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ImportCertificateCommand.ts
@@ -14,7 +14,7 @@ import {
ImportCertificateMessage,
ImportCertificateMessageFilterSensitiveLog,
ImportCertificateResponse,
-} from "../models/models_0";
+} from "../models/models_1";
import { de_ImportCertificateCommand, se_ImportCertificateCommand } from "../protocols/Aws_json1_1";
/**
diff --git a/clients/client-database-migration-service/src/commands/ListTagsForResourceCommand.ts b/clients/client-database-migration-service/src/commands/ListTagsForResourceCommand.ts
index 129754ebc94f..27ef5cc573c3 100644
--- a/clients/client-database-migration-service/src/commands/ListTagsForResourceCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ListTagsForResourceCommand.ts
@@ -10,7 +10,7 @@ import {
ServiceOutputTypes,
} from "../DatabaseMigrationServiceClient";
import { commonParams } from "../endpoint/EndpointParameters";
-import { ListTagsForResourceMessage, ListTagsForResourceResponse } from "../models/models_0";
+import { ListTagsForResourceMessage, ListTagsForResourceResponse } from "../models/models_1";
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
/**
@@ -69,6 +69,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
* @throws {@link ResourceNotFoundFault} (client fault)
* The resource could not be found.
*
diff --git a/clients/client-database-migration-service/src/commands/ModifyConversionConfigurationCommand.ts b/clients/client-database-migration-service/src/commands/ModifyConversionConfigurationCommand.ts
index 65f41dbe1c52..b9d383911528 100644
--- a/clients/client-database-migration-service/src/commands/ModifyConversionConfigurationCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ModifyConversionConfigurationCommand.ts
@@ -10,7 +10,7 @@ import {
ServiceOutputTypes,
} from "../DatabaseMigrationServiceClient";
import { commonParams } from "../endpoint/EndpointParameters";
-import { ModifyConversionConfigurationMessage, ModifyConversionConfigurationResponse } from "../models/models_0";
+import { ModifyConversionConfigurationMessage, ModifyConversionConfigurationResponse } from "../models/models_1";
import {
de_ModifyConversionConfigurationCommand,
se_ModifyConversionConfigurationCommand,
diff --git a/clients/client-database-migration-service/src/commands/ModifyDataMigrationCommand.ts b/clients/client-database-migration-service/src/commands/ModifyDataMigrationCommand.ts
new file mode 100644
index 000000000000..9fe208226c08
--- /dev/null
+++ b/clients/client-database-migration-service/src/commands/ModifyDataMigrationCommand.ts
@@ -0,0 +1,163 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../DatabaseMigrationServiceClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import {
+ ModifyDataMigrationMessage,
+ ModifyDataMigrationMessageFilterSensitiveLog,
+ ModifyDataMigrationResponse,
+ ModifyDataMigrationResponseFilterSensitiveLog,
+} from "../models/models_1";
+import { de_ModifyDataMigrationCommand, se_ModifyDataMigrationCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link ModifyDataMigrationCommand}.
+ */
+export interface ModifyDataMigrationCommandInput extends ModifyDataMigrationMessage {}
+/**
+ * @public
+ *
+ * The output of {@link ModifyDataMigrationCommand}.
+ */
+export interface ModifyDataMigrationCommandOutput extends ModifyDataMigrationResponse, __MetadataBearer {}
+
+/**
+ * Modifies an existing DMS data migration.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { DatabaseMigrationServiceClient, ModifyDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
+ * // const { DatabaseMigrationServiceClient, ModifyDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
+ * const client = new DatabaseMigrationServiceClient(config);
+ * const input = { // ModifyDataMigrationMessage
+ * DataMigrationIdentifier: "STRING_VALUE", // required
+ * DataMigrationName: "STRING_VALUE",
+ * EnableCloudwatchLogs: true || false,
+ * ServiceAccessRoleArn: "STRING_VALUE",
+ * DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * SourceDataSettings: [ // SourceDataSettings
+ * { // SourceDataSetting
+ * CDCStartPosition: "STRING_VALUE",
+ * CDCStartTime: new Date("TIMESTAMP"),
+ * CDCStopTime: new Date("TIMESTAMP"),
+ * SlotName: "STRING_VALUE",
+ * },
+ * ],
+ * NumberOfJobs: Number("int"),
+ * SelectionRules: "STRING_VALUE",
+ * };
+ * const command = new ModifyDataMigrationCommand(input);
+ * const response = await client.send(command);
+ * // { // ModifyDataMigrationResponse
+ * // DataMigration: { // DataMigration
+ * // DataMigrationName: "STRING_VALUE",
+ * // DataMigrationArn: "STRING_VALUE",
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
+ * // ServiceAccessRoleArn: "STRING_VALUE",
+ * // MigrationProjectArn: "STRING_VALUE",
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * // DataMigrationSettings: { // DataMigrationSettings
+ * // NumberOfJobs: Number("int"),
+ * // CloudwatchLogsEnabled: true || false,
+ * // SelectionRules: "STRING_VALUE",
+ * // },
+ * // SourceDataSettings: [ // SourceDataSettings
+ * // { // SourceDataSetting
+ * // CDCStartPosition: "STRING_VALUE",
+ * // CDCStartTime: new Date("TIMESTAMP"),
+ * // CDCStopTime: new Date("TIMESTAMP"),
+ * // SlotName: "STRING_VALUE",
+ * // },
+ * // ],
+ * // DataMigrationStatistics: { // DataMigrationStatistics
+ * // TablesLoaded: Number("int"),
+ * // ElapsedTimeMillis: Number("long"),
+ * // TablesLoading: Number("int"),
+ * // FullLoadPercentage: Number("int"),
+ * // CDCLatency: Number("int"),
+ * // TablesQueued: Number("int"),
+ * // TablesErrored: Number("int"),
+ * // StartTime: new Date("TIMESTAMP"),
+ * // StopTime: new Date("TIMESTAMP"),
+ * // },
+ * // DataMigrationStatus: "STRING_VALUE",
+ * // PublicIpAddresses: [ // PublicIpAddressList
+ * // "STRING_VALUE",
+ * // ],
+ * // LastFailureMessage: "STRING_VALUE",
+ * // StopReason: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param ModifyDataMigrationCommandInput - {@link ModifyDataMigrationCommandInput}
+ * @returns {@link ModifyDataMigrationCommandOutput}
+ * @see {@link ModifyDataMigrationCommandInput} for command's `input` shape.
+ * @see {@link ModifyDataMigrationCommandOutput} for command's `response` shape.
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
+ *
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
+ * @throws {@link ResourceNotFoundFault} (client fault)
+ * The resource could not be found.
+ *
+ * @throws {@link DatabaseMigrationServiceServiceException}
+ * Base exception class for all service exceptions from DatabaseMigrationService service.
+ *
+ * @public
+ */
+export class ModifyDataMigrationCommand extends $Command
+ .classBuilder<
+ ModifyDataMigrationCommandInput,
+ ModifyDataMigrationCommandOutput,
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: DatabaseMigrationServiceClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonDMSv20160101", "ModifyDataMigration", {})
+ .n("DatabaseMigrationServiceClient", "ModifyDataMigrationCommand")
+ .f(ModifyDataMigrationMessageFilterSensitiveLog, ModifyDataMigrationResponseFilterSensitiveLog)
+ .ser(se_ModifyDataMigrationCommand)
+ .de(de_ModifyDataMigrationCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: ModifyDataMigrationMessage;
+ output: ModifyDataMigrationResponse;
+ };
+ sdk: {
+ input: ModifyDataMigrationCommandInput;
+ output: ModifyDataMigrationCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-database-migration-service/src/commands/ModifyDataProviderCommand.ts b/clients/client-database-migration-service/src/commands/ModifyDataProviderCommand.ts
index 6a7b3d1c2d02..e149cafedfaa 100644
--- a/clients/client-database-migration-service/src/commands/ModifyDataProviderCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ModifyDataProviderCommand.ts
@@ -197,6 +197,9 @@ export interface ModifyDataProviderCommandOutput extends ModifyDataProviderRespo
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/ModifyInstanceProfileCommand.ts b/clients/client-database-migration-service/src/commands/ModifyInstanceProfileCommand.ts
index 4a77a4c27e01..7d0950504b96 100644
--- a/clients/client-database-migration-service/src/commands/ModifyInstanceProfileCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ModifyInstanceProfileCommand.ts
@@ -87,6 +87,9 @@ export interface ModifyInstanceProfileCommandOutput extends ModifyInstanceProfil
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/ModifyMigrationProjectCommand.ts b/clients/client-database-migration-service/src/commands/ModifyMigrationProjectCommand.ts
index b70a2afa1d0d..17b56ca944fc 100644
--- a/clients/client-database-migration-service/src/commands/ModifyMigrationProjectCommand.ts
+++ b/clients/client-database-migration-service/src/commands/ModifyMigrationProjectCommand.ts
@@ -113,6 +113,9 @@ export interface ModifyMigrationProjectCommandOutput extends ModifyMigrationProj
* DMS was denied access to the endpoint. Check that the
* role is correctly configured.
*
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
* @throws {@link InvalidResourceStateFault} (client fault)
* The resource is in a state that prevents it from being used for database migration.
*
diff --git a/clients/client-database-migration-service/src/commands/RemoveTagsFromResourceCommand.ts b/clients/client-database-migration-service/src/commands/RemoveTagsFromResourceCommand.ts
index e89ea3d59081..84827403a06f 100644
--- a/clients/client-database-migration-service/src/commands/RemoveTagsFromResourceCommand.ts
+++ b/clients/client-database-migration-service/src/commands/RemoveTagsFromResourceCommand.ts
@@ -62,6 +62,9 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou
* @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
*
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
* @throws {@link ResourceNotFoundFault} (client fault)
* The resource could not be found.
*
diff --git a/clients/client-database-migration-service/src/commands/StartDataMigrationCommand.ts b/clients/client-database-migration-service/src/commands/StartDataMigrationCommand.ts
new file mode 100644
index 000000000000..68f3845f50df
--- /dev/null
+++ b/clients/client-database-migration-service/src/commands/StartDataMigrationCommand.ts
@@ -0,0 +1,155 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../DatabaseMigrationServiceClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import {
+ StartDataMigrationMessage,
+ StartDataMigrationResponse,
+ StartDataMigrationResponseFilterSensitiveLog,
+} from "../models/models_1";
+import { de_StartDataMigrationCommand, se_StartDataMigrationCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link StartDataMigrationCommand}.
+ */
+export interface StartDataMigrationCommandInput extends StartDataMigrationMessage {}
+/**
+ * @public
+ *
+ * The output of {@link StartDataMigrationCommand}.
+ */
+export interface StartDataMigrationCommandOutput extends StartDataMigrationResponse, __MetadataBearer {}
+
+/**
+ * Starts the specified data migration.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { DatabaseMigrationServiceClient, StartDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
+ * // const { DatabaseMigrationServiceClient, StartDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
+ * const client = new DatabaseMigrationServiceClient(config);
+ * const input = { // StartDataMigrationMessage
+ * DataMigrationIdentifier: "STRING_VALUE", // required
+ * StartType: "reload-target" || "resume-processing" || "start-replication", // required
+ * };
+ * const command = new StartDataMigrationCommand(input);
+ * const response = await client.send(command);
+ * // { // StartDataMigrationResponse
+ * // DataMigration: { // DataMigration
+ * // DataMigrationName: "STRING_VALUE",
+ * // DataMigrationArn: "STRING_VALUE",
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
+ * // ServiceAccessRoleArn: "STRING_VALUE",
+ * // MigrationProjectArn: "STRING_VALUE",
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * // DataMigrationSettings: { // DataMigrationSettings
+ * // NumberOfJobs: Number("int"),
+ * // CloudwatchLogsEnabled: true || false,
+ * // SelectionRules: "STRING_VALUE",
+ * // },
+ * // SourceDataSettings: [ // SourceDataSettings
+ * // { // SourceDataSetting
+ * // CDCStartPosition: "STRING_VALUE",
+ * // CDCStartTime: new Date("TIMESTAMP"),
+ * // CDCStopTime: new Date("TIMESTAMP"),
+ * // SlotName: "STRING_VALUE",
+ * // },
+ * // ],
+ * // DataMigrationStatistics: { // DataMigrationStatistics
+ * // TablesLoaded: Number("int"),
+ * // ElapsedTimeMillis: Number("long"),
+ * // TablesLoading: Number("int"),
+ * // FullLoadPercentage: Number("int"),
+ * // CDCLatency: Number("int"),
+ * // TablesQueued: Number("int"),
+ * // TablesErrored: Number("int"),
+ * // StartTime: new Date("TIMESTAMP"),
+ * // StopTime: new Date("TIMESTAMP"),
+ * // },
+ * // DataMigrationStatus: "STRING_VALUE",
+ * // PublicIpAddresses: [ // PublicIpAddressList
+ * // "STRING_VALUE",
+ * // ],
+ * // LastFailureMessage: "STRING_VALUE",
+ * // StopReason: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param StartDataMigrationCommandInput - {@link StartDataMigrationCommandInput}
+ * @returns {@link StartDataMigrationCommandOutput}
+ * @see {@link StartDataMigrationCommandInput} for command's `input` shape.
+ * @see {@link StartDataMigrationCommandOutput} for command's `response` shape.
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
+ *
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
+ * @throws {@link InvalidOperationFault} (client fault)
+ * The action or operation requested isn't valid.
+ *
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
+ * @throws {@link ResourceNotFoundFault} (client fault)
+ * The resource could not be found.
+ *
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
+ * The quota for this resource quota has been exceeded.
+ *
+ * @throws {@link DatabaseMigrationServiceServiceException}
+ * Base exception class for all service exceptions from DatabaseMigrationService service.
+ *
+ * @public
+ */
+export class StartDataMigrationCommand extends $Command
+ .classBuilder<
+ StartDataMigrationCommandInput,
+ StartDataMigrationCommandOutput,
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: DatabaseMigrationServiceClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonDMSv20160101", "StartDataMigration", {})
+ .n("DatabaseMigrationServiceClient", "StartDataMigrationCommand")
+ .f(void 0, StartDataMigrationResponseFilterSensitiveLog)
+ .ser(se_StartDataMigrationCommand)
+ .de(de_StartDataMigrationCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: StartDataMigrationMessage;
+ output: StartDataMigrationResponse;
+ };
+ sdk: {
+ input: StartDataMigrationCommandInput;
+ output: StartDataMigrationCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-database-migration-service/src/commands/StopDataMigrationCommand.ts b/clients/client-database-migration-service/src/commands/StopDataMigrationCommand.ts
new file mode 100644
index 000000000000..ddd0acea8bc8
--- /dev/null
+++ b/clients/client-database-migration-service/src/commands/StopDataMigrationCommand.ts
@@ -0,0 +1,148 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../DatabaseMigrationServiceClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import {
+ StopDataMigrationMessage,
+ StopDataMigrationResponse,
+ StopDataMigrationResponseFilterSensitiveLog,
+} from "../models/models_1";
+import { de_StopDataMigrationCommand, se_StopDataMigrationCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link StopDataMigrationCommand}.
+ */
+export interface StopDataMigrationCommandInput extends StopDataMigrationMessage {}
+/**
+ * @public
+ *
+ * The output of {@link StopDataMigrationCommand}.
+ */
+export interface StopDataMigrationCommandOutput extends StopDataMigrationResponse, __MetadataBearer {}
+
+/**
+ * Stops the specified data migration.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { DatabaseMigrationServiceClient, StopDataMigrationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
+ * // const { DatabaseMigrationServiceClient, StopDataMigrationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
+ * const client = new DatabaseMigrationServiceClient(config);
+ * const input = { // StopDataMigrationMessage
+ * DataMigrationIdentifier: "STRING_VALUE", // required
+ * };
+ * const command = new StopDataMigrationCommand(input);
+ * const response = await client.send(command);
+ * // { // StopDataMigrationResponse
+ * // DataMigration: { // DataMigration
+ * // DataMigrationName: "STRING_VALUE",
+ * // DataMigrationArn: "STRING_VALUE",
+ * // DataMigrationCreateTime: new Date("TIMESTAMP"),
+ * // DataMigrationStartTime: new Date("TIMESTAMP"),
+ * // DataMigrationEndTime: new Date("TIMESTAMP"),
+ * // ServiceAccessRoleArn: "STRING_VALUE",
+ * // MigrationProjectArn: "STRING_VALUE",
+ * // DataMigrationType: "full-load" || "cdc" || "full-load-and-cdc",
+ * // DataMigrationSettings: { // DataMigrationSettings
+ * // NumberOfJobs: Number("int"),
+ * // CloudwatchLogsEnabled: true || false,
+ * // SelectionRules: "STRING_VALUE",
+ * // },
+ * // SourceDataSettings: [ // SourceDataSettings
+ * // { // SourceDataSetting
+ * // CDCStartPosition: "STRING_VALUE",
+ * // CDCStartTime: new Date("TIMESTAMP"),
+ * // CDCStopTime: new Date("TIMESTAMP"),
+ * // SlotName: "STRING_VALUE",
+ * // },
+ * // ],
+ * // DataMigrationStatistics: { // DataMigrationStatistics
+ * // TablesLoaded: Number("int"),
+ * // ElapsedTimeMillis: Number("long"),
+ * // TablesLoading: Number("int"),
+ * // FullLoadPercentage: Number("int"),
+ * // CDCLatency: Number("int"),
+ * // TablesQueued: Number("int"),
+ * // TablesErrored: Number("int"),
+ * // StartTime: new Date("TIMESTAMP"),
+ * // StopTime: new Date("TIMESTAMP"),
+ * // },
+ * // DataMigrationStatus: "STRING_VALUE",
+ * // PublicIpAddresses: [ // PublicIpAddressList
+ * // "STRING_VALUE",
+ * // ],
+ * // LastFailureMessage: "STRING_VALUE",
+ * // StopReason: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param StopDataMigrationCommandInput - {@link StopDataMigrationCommandInput}
+ * @returns {@link StopDataMigrationCommandOutput}
+ * @see {@link StopDataMigrationCommandInput} for command's `input` shape.
+ * @see {@link StopDataMigrationCommandOutput} for command's `response` shape.
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
+ *
+ * @throws {@link FailedDependencyFault} (client fault)
+ * A dependency threw an exception.
+ *
+ * @throws {@link InvalidResourceStateFault} (client fault)
+ * The resource is in a state that prevents it from being used for database migration.
+ *
+ * @throws {@link ResourceNotFoundFault} (client fault)
+ * The resource could not be found.
+ *
+ * @throws {@link DatabaseMigrationServiceServiceException}
+ * Base exception class for all service exceptions from DatabaseMigrationService service.
+ *
+ * @public
+ */
+export class StopDataMigrationCommand extends $Command
+ .classBuilder<
+ StopDataMigrationCommandInput,
+ StopDataMigrationCommandOutput,
+ DatabaseMigrationServiceClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: DatabaseMigrationServiceClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonDMSv20160101", "StopDataMigration", {})
+ .n("DatabaseMigrationServiceClient", "StopDataMigrationCommand")
+ .f(void 0, StopDataMigrationResponseFilterSensitiveLog)
+ .ser(se_StopDataMigrationCommand)
+ .de(de_StopDataMigrationCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: StopDataMigrationMessage;
+ output: StopDataMigrationResponse;
+ };
+ sdk: {
+ input: StopDataMigrationCommandInput;
+ output: StopDataMigrationCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-database-migration-service/src/commands/index.ts b/clients/client-database-migration-service/src/commands/index.ts
index 925443aba18c..1522ba768753 100644
--- a/clients/client-database-migration-service/src/commands/index.ts
+++ b/clients/client-database-migration-service/src/commands/index.ts
@@ -3,6 +3,7 @@ export * from "./AddTagsToResourceCommand";
export * from "./ApplyPendingMaintenanceActionCommand";
export * from "./BatchStartRecommendationsCommand";
export * from "./CancelReplicationTaskAssessmentRunCommand";
+export * from "./CreateDataMigrationCommand";
export * from "./CreateDataProviderCommand";
export * from "./CreateEndpointCommand";
export * from "./CreateEventSubscriptionCommand";
@@ -15,6 +16,7 @@ export * from "./CreateReplicationSubnetGroupCommand";
export * from "./CreateReplicationTaskCommand";
export * from "./DeleteCertificateCommand";
export * from "./DeleteConnectionCommand";
+export * from "./DeleteDataMigrationCommand";
export * from "./DeleteDataProviderCommand";
export * from "./DeleteEndpointCommand";
export * from "./DeleteEventSubscriptionCommand";
@@ -32,6 +34,7 @@ export * from "./DescribeApplicableIndividualAssessmentsCommand";
export * from "./DescribeCertificatesCommand";
export * from "./DescribeConnectionsCommand";
export * from "./DescribeConversionConfigurationCommand";
+export * from "./DescribeDataMigrationsCommand";
export * from "./DescribeDataProvidersCommand";
export * from "./DescribeEndpointSettingsCommand";
export * from "./DescribeEndpointTypesCommand";
@@ -74,6 +77,7 @@ export * from "./ExportMetadataModelAssessmentCommand";
export * from "./ImportCertificateCommand";
export * from "./ListTagsForResourceCommand";
export * from "./ModifyConversionConfigurationCommand";
+export * from "./ModifyDataMigrationCommand";
export * from "./ModifyDataProviderCommand";
export * from "./ModifyEndpointCommand";
export * from "./ModifyEventSubscriptionCommand";
@@ -90,6 +94,7 @@ export * from "./ReloadReplicationTablesCommand";
export * from "./ReloadTablesCommand";
export * from "./RemoveTagsFromResourceCommand";
export * from "./RunFleetAdvisorLsaAnalysisCommand";
+export * from "./StartDataMigrationCommand";
export * from "./StartExtensionPackAssociationCommand";
export * from "./StartMetadataModelAssessmentCommand";
export * from "./StartMetadataModelConversionCommand";
@@ -101,6 +106,7 @@ export * from "./StartReplicationCommand";
export * from "./StartReplicationTaskAssessmentCommand";
export * from "./StartReplicationTaskAssessmentRunCommand";
export * from "./StartReplicationTaskCommand";
+export * from "./StopDataMigrationCommand";
export * from "./StopReplicationCommand";
export * from "./StopReplicationTaskCommand";
export * from "./TestConnectionCommand";
diff --git a/clients/client-database-migration-service/src/models/models_0.ts b/clients/client-database-migration-service/src/models/models_0.ts
index 25463058dd00..b53858d58869 100644
--- a/clients/client-database-migration-service/src/models/models_0.ts
+++ b/clients/client-database-migration-service/src/models/models_0.ts
@@ -122,6 +122,26 @@ export interface AddTagsToResourceMessage {
*/
export interface AddTagsToResourceResponse {}
+/**
+ * The resource is in a state that prevents it from being used for database migration.
+ * @public
+ */
+export class InvalidResourceStateFault extends __BaseException {
+ readonly name: "InvalidResourceStateFault" = "InvalidResourceStateFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "InvalidResourceStateFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, InvalidResourceStateFault.prototype);
+ }
+}
+
/**
* The resource could not be found.
* @public
@@ -364,26 +384,6 @@ export interface BatchStartRecommendationsResponse {
ErrorEntries?: BatchStartRecommendationsErrorEntry[];
}
-/**
- * The resource is in a state that prevents it from being used for database migration.
- * @public
- */
-export class InvalidResourceStateFault extends __BaseException {
- readonly name: "InvalidResourceStateFault" = "InvalidResourceStateFault";
- readonly $fault: "client" = "client";
- /**
- * @internal
- */
- constructor(opts: __ExceptionOptionType) {
- super({
- name: "InvalidResourceStateFault",
- $fault: "client",
- ...opts,
- });
- Object.setPrototypeOf(this, InvalidResourceStateFault.prototype);
- }
-}
-
/**
*
* @public
@@ -565,6 +565,405 @@ export interface CancelReplicationTaskAssessmentRunResponse {
ReplicationTaskAssessmentRun?: ReplicationTaskAssessmentRun;
}
+/**
+ * @public
+ * @enum
+ */
+export const MigrationTypeValue = {
+ CDC: "cdc",
+ FULL_LOAD: "full-load",
+ FULL_LOAD_AND_CDC: "full-load-and-cdc",
+} as const;
+
+/**
+ * @public
+ */
+export type MigrationTypeValue = (typeof MigrationTypeValue)[keyof typeof MigrationTypeValue];
+
+/**
+ * Defines settings for a source data provider for a data migration.
+ * @public
+ */
+export interface SourceDataSetting {
+ /**
+ * The change data capture (CDC) start position for the source data provider.
+ * @public
+ */
+ CDCStartPosition?: string;
+
+ /**
+ * The change data capture (CDC) start time for the source data provider.
+ * @public
+ */
+ CDCStartTime?: Date;
+
+ /**
+ * The change data capture (CDC) stop time for the source data provider.
+ * @public
+ */
+ CDCStopTime?: Date;
+
+ /**
+ * The name of the replication slot on the source data provider. This attribute is only
+ * valid for a PostgreSQL or Aurora PostgreSQL source.
+ * @public
+ */
+ SlotName?: string;
+}
+
+/**
+ * @public
+ */
+export interface CreateDataMigrationMessage {
+ /**
+ * A user-friendly name for the data migration. Data migration names
+ * have the following constraints:
+ *
+ * -
+ *
Must begin with a letter, and can only contain ASCII letters,
+ * digits, and hyphens.
+ *
+ * -
+ *
Can't end with a hyphen or contain two consecutive hyphens.
+ *
+ * -
+ *
Length must be from 1 to 255 characters.
+ *
+ *
+ * @public
+ */
+ DataMigrationName?: string;
+
+ /**
+ * An identifier for the migration project.
+ * @public
+ */
+ MigrationProjectIdentifier: string | undefined;
+
+ /**
+ * Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
+ * @public
+ */
+ DataMigrationType: MigrationTypeValue | undefined;
+
+ /**
+ * The Amazon Resource Name (ARN) for the service access role that you want to use to
+ * create the data migration.
+ * @public
+ */
+ ServiceAccessRoleArn: string | undefined;
+
+ /**
+ * Specifies whether to enable CloudWatch logs for the data migration.
+ * @public
+ */
+ EnableCloudwatchLogs?: boolean;
+
+ /**
+ * Specifies information about the source data provider.
+ * @public
+ */
+ SourceDataSettings?: SourceDataSetting[];
+
+ /**
+ * The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
+ * @public
+ */
+ NumberOfJobs?: number;
+
+ /**
+ * One or more tags to be assigned to the data migration.
+ * @public
+ */
+ Tags?: Tag[];
+
+ /**
+ * An optional JSON string specifying what tables, views, and schemas
+ * to include or exclude from the migration.
+ * @public
+ */
+ SelectionRules?: string;
+}
+
+/**
+ * Options for configuring a data migration, including whether to enable CloudWatch logs,
+ * and the selection rules to use to include or exclude database objects from the migration.
+ * @public
+ */
+export interface DataMigrationSettings {
+ /**
+ * The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
+ * @public
+ */
+ NumberOfJobs?: number;
+
+ /**
+ * Whether to enable CloudWatch logging for the data migration.
+ * @public
+ */
+ CloudwatchLogsEnabled?: boolean;
+
+ /**
+ * A JSON-formatted string that defines what objects to include and exclude from the migration.
+ * @public
+ */
+ SelectionRules?: string;
+}
+
+/**
+ * Information about the data migration run, including start and stop time, latency, and migration progress.
+ * @public
+ */
+export interface DataMigrationStatistics {
+ /**
+ * The number of tables loaded in the current data migration run.
+ * @public
+ */
+ TablesLoaded?: number;
+
+ /**
+ * The elapsed duration of the data migration run.
+ * @public
+ */
+ ElapsedTimeMillis?: number;
+
+ /**
+ * The data migration's table loading progress.
+ * @public
+ */
+ TablesLoading?: number;
+
+ /**
+ * The data migration's progress in the full-load migration phase.
+ * @public
+ */
+ FullLoadPercentage?: number;
+
+ /**
+ * The current latency of the change data capture (CDC) operation.
+ * @public
+ */
+ CDCLatency?: number;
+
+ /**
+ * The number of tables that are waiting for processing.
+ * @public
+ */
+ TablesQueued?: number;
+
+ /**
+ * The number of tables that DMS failed to process.
+ * @public
+ */
+ TablesErrored?: number;
+
+ /**
+ * The time when the migration started.
+ * @public
+ */
+ StartTime?: Date;
+
+ /**
+ * The time when the migration stopped or failed.
+ * @public
+ */
+ StopTime?: Date;
+}
+
+/**
+ * This object provides information about a DMS data migration.
+ * @public
+ */
+export interface DataMigration {
+ /**
+ * The user-friendly name for the data migration.
+ * @public
+ */
+ DataMigrationName?: string;
+
+ /**
+ * The Amazon Resource Name (ARN) that identifies this replication.
+ * @public
+ */
+ DataMigrationArn?: string;
+
+ /**
+ * The UTC time when DMS created the data migration.
+ * @public
+ */
+ DataMigrationCreateTime?: Date;
+
+ /**
+ * The UTC time when DMS started the data migration.
+ * @public
+ */
+ DataMigrationStartTime?: Date;
+
+ /**
+ * The UTC time when data migration ended.
+ * @public
+ */
+ DataMigrationEndTime?: Date;
+
+ /**
+ * The IAM role that the data migration uses to access Amazon Web Services resources.
+ * @public
+ */
+ ServiceAccessRoleArn?: string;
+
+ /**
+ * The Amazon Resource Name (ARN) of the data migration's associated migration project.
+ * @public
+ */
+ MigrationProjectArn?: string;
+
+ /**
+ * Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
+ * @public
+ */
+ DataMigrationType?: MigrationTypeValue;
+
+ /**
+ * Specifies CloudWatch settings and selection rules for the data migration.
+ * @public
+ */
+ DataMigrationSettings?: DataMigrationSettings;
+
+ /**
+ * Specifies information about the data migration's source data provider.
+ * @public
+ */
+ SourceDataSettings?: SourceDataSetting[];
+
+ /**
+ * Provides information about the data migration's run, including start and stop time, latency, and data migration progress.
+ * @public
+ */
+ DataMigrationStatistics?: DataMigrationStatistics;
+
+ /**
+ * The current status of the data migration.
+ * @public
+ */
+ DataMigrationStatus?: string;
+
+ /**
+ * The IP addresses of the endpoints for the data migration.
+ * @public
+ */
+ PublicIpAddresses?: string[];
+
+ /**
+ * Information about the data migration's most recent error or failure.
+ * @public
+ */
+ LastFailureMessage?: string;
+
+ /**
+ * The reason the data migration last stopped.
+ * @public
+ */
+ StopReason?: string;
+}
+
+/**
+ * @public
+ */
+export interface CreateDataMigrationResponse {
+ /**
+ * Information about the created data migration.
+ * @public
+ */
+ DataMigration?: DataMigration;
+}
+
+/**
+ * A dependency threw an exception.
+ * @public
+ */
+export class FailedDependencyFault extends __BaseException {
+ readonly name: "FailedDependencyFault" = "FailedDependencyFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "FailedDependencyFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, FailedDependencyFault.prototype);
+ }
+}
+
+/**
+ * The action or operation requested isn't valid.
+ * @public
+ */
+export class InvalidOperationFault extends __BaseException {
+ readonly name: "InvalidOperationFault" = "InvalidOperationFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "InvalidOperationFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, InvalidOperationFault.prototype);
+ }
+}
+
+/**
+ * The resource you are attempting to create already exists.
+ * @public
+ */
+export class ResourceAlreadyExistsFault extends __BaseException {
+ readonly name: "ResourceAlreadyExistsFault" = "ResourceAlreadyExistsFault";
+ readonly $fault: "client" = "client";
+ /**
+ *
+ * @public
+ */
+ resourceArn?: string;
+
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ResourceAlreadyExistsFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ResourceAlreadyExistsFault.prototype);
+ this.resourceArn = opts.resourceArn;
+ }
+}
+
+/**
+ * The quota for this resource quota has been exceeded.
+ * @public
+ */
+export class ResourceQuotaExceededFault extends __BaseException {
+ readonly name: "ResourceQuotaExceededFault" = "ResourceQuotaExceededFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ResourceQuotaExceededFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ResourceQuotaExceededFault.prototype);
+ }
+}
+
/**
* @public
* @enum
@@ -1221,53 +1620,6 @@ export interface CreateDataProviderResponse {
DataProvider?: DataProvider;
}
-/**
- * The resource you are attempting to create already exists.
- * @public
- */
-export class ResourceAlreadyExistsFault extends __BaseException {
- readonly name: "ResourceAlreadyExistsFault" = "ResourceAlreadyExistsFault";
- readonly $fault: "client" = "client";
- /**
- *
- * @public
- */
- resourceArn?: string;
-
- /**
- * @internal
- */
- constructor(opts: __ExceptionOptionType) {
- super({
- name: "ResourceAlreadyExistsFault",
- $fault: "client",
- ...opts,
- });
- Object.setPrototypeOf(this, ResourceAlreadyExistsFault.prototype);
- this.resourceArn = opts.resourceArn;
- }
-}
-
-/**
- * The quota for this resource quota has been exceeded.
- * @public
- */
-export class ResourceQuotaExceededFault extends __BaseException {
- readonly name: "ResourceQuotaExceededFault" = "ResourceQuotaExceededFault";
- readonly $fault: "client" = "client";
- /**
- * @internal
- */
- constructor(opts: __ExceptionOptionType) {
- super({
- name: "ResourceQuotaExceededFault",
- $fault: "client",
- ...opts,
- });
- Object.setPrototypeOf(this, ResourceQuotaExceededFault.prototype);
- }
-}
-
/**
* The settings in JSON format for the DMS Transfer type source endpoint.
* @public
@@ -4593,7 +4945,9 @@ export interface CreateEndpointMessage {
* "aurora-postgresql"
, "opensearch"
, "redshift"
, "s3"
,
* "db2"
, "db2-zos"
, "azuredb"
, "sybase"
, "dynamodb"
, "mongodb"
,
* "kinesis"
, "kafka"
, "elasticsearch"
, "docdb"
,
- * "sqlserver"
, "neptune"
, and "babelfish"
.
+ * "sqlserver"
, "neptune"
, "babelfish"
,
+ * redshift-serverless
, aurora-serverless
, aurora-postgresql-serverless
,
+ * gcp-mysql
, azure-sql-managed-instance
, redis
, dms-transfer
.
* @public
*/
EngineName: string | undefined;
@@ -6005,11 +6359,9 @@ export interface ComputeConfig {
* Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS
* Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value
* allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU
- * value that you can specify for DMS Serverless is 1. You don't have to specify a value for the
- * MinCapacityUnits
parameter. If you don't set this value, DMS scans the current activity
- * of available source tables to identify an optimum setting for this parameter. If there is no current
- * source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to
- * the minimum DCU value allowed, 1.
+ * value that you can specify for DMS Serverless is 1. If you don't set this value, DMS sets this parameter to the
+ * minimum DCU value allowed, 1. If there is no current source activity, DMS scales down your replication until it
+ * reaches the value specified in MinCapacityUnits
.
* @public
*/
MinCapacityUnits?: number;
@@ -6046,22 +6398,7 @@ export interface ComputeConfig {
* @public
*/
VpcSecurityGroupIds?: string[];
-}
-
-/**
- * @public
- * @enum
- */
-export const MigrationTypeValue = {
- CDC: "cdc",
- FULL_LOAD: "full-load",
- FULL_LOAD_AND_CDC: "full-load-and-cdc",
-} as const;
-
-/**
- * @public
- */
-export type MigrationTypeValue = (typeof MigrationTypeValue)[keyof typeof MigrationTypeValue];
+}
/**
*
@@ -6947,7 +7284,7 @@ export interface CreateReplicationSubnetGroupMessage {
/**
* The name for the replication subnet group. This value is stored as a lowercase
* string.
- * Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces,
+ *
Constraints: Must contain no more than 255 alphanumeric characters, periods,
* underscores, or hyphens. Must not be "default".
* Example: mySubnetgroup
*
@@ -7725,6 +8062,28 @@ export interface DeleteConnectionResponse {
Connection?: Connection;
}
+/**
+ * @public
+ */
+export interface DeleteDataMigrationMessage {
+ /**
+ * The identifier (name or ARN) of the data migration to delete.
+ * @public
+ */
+ DataMigrationIdentifier: string | undefined;
+}
+
+/**
+ * @public
+ */
+export interface DeleteDataMigrationResponse {
+ /**
+ * The deleted data migration.
+ * @public
+ */
+ DataMigration?: DataMigration;
+}
+
/**
* @public
*/
@@ -7848,26 +8207,6 @@ export interface DeleteFleetAdvisorDatabasesResponse {
DatabaseIds?: string[];
}
-/**
- * The action or operation requested isn't valid.
- * @public
- */
-export class InvalidOperationFault extends __BaseException {
- readonly name: "InvalidOperationFault" = "InvalidOperationFault";
- readonly $fault: "client" = "client";
- /**
- * @internal
- */
- constructor(opts: __ExceptionOptionType) {
- super({
- name: "InvalidOperationFault",
- $fault: "client",
- ...opts,
- });
- Object.setPrototypeOf(this, InvalidOperationFault.prototype);
- }
-}
-
/**
* @public
*/
@@ -8290,6 +8629,66 @@ export interface DescribeConversionConfigurationResponse {
ConversionConfiguration?: string;
}
+/**
+ * @public
+ */
+export interface DescribeDataMigrationsMessage {
+ /**
+ * Filters applied to the data migrations.
+ * @public
+ */
+ Filters?: Filter[];
+
+ /**
+ * The maximum number of records to include in the response. If more records exist than the specified
+ * MaxRecords
value, a pagination token called a marker is included in the response so that
+ * the remaining results can be retrieved.
+ * @public
+ */
+ MaxRecords?: number;
+
+ /**
+ * An optional pagination token provided by a previous request. If this parameter is specified,
+ * the response includes only records beyond the marker, up to the value specified by MaxRecords
.
+ * @public
+ */
+ Marker?: string;
+
+ /**
+ * An option to set to avoid returning information about settings. Use this to reduce
+ * overhead when setting information is too large. To use this option, choose
+ * true
; otherwise, choose false
(the default).
+ * @public
+ */
+ WithoutSettings?: boolean;
+
+ /**
+ * An option to set to avoid returning information about statistics. Use this to reduce
+ * overhead when statistics information is too large. To use this option, choose
+ * true
; otherwise, choose false
(the default).
+ * @public
+ */
+ WithoutStatistics?: boolean;
+}
+
+/**
+ * @public
+ */
+export interface DescribeDataMigrationsResponse {
+ /**
+ * Returns information about the data migrations used in the project.
+ * @public
+ */
+ DataMigrations?: DataMigration[];
+
+ /**
+ * An optional pagination token provided by a previous request. If this parameter is specified,
+ * the response includes only records beyond the marker, up to the value specified by MaxRecords
.
+ * @public
+ */
+ Marker?: string;
+}
+
/**
* @public
*/
@@ -12307,210 +12706,39 @@ export interface DescribeTableStatisticsResponse {
}
/**
- * @public
- * @enum
- */
-export const AssessmentReportType = {
- CSV: "csv",
- PDF: "pdf",
-} as const;
-
-/**
- * @public
- */
-export type AssessmentReportType = (typeof AssessmentReportType)[keyof typeof AssessmentReportType];
-
-/**
- * @public
- */
-export interface ExportMetadataModelAssessmentMessage {
- /**
- * The migration project name or Amazon Resource Name (ARN).
- * @public
- */
- MigrationProjectIdentifier: string | undefined;
-
- /**
- * A value that specifies the database objects to assess.
- * @public
- */
- SelectionRules: string | undefined;
-
- /**
- * The name of the assessment file to create in your Amazon S3 bucket.
- * @public
- */
- FileName?: string;
-
- /**
- * The file format of the assessment file.
- * @public
- */
- AssessmentReportTypes?: AssessmentReportType[];
-}
-
-/**
- * Provides information about an exported metadata model assessment.
- * @public
- */
-export interface ExportMetadataModelAssessmentResultEntry {
- /**
- * The object key for the object containing the exported metadata model assessment.
- * @public
- */
- S3ObjectKey?: string;
-
- /**
- * The URL for the object containing the exported metadata model assessment.
- * @public
- */
- ObjectURL?: string;
-}
-
-/**
- * @public
- */
-export interface ExportMetadataModelAssessmentResponse {
- /**
- * The Amazon S3 details for an assessment exported in PDF format.
- * @public
- */
- PdfReport?: ExportMetadataModelAssessmentResultEntry;
-
- /**
- * The Amazon S3 details for an assessment exported in CSV format.
- * @public
- */
- CsvReport?: ExportMetadataModelAssessmentResultEntry;
-}
-
-/**
- * @public
- */
-export interface ImportCertificateMessage {
- /**
- * A customer-assigned name for the certificate. Identifiers must begin with a letter and
- * must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or
- * contain two consecutive hyphens.
- * @public
- */
- CertificateIdentifier: string | undefined;
-
- /**
- * The contents of a .pem
file, which contains an X.509 certificate.
- * @public
- */
- CertificatePem?: string;
-
- /**
- * The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file
- * using the fileb://
prefix. You can't provide the certificate inline.
- * Example: filebase64("$\{path.root\}/rds-ca-2019-root.sso")
- *
- * @public
- */
- CertificateWallet?: Uint8Array;
-
- /**
- * The tags associated with the certificate.
- * @public
- */
- Tags?: Tag[];
-}
-
-/**
- * @public
- */
-export interface ImportCertificateResponse {
- /**
- * The certificate to be uploaded.
- * @public
- */
- Certificate?: Certificate;
-}
-
-/**
- * The certificate was not valid.
- * @public
- */
-export class InvalidCertificateFault extends __BaseException {
- readonly name: "InvalidCertificateFault" = "InvalidCertificateFault";
- readonly $fault: "client" = "client";
- /**
- * @internal
- */
- constructor(opts: __ExceptionOptionType) {
- super({
- name: "InvalidCertificateFault",
- $fault: "client",
- ...opts,
- });
- Object.setPrototypeOf(this, InvalidCertificateFault.prototype);
- }
-}
-
-/**
- *
- * @public
+ * @internal
*/
-export interface ListTagsForResourceMessage {
- /**
- * The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to
- * list tags for. This returns a list of keys (names of tags) created for the resource and
- * their associated tag values.
- * @public
- */
- ResourceArn?: string;
-
- /**
- * List of ARNs that identify multiple DMS resources that you want to list tags for. This
- * returns a list of keys (tag names) and their associated tag values. It also returns each
- * tag's associated ResourceArn
value, which is the ARN of the resource for which
- * each listed tag is created.
- * @public
- */
- ResourceArnList?: string[];
-}
+export const CreateDataMigrationMessageFilterSensitiveLog = (obj: CreateDataMigrationMessage): any => ({
+ ...obj,
+ ...(obj.SelectionRules && { SelectionRules: SENSITIVE_STRING }),
+});
/**
- *
- * @public
+ * @internal
*/
-export interface ListTagsForResourceResponse {
- /**
- * A list of tags for the resource.
- * @public
- */
- TagList?: Tag[];
-}
+export const DataMigrationSettingsFilterSensitiveLog = (obj: DataMigrationSettings): any => ({
+ ...obj,
+ ...(obj.SelectionRules && { SelectionRules: SENSITIVE_STRING }),
+});
/**
- * @public
+ * @internal
*/
-export interface ModifyConversionConfigurationMessage {
- /**
- * The migration project name or Amazon Resource Name (ARN).
- * @public
- */
- MigrationProjectIdentifier: string | undefined;
-
- /**
- * The new conversion configuration.
- * @public
- */
- ConversionConfiguration: string | undefined;
-}
+export const DataMigrationFilterSensitiveLog = (obj: DataMigration): any => ({
+ ...obj,
+ ...(obj.DataMigrationSettings && {
+ DataMigrationSettings: DataMigrationSettingsFilterSensitiveLog(obj.DataMigrationSettings),
+ }),
+ ...(obj.PublicIpAddresses && { PublicIpAddresses: SENSITIVE_STRING }),
+});
/**
- * @public
+ * @internal
*/
-export interface ModifyConversionConfigurationResponse {
- /**
- * The name or Amazon Resource Name (ARN) of the modified configuration.
- * @public
- */
- MigrationProjectIdentifier?: string;
-}
+export const CreateDataMigrationResponseFilterSensitiveLog = (obj: CreateDataMigrationResponse): any => ({
+ ...obj,
+ ...(obj.DataMigration && { DataMigration: DataMigrationFilterSensitiveLog(obj.DataMigration) }),
+});
/**
* @internal
@@ -12662,6 +12890,14 @@ export const CreateEndpointResponseFilterSensitiveLog = (obj: CreateEndpointResp
...(obj.Endpoint && { Endpoint: EndpointFilterSensitiveLog(obj.Endpoint) }),
});
+/**
+ * @internal
+ */
+export const DeleteDataMigrationResponseFilterSensitiveLog = (obj: DeleteDataMigrationResponse): any => ({
+ ...obj,
+ ...(obj.DataMigration && { DataMigration: DataMigrationFilterSensitiveLog(obj.DataMigration) }),
+});
+
/**
* @internal
*/
@@ -12673,15 +12909,17 @@ export const DeleteEndpointResponseFilterSensitiveLog = (obj: DeleteEndpointResp
/**
* @internal
*/
-export const DescribeEndpointsResponseFilterSensitiveLog = (obj: DescribeEndpointsResponse): any => ({
+export const DescribeDataMigrationsResponseFilterSensitiveLog = (obj: DescribeDataMigrationsResponse): any => ({
...obj,
- ...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => EndpointFilterSensitiveLog(item)) }),
+ ...(obj.DataMigrations && {
+ DataMigrations: obj.DataMigrations.map((item) => DataMigrationFilterSensitiveLog(item)),
+ }),
});
/**
* @internal
*/
-export const ImportCertificateMessageFilterSensitiveLog = (obj: ImportCertificateMessage): any => ({
+export const DescribeEndpointsResponseFilterSensitiveLog = (obj: DescribeEndpointsResponse): any => ({
...obj,
- ...(obj.CertificatePem && { CertificatePem: SENSITIVE_STRING }),
+ ...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => EndpointFilterSensitiveLog(item)) }),
});
diff --git a/clients/client-database-migration-service/src/models/models_1.ts b/clients/client-database-migration-service/src/models/models_1.ts
index 73d5d10ce1ff..a3ac15be08f0 100644
--- a/clients/client-database-migration-service/src/models/models_1.ts
+++ b/clients/client-database-migration-service/src/models/models_1.ts
@@ -4,8 +4,11 @@ import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "
import { DatabaseMigrationServiceServiceException as __BaseException } from "./DatabaseMigrationServiceServiceException";
import {
+ Certificate,
ComputeConfig,
Connection,
+ DataMigration,
+ DataMigrationFilterSensitiveLog,
DataProvider,
DataProviderDescriptorDefinition,
DataProviderSettings,
@@ -54,11 +57,283 @@ import {
ReplicationTaskAssessmentRun,
S3Settings,
SCApplicationAttributes,
+ SourceDataSetting,
SybaseSettings,
SybaseSettingsFilterSensitiveLog,
+ Tag,
TimestreamSettings,
} from "./models_0";
+/**
+ * @public
+ * @enum
+ */
+export const AssessmentReportType = {
+ CSV: "csv",
+ PDF: "pdf",
+} as const;
+
+/**
+ * @public
+ */
+export type AssessmentReportType = (typeof AssessmentReportType)[keyof typeof AssessmentReportType];
+
+/**
+ * @public
+ */
+export interface ExportMetadataModelAssessmentMessage {
+ /**
+ * The migration project name or Amazon Resource Name (ARN).
+ * @public
+ */
+ MigrationProjectIdentifier: string | undefined;
+
+ /**
+ * A value that specifies the database objects to assess.
+ * @public
+ */
+ SelectionRules: string | undefined;
+
+ /**
+ * The name of the assessment file to create in your Amazon S3 bucket.
+ * @public
+ */
+ FileName?: string;
+
+ /**
+ * The file format of the assessment file.
+ * @public
+ */
+ AssessmentReportTypes?: AssessmentReportType[];
+}
+
+/**
+ * Provides information about an exported metadata model assessment.
+ * @public
+ */
+export interface ExportMetadataModelAssessmentResultEntry {
+ /**
+ * The object key for the object containing the exported metadata model assessment.
+ * @public
+ */
+ S3ObjectKey?: string;
+
+ /**
+ * The URL for the object containing the exported metadata model assessment.
+ * @public
+ */
+ ObjectURL?: string;
+}
+
+/**
+ * @public
+ */
+export interface ExportMetadataModelAssessmentResponse {
+ /**
+ * The Amazon S3 details for an assessment exported in PDF format.
+ * @public
+ */
+ PdfReport?: ExportMetadataModelAssessmentResultEntry;
+
+ /**
+ * The Amazon S3 details for an assessment exported in CSV format.
+ * @public
+ */
+ CsvReport?: ExportMetadataModelAssessmentResultEntry;
+}
+
+/**
+ * @public
+ */
+export interface ImportCertificateMessage {
+ /**
+ * A customer-assigned name for the certificate. Identifiers must begin with a letter and
+ * must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or
+ * contain two consecutive hyphens.
+ * @public
+ */
+ CertificateIdentifier: string | undefined;
+
+ /**
+ * The contents of a .pem
file, which contains an X.509 certificate.
+ * @public
+ */
+ CertificatePem?: string;
+
+ /**
+ * The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file
+ * using the fileb://
prefix. You can't provide the certificate inline.
+ * Example: filebase64("$\{path.root\}/rds-ca-2019-root.sso")
+ *
+ * @public
+ */
+ CertificateWallet?: Uint8Array;
+
+ /**
+ * The tags associated with the certificate.
+ * @public
+ */
+ Tags?: Tag[];
+}
+
+/**
+ * @public
+ */
+export interface ImportCertificateResponse {
+ /**
+ * The certificate to be uploaded.
+ * @public
+ */
+ Certificate?: Certificate;
+}
+
+/**
+ * The certificate was not valid.
+ * @public
+ */
+export class InvalidCertificateFault extends __BaseException {
+ readonly name: "InvalidCertificateFault" = "InvalidCertificateFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "InvalidCertificateFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, InvalidCertificateFault.prototype);
+ }
+}
+
+/**
+ *
+ * @public
+ */
+export interface ListTagsForResourceMessage {
+ /**
+ * The Amazon Resource Name (ARN) string that uniquely identifies the DMS resource to
+ * list tags for. This returns a list of keys (names of tags) created for the resource and
+ * their associated tag values.
+ * @public
+ */
+ ResourceArn?: string;
+
+ /**
+ * List of ARNs that identify multiple DMS resources that you want to list tags for. This
+ * returns a list of keys (tag names) and their associated tag values. It also returns each
+ * tag's associated ResourceArn
value, which is the ARN of the resource for which
+ * each listed tag is created.
+ * @public
+ */
+ ResourceArnList?: string[];
+}
+
+/**
+ *
+ * @public
+ */
+export interface ListTagsForResourceResponse {
+ /**
+ * A list of tags for the resource.
+ * @public
+ */
+ TagList?: Tag[];
+}
+
+/**
+ * @public
+ */
+export interface ModifyConversionConfigurationMessage {
+ /**
+ * The migration project name or Amazon Resource Name (ARN).
+ * @public
+ */
+ MigrationProjectIdentifier: string | undefined;
+
+ /**
+ * The new conversion configuration.
+ * @public
+ */
+ ConversionConfiguration: string | undefined;
+}
+
+/**
+ * @public
+ */
+export interface ModifyConversionConfigurationResponse {
+ /**
+ * The name or Amazon Resource Name (ARN) of the modified configuration.
+ * @public
+ */
+ MigrationProjectIdentifier?: string;
+}
+
+/**
+ * @public
+ */
+export interface ModifyDataMigrationMessage {
+ /**
+ * The identifier (name or ARN) of the data migration to modify.
+ * @public
+ */
+ DataMigrationIdentifier: string | undefined;
+
+ /**
+ * The new name for the data migration.
+ * @public
+ */
+ DataMigrationName?: string;
+
+ /**
+ * Whether to enable Cloudwatch logs for the data migration.
+ * @public
+ */
+ EnableCloudwatchLogs?: boolean;
+
+ /**
+ * The new service access role ARN for the data migration.
+ * @public
+ */
+ ServiceAccessRoleArn?: string;
+
+ /**
+ * The new migration type for the data migration.
+ * @public
+ */
+ DataMigrationType?: MigrationTypeValue;
+
+ /**
+ * The new information about the source data provider for the data migration.
+ * @public
+ */
+ SourceDataSettings?: SourceDataSetting[];
+
+ /**
+ * The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
+ * @public
+ */
+ NumberOfJobs?: number;
+
+ /**
+ * A JSON-formatted string that defines what objects to include and exclude from the migration.
+ * @public
+ */
+ SelectionRules?: string;
+}
+
+/**
+ * @public
+ */
+export interface ModifyDataMigrationResponse {
+ /**
+ * Information about the modified data migration.
+ * @public
+ */
+ DataMigration?: DataMigration;
+}
+
/**
* @public
*/
@@ -1298,6 +1573,51 @@ export interface RunFleetAdvisorLsaAnalysisResponse {
Status?: string;
}
+/**
+ * @public
+ * @enum
+ */
+export const StartReplicationMigrationTypeValue = {
+ RELOAD_TARGET: "reload-target",
+ RESUME_PROCESSING: "resume-processing",
+ START_REPLICATION: "start-replication",
+} as const;
+
+/**
+ * @public
+ */
+export type StartReplicationMigrationTypeValue =
+ (typeof StartReplicationMigrationTypeValue)[keyof typeof StartReplicationMigrationTypeValue];
+
+/**
+ * @public
+ */
+export interface StartDataMigrationMessage {
+ /**
+ * The identifier (name or ARN) of the data migration to start.
+ * @public
+ */
+ DataMigrationIdentifier: string | undefined;
+
+ /**
+ * Specifies the start type for the data migration. Valid values include
+ * start-replication
, reload-target
, and resume-processing
.
+ * @public
+ */
+ StartType: StartReplicationMigrationTypeValue | undefined;
+}
+
+/**
+ * @public
+ */
+export interface StartDataMigrationResponse {
+ /**
+ * The data migration that DMS started.
+ * @public
+ */
+ DataMigration?: DataMigration;
+}
+
/**
* @public
*/
@@ -1833,6 +2153,28 @@ export interface StartReplicationTaskAssessmentRunResponse {
ReplicationTaskAssessmentRun?: ReplicationTaskAssessmentRun;
}
+/**
+ * @public
+ */
+export interface StopDataMigrationMessage {
+ /**
+ * The identifier (name or ARN) of the data migration to stop.
+ * @public
+ */
+ DataMigrationIdentifier: string | undefined;
+}
+
+/**
+ * @public
+ */
+export interface StopDataMigrationResponse {
+ /**
+ * The data migration that DMS stopped.
+ * @public
+ */
+ DataMigration?: DataMigration;
+}
+
/**
*
* @public
@@ -1938,6 +2280,30 @@ export interface UpdateSubscriptionsToEventBridgeResponse {
Result?: string;
}
+/**
+ * @internal
+ */
+export const ImportCertificateMessageFilterSensitiveLog = (obj: ImportCertificateMessage): any => ({
+ ...obj,
+ ...(obj.CertificatePem && { CertificatePem: SENSITIVE_STRING }),
+});
+
+/**
+ * @internal
+ */
+export const ModifyDataMigrationMessageFilterSensitiveLog = (obj: ModifyDataMigrationMessage): any => ({
+ ...obj,
+ ...(obj.SelectionRules && { SelectionRules: SENSITIVE_STRING }),
+});
+
+/**
+ * @internal
+ */
+export const ModifyDataMigrationResponseFilterSensitiveLog = (obj: ModifyDataMigrationResponse): any => ({
+ ...obj,
+ ...(obj.DataMigration && { DataMigration: DataMigrationFilterSensitiveLog(obj.DataMigration) }),
+});
+
/**
* @internal
*/
@@ -1967,3 +2333,19 @@ export const ModifyEndpointResponseFilterSensitiveLog = (obj: ModifyEndpointResp
...obj,
...(obj.Endpoint && { Endpoint: EndpointFilterSensitiveLog(obj.Endpoint) }),
});
+
+/**
+ * @internal
+ */
+export const StartDataMigrationResponseFilterSensitiveLog = (obj: StartDataMigrationResponse): any => ({
+ ...obj,
+ ...(obj.DataMigration && { DataMigration: DataMigrationFilterSensitiveLog(obj.DataMigration) }),
+});
+
+/**
+ * @internal
+ */
+export const StopDataMigrationResponseFilterSensitiveLog = (obj: StopDataMigrationResponse): any => ({
+ ...obj,
+ ...(obj.DataMigration && { DataMigration: DataMigrationFilterSensitiveLog(obj.DataMigration) }),
+});
diff --git a/clients/client-database-migration-service/src/pagination/DescribeDataMigrationsPaginator.ts b/clients/client-database-migration-service/src/pagination/DescribeDataMigrationsPaginator.ts
new file mode 100644
index 000000000000..630769b6b572
--- /dev/null
+++ b/clients/client-database-migration-service/src/pagination/DescribeDataMigrationsPaginator.ts
@@ -0,0 +1,24 @@
+// smithy-typescript generated code
+import { createPaginator } from "@smithy/core";
+import { Paginator } from "@smithy/types";
+
+import {
+ DescribeDataMigrationsCommand,
+ DescribeDataMigrationsCommandInput,
+ DescribeDataMigrationsCommandOutput,
+} from "../commands/DescribeDataMigrationsCommand";
+import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
+import { DatabaseMigrationServicePaginationConfiguration } from "./Interfaces";
+
+/**
+ * @public
+ */
+export const paginateDescribeDataMigrations: (
+ config: DatabaseMigrationServicePaginationConfiguration,
+ input: DescribeDataMigrationsCommandInput,
+ ...rest: any[]
+) => Paginator = createPaginator<
+ DatabaseMigrationServicePaginationConfiguration,
+ DescribeDataMigrationsCommandInput,
+ DescribeDataMigrationsCommandOutput
+>(DatabaseMigrationServiceClient, DescribeDataMigrationsCommand, "Marker", "Marker", "MaxRecords");
diff --git a/clients/client-database-migration-service/src/pagination/index.ts b/clients/client-database-migration-service/src/pagination/index.ts
index 35c678d23027..6e81f0c2267e 100644
--- a/clients/client-database-migration-service/src/pagination/index.ts
+++ b/clients/client-database-migration-service/src/pagination/index.ts
@@ -4,6 +4,8 @@ export * from "./DescribeCertificatesPaginator";
export * from "./DescribeConnectionsPaginator";
+export * from "./DescribeDataMigrationsPaginator";
+
export * from "./DescribeDataProvidersPaginator";
export * from "./DescribeEndpointSettingsPaginator";
@@ -15,10 +17,9 @@ export * from "./DescribeEndpointsPaginator";
export * from "./DescribeEngineVersionsPaginator";
export * from "./DescribeEventSubscriptionsPaginator";
-
-export * from "./DescribeEventsPaginator";
// smithy-typescript generated code
export * from "./Interfaces";
+export * from "./DescribeEventsPaginator";
export * from "./DescribeExtensionPackAssociationsPaginator";
export * from "./DescribeFleetAdvisorCollectorsPaginator";
export * from "./DescribeFleetAdvisorDatabasesPaginator";
diff --git a/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts b/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts
index 67996e9ccfa4..8060211387c7 100644
--- a/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts
+++ b/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts
@@ -19,6 +19,7 @@ import {
limitedParseDouble as __limitedParseDouble,
parseEpochTimestamp as __parseEpochTimestamp,
parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset,
+ serializeDateTime as __serializeDateTime,
take,
withBaseException,
} from "@smithy/smithy-client";
@@ -42,6 +43,10 @@ import {
CancelReplicationTaskAssessmentRunCommandInput,
CancelReplicationTaskAssessmentRunCommandOutput,
} from "../commands/CancelReplicationTaskAssessmentRunCommand";
+import {
+ CreateDataMigrationCommandInput,
+ CreateDataMigrationCommandOutput,
+} from "../commands/CreateDataMigrationCommand";
import { CreateDataProviderCommandInput, CreateDataProviderCommandOutput } from "../commands/CreateDataProviderCommand";
import { CreateEndpointCommandInput, CreateEndpointCommandOutput } from "../commands/CreateEndpointCommand";
import {
@@ -78,6 +83,10 @@ import {
} from "../commands/CreateReplicationTaskCommand";
import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "../commands/DeleteCertificateCommand";
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "../commands/DeleteConnectionCommand";
+import {
+ DeleteDataMigrationCommandInput,
+ DeleteDataMigrationCommandOutput,
+} from "../commands/DeleteDataMigrationCommand";
import { DeleteDataProviderCommandInput, DeleteDataProviderCommandOutput } from "../commands/DeleteDataProviderCommand";
import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "../commands/DeleteEndpointCommand";
import {
@@ -140,6 +149,10 @@ import {
DescribeConversionConfigurationCommandInput,
DescribeConversionConfigurationCommandOutput,
} from "../commands/DescribeConversionConfigurationCommand";
+import {
+ DescribeDataMigrationsCommandInput,
+ DescribeDataMigrationsCommandOutput,
+} from "../commands/DescribeDataMigrationsCommand";
import {
DescribeDataProvidersCommandInput,
DescribeDataProvidersCommandOutput,
@@ -296,6 +309,10 @@ import {
ModifyConversionConfigurationCommandInput,
ModifyConversionConfigurationCommandOutput,
} from "../commands/ModifyConversionConfigurationCommand";
+import {
+ ModifyDataMigrationCommandInput,
+ ModifyDataMigrationCommandOutput,
+} from "../commands/ModifyDataMigrationCommand";
import { ModifyDataProviderCommandInput, ModifyDataProviderCommandOutput } from "../commands/ModifyDataProviderCommand";
import { ModifyEndpointCommandInput, ModifyEndpointCommandOutput } from "../commands/ModifyEndpointCommand";
import {
@@ -348,6 +365,7 @@ import {
RunFleetAdvisorLsaAnalysisCommandInput,
RunFleetAdvisorLsaAnalysisCommandOutput,
} from "../commands/RunFleetAdvisorLsaAnalysisCommand";
+import { StartDataMigrationCommandInput, StartDataMigrationCommandOutput } from "../commands/StartDataMigrationCommand";
import {
StartExtensionPackAssociationCommandInput,
StartExtensionPackAssociationCommandOutput,
@@ -389,6 +407,7 @@ import {
StartReplicationTaskCommandInput,
StartReplicationTaskCommandOutput,
} from "../commands/StartReplicationTaskCommand";
+import { StopDataMigrationCommandInput, StopDataMigrationCommandOutput } from "../commands/StopDataMigrationCommand";
import { StopReplicationCommandInput, StopReplicationCommandOutput } from "../commands/StopReplicationCommand";
import {
StopReplicationTaskCommandInput,
@@ -405,13 +424,14 @@ import {
AddTagsToResourceMessage,
ApplyPendingMaintenanceActionMessage,
ApplyPendingMaintenanceActionResponse,
- AssessmentReportType,
BatchStartRecommendationsRequest,
CancelReplicationTaskAssessmentRunMessage,
CancelReplicationTaskAssessmentRunResponse,
Certificate,
CollectorNotFoundFault,
ComputeConfig,
+ CreateDataMigrationMessage,
+ CreateDataMigrationResponse,
CreateDataProviderMessage,
CreateDataProviderResponse,
CreateEndpointMessage,
@@ -428,6 +448,8 @@ import {
CreateReplicationSubnetGroupMessage,
CreateReplicationTaskMessage,
CreateReplicationTaskResponse,
+ DataMigration,
+ DataMigrationStatistics,
DataProvider,
DataProviderDescriptorDefinition,
DataProviderSettings,
@@ -435,6 +457,8 @@ import {
DeleteCertificateResponse,
DeleteCollectorRequest,
DeleteConnectionMessage,
+ DeleteDataMigrationMessage,
+ DeleteDataMigrationResponse,
DeleteDataProviderMessage,
DeleteDataProviderResponse,
DeleteEndpointMessage,
@@ -459,6 +483,8 @@ import {
DescribeCertificatesResponse,
DescribeConnectionsMessage,
DescribeConversionConfigurationMessage,
+ DescribeDataMigrationsMessage,
+ DescribeDataMigrationsResponse,
DescribeDataProvidersMessage,
DescribeDataProvidersResponse,
DescribeEndpointSettingsMessage,
@@ -522,15 +548,12 @@ import {
ElasticsearchSettings,
EngineVersion,
Event,
- ExportMetadataModelAssessmentMessage,
+ FailedDependencyFault,
Filter,
GcpMySQLSettings,
IBMDb2Settings,
- ImportCertificateMessage,
- ImportCertificateResponse,
InstanceProfile,
InsufficientResourceCapacityFault,
- InvalidCertificateFault,
InvalidOperationFault,
InvalidResourceStateFault,
InvalidSubnet,
@@ -542,12 +565,10 @@ import {
KMSKeyNotAccessibleFault,
KMSNotFoundFault,
KMSThrottlingFault,
- ListTagsForResourceMessage,
MariaDbDataProviderSettings,
MicrosoftSqlServerDataProviderSettings,
MicrosoftSQLServerSettings,
MigrationProject,
- ModifyConversionConfigurationMessage,
MongoDbDataProviderSettings,
MongoDbSettings,
MySqlDataProviderSettings,
@@ -590,6 +611,7 @@ import {
SchemaResponse,
SNSInvalidTopicFault,
SNSNoAuthorizationFault,
+ SourceDataSetting,
StartRecommendationsRequestEntry,
StorageQuotaExceededFault,
SybaseSettings,
@@ -598,7 +620,16 @@ import {
TimestreamSettings,
} from "../models/models_0";
import {
+ AssessmentReportType,
+ ExportMetadataModelAssessmentMessage,
+ ImportCertificateMessage,
+ ImportCertificateResponse,
+ InvalidCertificateFault,
KMSFault,
+ ListTagsForResourceMessage,
+ ModifyConversionConfigurationMessage,
+ ModifyDataMigrationMessage,
+ ModifyDataMigrationResponse,
ModifyDataProviderMessage,
ModifyDataProviderResponse,
ModifyEndpointMessage,
@@ -623,6 +654,8 @@ import {
ReloadReplicationTablesMessage,
ReloadTablesMessage,
RemoveTagsFromResourceMessage,
+ StartDataMigrationMessage,
+ StartDataMigrationResponse,
StartExtensionPackAssociationMessage,
StartMetadataModelAssessmentMessage,
StartMetadataModelConversionMessage,
@@ -638,6 +671,8 @@ import {
StartReplicationTaskAssessmentRunResponse,
StartReplicationTaskMessage,
StartReplicationTaskResponse,
+ StopDataMigrationMessage,
+ StopDataMigrationResponse,
StopReplicationMessage,
StopReplicationResponse,
StopReplicationTaskMessage,
@@ -701,6 +736,19 @@ export const se_CancelReplicationTaskAssessmentRunCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_json1_1CreateDataMigrationCommand
+ */
+export const se_CreateDataMigrationCommand = async (
+ input: CreateDataMigrationCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("CreateDataMigration");
+ let body: any;
+ body = JSON.stringify(se_CreateDataMigrationMessage(input, context));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_json1_1CreateDataProviderCommand
*/
@@ -857,6 +905,19 @@ export const se_DeleteConnectionCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_json1_1DeleteDataMigrationCommand
+ */
+export const se_DeleteDataMigrationCommand = async (
+ input: DeleteDataMigrationCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("DeleteDataMigration");
+ let body: any;
+ body = JSON.stringify(_json(input));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_json1_1DeleteDataProviderCommand
*/
@@ -1078,6 +1139,19 @@ export const se_DescribeConversionConfigurationCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_json1_1DescribeDataMigrationsCommand
+ */
+export const se_DescribeDataMigrationsCommand = async (
+ input: DescribeDataMigrationsCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("DescribeDataMigrations");
+ let body: any;
+ body = JSON.stringify(_json(input));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_json1_1DescribeDataProvidersCommand
*/
@@ -1624,6 +1698,19 @@ export const se_ModifyConversionConfigurationCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_json1_1ModifyDataMigrationCommand
+ */
+export const se_ModifyDataMigrationCommand = async (
+ input: ModifyDataMigrationCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("ModifyDataMigration");
+ let body: any;
+ body = JSON.stringify(se_ModifyDataMigrationMessage(input, context));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_json1_1ModifyDataProviderCommand
*/
@@ -1831,6 +1918,19 @@ export const se_RunFleetAdvisorLsaAnalysisCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_json1_1StartDataMigrationCommand
+ */
+export const se_StartDataMigrationCommand = async (
+ input: StartDataMigrationCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("StartDataMigration");
+ let body: any;
+ body = JSON.stringify(_json(input));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_json1_1StartExtensionPackAssociationCommand
*/
@@ -1974,6 +2074,19 @@ export const se_StartReplicationTaskAssessmentRunCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_json1_1StopDataMigrationCommand
+ */
+export const se_StopDataMigrationCommand = async (
+ input: StopDataMigrationCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("StopDataMigration");
+ let body: any;
+ body = JSON.stringify(_json(input));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_json1_1StopReplicationCommand
*/
@@ -2106,6 +2219,26 @@ export const de_CancelReplicationTaskAssessmentRunCommand = async (
return response;
};
+/**
+ * deserializeAws_json1_1CreateDataMigrationCommand
+ */
+export const de_CreateDataMigrationCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_CreateDataMigrationResponse(data, context);
+ const response: CreateDataMigrationCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
/**
* deserializeAws_json1_1CreateDataProviderCommand
*/
@@ -2346,6 +2479,26 @@ export const de_DeleteConnectionCommand = async (
return response;
};
+/**
+ * deserializeAws_json1_1DeleteDataMigrationCommand
+ */
+export const de_DeleteDataMigrationCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DeleteDataMigrationResponse(data, context);
+ const response: DeleteDataMigrationCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
/**
* deserializeAws_json1_1DeleteDataProviderCommand
*/
@@ -2683,6 +2836,26 @@ export const de_DescribeConversionConfigurationCommand = async (
return response;
};
+/**
+ * deserializeAws_json1_1DescribeDataMigrationsCommand
+ */
+export const de_DescribeDataMigrationsCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DescribeDataMigrationsResponse(data, context);
+ const response: DescribeDataMigrationsCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
/**
* deserializeAws_json1_1DescribeDataProvidersCommand
*/
@@ -3523,6 +3696,26 @@ export const de_ModifyConversionConfigurationCommand = async (
return response;
};
+/**
+ * deserializeAws_json1_1ModifyDataMigrationCommand
+ */
+export const de_ModifyDataMigrationCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_ModifyDataMigrationResponse(data, context);
+ const response: ModifyDataMigrationCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
/**
* deserializeAws_json1_1ModifyDataProviderCommand
*/
@@ -3843,6 +4036,26 @@ export const de_RunFleetAdvisorLsaAnalysisCommand = async (
return response;
};
+/**
+ * deserializeAws_json1_1StartDataMigrationCommand
+ */
+export const de_StartDataMigrationCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_StartDataMigrationResponse(data, context);
+ const response: StartDataMigrationCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
/**
* deserializeAws_json1_1StartExtensionPackAssociationCommand
*/
@@ -4060,6 +4273,26 @@ export const de_StartReplicationTaskAssessmentRunCommand = async (
return response;
};
+/**
+ * deserializeAws_json1_1StopDataMigrationCommand
+ */
+export const de_StopDataMigrationCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_StopDataMigrationResponse(data, context);
+ const response: StopDataMigrationCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
/**
* deserializeAws_json1_1StopReplicationCommand
*/
@@ -4150,15 +4383,21 @@ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext):
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
+ case "InvalidResourceStateFault":
+ case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
+ throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
case "ResourceNotFoundFault":
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
case "AccessDeniedFault":
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
throw await de_AccessDeniedFaultRes(parsedOutput, context);
- case "InvalidResourceStateFault":
- case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
- throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
+ case "FailedDependencyFault":
+ case "com.amazonaws.databasemigrationservice#FailedDependencyFault":
+ throw await de_FailedDependencyFaultRes(parsedOutput, context);
+ case "InvalidOperationFault":
+ case "com.amazonaws.databasemigrationservice#InvalidOperationFault":
+ throw await de_InvalidOperationFaultRes(parsedOutput, context);
case "ResourceAlreadyExistsFault":
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
@@ -4210,9 +4449,6 @@ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext):
case "CollectorNotFoundFault":
case "com.amazonaws.databasemigrationservice#CollectorNotFoundFault":
throw await de_CollectorNotFoundFaultRes(parsedOutput, context);
- case "InvalidOperationFault":
- case "com.amazonaws.databasemigrationservice#InvalidOperationFault":
- throw await de_InvalidOperationFaultRes(parsedOutput, context);
case "InvalidCertificateFault":
case "com.amazonaws.databasemigrationservice#InvalidCertificateFault":
throw await de_InvalidCertificateFaultRes(parsedOutput, context);
@@ -4264,6 +4500,22 @@ const de_CollectorNotFoundFaultRes = async (
return __decorateServiceException(exception, body);
};
+/**
+ * deserializeAws_json1_1FailedDependencyFaultRes
+ */
+const de_FailedDependencyFaultRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new FailedDependencyFault({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
/**
* deserializeAws_json1_1InsufficientResourceCapacityFaultRes
*/
@@ -4625,6 +4877,23 @@ const de_UpgradeDependencyFailureFaultRes = async (
// se_ComputeConfig omitted.
+/**
+ * serializeAws_json1_1CreateDataMigrationMessage
+ */
+const se_CreateDataMigrationMessage = (input: CreateDataMigrationMessage, context: __SerdeContext): any => {
+ return take(input, {
+ DataMigrationName: [],
+ DataMigrationType: [],
+ EnableCloudwatchLogs: [],
+ MigrationProjectIdentifier: [],
+ NumberOfJobs: [],
+ SelectionRules: [],
+ ServiceAccessRoleArn: [],
+ SourceDataSettings: (_) => se_SourceDataSettings(_, context),
+ Tags: _json,
+ });
+};
+
// se_CreateDataProviderMessage omitted.
// se_CreateEndpointMessage omitted.
@@ -4676,6 +4945,8 @@ const se_CreateReplicationTaskMessage = (input: CreateReplicationTaskMessage, co
// se_DeleteConnectionMessage omitted.
+// se_DeleteDataMigrationMessage omitted.
+
// se_DeleteDataProviderMessage omitted.
// se_DeleteEndpointMessage omitted.
@@ -4708,6 +4979,8 @@ const se_CreateReplicationTaskMessage = (input: CreateReplicationTaskMessage, co
// se_DescribeConversionConfigurationMessage omitted.
+// se_DescribeDataMigrationsMessage omitted.
+
// se_DescribeDataProvidersMessage omitted.
// se_DescribeEndpointSettingsMessage omitted.
@@ -4857,6 +5130,22 @@ const se_ImportCertificateMessage = (input: ImportCertificateMessage, context: _
// se_ModifyConversionConfigurationMessage omitted.
+/**
+ * serializeAws_json1_1ModifyDataMigrationMessage
+ */
+const se_ModifyDataMigrationMessage = (input: ModifyDataMigrationMessage, context: __SerdeContext): any => {
+ return take(input, {
+ DataMigrationIdentifier: [],
+ DataMigrationName: [],
+ DataMigrationType: [],
+ EnableCloudwatchLogs: [],
+ NumberOfJobs: [],
+ SelectionRules: [],
+ ServiceAccessRoleArn: [],
+ SourceDataSettings: (_) => se_SourceDataSettings(_, context),
+ });
+};
+
// se_ModifyDataProviderMessage omitted.
// se_ModifyEndpointMessage omitted.
@@ -4932,8 +5221,33 @@ const se_ModifyReplicationTaskMessage = (input: ModifyReplicationTaskMessage, co
// se_SCApplicationAttributes omitted.
+/**
+ * serializeAws_json1_1SourceDataSetting
+ */
+const se_SourceDataSetting = (input: SourceDataSetting, context: __SerdeContext): any => {
+ return take(input, {
+ CDCStartPosition: [],
+ CDCStartTime: __serializeDateTime,
+ CDCStopTime: __serializeDateTime,
+ SlotName: [],
+ });
+};
+
+/**
+ * serializeAws_json1_1SourceDataSettings
+ */
+const se_SourceDataSettings = (input: SourceDataSetting[], context: __SerdeContext): any => {
+ return input
+ .filter((e: any) => e != null)
+ .map((entry) => {
+ return se_SourceDataSetting(entry, context);
+ });
+};
+
// se_SourceIdsList omitted.
+// se_StartDataMigrationMessage omitted.
+
// se_StartExtensionPackAssociationMessage omitted.
// se_StartMetadataModelAssessmentMessage omitted.
@@ -4982,6 +5296,8 @@ const se_StartReplicationTaskMessage = (input: StartReplicationTaskMessage, cont
});
};
+// se_StopDataMigrationMessage omitted.
+
// se_StopReplicationMessage omitted.
// se_StopReplicationTaskMessage omitted.
@@ -5100,6 +5416,15 @@ const de_CertificateList = (output: any, context: __SerdeContext): Certificate[]
// de_ConnectionList omitted.
+/**
+ * deserializeAws_json1_1CreateDataMigrationResponse
+ */
+const de_CreateDataMigrationResponse = (output: any, context: __SerdeContext): CreateDataMigrationResponse => {
+ return take(output, {
+ DataMigration: (_: any) => de_DataMigration(_, context),
+ }) as any;
+};
+
/**
* deserializeAws_json1_1CreateDataProviderResponse
*/
@@ -5173,6 +5498,60 @@ const de_CreateReplicationTaskResponse = (output: any, context: __SerdeContext):
// de_DatabaseShortInfoResponse omitted.
+/**
+ * deserializeAws_json1_1DataMigration
+ */
+const de_DataMigration = (output: any, context: __SerdeContext): DataMigration => {
+ return take(output, {
+ DataMigrationArn: __expectString,
+ DataMigrationCreateTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ DataMigrationEndTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ DataMigrationName: __expectString,
+ DataMigrationSettings: _json,
+ DataMigrationStartTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ DataMigrationStatistics: (_: any) => de_DataMigrationStatistics(_, context),
+ DataMigrationStatus: __expectString,
+ DataMigrationType: __expectString,
+ LastFailureMessage: __expectString,
+ MigrationProjectArn: __expectString,
+ PublicIpAddresses: _json,
+ ServiceAccessRoleArn: __expectString,
+ SourceDataSettings: (_: any) => de_SourceDataSettings(_, context),
+ StopReason: __expectString,
+ }) as any;
+};
+
+/**
+ * deserializeAws_json1_1DataMigrations
+ */
+const de_DataMigrations = (output: any, context: __SerdeContext): DataMigration[] => {
+ const retVal = (output || [])
+ .filter((e: any) => e != null)
+ .map((entry: any) => {
+ return de_DataMigration(entry, context);
+ });
+ return retVal;
+};
+
+// de_DataMigrationSettings omitted.
+
+/**
+ * deserializeAws_json1_1DataMigrationStatistics
+ */
+const de_DataMigrationStatistics = (output: any, context: __SerdeContext): DataMigrationStatistics => {
+ return take(output, {
+ CDCLatency: __expectInt32,
+ ElapsedTimeMillis: __expectLong,
+ FullLoadPercentage: __expectInt32,
+ StartTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ StopTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ TablesErrored: __expectInt32,
+ TablesLoaded: __expectInt32,
+ TablesLoading: __expectInt32,
+ TablesQueued: __expectInt32,
+ }) as any;
+};
+
/**
* deserializeAws_json1_1DataProvider
*/
@@ -5218,6 +5597,15 @@ const de_DeleteCertificateResponse = (output: any, context: __SerdeContext): Del
// de_DeleteConnectionResponse omitted.
+/**
+ * deserializeAws_json1_1DeleteDataMigrationResponse
+ */
+const de_DeleteDataMigrationResponse = (output: any, context: __SerdeContext): DeleteDataMigrationResponse => {
+ return take(output, {
+ DataMigration: (_: any) => de_DataMigration(_, context),
+ }) as any;
+};
+
/**
* deserializeAws_json1_1DeleteDataProviderResponse
*/
@@ -5313,6 +5701,16 @@ const de_DescribeCertificatesResponse = (output: any, context: __SerdeContext):
// de_DescribeConversionConfigurationResponse omitted.
+/**
+ * deserializeAws_json1_1DescribeDataMigrationsResponse
+ */
+const de_DescribeDataMigrationsResponse = (output: any, context: __SerdeContext): DescribeDataMigrationsResponse => {
+ return take(output, {
+ DataMigrations: (_: any) => de_DataMigrations(_, context),
+ Marker: __expectString,
+ }) as any;
+};
+
/**
* deserializeAws_json1_1DescribeDataProvidersResponse
*/
@@ -5662,6 +6060,8 @@ const de_EventList = (output: any, context: __SerdeContext): Event[] => {
// de_ExportSqlDetails omitted.
+// de_FailedDependencyFault omitted.
+
// de_FleetAdvisorLsaAnalysisResponse omitted.
// de_FleetAdvisorLsaAnalysisResponseList omitted.
@@ -5803,6 +6203,15 @@ const de_MigrationProjectList = (output: any, context: __SerdeContext): Migratio
// de_ModifyConversionConfigurationResponse omitted.
+/**
+ * deserializeAws_json1_1ModifyDataMigrationResponse
+ */
+const de_ModifyDataMigrationResponse = (output: any, context: __SerdeContext): ModifyDataMigrationResponse => {
+ return take(output, {
+ DataMigration: (_: any) => de_DataMigration(_, context),
+ }) as any;
+};
+
/**
* deserializeAws_json1_1ModifyDataProviderResponse
*/
@@ -5949,6 +6358,8 @@ const de_ProvisionData = (output: any, context: __SerdeContext): ProvisionData =
}) as any;
};
+// de_PublicIpAddressList omitted.
+
/**
* deserializeAws_json1_1RdsConfiguration
*/
@@ -6452,8 +6863,41 @@ const de_SchemaResponse = (output: any, context: __SerdeContext): SchemaResponse
// de_SNSNoAuthorizationFault omitted.
+/**
+ * deserializeAws_json1_1SourceDataSetting
+ */
+const de_SourceDataSetting = (output: any, context: __SerdeContext): SourceDataSetting => {
+ return take(output, {
+ CDCStartPosition: __expectString,
+ CDCStartTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ CDCStopTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
+ SlotName: __expectString,
+ }) as any;
+};
+
+/**
+ * deserializeAws_json1_1SourceDataSettings
+ */
+const de_SourceDataSettings = (output: any, context: __SerdeContext): SourceDataSetting[] => {
+ const retVal = (output || [])
+ .filter((e: any) => e != null)
+ .map((entry: any) => {
+ return de_SourceDataSetting(entry, context);
+ });
+ return retVal;
+};
+
// de_SourceIdsList omitted.
+/**
+ * deserializeAws_json1_1StartDataMigrationResponse
+ */
+const de_StartDataMigrationResponse = (output: any, context: __SerdeContext): StartDataMigrationResponse => {
+ return take(output, {
+ DataMigration: (_: any) => de_DataMigration(_, context),
+ }) as any;
+};
+
// de_StartExtensionPackAssociationResponse omitted.
// de_StartMetadataModelAssessmentResponse omitted.
@@ -6508,6 +6952,15 @@ const de_StartReplicationTaskResponse = (output: any, context: __SerdeContext):
}) as any;
};
+/**
+ * deserializeAws_json1_1StopDataMigrationResponse
+ */
+const de_StopDataMigrationResponse = (output: any, context: __SerdeContext): StopDataMigrationResponse => {
+ return take(output, {
+ DataMigration: (_: any) => de_DataMigration(_, context),
+ }) as any;
+};
+
/**
* deserializeAws_json1_1StopReplicationResponse
*/
diff --git a/codegen/sdk-codegen/aws-models/database-migration-service.json b/codegen/sdk-codegen/aws-models/database-migration-service.json
index 385f5c5f9435..c6659211891f 100644
--- a/codegen/sdk-codegen/aws-models/database-migration-service.json
+++ b/codegen/sdk-codegen/aws-models/database-migration-service.json
@@ -90,6 +90,9 @@
"target": "com.amazonaws.databasemigrationservice#AddTagsToResourceResponse"
},
"errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
}
@@ -161,6 +164,9 @@
{
"target": "com.amazonaws.databasemigrationservice#CancelReplicationTaskAssessmentRun"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#CreateDataMigration"
+ },
{
"target": "com.amazonaws.databasemigrationservice#CreateDataProvider"
},
@@ -197,6 +203,9 @@
{
"target": "com.amazonaws.databasemigrationservice#DeleteConnection"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#DeleteDataMigration"
+ },
{
"target": "com.amazonaws.databasemigrationservice#DeleteDataProvider"
},
@@ -248,6 +257,9 @@
{
"target": "com.amazonaws.databasemigrationservice#DescribeConversionConfiguration"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#DescribeDataMigrations"
+ },
{
"target": "com.amazonaws.databasemigrationservice#DescribeDataProviders"
},
@@ -374,6 +386,9 @@
{
"target": "com.amazonaws.databasemigrationservice#ModifyConversionConfiguration"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#ModifyDataMigration"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ModifyDataProvider"
},
@@ -422,6 +437,9 @@
{
"target": "com.amazonaws.databasemigrationservice#RunFleetAdvisorLsaAnalysis"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#StartDataMigration"
+ },
{
"target": "com.amazonaws.databasemigrationservice#StartExtensionPackAssociation"
},
@@ -455,6 +473,9 @@
{
"target": "com.amazonaws.databasemigrationservice#StartReplicationTaskAssessmentRun"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#StopDataMigration"
+ },
{
"target": "com.amazonaws.databasemigrationservice#StopReplication"
},
@@ -2253,7 +2274,7 @@
"MinCapacityUnits": {
"target": "com.amazonaws.databasemigrationservice#IntegerOptional",
"traits": {
- "smithy.api#documentation": "Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS\n Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value\n allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU\n value that you can specify for DMS Serverless is 1. You don't have to specify a value for the\n MinCapacityUnits
parameter. If you don't set this value, DMS scans the current activity\n of available source tables to identify an optimum setting for this parameter. If there is no current\n source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to\n the minimum DCU value allowed, 1.
"
+ "smithy.api#documentation": "Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS\n Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value\n allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU\n value that you can specify for DMS Serverless is 1. If you don't set this value, DMS sets this parameter to the \n minimum DCU value allowed, 1. If there is no current source activity, DMS scales down your replication until it \n reaches the value specified in MinCapacityUnits
.
"
}
},
"MultiAZ": {
@@ -2338,6 +2359,114 @@
}
}
},
+ "com.amazonaws.databasemigrationservice#CreateDataMigration": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.databasemigrationservice#CreateDataMigrationMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.databasemigrationservice#CreateDataMigrationResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidOperationFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Creates a data migration using the provided settings.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#CreateDataMigrationMessage": {
+ "type": "structure",
+ "members": {
+ "DataMigrationName": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "A user-friendly name for the data migration. Data migration names\n have the following constraints:
\n \n - \n
Must begin with a letter, and can only contain ASCII letters,\n digits, and hyphens.
\n \n - \n
Can't end with a hyphen or contain two consecutive hyphens.
\n \n - \n
Length must be from 1 to 255 characters.
\n \n
"
+ }
+ },
+ "MigrationProjectIdentifier": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "An identifier for the migration project.
",
+ "smithy.api#required": {}
+ }
+ },
+ "DataMigrationType": {
+ "target": "com.amazonaws.databasemigrationservice#MigrationTypeValue",
+ "traits": {
+ "smithy.api#documentation": "Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
",
+ "smithy.api#required": {}
+ }
+ },
+ "ServiceAccessRoleArn": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The Amazon Resource Name (ARN) for the service access role that you want to use to\n create the data migration.
",
+ "smithy.api#required": {}
+ }
+ },
+ "EnableCloudwatchLogs": {
+ "target": "com.amazonaws.databasemigrationservice#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether to enable CloudWatch logs for the data migration.
"
+ }
+ },
+ "SourceDataSettings": {
+ "target": "com.amazonaws.databasemigrationservice#SourceDataSettings",
+ "traits": {
+ "smithy.api#documentation": "Specifies information about the source data provider.
"
+ }
+ },
+ "NumberOfJobs": {
+ "target": "com.amazonaws.databasemigrationservice#IntegerOptional",
+ "traits": {
+ "smithy.api#documentation": "The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
"
+ }
+ },
+ "Tags": {
+ "target": "com.amazonaws.databasemigrationservice#TagList",
+ "traits": {
+ "smithy.api#documentation": "One or more tags to be assigned to the data migration.
"
+ }
+ },
+ "SelectionRules": {
+ "target": "com.amazonaws.databasemigrationservice#SecretString",
+ "traits": {
+ "smithy.api#documentation": "An optional JSON string specifying what tables, views, and schemas\n to include or exclude from the migration.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#CreateDataMigrationResponse": {
+ "type": "structure",
+ "members": {
+ "DataMigration": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigration",
+ "traits": {
+ "smithy.api#documentation": "Information about the created data migration.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
"com.amazonaws.databasemigrationservice#CreateDataProvider": {
"type": "operation",
"input": {
@@ -2350,6 +2479,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault"
},
@@ -2550,7 +2682,7 @@
"EngineName": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
- "smithy.api#documentation": "The type of engine for the endpoint. Valid values, depending on the\n EndpointType
value, include \"mysql\"
, \"oracle\"
,\n \"postgres\"
, \"mariadb\"
, \"aurora\"
, \n \"aurora-postgresql\"
, \"opensearch\"
, \"redshift\"
, \"s3\"
,\n \"db2\"
, \"db2-zos\"
, \"azuredb\"
, \"sybase\"
, \"dynamodb\"
, \"mongodb\"
,\n \"kinesis\"
, \"kafka\"
, \"elasticsearch\"
, \"docdb\"
,\n \"sqlserver\"
, \"neptune\"
, and \"babelfish\"
.
",
+ "smithy.api#documentation": "The type of engine for the endpoint. Valid values, depending on the\n EndpointType
value, include \"mysql\"
, \"oracle\"
,\n \"postgres\"
, \"mariadb\"
, \"aurora\"
, \n \"aurora-postgresql\"
, \"opensearch\"
, \"redshift\"
, \"s3\"
,\n \"db2\"
, \"db2-zos\"
, \"azuredb\"
, \"sybase\"
, \"dynamodb\"
, \"mongodb\"
,\n \"kinesis\"
, \"kafka\"
, \"elasticsearch\"
, \"docdb\"
,\n \"sqlserver\"
, \"neptune\"
, \"babelfish\"
,\n redshift-serverless
, aurora-serverless
, aurora-postgresql-serverless
,\n gcp-mysql
, azure-sql-managed-instance
, redis
, dms-transfer
.
",
"smithy.api#required": {}
}
},
@@ -2987,6 +3119,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -3133,6 +3268,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault"
},
@@ -3720,7 +3858,7 @@
"ReplicationSubnetGroupIdentifier": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
- "smithy.api#documentation": "The name for the replication subnet group. This value is stored as a lowercase\n string.
\n Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces,\n underscores, or hyphens. Must not be \"default\".
\n Example: mySubnetgroup
\n
",
+ "smithy.api#documentation": "The name for the replication subnet group. This value is stored as a lowercase\n string.
\n Constraints: Must contain no more than 255 alphanumeric characters, periods,\n underscores, or hyphens. Must not be \"default\".
\n Example: mySubnetgroup
\n
",
"smithy.api#required": {}
}
},
@@ -3958,6 +4096,205 @@
}
}
},
+ "com.amazonaws.databasemigrationservice#DataMigration": {
+ "type": "structure",
+ "members": {
+ "DataMigrationName": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The user-friendly name for the data migration.
"
+ }
+ },
+ "DataMigrationArn": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The Amazon Resource Name (ARN) that identifies this replication.
"
+ }
+ },
+ "DataMigrationCreateTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The UTC time when DMS created the data migration.
"
+ }
+ },
+ "DataMigrationStartTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The UTC time when DMS started the data migration.
"
+ }
+ },
+ "DataMigrationEndTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The UTC time when data migration ended.
"
+ }
+ },
+ "ServiceAccessRoleArn": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The IAM role that the data migration uses to access Amazon Web Services resources.
"
+ }
+ },
+ "MigrationProjectArn": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the data migration's associated migration project.
"
+ }
+ },
+ "DataMigrationType": {
+ "target": "com.amazonaws.databasemigrationservice#MigrationTypeValue",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
"
+ }
+ },
+ "DataMigrationSettings": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigrationSettings",
+ "traits": {
+ "smithy.api#documentation": "Specifies CloudWatch settings and selection rules for the data migration.
"
+ }
+ },
+ "SourceDataSettings": {
+ "target": "com.amazonaws.databasemigrationservice#SourceDataSettings",
+ "traits": {
+ "smithy.api#documentation": "Specifies information about the data migration's source data provider.
"
+ }
+ },
+ "DataMigrationStatistics": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigrationStatistics",
+ "traits": {
+ "smithy.api#documentation": "Provides information about the data migration's run, including start and stop time, latency, and data migration progress.
"
+ }
+ },
+ "DataMigrationStatus": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The current status of the data migration.
"
+ }
+ },
+ "PublicIpAddresses": {
+ "target": "com.amazonaws.databasemigrationservice#PublicIpAddressList",
+ "traits": {
+ "smithy.api#documentation": "The IP addresses of the endpoints for the data migration.
"
+ }
+ },
+ "LastFailureMessage": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "Information about the data migration's most recent error or failure.
"
+ }
+ },
+ "StopReason": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The reason the data migration last stopped.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This object provides information about a DMS data migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DataMigrationSettings": {
+ "type": "structure",
+ "members": {
+ "NumberOfJobs": {
+ "target": "com.amazonaws.databasemigrationservice#IntegerOptional",
+ "traits": {
+ "smithy.api#documentation": "The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
"
+ }
+ },
+ "CloudwatchLogsEnabled": {
+ "target": "com.amazonaws.databasemigrationservice#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Whether to enable CloudWatch logging for the data migration.
"
+ }
+ },
+ "SelectionRules": {
+ "target": "com.amazonaws.databasemigrationservice#SecretString",
+ "traits": {
+ "smithy.api#documentation": "A JSON-formatted string that defines what objects to include and exclude from the migration.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Options for configuring a data migration, including whether to enable CloudWatch logs,\n and the selection rules to use to include or exclude database objects from the migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DataMigrationStatistics": {
+ "type": "structure",
+ "members": {
+ "TablesLoaded": {
+ "target": "com.amazonaws.databasemigrationservice#Integer",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The number of tables loaded in the current data migration run.
"
+ }
+ },
+ "ElapsedTimeMillis": {
+ "target": "com.amazonaws.databasemigrationservice#Long",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The elapsed duration of the data migration run.
"
+ }
+ },
+ "TablesLoading": {
+ "target": "com.amazonaws.databasemigrationservice#Integer",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The data migration's table loading progress.
"
+ }
+ },
+ "FullLoadPercentage": {
+ "target": "com.amazonaws.databasemigrationservice#Integer",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The data migration's progress in the full-load migration phase.
"
+ }
+ },
+ "CDCLatency": {
+ "target": "com.amazonaws.databasemigrationservice#Integer",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The current latency of the change data capture (CDC) operation.
"
+ }
+ },
+ "TablesQueued": {
+ "target": "com.amazonaws.databasemigrationservice#Integer",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The number of tables that are waiting for processing.
"
+ }
+ },
+ "TablesErrored": {
+ "target": "com.amazonaws.databasemigrationservice#Integer",
+ "traits": {
+ "smithy.api#default": 0,
+ "smithy.api#documentation": "The number of tables that DMS failed to process.
"
+ }
+ },
+ "StartTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The time when the migration started.
"
+ }
+ },
+ "StopTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The time when the migration stopped or failed.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Information about the data migration run, including start and stop time, latency, and migration progress.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DataMigrations": {
+ "type": "list",
+ "member": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigration"
+ }
+ },
"com.amazonaws.databasemigrationservice#DataProvider": {
"type": "structure",
"members": {
@@ -4503,6 +4840,58 @@
"smithy.api#output": {}
}
},
+ "com.amazonaws.databasemigrationservice#DeleteDataMigration": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.databasemigrationservice#DeleteDataMigrationMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.databasemigrationservice#DeleteDataMigrationResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Deletes the specified data migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DeleteDataMigrationMessage": {
+ "type": "structure",
+ "members": {
+ "DataMigrationIdentifier": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The identifier (name or ARN) of the data migration to delete.
",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DeleteDataMigrationResponse": {
+ "type": "structure",
+ "members": {
+ "DataMigration": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigration",
+ "traits": {
+ "smithy.api#documentation": "The deleted data migration.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
"com.amazonaws.databasemigrationservice#DeleteDataProvider": {
"type": "operation",
"input": {
@@ -4515,6 +4904,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -4713,6 +5105,9 @@
"target": "smithy.api#Unit"
},
"errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#CollectorNotFoundFault"
},
@@ -4733,6 +5128,9 @@
"target": "com.amazonaws.databasemigrationservice#DeleteFleetAdvisorDatabasesResponse"
},
"errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidOperationFault"
},
@@ -4785,6 +5183,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -4858,6 +5259,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -5714,13 +6118,100 @@
"MigrationProjectIdentifier": {
"target": "com.amazonaws.databasemigrationservice#String",
"traits": {
- "smithy.api#documentation": "The name or Amazon Resource Name (ARN) for the schema conversion project.
"
+ "smithy.api#documentation": "The name or Amazon Resource Name (ARN) for the schema conversion project.
"
+ }
+ },
+ "ConversionConfiguration": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The configuration parameters for the schema conversion project.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DescribeDataMigrations": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.databasemigrationservice#DescribeDataMigrationsMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.databasemigrationservice#DescribeDataMigrationsResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Returns information about data migrations.
",
+ "smithy.api#paginated": {
+ "inputToken": "Marker",
+ "outputToken": "Marker",
+ "items": "DataMigrations",
+ "pageSize": "MaxRecords"
+ }
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DescribeDataMigrationsMessage": {
+ "type": "structure",
+ "members": {
+ "Filters": {
+ "target": "com.amazonaws.databasemigrationservice#FilterList",
+ "traits": {
+ "smithy.api#documentation": "Filters applied to the data migrations.
"
+ }
+ },
+ "MaxRecords": {
+ "target": "com.amazonaws.databasemigrationservice#IntegerOptional",
+ "traits": {
+ "smithy.api#documentation": "The maximum number of records to include in the response. If more records exist than the specified \n MaxRecords
value, a pagination token called a marker is included in the response so that \n the remaining results can be retrieved.
"
+ }
+ },
+ "Marker": {
+ "target": "com.amazonaws.databasemigrationservice#Marker",
+ "traits": {
+ "smithy.api#documentation": "An optional pagination token provided by a previous request. If this parameter is specified, \n the response includes only records beyond the marker, up to the value specified by MaxRecords
.
"
+ }
+ },
+ "WithoutSettings": {
+ "target": "com.amazonaws.databasemigrationservice#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "An option to set to avoid returning information about settings. Use this to reduce\n overhead when setting information is too large. To use this option, choose\n true
; otherwise, choose false
(the default).
"
+ }
+ },
+ "WithoutStatistics": {
+ "target": "com.amazonaws.databasemigrationservice#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "An option to set to avoid returning information about statistics. Use this to reduce\n overhead when statistics information is too large. To use this option, choose\n true
; otherwise, choose false
(the default).
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#DescribeDataMigrationsResponse": {
+ "type": "structure",
+ "members": {
+ "DataMigrations": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigrations",
+ "traits": {
+ "smithy.api#documentation": "Returns information about the data migrations used in the project.
"
}
},
- "ConversionConfiguration": {
- "target": "com.amazonaws.databasemigrationservice#String",
+ "Marker": {
+ "target": "com.amazonaws.databasemigrationservice#Marker",
"traits": {
- "smithy.api#documentation": "The configuration parameters for the schema conversion project.
"
+ "smithy.api#documentation": "An optional pagination token provided by a previous request. If this parameter is specified, \n the response includes only records beyond the marker, up to the value specified by MaxRecords
.
"
}
}
},
@@ -5740,6 +6231,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
}
@@ -6847,6 +7341,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
}
@@ -7462,6 +7959,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
}
@@ -10316,6 +10816,18 @@
"smithy.api#documentation": "Provides information about a metadata model assessment exported to SQL.
"
}
},
+ "com.amazonaws.databasemigrationservice#FailedDependencyFault": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.databasemigrationservice#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "A dependency threw an exception.
",
+ "smithy.api#error": "client"
+ }
+ },
"com.amazonaws.databasemigrationservice#Filter": {
"type": "structure",
"members": {
@@ -11309,6 +11821,9 @@
"target": "com.amazonaws.databasemigrationservice#ListTagsForResourceResponse"
},
"errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
}
@@ -11429,6 +11944,15 @@
"smithy.api#documentation": "Provides information that defines a MariaDB data provider.
"
}
},
+ "com.amazonaws.databasemigrationservice#Marker": {
+ "type": "string",
+ "traits": {
+ "smithy.api#length": {
+ "min": 0,
+ "max": 1024
+ }
+ }
+ },
"com.amazonaws.databasemigrationservice#MessageFormatValue": {
"type": "enum",
"members": {
@@ -11763,6 +12287,100 @@
"smithy.api#output": {}
}
},
+ "com.amazonaws.databasemigrationservice#ModifyDataMigration": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.databasemigrationservice#ModifyDataMigrationMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.databasemigrationservice#ModifyDataMigrationResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Modifies an existing DMS data migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#ModifyDataMigrationMessage": {
+ "type": "structure",
+ "members": {
+ "DataMigrationIdentifier": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The identifier (name or ARN) of the data migration to modify.
",
+ "smithy.api#required": {}
+ }
+ },
+ "DataMigrationName": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The new name for the data migration.
"
+ }
+ },
+ "EnableCloudwatchLogs": {
+ "target": "com.amazonaws.databasemigrationservice#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Whether to enable Cloudwatch logs for the data migration.
"
+ }
+ },
+ "ServiceAccessRoleArn": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The new service access role ARN for the data migration.
"
+ }
+ },
+ "DataMigrationType": {
+ "target": "com.amazonaws.databasemigrationservice#MigrationTypeValue",
+ "traits": {
+ "smithy.api#documentation": "The new migration type for the data migration.
"
+ }
+ },
+ "SourceDataSettings": {
+ "target": "com.amazonaws.databasemigrationservice#SourceDataSettings",
+ "traits": {
+ "smithy.api#documentation": "The new information about the source data provider for the data migration.
"
+ }
+ },
+ "NumberOfJobs": {
+ "target": "com.amazonaws.databasemigrationservice#IntegerOptional",
+ "traits": {
+ "smithy.api#documentation": "The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
"
+ }
+ },
+ "SelectionRules": {
+ "target": "com.amazonaws.databasemigrationservice#SecretString",
+ "traits": {
+ "smithy.api#documentation": "A JSON-formatted string that defines what objects to include and exclude from the migration.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#ModifyDataMigrationResponse": {
+ "type": "structure",
+ "members": {
+ "DataMigration": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigration",
+ "traits": {
+ "smithy.api#documentation": "Information about the modified data migration.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
"com.amazonaws.databasemigrationservice#ModifyDataProvider": {
"type": "operation",
"input": {
@@ -11775,6 +12393,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -12267,6 +12888,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -12405,6 +13029,9 @@
{
"target": "com.amazonaws.databasemigrationservice#AccessDeniedFault"
},
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
},
@@ -14251,6 +14878,15 @@
"smithy.api#documentation": "Information about provisioning resources for an DMS serverless replication.
"
}
},
+ "com.amazonaws.databasemigrationservice#PublicIpAddressList": {
+ "type": "list",
+ "member": {
+ "target": "com.amazonaws.databasemigrationservice#String"
+ },
+ "traits": {
+ "smithy.api#sensitive": {}
+ }
+ },
"com.amazonaws.databasemigrationservice#RdsConfiguration": {
"type": "structure",
"members": {
@@ -15139,6 +15775,9 @@
"target": "com.amazonaws.databasemigrationservice#RemoveTagsFromResourceResponse"
},
"errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
{
"target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
}
@@ -16896,6 +17535,44 @@
"smithy.api#documentation": "Describes a server in a Fleet Advisor collector inventory.
"
}
},
+ "com.amazonaws.databasemigrationservice#SourceDataSetting": {
+ "type": "structure",
+ "members": {
+ "CDCStartPosition": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The change data capture (CDC) start position for the source data provider.
"
+ }
+ },
+ "CDCStartTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The change data capture (CDC) start time for the source data provider.
"
+ }
+ },
+ "CDCStopTime": {
+ "target": "com.amazonaws.databasemigrationservice#Iso8601DateTime",
+ "traits": {
+ "smithy.api#documentation": "The change data capture (CDC) stop time for the source data provider.
"
+ }
+ },
+ "SlotName": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The name of the replication slot on the source data provider. This attribute is only \n valid for a PostgreSQL or Aurora PostgreSQL source.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Defines settings for a source data provider for a data migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#SourceDataSettings": {
+ "type": "list",
+ "member": {
+ "target": "com.amazonaws.databasemigrationservice#SourceDataSetting"
+ }
+ },
"com.amazonaws.databasemigrationservice#SourceIdsList": {
"type": "list",
"member": {
@@ -16933,6 +17610,71 @@
}
}
},
+ "com.amazonaws.databasemigrationservice#StartDataMigration": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.databasemigrationservice#StartDataMigrationMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.databasemigrationservice#StartDataMigrationResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidOperationFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Starts the specified data migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#StartDataMigrationMessage": {
+ "type": "structure",
+ "members": {
+ "DataMigrationIdentifier": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The identifier (name or ARN) of the data migration to start.
",
+ "smithy.api#required": {}
+ }
+ },
+ "StartType": {
+ "target": "com.amazonaws.databasemigrationservice#StartReplicationMigrationTypeValue",
+ "traits": {
+ "smithy.api#documentation": "Specifies the start type for the data migration. Valid values include \n start-replication
, reload-target
, and resume-processing
.
",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#StartDataMigrationResponse": {
+ "type": "structure",
+ "members": {
+ "DataMigration": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigration",
+ "traits": {
+ "smithy.api#documentation": "The data migration that DMS started.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
"com.amazonaws.databasemigrationservice#StartExtensionPackAssociation": {
"type": "operation",
"input": {
@@ -17622,6 +18364,29 @@
"smithy.api#input": {}
}
},
+ "com.amazonaws.databasemigrationservice#StartReplicationMigrationTypeValue": {
+ "type": "enum",
+ "members": {
+ "RELOAD_TARGET": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "reload-target"
+ }
+ },
+ "RESUME_PROCESSING": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "resume-processing"
+ }
+ },
+ "START_REPLICATION": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "start-replication"
+ }
+ }
+ }
+ },
"com.amazonaws.databasemigrationservice#StartReplicationResponse": {
"type": "structure",
"members": {
@@ -17947,6 +18712,58 @@
}
}
},
+ "com.amazonaws.databasemigrationservice#StopDataMigration": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.databasemigrationservice#StopDataMigrationMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.databasemigrationservice#StopDataMigrationResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.databasemigrationservice#FailedDependencyFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#InvalidResourceStateFault"
+ },
+ {
+ "target": "com.amazonaws.databasemigrationservice#ResourceNotFoundFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Stops the specified data migration.
"
+ }
+ },
+ "com.amazonaws.databasemigrationservice#StopDataMigrationMessage": {
+ "type": "structure",
+ "members": {
+ "DataMigrationIdentifier": {
+ "target": "com.amazonaws.databasemigrationservice#String",
+ "traits": {
+ "smithy.api#documentation": "The identifier (name or ARN) of the data migration to stop.
",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.databasemigrationservice#StopDataMigrationResponse": {
+ "type": "structure",
+ "members": {
+ "DataMigration": {
+ "target": "com.amazonaws.databasemigrationservice#DataMigration",
+ "traits": {
+ "smithy.api#documentation": "The data migration that DMS stopped.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
"com.amazonaws.databasemigrationservice#StopReplication": {
"type": "operation",
"input": {