Skip to content

Commit dcc85d3

Browse files
author
AWS
committed
AWS Database Migration Service Update: Added new Db2 LUW Target endpoint with related endpoint settings. New executeTimeout endpoint setting for mysql endpoint. New ReplicationDeprovisionTime field for serverless describe-replications.
1 parent e238393 commit dcc85d3

File tree

3 files changed

+62
-32
lines changed

3 files changed

+62
-32
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Database Migration Service",
4+
"contributor": "",
5+
"description": "Added new Db2 LUW Target endpoint with related endpoint settings. New executeTimeout endpoint setting for mysql endpoint. New ReplicationDeprovisionTime field for serverless describe-replications."
6+
}

services/databasemigration/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -133,7 +131,6 @@
133131
]
134132
}
135133
],
136-
"type": "tree",
137134
"rules": [
138135
{
139136
"conditions": [
@@ -168,7 +165,6 @@
168165
]
169166
}
170167
],
171-
"type": "tree",
172168
"rules": [
173169
{
174170
"conditions": [],
@@ -179,14 +175,16 @@
179175
},
180176
"type": "endpoint"
181177
}
182-
]
178+
],
179+
"type": "tree"
183180
},
184181
{
185182
"conditions": [],
186183
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
187184
"type": "error"
188185
}
189-
]
186+
],
187+
"type": "tree"
190188
},
191189
{
192190
"conditions": [
@@ -200,14 +198,12 @@
200198
]
201199
}
202200
],
203-
"type": "tree",
204201
"rules": [
205202
{
206203
"conditions": [
207204
{
208205
"fn": "booleanEquals",
209206
"argv": [
210-
true,
211207
{
212208
"fn": "getAttr",
213209
"argv": [
@@ -216,18 +212,17 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [
227223
{
228224
"fn": "stringEquals",
229225
"argv": [
230-
"aws-us-gov",
231226
{
232227
"fn": "getAttr",
233228
"argv": [
@@ -236,7 +231,8 @@
236231
},
237232
"name"
238233
]
239-
}
234+
},
235+
"aws-us-gov"
240236
]
241237
}
242238
],
@@ -252,7 +248,6 @@
252248
{
253249
"fn": "stringEquals",
254250
"argv": [
255-
"aws-iso",
256251
{
257252
"fn": "getAttr",
258253
"argv": [
@@ -261,7 +256,8 @@
261256
},
262257
"name"
263258
]
264-
}
259+
},
260+
"aws-iso"
265261
]
266262
}
267263
],
@@ -277,7 +273,6 @@
277273
{
278274
"fn": "stringEquals",
279275
"argv": [
280-
"aws-iso-b",
281276
{
282277
"fn": "getAttr",
283278
"argv": [
@@ -286,7 +281,8 @@
286281
},
287282
"name"
288283
]
289-
}
284+
},
285+
"aws-iso-b"
290286
]
291287
}
292288
],
@@ -306,14 +302,16 @@
306302
},
307303
"type": "endpoint"
308304
}
309-
]
305+
],
306+
"type": "tree"
310307
},
311308
{
312309
"conditions": [],
313310
"error": "FIPS is enabled but this partition does not support FIPS",
314311
"type": "error"
315312
}
316-
]
313+
],
314+
"type": "tree"
317315
},
318316
{
319317
"conditions": [
@@ -327,7 +325,6 @@
327325
]
328326
}
329327
],
330-
"type": "tree",
331328
"rules": [
332329
{
333330
"conditions": [
@@ -347,7 +344,6 @@
347344
]
348345
}
349346
],
350-
"type": "tree",
351347
"rules": [
352348
{
353349
"conditions": [],
@@ -358,14 +354,16 @@
358354
},
359355
"type": "endpoint"
360356
}
361-
]
357+
],
358+
"type": "tree"
362359
},
363360
{
364361
"conditions": [],
365362
"error": "DualStack is enabled but this partition does not support DualStack",
366363
"type": "error"
367364
}
368-
]
365+
],
366+
"type": "tree"
369367
},
370368
{
371369
"conditions": [],
@@ -376,9 +374,11 @@
376374
},
377375
"type": "endpoint"
378376
}
379-
]
377+
],
378+
"type": "tree"
380379
}
381-
]
380+
],
381+
"type": "tree"
382382
},
383383
{
384384
"conditions": [],

services/databasemigration/src/main/resources/codegen-resources/service-2.json

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@
20692069
},
20702070
"Engine":{
20712071
"shape":"String",
2072-
"documentation":"<p>The type of database engine for the data provider. Valid values include <code>\"aurora\"</code>, <code>\"aurora_postgresql\"</code>, <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, and <code>\"sqlserver\"</code>. A value of <code>\"aurora\"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>"
2072+
"documentation":"<p>The type of database engine for the data provider. Valid values include <code>\"aurora\"</code>, <code>\"aurora-postgresql\"</code>, <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, <code>\"sqlserver\"</code>, <code>redshift</code>, <code>mariadb</code>, <code>mongodb</code>, and <code>docdb</code>. A value of <code>\"aurora\"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>"
20732073
},
20742074
"Settings":{
20752075
"shape":"DataProviderSettings",
@@ -2611,7 +2611,7 @@
26112611
},
26122612
"SubnetIds":{
26132613
"shape":"SubnetIdentifierList",
2614-
"documentation":"<p>One or more subnet IDs to be assigned to the subnet group.</p>"
2614+
"documentation":"<p>Two or more subnet IDs to be assigned to the subnet group.</p>"
26152615
},
26162616
"Tags":{
26172617
"shape":"TagList",
@@ -2734,7 +2734,7 @@
27342734
},
27352735
"Engine":{
27362736
"shape":"String",
2737-
"documentation":"<p>The type of database engine for the data provider. Valid values include <code>\"aurora\"</code>, <code>\"aurora_postgresql\"</code>, <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, and <code>\"sqlserver\"</code>. A value of <code>\"aurora\"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>"
2737+
"documentation":"<p>The type of database engine for the data provider. Valid values include <code>\"aurora\"</code>, <code>\"aurora-postgresql\"</code>, <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, <code>\"sqlserver\"</code>, <code>redshift</code>, <code>mariadb</code>, <code>mongodb</code>, and <code>docdb</code>. A value of <code>\"aurora\"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>"
27382738
},
27392739
"Settings":{
27402740
"shape":"DataProviderSettings",
@@ -3381,7 +3381,7 @@
33813381
"members":{
33823382
"Filters":{
33833383
"shape":"FilterList",
3384-
"documentation":"<p>Filters applied to the data providers described in the form of key-value pairs.</p>"
3384+
"documentation":"<p>Filters applied to the data providers described in the form of key-value pairs.</p> <p>Valid filter names: data-provider-identifier</p>"
33853385
},
33863386
"MaxRecords":{
33873387
"shape":"IntegerOptional",
@@ -4795,7 +4795,7 @@
47954795
},
47964796
"EngineName":{
47974797
"shape":"String",
4798-
"documentation":"<p>The database engine name. Valid values, depending on the EndpointType, include <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, <code>\"mariadb\"</code>, <code>\"aurora\"</code>, <code>\"aurora-postgresql\"</code>, <code>\"redshift\"</code>, <code>\"s3\"</code>, <code>\"db2\"</code>, <code>\"db2-zos\"</code>, <code>\"azuredb\"</code>, <code>\"sybase\"</code>, <code>\"dynamodb\"</code>, <code>\"mongodb\"</code>, <code>\"kinesis\"</code>, <code>\"kafka\"</code>, <code>\"elasticsearch\"</code>, <code>\"documentdb\"</code>, <code>\"sqlserver\"</code>, <code>\"neptune\"</code>, and <code>\"babelfish\"</code>.</p>"
4798+
"documentation":"<p>The database engine name. Valid values, depending on the EndpointType, include <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, <code>\"mariadb\"</code>, <code>\"aurora\"</code>, <code>\"aurora-postgresql\"</code>, <code>\"redshift\"</code>, <code>\"redshift-serverless\"</code>, <code>\"s3\"</code>, <code>\"db2\"</code>, <code>\"db2-zos\"</code>, <code>\"azuredb\"</code>, <code>\"sybase\"</code>, <code>\"dynamodb\"</code>, <code>\"mongodb\"</code>, <code>\"kinesis\"</code>, <code>\"kafka\"</code>, <code>\"elasticsearch\"</code>, <code>\"documentdb\"</code>, <code>\"sqlserver\"</code>, <code>\"neptune\"</code>, and <code>\"babelfish\"</code>.</p>"
47994799
},
48004800
"EngineDisplayName":{
48014801
"shape":"String",
@@ -5396,6 +5396,22 @@
53965396
"SecretsManagerSecretId":{
53975397
"shape":"String",
53985398
"documentation":"<p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the Db2 LUW endpoint connection details.</p>"
5399+
},
5400+
"LoadTimeout":{
5401+
"shape":"IntegerOptional",
5402+
"documentation":"<p>The amount of time (in milliseconds) before DMS times out operations performed by DMS on the Db2 target. The default value is 1200 (20 minutes).</p>"
5403+
},
5404+
"WriteBufferSize":{
5405+
"shape":"IntegerOptional",
5406+
"documentation":"<p>The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).</p>"
5407+
},
5408+
"MaxFileSize":{
5409+
"shape":"IntegerOptional",
5410+
"documentation":"<p>Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.</p>"
5411+
},
5412+
"KeepCsvFiles":{
5413+
"shape":"BooleanOptional",
5414+
"documentation":"<p>If true, DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.</p> <p>The default value is false. </p>"
53995415
}
54005416
},
54015417
"documentation":"<p>Provides information that defines an IBM Db2 LUW endpoint.</p>"
@@ -6079,7 +6095,7 @@
60796095
},
60806096
"Engine":{
60816097
"shape":"String",
6082-
"documentation":"<p>The type of database engine for the data provider. Valid values include <code>\"aurora\"</code>, <code>\"aurora_postgresql\"</code>, <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, and <code>\"sqlserver\"</code>. A value of <code>\"aurora\"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>"
6098+
"documentation":"<p>The type of database engine for the data provider. Valid values include <code>\"aurora\"</code>, <code>\"aurora-postgresql\"</code>, <code>\"mysql\"</code>, <code>\"oracle\"</code>, <code>\"postgres\"</code>, <code>\"sqlserver\"</code>, <code>redshift</code>, <code>mariadb</code>, <code>mongodb</code>, and <code>docdb</code>. A value of <code>\"aurora\"</code> represents Amazon Aurora MySQL-Compatible Edition.</p>"
60836099
},
60846100
"ExactSettings":{
60856101
"shape":"BooleanOptional",
@@ -6781,6 +6797,10 @@
67816797
"SecretsManagerSecretId":{
67826798
"shape":"String",
67836799
"documentation":"<p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the MySQL endpoint connection details.</p>"
6800+
},
6801+
"ExecuteTimeout":{
6802+
"shape":"IntegerOptional",
6803+
"documentation":"<p>Sets the client statement timeout (in seconds) for a MySQL source endpoint.</p>"
67846804
}
67856805
},
67866806
"documentation":"<p>Provides information that defines a MySQL endpoint.</p>"
@@ -7953,6 +7973,10 @@
79537973
"ReplicationLastStopTime":{
79547974
"shape":"TStamp",
79557975
"documentation":"<p>The timestamp when replication was last stopped.</p>"
7976+
},
7977+
"ReplicationDeprovisionTime":{
7978+
"shape":"TStamp",
7979+
"documentation":"<p>The timestamp when DMS will deprovision the replication.</p>"
79567980
}
79577981
},
79587982
"documentation":"<p>Provides information that describes a serverless replication created by the <code>CreateReplication</code> operation.</p>"

0 commit comments

Comments
 (0)