@aws-sdk/client-database-migration-service 3.288.0 → 3.290.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 (70) hide show
  1. package/dist-types/commands/AddTagsToResourceCommand.d.ts +21 -0
  2. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +4 -0
  3. package/dist-types/commands/BatchStartRecommendationsCommand.d.ts +11 -0
  4. package/dist-types/commands/CancelReplicationTaskAssessmentRunCommand.d.ts +11 -0
  5. package/dist-types/commands/CreateEndpointCommand.d.ts +66 -0
  6. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +31 -0
  7. package/dist-types/commands/CreateFleetAdvisorCollectorCommand.d.ts +18 -0
  8. package/dist-types/commands/CreateReplicationInstanceCommand.d.ts +113 -0
  9. package/dist-types/commands/CreateReplicationSubnetGroupCommand.d.ts +47 -0
  10. package/dist-types/commands/CreateReplicationTaskCommand.d.ts +60 -0
  11. package/dist-types/commands/DeleteCertificateCommand.d.ts +23 -0
  12. package/dist-types/commands/DeleteConnectionCommand.d.ts +28 -0
  13. package/dist-types/commands/DeleteEndpointCommand.d.ts +34 -0
  14. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +7 -0
  15. package/dist-types/commands/DeleteFleetAdvisorCollectorCommand.d.ts +7 -0
  16. package/dist-types/commands/DeleteFleetAdvisorDatabasesCommand.d.ts +7 -0
  17. package/dist-types/commands/DeleteReplicationInstanceCommand.d.ts +73 -0
  18. package/dist-types/commands/DeleteReplicationSubnetGroupCommand.d.ts +18 -0
  19. package/dist-types/commands/DeleteReplicationTaskAssessmentRunCommand.d.ts +11 -0
  20. package/dist-types/commands/DeleteReplicationTaskCommand.d.ts +34 -0
  21. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +31 -0
  22. package/dist-types/commands/DescribeApplicableIndividualAssessmentsCommand.d.ts +11 -0
  23. package/dist-types/commands/DescribeCertificatesCommand.d.ts +31 -0
  24. package/dist-types/commands/DescribeConnectionsCommand.d.ts +39 -0
  25. package/dist-types/commands/DescribeEndpointSettingsCommand.d.ts +1 -0
  26. package/dist-types/commands/DescribeEndpointTypesCommand.d.ts +28 -0
  27. package/dist-types/commands/DescribeEndpointsCommand.d.ts +31 -0
  28. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -0
  29. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -0
  31. package/dist-types/commands/DescribeFleetAdvisorCollectorsCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeFleetAdvisorDatabasesCommand.d.ts +4 -0
  33. package/dist-types/commands/DescribeFleetAdvisorLsaAnalysisCommand.d.ts +4 -0
  34. package/dist-types/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.d.ts +4 -0
  35. package/dist-types/commands/DescribeFleetAdvisorSchemasCommand.d.ts +4 -0
  36. package/dist-types/commands/DescribeOrderableReplicationInstancesCommand.d.ts +19 -0
  37. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +4 -0
  38. package/dist-types/commands/DescribeRecommendationLimitationsCommand.d.ts +8 -0
  39. package/dist-types/commands/DescribeRecommendationsCommand.d.ts +8 -0
  40. package/dist-types/commands/DescribeRefreshSchemasStatusCommand.d.ts +23 -0
  41. package/dist-types/commands/DescribeReplicationInstanceTaskLogsCommand.d.ts +7 -0
  42. package/dist-types/commands/DescribeReplicationInstancesCommand.d.ts +31 -0
  43. package/dist-types/commands/DescribeReplicationSubnetGroupsCommand.d.ts +31 -0
  44. package/dist-types/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +4 -0
  45. package/dist-types/commands/DescribeReplicationTaskAssessmentRunsCommand.d.ts +4 -0
  46. package/dist-types/commands/DescribeReplicationTaskIndividualAssessmentsCommand.d.ts +4 -0
  47. package/dist-types/commands/DescribeReplicationTasksCommand.d.ts +31 -0
  48. package/dist-types/commands/DescribeSchemasCommand.d.ts +26 -0
  49. package/dist-types/commands/DescribeTableStatisticsCommand.d.ts +27 -0
  50. package/dist-types/commands/ImportCertificateCommand.d.ts +27 -0
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +20 -0
  52. package/dist-types/commands/ModifyEndpointCommand.d.ts +44 -0
  53. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +28 -0
  54. package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +97 -0
  55. package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +38 -0
  56. package/dist-types/commands/ModifyReplicationTaskCommand.d.ts +13 -0
  57. package/dist-types/commands/MoveReplicationTaskCommand.d.ts +17 -0
  58. package/dist-types/commands/RebootReplicationInstanceCommand.d.ts +7 -0
  59. package/dist-types/commands/RefreshSchemasCommand.d.ts +30 -0
  60. package/dist-types/commands/ReloadTablesCommand.d.ts +7 -0
  61. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +16 -0
  62. package/dist-types/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +7 -0
  63. package/dist-types/commands/StartRecommendationsCommand.d.ts +11 -0
  64. package/dist-types/commands/StartReplicationTaskAssessmentCommand.d.ts +7 -0
  65. package/dist-types/commands/StartReplicationTaskAssessmentRunCommand.d.ts +39 -0
  66. package/dist-types/commands/StartReplicationTaskCommand.d.ts +40 -0
  67. package/dist-types/commands/StopReplicationTaskCommand.d.ts +34 -0
  68. package/dist-types/commands/TestConnectionCommand.d.ts +34 -0
  69. package/dist-types/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +8 -0
  70. package/package.json +30 -30
@@ -29,6 +29,37 @@ export interface DescribeReplicationSubnetGroupsCommandOutput extends DescribeRe
29
29
  * @see {@link DescribeReplicationSubnetGroupsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceNotFoundFault} (client fault)
33
+ * <p>The resource could not be found.</p>
34
+ *
35
+ *
36
+ * @example Describe replication subnet groups
37
+ * ```javascript
38
+ * // Returns information about the replication subnet groups.
39
+ * const input = {
40
+ * "Filters": [
41
+ * {
42
+ * "Name": "string",
43
+ * "Values": [
44
+ * "string",
45
+ * "string"
46
+ * ]
47
+ * }
48
+ * ],
49
+ * "Marker": "",
50
+ * "MaxRecords": 123
51
+ * };
52
+ * const command = new DescribeReplicationSubnetGroupsCommand(input);
53
+ * const response = await client.send(command);
54
+ * /* response ==
55
+ * {
56
+ * "Marker": "",
57
+ * "ReplicationSubnetGroups": []
58
+ * }
59
+ * *\/
60
+ * // example id: describe-replication-subnet-groups-1481755621284
61
+ * ```
62
+ *
32
63
  */
33
64
  export declare class DescribeReplicationSubnetGroupsCommand extends $Command<DescribeReplicationSubnetGroupsCommandInput, DescribeReplicationSubnetGroupsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
65
  readonly input: DescribeReplicationSubnetGroupsCommandInput;
@@ -34,6 +34,10 @@ export interface DescribeReplicationTaskAssessmentResultsCommandOutput extends D
34
34
  * @see {@link DescribeReplicationTaskAssessmentResultsCommandOutput} for command's `response` shape.
35
35
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceNotFoundFault} (client fault)
38
+ * <p>The resource could not be found.</p>
39
+ *
40
+ *
37
41
  */
38
42
  export declare class DescribeReplicationTaskAssessmentResultsCommand extends $Command<DescribeReplicationTaskAssessmentResultsCommandInput, DescribeReplicationTaskAssessmentResultsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
43
  readonly input: DescribeReplicationTaskAssessmentResultsCommandInput;
@@ -37,6 +37,10 @@ export interface DescribeReplicationTaskAssessmentRunsCommandOutput extends Desc
37
37
  * @see {@link DescribeReplicationTaskAssessmentRunsCommandOutput} for command's `response` shape.
38
38
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
39
39
  *
40
+ * @throws {@link ResourceNotFoundFault} (client fault)
41
+ * <p>The resource could not be found.</p>
42
+ *
43
+ *
40
44
  */
41
45
  export declare class DescribeReplicationTaskAssessmentRunsCommand extends $Command<DescribeReplicationTaskAssessmentRunsCommandInput, DescribeReplicationTaskAssessmentRunsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
42
46
  readonly input: DescribeReplicationTaskAssessmentRunsCommandInput;
@@ -31,6 +31,10 @@ export interface DescribeReplicationTaskIndividualAssessmentsCommandOutput exten
31
31
  * @see {@link DescribeReplicationTaskIndividualAssessmentsCommandOutput} for command's `response` shape.
32
32
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
33
33
  *
34
+ * @throws {@link ResourceNotFoundFault} (client fault)
35
+ * <p>The resource could not be found.</p>
36
+ *
37
+ *
34
38
  */
35
39
  export declare class DescribeReplicationTaskIndividualAssessmentsCommand extends $Command<DescribeReplicationTaskIndividualAssessmentsCommandInput, DescribeReplicationTaskIndividualAssessmentsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
36
40
  readonly input: DescribeReplicationTaskIndividualAssessmentsCommandInput;
@@ -30,6 +30,37 @@ export interface DescribeReplicationTasksCommandOutput extends DescribeReplicati
30
30
  * @see {@link DescribeReplicationTasksCommandOutput} for command's `response` shape.
31
31
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
32
32
  *
33
+ * @throws {@link ResourceNotFoundFault} (client fault)
34
+ * <p>The resource could not be found.</p>
35
+ *
36
+ *
37
+ * @example Describe replication tasks
38
+ * ```javascript
39
+ * // Returns information about replication tasks for your account in the current region.
40
+ * const input = {
41
+ * "Filters": [
42
+ * {
43
+ * "Name": "string",
44
+ * "Values": [
45
+ * "string",
46
+ * "string"
47
+ * ]
48
+ * }
49
+ * ],
50
+ * "Marker": "",
51
+ * "MaxRecords": 123
52
+ * };
53
+ * const command = new DescribeReplicationTasksCommand(input);
54
+ * const response = await client.send(command);
55
+ * /* response ==
56
+ * {
57
+ * "Marker": "",
58
+ * "ReplicationTasks": []
59
+ * }
60
+ * *\/
61
+ * // example id: describe-replication-tasks-1481755777563
62
+ * ```
63
+ *
33
64
  */
34
65
  export declare class DescribeReplicationTasksCommand extends $Command<DescribeReplicationTasksCommandInput, DescribeReplicationTasksCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
35
66
  readonly input: DescribeReplicationTasksCommandInput;
@@ -30,6 +30,32 @@ export interface DescribeSchemasCommandOutput extends DescribeSchemasResponse, _
30
30
  * @see {@link DescribeSchemasCommandOutput} for command's `response` shape.
31
31
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidResourceStateFault} (client fault)
34
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundFault} (client fault)
37
+ * <p>The resource could not be found.</p>
38
+ *
39
+ *
40
+ * @example Describe schemas
41
+ * ```javascript
42
+ * // Returns information about the schema for the specified endpoint.
43
+ * const input = {
44
+ * "EndpointArn": "",
45
+ * "Marker": "",
46
+ * "MaxRecords": 123
47
+ * };
48
+ * const command = new DescribeSchemasCommand(input);
49
+ * const response = await client.send(command);
50
+ * /* response ==
51
+ * {
52
+ * "Marker": "",
53
+ * "Schemas": []
54
+ * }
55
+ * *\/
56
+ * // example id: describe-schemas-1481755933924
57
+ * ```
58
+ *
33
59
  */
34
60
  export declare class DescribeSchemasCommand extends $Command<DescribeSchemasCommandInput, DescribeSchemasCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
35
61
  readonly input: DescribeSchemasCommandInput;
@@ -33,6 +33,33 @@ export interface DescribeTableStatisticsCommandOutput extends DescribeTableStati
33
33
  * @see {@link DescribeTableStatisticsCommandOutput} for command's `response` shape.
34
34
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidResourceStateFault} (client fault)
37
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundFault} (client fault)
40
+ * <p>The resource could not be found.</p>
41
+ *
42
+ *
43
+ * @example Describe table statistics
44
+ * ```javascript
45
+ * // Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
46
+ * const input = {
47
+ * "Marker": "",
48
+ * "MaxRecords": 123,
49
+ * "ReplicationTaskArn": ""
50
+ * };
51
+ * const command = new DescribeTableStatisticsCommand(input);
52
+ * const response = await client.send(command);
53
+ * /* response ==
54
+ * {
55
+ * "Marker": "",
56
+ * "ReplicationTaskArn": "",
57
+ * "TableStatistics": []
58
+ * }
59
+ * *\/
60
+ * // example id: describe-table-statistics-1481756071890
61
+ * ```
62
+ *
36
63
  */
37
64
  export declare class DescribeTableStatisticsCommand extends $Command<DescribeTableStatisticsCommandInput, DescribeTableStatisticsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
38
65
  readonly input: DescribeTableStatisticsCommandInput;
@@ -29,6 +29,33 @@ export interface ImportCertificateCommandOutput extends ImportCertificateRespons
29
29
  * @see {@link ImportCertificateCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidCertificateFault} (client fault)
33
+ * <p>The certificate was not valid.</p>
34
+ *
35
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
36
+ * <p>The resource you are attempting to create already exists.</p>
37
+ *
38
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
39
+ * <p>The quota for this resource quota has been exceeded.</p>
40
+ *
41
+ *
42
+ * @example Import certificate
43
+ * ```javascript
44
+ * // Uploads the specified certificate.
45
+ * const input = {
46
+ * "CertificateIdentifier": "",
47
+ * "CertificatePem": ""
48
+ * };
49
+ * const command = new ImportCertificateCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "Certificate": {}
54
+ * }
55
+ * *\/
56
+ * // example id: import-certificate-1481756197206
57
+ * ```
58
+ *
32
59
  */
33
60
  export declare class ImportCertificateCommand extends $Command<ImportCertificateCommandInput, ImportCertificateCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
61
  readonly input: ImportCertificateCommandInput;
@@ -33,6 +33,26 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
33
33
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
34
34
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
35
35
  *
36
+ * @throws {@link ResourceNotFoundFault} (client fault)
37
+ * <p>The resource could not be found.</p>
38
+ *
39
+ *
40
+ * @example List tags for resource
41
+ * ```javascript
42
+ * // Lists all tags for an AWS DMS resource.
43
+ * const input = {
44
+ * "ResourceArn": ""
45
+ * };
46
+ * const command = new ListTagsForResourceCommand(input);
47
+ * const response = await client.send(command);
48
+ * /* response ==
49
+ * {
50
+ * "TagList": []
51
+ * }
52
+ * *\/
53
+ * // example id: list-tags-for-resource-1481761095501
54
+ * ```
55
+ *
36
56
  */
37
57
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
38
58
  readonly input: ListTagsForResourceCommandInput;
@@ -36,6 +36,50 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
36
36
  * @see {@link ModifyEndpointCommandOutput} for command's `response` shape.
37
37
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
38
38
  *
39
+ * @throws {@link AccessDeniedFault} (client fault)
40
+ * <p>DMS was denied access to the endpoint. Check that the
41
+ * role is correctly configured.</p>
42
+ *
43
+ * @throws {@link InvalidResourceStateFault} (client fault)
44
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
45
+ *
46
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
47
+ * <p>DMS cannot access the KMS key.</p>
48
+ *
49
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
50
+ * <p>The resource you are attempting to create already exists.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundFault} (client fault)
53
+ * <p>The resource could not be found.</p>
54
+ *
55
+ *
56
+ * @example Modify endpoint
57
+ * ```javascript
58
+ * // Modifies the specified endpoint.
59
+ * const input = {
60
+ * "CertificateArn": "",
61
+ * "DatabaseName": "",
62
+ * "EndpointArn": "",
63
+ * "EndpointIdentifier": "",
64
+ * "EndpointType": "source",
65
+ * "EngineName": "",
66
+ * "ExtraConnectionAttributes": "",
67
+ * "Password": "",
68
+ * "Port": 123,
69
+ * "ServerName": "",
70
+ * "SslMode": "require",
71
+ * "Username": ""
72
+ * };
73
+ * const command = new ModifyEndpointCommand(input);
74
+ * const response = await client.send(command);
75
+ * /* response ==
76
+ * {
77
+ * "Endpoint": {}
78
+ * }
79
+ * *\/
80
+ * // example id: modify-endpoint-1481761649937
81
+ * ```
82
+ *
39
83
  */
40
84
  export declare class ModifyEndpointCommand extends $Command<ModifyEndpointCommandInput, ModifyEndpointCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
41
85
  readonly input: ModifyEndpointCommandInput;
@@ -29,6 +29,34 @@ export interface ModifyEventSubscriptionCommandOutput extends ModifyEventSubscri
29
29
  * @see {@link ModifyEventSubscriptionCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link KMSAccessDeniedFault} (client fault)
33
+ * <p>The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.</p>
34
+ *
35
+ * @throws {@link KMSDisabledFault} (client fault)
36
+ * <p>The specified KMS key isn't enabled.</p>
37
+ *
38
+ * @throws {@link KMSInvalidStateFault} (client fault)
39
+ * <p>The state of the specified KMS resource isn't valid for this request.</p>
40
+ *
41
+ * @throws {@link KMSNotFoundFault} (client fault)
42
+ * <p>The specified KMS entity or resource can't be found.</p>
43
+ *
44
+ * @throws {@link KMSThrottlingFault} (client fault)
45
+ * <p>This request triggered KMS request throttling.</p>
46
+ *
47
+ * @throws {@link ResourceNotFoundFault} (client fault)
48
+ * <p>The resource could not be found.</p>
49
+ *
50
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
51
+ * <p>The quota for this resource quota has been exceeded.</p>
52
+ *
53
+ * @throws {@link SNSInvalidTopicFault} (client fault)
54
+ * <p>The SNS topic is invalid.</p>
55
+ *
56
+ * @throws {@link SNSNoAuthorizationFault} (client fault)
57
+ * <p>You are not authorized for the SNS subscription.</p>
58
+ *
59
+ *
32
60
  */
33
61
  export declare class ModifyEventSubscriptionCommand extends $Command<ModifyEventSubscriptionCommandInput, ModifyEventSubscriptionCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
62
  readonly input: ModifyEventSubscriptionCommandInput;
@@ -32,6 +32,103 @@ export interface ModifyReplicationInstanceCommandOutput extends ModifyReplicatio
32
32
  * @see {@link ModifyReplicationInstanceCommandOutput} for command's `response` shape.
33
33
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedFault} (client fault)
36
+ * <p>DMS was denied access to the endpoint. Check that the
37
+ * role is correctly configured.</p>
38
+ *
39
+ * @throws {@link InsufficientResourceCapacityFault} (client fault)
40
+ * <p>There are not enough resources allocated to the database migration.</p>
41
+ *
42
+ * @throws {@link InvalidResourceStateFault} (client fault)
43
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
44
+ *
45
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
46
+ * <p>The resource you are attempting to create already exists.</p>
47
+ *
48
+ * @throws {@link ResourceNotFoundFault} (client fault)
49
+ * <p>The resource could not be found.</p>
50
+ *
51
+ * @throws {@link StorageQuotaExceededFault} (client fault)
52
+ * <p>The storage quota has been exceeded.</p>
53
+ *
54
+ * @throws {@link UpgradeDependencyFailureFault} (client fault)
55
+ * <p>An upgrade dependency is preventing the database migration.</p>
56
+ *
57
+ *
58
+ * @example Modify replication instance
59
+ * ```javascript
60
+ * // Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window.
61
+ * const input = {
62
+ * "AllocatedStorage": 123,
63
+ * "AllowMajorVersionUpgrade": true,
64
+ * "ApplyImmediately": true,
65
+ * "AutoMinorVersionUpgrade": true,
66
+ * "EngineVersion": "1.5.0",
67
+ * "MultiAZ": true,
68
+ * "PreferredMaintenanceWindow": "sun:06:00-sun:14:00",
69
+ * "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
70
+ * "ReplicationInstanceClass": "dms.t2.micro",
71
+ * "ReplicationInstanceIdentifier": "test-rep-1",
72
+ * "VpcSecurityGroupIds": []
73
+ * };
74
+ * const command = new ModifyReplicationInstanceCommand(input);
75
+ * const response = await client.send(command);
76
+ * /* response ==
77
+ * {
78
+ * "ReplicationInstance": {
79
+ * "AllocatedStorage": 5,
80
+ * "AutoMinorVersionUpgrade": true,
81
+ * "EngineVersion": "1.5.0",
82
+ * "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
83
+ * "PendingModifiedValues": {},
84
+ * "PreferredMaintenanceWindow": "sun:06:00-sun:14:00",
85
+ * "PubliclyAccessible": true,
86
+ * "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
87
+ * "ReplicationInstanceClass": "dms.t2.micro",
88
+ * "ReplicationInstanceIdentifier": "test-rep-1",
89
+ * "ReplicationInstanceStatus": "available",
90
+ * "ReplicationSubnetGroup": {
91
+ * "ReplicationSubnetGroupDescription": "default",
92
+ * "ReplicationSubnetGroupIdentifier": "default",
93
+ * "SubnetGroupStatus": "Complete",
94
+ * "Subnets": [
95
+ * {
96
+ * "SubnetAvailabilityZone": {
97
+ * "Name": "us-east-1d"
98
+ * },
99
+ * "SubnetIdentifier": "subnet-f6dd91af",
100
+ * "SubnetStatus": "Active"
101
+ * },
102
+ * {
103
+ * "SubnetAvailabilityZone": {
104
+ * "Name": "us-east-1b"
105
+ * },
106
+ * "SubnetIdentifier": "subnet-3605751d",
107
+ * "SubnetStatus": "Active"
108
+ * },
109
+ * {
110
+ * "SubnetAvailabilityZone": {
111
+ * "Name": "us-east-1c"
112
+ * },
113
+ * "SubnetIdentifier": "subnet-c2daefb5",
114
+ * "SubnetStatus": "Active"
115
+ * },
116
+ * {
117
+ * "SubnetAvailabilityZone": {
118
+ * "Name": "us-east-1e"
119
+ * },
120
+ * "SubnetIdentifier": "subnet-85e90cb8",
121
+ * "SubnetStatus": "Active"
122
+ * }
123
+ * ],
124
+ * "VpcId": "vpc-6741a603"
125
+ * }
126
+ * }
127
+ * }
128
+ * *\/
129
+ * // example id: modify-replication-instance-1481761784746
130
+ * ```
131
+ *
35
132
  */
36
133
  export declare class ModifyReplicationInstanceCommand extends $Command<ModifyReplicationInstanceCommandInput, ModifyReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
37
134
  readonly input: ModifyReplicationInstanceCommandInput;
@@ -29,6 +29,44 @@ export interface ModifyReplicationSubnetGroupCommandOutput extends ModifyReplica
29
29
  * @see {@link ModifyReplicationSubnetGroupCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedFault} (client fault)
33
+ * <p>DMS was denied access to the endpoint. Check that the
34
+ * role is correctly configured.</p>
35
+ *
36
+ * @throws {@link InvalidSubnet} (client fault)
37
+ * <p>The subnet provided is invalid.</p>
38
+ *
39
+ * @throws {@link ReplicationSubnetGroupDoesNotCoverEnoughAZs} (client fault)
40
+ * <p>The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundFault} (client fault)
43
+ * <p>The resource could not be found.</p>
44
+ *
45
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
46
+ * <p>The quota for this resource quota has been exceeded.</p>
47
+ *
48
+ * @throws {@link SubnetAlreadyInUse} (client fault)
49
+ * <p>The specified subnet is already in use.</p>
50
+ *
51
+ *
52
+ * @example Modify replication subnet group
53
+ * ```javascript
54
+ * // Modifies the settings for the specified replication subnet group.
55
+ * const input = {
56
+ * "ReplicationSubnetGroupDescription": "",
57
+ * "ReplicationSubnetGroupIdentifier": "",
58
+ * "SubnetIds": []
59
+ * };
60
+ * const command = new ModifyReplicationSubnetGroupCommand(input);
61
+ * const response = await client.send(command);
62
+ * /* response ==
63
+ * {
64
+ * "ReplicationSubnetGroup": {}
65
+ * }
66
+ * *\/
67
+ * // example id: modify-replication-subnet-group-1481762275392
68
+ * ```
69
+ *
32
70
  */
33
71
  export declare class ModifyReplicationSubnetGroupCommand extends $Command<ModifyReplicationSubnetGroupCommandInput, ModifyReplicationSubnetGroupCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
72
  readonly input: ModifyReplicationSubnetGroupCommandInput;
@@ -32,6 +32,19 @@ export interface ModifyReplicationTaskCommandOutput extends ModifyReplicationTas
32
32
  * @see {@link ModifyReplicationTaskCommandOutput} for command's `response` shape.
33
33
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidResourceStateFault} (client fault)
36
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
37
+ *
38
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
39
+ * <p>DMS cannot access the KMS key.</p>
40
+ *
41
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
42
+ * <p>The resource you are attempting to create already exists.</p>
43
+ *
44
+ * @throws {@link ResourceNotFoundFault} (client fault)
45
+ * <p>The resource could not be found.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class ModifyReplicationTaskCommand extends $Command<ModifyReplicationTaskCommandInput, ModifyReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
37
50
  readonly input: ModifyReplicationTaskCommandInput;
@@ -32,6 +32,23 @@ export interface MoveReplicationTaskCommandOutput extends MoveReplicationTaskRes
32
32
  * @see {@link MoveReplicationTaskCommandOutput} for command's `response` shape.
33
33
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedFault} (client fault)
36
+ * <p>DMS was denied access to the endpoint. Check that the
37
+ * role is correctly configured.</p>
38
+ *
39
+ * @throws {@link InvalidResourceStateFault} (client fault)
40
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
41
+ *
42
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
43
+ * <p>DMS cannot access the KMS key.</p>
44
+ *
45
+ * @throws {@link ResourceNotFoundFault} (client fault)
46
+ * <p>The resource could not be found.</p>
47
+ *
48
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
49
+ * <p>The quota for this resource quota has been exceeded.</p>
50
+ *
51
+ *
35
52
  */
36
53
  export declare class MoveReplicationTaskCommand extends $Command<MoveReplicationTaskCommandInput, MoveReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
37
54
  readonly input: MoveReplicationTaskCommandInput;
@@ -30,6 +30,13 @@ export interface RebootReplicationInstanceCommandOutput extends RebootReplicatio
30
30
  * @see {@link RebootReplicationInstanceCommandOutput} for command's `response` shape.
31
31
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidResourceStateFault} (client fault)
34
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundFault} (client fault)
37
+ * <p>The resource could not be found.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class RebootReplicationInstanceCommand extends $Command<RebootReplicationInstanceCommandInput, RebootReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
35
42
  readonly input: RebootReplicationInstanceCommandInput;
@@ -31,6 +31,36 @@ export interface RefreshSchemasCommandOutput extends RefreshSchemasResponse, __M
31
31
  * @see {@link RefreshSchemasCommandOutput} for command's `response` shape.
32
32
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidResourceStateFault} (client fault)
35
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
36
+ *
37
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
38
+ * <p>DMS cannot access the KMS key.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundFault} (client fault)
41
+ * <p>The resource could not be found.</p>
42
+ *
43
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
44
+ * <p>The quota for this resource quota has been exceeded.</p>
45
+ *
46
+ *
47
+ * @example Refresh schema
48
+ * ```javascript
49
+ * // Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the describe-refresh-schemas-status operation.
50
+ * const input = {
51
+ * "EndpointArn": "",
52
+ * "ReplicationInstanceArn": ""
53
+ * };
54
+ * const command = new RefreshSchemasCommand(input);
55
+ * const response = await client.send(command);
56
+ * /* response ==
57
+ * {
58
+ * "RefreshSchemasStatus": {}
59
+ * }
60
+ * *\/
61
+ * // example id: refresh-schema-1481762399111
62
+ * ```
63
+ *
34
64
  */
35
65
  export declare class RefreshSchemasCommand extends $Command<RefreshSchemasCommandInput, RefreshSchemasCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
36
66
  readonly input: RefreshSchemasCommandInput;
@@ -31,6 +31,13 @@ export interface ReloadTablesCommandOutput extends ReloadTablesResponse, __Metad
31
31
  * @see {@link ReloadTablesCommandOutput} for command's `response` shape.
32
32
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidResourceStateFault} (client fault)
35
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundFault} (client fault)
38
+ * <p>The resource could not be found.</p>
39
+ *
40
+ *
34
41
  */
35
42
  export declare class ReloadTablesCommand extends $Command<ReloadTablesCommandInput, ReloadTablesCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
36
43
  readonly input: ReloadTablesCommandInput;
@@ -34,6 +34,22 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou
34
34
  * @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
35
35
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceNotFoundFault} (client fault)
38
+ * <p>The resource could not be found.</p>
39
+ *
40
+ *
41
+ * @example Remove tags from resource
42
+ * ```javascript
43
+ * // Removes metadata tags from an AWS DMS resource.
44
+ * const input = {
45
+ * "ResourceArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
46
+ * "TagKeys": []
47
+ * };
48
+ * const command = new RemoveTagsFromResourceCommand(input);
49
+ * await client.send(command);
50
+ * // example id: remove-tags-from-resource-1481762571330
51
+ * ```
52
+ *
37
53
  */
38
54
  export declare class RemoveTagsFromResourceCommand extends $Command<RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
55
  readonly input: RemoveTagsFromResourceCommandInput;
@@ -29,6 +29,13 @@ export interface RunFleetAdvisorLsaAnalysisCommandOutput extends RunFleetAdvisor
29
29
  * @see {@link RunFleetAdvisorLsaAnalysisCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidResourceStateFault} (client fault)
33
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundFault} (client fault)
36
+ * <p>The resource could not be found.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class RunFleetAdvisorLsaAnalysisCommand extends $Command<RunFleetAdvisorLsaAnalysisCommandInput, RunFleetAdvisorLsaAnalysisCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
41
  readonly input: RunFleetAdvisorLsaAnalysisCommandInput;
@@ -31,6 +31,17 @@ export interface StartRecommendationsCommandOutput extends __MetadataBearer {
31
31
  * @see {@link StartRecommendationsCommandOutput} for command's `response` shape.
32
32
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedFault} (client fault)
35
+ * <p>DMS was denied access to the endpoint. Check that the
36
+ * role is correctly configured.</p>
37
+ *
38
+ * @throws {@link InvalidResourceStateFault} (client fault)
39
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
40
+ *
41
+ * @throws {@link ResourceNotFoundFault} (client fault)
42
+ * <p>The resource could not be found.</p>
43
+ *
44
+ *
34
45
  */
35
46
  export declare class StartRecommendationsCommand extends $Command<StartRecommendationsCommandInput, StartRecommendationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
36
47
  readonly input: StartRecommendationsCommandInput;