@aws-sdk/client-database-migration-service 3.281.0 → 3.286.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/DatabaseMigrationService.js +60 -0
  3. package/dist-cjs/commands/BatchStartRecommendationsCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeRecommendationLimitationsCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeRecommendationsCommand.js +46 -0
  6. package/dist-cjs/commands/StartRecommendationsCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoint/ruleset.js +3 -3
  9. package/dist-cjs/models/models_0.js +70 -4
  10. package/dist-cjs/pagination/DescribeRecommendationLimitationsPaginator.js +36 -0
  11. package/dist-cjs/pagination/DescribeRecommendationsPaginator.js +36 -0
  12. package/dist-cjs/pagination/index.js +2 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +363 -3
  14. package/dist-es/DatabaseMigrationService.js +60 -0
  15. package/dist-es/commands/BatchStartRecommendationsCommand.js +42 -0
  16. package/dist-es/commands/DescribeRecommendationLimitationsCommand.js +42 -0
  17. package/dist-es/commands/DescribeRecommendationsCommand.js +42 -0
  18. package/dist-es/commands/StartRecommendationsCommand.js +42 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +49 -0
  22. package/dist-es/pagination/DescribeRecommendationLimitationsPaginator.js +32 -0
  23. package/dist-es/pagination/DescribeRecommendationsPaginator.js +32 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_json1_1.js +352 -0
  26. package/dist-types/DatabaseMigrationService.d.ts +42 -8
  27. package/dist-types/DatabaseMigrationServiceClient.d.ts +6 -2
  28. package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/BatchStartRecommendationsCommand.d.ts +48 -0
  30. package/dist-types/commands/DescribeFleetAdvisorLsaAnalysisCommand.d.ts +2 -3
  31. package/dist-types/commands/DescribeRecommendationLimitationsCommand.d.ts +44 -0
  32. package/dist-types/commands/DescribeRecommendationsCommand.d.ts +44 -0
  33. package/dist-types/commands/DescribeSchemasCommand.d.ts +0 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +0 -1
  36. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  37. package/dist-types/commands/StartRecommendationsCommand.d.ts +45 -0
  38. package/dist-types/commands/index.d.ts +4 -0
  39. package/dist-types/models/models_0.d.ts +560 -108
  40. package/dist-types/pagination/DescribeRecommendationLimitationsPaginator.d.ts +4 -0
  41. package/dist-types/pagination/DescribeRecommendationsPaginator.d.ts +4 -0
  42. package/dist-types/pagination/index.d.ts +2 -0
  43. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  44. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +74 -0
  45. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +24 -0
  46. package/dist-types/ts3.4/commands/BatchStartRecommendationsCommand.d.ts +41 -0
  47. package/dist-types/ts3.4/commands/DescribeRecommendationLimitationsCommand.d.ts +41 -0
  48. package/dist-types/ts3.4/commands/DescribeRecommendationsCommand.d.ts +41 -0
  49. package/dist-types/ts3.4/commands/StartRecommendationsCommand.d.ts +36 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +137 -7
  52. package/dist-types/ts3.4/pagination/DescribeRecommendationLimitationsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/DescribeRecommendationsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  55. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  56. package/package.json +17 -17
@@ -0,0 +1,48 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { BatchStartRecommendationsRequest, BatchStartRecommendationsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link BatchStartRecommendationsCommand}.
8
+ */
9
+ export interface BatchStartRecommendationsCommandInput extends BatchStartRecommendationsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link BatchStartRecommendationsCommand}.
13
+ */
14
+ export interface BatchStartRecommendationsCommandOutput extends BatchStartRecommendationsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>Starts the analysis of up to 20 source databases to recommend target engines for each
18
+ * source database. This is a batch version of <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_StartRecommendations.html">StartRecommendations</a>.</p>
19
+ * <p>The result of analysis of each source database is reported individually in the
20
+ * response. Because the batch request can result in a combination of successful and
21
+ * unsuccessful actions, you should check for batch errors even when the call returns an
22
+ * HTTP status code of <code>200</code>.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { DatabaseMigrationServiceClient, BatchStartRecommendationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
27
+ * // const { DatabaseMigrationServiceClient, BatchStartRecommendationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
28
+ * const client = new DatabaseMigrationServiceClient(config);
29
+ * const command = new BatchStartRecommendationsCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @see {@link BatchStartRecommendationsCommandInput} for command's `input` shape.
34
+ * @see {@link BatchStartRecommendationsCommandOutput} for command's `response` shape.
35
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
36
+ *
37
+ */
38
+ export declare class BatchStartRecommendationsCommand extends $Command<BatchStartRecommendationsCommandInput, BatchStartRecommendationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
+ readonly input: BatchStartRecommendationsCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
41
+ constructor(input: BatchStartRecommendationsCommandInput);
42
+ /**
43
+ * @internal
44
+ */
45
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchStartRecommendationsCommandInput, BatchStartRecommendationsCommandOutput>;
46
+ private serialize;
47
+ private deserialize;
48
+ }
@@ -14,9 +14,8 @@ export interface DescribeFleetAdvisorLsaAnalysisCommandInput extends DescribeFle
14
14
  export interface DescribeFleetAdvisorLsaAnalysisCommandOutput extends DescribeFleetAdvisorLsaAnalysisResponse, __MetadataBearer {
15
15
  }
16
16
  /**
17
- * <p>Provides descriptions of large-scale assessment (LSA) analyses produced by your
18
- * Fleet Advisor collectors.
19
- * </p>
17
+ * <p>Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet
18
+ * Advisor collectors. </p>
20
19
  * @example
21
20
  * Use a bare-bones client and the command you need to make an API call.
22
21
  * ```javascript
@@ -0,0 +1,44 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DescribeRecommendationLimitationsRequest, DescribeRecommendationLimitationsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link DescribeRecommendationLimitationsCommand}.
8
+ */
9
+ export interface DescribeRecommendationLimitationsCommandInput extends DescribeRecommendationLimitationsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link DescribeRecommendationLimitationsCommand}.
13
+ */
14
+ export interface DescribeRecommendationLimitationsCommandOutput extends DescribeRecommendationLimitationsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>Returns a paginated list of limitations for recommendations of target Amazon Web Services
18
+ * engines.</p>
19
+ * @example
20
+ * Use a bare-bones client and the command you need to make an API call.
21
+ * ```javascript
22
+ * import { DatabaseMigrationServiceClient, DescribeRecommendationLimitationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
23
+ * // const { DatabaseMigrationServiceClient, DescribeRecommendationLimitationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
24
+ * const client = new DatabaseMigrationServiceClient(config);
25
+ * const command = new DescribeRecommendationLimitationsCommand(input);
26
+ * const response = await client.send(command);
27
+ * ```
28
+ *
29
+ * @see {@link DescribeRecommendationLimitationsCommandInput} for command's `input` shape.
30
+ * @see {@link DescribeRecommendationLimitationsCommandOutput} for command's `response` shape.
31
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
32
+ *
33
+ */
34
+ export declare class DescribeRecommendationLimitationsCommand extends $Command<DescribeRecommendationLimitationsCommandInput, DescribeRecommendationLimitationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
35
+ readonly input: DescribeRecommendationLimitationsCommandInput;
36
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
37
+ constructor(input: DescribeRecommendationLimitationsCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRecommendationLimitationsCommandInput, DescribeRecommendationLimitationsCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }
@@ -0,0 +1,44 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DescribeRecommendationsRequest, DescribeRecommendationsResponse } from "../models/models_0";
6
+ /**
7
+ * The input for {@link DescribeRecommendationsCommand}.
8
+ */
9
+ export interface DescribeRecommendationsCommandInput extends DescribeRecommendationsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link DescribeRecommendationsCommand}.
13
+ */
14
+ export interface DescribeRecommendationsCommandOutput extends DescribeRecommendationsResponse, __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>Returns a paginated list of target engine recommendations for your source
18
+ * databases.</p>
19
+ * @example
20
+ * Use a bare-bones client and the command you need to make an API call.
21
+ * ```javascript
22
+ * import { DatabaseMigrationServiceClient, DescribeRecommendationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
23
+ * // const { DatabaseMigrationServiceClient, DescribeRecommendationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
24
+ * const client = new DatabaseMigrationServiceClient(config);
25
+ * const command = new DescribeRecommendationsCommand(input);
26
+ * const response = await client.send(command);
27
+ * ```
28
+ *
29
+ * @see {@link DescribeRecommendationsCommandInput} for command's `input` shape.
30
+ * @see {@link DescribeRecommendationsCommandOutput} for command's `response` shape.
31
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
32
+ *
33
+ */
34
+ export declare class DescribeRecommendationsCommand extends $Command<DescribeRecommendationsCommandInput, DescribeRecommendationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
35
+ readonly input: DescribeRecommendationsCommandInput;
36
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
37
+ constructor(input: DescribeRecommendationsCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRecommendationsCommandInput, DescribeRecommendationsCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }
@@ -15,7 +15,6 @@ export interface DescribeSchemasCommandOutput extends DescribeSchemasResponse, _
15
15
  }
16
16
  /**
17
17
  * <p>Returns information about the schema for the specified endpoint.</p>
18
- *
19
18
  * <p></p>
20
19
  * @example
21
20
  * Use a bare-bones client and the command you need to make an API call.
@@ -15,7 +15,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
15
15
  }
16
16
  /**
17
17
  * <p>Lists all metadata tags attached to an DMS resource, including
18
- * replication instance, endpoint, security group, and migration task.
18
+ * replication instance, endpoint, subnet group, and migration task.
19
19
  * For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
20
20
  * <code>Tag</code>
21
21
  * </a> data type description.</p>
@@ -17,7 +17,6 @@ export interface ModifyReplicationInstanceCommandOutput extends ModifyReplicatio
17
17
  * <p>Modifies the replication instance to apply new settings. You can change one or more
18
18
  * parameters by specifying these parameters and the new values in the request.</p>
19
19
  * <p>Some settings are applied during the maintenance window.</p>
20
- *
21
20
  * <p></p>
22
21
  * @example
23
22
  * Use a bare-bones client and the command you need to make an API call.
@@ -15,7 +15,7 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou
15
15
  }
16
16
  /**
17
17
  * <p>Removes metadata tags from an DMS resource, including replication instance,
18
- * endpoint, security group, and migration task. For more information, see
18
+ * endpoint, subnet group, and migration task. For more information, see
19
19
  * <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
20
20
  * <code>Tag</code>
21
21
  * </a>
@@ -0,0 +1,45 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { StartRecommendationsRequest } from "../models/models_0";
6
+ /**
7
+ * The input for {@link StartRecommendationsCommand}.
8
+ */
9
+ export interface StartRecommendationsCommandInput extends StartRecommendationsRequest {
10
+ }
11
+ /**
12
+ * The output of {@link StartRecommendationsCommand}.
13
+ */
14
+ export interface StartRecommendationsCommandOutput extends __MetadataBearer {
15
+ }
16
+ /**
17
+ * <p>Starts the analysis of your source database to provide recommendations of target
18
+ * engines.</p>
19
+ * <p>You can create recommendations for multiple source databases using <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_BatchStartRecommendations.html">BatchStartRecommendations</a>.</p>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { DatabaseMigrationServiceClient, StartRecommendationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
24
+ * // const { DatabaseMigrationServiceClient, StartRecommendationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
25
+ * const client = new DatabaseMigrationServiceClient(config);
26
+ * const command = new StartRecommendationsCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link StartRecommendationsCommandInput} for command's `input` shape.
31
+ * @see {@link StartRecommendationsCommandOutput} for command's `response` shape.
32
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
33
+ *
34
+ */
35
+ export declare class StartRecommendationsCommand extends $Command<StartRecommendationsCommandInput, StartRecommendationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
36
+ readonly input: StartRecommendationsCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ constructor(input: StartRecommendationsCommandInput);
39
+ /**
40
+ * @internal
41
+ */
42
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartRecommendationsCommandInput, StartRecommendationsCommandOutput>;
43
+ private serialize;
44
+ private deserialize;
45
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./AddTagsToResourceCommand";
2
2
  export * from "./ApplyPendingMaintenanceActionCommand";
3
+ export * from "./BatchStartRecommendationsCommand";
3
4
  export * from "./CancelReplicationTaskAssessmentRunCommand";
4
5
  export * from "./CreateEndpointCommand";
5
6
  export * from "./CreateEventSubscriptionCommand";
@@ -34,6 +35,8 @@ export * from "./DescribeFleetAdvisorSchemaObjectSummaryCommand";
34
35
  export * from "./DescribeFleetAdvisorSchemasCommand";
35
36
  export * from "./DescribeOrderableReplicationInstancesCommand";
36
37
  export * from "./DescribePendingMaintenanceActionsCommand";
38
+ export * from "./DescribeRecommendationLimitationsCommand";
39
+ export * from "./DescribeRecommendationsCommand";
37
40
  export * from "./DescribeRefreshSchemasStatusCommand";
38
41
  export * from "./DescribeReplicationInstanceTaskLogsCommand";
39
42
  export * from "./DescribeReplicationInstancesCommand";
@@ -57,6 +60,7 @@ export * from "./RefreshSchemasCommand";
57
60
  export * from "./ReloadTablesCommand";
58
61
  export * from "./RemoveTagsFromResourceCommand";
59
62
  export * from "./RunFleetAdvisorLsaAnalysisCommand";
63
+ export * from "./StartRecommendationsCommand";
60
64
  export * from "./StartReplicationTaskAssessmentCommand";
61
65
  export * from "./StartReplicationTaskAssessmentRunCommand";
62
66
  export * from "./StartReplicationTaskCommand";