Skip to content

Commit c484951

Browse files
This release updates resource Id with alphanumeric constraint, including Asset id, Revision id, Data Set id, Job id, and Event Action id.
1 parent 12de04f commit c484951

File tree

4 files changed

+592
-86
lines changed

4 files changed

+592
-86
lines changed

generator/ServiceModels/dataexchange/dataexchange-2017-07-25.api.json

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@
799799
"required":["JobId"],
800800
"members":{
801801
"JobId":{
802-
"shape":"__string",
802+
"shape":"Id",
803803
"location":"uri",
804804
"locationName":"JobId"
805805
}
@@ -972,7 +972,7 @@
972972
"members":{
973973
"Comment":{"shape":"__stringMin0Max16384"},
974974
"DataSetId":{
975-
"shape":"__string",
975+
"shape":"Id",
976976
"location":"uri",
977977
"locationName":"DataSetId"
978978
},
@@ -1138,17 +1138,17 @@
11381138
],
11391139
"members":{
11401140
"AssetId":{
1141-
"shape":"__string",
1141+
"shape":"Id",
11421142
"location":"uri",
11431143
"locationName":"AssetId"
11441144
},
11451145
"DataSetId":{
1146-
"shape":"__string",
1146+
"shape":"Id",
11471147
"location":"uri",
11481148
"locationName":"DataSetId"
11491149
},
11501150
"RevisionId":{
1151-
"shape":"__string",
1151+
"shape":"Id",
11521152
"location":"uri",
11531153
"locationName":"RevisionId"
11541154
}
@@ -1170,7 +1170,7 @@
11701170
"required":["DataSetId"],
11711171
"members":{
11721172
"DataSetId":{
1173-
"shape":"__string",
1173+
"shape":"Id",
11741174
"location":"uri",
11751175
"locationName":"DataSetId"
11761176
}
@@ -1195,12 +1195,12 @@
11951195
],
11961196
"members":{
11971197
"DataSetId":{
1198-
"shape":"__string",
1198+
"shape":"Id",
11991199
"location":"uri",
12001200
"locationName":"DataSetId"
12011201
},
12021202
"RevisionId":{
1203-
"shape":"__string",
1203+
"shape":"Id",
12041204
"location":"uri",
12051205
"locationName":"RevisionId"
12061206
}
@@ -1351,17 +1351,17 @@
13511351
],
13521352
"members":{
13531353
"AssetId":{
1354-
"shape":"__string",
1354+
"shape":"Id",
13551355
"location":"uri",
13561356
"locationName":"AssetId"
13571357
},
13581358
"DataSetId":{
1359-
"shape":"__string",
1359+
"shape":"Id",
13601360
"location":"uri",
13611361
"locationName":"DataSetId"
13621362
},
13631363
"RevisionId":{
1364-
"shape":"__string",
1364+
"shape":"Id",
13651365
"location":"uri",
13661366
"locationName":"RevisionId"
13671367
}
@@ -1431,7 +1431,7 @@
14311431
"required":["DataSetId"],
14321432
"members":{
14331433
"DataSetId":{
1434-
"shape":"__string",
1434+
"shape":"Id",
14351435
"location":"uri",
14361436
"locationName":"DataSetId"
14371437
}
@@ -1481,7 +1481,7 @@
14811481
"required":["JobId"],
14821482
"members":{
14831483
"JobId":{
1484-
"shape":"__string",
1484+
"shape":"Id",
14851485
"location":"uri",
14861486
"locationName":"JobId"
14871487
}
@@ -1548,12 +1548,12 @@
15481548
],
15491549
"members":{
15501550
"DataSetId":{
1551-
"shape":"__string",
1551+
"shape":"Id",
15521552
"location":"uri",
15531553
"locationName":"DataSetId"
15541554
},
15551555
"RevisionId":{
1556-
"shape":"__string",
1556+
"shape":"Id",
15571557
"location":"uri",
15581558
"locationName":"RevisionId"
15591559
}
@@ -1583,7 +1583,10 @@
15831583
"NONE"
15841584
]
15851585
},
1586-
"Id":{"type":"string"},
1586+
"Id":{
1587+
"type":"string",
1588+
"pattern":"[a-zA-Z0-9]{30,40}"
1589+
},
15871590
"ImportAssetFromApiGatewayApiRequestDetails":{
15881591
"type":"structure",
15891592
"required":[
@@ -1975,7 +1978,7 @@
19751978
"required":["DataSetId"],
19761979
"members":{
19771980
"DataSetId":{
1978-
"shape":"__string",
1981+
"shape":"Id",
19791982
"location":"uri",
19801983
"locationName":"DataSetId"
19811984
},
@@ -2214,7 +2217,7 @@
22142217
],
22152218
"members":{
22162219
"DataSetId":{
2217-
"shape":"__string",
2220+
"shape":"Id",
22182221
"location":"uri",
22192222
"locationName":"DataSetId"
22202223
},
@@ -2229,7 +2232,7 @@
22292232
"locationName":"nextToken"
22302233
},
22312234
"RevisionId":{
2232-
"shape":"__string",
2235+
"shape":"Id",
22332236
"location":"uri",
22342237
"locationName":"RevisionId"
22352238
}
@@ -2473,12 +2476,12 @@
24732476
],
24742477
"members":{
24752478
"DataSetId":{
2476-
"shape":"__string",
2479+
"shape":"Id",
24772480
"location":"uri",
24782481
"locationName":"DataSetId"
24792482
},
24802483
"RevisionId":{
2481-
"shape":"__string",
2484+
"shape":"Id",
24822485
"location":"uri",
24832486
"locationName":"RevisionId"
24842487
},
@@ -2649,7 +2652,7 @@
26492652
},
26502653
"Comment":{"shape":"__stringMin0Max4096"},
26512654
"DataSetId":{
2652-
"shape":"__string",
2655+
"shape":"Id",
26532656
"location":"uri",
26542657
"locationName":"DataSetId"
26552658
},
@@ -2692,7 +2695,7 @@
26922695
"required":["JobId"],
26932696
"members":{
26942697
"JobId":{
2695-
"shape":"__string",
2698+
"shape":"Id",
26962699
"location":"uri",
26972700
"locationName":"JobId"
26982701
}
@@ -2817,18 +2820,18 @@
28172820
],
28182821
"members":{
28192822
"AssetId":{
2820-
"shape":"__string",
2823+
"shape":"Id",
28212824
"location":"uri",
28222825
"locationName":"AssetId"
28232826
},
28242827
"DataSetId":{
2825-
"shape":"__string",
2828+
"shape":"Id",
28262829
"location":"uri",
28272830
"locationName":"DataSetId"
28282831
},
28292832
"Name":{"shape":"AssetName"},
28302833
"RevisionId":{
2831-
"shape":"__string",
2834+
"shape":"Id",
28322835
"location":"uri",
28332836
"locationName":"RevisionId"
28342837
}
@@ -2854,7 +2857,7 @@
28542857
"required":["DataSetId"],
28552858
"members":{
28562859
"DataSetId":{
2857-
"shape":"__string",
2860+
"shape":"Id",
28582861
"location":"uri",
28592862
"locationName":"DataSetId"
28602863
},
@@ -2909,13 +2912,13 @@
29092912
"members":{
29102913
"Comment":{"shape":"__stringMin0Max16384"},
29112914
"DataSetId":{
2912-
"shape":"__string",
2915+
"shape":"Id",
29132916
"location":"uri",
29142917
"locationName":"DataSetId"
29152918
},
29162919
"Finalized":{"shape":"__boolean"},
29172920
"RevisionId":{
2918-
"shape":"__string",
2921+
"shape":"Id",
29192922
"location":"uri",
29202923
"locationName":"RevisionId"
29212924
}

0 commit comments

Comments
 (0)