@aws-sdk/client-database-migration-service 3.363.0 → 3.368.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 (80) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/DatabaseMigrationService.js +18 -0
  3. package/dist-cjs/commands/CreateReplicationConfigCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteReplicationConfigCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeReplicationConfigsCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeReplicationTableStatisticsCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeReplicationsCommand.js +46 -0
  8. package/dist-cjs/commands/ModifyReplicationConfigCommand.js +46 -0
  9. package/dist-cjs/commands/ReloadReplicationTablesCommand.js +46 -0
  10. package/dist-cjs/commands/StartReplicationCommand.js +46 -0
  11. package/dist-cjs/commands/StopReplicationCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +29 -20
  14. package/dist-cjs/pagination/DescribeReplicationConfigsPaginator.js +29 -0
  15. package/dist-cjs/pagination/DescribeReplicationTableStatisticsPaginator.js +29 -0
  16. package/dist-cjs/pagination/DescribeReplicationsPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_json1_1.js +565 -3
  19. package/dist-es/DatabaseMigrationService.js +18 -0
  20. package/dist-es/commands/CreateReplicationConfigCommand.js +42 -0
  21. package/dist-es/commands/DeleteReplicationConfigCommand.js +42 -0
  22. package/dist-es/commands/DescribeReplicationConfigsCommand.js +42 -0
  23. package/dist-es/commands/DescribeReplicationTableStatisticsCommand.js +42 -0
  24. package/dist-es/commands/DescribeReplicationsCommand.js +42 -0
  25. package/dist-es/commands/ModifyReplicationConfigCommand.js +42 -0
  26. package/dist-es/commands/ReloadReplicationTablesCommand.js +42 -0
  27. package/dist-es/commands/StartReplicationCommand.js +42 -0
  28. package/dist-es/commands/StopReplicationCommand.js +42 -0
  29. package/dist-es/commands/index.js +9 -0
  30. package/dist-es/models/models_0.js +26 -17
  31. package/dist-es/pagination/DescribeReplicationConfigsPaginator.js +25 -0
  32. package/dist-es/pagination/DescribeReplicationTableStatisticsPaginator.js +25 -0
  33. package/dist-es/pagination/DescribeReplicationsPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +3 -0
  35. package/dist-es/protocols/Aws_json1_1.js +543 -0
  36. package/dist-types/DatabaseMigrationService.d.ts +63 -0
  37. package/dist-types/DatabaseMigrationServiceClient.d.ts +11 -2
  38. package/dist-types/commands/CreateEndpointCommand.d.ts +30 -0
  39. package/dist-types/commands/CreateReplicationConfigCommand.d.ts +151 -0
  40. package/dist-types/commands/CreateReplicationInstanceCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateReplicationSubnetGroupCommand.d.ts +5 -1
  42. package/dist-types/commands/DeleteEndpointCommand.d.ts +15 -0
  43. package/dist-types/commands/DeleteReplicationConfigCommand.d.ts +109 -0
  44. package/dist-types/commands/DescribeEndpointsCommand.d.ts +15 -0
  45. package/dist-types/commands/DescribeRecommendationsCommand.d.ts +2 -0
  46. package/dist-types/commands/DescribeReplicationConfigsCommand.d.ts +112 -0
  47. package/dist-types/commands/DescribeReplicationTableStatisticsCommand.d.ts +118 -0
  48. package/dist-types/commands/DescribeReplicationsCommand.d.ts +129 -0
  49. package/dist-types/commands/ModifyEndpointCommand.d.ts +30 -0
  50. package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +143 -0
  51. package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
  52. package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +89 -0
  53. package/dist-types/commands/StartReplicationCommand.d.ts +130 -0
  54. package/dist-types/commands/StopReplicationCommand.d.ts +124 -0
  55. package/dist-types/commands/index.d.ts +9 -0
  56. package/dist-types/models/models_0.d.ts +1235 -344
  57. package/dist-types/pagination/DescribeReplicationConfigsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/DescribeReplicationTableStatisticsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/DescribeReplicationsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/index.d.ts +3 -0
  61. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  62. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +159 -0
  63. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +54 -0
  64. package/dist-types/ts3.4/commands/CreateReplicationConfigCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DeleteReplicationConfigCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/DescribeReplicationConfigsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/DescribeReplicationTableStatisticsCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/DescribeReplicationsCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/ModifyReplicationConfigCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/ReloadReplicationTablesCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +38 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +235 -47
  75. package/dist-types/ts3.4/pagination/DescribeReplicationConfigsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/DescribeReplicationTableStatisticsPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/DescribeReplicationsPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  79. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  80. package/package.json +1 -1
@@ -0,0 +1,109 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DeleteReplicationConfigMessage, DeleteReplicationConfigResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteReplicationConfigCommand}.
14
+ */
15
+ export interface DeleteReplicationConfigCommandInput extends DeleteReplicationConfigMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteReplicationConfigCommand}.
21
+ */
22
+ export interface DeleteReplicationConfigCommandOutput extends DeleteReplicationConfigResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all
27
+ * replications that use this configuration. You can't delete the configuration for an DMS Serverless replication
28
+ * that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { DatabaseMigrationServiceClient, DeleteReplicationConfigCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
33
+ * // const { DatabaseMigrationServiceClient, DeleteReplicationConfigCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
34
+ * const client = new DatabaseMigrationServiceClient(config);
35
+ * const input = { // DeleteReplicationConfigMessage
36
+ * ReplicationConfigArn: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DeleteReplicationConfigCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DeleteReplicationConfigResponse
41
+ * // ReplicationConfig: { // ReplicationConfig
42
+ * // ReplicationConfigIdentifier: "STRING_VALUE",
43
+ * // ReplicationConfigArn: "STRING_VALUE",
44
+ * // SourceEndpointArn: "STRING_VALUE",
45
+ * // TargetEndpointArn: "STRING_VALUE",
46
+ * // ReplicationType: "full-load" || "cdc" || "full-load-and-cdc",
47
+ * // ComputeConfig: { // ComputeConfig
48
+ * // AvailabilityZone: "STRING_VALUE",
49
+ * // DnsNameServers: "STRING_VALUE",
50
+ * // KmsKeyId: "STRING_VALUE",
51
+ * // MaxCapacityUnits: Number("int"),
52
+ * // MinCapacityUnits: Number("int"),
53
+ * // MultiAZ: true || false,
54
+ * // PreferredMaintenanceWindow: "STRING_VALUE",
55
+ * // ReplicationSubnetGroupId: "STRING_VALUE",
56
+ * // VpcSecurityGroupIds: [ // StringList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // },
60
+ * // ReplicationSettings: "STRING_VALUE",
61
+ * // SupplementalSettings: "STRING_VALUE",
62
+ * // TableMappings: "STRING_VALUE",
63
+ * // ReplicationConfigCreateTime: new Date("TIMESTAMP"),
64
+ * // ReplicationConfigUpdateTime: new Date("TIMESTAMP"),
65
+ * // },
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param DeleteReplicationConfigCommandInput - {@link DeleteReplicationConfigCommandInput}
71
+ * @returns {@link DeleteReplicationConfigCommandOutput}
72
+ * @see {@link DeleteReplicationConfigCommandInput} for command's `input` shape.
73
+ * @see {@link DeleteReplicationConfigCommandOutput} for command's `response` shape.
74
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedFault} (client fault)
77
+ * <p>DMS was denied access to the endpoint. Check that the
78
+ * role is correctly configured.</p>
79
+ *
80
+ * @throws {@link InvalidResourceStateFault} (client fault)
81
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
82
+ *
83
+ * @throws {@link ResourceNotFoundFault} (client fault)
84
+ * <p>The resource could not be found.</p>
85
+ *
86
+ * @throws {@link DatabaseMigrationServiceServiceException}
87
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
88
+ *
89
+ */
90
+ export declare class DeleteReplicationConfigCommand extends $Command<DeleteReplicationConfigCommandInput, DeleteReplicationConfigCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
91
+ readonly input: DeleteReplicationConfigCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: DeleteReplicationConfigCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteReplicationConfigCommandInput, DeleteReplicationConfigCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -130,6 +130,8 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
130
130
  * // KmsKeyId: "STRING_VALUE",
131
131
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
132
132
  * // SecretsManagerSecretId: "STRING_VALUE",
133
+ * // UseUpdateLookUp: true || false,
134
+ * // ReplicateShardCollections: true || false,
133
135
  * // },
134
136
  * // KinesisSettings: { // KinesisSettings
135
137
  * // StreamArn: "STRING_VALUE",
@@ -163,6 +165,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
163
165
  * // SaslPassword: "STRING_VALUE",
164
166
  * // NoHexPrefix: true || false,
165
167
  * // SaslMechanism: "scram-sha-512" || "plain",
168
+ * // SslEndpointIdentificationAlgorithm: "none" || "https",
166
169
  * // },
167
170
  * // ElasticsearchSettings: { // ElasticsearchSettings
168
171
  * // ServiceAccessRoleArn: "STRING_VALUE", // required
@@ -234,6 +237,8 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
234
237
  * // SecretsManagerSecretId: "STRING_VALUE",
235
238
  * // TrimSpaceInChar: true || false,
236
239
  * // MapBooleanAsBoolean: true || false,
240
+ * // MapJsonbAsClob: true || false,
241
+ * // MapLongVarcharAs: "wstring" || "clob" || "nclob",
237
242
  * // },
238
243
  * // MySQLSettings: { // MySQLSettings
239
244
  * // AfterConnectScript: "STRING_VALUE",
@@ -296,6 +301,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
296
301
  * // SecretsManagerOracleAsmSecretId: "STRING_VALUE",
297
302
  * // TrimSpaceInChar: true || false,
298
303
  * // ConvertTimestampWithZoneToUTC: true || false,
304
+ * // OpenTransactionWindow: Number("int"),
299
305
  * // },
300
306
  * // SybaseSettings: { // SybaseSettings
301
307
  * // DatabaseName: "STRING_VALUE",
@@ -349,6 +355,8 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
349
355
  * // KmsKeyId: "STRING_VALUE",
350
356
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
351
357
  * // SecretsManagerSecretId: "STRING_VALUE",
358
+ * // UseUpdateLookUp: true || false,
359
+ * // ReplicateShardCollections: true || false,
352
360
  * // },
353
361
  * // RedisSettings: { // RedisSettings
354
362
  * // ServerName: "STRING_VALUE", // required
@@ -375,6 +383,13 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
375
383
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
376
384
  * // SecretsManagerSecretId: "STRING_VALUE",
377
385
  * // },
386
+ * // TimestreamSettings: { // TimestreamSettings
387
+ * // DatabaseName: "STRING_VALUE", // required
388
+ * // MemoryDuration: Number("int"), // required
389
+ * // MagneticDuration: Number("int"), // required
390
+ * // CdcInsertsAndUpdates: true || false,
391
+ * // EnableMagneticStoreWrites: true || false,
392
+ * // },
378
393
  * // },
379
394
  * // ],
380
395
  * // };
@@ -67,6 +67,7 @@ export interface DescribeRecommendationsCommandOutput extends DescribeRecommenda
67
67
  * // StorageSize: Number("int"),
68
68
  * // StorageIops: Number("int"),
69
69
  * // DeploymentOption: "STRING_VALUE",
70
+ * // EngineVersion: "STRING_VALUE",
70
71
  * // },
71
72
  * // TargetConfiguration: { // RdsConfiguration
72
73
  * // EngineEdition: "STRING_VALUE",
@@ -77,6 +78,7 @@ export interface DescribeRecommendationsCommandOutput extends DescribeRecommenda
77
78
  * // StorageSize: Number("int"),
78
79
  * // StorageIops: Number("int"),
79
80
  * // DeploymentOption: "STRING_VALUE",
81
+ * // EngineVersion: "STRING_VALUE",
80
82
  * // },
81
83
  * // },
82
84
  * // },
@@ -0,0 +1,112 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DescribeReplicationConfigsMessage, DescribeReplicationConfigsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeReplicationConfigsCommand}.
14
+ */
15
+ export interface DescribeReplicationConfigsCommandInput extends DescribeReplicationConfigsMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeReplicationConfigsCommand}.
21
+ */
22
+ export interface DescribeReplicationConfigsCommandOutput extends DescribeReplicationConfigsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns one or more existing DMS Serverless replication configurations as a list of structures.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { DatabaseMigrationServiceClient, DescribeReplicationConfigsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
31
+ * // const { DatabaseMigrationServiceClient, DescribeReplicationConfigsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
32
+ * const client = new DatabaseMigrationServiceClient(config);
33
+ * const input = { // DescribeReplicationConfigsMessage
34
+ * Filters: [ // FilterList
35
+ * { // Filter
36
+ * Name: "STRING_VALUE", // required
37
+ * Values: [ // FilterValueList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * },
41
+ * ],
42
+ * MaxRecords: Number("int"),
43
+ * Marker: "STRING_VALUE",
44
+ * };
45
+ * const command = new DescribeReplicationConfigsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // DescribeReplicationConfigsResponse
48
+ * // Marker: "STRING_VALUE",
49
+ * // ReplicationConfigs: [ // ReplicationConfigList
50
+ * // { // ReplicationConfig
51
+ * // ReplicationConfigIdentifier: "STRING_VALUE",
52
+ * // ReplicationConfigArn: "STRING_VALUE",
53
+ * // SourceEndpointArn: "STRING_VALUE",
54
+ * // TargetEndpointArn: "STRING_VALUE",
55
+ * // ReplicationType: "full-load" || "cdc" || "full-load-and-cdc",
56
+ * // ComputeConfig: { // ComputeConfig
57
+ * // AvailabilityZone: "STRING_VALUE",
58
+ * // DnsNameServers: "STRING_VALUE",
59
+ * // KmsKeyId: "STRING_VALUE",
60
+ * // MaxCapacityUnits: Number("int"),
61
+ * // MinCapacityUnits: Number("int"),
62
+ * // MultiAZ: true || false,
63
+ * // PreferredMaintenanceWindow: "STRING_VALUE",
64
+ * // ReplicationSubnetGroupId: "STRING_VALUE",
65
+ * // VpcSecurityGroupIds: [ // StringList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // },
69
+ * // ReplicationSettings: "STRING_VALUE",
70
+ * // SupplementalSettings: "STRING_VALUE",
71
+ * // TableMappings: "STRING_VALUE",
72
+ * // ReplicationConfigCreateTime: new Date("TIMESTAMP"),
73
+ * // ReplicationConfigUpdateTime: new Date("TIMESTAMP"),
74
+ * // },
75
+ * // ],
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param DescribeReplicationConfigsCommandInput - {@link DescribeReplicationConfigsCommandInput}
81
+ * @returns {@link DescribeReplicationConfigsCommandOutput}
82
+ * @see {@link DescribeReplicationConfigsCommandInput} for command's `input` shape.
83
+ * @see {@link DescribeReplicationConfigsCommandOutput} for command's `response` shape.
84
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
85
+ *
86
+ * @throws {@link ResourceNotFoundFault} (client fault)
87
+ * <p>The resource could not be found.</p>
88
+ *
89
+ * @throws {@link DatabaseMigrationServiceServiceException}
90
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
91
+ *
92
+ */
93
+ export declare class DescribeReplicationConfigsCommand extends $Command<DescribeReplicationConfigsCommandInput, DescribeReplicationConfigsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
94
+ readonly input: DescribeReplicationConfigsCommandInput;
95
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
+ /**
97
+ * @public
98
+ */
99
+ constructor(input: DescribeReplicationConfigsCommandInput);
100
+ /**
101
+ * @internal
102
+ */
103
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReplicationConfigsCommandInput, DescribeReplicationConfigsCommandOutput>;
104
+ /**
105
+ * @internal
106
+ */
107
+ private serialize;
108
+ /**
109
+ * @internal
110
+ */
111
+ private deserialize;
112
+ }
@@ -0,0 +1,118 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DescribeReplicationTableStatisticsMessage, DescribeReplicationTableStatisticsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeReplicationTableStatisticsCommand}.
14
+ */
15
+ export interface DescribeReplicationTableStatisticsCommandInput extends DescribeReplicationTableStatisticsMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeReplicationTableStatisticsCommand}.
21
+ */
22
+ export interface DescribeReplicationTableStatisticsCommandOutput extends DescribeReplicationTableStatisticsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns table and schema statistics for one or more provisioned replications that use a
27
+ * given DMS Serverless replication configuration.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DatabaseMigrationServiceClient, DescribeReplicationTableStatisticsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
32
+ * // const { DatabaseMigrationServiceClient, DescribeReplicationTableStatisticsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
33
+ * const client = new DatabaseMigrationServiceClient(config);
34
+ * const input = { // DescribeReplicationTableStatisticsMessage
35
+ * ReplicationConfigArn: "STRING_VALUE", // required
36
+ * MaxRecords: Number("int"),
37
+ * Marker: "STRING_VALUE",
38
+ * Filters: [ // FilterList
39
+ * { // Filter
40
+ * Name: "STRING_VALUE", // required
41
+ * Values: [ // FilterValueList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * };
47
+ * const command = new DescribeReplicationTableStatisticsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // DescribeReplicationTableStatisticsResponse
50
+ * // ReplicationConfigArn: "STRING_VALUE",
51
+ * // Marker: "STRING_VALUE",
52
+ * // ReplicationTableStatistics: [ // ReplicationTableStatisticsList
53
+ * // { // TableStatistics
54
+ * // SchemaName: "STRING_VALUE",
55
+ * // TableName: "STRING_VALUE",
56
+ * // Inserts: Number("long"),
57
+ * // Deletes: Number("long"),
58
+ * // Updates: Number("long"),
59
+ * // Ddls: Number("long"),
60
+ * // AppliedInserts: Number("long"),
61
+ * // AppliedDeletes: Number("long"),
62
+ * // AppliedUpdates: Number("long"),
63
+ * // AppliedDdls: Number("long"),
64
+ * // FullLoadRows: Number("long"),
65
+ * // FullLoadCondtnlChkFailedRows: Number("long"),
66
+ * // FullLoadErrorRows: Number("long"),
67
+ * // FullLoadStartTime: new Date("TIMESTAMP"),
68
+ * // FullLoadEndTime: new Date("TIMESTAMP"),
69
+ * // FullLoadReloaded: true || false,
70
+ * // LastUpdateTime: new Date("TIMESTAMP"),
71
+ * // TableState: "STRING_VALUE",
72
+ * // ValidationPendingRecords: Number("long"),
73
+ * // ValidationFailedRecords: Number("long"),
74
+ * // ValidationSuspendedRecords: Number("long"),
75
+ * // ValidationState: "STRING_VALUE",
76
+ * // ValidationStateDetails: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param DescribeReplicationTableStatisticsCommandInput - {@link DescribeReplicationTableStatisticsCommandInput}
84
+ * @returns {@link DescribeReplicationTableStatisticsCommandOutput}
85
+ * @see {@link DescribeReplicationTableStatisticsCommandInput} for command's `input` shape.
86
+ * @see {@link DescribeReplicationTableStatisticsCommandOutput} for command's `response` shape.
87
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
88
+ *
89
+ * @throws {@link InvalidResourceStateFault} (client fault)
90
+ * <p>The resource is in a state that prevents it from being used for database migration.</p>
91
+ *
92
+ * @throws {@link ResourceNotFoundFault} (client fault)
93
+ * <p>The resource could not be found.</p>
94
+ *
95
+ * @throws {@link DatabaseMigrationServiceServiceException}
96
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
97
+ *
98
+ */
99
+ export declare class DescribeReplicationTableStatisticsCommand extends $Command<DescribeReplicationTableStatisticsCommandInput, DescribeReplicationTableStatisticsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
100
+ readonly input: DescribeReplicationTableStatisticsCommandInput;
101
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
+ /**
103
+ * @public
104
+ */
105
+ constructor(input: DescribeReplicationTableStatisticsCommandInput);
106
+ /**
107
+ * @internal
108
+ */
109
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReplicationTableStatisticsCommandInput, DescribeReplicationTableStatisticsCommandOutput>;
110
+ /**
111
+ * @internal
112
+ */
113
+ private serialize;
114
+ /**
115
+ * @internal
116
+ */
117
+ private deserialize;
118
+ }
@@ -0,0 +1,129 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
5
+ import { DescribeReplicationsMessage, DescribeReplicationsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeReplicationsCommand}.
14
+ */
15
+ export interface DescribeReplicationsCommandInput extends DescribeReplicationsMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeReplicationsCommand}.
21
+ */
22
+ export interface DescribeReplicationsCommandOutput extends DescribeReplicationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Provides details on replication progress by returning status information for one or more
27
+ * provisioned DMS Serverless replications.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DatabaseMigrationServiceClient, DescribeReplicationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
32
+ * // const { DatabaseMigrationServiceClient, DescribeReplicationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
33
+ * const client = new DatabaseMigrationServiceClient(config);
34
+ * const input = { // DescribeReplicationsMessage
35
+ * Filters: [ // FilterList
36
+ * { // Filter
37
+ * Name: "STRING_VALUE", // required
38
+ * Values: [ // FilterValueList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * ],
43
+ * MaxRecords: Number("int"),
44
+ * Marker: "STRING_VALUE",
45
+ * };
46
+ * const command = new DescribeReplicationsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // DescribeReplicationsResponse
49
+ * // Marker: "STRING_VALUE",
50
+ * // Replications: [ // ReplicationList
51
+ * // { // Replication
52
+ * // ReplicationConfigIdentifier: "STRING_VALUE",
53
+ * // ReplicationConfigArn: "STRING_VALUE",
54
+ * // SourceEndpointArn: "STRING_VALUE",
55
+ * // TargetEndpointArn: "STRING_VALUE",
56
+ * // ReplicationType: "full-load" || "cdc" || "full-load-and-cdc",
57
+ * // Status: "STRING_VALUE",
58
+ * // ProvisionData: { // ProvisionData
59
+ * // ProvisionState: "STRING_VALUE",
60
+ * // ProvisionedCapacityUnits: Number("int"),
61
+ * // DateProvisioned: new Date("TIMESTAMP"),
62
+ * // IsNewProvisioningAvailable: true || false,
63
+ * // DateNewProvisioningDataAvailable: new Date("TIMESTAMP"),
64
+ * // ReasonForNewProvisioningData: "STRING_VALUE",
65
+ * // },
66
+ * // StopReason: "STRING_VALUE",
67
+ * // FailureMessages: [ // StringList
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // ReplicationStats: { // ReplicationStats
71
+ * // FullLoadProgressPercent: Number("int"),
72
+ * // ElapsedTimeMillis: Number("long"),
73
+ * // TablesLoaded: Number("int"),
74
+ * // TablesLoading: Number("int"),
75
+ * // TablesQueued: Number("int"),
76
+ * // TablesErrored: Number("int"),
77
+ * // FreshStartDate: new Date("TIMESTAMP"),
78
+ * // StartDate: new Date("TIMESTAMP"),
79
+ * // StopDate: new Date("TIMESTAMP"),
80
+ * // FullLoadStartDate: new Date("TIMESTAMP"),
81
+ * // FullLoadFinishDate: new Date("TIMESTAMP"),
82
+ * // },
83
+ * // StartReplicationType: "STRING_VALUE",
84
+ * // CdcStartTime: new Date("TIMESTAMP"),
85
+ * // CdcStartPosition: "STRING_VALUE",
86
+ * // CdcStopPosition: "STRING_VALUE",
87
+ * // RecoveryCheckpoint: "STRING_VALUE",
88
+ * // ReplicationCreateTime: new Date("TIMESTAMP"),
89
+ * // ReplicationUpdateTime: new Date("TIMESTAMP"),
90
+ * // ReplicationLastStopTime: new Date("TIMESTAMP"),
91
+ * // },
92
+ * // ],
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param DescribeReplicationsCommandInput - {@link DescribeReplicationsCommandInput}
98
+ * @returns {@link DescribeReplicationsCommandOutput}
99
+ * @see {@link DescribeReplicationsCommandInput} for command's `input` shape.
100
+ * @see {@link DescribeReplicationsCommandOutput} for command's `response` shape.
101
+ * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
102
+ *
103
+ * @throws {@link ResourceNotFoundFault} (client fault)
104
+ * <p>The resource could not be found.</p>
105
+ *
106
+ * @throws {@link DatabaseMigrationServiceServiceException}
107
+ * <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
108
+ *
109
+ */
110
+ export declare class DescribeReplicationsCommand extends $Command<DescribeReplicationsCommandInput, DescribeReplicationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
111
+ readonly input: DescribeReplicationsCommandInput;
112
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
+ /**
114
+ * @public
115
+ */
116
+ constructor(input: DescribeReplicationsCommandInput);
117
+ /**
118
+ * @internal
119
+ */
120
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReplicationsCommandInput, DescribeReplicationsCommandOutput>;
121
+ /**
122
+ * @internal
123
+ */
124
+ private serialize;
125
+ /**
126
+ * @internal
127
+ */
128
+ private deserialize;
129
+ }
@@ -117,6 +117,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
117
117
  * KmsKeyId: "STRING_VALUE",
118
118
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
119
119
  * SecretsManagerSecretId: "STRING_VALUE",
120
+ * UseUpdateLookUp: true || false,
121
+ * ReplicateShardCollections: true || false,
120
122
  * },
121
123
  * KinesisSettings: { // KinesisSettings
122
124
  * StreamArn: "STRING_VALUE",
@@ -150,6 +152,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
150
152
  * SaslPassword: "STRING_VALUE",
151
153
  * NoHexPrefix: true || false,
152
154
  * SaslMechanism: "scram-sha-512" || "plain",
155
+ * SslEndpointIdentificationAlgorithm: "none" || "https",
153
156
  * },
154
157
  * ElasticsearchSettings: { // ElasticsearchSettings
155
158
  * ServiceAccessRoleArn: "STRING_VALUE", // required
@@ -221,6 +224,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
221
224
  * SecretsManagerSecretId: "STRING_VALUE",
222
225
  * TrimSpaceInChar: true || false,
223
226
  * MapBooleanAsBoolean: true || false,
227
+ * MapJsonbAsClob: true || false,
228
+ * MapLongVarcharAs: "wstring" || "clob" || "nclob",
224
229
  * },
225
230
  * MySQLSettings: { // MySQLSettings
226
231
  * AfterConnectScript: "STRING_VALUE",
@@ -283,6 +288,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
283
288
  * SecretsManagerOracleAsmSecretId: "STRING_VALUE",
284
289
  * TrimSpaceInChar: true || false,
285
290
  * ConvertTimestampWithZoneToUTC: true || false,
291
+ * OpenTransactionWindow: Number("int"),
286
292
  * },
287
293
  * SybaseSettings: { // SybaseSettings
288
294
  * DatabaseName: "STRING_VALUE",
@@ -336,6 +342,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
336
342
  * KmsKeyId: "STRING_VALUE",
337
343
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
338
344
  * SecretsManagerSecretId: "STRING_VALUE",
345
+ * UseUpdateLookUp: true || false,
346
+ * ReplicateShardCollections: true || false,
339
347
  * },
340
348
  * RedisSettings: { // RedisSettings
341
349
  * ServerName: "STRING_VALUE", // required
@@ -363,6 +371,13 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
363
371
  * SecretsManagerAccessRoleArn: "STRING_VALUE",
364
372
  * SecretsManagerSecretId: "STRING_VALUE",
365
373
  * },
374
+ * TimestreamSettings: { // TimestreamSettings
375
+ * DatabaseName: "STRING_VALUE", // required
376
+ * MemoryDuration: Number("int"), // required
377
+ * MagneticDuration: Number("int"), // required
378
+ * CdcInsertsAndUpdates: true || false,
379
+ * EnableMagneticStoreWrites: true || false,
380
+ * },
366
381
  * };
367
382
  * const command = new ModifyEndpointCommand(input);
368
383
  * const response = await client.send(command);
@@ -450,6 +465,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
450
465
  * // KmsKeyId: "STRING_VALUE",
451
466
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
452
467
  * // SecretsManagerSecretId: "STRING_VALUE",
468
+ * // UseUpdateLookUp: true || false,
469
+ * // ReplicateShardCollections: true || false,
453
470
  * // },
454
471
  * // KinesisSettings: { // KinesisSettings
455
472
  * // StreamArn: "STRING_VALUE",
@@ -483,6 +500,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
483
500
  * // SaslPassword: "STRING_VALUE",
484
501
  * // NoHexPrefix: true || false,
485
502
  * // SaslMechanism: "scram-sha-512" || "plain",
503
+ * // SslEndpointIdentificationAlgorithm: "none" || "https",
486
504
  * // },
487
505
  * // ElasticsearchSettings: { // ElasticsearchSettings
488
506
  * // ServiceAccessRoleArn: "STRING_VALUE", // required
@@ -554,6 +572,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
554
572
  * // SecretsManagerSecretId: "STRING_VALUE",
555
573
  * // TrimSpaceInChar: true || false,
556
574
  * // MapBooleanAsBoolean: true || false,
575
+ * // MapJsonbAsClob: true || false,
576
+ * // MapLongVarcharAs: "wstring" || "clob" || "nclob",
557
577
  * // },
558
578
  * // MySQLSettings: { // MySQLSettings
559
579
  * // AfterConnectScript: "STRING_VALUE",
@@ -616,6 +636,7 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
616
636
  * // SecretsManagerOracleAsmSecretId: "STRING_VALUE",
617
637
  * // TrimSpaceInChar: true || false,
618
638
  * // ConvertTimestampWithZoneToUTC: true || false,
639
+ * // OpenTransactionWindow: Number("int"),
619
640
  * // },
620
641
  * // SybaseSettings: { // SybaseSettings
621
642
  * // DatabaseName: "STRING_VALUE",
@@ -669,6 +690,8 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
669
690
  * // KmsKeyId: "STRING_VALUE",
670
691
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
671
692
  * // SecretsManagerSecretId: "STRING_VALUE",
693
+ * // UseUpdateLookUp: true || false,
694
+ * // ReplicateShardCollections: true || false,
672
695
  * // },
673
696
  * // RedisSettings: { // RedisSettings
674
697
  * // ServerName: "STRING_VALUE", // required
@@ -695,6 +718,13 @@ export interface ModifyEndpointCommandOutput extends ModifyEndpointResponse, __M
695
718
  * // SecretsManagerAccessRoleArn: "STRING_VALUE",
696
719
  * // SecretsManagerSecretId: "STRING_VALUE",
697
720
  * // },
721
+ * // TimestreamSettings: { // TimestreamSettings
722
+ * // DatabaseName: "STRING_VALUE", // required
723
+ * // MemoryDuration: Number("int"), // required
724
+ * // MagneticDuration: Number("int"), // required
725
+ * // CdcInsertsAndUpdates: true || false,
726
+ * // EnableMagneticStoreWrites: true || false,
727
+ * // },
698
728
  * // },
699
729
  * // };
700
730
  *