Skip to content

Commit

Permalink
feat(client-iotfleetwise): Updated BatchCreateVehicle and BatchUpdate…
Browse files Browse the repository at this point in the history
…Vehicle APIs: LimitExceededException has been added and the maximum number of vehicles in a batch has been set to 10 explicitly
  • Loading branch information
awstools committed Oct 29, 2024
1 parent 8c8cce5 commit 820ad6d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/client-iotfleetwise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ define data collection rules to transfer only high-value data to the cloud.

## Installing

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

- `npm install @aws-sdk/client-iotfleetwise`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ export interface BatchUpdateVehicleCommandOutput extends BatchUpdateVehicleRespo
* @throws {@link InternalServerException} (server fault)
* <p>The request couldn't be completed because the server temporarily failed.</p>
*
* @throws {@link LimitExceededException} (client fault)
* <p>A service quota was exceeded. </p>
*
* @throws {@link ThrottlingException} (client fault)
* <p>The request couldn't be completed due to throttling.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export interface UpdateVehicleCommandOutput extends UpdateVehicleResponse, __Met
* @throws {@link InternalServerException} (server fault)
* <p>The request couldn't be completed because the server temporarily failed.</p>
*
* @throws {@link LimitExceededException} (client fault)
* <p>A service quota was exceeded. </p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource wasn't found.</p>
*
Expand Down
12 changes: 10 additions & 2 deletions codegen/sdk-codegen/aws-models/iotfleetwise.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@
{
"target": "com.amazonaws.iotfleetwise#InternalServerException"
},
{
"target": "com.amazonaws.iotfleetwise#LimitExceededException"
},
{
"target": "com.amazonaws.iotfleetwise#ThrottlingException"
},
Expand Down Expand Up @@ -8439,6 +8442,9 @@
{
"target": "com.amazonaws.iotfleetwise#InternalServerException"
},
{
"target": "com.amazonaws.iotfleetwise#LimitExceededException"
},
{
"target": "com.amazonaws.iotfleetwise#ResourceNotFoundException"
},
Expand Down Expand Up @@ -9014,7 +9020,8 @@
},
"traits": {
"smithy.api#length": {
"min": 1
"min": 1,
"max": 10
}
}
},
Expand Down Expand Up @@ -9243,7 +9250,8 @@
},
"traits": {
"smithy.api#length": {
"min": 1
"min": 1,
"max": 10
}
}
},
Expand Down

0 comments on commit 820ad6d

Please sign in to comment.