Skip to content

Commit

Permalink
feat(client-database-migration-service): Introduces DescribeDataMigra…
Browse files Browse the repository at this point in the history
…tions, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message.
  • Loading branch information
awstools committed Oct 10, 2024
1 parent 70a55d5 commit f477263
Show file tree
Hide file tree
Showing 36 changed files with 3,477 additions and 334 deletions.
48 changes: 48 additions & 0 deletions clients/client-database-migration-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

</details>
<details>
<summary>
CreateDataMigration
</summary>

[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/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -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/)

</details>
<details>
<summary>
DeleteDataMigration
</summary>

[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/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -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/)

</details>
<details>
<summary>
DescribeDataMigrations
</summary>

[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/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -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/)

</details>
<details>
<summary>
ModifyDataMigration
</summary>

[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/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -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/)

</details>
<details>
<summary>
StartDataMigration
</summary>

[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/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -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/)

</details>
<details>
<summary>
StopDataMigration
</summary>

[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/)

</details>
<details>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ import {
CancelReplicationTaskAssessmentRunCommandInput,
CancelReplicationTaskAssessmentRunCommandOutput,
} from "./commands/CancelReplicationTaskAssessmentRunCommand";
import {
CreateDataMigrationCommand,
CreateDataMigrationCommandInput,
CreateDataMigrationCommandOutput,
} from "./commands/CreateDataMigrationCommand";
import {
CreateDataProviderCommand,
CreateDataProviderCommandInput,
Expand Down Expand Up @@ -82,6 +87,11 @@ import {
DeleteConnectionCommandInput,
DeleteConnectionCommandOutput,
} from "./commands/DeleteConnectionCommand";
import {
DeleteDataMigrationCommand,
DeleteDataMigrationCommandInput,
DeleteDataMigrationCommandOutput,
} from "./commands/DeleteDataMigrationCommand";
import {
DeleteDataProviderCommand,
DeleteDataProviderCommandInput,
Expand Down Expand Up @@ -167,6 +177,11 @@ import {
DescribeConversionConfigurationCommandInput,
DescribeConversionConfigurationCommandOutput,
} from "./commands/DescribeConversionConfigurationCommand";
import {
DescribeDataMigrationsCommand,
DescribeDataMigrationsCommandInput,
DescribeDataMigrationsCommandOutput,
} from "./commands/DescribeDataMigrationsCommand";
import {
DescribeDataProvidersCommand,
DescribeDataProvidersCommandInput,
Expand Down Expand Up @@ -377,6 +392,11 @@ import {
ModifyConversionConfigurationCommandInput,
ModifyConversionConfigurationCommandOutput,
} from "./commands/ModifyConversionConfigurationCommand";
import {
ModifyDataMigrationCommand,
ModifyDataMigrationCommandInput,
ModifyDataMigrationCommandOutput,
} from "./commands/ModifyDataMigrationCommand";
import {
ModifyDataProviderCommand,
ModifyDataProviderCommandInput,
Expand Down Expand Up @@ -457,6 +477,11 @@ import {
RunFleetAdvisorLsaAnalysisCommandInput,
RunFleetAdvisorLsaAnalysisCommandOutput,
} from "./commands/RunFleetAdvisorLsaAnalysisCommand";
import {
StartDataMigrationCommand,
StartDataMigrationCommandInput,
StartDataMigrationCommandOutput,
} from "./commands/StartDataMigrationCommand";
import {
StartExtensionPackAssociationCommand,
StartExtensionPackAssociationCommandInput,
Expand Down Expand Up @@ -512,6 +537,11 @@ import {
StartReplicationTaskCommandInput,
StartReplicationTaskCommandOutput,
} from "./commands/StartReplicationTaskCommand";
import {
StopDataMigrationCommand,
StopDataMigrationCommandInput,
StopDataMigrationCommandOutput,
} from "./commands/StopDataMigrationCommand";
import {
StopReplicationCommand,
StopReplicationCommandInput,
Expand Down Expand Up @@ -539,6 +569,7 @@ const commands = {
ApplyPendingMaintenanceActionCommand,
BatchStartRecommendationsCommand,
CancelReplicationTaskAssessmentRunCommand,
CreateDataMigrationCommand,
CreateDataProviderCommand,
CreateEndpointCommand,
CreateEventSubscriptionCommand,
Expand All @@ -551,6 +582,7 @@ const commands = {
CreateReplicationTaskCommand,
DeleteCertificateCommand,
DeleteConnectionCommand,
DeleteDataMigrationCommand,
DeleteDataProviderCommand,
DeleteEndpointCommand,
DeleteEventSubscriptionCommand,
Expand All @@ -568,6 +600,7 @@ const commands = {
DescribeCertificatesCommand,
DescribeConnectionsCommand,
DescribeConversionConfigurationCommand,
DescribeDataMigrationsCommand,
DescribeDataProvidersCommand,
DescribeEndpointsCommand,
DescribeEndpointSettingsCommand,
Expand Down Expand Up @@ -610,6 +643,7 @@ const commands = {
ImportCertificateCommand,
ListTagsForResourceCommand,
ModifyConversionConfigurationCommand,
ModifyDataMigrationCommand,
ModifyDataProviderCommand,
ModifyEndpointCommand,
ModifyEventSubscriptionCommand,
Expand All @@ -626,6 +660,7 @@ const commands = {
ReloadTablesCommand,
RemoveTagsFromResourceCommand,
RunFleetAdvisorLsaAnalysisCommand,
StartDataMigrationCommand,
StartExtensionPackAssociationCommand,
StartMetadataModelAssessmentCommand,
StartMetadataModelConversionCommand,
Expand All @@ -637,6 +672,7 @@ const commands = {
StartReplicationTaskCommand,
StartReplicationTaskAssessmentCommand,
StartReplicationTaskAssessmentRunCommand,
StopDataMigrationCommand,
StopReplicationCommand,
StopReplicationTaskCommand,
TestConnectionCommand,
Expand Down Expand Up @@ -713,6 +749,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: CancelReplicationTaskAssessmentRunCommandOutput) => void
): void;

/**
* @see {@link CreateDataMigrationCommand}
*/
createDataMigration(
args: CreateDataMigrationCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateDataMigrationCommandOutput>;
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}
*/
Expand Down Expand Up @@ -915,6 +968,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: DeleteConnectionCommandOutput) => void
): void;

/**
* @see {@link DeleteDataMigrationCommand}
*/
deleteDataMigration(
args: DeleteDataMigrationCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteDataMigrationCommandOutput>;
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}
*/
Expand Down Expand Up @@ -1205,6 +1275,24 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: DescribeConversionConfigurationCommandOutput) => void
): void;

/**
* @see {@link DescribeDataMigrationsCommand}
*/
describeDataMigrations(): Promise<DescribeDataMigrationsCommandOutput>;
describeDataMigrations(
args: DescribeDataMigrationsCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeDataMigrationsCommandOutput>;
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}
*/
Expand Down Expand Up @@ -1940,6 +2028,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: ModifyConversionConfigurationCommandOutput) => void
): void;

/**
* @see {@link ModifyDataMigrationCommand}
*/
modifyDataMigration(
args: ModifyDataMigrationCommandInput,
options?: __HttpHandlerOptions
): Promise<ModifyDataMigrationCommandOutput>;
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}
*/
Expand Down Expand Up @@ -2201,6 +2306,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: RunFleetAdvisorLsaAnalysisCommandOutput) => void
): void;

/**
* @see {@link StartDataMigrationCommand}
*/
startDataMigration(
args: StartDataMigrationCommandInput,
options?: __HttpHandlerOptions
): Promise<StartDataMigrationCommandOutput>;
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}
*/
Expand Down Expand Up @@ -2388,6 +2510,23 @@ export interface DatabaseMigrationService {
cb: (err: any, data?: StartReplicationTaskAssessmentRunCommandOutput) => void
): void;

/**
* @see {@link StopDataMigrationCommand}
*/
stopDataMigration(
args: StopDataMigrationCommandInput,
options?: __HttpHandlerOptions
): Promise<StopDataMigrationCommandOutput>;
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}
*/
Expand Down
Loading

0 comments on commit f477263

Please sign in to comment.