Skip to content

Commit 820ad6d

Browse files
author
awstools
committed
feat(client-iotfleetwise): Updated BatchCreateVehicle and BatchUpdateVehicle APIs: LimitExceededException has been added and the maximum number of vehicles in a batch has been set to 10 explicitly
1 parent 8c8cce5 commit 820ad6d

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

clients/client-iotfleetwise/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ define data collection rules to transfer only high-value data to the cloud.
1616

1717
## Installing
1818

19-
To install the this package, simply type add or install @aws-sdk/client-iotfleetwise
19+
To install this package, simply type add or install @aws-sdk/client-iotfleetwise
2020
using your favorite package manager:
2121

2222
- `npm install @aws-sdk/client-iotfleetwise`

clients/client-iotfleetwise/src/commands/BatchUpdateVehicleCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ export interface BatchUpdateVehicleCommandOutput extends BatchUpdateVehicleRespo
8686
* @throws {@link InternalServerException} (server fault)
8787
* <p>The request couldn't be completed because the server temporarily failed.</p>
8888
*
89+
* @throws {@link LimitExceededException} (client fault)
90+
* <p>A service quota was exceeded. </p>
91+
*
8992
* @throws {@link ThrottlingException} (client fault)
9093
* <p>The request couldn't be completed due to throttling.</p>
9194
*

clients/client-iotfleetwise/src/commands/UpdateVehicleCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ export interface UpdateVehicleCommandOutput extends UpdateVehicleResponse, __Met
6969
* @throws {@link InternalServerException} (server fault)
7070
* <p>The request couldn't be completed because the server temporarily failed.</p>
7171
*
72+
* @throws {@link LimitExceededException} (client fault)
73+
* <p>A service quota was exceeded. </p>
74+
*
7275
* @throws {@link ResourceNotFoundException} (client fault)
7376
* <p>The resource wasn't found.</p>
7477
*

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@
324324
{
325325
"target": "com.amazonaws.iotfleetwise#InternalServerException"
326326
},
327+
{
328+
"target": "com.amazonaws.iotfleetwise#LimitExceededException"
329+
},
327330
{
328331
"target": "com.amazonaws.iotfleetwise#ThrottlingException"
329332
},
@@ -8439,6 +8442,9 @@
84398442
{
84408443
"target": "com.amazonaws.iotfleetwise#InternalServerException"
84418444
},
8445+
{
8446+
"target": "com.amazonaws.iotfleetwise#LimitExceededException"
8447+
},
84428448
{
84438449
"target": "com.amazonaws.iotfleetwise#ResourceNotFoundException"
84448450
},
@@ -9014,7 +9020,8 @@
90149020
},
90159021
"traits": {
90169022
"smithy.api#length": {
9017-
"min": 1
9023+
"min": 1,
9024+
"max": 10
90189025
}
90199026
}
90209027
},
@@ -9243,7 +9250,8 @@
92439250
},
92449251
"traits": {
92459252
"smithy.api#length": {
9246-
"min": 1
9253+
"min": 1,
9254+
"max": 10
92479255
}
92489256
}
92499257
},

0 commit comments

Comments
 (0)