Skip to content

Commit 1419380

Browse files
authored
Mark keep_alive as time type and correct _shards field name (#163)
Signed-off-by: Thomas Farr <[email protected]>
1 parent 3775ec6 commit 1419380

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

model/_global/create_pit/structures.smithy

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ structure CreatePit_Input with [CreatePit_QueryParams] {
3737
@output
3838
structure CreatePit_Output {
3939
pit_id: String,
40-
_shard: ShardStatistics,
40+
_shards: ShardStatistics,
4141
creation_time: Long
4242
}

model/common_strings.smithy

+2
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ string Format
270270

271271
string Index
272272

273+
@xDataType("time")
274+
@pattern("^([0-9]+)(?:d|h|m|s|ms|micros|nanos)$")
273275
@documentation("Specify the keep alive for point in time.")
274276
string KeepAlive
275277

0 commit comments

Comments
 (0)