Skip to content

Commit 9161146

Browse files
author
AWS
committed
Elastic Disaster Recovery Service Update: Fixed the data type of lagDuration that is returned in Describe Source Server API
1 parent 869cbad commit 9161146

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
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": "Elastic Disaster Recovery Service",
4+
"contributor": "",
5+
"description": "Fixed the data type of lagDuration that is returned in Describe Source Server API"
6+
}

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@
872872
"documentation":"<p>An estimate of when the data replication will be completed.</p>"
873873
},
874874
"lagDuration":{
875-
"shape":"ISO8601DatetimeString",
875+
"shape":"ISO8601DurationString",
876876
"documentation":"<p>Data replication lag duration.</p>"
877877
},
878878
"replicatedDisks":{
@@ -1483,6 +1483,11 @@
14831483
"min":19,
14841484
"pattern":"^[1-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$"
14851485
},
1486+
"ISO8601DurationString":{
1487+
"type":"string",
1488+
"max":64,
1489+
"min":1
1490+
},
14861491
"IdentificationHints":{
14871492
"type":"structure",
14881493
"members":{
@@ -1775,7 +1780,7 @@
17751780
"documentation":"<p>The date and time of when the Source Server was added to the service.</p>"
17761781
},
17771782
"elapsedReplicationDuration":{
1778-
"shape":"ISO8601DatetimeString",
1783+
"shape":"ISO8601DurationString",
17791784
"documentation":"<p>The amount of time that the Source Server has been replicating for.</p>"
17801785
},
17811786
"firstByteDateTime":{

0 commit comments

Comments
 (0)