@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
@@ -34,6 +34,27 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceRespons
34
34
  * @see {@link AddTagsToResourceCommandOutput} 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 Add tags to resource
42
+ * ```javascript
43
+ * // Adds metadata tags to an AWS DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with AWS DMS resources, or used in a Condition statement in an IAM policy for AWS DMS.
44
+ * const input = {
45
+ * "ResourceArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
46
+ * "Tags": [
47
+ * {
48
+ * "Key": "Acount",
49
+ * "Value": "1633456"
50
+ * }
51
+ * ]
52
+ * };
53
+ * const command = new AddTagsToResourceCommand(input);
54
+ * await client.send(command);
55
+ * // example id: add-tags-to-resource-1481744141435
56
+ * ```
57
+ *
37
58
  */
38
59
  export declare class AddTagsToResourceCommand extends $Command<AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
60
  readonly input: AddTagsToResourceCommandInput;
@@ -29,6 +29,10 @@ export interface ApplyPendingMaintenanceActionCommandOutput extends ApplyPending
29
29
  * @see {@link ApplyPendingMaintenanceActionCommandOutput} 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
+ *
32
36
  */
33
37
  export declare class ApplyPendingMaintenanceActionCommand extends $Command<ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
38
  readonly input: ApplyPendingMaintenanceActionCommandInput;
@@ -34,6 +34,17 @@ export interface BatchStartRecommendationsCommandOutput extends BatchStartRecomm
34
34
  * @see {@link BatchStartRecommendationsCommandOutput} for command's `response` shape.
35
35
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDeniedFault} (client fault)
38
+ * <p>DMS was denied access to the endpoint. Check that the
39
+ * role is correctly configured.</p>
40
+ *
41
+ * @throws {@link InvalidResourceStateFault} (client fault)
42
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
43
+ *
44
+ * @throws {@link ResourceNotFoundFault} (client fault)
45
+ * <p>The resource could not be found.</p>
46
+ *
47
+ *
37
48
  */
38
49
  export declare class BatchStartRecommendationsCommand extends $Command<BatchStartRecommendationsCommandInput, BatchStartRecommendationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
50
  readonly input: BatchStartRecommendationsCommandInput;
@@ -32,6 +32,17 @@ export interface CancelReplicationTaskAssessmentRunCommandOutput extends CancelR
32
32
  * @see {@link CancelReplicationTaskAssessmentRunCommandOutput} 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 ResourceNotFoundFault} (client fault)
43
+ * <p>The resource could not be found.</p>
44
+ *
45
+ *
35
46
  */
36
47
  export declare class CancelReplicationTaskAssessmentRunCommand extends $Command<CancelReplicationTaskAssessmentRunCommandInput, CancelReplicationTaskAssessmentRunCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
37
48
  readonly input: CancelReplicationTaskAssessmentRunCommandInput;
@@ -36,6 +36,72 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
36
36
  * @see {@link CreateEndpointCommandOutput} 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
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
56
+ * <p>The quota for this resource quota has been exceeded.</p>
57
+ *
58
+ * @throws {@link S3AccessDeniedFault} (client fault)
59
+ * <p>Insufficient privileges are preventing access to an Amazon S3 object.</p>
60
+ *
61
+ *
62
+ * @example Create endpoint
63
+ * ```javascript
64
+ * // Creates an endpoint using the provided settings.
65
+ * const input = {
66
+ * "CertificateArn": "",
67
+ * "DatabaseName": "testdb",
68
+ * "EndpointIdentifier": "test-endpoint-1",
69
+ * "EndpointType": "source",
70
+ * "EngineName": "mysql",
71
+ * "ExtraConnectionAttributes": "",
72
+ * "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
73
+ * "Password": "pasword",
74
+ * "Port": 3306,
75
+ * "ServerName": "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
76
+ * "SslMode": "require",
77
+ * "Tags": [
78
+ * {
79
+ * "Key": "Acount",
80
+ * "Value": "143327655"
81
+ * }
82
+ * ],
83
+ * "Username": "username"
84
+ * };
85
+ * const command = new CreateEndpointCommand(input);
86
+ * const response = await client.send(command);
87
+ * /* response ==
88
+ * {
89
+ * "Endpoint": {
90
+ * "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
91
+ * "EndpointIdentifier": "test-endpoint-1",
92
+ * "EndpointType": "source",
93
+ * "EngineName": "mysql",
94
+ * "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
95
+ * "Port": 3306,
96
+ * "ServerName": "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
97
+ * "Status": "active",
98
+ * "Username": "username"
99
+ * }
100
+ * }
101
+ * *\/
102
+ * // example id: create-endpoint-1481746254348
103
+ * ```
104
+ *
39
105
  */
40
106
  export declare class CreateEndpointCommand extends $Command<CreateEndpointCommandInput, CreateEndpointCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
41
107
  readonly input: CreateEndpointCommandInput;
@@ -44,6 +44,37 @@ export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscri
44
44
  * @see {@link CreateEventSubscriptionCommandOutput} for command's `response` shape.
45
45
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
46
46
  *
47
+ * @throws {@link KMSAccessDeniedFault} (client fault)
48
+ * <p>The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.</p>
49
+ *
50
+ * @throws {@link KMSDisabledFault} (client fault)
51
+ * <p>The specified KMS key isn't enabled.</p>
52
+ *
53
+ * @throws {@link KMSInvalidStateFault} (client fault)
54
+ * <p>The state of the specified KMS resource isn't valid for this request.</p>
55
+ *
56
+ * @throws {@link KMSNotFoundFault} (client fault)
57
+ * <p>The specified KMS entity or resource can't be found.</p>
58
+ *
59
+ * @throws {@link KMSThrottlingFault} (client fault)
60
+ * <p>This request triggered KMS request throttling.</p>
61
+ *
62
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
63
+ * <p>The resource you are attempting to create already exists.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundFault} (client fault)
66
+ * <p>The resource could not be found.</p>
67
+ *
68
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
69
+ * <p>The quota for this resource quota has been exceeded.</p>
70
+ *
71
+ * @throws {@link SNSInvalidTopicFault} (client fault)
72
+ * <p>The SNS topic is invalid.</p>
73
+ *
74
+ * @throws {@link SNSNoAuthorizationFault} (client fault)
75
+ * <p>You are not authorized for the SNS subscription.</p>
76
+ *
77
+ *
47
78
  */
48
79
  export declare class CreateEventSubscriptionCommand extends $Command<CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
49
80
  readonly input: CreateEventSubscriptionCommandInput;
@@ -29,6 +29,24 @@ export interface CreateFleetAdvisorCollectorCommandOutput extends CreateFleetAdv
29
29
  * @see {@link CreateFleetAdvisorCollectorCommandOutput} 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 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 ResourceQuotaExceededFault} (client fault)
40
+ * <p>The quota for this resource quota has been exceeded.</p>
41
+ *
42
+ * @throws {@link S3AccessDeniedFault} (client fault)
43
+ * <p>Insufficient privileges are preventing access to an Amazon S3 object.</p>
44
+ *
45
+ * @throws {@link S3ResourceNotFoundFault} (client fault)
46
+ * <p>A specified Amazon S3 bucket, bucket folder, or other object can't be
47
+ * found.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class CreateFleetAdvisorCollectorCommand extends $Command<CreateFleetAdvisorCollectorCommandInput, CreateFleetAdvisorCollectorCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
52
  readonly input: CreateFleetAdvisorCollectorCommandInput;
@@ -34,6 +34,119 @@ export interface CreateReplicationInstanceCommandOutput extends CreateReplicatio
34
34
  * @see {@link CreateReplicationInstanceCommandOutput} for command's `response` shape.
35
35
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDeniedFault} (client fault)
38
+ * <p>DMS was denied access to the endpoint. Check that the
39
+ * role is correctly configured.</p>
40
+ *
41
+ * @throws {@link InsufficientResourceCapacityFault} (client fault)
42
+ * <p>There are not enough resources allocated to the database migration.</p>
43
+ *
44
+ * @throws {@link InvalidResourceStateFault} (client fault)
45
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
46
+ *
47
+ * @throws {@link InvalidSubnet} (client fault)
48
+ * <p>The subnet provided is invalid.</p>
49
+ *
50
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
51
+ * <p>DMS cannot access the KMS key.</p>
52
+ *
53
+ * @throws {@link ReplicationSubnetGroupDoesNotCoverEnoughAZs} (client fault)
54
+ * <p>The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.</p>
55
+ *
56
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
57
+ * <p>The resource you are attempting to create already exists.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundFault} (client fault)
60
+ * <p>The resource could not be found.</p>
61
+ *
62
+ * @throws {@link ResourceQuotaExceededFault} (client fault)
63
+ * <p>The quota for this resource quota has been exceeded.</p>
64
+ *
65
+ * @throws {@link StorageQuotaExceededFault} (client fault)
66
+ * <p>The storage quota has been exceeded.</p>
67
+ *
68
+ *
69
+ * @example Create replication instance
70
+ * ```javascript
71
+ * // Creates the replication instance using the specified parameters.
72
+ * const input = {
73
+ * "AllocatedStorage": 123,
74
+ * "AutoMinorVersionUpgrade": true,
75
+ * "AvailabilityZone": "",
76
+ * "EngineVersion": "",
77
+ * "KmsKeyId": "",
78
+ * "MultiAZ": true,
79
+ * "PreferredMaintenanceWindow": "",
80
+ * "PubliclyAccessible": true,
81
+ * "ReplicationInstanceClass": "",
82
+ * "ReplicationInstanceIdentifier": "",
83
+ * "ReplicationSubnetGroupIdentifier": "",
84
+ * "Tags": [
85
+ * {
86
+ * "Key": "string",
87
+ * "Value": "string"
88
+ * }
89
+ * ],
90
+ * "VpcSecurityGroupIds": []
91
+ * };
92
+ * const command = new CreateReplicationInstanceCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response ==
95
+ * {
96
+ * "ReplicationInstance": {
97
+ * "AllocatedStorage": 5,
98
+ * "AutoMinorVersionUpgrade": true,
99
+ * "EngineVersion": "1.5.0",
100
+ * "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
101
+ * "PendingModifiedValues": {},
102
+ * "PreferredMaintenanceWindow": "sun:06:00-sun:14:00",
103
+ * "PubliclyAccessible": true,
104
+ * "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
105
+ * "ReplicationInstanceClass": "dms.t2.micro",
106
+ * "ReplicationInstanceIdentifier": "test-rep-1",
107
+ * "ReplicationInstanceStatus": "creating",
108
+ * "ReplicationSubnetGroup": {
109
+ * "ReplicationSubnetGroupDescription": "default",
110
+ * "ReplicationSubnetGroupIdentifier": "default",
111
+ * "SubnetGroupStatus": "Complete",
112
+ * "Subnets": [
113
+ * {
114
+ * "SubnetAvailabilityZone": {
115
+ * "Name": "us-east-1d"
116
+ * },
117
+ * "SubnetIdentifier": "subnet-f6dd91af",
118
+ * "SubnetStatus": "Active"
119
+ * },
120
+ * {
121
+ * "SubnetAvailabilityZone": {
122
+ * "Name": "us-east-1b"
123
+ * },
124
+ * "SubnetIdentifier": "subnet-3605751d",
125
+ * "SubnetStatus": "Active"
126
+ * },
127
+ * {
128
+ * "SubnetAvailabilityZone": {
129
+ * "Name": "us-east-1c"
130
+ * },
131
+ * "SubnetIdentifier": "subnet-c2daefb5",
132
+ * "SubnetStatus": "Active"
133
+ * },
134
+ * {
135
+ * "SubnetAvailabilityZone": {
136
+ * "Name": "us-east-1e"
137
+ * },
138
+ * "SubnetIdentifier": "subnet-85e90cb8",
139
+ * "SubnetStatus": "Active"
140
+ * }
141
+ * ],
142
+ * "VpcId": "vpc-6741a603"
143
+ * }
144
+ * }
145
+ * }
146
+ * *\/
147
+ * // example id: create-replication-instance-1481746705295
148
+ * ```
149
+ *
37
150
  */
38
151
  export declare class CreateReplicationInstanceCommand extends $Command<CreateReplicationInstanceCommandInput, CreateReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
152
  readonly input: CreateReplicationInstanceCommandInput;
@@ -31,6 +31,53 @@ export interface CreateReplicationSubnetGroupCommandOutput extends CreateReplica
31
31
  * @see {@link CreateReplicationSubnetGroupCommandOutput} 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 InvalidSubnet} (client fault)
39
+ * <p>The subnet provided is invalid.</p>
40
+ *
41
+ * @throws {@link ReplicationSubnetGroupDoesNotCoverEnoughAZs} (client fault)
42
+ * <p>The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.</p>
43
+ *
44
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
45
+ * <p>The resource you are attempting to create already exists.</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
+ *
54
+ * @example Create replication subnet group
55
+ * ```javascript
56
+ * // Creates a replication subnet group given a list of the subnet IDs in a VPC.
57
+ * const input = {
58
+ * "ReplicationSubnetGroupDescription": "US West subnet group",
59
+ * "ReplicationSubnetGroupIdentifier": "us-west-2ab-vpc-215ds366",
60
+ * "SubnetIds": [
61
+ * "subnet-e145356n",
62
+ * "subnet-58f79200"
63
+ * ],
64
+ * "Tags": [
65
+ * {
66
+ * "Key": "Acount",
67
+ * "Value": "145235"
68
+ * }
69
+ * ]
70
+ * };
71
+ * const command = new CreateReplicationSubnetGroupCommand(input);
72
+ * const response = await client.send(command);
73
+ * /* response ==
74
+ * {
75
+ * "ReplicationSubnetGroup": {}
76
+ * }
77
+ * *\/
78
+ * // example id: create-replication-subnet-group-1481747297930
79
+ * ```
80
+ *
34
81
  */
35
82
  export declare class CreateReplicationSubnetGroupCommand extends $Command<CreateReplicationSubnetGroupCommandInput, CreateReplicationSubnetGroupCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
36
83
  readonly input: CreateReplicationSubnetGroupCommandInput;
@@ -29,6 +29,66 @@ export interface CreateReplicationTaskCommandOutput extends CreateReplicationTas
29
29
  * @see {@link CreateReplicationTaskCommandOutput} 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 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 KMSKeyNotAccessibleFault} (client fault)
40
+ * <p>DMS cannot access the KMS key.</p>
41
+ *
42
+ * @throws {@link ResourceAlreadyExistsFault} (client fault)
43
+ * <p>The resource you are attempting to create already exists.</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
+ *
52
+ * @example Create replication task
53
+ * ```javascript
54
+ * // Creates a replication task using the specified parameters.
55
+ * const input = {
56
+ * "CdcStartTime": "2016-12-14T18:25:43Z",
57
+ * "MigrationType": "full-load",
58
+ * "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
59
+ * "ReplicationTaskIdentifier": "task1",
60
+ * "ReplicationTaskSettings": "",
61
+ * "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
62
+ * "TableMappings": "file://mappingfile.json",
63
+ * "Tags": [
64
+ * {
65
+ * "Key": "Acount",
66
+ * "Value": "24352226"
67
+ * }
68
+ * ],
69
+ * "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"
70
+ * };
71
+ * const command = new CreateReplicationTaskCommand(input);
72
+ * const response = await client.send(command);
73
+ * /* response ==
74
+ * {
75
+ * "ReplicationTask": {
76
+ * "MigrationType": "full-load",
77
+ * "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
78
+ * "ReplicationTaskArn": "arn:aws:dms:us-east-1:123456789012:task:OEAMB3NXSTZ6LFYZFEPPBBXPYM",
79
+ * "ReplicationTaskCreationDate": "2016-12-14T18:25:43Z",
80
+ * "ReplicationTaskIdentifier": "task1",
81
+ * "ReplicationTaskSettings": "{\"TargetMetadata\":{\"TargetSchema\":\"\",\"SupportLobs\":true,\"FullLobMode\":true,\"LobChunkSize\":64,\"LimitedSizeLobMode\":false,\"LobMaxSize\":0},\"FullLoadSettings\":{\"FullLoadEnabled\":true,\"ApplyChangesEnabled\":false,\"TargetTablePrepMode\":\"DROP_AND_CREATE\",\"CreatePkAfterFullLoad\":false,\"StopTaskCachedChangesApplied\":false,\"StopTaskCachedChangesNotApplied\":false,\"ResumeEnabled\":false,\"ResumeMinTableSize\":100000,\"ResumeOnlyClusteredPKTables\":true,\"MaxFullLoadSubTasks\":8,\"TransactionConsistencyTimeout\":600,\"CommitRate\":10000},\"Logging\":{\"EnableLogging\":false}}",
82
+ * "SourceEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE",
83
+ * "Status": "creating",
84
+ * "TableMappings": "file://mappingfile.json",
85
+ * "TargetEndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"
86
+ * }
87
+ * }
88
+ * *\/
89
+ * // example id: create-replication-task-1481747646288
90
+ * ```
91
+ *
32
92
  */
33
93
  export declare class CreateReplicationTaskCommand extends $Command<CreateReplicationTaskCommandInput, CreateReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
94
  readonly input: CreateReplicationTaskCommandInput;
@@ -29,6 +29,29 @@ export interface DeleteCertificateCommandOutput extends DeleteCertificateRespons
29
29
  * @see {@link DeleteCertificateCommandOutput} 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
+ *
39
+ * @example Delete Certificate
40
+ * ```javascript
41
+ * // Deletes the specified certificate.
42
+ * const input = {
43
+ * "CertificateArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUSM457DE6XFJCJQ"
44
+ * };
45
+ * const command = new DeleteCertificateCommand(input);
46
+ * const response = await client.send(command);
47
+ * /* response ==
48
+ * {
49
+ * "Certificate": {}
50
+ * }
51
+ * *\/
52
+ * // example id: delete-certificate-1481751957981
53
+ * ```
54
+ *
32
55
  */
33
56
  export declare class DeleteCertificateCommand extends $Command<DeleteCertificateCommandInput, DeleteCertificateCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
57
  readonly input: DeleteCertificateCommandInput;
@@ -29,6 +29,34 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse,
29
29
  * @see {@link DeleteConnectionCommandOutput} 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 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 Delete Connection
44
+ * ```javascript
45
+ * // Deletes the connection between the replication instance and the endpoint.
46
+ * const input = {
47
+ * "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
48
+ * "ReplicationInstanceArn": "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
49
+ * };
50
+ * const command = new DeleteConnectionCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "Connection": {}
55
+ * }
56
+ * *\/
57
+ * // example id: delete-connection-1481751957981
58
+ * ```
59
+ *
32
60
  */
33
61
  export declare class DeleteConnectionCommand extends $Command<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
62
  readonly input: DeleteConnectionCommandInput;
@@ -34,6 +34,40 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
34
34
  * @see {@link DeleteEndpointCommandOutput} for command's `response` shape.
35
35
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
36
36
  *
37
+ * @throws {@link InvalidResourceStateFault} (client fault)
38
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundFault} (client fault)
41
+ * <p>The resource could not be found.</p>
42
+ *
43
+ *
44
+ * @example Delete Endpoint
45
+ * ```javascript
46
+ * // Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.
47
+ * //
48
+ * const input = {
49
+ * "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM"
50
+ * };
51
+ * const command = new DeleteEndpointCommand(input);
52
+ * const response = await client.send(command);
53
+ * /* response ==
54
+ * {
55
+ * "Endpoint": {
56
+ * "EndpointArn": "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
57
+ * "EndpointIdentifier": "test-endpoint-1",
58
+ * "EndpointType": "source",
59
+ * "EngineName": "mysql",
60
+ * "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd",
61
+ * "Port": 3306,
62
+ * "ServerName": "mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com",
63
+ * "Status": "active",
64
+ * "Username": "username"
65
+ * }
66
+ * }
67
+ * *\/
68
+ * // example id: delete-endpoint-1481752425530
69
+ * ```
70
+ *
37
71
  */
38
72
  export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
39
73
  readonly input: DeleteEndpointCommandInput;
@@ -29,6 +29,13 @@ export interface DeleteEventSubscriptionCommandOutput extends DeleteEventSubscri
29
29
  * @see {@link DeleteEventSubscriptionCommandOutput} 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 DeleteEventSubscriptionCommand extends $Command<DeleteEventSubscriptionCommandInput, DeleteEventSubscriptionCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
41
  readonly input: DeleteEventSubscriptionCommandInput;
@@ -29,6 +29,13 @@ export interface DeleteFleetAdvisorCollectorCommandOutput extends __MetadataBear
29
29
  * @see {@link DeleteFleetAdvisorCollectorCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link CollectorNotFoundFault} (client fault)
33
+ * <p>The specified collector doesn't exist.</p>
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
+ *
32
39
  */
33
40
  export declare class DeleteFleetAdvisorCollectorCommand extends $Command<DeleteFleetAdvisorCollectorCommandInput, DeleteFleetAdvisorCollectorCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
41
  readonly input: DeleteFleetAdvisorCollectorCommandInput;
@@ -29,6 +29,13 @@ export interface DeleteFleetAdvisorDatabasesCommandOutput extends DeleteFleetAdv
29
29
  * @see {@link DeleteFleetAdvisorDatabasesCommandOutput} for command's `response` shape.
30
30
  * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidOperationFault} (client fault)
33
+ * <p>The action or operation requested isn't valid.</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 DeleteFleetAdvisorDatabasesCommand extends $Command<DeleteFleetAdvisorDatabasesCommandInput, DeleteFleetAdvisorDatabasesCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
34
41
  readonly input: DeleteFleetAdvisorDatabasesCommandInput;