@aws-sdk/client-iotfleetwise 3.782.0 → 3.785.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -67,6 +67,20 @@ declare const BatchUpdateVehicleCommand_base: {
|
|
|
67
67
|
* stateTemplatesToRemove: [ // StateTemplateAssociationIdentifiers
|
|
68
68
|
* "STRING_VALUE",
|
|
69
69
|
* ],
|
|
70
|
+
* stateTemplatesToUpdate: [
|
|
71
|
+
* {
|
|
72
|
+
* identifier: "STRING_VALUE", // required
|
|
73
|
+
* stateTemplateUpdateStrategy: {// Union: only one key present
|
|
74
|
+
* periodic: {
|
|
75
|
+
* stateTemplateUpdateRate: {
|
|
76
|
+
* unit: "MILLISECOND" || "SECOND" || "MINUTE" || "HOUR", // required
|
|
77
|
+
* value: Number("int"), // required
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* onChange: {},
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
70
84
|
* },
|
|
71
85
|
* ],
|
|
72
86
|
* };
|
|
@@ -27,7 +27,10 @@ declare const UpdateVehicleCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Updates a vehicle
|
|
30
|
+
* <p> Updates a vehicle.</p>
|
|
31
|
+
* <important>
|
|
32
|
+
* <p>Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html">Amazon Web Services Region and feature availability</a> in the <i>Amazon Web Services IoT FleetWise Developer Guide</i>.</p>
|
|
33
|
+
* </important>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -59,6 +62,20 @@ declare const UpdateVehicleCommand_base: {
|
|
|
59
62
|
* stateTemplatesToRemove: [ // StateTemplateAssociationIdentifiers
|
|
60
63
|
* "STRING_VALUE",
|
|
61
64
|
* ],
|
|
65
|
+
* stateTemplatesToUpdate: [
|
|
66
|
+
* {
|
|
67
|
+
* identifier: "STRING_VALUE", // required
|
|
68
|
+
* stateTemplateUpdateStrategy: {// Union: only one key present
|
|
69
|
+
* periodic: {
|
|
70
|
+
* stateTemplateUpdateRate: {
|
|
71
|
+
* unit: "MILLISECOND" || "SECOND" || "MINUTE" || "HOUR", // required
|
|
72
|
+
* value: Number("int"), // required
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* onChange: {},
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
62
79
|
* };
|
|
63
80
|
* const command = new UpdateVehicleCommand(input);
|
|
64
81
|
* const response = await client.send(command);
|
|
@@ -622,6 +622,9 @@ export declare const UpdateMode: {
|
|
|
622
622
|
export type UpdateMode = (typeof UpdateMode)[keyof typeof UpdateMode];
|
|
623
623
|
/**
|
|
624
624
|
* <p>Information about the vehicle to update.</p>
|
|
625
|
+
* <important>
|
|
626
|
+
* <p>Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html">Amazon Web Services Region and feature availability</a> in the <i>Amazon Web Services IoT FleetWise Developer Guide</i>.</p>
|
|
627
|
+
* </important>
|
|
625
628
|
* @public
|
|
626
629
|
*/
|
|
627
630
|
export interface UpdateVehicleRequestItem {
|
|
@@ -667,6 +670,11 @@ export interface UpdateVehicleRequestItem {
|
|
|
667
670
|
* @public
|
|
668
671
|
*/
|
|
669
672
|
stateTemplatesToRemove?: string[] | undefined;
|
|
673
|
+
/**
|
|
674
|
+
* <p>Change the <code>stateTemplateUpdateStrategy</code> of state templates already associated with the vehicle.</p>
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
stateTemplatesToUpdate?: StateTemplateAssociation[] | undefined;
|
|
670
678
|
}
|
|
671
679
|
/**
|
|
672
680
|
* @public
|
|
@@ -5366,6 +5374,11 @@ export interface UpdateVehicleRequest {
|
|
|
5366
5374
|
* @public
|
|
5367
5375
|
*/
|
|
5368
5376
|
stateTemplatesToRemove?: string[] | undefined;
|
|
5377
|
+
/**
|
|
5378
|
+
* <p>Change the <code>stateTemplateUpdateStrategy</code> of state templates already associated with the vehicle.</p>
|
|
5379
|
+
* @public
|
|
5380
|
+
*/
|
|
5381
|
+
stateTemplatesToUpdate?: StateTemplateAssociation[] | undefined;
|
|
5369
5382
|
}
|
|
5370
5383
|
/**
|
|
5371
5384
|
* @public
|
|
@@ -225,6 +225,7 @@ export interface UpdateVehicleRequestItem {
|
|
|
225
225
|
attributeUpdateMode?: UpdateMode | undefined;
|
|
226
226
|
stateTemplatesToAdd?: StateTemplateAssociation[] | undefined;
|
|
227
227
|
stateTemplatesToRemove?: string[] | undefined;
|
|
228
|
+
stateTemplatesToUpdate?: StateTemplateAssociation[] | undefined;
|
|
228
229
|
}
|
|
229
230
|
export interface BatchUpdateVehicleRequest {
|
|
230
231
|
vehicles: UpdateVehicleRequestItem[] | undefined;
|
|
@@ -1518,6 +1519,7 @@ export interface UpdateVehicleRequest {
|
|
|
1518
1519
|
attributeUpdateMode?: UpdateMode | undefined;
|
|
1519
1520
|
stateTemplatesToAdd?: StateTemplateAssociation[] | undefined;
|
|
1520
1521
|
stateTemplatesToRemove?: string[] | undefined;
|
|
1522
|
+
stateTemplatesToUpdate?: StateTemplateAssociation[] | undefined;
|
|
1521
1523
|
}
|
|
1522
1524
|
export interface UpdateVehicleResponse {
|
|
1523
1525
|
vehicleName?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotfleetwise",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotfleetwise Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.785.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iotfleetwise",
|