Skip to content

Commit 2a8f5f8

Browse files
author
awstools
committed
feat(client-drs): Fixed the data type of lagDuration that is returned in Describe Source Server API
1 parent a3f73d2 commit 2a8f5f8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

codegen/sdk-codegen/aws-models/drs.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@
496496
"type": "structure",
497497
"members": {
498498
"lagDuration": {
499-
"target": "com.amazonaws.drs#ISO8601DatetimeString",
499+
"target": "com.amazonaws.drs#ISO8601DurationString",
500500
"traits": {
501501
"smithy.api#documentation": "<p>Data replication lag duration.</p>"
502502
}
@@ -2108,6 +2108,15 @@
21082108
"smithy.api#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$"
21092109
}
21102110
},
2111+
"com.amazonaws.drs#ISO8601DurationString": {
2112+
"type": "string",
2113+
"traits": {
2114+
"smithy.api#length": {
2115+
"min": 1,
2116+
"max": 64
2117+
}
2118+
}
2119+
},
21112120
"com.amazonaws.drs#IdentificationHints": {
21122121
"type": "structure",
21132122
"members": {
@@ -2699,7 +2708,7 @@
26992708
}
27002709
},
27012710
"elapsedReplicationDuration": {
2702-
"target": "com.amazonaws.drs#ISO8601DatetimeString",
2711+
"target": "com.amazonaws.drs#ISO8601DurationString",
27032712
"traits": {
27042713
"smithy.api#documentation": "<p>The amount of time that the Source Server has been replicating for.</p>"
27052714
}

0 commit comments

Comments
 (0)