Skip to content

Commit fd749ff

Browse files
author
AWS
committed
AWS IoT FleetWise Update: Add model validation to BatchCreateVehicle and BatchUpdateVehicle operations that invalidate requests with an empty vehicles list.
1 parent 6c5edff commit fd749ff

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT FleetWise",
4+
"contributor": "",
5+
"description": "Add model validation to BatchCreateVehicle and BatchUpdateVehicle operations that invalidate requests with an empty vehicles list."
6+
}

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -4306,7 +4306,8 @@
43064306
},
43074307
"createVehicleRequestItems":{
43084308
"type":"list",
4309-
"member":{"shape":"CreateVehicleRequestItem"}
4309+
"member":{"shape":"CreateVehicleRequestItem"},
4310+
"min":1
43104311
},
43114312
"createVehicleResponses":{
43124313
"type":"list",
@@ -4422,7 +4423,8 @@
44224423
},
44234424
"updateVehicleRequestItems":{
44244425
"type":"list",
4425-
"member":{"shape":"UpdateVehicleRequestItem"}
4426+
"member":{"shape":"UpdateVehicleRequestItem"},
4427+
"min":1
44264428
},
44274429
"updateVehicleResponseItems":{
44284430
"type":"list",

0 commit comments

Comments
 (0)