@@ -11,6 +11,11 @@ import {
11
11
ApplyPendingMaintenanceActionCommandInput ,
12
12
ApplyPendingMaintenanceActionCommandOutput ,
13
13
} from "./commands/ApplyPendingMaintenanceActionCommand" ;
14
+ import {
15
+ BatchStartRecommendationsCommand ,
16
+ BatchStartRecommendationsCommandInput ,
17
+ BatchStartRecommendationsCommandOutput ,
18
+ } from "./commands/BatchStartRecommendationsCommand" ;
14
19
import {
15
20
CancelReplicationTaskAssessmentRunCommand ,
16
21
CancelReplicationTaskAssessmentRunCommandInput ,
@@ -181,6 +186,16 @@ import {
181
186
DescribePendingMaintenanceActionsCommandInput ,
182
187
DescribePendingMaintenanceActionsCommandOutput ,
183
188
} from "./commands/DescribePendingMaintenanceActionsCommand" ;
189
+ import {
190
+ DescribeRecommendationLimitationsCommand ,
191
+ DescribeRecommendationLimitationsCommandInput ,
192
+ DescribeRecommendationLimitationsCommandOutput ,
193
+ } from "./commands/DescribeRecommendationLimitationsCommand" ;
194
+ import {
195
+ DescribeRecommendationsCommand ,
196
+ DescribeRecommendationsCommandInput ,
197
+ DescribeRecommendationsCommandOutput ,
198
+ } from "./commands/DescribeRecommendationsCommand" ;
184
199
import {
185
200
DescribeRefreshSchemasStatusCommand ,
186
201
DescribeRefreshSchemasStatusCommandInput ,
@@ -296,6 +311,11 @@ import {
296
311
RunFleetAdvisorLsaAnalysisCommandInput ,
297
312
RunFleetAdvisorLsaAnalysisCommandOutput ,
298
313
} from "./commands/RunFleetAdvisorLsaAnalysisCommand" ;
314
+ import {
315
+ StartRecommendationsCommand ,
316
+ StartRecommendationsCommandInput ,
317
+ StartRecommendationsCommandOutput ,
318
+ } from "./commands/StartRecommendationsCommand" ;
299
319
import {
300
320
StartReplicationTaskAssessmentCommand ,
301
321
StartReplicationTaskAssessmentCommandInput ,
@@ -343,7 +363,7 @@ import { DatabaseMigrationServiceClient } from "./DatabaseMigrationServiceClient
343
363
export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
344
364
/**
345
365
* <p>Adds metadata tags to an DMS resource, including replication instance, endpoint,
346
- * security group, and migration task. These tags can also be used with cost allocation
366
+ * subnet group, and migration task. These tags can also be used with cost allocation
347
367
* reporting to track cost associated with DMS resources, or used in a Condition statement in
348
368
* an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
349
369
* <code>Tag</code>
@@ -410,6 +430,43 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
410
430
}
411
431
}
412
432
433
+ /**
434
+ * <p>Starts the analysis of up to 20 source databases to recommend target engines for each
435
+ * source database. This is a batch version of <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_StartRecommendations.html">StartRecommendations</a>.</p>
436
+ * <p>The result of analysis of each source database is reported individually in the
437
+ * response. Because the batch request can result in a combination of successful and
438
+ * unsuccessful actions, you should check for batch errors even when the call returns an
439
+ * HTTP status code of <code>200</code>.</p>
440
+ */
441
+ public batchStartRecommendations (
442
+ args : BatchStartRecommendationsCommandInput ,
443
+ options ?: __HttpHandlerOptions
444
+ ) : Promise < BatchStartRecommendationsCommandOutput > ;
445
+ public batchStartRecommendations (
446
+ args : BatchStartRecommendationsCommandInput ,
447
+ cb : ( err : any , data ?: BatchStartRecommendationsCommandOutput ) => void
448
+ ) : void ;
449
+ public batchStartRecommendations (
450
+ args : BatchStartRecommendationsCommandInput ,
451
+ options : __HttpHandlerOptions ,
452
+ cb : ( err : any , data ?: BatchStartRecommendationsCommandOutput ) => void
453
+ ) : void ;
454
+ public batchStartRecommendations (
455
+ args : BatchStartRecommendationsCommandInput ,
456
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: BatchStartRecommendationsCommandOutput ) => void ) ,
457
+ cb ?: ( err : any , data ?: BatchStartRecommendationsCommandOutput ) => void
458
+ ) : Promise < BatchStartRecommendationsCommandOutput > | void {
459
+ const command = new BatchStartRecommendationsCommand ( args ) ;
460
+ if ( typeof optionsOrCb === "function" ) {
461
+ this . send ( command , optionsOrCb ) ;
462
+ } else if ( typeof cb === "function" ) {
463
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
464
+ this . send ( command , optionsOrCb || { } , cb ) ;
465
+ } else {
466
+ return this . send ( command , optionsOrCb ) ;
467
+ }
468
+ }
469
+
413
470
/**
414
471
* <p>Cancels a single premigration assessment run.</p>
415
472
* <p>This operation prevents any individual assessments from running if they haven't started
@@ -1421,9 +1478,8 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
1421
1478
}
1422
1479
1423
1480
/**
1424
- * <p>Provides descriptions of large-scale assessment (LSA) analyses produced by your
1425
- * Fleet Advisor collectors.
1426
- * </p>
1481
+ * <p>Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet
1482
+ * Advisor collectors. </p>
1427
1483
*/
1428
1484
public describeFleetAdvisorLsaAnalysis (
1429
1485
args : DescribeFleetAdvisorLsaAnalysisCommandInput ,
@@ -1588,6 +1644,72 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
1588
1644
}
1589
1645
}
1590
1646
1647
+ /**
1648
+ * <p>Returns a paginated list of limitations for recommendations of target Amazon Web Services
1649
+ * engines.</p>
1650
+ */
1651
+ public describeRecommendationLimitations (
1652
+ args : DescribeRecommendationLimitationsCommandInput ,
1653
+ options ?: __HttpHandlerOptions
1654
+ ) : Promise < DescribeRecommendationLimitationsCommandOutput > ;
1655
+ public describeRecommendationLimitations (
1656
+ args : DescribeRecommendationLimitationsCommandInput ,
1657
+ cb : ( err : any , data ?: DescribeRecommendationLimitationsCommandOutput ) => void
1658
+ ) : void ;
1659
+ public describeRecommendationLimitations (
1660
+ args : DescribeRecommendationLimitationsCommandInput ,
1661
+ options : __HttpHandlerOptions ,
1662
+ cb : ( err : any , data ?: DescribeRecommendationLimitationsCommandOutput ) => void
1663
+ ) : void ;
1664
+ public describeRecommendationLimitations (
1665
+ args : DescribeRecommendationLimitationsCommandInput ,
1666
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DescribeRecommendationLimitationsCommandOutput ) => void ) ,
1667
+ cb ?: ( err : any , data ?: DescribeRecommendationLimitationsCommandOutput ) => void
1668
+ ) : Promise < DescribeRecommendationLimitationsCommandOutput > | void {
1669
+ const command = new DescribeRecommendationLimitationsCommand ( args ) ;
1670
+ if ( typeof optionsOrCb === "function" ) {
1671
+ this . send ( command , optionsOrCb ) ;
1672
+ } else if ( typeof cb === "function" ) {
1673
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1674
+ this . send ( command , optionsOrCb || { } , cb ) ;
1675
+ } else {
1676
+ return this . send ( command , optionsOrCb ) ;
1677
+ }
1678
+ }
1679
+
1680
+ /**
1681
+ * <p>Returns a paginated list of target engine recommendations for your source
1682
+ * databases.</p>
1683
+ */
1684
+ public describeRecommendations (
1685
+ args : DescribeRecommendationsCommandInput ,
1686
+ options ?: __HttpHandlerOptions
1687
+ ) : Promise < DescribeRecommendationsCommandOutput > ;
1688
+ public describeRecommendations (
1689
+ args : DescribeRecommendationsCommandInput ,
1690
+ cb : ( err : any , data ?: DescribeRecommendationsCommandOutput ) => void
1691
+ ) : void ;
1692
+ public describeRecommendations (
1693
+ args : DescribeRecommendationsCommandInput ,
1694
+ options : __HttpHandlerOptions ,
1695
+ cb : ( err : any , data ?: DescribeRecommendationsCommandOutput ) => void
1696
+ ) : void ;
1697
+ public describeRecommendations (
1698
+ args : DescribeRecommendationsCommandInput ,
1699
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DescribeRecommendationsCommandOutput ) => void ) ,
1700
+ cb ?: ( err : any , data ?: DescribeRecommendationsCommandOutput ) => void
1701
+ ) : Promise < DescribeRecommendationsCommandOutput > | void {
1702
+ const command = new DescribeRecommendationsCommand ( args ) ;
1703
+ if ( typeof optionsOrCb === "function" ) {
1704
+ this . send ( command , optionsOrCb ) ;
1705
+ } else if ( typeof cb === "function" ) {
1706
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1707
+ this . send ( command , optionsOrCb || { } , cb ) ;
1708
+ } else {
1709
+ return this . send ( command , optionsOrCb ) ;
1710
+ }
1711
+ }
1712
+
1591
1713
/**
1592
1714
* <p>Returns the status of the RefreshSchemas operation.</p>
1593
1715
*/
@@ -1869,7 +1991,6 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
1869
1991
1870
1992
/**
1871
1993
* <p>Returns information about the schema for the specified endpoint.</p>
1872
- *
1873
1994
* <p></p>
1874
1995
*/
1875
1996
public describeSchemas (
@@ -1971,7 +2092,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
1971
2092
1972
2093
/**
1973
2094
* <p>Lists all metadata tags attached to an DMS resource, including
1974
- * replication instance, endpoint, security group, and migration task.
2095
+ * replication instance, endpoint, subnet group, and migration task.
1975
2096
* For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
1976
2097
* <code>Tag</code>
1977
2098
* </a> data type description.</p>
@@ -2080,7 +2201,6 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
2080
2201
* <p>Modifies the replication instance to apply new settings. You can change one or more
2081
2202
* parameters by specifying these parameters and the new values in the request.</p>
2082
2203
* <p>Some settings are applied during the maintenance window.</p>
2083
- *
2084
2204
* <p></p>
2085
2205
*/
2086
2206
public modifyReplicationInstance (
@@ -2314,7 +2434,7 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
2314
2434
2315
2435
/**
2316
2436
* <p>Removes metadata tags from an DMS resource, including replication instance,
2317
- * endpoint, security group, and migration task. For more information, see
2437
+ * endpoint, subnet group, and migration task. For more information, see
2318
2438
* <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
2319
2439
* <code>Tag</code>
2320
2440
* </a>
@@ -2381,6 +2501,40 @@ export class DatabaseMigrationService extends DatabaseMigrationServiceClient {
2381
2501
}
2382
2502
}
2383
2503
2504
+ /**
2505
+ * <p>Starts the analysis of your source database to provide recommendations of target
2506
+ * engines.</p>
2507
+ * <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>
2508
+ */
2509
+ public startRecommendations (
2510
+ args : StartRecommendationsCommandInput ,
2511
+ options ?: __HttpHandlerOptions
2512
+ ) : Promise < StartRecommendationsCommandOutput > ;
2513
+ public startRecommendations (
2514
+ args : StartRecommendationsCommandInput ,
2515
+ cb : ( err : any , data ?: StartRecommendationsCommandOutput ) => void
2516
+ ) : void ;
2517
+ public startRecommendations (
2518
+ args : StartRecommendationsCommandInput ,
2519
+ options : __HttpHandlerOptions ,
2520
+ cb : ( err : any , data ?: StartRecommendationsCommandOutput ) => void
2521
+ ) : void ;
2522
+ public startRecommendations (
2523
+ args : StartRecommendationsCommandInput ,
2524
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: StartRecommendationsCommandOutput ) => void ) ,
2525
+ cb ?: ( err : any , data ?: StartRecommendationsCommandOutput ) => void
2526
+ ) : Promise < StartRecommendationsCommandOutput > | void {
2527
+ const command = new StartRecommendationsCommand ( args ) ;
2528
+ if ( typeof optionsOrCb === "function" ) {
2529
+ this . send ( command , optionsOrCb ) ;
2530
+ } else if ( typeof cb === "function" ) {
2531
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2532
+ this . send ( command , optionsOrCb || { } , cb ) ;
2533
+ } else {
2534
+ return this . send ( command , optionsOrCb ) ;
2535
+ }
2536
+ }
2537
+
2384
2538
/**
2385
2539
* <p>Starts the replication task.</p>
2386
2540
* <p>For more information about DMS tasks, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html">Working with Migration Tasks </a> in the
0 commit comments