@aws-sdk/client-iotfleetwise 3.693.0 → 3.698.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.
- package/README.md +43 -0
- package/dist-cjs/index.js +345 -2
- package/dist-es/IoTFleetWise.js +10 -0
- package/dist-es/commands/CreateStateTemplateCommand.js +22 -0
- package/dist-es/commands/DeleteStateTemplateCommand.js +22 -0
- package/dist-es/commands/GetStateTemplateCommand.js +22 -0
- package/dist-es/commands/ListStateTemplatesCommand.js +22 -0
- package/dist-es/commands/UpdateStateTemplateCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +87 -0
- package/dist-es/pagination/ListStateTemplatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +143 -0
- package/dist-types/IoTFleetWise.d.ts +39 -0
- package/dist-types/IoTFleetWiseClient.d.ts +10 -2
- package/dist-types/commands/BatchCreateVehicleCommand.d.ts +14 -0
- package/dist-types/commands/BatchUpdateVehicleCommand.d.ts +17 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +46 -0
- package/dist-types/commands/CreateDecoderManifestCommand.d.ts +11 -3
- package/dist-types/commands/CreateModelManifestCommand.d.ts +2 -1
- package/dist-types/commands/CreateSignalCatalogCommand.d.ts +2 -1
- package/dist-types/commands/CreateStateTemplateCommand.d.ts +119 -0
- package/dist-types/commands/CreateVehicleCommand.d.ts +14 -0
- package/dist-types/commands/DeleteDecoderManifestCommand.d.ts +0 -4
- package/dist-types/commands/DeleteFleetCommand.d.ts +0 -4
- package/dist-types/commands/DeleteModelManifestCommand.d.ts +0 -4
- package/dist-types/commands/DeleteSignalCatalogCommand.d.ts +0 -4
- package/dist-types/commands/DeleteStateTemplateCommand.d.ts +85 -0
- package/dist-types/commands/DeleteVehicleCommand.d.ts +0 -4
- package/dist-types/commands/DisassociateVehicleFleetCommand.d.ts +0 -4
- package/dist-types/commands/GetCampaignCommand.d.ts +46 -0
- package/dist-types/commands/GetStateTemplateCommand.d.ts +104 -0
- package/dist-types/commands/GetVehicleCommand.d.ts +14 -0
- package/dist-types/commands/GetVehicleStatusCommand.d.ts +2 -2
- package/dist-types/commands/ImportDecoderManifestCommand.d.ts +5 -2
- package/dist-types/commands/ImportSignalCatalogCommand.d.ts +2 -1
- package/dist-types/commands/ListDecoderManifestNetworkInterfacesCommand.d.ts +4 -1
- package/dist-types/commands/ListDecoderManifestSignalsCommand.d.ts +4 -1
- package/dist-types/commands/ListStateTemplatesCommand.d.ts +98 -0
- package/dist-types/commands/PutEncryptionConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/RegisterAccountCommand.d.ts +12 -4
- package/dist-types/commands/UpdateDecoderManifestCommand.d.ts +19 -5
- package/dist-types/commands/UpdateFleetCommand.d.ts +0 -4
- package/dist-types/commands/UpdateModelManifestCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSignalCatalogCommand.d.ts +2 -1
- package/dist-types/commands/UpdateStateTemplateCommand.d.ts +111 -0
- package/dist-types/commands/UpdateVehicleCommand.d.ts +17 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +1137 -146
- package/dist-types/pagination/ListStateTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
- package/dist-types/ts3.4/IoTFleetWise.d.ts +86 -0
- package/dist-types/ts3.4/IoTFleetWiseClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateStateTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteStateTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetStateTemplateCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListStateTemplatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateStateTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +256 -0
- package/dist-types/ts3.4/pagination/ListStateTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +35 -35
package/dist-es/IoTFleetWise.js
CHANGED
|
@@ -7,12 +7,14 @@ import { CreateDecoderManifestCommand, } from "./commands/CreateDecoderManifestC
|
|
|
7
7
|
import { CreateFleetCommand } from "./commands/CreateFleetCommand";
|
|
8
8
|
import { CreateModelManifestCommand, } from "./commands/CreateModelManifestCommand";
|
|
9
9
|
import { CreateSignalCatalogCommand, } from "./commands/CreateSignalCatalogCommand";
|
|
10
|
+
import { CreateStateTemplateCommand, } from "./commands/CreateStateTemplateCommand";
|
|
10
11
|
import { CreateVehicleCommand, } from "./commands/CreateVehicleCommand";
|
|
11
12
|
import { DeleteCampaignCommand, } from "./commands/DeleteCampaignCommand";
|
|
12
13
|
import { DeleteDecoderManifestCommand, } from "./commands/DeleteDecoderManifestCommand";
|
|
13
14
|
import { DeleteFleetCommand } from "./commands/DeleteFleetCommand";
|
|
14
15
|
import { DeleteModelManifestCommand, } from "./commands/DeleteModelManifestCommand";
|
|
15
16
|
import { DeleteSignalCatalogCommand, } from "./commands/DeleteSignalCatalogCommand";
|
|
17
|
+
import { DeleteStateTemplateCommand, } from "./commands/DeleteStateTemplateCommand";
|
|
16
18
|
import { DeleteVehicleCommand, } from "./commands/DeleteVehicleCommand";
|
|
17
19
|
import { DisassociateVehicleFleetCommand, } from "./commands/DisassociateVehicleFleetCommand";
|
|
18
20
|
import { GetCampaignCommand } from "./commands/GetCampaignCommand";
|
|
@@ -23,6 +25,7 @@ import { GetLoggingOptionsCommand, } from "./commands/GetLoggingOptionsCommand";
|
|
|
23
25
|
import { GetModelManifestCommand, } from "./commands/GetModelManifestCommand";
|
|
24
26
|
import { GetRegisterAccountStatusCommand, } from "./commands/GetRegisterAccountStatusCommand";
|
|
25
27
|
import { GetSignalCatalogCommand, } from "./commands/GetSignalCatalogCommand";
|
|
28
|
+
import { GetStateTemplateCommand, } from "./commands/GetStateTemplateCommand";
|
|
26
29
|
import { GetVehicleCommand } from "./commands/GetVehicleCommand";
|
|
27
30
|
import { GetVehicleStatusCommand, } from "./commands/GetVehicleStatusCommand";
|
|
28
31
|
import { ImportDecoderManifestCommand, } from "./commands/ImportDecoderManifestCommand";
|
|
@@ -37,6 +40,7 @@ import { ListModelManifestNodesCommand, } from "./commands/ListModelManifestNode
|
|
|
37
40
|
import { ListModelManifestsCommand, } from "./commands/ListModelManifestsCommand";
|
|
38
41
|
import { ListSignalCatalogNodesCommand, } from "./commands/ListSignalCatalogNodesCommand";
|
|
39
42
|
import { ListSignalCatalogsCommand, } from "./commands/ListSignalCatalogsCommand";
|
|
43
|
+
import { ListStateTemplatesCommand, } from "./commands/ListStateTemplatesCommand";
|
|
40
44
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
41
45
|
import { ListVehiclesCommand, } from "./commands/ListVehiclesCommand";
|
|
42
46
|
import { ListVehiclesInFleetCommand, } from "./commands/ListVehiclesInFleetCommand";
|
|
@@ -50,6 +54,7 @@ import { UpdateDecoderManifestCommand, } from "./commands/UpdateDecoderManifestC
|
|
|
50
54
|
import { UpdateFleetCommand } from "./commands/UpdateFleetCommand";
|
|
51
55
|
import { UpdateModelManifestCommand, } from "./commands/UpdateModelManifestCommand";
|
|
52
56
|
import { UpdateSignalCatalogCommand, } from "./commands/UpdateSignalCatalogCommand";
|
|
57
|
+
import { UpdateStateTemplateCommand, } from "./commands/UpdateStateTemplateCommand";
|
|
53
58
|
import { UpdateVehicleCommand, } from "./commands/UpdateVehicleCommand";
|
|
54
59
|
import { IoTFleetWiseClient } from "./IoTFleetWiseClient";
|
|
55
60
|
const commands = {
|
|
@@ -61,12 +66,14 @@ const commands = {
|
|
|
61
66
|
CreateFleetCommand,
|
|
62
67
|
CreateModelManifestCommand,
|
|
63
68
|
CreateSignalCatalogCommand,
|
|
69
|
+
CreateStateTemplateCommand,
|
|
64
70
|
CreateVehicleCommand,
|
|
65
71
|
DeleteCampaignCommand,
|
|
66
72
|
DeleteDecoderManifestCommand,
|
|
67
73
|
DeleteFleetCommand,
|
|
68
74
|
DeleteModelManifestCommand,
|
|
69
75
|
DeleteSignalCatalogCommand,
|
|
76
|
+
DeleteStateTemplateCommand,
|
|
70
77
|
DeleteVehicleCommand,
|
|
71
78
|
DisassociateVehicleFleetCommand,
|
|
72
79
|
GetCampaignCommand,
|
|
@@ -77,6 +84,7 @@ const commands = {
|
|
|
77
84
|
GetModelManifestCommand,
|
|
78
85
|
GetRegisterAccountStatusCommand,
|
|
79
86
|
GetSignalCatalogCommand,
|
|
87
|
+
GetStateTemplateCommand,
|
|
80
88
|
GetVehicleCommand,
|
|
81
89
|
GetVehicleStatusCommand,
|
|
82
90
|
ImportDecoderManifestCommand,
|
|
@@ -91,6 +99,7 @@ const commands = {
|
|
|
91
99
|
ListModelManifestsCommand,
|
|
92
100
|
ListSignalCatalogNodesCommand,
|
|
93
101
|
ListSignalCatalogsCommand,
|
|
102
|
+
ListStateTemplatesCommand,
|
|
94
103
|
ListTagsForResourceCommand,
|
|
95
104
|
ListVehiclesCommand,
|
|
96
105
|
ListVehiclesInFleetCommand,
|
|
@@ -104,6 +113,7 @@ const commands = {
|
|
|
104
113
|
UpdateFleetCommand,
|
|
105
114
|
UpdateModelManifestCommand,
|
|
106
115
|
UpdateSignalCatalogCommand,
|
|
116
|
+
UpdateStateTemplateCommand,
|
|
107
117
|
UpdateVehicleCommand,
|
|
108
118
|
};
|
|
109
119
|
export class IoTFleetWise extends IoTFleetWiseClient {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateStateTemplateCommand, se_CreateStateTemplateCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateStateTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("IoTAutobahnControlPlane", "CreateStateTemplate", {})
|
|
17
|
+
.n("IoTFleetWiseClient", "CreateStateTemplateCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateStateTemplateCommand)
|
|
20
|
+
.de(de_CreateStateTemplateCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteStateTemplateCommand, se_DeleteStateTemplateCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteStateTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("IoTAutobahnControlPlane", "DeleteStateTemplate", {})
|
|
17
|
+
.n("IoTFleetWiseClient", "DeleteStateTemplateCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteStateTemplateCommand)
|
|
20
|
+
.de(de_DeleteStateTemplateCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetStateTemplateCommand, se_GetStateTemplateCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetStateTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("IoTAutobahnControlPlane", "GetStateTemplate", {})
|
|
17
|
+
.n("IoTFleetWiseClient", "GetStateTemplateCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetStateTemplateCommand)
|
|
20
|
+
.de(de_GetStateTemplateCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListStateTemplatesCommand, se_ListStateTemplatesCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListStateTemplatesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("IoTAutobahnControlPlane", "ListStateTemplates", {})
|
|
17
|
+
.n("IoTFleetWiseClient", "ListStateTemplatesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListStateTemplatesCommand)
|
|
20
|
+
.de(de_ListStateTemplatesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateStateTemplateCommand, se_UpdateStateTemplateCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateStateTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("IoTAutobahnControlPlane", "UpdateStateTemplate", {})
|
|
17
|
+
.n("IoTFleetWiseClient", "UpdateStateTemplateCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateStateTemplateCommand)
|
|
20
|
+
.de(de_UpdateStateTemplateCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -6,12 +6,14 @@ export * from "./CreateDecoderManifestCommand";
|
|
|
6
6
|
export * from "./CreateFleetCommand";
|
|
7
7
|
export * from "./CreateModelManifestCommand";
|
|
8
8
|
export * from "./CreateSignalCatalogCommand";
|
|
9
|
+
export * from "./CreateStateTemplateCommand";
|
|
9
10
|
export * from "./CreateVehicleCommand";
|
|
10
11
|
export * from "./DeleteCampaignCommand";
|
|
11
12
|
export * from "./DeleteDecoderManifestCommand";
|
|
12
13
|
export * from "./DeleteFleetCommand";
|
|
13
14
|
export * from "./DeleteModelManifestCommand";
|
|
14
15
|
export * from "./DeleteSignalCatalogCommand";
|
|
16
|
+
export * from "./DeleteStateTemplateCommand";
|
|
15
17
|
export * from "./DeleteVehicleCommand";
|
|
16
18
|
export * from "./DisassociateVehicleFleetCommand";
|
|
17
19
|
export * from "./GetCampaignCommand";
|
|
@@ -22,6 +24,7 @@ export * from "./GetLoggingOptionsCommand";
|
|
|
22
24
|
export * from "./GetModelManifestCommand";
|
|
23
25
|
export * from "./GetRegisterAccountStatusCommand";
|
|
24
26
|
export * from "./GetSignalCatalogCommand";
|
|
27
|
+
export * from "./GetStateTemplateCommand";
|
|
25
28
|
export * from "./GetVehicleCommand";
|
|
26
29
|
export * from "./GetVehicleStatusCommand";
|
|
27
30
|
export * from "./ImportDecoderManifestCommand";
|
|
@@ -36,6 +39,7 @@ export * from "./ListModelManifestNodesCommand";
|
|
|
36
39
|
export * from "./ListModelManifestsCommand";
|
|
37
40
|
export * from "./ListSignalCatalogNodesCommand";
|
|
38
41
|
export * from "./ListSignalCatalogsCommand";
|
|
42
|
+
export * from "./ListStateTemplatesCommand";
|
|
39
43
|
export * from "./ListTagsForResourceCommand";
|
|
40
44
|
export * from "./ListVehiclesCommand";
|
|
41
45
|
export * from "./ListVehiclesInFleetCommand";
|
|
@@ -49,4 +53,5 @@ export * from "./UpdateDecoderManifestCommand";
|
|
|
49
53
|
export * from "./UpdateFleetCommand";
|
|
50
54
|
export * from "./UpdateModelManifestCommand";
|
|
51
55
|
export * from "./UpdateSignalCatalogCommand";
|
|
56
|
+
export * from "./UpdateStateTemplateCommand";
|
|
52
57
|
export * from "./UpdateVehicleCommand";
|
|
@@ -123,6 +123,22 @@ export const VehicleAssociationBehavior = {
|
|
|
123
123
|
CREATE_IOT_THING: "CreateIotThing",
|
|
124
124
|
VALIDATE_IOT_THING_EXISTS: "ValidateIotThingExists",
|
|
125
125
|
};
|
|
126
|
+
export const TimeUnit = {
|
|
127
|
+
HOUR: "HOUR",
|
|
128
|
+
MILLISECOND: "MILLISECOND",
|
|
129
|
+
MINUTE: "MINUTE",
|
|
130
|
+
SECOND: "SECOND",
|
|
131
|
+
};
|
|
132
|
+
export var StateTemplateUpdateStrategy;
|
|
133
|
+
(function (StateTemplateUpdateStrategy) {
|
|
134
|
+
StateTemplateUpdateStrategy.visit = (value, visitor) => {
|
|
135
|
+
if (value.periodic !== undefined)
|
|
136
|
+
return visitor.periodic(value.periodic);
|
|
137
|
+
if (value.onChange !== undefined)
|
|
138
|
+
return visitor.onChange(value.onChange);
|
|
139
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
140
|
+
};
|
|
141
|
+
})(StateTemplateUpdateStrategy || (StateTemplateUpdateStrategy = {}));
|
|
126
142
|
export const UpdateMode = {
|
|
127
143
|
MERGE: "Merge",
|
|
128
144
|
OVERWRITE: "Overwrite",
|
|
@@ -174,13 +190,35 @@ export var DataDestinationConfig;
|
|
|
174
190
|
return visitor.s3Config(value.s3Config);
|
|
175
191
|
if (value.timestreamConfig !== undefined)
|
|
176
192
|
return visitor.timestreamConfig(value.timestreamConfig);
|
|
193
|
+
if (value.mqttTopicConfig !== undefined)
|
|
194
|
+
return visitor.mqttTopicConfig(value.mqttTopicConfig);
|
|
177
195
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
178
196
|
};
|
|
179
197
|
})(DataDestinationConfig || (DataDestinationConfig = {}));
|
|
198
|
+
export const StorageMaximumSizeUnit = {
|
|
199
|
+
GB: "GB",
|
|
200
|
+
MB: "MB",
|
|
201
|
+
TB: "TB",
|
|
202
|
+
};
|
|
203
|
+
export const StorageMinimumTimeToLiveUnit = {
|
|
204
|
+
DAYS: "DAYS",
|
|
205
|
+
HOURS: "HOURS",
|
|
206
|
+
WEEKS: "WEEKS",
|
|
207
|
+
};
|
|
180
208
|
export const DiagnosticsMode = {
|
|
181
209
|
OFF: "OFF",
|
|
182
210
|
SEND_ACTIVE_DTCS: "SEND_ACTIVE_DTCS",
|
|
183
211
|
};
|
|
212
|
+
export var SignalFetchConfig;
|
|
213
|
+
(function (SignalFetchConfig) {
|
|
214
|
+
SignalFetchConfig.visit = (value, visitor) => {
|
|
215
|
+
if (value.timeBased !== undefined)
|
|
216
|
+
return visitor.timeBased(value.timeBased);
|
|
217
|
+
if (value.conditionBased !== undefined)
|
|
218
|
+
return visitor.conditionBased(value.conditionBased);
|
|
219
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
220
|
+
};
|
|
221
|
+
})(SignalFetchConfig || (SignalFetchConfig = {}));
|
|
184
222
|
export const SpoolingMode = {
|
|
185
223
|
OFF: "OFF",
|
|
186
224
|
TO_DISK: "TO_DISK",
|
|
@@ -201,8 +239,12 @@ export const LogType = {
|
|
|
201
239
|
ERROR: "ERROR",
|
|
202
240
|
OFF: "OFF",
|
|
203
241
|
};
|
|
242
|
+
export const DefaultForUnmappedSignalsType = {
|
|
243
|
+
CUSTOM_DECODING: "CUSTOM_DECODING",
|
|
244
|
+
};
|
|
204
245
|
export const NetworkInterfaceType = {
|
|
205
246
|
CAN_INTERFACE: "CAN_INTERFACE",
|
|
247
|
+
CUSTOM_DECODING_INTERFACE: "CUSTOM_DECODING_INTERFACE",
|
|
206
248
|
OBD_INTERFACE: "OBD_INTERFACE",
|
|
207
249
|
VEHICLE_MIDDLEWARE: "VEHICLE_MIDDLEWARE",
|
|
208
250
|
};
|
|
@@ -241,12 +283,14 @@ export const StructuredMessageListType = {
|
|
|
241
283
|
};
|
|
242
284
|
export const SignalDecoderType = {
|
|
243
285
|
CAN_SIGNAL: "CAN_SIGNAL",
|
|
286
|
+
CUSTOM_DECODING_SIGNAL: "CUSTOM_DECODING_SIGNAL",
|
|
244
287
|
MESSAGE_SIGNAL: "MESSAGE_SIGNAL",
|
|
245
288
|
OBD_SIGNAL: "OBD_SIGNAL",
|
|
246
289
|
};
|
|
247
290
|
export const NetworkInterfaceFailureReason = {
|
|
248
291
|
CAN_NETWORK_INTERFACE_INFO_IS_NULL: "CAN_NETWORK_INTERFACE_INFO_IS_NULL",
|
|
249
292
|
CONFLICTING_NETWORK_INTERFACE: "CONFLICTING_NETWORK_INTERFACE",
|
|
293
|
+
CUSTOM_DECODING_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL: "CUSTOM_DECODING_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL",
|
|
250
294
|
DUPLICATE_INTERFACE: "DUPLICATE_NETWORK_INTERFACE",
|
|
251
295
|
NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS: "NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS",
|
|
252
296
|
NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS: "NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS",
|
|
@@ -256,6 +300,7 @@ export const NetworkInterfaceFailureReason = {
|
|
|
256
300
|
export const SignalDecoderFailureReason = {
|
|
257
301
|
CAN_SIGNAL_INFO_IS_NULL: "CAN_SIGNAL_INFO_IS_NULL",
|
|
258
302
|
CONFLICTING_SIGNAL: "CONFLICTING_SIGNAL",
|
|
303
|
+
CUSTOM_DECODING_SIGNAL_INFO_IS_NULL: "CUSTOM_DECODING_SIGNAL_INFO_IS_NULL",
|
|
259
304
|
DUPLICATE_SIGNAL: "DUPLICATE_SIGNAL",
|
|
260
305
|
EMPTY_MESSAGE_SIGNAL: "EMPTY_MESSAGE_SIGNAL",
|
|
261
306
|
MESSAGE_SIGNAL_INFO_IS_NULL: "MESSAGE_SIGNAL_INFO_IS_NULL",
|
|
@@ -410,12 +455,48 @@ export const CollectionSchemeFilterSensitiveLog = (obj) => {
|
|
|
410
455
|
if (obj.$unknown !== undefined)
|
|
411
456
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
412
457
|
};
|
|
458
|
+
export const DataPartitionStorageOptionsFilterSensitiveLog = (obj) => ({
|
|
459
|
+
...obj,
|
|
460
|
+
...(obj.storageLocation && { storageLocation: SENSITIVE_STRING }),
|
|
461
|
+
});
|
|
462
|
+
export const DataPartitionUploadOptionsFilterSensitiveLog = (obj) => ({
|
|
463
|
+
...obj,
|
|
464
|
+
...(obj.expression && { expression: SENSITIVE_STRING }),
|
|
465
|
+
});
|
|
466
|
+
export const DataPartitionFilterSensitiveLog = (obj) => ({
|
|
467
|
+
...obj,
|
|
468
|
+
...(obj.storageOptions && { storageOptions: DataPartitionStorageOptionsFilterSensitiveLog(obj.storageOptions) }),
|
|
469
|
+
...(obj.uploadOptions && { uploadOptions: DataPartitionUploadOptionsFilterSensitiveLog(obj.uploadOptions) }),
|
|
470
|
+
});
|
|
471
|
+
export const ConditionBasedSignalFetchConfigFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
...(obj.conditionExpression && { conditionExpression: SENSITIVE_STRING }),
|
|
474
|
+
});
|
|
475
|
+
export const SignalFetchConfigFilterSensitiveLog = (obj) => {
|
|
476
|
+
if (obj.timeBased !== undefined)
|
|
477
|
+
return { timeBased: obj.timeBased };
|
|
478
|
+
if (obj.conditionBased !== undefined)
|
|
479
|
+
return { conditionBased: ConditionBasedSignalFetchConfigFilterSensitiveLog(obj.conditionBased) };
|
|
480
|
+
if (obj.$unknown !== undefined)
|
|
481
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
482
|
+
};
|
|
483
|
+
export const SignalFetchInformationFilterSensitiveLog = (obj) => ({
|
|
484
|
+
...obj,
|
|
485
|
+
...(obj.signalFetchConfig && { signalFetchConfig: SignalFetchConfigFilterSensitiveLog(obj.signalFetchConfig) }),
|
|
486
|
+
...(obj.actions && { actions: SENSITIVE_STRING }),
|
|
487
|
+
});
|
|
413
488
|
export const CreateCampaignRequestFilterSensitiveLog = (obj) => ({
|
|
414
489
|
...obj,
|
|
415
490
|
...(obj.signalsToCollect && { signalsToCollect: SENSITIVE_STRING }),
|
|
416
491
|
...(obj.collectionScheme && { collectionScheme: CollectionSchemeFilterSensitiveLog(obj.collectionScheme) }),
|
|
417
492
|
...(obj.dataExtraDimensions && { dataExtraDimensions: SENSITIVE_STRING }),
|
|
418
493
|
...(obj.dataDestinationConfigs && { dataDestinationConfigs: obj.dataDestinationConfigs.map((item) => item) }),
|
|
494
|
+
...(obj.dataPartitions && {
|
|
495
|
+
dataPartitions: obj.dataPartitions.map((item) => DataPartitionFilterSensitiveLog(item)),
|
|
496
|
+
}),
|
|
497
|
+
...(obj.signalsToFetch && {
|
|
498
|
+
signalsToFetch: obj.signalsToFetch.map((item) => SignalFetchInformationFilterSensitiveLog(item)),
|
|
499
|
+
}),
|
|
419
500
|
});
|
|
420
501
|
export const GetCampaignResponseFilterSensitiveLog = (obj) => ({
|
|
421
502
|
...obj,
|
|
@@ -423,6 +504,12 @@ export const GetCampaignResponseFilterSensitiveLog = (obj) => ({
|
|
|
423
504
|
...(obj.collectionScheme && { collectionScheme: CollectionSchemeFilterSensitiveLog(obj.collectionScheme) }),
|
|
424
505
|
...(obj.dataExtraDimensions && { dataExtraDimensions: SENSITIVE_STRING }),
|
|
425
506
|
...(obj.dataDestinationConfigs && { dataDestinationConfigs: obj.dataDestinationConfigs.map((item) => item) }),
|
|
507
|
+
...(obj.dataPartitions && {
|
|
508
|
+
dataPartitions: obj.dataPartitions.map((item) => DataPartitionFilterSensitiveLog(item)),
|
|
509
|
+
}),
|
|
510
|
+
...(obj.signalsToFetch && {
|
|
511
|
+
signalsToFetch: obj.signalsToFetch.map((item) => SignalFetchInformationFilterSensitiveLog(item)),
|
|
512
|
+
}),
|
|
426
513
|
});
|
|
427
514
|
export const UpdateCampaignRequestFilterSensitiveLog = (obj) => ({
|
|
428
515
|
...obj,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListStateTemplatesCommand, } from "../commands/ListStateTemplatesCommand";
|
|
3
|
+
import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
|
|
4
|
+
export const paginateListStateTemplates = createPaginator(IoTFleetWiseClient, ListStateTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -10,5 +10,6 @@ export * from "./ListModelManifestNodesPaginator";
|
|
|
10
10
|
export * from "./ListModelManifestsPaginator";
|
|
11
11
|
export * from "./ListSignalCatalogNodesPaginator";
|
|
12
12
|
export * from "./ListSignalCatalogsPaginator";
|
|
13
|
+
export * from "./ListStateTemplatesPaginator";
|
|
13
14
|
export * from "./ListVehiclesInFleetPaginator";
|
|
14
15
|
export * from "./ListVehiclesPaginator";
|