@aws-sdk/client-lookoutequipment 3.309.0 → 3.312.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/dist-cjs/protocols/Aws_json1_0.js +39 -132
- package/dist-es/protocols/Aws_json1_0.js +39 -132
- package/package.json +35 -35
|
@@ -8,330 +8,231 @@ const uuid_1 = require("uuid");
|
|
|
8
8
|
const LookoutEquipmentServiceException_1 = require("../models/LookoutEquipmentServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_CreateDatasetCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-amz-json-1.0",
|
|
13
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateDataset",
|
|
14
|
-
};
|
|
11
|
+
const headers = sharedHeaders("CreateDataset");
|
|
15
12
|
let body;
|
|
16
13
|
body = JSON.stringify(se_CreateDatasetRequest(input, context));
|
|
17
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
15
|
};
|
|
19
16
|
exports.se_CreateDatasetCommand = se_CreateDatasetCommand;
|
|
20
17
|
const se_CreateInferenceSchedulerCommand = async (input, context) => {
|
|
21
|
-
const headers =
|
|
22
|
-
"content-type": "application/x-amz-json-1.0",
|
|
23
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateInferenceScheduler",
|
|
24
|
-
};
|
|
18
|
+
const headers = sharedHeaders("CreateInferenceScheduler");
|
|
25
19
|
let body;
|
|
26
20
|
body = JSON.stringify(se_CreateInferenceSchedulerRequest(input, context));
|
|
27
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
22
|
};
|
|
29
23
|
exports.se_CreateInferenceSchedulerCommand = se_CreateInferenceSchedulerCommand;
|
|
30
24
|
const se_CreateLabelCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-amz-json-1.0",
|
|
33
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateLabel",
|
|
34
|
-
};
|
|
25
|
+
const headers = sharedHeaders("CreateLabel");
|
|
35
26
|
let body;
|
|
36
27
|
body = JSON.stringify(se_CreateLabelRequest(input, context));
|
|
37
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
29
|
};
|
|
39
30
|
exports.se_CreateLabelCommand = se_CreateLabelCommand;
|
|
40
31
|
const se_CreateLabelGroupCommand = async (input, context) => {
|
|
41
|
-
const headers =
|
|
42
|
-
"content-type": "application/x-amz-json-1.0",
|
|
43
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateLabelGroup",
|
|
44
|
-
};
|
|
32
|
+
const headers = sharedHeaders("CreateLabelGroup");
|
|
45
33
|
let body;
|
|
46
34
|
body = JSON.stringify(se_CreateLabelGroupRequest(input, context));
|
|
47
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
36
|
};
|
|
49
37
|
exports.se_CreateLabelGroupCommand = se_CreateLabelGroupCommand;
|
|
50
38
|
const se_CreateModelCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.0",
|
|
53
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateModel",
|
|
54
|
-
};
|
|
39
|
+
const headers = sharedHeaders("CreateModel");
|
|
55
40
|
let body;
|
|
56
41
|
body = JSON.stringify(se_CreateModelRequest(input, context));
|
|
57
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
43
|
};
|
|
59
44
|
exports.se_CreateModelCommand = se_CreateModelCommand;
|
|
60
45
|
const se_DeleteDatasetCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.0",
|
|
63
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteDataset",
|
|
64
|
-
};
|
|
46
|
+
const headers = sharedHeaders("DeleteDataset");
|
|
65
47
|
let body;
|
|
66
48
|
body = JSON.stringify(se_DeleteDatasetRequest(input, context));
|
|
67
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
50
|
};
|
|
69
51
|
exports.se_DeleteDatasetCommand = se_DeleteDatasetCommand;
|
|
70
52
|
const se_DeleteInferenceSchedulerCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.0",
|
|
73
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteInferenceScheduler",
|
|
74
|
-
};
|
|
53
|
+
const headers = sharedHeaders("DeleteInferenceScheduler");
|
|
75
54
|
let body;
|
|
76
55
|
body = JSON.stringify(se_DeleteInferenceSchedulerRequest(input, context));
|
|
77
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
57
|
};
|
|
79
58
|
exports.se_DeleteInferenceSchedulerCommand = se_DeleteInferenceSchedulerCommand;
|
|
80
59
|
const se_DeleteLabelCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.0",
|
|
83
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteLabel",
|
|
84
|
-
};
|
|
60
|
+
const headers = sharedHeaders("DeleteLabel");
|
|
85
61
|
let body;
|
|
86
62
|
body = JSON.stringify(se_DeleteLabelRequest(input, context));
|
|
87
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
64
|
};
|
|
89
65
|
exports.se_DeleteLabelCommand = se_DeleteLabelCommand;
|
|
90
66
|
const se_DeleteLabelGroupCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-amz-json-1.0",
|
|
93
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteLabelGroup",
|
|
94
|
-
};
|
|
67
|
+
const headers = sharedHeaders("DeleteLabelGroup");
|
|
95
68
|
let body;
|
|
96
69
|
body = JSON.stringify(se_DeleteLabelGroupRequest(input, context));
|
|
97
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
71
|
};
|
|
99
72
|
exports.se_DeleteLabelGroupCommand = se_DeleteLabelGroupCommand;
|
|
100
73
|
const se_DeleteModelCommand = async (input, context) => {
|
|
101
|
-
const headers =
|
|
102
|
-
"content-type": "application/x-amz-json-1.0",
|
|
103
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteModel",
|
|
104
|
-
};
|
|
74
|
+
const headers = sharedHeaders("DeleteModel");
|
|
105
75
|
let body;
|
|
106
76
|
body = JSON.stringify(se_DeleteModelRequest(input, context));
|
|
107
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
78
|
};
|
|
109
79
|
exports.se_DeleteModelCommand = se_DeleteModelCommand;
|
|
110
80
|
const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
111
|
-
const headers =
|
|
112
|
-
"content-type": "application/x-amz-json-1.0",
|
|
113
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeDataIngestionJob",
|
|
114
|
-
};
|
|
81
|
+
const headers = sharedHeaders("DescribeDataIngestionJob");
|
|
115
82
|
let body;
|
|
116
83
|
body = JSON.stringify(se_DescribeDataIngestionJobRequest(input, context));
|
|
117
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
85
|
};
|
|
119
86
|
exports.se_DescribeDataIngestionJobCommand = se_DescribeDataIngestionJobCommand;
|
|
120
87
|
const se_DescribeDatasetCommand = async (input, context) => {
|
|
121
|
-
const headers =
|
|
122
|
-
"content-type": "application/x-amz-json-1.0",
|
|
123
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeDataset",
|
|
124
|
-
};
|
|
88
|
+
const headers = sharedHeaders("DescribeDataset");
|
|
125
89
|
let body;
|
|
126
90
|
body = JSON.stringify(se_DescribeDatasetRequest(input, context));
|
|
127
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
92
|
};
|
|
129
93
|
exports.se_DescribeDatasetCommand = se_DescribeDatasetCommand;
|
|
130
94
|
const se_DescribeInferenceSchedulerCommand = async (input, context) => {
|
|
131
|
-
const headers =
|
|
132
|
-
"content-type": "application/x-amz-json-1.0",
|
|
133
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeInferenceScheduler",
|
|
134
|
-
};
|
|
95
|
+
const headers = sharedHeaders("DescribeInferenceScheduler");
|
|
135
96
|
let body;
|
|
136
97
|
body = JSON.stringify(se_DescribeInferenceSchedulerRequest(input, context));
|
|
137
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
99
|
};
|
|
139
100
|
exports.se_DescribeInferenceSchedulerCommand = se_DescribeInferenceSchedulerCommand;
|
|
140
101
|
const se_DescribeLabelCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.0",
|
|
143
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeLabel",
|
|
144
|
-
};
|
|
102
|
+
const headers = sharedHeaders("DescribeLabel");
|
|
145
103
|
let body;
|
|
146
104
|
body = JSON.stringify(se_DescribeLabelRequest(input, context));
|
|
147
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
106
|
};
|
|
149
107
|
exports.se_DescribeLabelCommand = se_DescribeLabelCommand;
|
|
150
108
|
const se_DescribeLabelGroupCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.0",
|
|
153
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeLabelGroup",
|
|
154
|
-
};
|
|
109
|
+
const headers = sharedHeaders("DescribeLabelGroup");
|
|
155
110
|
let body;
|
|
156
111
|
body = JSON.stringify(se_DescribeLabelGroupRequest(input, context));
|
|
157
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
113
|
};
|
|
159
114
|
exports.se_DescribeLabelGroupCommand = se_DescribeLabelGroupCommand;
|
|
160
115
|
const se_DescribeModelCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.0",
|
|
163
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeModel",
|
|
164
|
-
};
|
|
116
|
+
const headers = sharedHeaders("DescribeModel");
|
|
165
117
|
let body;
|
|
166
118
|
body = JSON.stringify(se_DescribeModelRequest(input, context));
|
|
167
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
120
|
};
|
|
169
121
|
exports.se_DescribeModelCommand = se_DescribeModelCommand;
|
|
170
122
|
const se_ListDataIngestionJobsCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.0",
|
|
173
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListDataIngestionJobs",
|
|
174
|
-
};
|
|
123
|
+
const headers = sharedHeaders("ListDataIngestionJobs");
|
|
175
124
|
let body;
|
|
176
125
|
body = JSON.stringify(se_ListDataIngestionJobsRequest(input, context));
|
|
177
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
127
|
};
|
|
179
128
|
exports.se_ListDataIngestionJobsCommand = se_ListDataIngestionJobsCommand;
|
|
180
129
|
const se_ListDatasetsCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-amz-json-1.0",
|
|
183
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListDatasets",
|
|
184
|
-
};
|
|
130
|
+
const headers = sharedHeaders("ListDatasets");
|
|
185
131
|
let body;
|
|
186
132
|
body = JSON.stringify(se_ListDatasetsRequest(input, context));
|
|
187
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
188
134
|
};
|
|
189
135
|
exports.se_ListDatasetsCommand = se_ListDatasetsCommand;
|
|
190
136
|
const se_ListInferenceEventsCommand = async (input, context) => {
|
|
191
|
-
const headers =
|
|
192
|
-
"content-type": "application/x-amz-json-1.0",
|
|
193
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceEvents",
|
|
194
|
-
};
|
|
137
|
+
const headers = sharedHeaders("ListInferenceEvents");
|
|
195
138
|
let body;
|
|
196
139
|
body = JSON.stringify(se_ListInferenceEventsRequest(input, context));
|
|
197
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
141
|
};
|
|
199
142
|
exports.se_ListInferenceEventsCommand = se_ListInferenceEventsCommand;
|
|
200
143
|
const se_ListInferenceExecutionsCommand = async (input, context) => {
|
|
201
|
-
const headers =
|
|
202
|
-
"content-type": "application/x-amz-json-1.0",
|
|
203
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceExecutions",
|
|
204
|
-
};
|
|
144
|
+
const headers = sharedHeaders("ListInferenceExecutions");
|
|
205
145
|
let body;
|
|
206
146
|
body = JSON.stringify(se_ListInferenceExecutionsRequest(input, context));
|
|
207
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
148
|
};
|
|
209
149
|
exports.se_ListInferenceExecutionsCommand = se_ListInferenceExecutionsCommand;
|
|
210
150
|
const se_ListInferenceSchedulersCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-amz-json-1.0",
|
|
213
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceSchedulers",
|
|
214
|
-
};
|
|
151
|
+
const headers = sharedHeaders("ListInferenceSchedulers");
|
|
215
152
|
let body;
|
|
216
153
|
body = JSON.stringify(se_ListInferenceSchedulersRequest(input, context));
|
|
217
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
155
|
};
|
|
219
156
|
exports.se_ListInferenceSchedulersCommand = se_ListInferenceSchedulersCommand;
|
|
220
157
|
const se_ListLabelGroupsCommand = async (input, context) => {
|
|
221
|
-
const headers =
|
|
222
|
-
"content-type": "application/x-amz-json-1.0",
|
|
223
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListLabelGroups",
|
|
224
|
-
};
|
|
158
|
+
const headers = sharedHeaders("ListLabelGroups");
|
|
225
159
|
let body;
|
|
226
160
|
body = JSON.stringify(se_ListLabelGroupsRequest(input, context));
|
|
227
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
162
|
};
|
|
229
163
|
exports.se_ListLabelGroupsCommand = se_ListLabelGroupsCommand;
|
|
230
164
|
const se_ListLabelsCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.0",
|
|
233
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListLabels",
|
|
234
|
-
};
|
|
165
|
+
const headers = sharedHeaders("ListLabels");
|
|
235
166
|
let body;
|
|
236
167
|
body = JSON.stringify(se_ListLabelsRequest(input, context));
|
|
237
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
169
|
};
|
|
239
170
|
exports.se_ListLabelsCommand = se_ListLabelsCommand;
|
|
240
171
|
const se_ListModelsCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.0",
|
|
243
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListModels",
|
|
244
|
-
};
|
|
172
|
+
const headers = sharedHeaders("ListModels");
|
|
245
173
|
let body;
|
|
246
174
|
body = JSON.stringify(se_ListModelsRequest(input, context));
|
|
247
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
176
|
};
|
|
249
177
|
exports.se_ListModelsCommand = se_ListModelsCommand;
|
|
250
178
|
const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.0",
|
|
253
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListSensorStatistics",
|
|
254
|
-
};
|
|
179
|
+
const headers = sharedHeaders("ListSensorStatistics");
|
|
255
180
|
let body;
|
|
256
181
|
body = JSON.stringify(se_ListSensorStatisticsRequest(input, context));
|
|
257
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
183
|
};
|
|
259
184
|
exports.se_ListSensorStatisticsCommand = se_ListSensorStatisticsCommand;
|
|
260
185
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.0",
|
|
263
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListTagsForResource",
|
|
264
|
-
};
|
|
186
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
265
187
|
let body;
|
|
266
188
|
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
267
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
190
|
};
|
|
269
191
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
270
192
|
const se_StartDataIngestionJobCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-amz-json-1.0",
|
|
273
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.StartDataIngestionJob",
|
|
274
|
-
};
|
|
193
|
+
const headers = sharedHeaders("StartDataIngestionJob");
|
|
275
194
|
let body;
|
|
276
195
|
body = JSON.stringify(se_StartDataIngestionJobRequest(input, context));
|
|
277
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
197
|
};
|
|
279
198
|
exports.se_StartDataIngestionJobCommand = se_StartDataIngestionJobCommand;
|
|
280
199
|
const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-amz-json-1.0",
|
|
283
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.StartInferenceScheduler",
|
|
284
|
-
};
|
|
200
|
+
const headers = sharedHeaders("StartInferenceScheduler");
|
|
285
201
|
let body;
|
|
286
202
|
body = JSON.stringify(se_StartInferenceSchedulerRequest(input, context));
|
|
287
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
204
|
};
|
|
289
205
|
exports.se_StartInferenceSchedulerCommand = se_StartInferenceSchedulerCommand;
|
|
290
206
|
const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-amz-json-1.0",
|
|
293
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.StopInferenceScheduler",
|
|
294
|
-
};
|
|
207
|
+
const headers = sharedHeaders("StopInferenceScheduler");
|
|
295
208
|
let body;
|
|
296
209
|
body = JSON.stringify(se_StopInferenceSchedulerRequest(input, context));
|
|
297
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
211
|
};
|
|
299
212
|
exports.se_StopInferenceSchedulerCommand = se_StopInferenceSchedulerCommand;
|
|
300
213
|
const se_TagResourceCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-amz-json-1.0",
|
|
303
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.TagResource",
|
|
304
|
-
};
|
|
214
|
+
const headers = sharedHeaders("TagResource");
|
|
305
215
|
let body;
|
|
306
216
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
307
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
218
|
};
|
|
309
219
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
310
220
|
const se_UntagResourceCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-amz-json-1.0",
|
|
313
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.UntagResource",
|
|
314
|
-
};
|
|
221
|
+
const headers = sharedHeaders("UntagResource");
|
|
315
222
|
let body;
|
|
316
223
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
317
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
225
|
};
|
|
319
226
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
320
227
|
const se_UpdateInferenceSchedulerCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.0",
|
|
323
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.UpdateInferenceScheduler",
|
|
324
|
-
};
|
|
228
|
+
const headers = sharedHeaders("UpdateInferenceScheduler");
|
|
325
229
|
let body;
|
|
326
230
|
body = JSON.stringify(se_UpdateInferenceSchedulerRequest(input, context));
|
|
327
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
232
|
};
|
|
329
233
|
exports.se_UpdateInferenceSchedulerCommand = se_UpdateInferenceSchedulerCommand;
|
|
330
234
|
const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.0",
|
|
333
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.UpdateLabelGroup",
|
|
334
|
-
};
|
|
235
|
+
const headers = sharedHeaders("UpdateLabelGroup");
|
|
335
236
|
let body;
|
|
336
237
|
body = JSON.stringify(se_UpdateLabelGroupRequest(input, context));
|
|
337
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -3079,6 +2980,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
3079
2980
|
}
|
|
3080
2981
|
return new protocol_http_1.HttpRequest(contents);
|
|
3081
2982
|
};
|
|
2983
|
+
function sharedHeaders(operation) {
|
|
2984
|
+
return {
|
|
2985
|
+
"content-type": "application/x-amz-json-1.0",
|
|
2986
|
+
"x-amz-target": `AWSLookoutEquipmentFrontendService.${operation}`,
|
|
2987
|
+
};
|
|
2988
|
+
}
|
|
3082
2989
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3083
2990
|
if (encoded.length) {
|
|
3084
2991
|
return JSON.parse(encoded);
|
|
@@ -4,298 +4,199 @@ import { v4 as generateIdempotencyToken } from "uuid";
|
|
|
4
4
|
import { LookoutEquipmentServiceException as __BaseException } from "../models/LookoutEquipmentServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateDatasetCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-amz-json-1.0",
|
|
9
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateDataset",
|
|
10
|
-
};
|
|
7
|
+
const headers = sharedHeaders("CreateDataset");
|
|
11
8
|
let body;
|
|
12
9
|
body = JSON.stringify(se_CreateDatasetRequest(input, context));
|
|
13
10
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
11
|
};
|
|
15
12
|
export const se_CreateInferenceSchedulerCommand = async (input, context) => {
|
|
16
|
-
const headers =
|
|
17
|
-
"content-type": "application/x-amz-json-1.0",
|
|
18
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateInferenceScheduler",
|
|
19
|
-
};
|
|
13
|
+
const headers = sharedHeaders("CreateInferenceScheduler");
|
|
20
14
|
let body;
|
|
21
15
|
body = JSON.stringify(se_CreateInferenceSchedulerRequest(input, context));
|
|
22
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
17
|
};
|
|
24
18
|
export const se_CreateLabelCommand = async (input, context) => {
|
|
25
|
-
const headers =
|
|
26
|
-
"content-type": "application/x-amz-json-1.0",
|
|
27
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateLabel",
|
|
28
|
-
};
|
|
19
|
+
const headers = sharedHeaders("CreateLabel");
|
|
29
20
|
let body;
|
|
30
21
|
body = JSON.stringify(se_CreateLabelRequest(input, context));
|
|
31
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
23
|
};
|
|
33
24
|
export const se_CreateLabelGroupCommand = async (input, context) => {
|
|
34
|
-
const headers =
|
|
35
|
-
"content-type": "application/x-amz-json-1.0",
|
|
36
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateLabelGroup",
|
|
37
|
-
};
|
|
25
|
+
const headers = sharedHeaders("CreateLabelGroup");
|
|
38
26
|
let body;
|
|
39
27
|
body = JSON.stringify(se_CreateLabelGroupRequest(input, context));
|
|
40
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
29
|
};
|
|
42
30
|
export const se_CreateModelCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-amz-json-1.0",
|
|
45
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateModel",
|
|
46
|
-
};
|
|
31
|
+
const headers = sharedHeaders("CreateModel");
|
|
47
32
|
let body;
|
|
48
33
|
body = JSON.stringify(se_CreateModelRequest(input, context));
|
|
49
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
35
|
};
|
|
51
36
|
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
52
|
-
const headers =
|
|
53
|
-
"content-type": "application/x-amz-json-1.0",
|
|
54
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteDataset",
|
|
55
|
-
};
|
|
37
|
+
const headers = sharedHeaders("DeleteDataset");
|
|
56
38
|
let body;
|
|
57
39
|
body = JSON.stringify(se_DeleteDatasetRequest(input, context));
|
|
58
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
41
|
};
|
|
60
42
|
export const se_DeleteInferenceSchedulerCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.0",
|
|
63
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteInferenceScheduler",
|
|
64
|
-
};
|
|
43
|
+
const headers = sharedHeaders("DeleteInferenceScheduler");
|
|
65
44
|
let body;
|
|
66
45
|
body = JSON.stringify(se_DeleteInferenceSchedulerRequest(input, context));
|
|
67
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
47
|
};
|
|
69
48
|
export const se_DeleteLabelCommand = async (input, context) => {
|
|
70
|
-
const headers =
|
|
71
|
-
"content-type": "application/x-amz-json-1.0",
|
|
72
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteLabel",
|
|
73
|
-
};
|
|
49
|
+
const headers = sharedHeaders("DeleteLabel");
|
|
74
50
|
let body;
|
|
75
51
|
body = JSON.stringify(se_DeleteLabelRequest(input, context));
|
|
76
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
53
|
};
|
|
78
54
|
export const se_DeleteLabelGroupCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-amz-json-1.0",
|
|
81
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteLabelGroup",
|
|
82
|
-
};
|
|
55
|
+
const headers = sharedHeaders("DeleteLabelGroup");
|
|
83
56
|
let body;
|
|
84
57
|
body = JSON.stringify(se_DeleteLabelGroupRequest(input, context));
|
|
85
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
59
|
};
|
|
87
60
|
export const se_DeleteModelCommand = async (input, context) => {
|
|
88
|
-
const headers =
|
|
89
|
-
"content-type": "application/x-amz-json-1.0",
|
|
90
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteModel",
|
|
91
|
-
};
|
|
61
|
+
const headers = sharedHeaders("DeleteModel");
|
|
92
62
|
let body;
|
|
93
63
|
body = JSON.stringify(se_DeleteModelRequest(input, context));
|
|
94
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
65
|
};
|
|
96
66
|
export const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
97
|
-
const headers =
|
|
98
|
-
"content-type": "application/x-amz-json-1.0",
|
|
99
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeDataIngestionJob",
|
|
100
|
-
};
|
|
67
|
+
const headers = sharedHeaders("DescribeDataIngestionJob");
|
|
101
68
|
let body;
|
|
102
69
|
body = JSON.stringify(se_DescribeDataIngestionJobRequest(input, context));
|
|
103
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
71
|
};
|
|
105
72
|
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
106
|
-
const headers =
|
|
107
|
-
"content-type": "application/x-amz-json-1.0",
|
|
108
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeDataset",
|
|
109
|
-
};
|
|
73
|
+
const headers = sharedHeaders("DescribeDataset");
|
|
110
74
|
let body;
|
|
111
75
|
body = JSON.stringify(se_DescribeDatasetRequest(input, context));
|
|
112
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
77
|
};
|
|
114
78
|
export const se_DescribeInferenceSchedulerCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-amz-json-1.0",
|
|
117
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeInferenceScheduler",
|
|
118
|
-
};
|
|
79
|
+
const headers = sharedHeaders("DescribeInferenceScheduler");
|
|
119
80
|
let body;
|
|
120
81
|
body = JSON.stringify(se_DescribeInferenceSchedulerRequest(input, context));
|
|
121
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
83
|
};
|
|
123
84
|
export const se_DescribeLabelCommand = async (input, context) => {
|
|
124
|
-
const headers =
|
|
125
|
-
"content-type": "application/x-amz-json-1.0",
|
|
126
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeLabel",
|
|
127
|
-
};
|
|
85
|
+
const headers = sharedHeaders("DescribeLabel");
|
|
128
86
|
let body;
|
|
129
87
|
body = JSON.stringify(se_DescribeLabelRequest(input, context));
|
|
130
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
89
|
};
|
|
132
90
|
export const se_DescribeLabelGroupCommand = async (input, context) => {
|
|
133
|
-
const headers =
|
|
134
|
-
"content-type": "application/x-amz-json-1.0",
|
|
135
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeLabelGroup",
|
|
136
|
-
};
|
|
91
|
+
const headers = sharedHeaders("DescribeLabelGroup");
|
|
137
92
|
let body;
|
|
138
93
|
body = JSON.stringify(se_DescribeLabelGroupRequest(input, context));
|
|
139
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
95
|
};
|
|
141
96
|
export const se_DescribeModelCommand = async (input, context) => {
|
|
142
|
-
const headers =
|
|
143
|
-
"content-type": "application/x-amz-json-1.0",
|
|
144
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeModel",
|
|
145
|
-
};
|
|
97
|
+
const headers = sharedHeaders("DescribeModel");
|
|
146
98
|
let body;
|
|
147
99
|
body = JSON.stringify(se_DescribeModelRequest(input, context));
|
|
148
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
101
|
};
|
|
150
102
|
export const se_ListDataIngestionJobsCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.0",
|
|
153
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListDataIngestionJobs",
|
|
154
|
-
};
|
|
103
|
+
const headers = sharedHeaders("ListDataIngestionJobs");
|
|
155
104
|
let body;
|
|
156
105
|
body = JSON.stringify(se_ListDataIngestionJobsRequest(input, context));
|
|
157
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
107
|
};
|
|
159
108
|
export const se_ListDatasetsCommand = async (input, context) => {
|
|
160
|
-
const headers =
|
|
161
|
-
"content-type": "application/x-amz-json-1.0",
|
|
162
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListDatasets",
|
|
163
|
-
};
|
|
109
|
+
const headers = sharedHeaders("ListDatasets");
|
|
164
110
|
let body;
|
|
165
111
|
body = JSON.stringify(se_ListDatasetsRequest(input, context));
|
|
166
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
113
|
};
|
|
168
114
|
export const se_ListInferenceEventsCommand = async (input, context) => {
|
|
169
|
-
const headers =
|
|
170
|
-
"content-type": "application/x-amz-json-1.0",
|
|
171
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceEvents",
|
|
172
|
-
};
|
|
115
|
+
const headers = sharedHeaders("ListInferenceEvents");
|
|
173
116
|
let body;
|
|
174
117
|
body = JSON.stringify(se_ListInferenceEventsRequest(input, context));
|
|
175
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
119
|
};
|
|
177
120
|
export const se_ListInferenceExecutionsCommand = async (input, context) => {
|
|
178
|
-
const headers =
|
|
179
|
-
"content-type": "application/x-amz-json-1.0",
|
|
180
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceExecutions",
|
|
181
|
-
};
|
|
121
|
+
const headers = sharedHeaders("ListInferenceExecutions");
|
|
182
122
|
let body;
|
|
183
123
|
body = JSON.stringify(se_ListInferenceExecutionsRequest(input, context));
|
|
184
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
125
|
};
|
|
186
126
|
export const se_ListInferenceSchedulersCommand = async (input, context) => {
|
|
187
|
-
const headers =
|
|
188
|
-
"content-type": "application/x-amz-json-1.0",
|
|
189
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceSchedulers",
|
|
190
|
-
};
|
|
127
|
+
const headers = sharedHeaders("ListInferenceSchedulers");
|
|
191
128
|
let body;
|
|
192
129
|
body = JSON.stringify(se_ListInferenceSchedulersRequest(input, context));
|
|
193
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
194
131
|
};
|
|
195
132
|
export const se_ListLabelGroupsCommand = async (input, context) => {
|
|
196
|
-
const headers =
|
|
197
|
-
"content-type": "application/x-amz-json-1.0",
|
|
198
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListLabelGroups",
|
|
199
|
-
};
|
|
133
|
+
const headers = sharedHeaders("ListLabelGroups");
|
|
200
134
|
let body;
|
|
201
135
|
body = JSON.stringify(se_ListLabelGroupsRequest(input, context));
|
|
202
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
137
|
};
|
|
204
138
|
export const se_ListLabelsCommand = async (input, context) => {
|
|
205
|
-
const headers =
|
|
206
|
-
"content-type": "application/x-amz-json-1.0",
|
|
207
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListLabels",
|
|
208
|
-
};
|
|
139
|
+
const headers = sharedHeaders("ListLabels");
|
|
209
140
|
let body;
|
|
210
141
|
body = JSON.stringify(se_ListLabelsRequest(input, context));
|
|
211
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
143
|
};
|
|
213
144
|
export const se_ListModelsCommand = async (input, context) => {
|
|
214
|
-
const headers =
|
|
215
|
-
"content-type": "application/x-amz-json-1.0",
|
|
216
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListModels",
|
|
217
|
-
};
|
|
145
|
+
const headers = sharedHeaders("ListModels");
|
|
218
146
|
let body;
|
|
219
147
|
body = JSON.stringify(se_ListModelsRequest(input, context));
|
|
220
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
149
|
};
|
|
222
150
|
export const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-amz-json-1.0",
|
|
225
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListSensorStatistics",
|
|
226
|
-
};
|
|
151
|
+
const headers = sharedHeaders("ListSensorStatistics");
|
|
227
152
|
let body;
|
|
228
153
|
body = JSON.stringify(se_ListSensorStatisticsRequest(input, context));
|
|
229
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
155
|
};
|
|
231
156
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
232
|
-
const headers =
|
|
233
|
-
"content-type": "application/x-amz-json-1.0",
|
|
234
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListTagsForResource",
|
|
235
|
-
};
|
|
157
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
236
158
|
let body;
|
|
237
159
|
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
238
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
161
|
};
|
|
240
162
|
export const se_StartDataIngestionJobCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.0",
|
|
243
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.StartDataIngestionJob",
|
|
244
|
-
};
|
|
163
|
+
const headers = sharedHeaders("StartDataIngestionJob");
|
|
245
164
|
let body;
|
|
246
165
|
body = JSON.stringify(se_StartDataIngestionJobRequest(input, context));
|
|
247
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
167
|
};
|
|
249
168
|
export const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
250
|
-
const headers =
|
|
251
|
-
"content-type": "application/x-amz-json-1.0",
|
|
252
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.StartInferenceScheduler",
|
|
253
|
-
};
|
|
169
|
+
const headers = sharedHeaders("StartInferenceScheduler");
|
|
254
170
|
let body;
|
|
255
171
|
body = JSON.stringify(se_StartInferenceSchedulerRequest(input, context));
|
|
256
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
173
|
};
|
|
258
174
|
export const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-amz-json-1.0",
|
|
261
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.StopInferenceScheduler",
|
|
262
|
-
};
|
|
175
|
+
const headers = sharedHeaders("StopInferenceScheduler");
|
|
263
176
|
let body;
|
|
264
177
|
body = JSON.stringify(se_StopInferenceSchedulerRequest(input, context));
|
|
265
178
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
179
|
};
|
|
267
180
|
export const se_TagResourceCommand = async (input, context) => {
|
|
268
|
-
const headers =
|
|
269
|
-
"content-type": "application/x-amz-json-1.0",
|
|
270
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.TagResource",
|
|
271
|
-
};
|
|
181
|
+
const headers = sharedHeaders("TagResource");
|
|
272
182
|
let body;
|
|
273
183
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
274
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
185
|
};
|
|
276
186
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
277
|
-
const headers =
|
|
278
|
-
"content-type": "application/x-amz-json-1.0",
|
|
279
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.UntagResource",
|
|
280
|
-
};
|
|
187
|
+
const headers = sharedHeaders("UntagResource");
|
|
281
188
|
let body;
|
|
282
189
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
283
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
284
191
|
};
|
|
285
192
|
export const se_UpdateInferenceSchedulerCommand = async (input, context) => {
|
|
286
|
-
const headers =
|
|
287
|
-
"content-type": "application/x-amz-json-1.0",
|
|
288
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.UpdateInferenceScheduler",
|
|
289
|
-
};
|
|
193
|
+
const headers = sharedHeaders("UpdateInferenceScheduler");
|
|
290
194
|
let body;
|
|
291
195
|
body = JSON.stringify(se_UpdateInferenceSchedulerRequest(input, context));
|
|
292
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
197
|
};
|
|
294
198
|
export const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
295
|
-
const headers =
|
|
296
|
-
"content-type": "application/x-amz-json-1.0",
|
|
297
|
-
"x-amz-target": "AWSLookoutEquipmentFrontendService.UpdateLabelGroup",
|
|
298
|
-
};
|
|
199
|
+
const headers = sharedHeaders("UpdateLabelGroup");
|
|
299
200
|
let body;
|
|
300
201
|
body = JSON.stringify(se_UpdateLabelGroupRequest(input, context));
|
|
301
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -3009,6 +2910,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
3009
2910
|
}
|
|
3010
2911
|
return new __HttpRequest(contents);
|
|
3011
2912
|
};
|
|
2913
|
+
function sharedHeaders(operation) {
|
|
2914
|
+
return {
|
|
2915
|
+
"content-type": "application/x-amz-json-1.0",
|
|
2916
|
+
"x-amz-target": `AWSLookoutEquipmentFrontendService.${operation}`,
|
|
2917
|
+
};
|
|
2918
|
+
}
|
|
3012
2919
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3013
2920
|
if (encoded.length) {
|
|
3014
2921
|
return JSON.parse(encoded);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lookoutequipment",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lookoutequipment Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.312.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.312.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.310.0",
|
|
44
|
+
"@aws-sdk/types": "3.310.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"files": [
|
|
81
|
-
"dist
|
|
81
|
+
"dist-*/**"
|
|
82
82
|
],
|
|
83
83
|
"author": {
|
|
84
84
|
"name": "AWS SDK for JavaScript Team",
|