@aws-sdk/client-lookoutequipment 3.303.0 → 3.309.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/commands/CreateDatasetCommand.js +2 -2
- package/dist-cjs/commands/CreateInferenceSchedulerCommand.js +2 -2
- package/dist-cjs/commands/CreateLabelCommand.js +2 -2
- package/dist-cjs/commands/CreateLabelGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateModelCommand.js +2 -2
- package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
- package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js +2 -2
- package/dist-cjs/commands/DeleteLabelCommand.js +2 -2
- package/dist-cjs/commands/DeleteLabelGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteModelCommand.js +2 -2
- package/dist-cjs/commands/DescribeDataIngestionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeDatasetCommand.js +2 -2
- package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js +2 -2
- package/dist-cjs/commands/DescribeLabelCommand.js +2 -2
- package/dist-cjs/commands/DescribeLabelGroupCommand.js +2 -2
- package/dist-cjs/commands/DescribeModelCommand.js +2 -2
- package/dist-cjs/commands/ListDataIngestionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListDatasetsCommand.js +2 -2
- package/dist-cjs/commands/ListInferenceEventsCommand.js +2 -2
- package/dist-cjs/commands/ListInferenceExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListInferenceSchedulersCommand.js +2 -2
- package/dist-cjs/commands/ListLabelGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListLabelsCommand.js +2 -2
- package/dist-cjs/commands/ListModelsCommand.js +2 -2
- package/dist-cjs/commands/ListSensorStatisticsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/StartDataIngestionJobCommand.js +2 -2
- package/dist-cjs/commands/StartInferenceSchedulerCommand.js +2 -2
- package/dist-cjs/commands/StopInferenceSchedulerCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js +2 -2
- package/dist-cjs/commands/UpdateLabelGroupCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_0.js +660 -696
- package/dist-es/commands/CreateDatasetCommand.js +3 -3
- package/dist-es/commands/CreateInferenceSchedulerCommand.js +3 -3
- package/dist-es/commands/CreateLabelCommand.js +3 -3
- package/dist-es/commands/CreateLabelGroupCommand.js +3 -3
- package/dist-es/commands/CreateModelCommand.js +3 -3
- package/dist-es/commands/DeleteDatasetCommand.js +3 -3
- package/dist-es/commands/DeleteInferenceSchedulerCommand.js +3 -3
- package/dist-es/commands/DeleteLabelCommand.js +3 -3
- package/dist-es/commands/DeleteLabelGroupCommand.js +3 -3
- package/dist-es/commands/DeleteModelCommand.js +3 -3
- package/dist-es/commands/DescribeDataIngestionJobCommand.js +3 -3
- package/dist-es/commands/DescribeDatasetCommand.js +3 -3
- package/dist-es/commands/DescribeInferenceSchedulerCommand.js +3 -3
- package/dist-es/commands/DescribeLabelCommand.js +3 -3
- package/dist-es/commands/DescribeLabelGroupCommand.js +3 -3
- package/dist-es/commands/DescribeModelCommand.js +3 -3
- package/dist-es/commands/ListDataIngestionJobsCommand.js +3 -3
- package/dist-es/commands/ListDatasetsCommand.js +3 -3
- package/dist-es/commands/ListInferenceEventsCommand.js +3 -3
- package/dist-es/commands/ListInferenceExecutionsCommand.js +3 -3
- package/dist-es/commands/ListInferenceSchedulersCommand.js +3 -3
- package/dist-es/commands/ListLabelGroupsCommand.js +3 -3
- package/dist-es/commands/ListLabelsCommand.js +3 -3
- package/dist-es/commands/ListModelsCommand.js +3 -3
- package/dist-es/commands/ListSensorStatisticsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/StartDataIngestionJobCommand.js +3 -3
- package/dist-es/commands/StartInferenceSchedulerCommand.js +3 -3
- package/dist-es/commands/StopInferenceSchedulerCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateInferenceSchedulerCommand.js +3 -3
- package/dist-es/commands/UpdateLabelGroupCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_0.js +592 -628
- package/dist-types/protocols/Aws_json1_0.d.ts +264 -66
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +66 -66
- package/package.json +29 -29
|
@@ -3,317 +3,317 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
3
3
|
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
|
-
export const
|
|
6
|
+
export const se_CreateDatasetCommand = async (input, context) => {
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/x-amz-json-1.0",
|
|
9
9
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateDataset",
|
|
10
10
|
};
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify(se_CreateDatasetRequest(input, context));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
|
-
export const
|
|
15
|
+
export const se_CreateInferenceSchedulerCommand = async (input, context) => {
|
|
16
16
|
const headers = {
|
|
17
17
|
"content-type": "application/x-amz-json-1.0",
|
|
18
18
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateInferenceScheduler",
|
|
19
19
|
};
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(se_CreateInferenceSchedulerRequest(input, context));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
|
-
export const
|
|
24
|
+
export const se_CreateLabelCommand = async (input, context) => {
|
|
25
25
|
const headers = {
|
|
26
26
|
"content-type": "application/x-amz-json-1.0",
|
|
27
27
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateLabel",
|
|
28
28
|
};
|
|
29
29
|
let body;
|
|
30
|
-
body = JSON.stringify(
|
|
30
|
+
body = JSON.stringify(se_CreateLabelRequest(input, context));
|
|
31
31
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
32
|
};
|
|
33
|
-
export const
|
|
33
|
+
export const se_CreateLabelGroupCommand = async (input, context) => {
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/x-amz-json-1.0",
|
|
36
36
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateLabelGroup",
|
|
37
37
|
};
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(se_CreateLabelGroupRequest(input, context));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_CreateModelCommand = async (input, context) => {
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/x-amz-json-1.0",
|
|
45
45
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.CreateModel",
|
|
46
46
|
};
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify(se_CreateModelRequest(input, context));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
52
52
|
const headers = {
|
|
53
53
|
"content-type": "application/x-amz-json-1.0",
|
|
54
54
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteDataset",
|
|
55
55
|
};
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify(
|
|
57
|
+
body = JSON.stringify(se_DeleteDatasetRequest(input, context));
|
|
58
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
59
|
};
|
|
60
|
-
export const
|
|
60
|
+
export const se_DeleteInferenceSchedulerCommand = async (input, context) => {
|
|
61
61
|
const headers = {
|
|
62
62
|
"content-type": "application/x-amz-json-1.0",
|
|
63
63
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteInferenceScheduler",
|
|
64
64
|
};
|
|
65
65
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
66
|
+
body = JSON.stringify(se_DeleteInferenceSchedulerRequest(input, context));
|
|
67
67
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
68
|
};
|
|
69
|
-
export const
|
|
69
|
+
export const se_DeleteLabelCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.0",
|
|
72
72
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteLabel",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_DeleteLabelRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
export const
|
|
78
|
+
export const se_DeleteLabelGroupCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.0",
|
|
81
81
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteLabelGroup",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_DeleteLabelGroupRequest(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
export const
|
|
87
|
+
export const se_DeleteModelCommand = async (input, context) => {
|
|
88
88
|
const headers = {
|
|
89
89
|
"content-type": "application/x-amz-json-1.0",
|
|
90
90
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DeleteModel",
|
|
91
91
|
};
|
|
92
92
|
let body;
|
|
93
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(se_DeleteModelRequest(input, context));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
|
-
export const
|
|
96
|
+
export const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
97
97
|
const headers = {
|
|
98
98
|
"content-type": "application/x-amz-json-1.0",
|
|
99
99
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeDataIngestionJob",
|
|
100
100
|
};
|
|
101
101
|
let body;
|
|
102
|
-
body = JSON.stringify(
|
|
102
|
+
body = JSON.stringify(se_DescribeDataIngestionJobRequest(input, context));
|
|
103
103
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
104
|
};
|
|
105
|
-
export const
|
|
105
|
+
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
106
106
|
const headers = {
|
|
107
107
|
"content-type": "application/x-amz-json-1.0",
|
|
108
108
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeDataset",
|
|
109
109
|
};
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(se_DescribeDatasetRequest(input, context));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
|
-
export const
|
|
114
|
+
export const se_DescribeInferenceSchedulerCommand = async (input, context) => {
|
|
115
115
|
const headers = {
|
|
116
116
|
"content-type": "application/x-amz-json-1.0",
|
|
117
117
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeInferenceScheduler",
|
|
118
118
|
};
|
|
119
119
|
let body;
|
|
120
|
-
body = JSON.stringify(
|
|
120
|
+
body = JSON.stringify(se_DescribeInferenceSchedulerRequest(input, context));
|
|
121
121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
122
|
};
|
|
123
|
-
export const
|
|
123
|
+
export const se_DescribeLabelCommand = async (input, context) => {
|
|
124
124
|
const headers = {
|
|
125
125
|
"content-type": "application/x-amz-json-1.0",
|
|
126
126
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeLabel",
|
|
127
127
|
};
|
|
128
128
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(se_DescribeLabelRequest(input, context));
|
|
130
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
131
|
};
|
|
132
|
-
export const
|
|
132
|
+
export const se_DescribeLabelGroupCommand = async (input, context) => {
|
|
133
133
|
const headers = {
|
|
134
134
|
"content-type": "application/x-amz-json-1.0",
|
|
135
135
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeLabelGroup",
|
|
136
136
|
};
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify(se_DescribeLabelGroupRequest(input, context));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
|
-
export const
|
|
141
|
+
export const se_DescribeModelCommand = async (input, context) => {
|
|
142
142
|
const headers = {
|
|
143
143
|
"content-type": "application/x-amz-json-1.0",
|
|
144
144
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.DescribeModel",
|
|
145
145
|
};
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(se_DescribeModelRequest(input, context));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
|
-
export const
|
|
150
|
+
export const se_ListDataIngestionJobsCommand = async (input, context) => {
|
|
151
151
|
const headers = {
|
|
152
152
|
"content-type": "application/x-amz-json-1.0",
|
|
153
153
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListDataIngestionJobs",
|
|
154
154
|
};
|
|
155
155
|
let body;
|
|
156
|
-
body = JSON.stringify(
|
|
156
|
+
body = JSON.stringify(se_ListDataIngestionJobsRequest(input, context));
|
|
157
157
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
158
|
};
|
|
159
|
-
export const
|
|
159
|
+
export const se_ListDatasetsCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.0",
|
|
162
162
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListDatasets",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_ListDatasetsRequest(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
export const
|
|
168
|
+
export const se_ListInferenceEventsCommand = async (input, context) => {
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/x-amz-json-1.0",
|
|
171
171
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceEvents",
|
|
172
172
|
};
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify(se_ListInferenceEventsRequest(input, context));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
|
-
export const
|
|
177
|
+
export const se_ListInferenceExecutionsCommand = async (input, context) => {
|
|
178
178
|
const headers = {
|
|
179
179
|
"content-type": "application/x-amz-json-1.0",
|
|
180
180
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceExecutions",
|
|
181
181
|
};
|
|
182
182
|
let body;
|
|
183
|
-
body = JSON.stringify(
|
|
183
|
+
body = JSON.stringify(se_ListInferenceExecutionsRequest(input, context));
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
|
-
export const
|
|
186
|
+
export const se_ListInferenceSchedulersCommand = async (input, context) => {
|
|
187
187
|
const headers = {
|
|
188
188
|
"content-type": "application/x-amz-json-1.0",
|
|
189
189
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListInferenceSchedulers",
|
|
190
190
|
};
|
|
191
191
|
let body;
|
|
192
|
-
body = JSON.stringify(
|
|
192
|
+
body = JSON.stringify(se_ListInferenceSchedulersRequest(input, context));
|
|
193
193
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
194
194
|
};
|
|
195
|
-
export const
|
|
195
|
+
export const se_ListLabelGroupsCommand = async (input, context) => {
|
|
196
196
|
const headers = {
|
|
197
197
|
"content-type": "application/x-amz-json-1.0",
|
|
198
198
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListLabelGroups",
|
|
199
199
|
};
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify(se_ListLabelGroupsRequest(input, context));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
|
-
export const
|
|
204
|
+
export const se_ListLabelsCommand = async (input, context) => {
|
|
205
205
|
const headers = {
|
|
206
206
|
"content-type": "application/x-amz-json-1.0",
|
|
207
207
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListLabels",
|
|
208
208
|
};
|
|
209
209
|
let body;
|
|
210
|
-
body = JSON.stringify(
|
|
210
|
+
body = JSON.stringify(se_ListLabelsRequest(input, context));
|
|
211
211
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
212
|
};
|
|
213
|
-
export const
|
|
213
|
+
export const se_ListModelsCommand = async (input, context) => {
|
|
214
214
|
const headers = {
|
|
215
215
|
"content-type": "application/x-amz-json-1.0",
|
|
216
216
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListModels",
|
|
217
217
|
};
|
|
218
218
|
let body;
|
|
219
|
-
body = JSON.stringify(
|
|
219
|
+
body = JSON.stringify(se_ListModelsRequest(input, context));
|
|
220
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
221
|
};
|
|
222
|
-
export const
|
|
222
|
+
export const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
223
223
|
const headers = {
|
|
224
224
|
"content-type": "application/x-amz-json-1.0",
|
|
225
225
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListSensorStatistics",
|
|
226
226
|
};
|
|
227
227
|
let body;
|
|
228
|
-
body = JSON.stringify(
|
|
228
|
+
body = JSON.stringify(se_ListSensorStatisticsRequest(input, context));
|
|
229
229
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
230
|
};
|
|
231
|
-
export const
|
|
231
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
232
232
|
const headers = {
|
|
233
233
|
"content-type": "application/x-amz-json-1.0",
|
|
234
234
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.ListTagsForResource",
|
|
235
235
|
};
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
|
-
export const
|
|
240
|
+
export const se_StartDataIngestionJobCommand = async (input, context) => {
|
|
241
241
|
const headers = {
|
|
242
242
|
"content-type": "application/x-amz-json-1.0",
|
|
243
243
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.StartDataIngestionJob",
|
|
244
244
|
};
|
|
245
245
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
246
|
+
body = JSON.stringify(se_StartDataIngestionJobRequest(input, context));
|
|
247
247
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
248
|
};
|
|
249
|
-
export const
|
|
249
|
+
export const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
250
250
|
const headers = {
|
|
251
251
|
"content-type": "application/x-amz-json-1.0",
|
|
252
252
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.StartInferenceScheduler",
|
|
253
253
|
};
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(se_StartInferenceSchedulerRequest(input, context));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
export const
|
|
258
|
+
export const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
259
259
|
const headers = {
|
|
260
260
|
"content-type": "application/x-amz-json-1.0",
|
|
261
261
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.StopInferenceScheduler",
|
|
262
262
|
};
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify(se_StopInferenceSchedulerRequest(input, context));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
|
-
export const
|
|
267
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
268
268
|
const headers = {
|
|
269
269
|
"content-type": "application/x-amz-json-1.0",
|
|
270
270
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.TagResource",
|
|
271
271
|
};
|
|
272
272
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
|
-
export const
|
|
276
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
277
277
|
const headers = {
|
|
278
278
|
"content-type": "application/x-amz-json-1.0",
|
|
279
279
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.UntagResource",
|
|
280
280
|
};
|
|
281
281
|
let body;
|
|
282
|
-
body = JSON.stringify(
|
|
282
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
283
283
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
284
284
|
};
|
|
285
|
-
export const
|
|
285
|
+
export const se_UpdateInferenceSchedulerCommand = async (input, context) => {
|
|
286
286
|
const headers = {
|
|
287
287
|
"content-type": "application/x-amz-json-1.0",
|
|
288
288
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.UpdateInferenceScheduler",
|
|
289
289
|
};
|
|
290
290
|
let body;
|
|
291
|
-
body = JSON.stringify(
|
|
291
|
+
body = JSON.stringify(se_UpdateInferenceSchedulerRequest(input, context));
|
|
292
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
293
|
};
|
|
294
|
-
export const
|
|
294
|
+
export const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
295
295
|
const headers = {
|
|
296
296
|
"content-type": "application/x-amz-json-1.0",
|
|
297
297
|
"x-amz-target": "AWSLookoutEquipmentFrontendService.UpdateLabelGroup",
|
|
298
298
|
};
|
|
299
299
|
let body;
|
|
300
|
-
body = JSON.stringify(
|
|
300
|
+
body = JSON.stringify(se_UpdateLabelGroupRequest(input, context));
|
|
301
301
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
302
|
};
|
|
303
|
-
export const
|
|
303
|
+
export const de_CreateDatasetCommand = async (output, context) => {
|
|
304
304
|
if (output.statusCode >= 300) {
|
|
305
|
-
return
|
|
305
|
+
return de_CreateDatasetCommandError(output, context);
|
|
306
306
|
}
|
|
307
307
|
const data = await parseBody(output.body, context);
|
|
308
308
|
let contents = {};
|
|
309
|
-
contents =
|
|
309
|
+
contents = de_CreateDatasetResponse(data, context);
|
|
310
310
|
const response = {
|
|
311
311
|
$metadata: deserializeMetadata(output),
|
|
312
312
|
...contents,
|
|
313
313
|
};
|
|
314
314
|
return Promise.resolve(response);
|
|
315
315
|
};
|
|
316
|
-
const
|
|
316
|
+
const de_CreateDatasetCommandError = async (output, context) => {
|
|
317
317
|
const parsedOutput = {
|
|
318
318
|
...output,
|
|
319
319
|
body: await parseErrorBody(output.body, context),
|
|
@@ -322,22 +322,22 @@ const deserializeAws_json1_0CreateDatasetCommandError = async (output, context)
|
|
|
322
322
|
switch (errorCode) {
|
|
323
323
|
case "AccessDeniedException":
|
|
324
324
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
325
|
-
throw await
|
|
325
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
326
326
|
case "ConflictException":
|
|
327
327
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
328
|
-
throw await
|
|
328
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
329
329
|
case "InternalServerException":
|
|
330
330
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
331
|
-
throw await
|
|
331
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
332
332
|
case "ServiceQuotaExceededException":
|
|
333
333
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
334
|
-
throw await
|
|
334
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
335
335
|
case "ThrottlingException":
|
|
336
336
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
337
|
-
throw await
|
|
337
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
338
338
|
case "ValidationException":
|
|
339
339
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
340
|
-
throw await
|
|
340
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
341
341
|
default:
|
|
342
342
|
const parsedBody = parsedOutput.body;
|
|
343
343
|
throwDefaultError({
|
|
@@ -348,20 +348,20 @@ const deserializeAws_json1_0CreateDatasetCommandError = async (output, context)
|
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
350
|
};
|
|
351
|
-
export const
|
|
351
|
+
export const de_CreateInferenceSchedulerCommand = async (output, context) => {
|
|
352
352
|
if (output.statusCode >= 300) {
|
|
353
|
-
return
|
|
353
|
+
return de_CreateInferenceSchedulerCommandError(output, context);
|
|
354
354
|
}
|
|
355
355
|
const data = await parseBody(output.body, context);
|
|
356
356
|
let contents = {};
|
|
357
|
-
contents =
|
|
357
|
+
contents = de_CreateInferenceSchedulerResponse(data, context);
|
|
358
358
|
const response = {
|
|
359
359
|
$metadata: deserializeMetadata(output),
|
|
360
360
|
...contents,
|
|
361
361
|
};
|
|
362
362
|
return Promise.resolve(response);
|
|
363
363
|
};
|
|
364
|
-
const
|
|
364
|
+
const de_CreateInferenceSchedulerCommandError = async (output, context) => {
|
|
365
365
|
const parsedOutput = {
|
|
366
366
|
...output,
|
|
367
367
|
body: await parseErrorBody(output.body, context),
|
|
@@ -370,25 +370,25 @@ const deserializeAws_json1_0CreateInferenceSchedulerCommandError = async (output
|
|
|
370
370
|
switch (errorCode) {
|
|
371
371
|
case "AccessDeniedException":
|
|
372
372
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
373
|
-
throw await
|
|
373
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
374
374
|
case "ConflictException":
|
|
375
375
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
376
|
-
throw await
|
|
376
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
377
377
|
case "InternalServerException":
|
|
378
378
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
379
|
-
throw await
|
|
379
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
380
380
|
case "ResourceNotFoundException":
|
|
381
381
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
382
|
-
throw await
|
|
382
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
383
383
|
case "ServiceQuotaExceededException":
|
|
384
384
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
385
|
-
throw await
|
|
385
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
386
386
|
case "ThrottlingException":
|
|
387
387
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
388
|
-
throw await
|
|
388
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
389
389
|
case "ValidationException":
|
|
390
390
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
391
|
-
throw await
|
|
391
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
392
392
|
default:
|
|
393
393
|
const parsedBody = parsedOutput.body;
|
|
394
394
|
throwDefaultError({
|
|
@@ -399,20 +399,20 @@ const deserializeAws_json1_0CreateInferenceSchedulerCommandError = async (output
|
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
export const
|
|
402
|
+
export const de_CreateLabelCommand = async (output, context) => {
|
|
403
403
|
if (output.statusCode >= 300) {
|
|
404
|
-
return
|
|
404
|
+
return de_CreateLabelCommandError(output, context);
|
|
405
405
|
}
|
|
406
406
|
const data = await parseBody(output.body, context);
|
|
407
407
|
let contents = {};
|
|
408
|
-
contents =
|
|
408
|
+
contents = de_CreateLabelResponse(data, context);
|
|
409
409
|
const response = {
|
|
410
410
|
$metadata: deserializeMetadata(output),
|
|
411
411
|
...contents,
|
|
412
412
|
};
|
|
413
413
|
return Promise.resolve(response);
|
|
414
414
|
};
|
|
415
|
-
const
|
|
415
|
+
const de_CreateLabelCommandError = async (output, context) => {
|
|
416
416
|
const parsedOutput = {
|
|
417
417
|
...output,
|
|
418
418
|
body: await parseErrorBody(output.body, context),
|
|
@@ -421,25 +421,25 @@ const deserializeAws_json1_0CreateLabelCommandError = async (output, context) =>
|
|
|
421
421
|
switch (errorCode) {
|
|
422
422
|
case "AccessDeniedException":
|
|
423
423
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
424
|
-
throw await
|
|
424
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
425
425
|
case "ConflictException":
|
|
426
426
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
427
|
-
throw await
|
|
427
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
428
428
|
case "InternalServerException":
|
|
429
429
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
430
|
-
throw await
|
|
430
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
431
431
|
case "ResourceNotFoundException":
|
|
432
432
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
433
|
-
throw await
|
|
433
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
434
434
|
case "ServiceQuotaExceededException":
|
|
435
435
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
436
|
-
throw await
|
|
436
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
437
437
|
case "ThrottlingException":
|
|
438
438
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
439
|
-
throw await
|
|
439
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
440
440
|
case "ValidationException":
|
|
441
441
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
442
|
-
throw await
|
|
442
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
443
443
|
default:
|
|
444
444
|
const parsedBody = parsedOutput.body;
|
|
445
445
|
throwDefaultError({
|
|
@@ -450,20 +450,20 @@ const deserializeAws_json1_0CreateLabelCommandError = async (output, context) =>
|
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
};
|
|
453
|
-
export const
|
|
453
|
+
export const de_CreateLabelGroupCommand = async (output, context) => {
|
|
454
454
|
if (output.statusCode >= 300) {
|
|
455
|
-
return
|
|
455
|
+
return de_CreateLabelGroupCommandError(output, context);
|
|
456
456
|
}
|
|
457
457
|
const data = await parseBody(output.body, context);
|
|
458
458
|
let contents = {};
|
|
459
|
-
contents =
|
|
459
|
+
contents = de_CreateLabelGroupResponse(data, context);
|
|
460
460
|
const response = {
|
|
461
461
|
$metadata: deserializeMetadata(output),
|
|
462
462
|
...contents,
|
|
463
463
|
};
|
|
464
464
|
return Promise.resolve(response);
|
|
465
465
|
};
|
|
466
|
-
const
|
|
466
|
+
const de_CreateLabelGroupCommandError = async (output, context) => {
|
|
467
467
|
const parsedOutput = {
|
|
468
468
|
...output,
|
|
469
469
|
body: await parseErrorBody(output.body, context),
|
|
@@ -472,22 +472,22 @@ const deserializeAws_json1_0CreateLabelGroupCommandError = async (output, contex
|
|
|
472
472
|
switch (errorCode) {
|
|
473
473
|
case "AccessDeniedException":
|
|
474
474
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
475
|
-
throw await
|
|
475
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
476
476
|
case "ConflictException":
|
|
477
477
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
478
|
-
throw await
|
|
478
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
479
479
|
case "InternalServerException":
|
|
480
480
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
481
|
-
throw await
|
|
481
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
482
482
|
case "ServiceQuotaExceededException":
|
|
483
483
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
484
|
-
throw await
|
|
484
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
485
485
|
case "ThrottlingException":
|
|
486
486
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
487
|
-
throw await
|
|
487
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
488
488
|
case "ValidationException":
|
|
489
489
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
490
|
-
throw await
|
|
490
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
491
491
|
default:
|
|
492
492
|
const parsedBody = parsedOutput.body;
|
|
493
493
|
throwDefaultError({
|
|
@@ -498,20 +498,20 @@ const deserializeAws_json1_0CreateLabelGroupCommandError = async (output, contex
|
|
|
498
498
|
});
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
|
-
export const
|
|
501
|
+
export const de_CreateModelCommand = async (output, context) => {
|
|
502
502
|
if (output.statusCode >= 300) {
|
|
503
|
-
return
|
|
503
|
+
return de_CreateModelCommandError(output, context);
|
|
504
504
|
}
|
|
505
505
|
const data = await parseBody(output.body, context);
|
|
506
506
|
let contents = {};
|
|
507
|
-
contents =
|
|
507
|
+
contents = de_CreateModelResponse(data, context);
|
|
508
508
|
const response = {
|
|
509
509
|
$metadata: deserializeMetadata(output),
|
|
510
510
|
...contents,
|
|
511
511
|
};
|
|
512
512
|
return Promise.resolve(response);
|
|
513
513
|
};
|
|
514
|
-
const
|
|
514
|
+
const de_CreateModelCommandError = async (output, context) => {
|
|
515
515
|
const parsedOutput = {
|
|
516
516
|
...output,
|
|
517
517
|
body: await parseErrorBody(output.body, context),
|
|
@@ -520,25 +520,25 @@ const deserializeAws_json1_0CreateModelCommandError = async (output, context) =>
|
|
|
520
520
|
switch (errorCode) {
|
|
521
521
|
case "AccessDeniedException":
|
|
522
522
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
523
|
-
throw await
|
|
523
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
524
524
|
case "ConflictException":
|
|
525
525
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
526
|
-
throw await
|
|
526
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
527
527
|
case "InternalServerException":
|
|
528
528
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
529
|
-
throw await
|
|
529
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
530
530
|
case "ResourceNotFoundException":
|
|
531
531
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
532
|
-
throw await
|
|
532
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
533
533
|
case "ServiceQuotaExceededException":
|
|
534
534
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
535
|
-
throw await
|
|
535
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
536
536
|
case "ThrottlingException":
|
|
537
537
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
538
|
-
throw await
|
|
538
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
539
539
|
case "ValidationException":
|
|
540
540
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
541
|
-
throw await
|
|
541
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
542
542
|
default:
|
|
543
543
|
const parsedBody = parsedOutput.body;
|
|
544
544
|
throwDefaultError({
|
|
@@ -549,9 +549,9 @@ const deserializeAws_json1_0CreateModelCommandError = async (output, context) =>
|
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
|
-
export const
|
|
552
|
+
export const de_DeleteDatasetCommand = async (output, context) => {
|
|
553
553
|
if (output.statusCode >= 300) {
|
|
554
|
-
return
|
|
554
|
+
return de_DeleteDatasetCommandError(output, context);
|
|
555
555
|
}
|
|
556
556
|
await collectBody(output.body, context);
|
|
557
557
|
const response = {
|
|
@@ -559,7 +559,7 @@ export const deserializeAws_json1_0DeleteDatasetCommand = async (output, context
|
|
|
559
559
|
};
|
|
560
560
|
return Promise.resolve(response);
|
|
561
561
|
};
|
|
562
|
-
const
|
|
562
|
+
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
563
563
|
const parsedOutput = {
|
|
564
564
|
...output,
|
|
565
565
|
body: await parseErrorBody(output.body, context),
|
|
@@ -568,22 +568,22 @@ const deserializeAws_json1_0DeleteDatasetCommandError = async (output, context)
|
|
|
568
568
|
switch (errorCode) {
|
|
569
569
|
case "AccessDeniedException":
|
|
570
570
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
571
|
-
throw await
|
|
571
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
572
572
|
case "ConflictException":
|
|
573
573
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
574
|
-
throw await
|
|
574
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
575
575
|
case "InternalServerException":
|
|
576
576
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
577
|
-
throw await
|
|
577
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
578
578
|
case "ResourceNotFoundException":
|
|
579
579
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
580
|
-
throw await
|
|
580
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
581
581
|
case "ThrottlingException":
|
|
582
582
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
583
|
-
throw await
|
|
583
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
584
584
|
case "ValidationException":
|
|
585
585
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
586
|
-
throw await
|
|
586
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
587
587
|
default:
|
|
588
588
|
const parsedBody = parsedOutput.body;
|
|
589
589
|
throwDefaultError({
|
|
@@ -594,9 +594,9 @@ const deserializeAws_json1_0DeleteDatasetCommandError = async (output, context)
|
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
export const
|
|
597
|
+
export const de_DeleteInferenceSchedulerCommand = async (output, context) => {
|
|
598
598
|
if (output.statusCode >= 300) {
|
|
599
|
-
return
|
|
599
|
+
return de_DeleteInferenceSchedulerCommandError(output, context);
|
|
600
600
|
}
|
|
601
601
|
await collectBody(output.body, context);
|
|
602
602
|
const response = {
|
|
@@ -604,7 +604,7 @@ export const deserializeAws_json1_0DeleteInferenceSchedulerCommand = async (outp
|
|
|
604
604
|
};
|
|
605
605
|
return Promise.resolve(response);
|
|
606
606
|
};
|
|
607
|
-
const
|
|
607
|
+
const de_DeleteInferenceSchedulerCommandError = async (output, context) => {
|
|
608
608
|
const parsedOutput = {
|
|
609
609
|
...output,
|
|
610
610
|
body: await parseErrorBody(output.body, context),
|
|
@@ -613,22 +613,22 @@ const deserializeAws_json1_0DeleteInferenceSchedulerCommandError = async (output
|
|
|
613
613
|
switch (errorCode) {
|
|
614
614
|
case "AccessDeniedException":
|
|
615
615
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
616
|
-
throw await
|
|
616
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
617
617
|
case "ConflictException":
|
|
618
618
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
619
|
-
throw await
|
|
619
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
620
620
|
case "InternalServerException":
|
|
621
621
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
622
|
-
throw await
|
|
622
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
623
623
|
case "ResourceNotFoundException":
|
|
624
624
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
625
|
-
throw await
|
|
625
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
626
626
|
case "ThrottlingException":
|
|
627
627
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
628
|
-
throw await
|
|
628
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
629
629
|
case "ValidationException":
|
|
630
630
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
631
|
-
throw await
|
|
631
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
632
632
|
default:
|
|
633
633
|
const parsedBody = parsedOutput.body;
|
|
634
634
|
throwDefaultError({
|
|
@@ -639,9 +639,9 @@ const deserializeAws_json1_0DeleteInferenceSchedulerCommandError = async (output
|
|
|
639
639
|
});
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
|
-
export const
|
|
642
|
+
export const de_DeleteLabelCommand = async (output, context) => {
|
|
643
643
|
if (output.statusCode >= 300) {
|
|
644
|
-
return
|
|
644
|
+
return de_DeleteLabelCommandError(output, context);
|
|
645
645
|
}
|
|
646
646
|
await collectBody(output.body, context);
|
|
647
647
|
const response = {
|
|
@@ -649,7 +649,7 @@ export const deserializeAws_json1_0DeleteLabelCommand = async (output, context)
|
|
|
649
649
|
};
|
|
650
650
|
return Promise.resolve(response);
|
|
651
651
|
};
|
|
652
|
-
const
|
|
652
|
+
const de_DeleteLabelCommandError = async (output, context) => {
|
|
653
653
|
const parsedOutput = {
|
|
654
654
|
...output,
|
|
655
655
|
body: await parseErrorBody(output.body, context),
|
|
@@ -658,22 +658,22 @@ const deserializeAws_json1_0DeleteLabelCommandError = async (output, context) =>
|
|
|
658
658
|
switch (errorCode) {
|
|
659
659
|
case "AccessDeniedException":
|
|
660
660
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
661
|
-
throw await
|
|
661
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
662
662
|
case "ConflictException":
|
|
663
663
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
664
|
-
throw await
|
|
664
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
665
665
|
case "InternalServerException":
|
|
666
666
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
667
|
-
throw await
|
|
667
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
668
668
|
case "ResourceNotFoundException":
|
|
669
669
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
670
|
-
throw await
|
|
670
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
671
671
|
case "ThrottlingException":
|
|
672
672
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
673
|
-
throw await
|
|
673
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
674
674
|
case "ValidationException":
|
|
675
675
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
676
|
-
throw await
|
|
676
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
677
677
|
default:
|
|
678
678
|
const parsedBody = parsedOutput.body;
|
|
679
679
|
throwDefaultError({
|
|
@@ -684,9 +684,9 @@ const deserializeAws_json1_0DeleteLabelCommandError = async (output, context) =>
|
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
|
-
export const
|
|
687
|
+
export const de_DeleteLabelGroupCommand = async (output, context) => {
|
|
688
688
|
if (output.statusCode >= 300) {
|
|
689
|
-
return
|
|
689
|
+
return de_DeleteLabelGroupCommandError(output, context);
|
|
690
690
|
}
|
|
691
691
|
await collectBody(output.body, context);
|
|
692
692
|
const response = {
|
|
@@ -694,7 +694,7 @@ export const deserializeAws_json1_0DeleteLabelGroupCommand = async (output, cont
|
|
|
694
694
|
};
|
|
695
695
|
return Promise.resolve(response);
|
|
696
696
|
};
|
|
697
|
-
const
|
|
697
|
+
const de_DeleteLabelGroupCommandError = async (output, context) => {
|
|
698
698
|
const parsedOutput = {
|
|
699
699
|
...output,
|
|
700
700
|
body: await parseErrorBody(output.body, context),
|
|
@@ -703,22 +703,22 @@ const deserializeAws_json1_0DeleteLabelGroupCommandError = async (output, contex
|
|
|
703
703
|
switch (errorCode) {
|
|
704
704
|
case "AccessDeniedException":
|
|
705
705
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
706
|
-
throw await
|
|
706
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
707
707
|
case "ConflictException":
|
|
708
708
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
709
|
-
throw await
|
|
709
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
710
710
|
case "InternalServerException":
|
|
711
711
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
712
|
-
throw await
|
|
712
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
713
713
|
case "ResourceNotFoundException":
|
|
714
714
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
715
|
-
throw await
|
|
715
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
716
716
|
case "ThrottlingException":
|
|
717
717
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
718
|
-
throw await
|
|
718
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
719
719
|
case "ValidationException":
|
|
720
720
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
721
|
-
throw await
|
|
721
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
722
722
|
default:
|
|
723
723
|
const parsedBody = parsedOutput.body;
|
|
724
724
|
throwDefaultError({
|
|
@@ -729,9 +729,9 @@ const deserializeAws_json1_0DeleteLabelGroupCommandError = async (output, contex
|
|
|
729
729
|
});
|
|
730
730
|
}
|
|
731
731
|
};
|
|
732
|
-
export const
|
|
732
|
+
export const de_DeleteModelCommand = async (output, context) => {
|
|
733
733
|
if (output.statusCode >= 300) {
|
|
734
|
-
return
|
|
734
|
+
return de_DeleteModelCommandError(output, context);
|
|
735
735
|
}
|
|
736
736
|
await collectBody(output.body, context);
|
|
737
737
|
const response = {
|
|
@@ -739,7 +739,7 @@ export const deserializeAws_json1_0DeleteModelCommand = async (output, context)
|
|
|
739
739
|
};
|
|
740
740
|
return Promise.resolve(response);
|
|
741
741
|
};
|
|
742
|
-
const
|
|
742
|
+
const de_DeleteModelCommandError = async (output, context) => {
|
|
743
743
|
const parsedOutput = {
|
|
744
744
|
...output,
|
|
745
745
|
body: await parseErrorBody(output.body, context),
|
|
@@ -748,22 +748,22 @@ const deserializeAws_json1_0DeleteModelCommandError = async (output, context) =>
|
|
|
748
748
|
switch (errorCode) {
|
|
749
749
|
case "AccessDeniedException":
|
|
750
750
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
751
|
-
throw await
|
|
751
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
752
752
|
case "ConflictException":
|
|
753
753
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
754
|
-
throw await
|
|
754
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
755
755
|
case "InternalServerException":
|
|
756
756
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
757
|
-
throw await
|
|
757
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
758
758
|
case "ResourceNotFoundException":
|
|
759
759
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
760
|
-
throw await
|
|
760
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
761
761
|
case "ThrottlingException":
|
|
762
762
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
763
|
-
throw await
|
|
763
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
764
764
|
case "ValidationException":
|
|
765
765
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
766
|
-
throw await
|
|
766
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
767
767
|
default:
|
|
768
768
|
const parsedBody = parsedOutput.body;
|
|
769
769
|
throwDefaultError({
|
|
@@ -774,20 +774,20 @@ const deserializeAws_json1_0DeleteModelCommandError = async (output, context) =>
|
|
|
774
774
|
});
|
|
775
775
|
}
|
|
776
776
|
};
|
|
777
|
-
export const
|
|
777
|
+
export const de_DescribeDataIngestionJobCommand = async (output, context) => {
|
|
778
778
|
if (output.statusCode >= 300) {
|
|
779
|
-
return
|
|
779
|
+
return de_DescribeDataIngestionJobCommandError(output, context);
|
|
780
780
|
}
|
|
781
781
|
const data = await parseBody(output.body, context);
|
|
782
782
|
let contents = {};
|
|
783
|
-
contents =
|
|
783
|
+
contents = de_DescribeDataIngestionJobResponse(data, context);
|
|
784
784
|
const response = {
|
|
785
785
|
$metadata: deserializeMetadata(output),
|
|
786
786
|
...contents,
|
|
787
787
|
};
|
|
788
788
|
return Promise.resolve(response);
|
|
789
789
|
};
|
|
790
|
-
const
|
|
790
|
+
const de_DescribeDataIngestionJobCommandError = async (output, context) => {
|
|
791
791
|
const parsedOutput = {
|
|
792
792
|
...output,
|
|
793
793
|
body: await parseErrorBody(output.body, context),
|
|
@@ -796,19 +796,19 @@ const deserializeAws_json1_0DescribeDataIngestionJobCommandError = async (output
|
|
|
796
796
|
switch (errorCode) {
|
|
797
797
|
case "AccessDeniedException":
|
|
798
798
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
799
|
-
throw await
|
|
799
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
800
800
|
case "InternalServerException":
|
|
801
801
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
802
|
-
throw await
|
|
802
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
803
803
|
case "ResourceNotFoundException":
|
|
804
804
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
805
|
-
throw await
|
|
805
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
806
806
|
case "ThrottlingException":
|
|
807
807
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
808
|
-
throw await
|
|
808
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
809
809
|
case "ValidationException":
|
|
810
810
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
811
|
-
throw await
|
|
811
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
812
812
|
default:
|
|
813
813
|
const parsedBody = parsedOutput.body;
|
|
814
814
|
throwDefaultError({
|
|
@@ -819,20 +819,20 @@ const deserializeAws_json1_0DescribeDataIngestionJobCommandError = async (output
|
|
|
819
819
|
});
|
|
820
820
|
}
|
|
821
821
|
};
|
|
822
|
-
export const
|
|
822
|
+
export const de_DescribeDatasetCommand = async (output, context) => {
|
|
823
823
|
if (output.statusCode >= 300) {
|
|
824
|
-
return
|
|
824
|
+
return de_DescribeDatasetCommandError(output, context);
|
|
825
825
|
}
|
|
826
826
|
const data = await parseBody(output.body, context);
|
|
827
827
|
let contents = {};
|
|
828
|
-
contents =
|
|
828
|
+
contents = de_DescribeDatasetResponse(data, context);
|
|
829
829
|
const response = {
|
|
830
830
|
$metadata: deserializeMetadata(output),
|
|
831
831
|
...contents,
|
|
832
832
|
};
|
|
833
833
|
return Promise.resolve(response);
|
|
834
834
|
};
|
|
835
|
-
const
|
|
835
|
+
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
836
836
|
const parsedOutput = {
|
|
837
837
|
...output,
|
|
838
838
|
body: await parseErrorBody(output.body, context),
|
|
@@ -841,19 +841,19 @@ const deserializeAws_json1_0DescribeDatasetCommandError = async (output, context
|
|
|
841
841
|
switch (errorCode) {
|
|
842
842
|
case "AccessDeniedException":
|
|
843
843
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
844
|
-
throw await
|
|
844
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
845
845
|
case "InternalServerException":
|
|
846
846
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
847
|
-
throw await
|
|
847
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
848
848
|
case "ResourceNotFoundException":
|
|
849
849
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
850
|
-
throw await
|
|
850
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
851
851
|
case "ThrottlingException":
|
|
852
852
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
853
|
-
throw await
|
|
853
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
854
854
|
case "ValidationException":
|
|
855
855
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
856
|
-
throw await
|
|
856
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
857
857
|
default:
|
|
858
858
|
const parsedBody = parsedOutput.body;
|
|
859
859
|
throwDefaultError({
|
|
@@ -864,20 +864,20 @@ const deserializeAws_json1_0DescribeDatasetCommandError = async (output, context
|
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
|
-
export const
|
|
867
|
+
export const de_DescribeInferenceSchedulerCommand = async (output, context) => {
|
|
868
868
|
if (output.statusCode >= 300) {
|
|
869
|
-
return
|
|
869
|
+
return de_DescribeInferenceSchedulerCommandError(output, context);
|
|
870
870
|
}
|
|
871
871
|
const data = await parseBody(output.body, context);
|
|
872
872
|
let contents = {};
|
|
873
|
-
contents =
|
|
873
|
+
contents = de_DescribeInferenceSchedulerResponse(data, context);
|
|
874
874
|
const response = {
|
|
875
875
|
$metadata: deserializeMetadata(output),
|
|
876
876
|
...contents,
|
|
877
877
|
};
|
|
878
878
|
return Promise.resolve(response);
|
|
879
879
|
};
|
|
880
|
-
const
|
|
880
|
+
const de_DescribeInferenceSchedulerCommandError = async (output, context) => {
|
|
881
881
|
const parsedOutput = {
|
|
882
882
|
...output,
|
|
883
883
|
body: await parseErrorBody(output.body, context),
|
|
@@ -886,19 +886,19 @@ const deserializeAws_json1_0DescribeInferenceSchedulerCommandError = async (outp
|
|
|
886
886
|
switch (errorCode) {
|
|
887
887
|
case "AccessDeniedException":
|
|
888
888
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
889
|
-
throw await
|
|
889
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
890
890
|
case "InternalServerException":
|
|
891
891
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
892
|
-
throw await
|
|
892
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
893
893
|
case "ResourceNotFoundException":
|
|
894
894
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
895
|
-
throw await
|
|
895
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
896
896
|
case "ThrottlingException":
|
|
897
897
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
898
|
-
throw await
|
|
898
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
899
899
|
case "ValidationException":
|
|
900
900
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
901
|
-
throw await
|
|
901
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
902
902
|
default:
|
|
903
903
|
const parsedBody = parsedOutput.body;
|
|
904
904
|
throwDefaultError({
|
|
@@ -909,20 +909,20 @@ const deserializeAws_json1_0DescribeInferenceSchedulerCommandError = async (outp
|
|
|
909
909
|
});
|
|
910
910
|
}
|
|
911
911
|
};
|
|
912
|
-
export const
|
|
912
|
+
export const de_DescribeLabelCommand = async (output, context) => {
|
|
913
913
|
if (output.statusCode >= 300) {
|
|
914
|
-
return
|
|
914
|
+
return de_DescribeLabelCommandError(output, context);
|
|
915
915
|
}
|
|
916
916
|
const data = await parseBody(output.body, context);
|
|
917
917
|
let contents = {};
|
|
918
|
-
contents =
|
|
918
|
+
contents = de_DescribeLabelResponse(data, context);
|
|
919
919
|
const response = {
|
|
920
920
|
$metadata: deserializeMetadata(output),
|
|
921
921
|
...contents,
|
|
922
922
|
};
|
|
923
923
|
return Promise.resolve(response);
|
|
924
924
|
};
|
|
925
|
-
const
|
|
925
|
+
const de_DescribeLabelCommandError = async (output, context) => {
|
|
926
926
|
const parsedOutput = {
|
|
927
927
|
...output,
|
|
928
928
|
body: await parseErrorBody(output.body, context),
|
|
@@ -931,19 +931,19 @@ const deserializeAws_json1_0DescribeLabelCommandError = async (output, context)
|
|
|
931
931
|
switch (errorCode) {
|
|
932
932
|
case "AccessDeniedException":
|
|
933
933
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
934
|
-
throw await
|
|
934
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
935
935
|
case "InternalServerException":
|
|
936
936
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
937
|
-
throw await
|
|
937
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
938
938
|
case "ResourceNotFoundException":
|
|
939
939
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
940
|
-
throw await
|
|
940
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
941
941
|
case "ThrottlingException":
|
|
942
942
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
943
|
-
throw await
|
|
943
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
944
944
|
case "ValidationException":
|
|
945
945
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
946
|
-
throw await
|
|
946
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
947
947
|
default:
|
|
948
948
|
const parsedBody = parsedOutput.body;
|
|
949
949
|
throwDefaultError({
|
|
@@ -954,20 +954,20 @@ const deserializeAws_json1_0DescribeLabelCommandError = async (output, context)
|
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
956
|
};
|
|
957
|
-
export const
|
|
957
|
+
export const de_DescribeLabelGroupCommand = async (output, context) => {
|
|
958
958
|
if (output.statusCode >= 300) {
|
|
959
|
-
return
|
|
959
|
+
return de_DescribeLabelGroupCommandError(output, context);
|
|
960
960
|
}
|
|
961
961
|
const data = await parseBody(output.body, context);
|
|
962
962
|
let contents = {};
|
|
963
|
-
contents =
|
|
963
|
+
contents = de_DescribeLabelGroupResponse(data, context);
|
|
964
964
|
const response = {
|
|
965
965
|
$metadata: deserializeMetadata(output),
|
|
966
966
|
...contents,
|
|
967
967
|
};
|
|
968
968
|
return Promise.resolve(response);
|
|
969
969
|
};
|
|
970
|
-
const
|
|
970
|
+
const de_DescribeLabelGroupCommandError = async (output, context) => {
|
|
971
971
|
const parsedOutput = {
|
|
972
972
|
...output,
|
|
973
973
|
body: await parseErrorBody(output.body, context),
|
|
@@ -976,19 +976,19 @@ const deserializeAws_json1_0DescribeLabelGroupCommandError = async (output, cont
|
|
|
976
976
|
switch (errorCode) {
|
|
977
977
|
case "AccessDeniedException":
|
|
978
978
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
979
|
-
throw await
|
|
979
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
980
980
|
case "InternalServerException":
|
|
981
981
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
982
|
-
throw await
|
|
982
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
983
983
|
case "ResourceNotFoundException":
|
|
984
984
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
985
|
-
throw await
|
|
985
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
986
986
|
case "ThrottlingException":
|
|
987
987
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
988
|
-
throw await
|
|
988
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
989
989
|
case "ValidationException":
|
|
990
990
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
991
|
-
throw await
|
|
991
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
992
992
|
default:
|
|
993
993
|
const parsedBody = parsedOutput.body;
|
|
994
994
|
throwDefaultError({
|
|
@@ -999,20 +999,20 @@ const deserializeAws_json1_0DescribeLabelGroupCommandError = async (output, cont
|
|
|
999
999
|
});
|
|
1000
1000
|
}
|
|
1001
1001
|
};
|
|
1002
|
-
export const
|
|
1002
|
+
export const de_DescribeModelCommand = async (output, context) => {
|
|
1003
1003
|
if (output.statusCode >= 300) {
|
|
1004
|
-
return
|
|
1004
|
+
return de_DescribeModelCommandError(output, context);
|
|
1005
1005
|
}
|
|
1006
1006
|
const data = await parseBody(output.body, context);
|
|
1007
1007
|
let contents = {};
|
|
1008
|
-
contents =
|
|
1008
|
+
contents = de_DescribeModelResponse(data, context);
|
|
1009
1009
|
const response = {
|
|
1010
1010
|
$metadata: deserializeMetadata(output),
|
|
1011
1011
|
...contents,
|
|
1012
1012
|
};
|
|
1013
1013
|
return Promise.resolve(response);
|
|
1014
1014
|
};
|
|
1015
|
-
const
|
|
1015
|
+
const de_DescribeModelCommandError = async (output, context) => {
|
|
1016
1016
|
const parsedOutput = {
|
|
1017
1017
|
...output,
|
|
1018
1018
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1021,19 +1021,19 @@ const deserializeAws_json1_0DescribeModelCommandError = async (output, context)
|
|
|
1021
1021
|
switch (errorCode) {
|
|
1022
1022
|
case "AccessDeniedException":
|
|
1023
1023
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1024
|
-
throw await
|
|
1024
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1025
1025
|
case "InternalServerException":
|
|
1026
1026
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1027
|
-
throw await
|
|
1027
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1028
1028
|
case "ResourceNotFoundException":
|
|
1029
1029
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1030
|
-
throw await
|
|
1030
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1031
1031
|
case "ThrottlingException":
|
|
1032
1032
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1033
|
-
throw await
|
|
1033
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1034
1034
|
case "ValidationException":
|
|
1035
1035
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1036
|
-
throw await
|
|
1036
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1037
1037
|
default:
|
|
1038
1038
|
const parsedBody = parsedOutput.body;
|
|
1039
1039
|
throwDefaultError({
|
|
@@ -1044,20 +1044,20 @@ const deserializeAws_json1_0DescribeModelCommandError = async (output, context)
|
|
|
1044
1044
|
});
|
|
1045
1045
|
}
|
|
1046
1046
|
};
|
|
1047
|
-
export const
|
|
1047
|
+
export const de_ListDataIngestionJobsCommand = async (output, context) => {
|
|
1048
1048
|
if (output.statusCode >= 300) {
|
|
1049
|
-
return
|
|
1049
|
+
return de_ListDataIngestionJobsCommandError(output, context);
|
|
1050
1050
|
}
|
|
1051
1051
|
const data = await parseBody(output.body, context);
|
|
1052
1052
|
let contents = {};
|
|
1053
|
-
contents =
|
|
1053
|
+
contents = de_ListDataIngestionJobsResponse(data, context);
|
|
1054
1054
|
const response = {
|
|
1055
1055
|
$metadata: deserializeMetadata(output),
|
|
1056
1056
|
...contents,
|
|
1057
1057
|
};
|
|
1058
1058
|
return Promise.resolve(response);
|
|
1059
1059
|
};
|
|
1060
|
-
const
|
|
1060
|
+
const de_ListDataIngestionJobsCommandError = async (output, context) => {
|
|
1061
1061
|
const parsedOutput = {
|
|
1062
1062
|
...output,
|
|
1063
1063
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1066,16 +1066,16 @@ const deserializeAws_json1_0ListDataIngestionJobsCommandError = async (output, c
|
|
|
1066
1066
|
switch (errorCode) {
|
|
1067
1067
|
case "AccessDeniedException":
|
|
1068
1068
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1069
|
-
throw await
|
|
1069
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1070
1070
|
case "InternalServerException":
|
|
1071
1071
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1072
|
-
throw await
|
|
1072
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1073
1073
|
case "ThrottlingException":
|
|
1074
1074
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1075
|
-
throw await
|
|
1075
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1076
1076
|
case "ValidationException":
|
|
1077
1077
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1078
|
-
throw await
|
|
1078
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1079
1079
|
default:
|
|
1080
1080
|
const parsedBody = parsedOutput.body;
|
|
1081
1081
|
throwDefaultError({
|
|
@@ -1086,20 +1086,20 @@ const deserializeAws_json1_0ListDataIngestionJobsCommandError = async (output, c
|
|
|
1086
1086
|
});
|
|
1087
1087
|
}
|
|
1088
1088
|
};
|
|
1089
|
-
export const
|
|
1089
|
+
export const de_ListDatasetsCommand = async (output, context) => {
|
|
1090
1090
|
if (output.statusCode >= 300) {
|
|
1091
|
-
return
|
|
1091
|
+
return de_ListDatasetsCommandError(output, context);
|
|
1092
1092
|
}
|
|
1093
1093
|
const data = await parseBody(output.body, context);
|
|
1094
1094
|
let contents = {};
|
|
1095
|
-
contents =
|
|
1095
|
+
contents = de_ListDatasetsResponse(data, context);
|
|
1096
1096
|
const response = {
|
|
1097
1097
|
$metadata: deserializeMetadata(output),
|
|
1098
1098
|
...contents,
|
|
1099
1099
|
};
|
|
1100
1100
|
return Promise.resolve(response);
|
|
1101
1101
|
};
|
|
1102
|
-
const
|
|
1102
|
+
const de_ListDatasetsCommandError = async (output, context) => {
|
|
1103
1103
|
const parsedOutput = {
|
|
1104
1104
|
...output,
|
|
1105
1105
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1108,16 +1108,16 @@ const deserializeAws_json1_0ListDatasetsCommandError = async (output, context) =
|
|
|
1108
1108
|
switch (errorCode) {
|
|
1109
1109
|
case "AccessDeniedException":
|
|
1110
1110
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1111
|
-
throw await
|
|
1111
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1112
1112
|
case "InternalServerException":
|
|
1113
1113
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1114
|
-
throw await
|
|
1114
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1115
1115
|
case "ThrottlingException":
|
|
1116
1116
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1117
|
-
throw await
|
|
1117
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1118
1118
|
case "ValidationException":
|
|
1119
1119
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1120
|
-
throw await
|
|
1120
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1121
1121
|
default:
|
|
1122
1122
|
const parsedBody = parsedOutput.body;
|
|
1123
1123
|
throwDefaultError({
|
|
@@ -1128,20 +1128,20 @@ const deserializeAws_json1_0ListDatasetsCommandError = async (output, context) =
|
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
|
-
export const
|
|
1131
|
+
export const de_ListInferenceEventsCommand = async (output, context) => {
|
|
1132
1132
|
if (output.statusCode >= 300) {
|
|
1133
|
-
return
|
|
1133
|
+
return de_ListInferenceEventsCommandError(output, context);
|
|
1134
1134
|
}
|
|
1135
1135
|
const data = await parseBody(output.body, context);
|
|
1136
1136
|
let contents = {};
|
|
1137
|
-
contents =
|
|
1137
|
+
contents = de_ListInferenceEventsResponse(data, context);
|
|
1138
1138
|
const response = {
|
|
1139
1139
|
$metadata: deserializeMetadata(output),
|
|
1140
1140
|
...contents,
|
|
1141
1141
|
};
|
|
1142
1142
|
return Promise.resolve(response);
|
|
1143
1143
|
};
|
|
1144
|
-
const
|
|
1144
|
+
const de_ListInferenceEventsCommandError = async (output, context) => {
|
|
1145
1145
|
const parsedOutput = {
|
|
1146
1146
|
...output,
|
|
1147
1147
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1150,19 +1150,19 @@ const deserializeAws_json1_0ListInferenceEventsCommandError = async (output, con
|
|
|
1150
1150
|
switch (errorCode) {
|
|
1151
1151
|
case "AccessDeniedException":
|
|
1152
1152
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1153
|
-
throw await
|
|
1153
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1154
1154
|
case "InternalServerException":
|
|
1155
1155
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1156
|
-
throw await
|
|
1156
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1157
1157
|
case "ResourceNotFoundException":
|
|
1158
1158
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1159
|
-
throw await
|
|
1159
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1160
1160
|
case "ThrottlingException":
|
|
1161
1161
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1162
|
-
throw await
|
|
1162
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1163
1163
|
case "ValidationException":
|
|
1164
1164
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1165
|
-
throw await
|
|
1165
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1166
1166
|
default:
|
|
1167
1167
|
const parsedBody = parsedOutput.body;
|
|
1168
1168
|
throwDefaultError({
|
|
@@ -1173,20 +1173,20 @@ const deserializeAws_json1_0ListInferenceEventsCommandError = async (output, con
|
|
|
1173
1173
|
});
|
|
1174
1174
|
}
|
|
1175
1175
|
};
|
|
1176
|
-
export const
|
|
1176
|
+
export const de_ListInferenceExecutionsCommand = async (output, context) => {
|
|
1177
1177
|
if (output.statusCode >= 300) {
|
|
1178
|
-
return
|
|
1178
|
+
return de_ListInferenceExecutionsCommandError(output, context);
|
|
1179
1179
|
}
|
|
1180
1180
|
const data = await parseBody(output.body, context);
|
|
1181
1181
|
let contents = {};
|
|
1182
|
-
contents =
|
|
1182
|
+
contents = de_ListInferenceExecutionsResponse(data, context);
|
|
1183
1183
|
const response = {
|
|
1184
1184
|
$metadata: deserializeMetadata(output),
|
|
1185
1185
|
...contents,
|
|
1186
1186
|
};
|
|
1187
1187
|
return Promise.resolve(response);
|
|
1188
1188
|
};
|
|
1189
|
-
const
|
|
1189
|
+
const de_ListInferenceExecutionsCommandError = async (output, context) => {
|
|
1190
1190
|
const parsedOutput = {
|
|
1191
1191
|
...output,
|
|
1192
1192
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1195,19 +1195,19 @@ const deserializeAws_json1_0ListInferenceExecutionsCommandError = async (output,
|
|
|
1195
1195
|
switch (errorCode) {
|
|
1196
1196
|
case "AccessDeniedException":
|
|
1197
1197
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1198
|
-
throw await
|
|
1198
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1199
1199
|
case "InternalServerException":
|
|
1200
1200
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1201
|
-
throw await
|
|
1201
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1202
1202
|
case "ResourceNotFoundException":
|
|
1203
1203
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1204
|
-
throw await
|
|
1204
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1205
1205
|
case "ThrottlingException":
|
|
1206
1206
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1207
|
-
throw await
|
|
1207
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1208
1208
|
case "ValidationException":
|
|
1209
1209
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1210
|
-
throw await
|
|
1210
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1211
1211
|
default:
|
|
1212
1212
|
const parsedBody = parsedOutput.body;
|
|
1213
1213
|
throwDefaultError({
|
|
@@ -1218,20 +1218,20 @@ const deserializeAws_json1_0ListInferenceExecutionsCommandError = async (output,
|
|
|
1218
1218
|
});
|
|
1219
1219
|
}
|
|
1220
1220
|
};
|
|
1221
|
-
export const
|
|
1221
|
+
export const de_ListInferenceSchedulersCommand = async (output, context) => {
|
|
1222
1222
|
if (output.statusCode >= 300) {
|
|
1223
|
-
return
|
|
1223
|
+
return de_ListInferenceSchedulersCommandError(output, context);
|
|
1224
1224
|
}
|
|
1225
1225
|
const data = await parseBody(output.body, context);
|
|
1226
1226
|
let contents = {};
|
|
1227
|
-
contents =
|
|
1227
|
+
contents = de_ListInferenceSchedulersResponse(data, context);
|
|
1228
1228
|
const response = {
|
|
1229
1229
|
$metadata: deserializeMetadata(output),
|
|
1230
1230
|
...contents,
|
|
1231
1231
|
};
|
|
1232
1232
|
return Promise.resolve(response);
|
|
1233
1233
|
};
|
|
1234
|
-
const
|
|
1234
|
+
const de_ListInferenceSchedulersCommandError = async (output, context) => {
|
|
1235
1235
|
const parsedOutput = {
|
|
1236
1236
|
...output,
|
|
1237
1237
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1240,16 +1240,16 @@ const deserializeAws_json1_0ListInferenceSchedulersCommandError = async (output,
|
|
|
1240
1240
|
switch (errorCode) {
|
|
1241
1241
|
case "AccessDeniedException":
|
|
1242
1242
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1243
|
-
throw await
|
|
1243
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1244
1244
|
case "InternalServerException":
|
|
1245
1245
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1246
|
-
throw await
|
|
1246
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1247
1247
|
case "ThrottlingException":
|
|
1248
1248
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1249
|
-
throw await
|
|
1249
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1250
1250
|
case "ValidationException":
|
|
1251
1251
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1252
|
-
throw await
|
|
1252
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1253
1253
|
default:
|
|
1254
1254
|
const parsedBody = parsedOutput.body;
|
|
1255
1255
|
throwDefaultError({
|
|
@@ -1260,20 +1260,20 @@ const deserializeAws_json1_0ListInferenceSchedulersCommandError = async (output,
|
|
|
1260
1260
|
});
|
|
1261
1261
|
}
|
|
1262
1262
|
};
|
|
1263
|
-
export const
|
|
1263
|
+
export const de_ListLabelGroupsCommand = async (output, context) => {
|
|
1264
1264
|
if (output.statusCode >= 300) {
|
|
1265
|
-
return
|
|
1265
|
+
return de_ListLabelGroupsCommandError(output, context);
|
|
1266
1266
|
}
|
|
1267
1267
|
const data = await parseBody(output.body, context);
|
|
1268
1268
|
let contents = {};
|
|
1269
|
-
contents =
|
|
1269
|
+
contents = de_ListLabelGroupsResponse(data, context);
|
|
1270
1270
|
const response = {
|
|
1271
1271
|
$metadata: deserializeMetadata(output),
|
|
1272
1272
|
...contents,
|
|
1273
1273
|
};
|
|
1274
1274
|
return Promise.resolve(response);
|
|
1275
1275
|
};
|
|
1276
|
-
const
|
|
1276
|
+
const de_ListLabelGroupsCommandError = async (output, context) => {
|
|
1277
1277
|
const parsedOutput = {
|
|
1278
1278
|
...output,
|
|
1279
1279
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1282,16 +1282,16 @@ const deserializeAws_json1_0ListLabelGroupsCommandError = async (output, context
|
|
|
1282
1282
|
switch (errorCode) {
|
|
1283
1283
|
case "AccessDeniedException":
|
|
1284
1284
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1285
|
-
throw await
|
|
1285
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1286
1286
|
case "InternalServerException":
|
|
1287
1287
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1288
|
-
throw await
|
|
1288
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1289
1289
|
case "ThrottlingException":
|
|
1290
1290
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1291
|
-
throw await
|
|
1291
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1292
1292
|
case "ValidationException":
|
|
1293
1293
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1294
|
-
throw await
|
|
1294
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1295
1295
|
default:
|
|
1296
1296
|
const parsedBody = parsedOutput.body;
|
|
1297
1297
|
throwDefaultError({
|
|
@@ -1302,20 +1302,20 @@ const deserializeAws_json1_0ListLabelGroupsCommandError = async (output, context
|
|
|
1302
1302
|
});
|
|
1303
1303
|
}
|
|
1304
1304
|
};
|
|
1305
|
-
export const
|
|
1305
|
+
export const de_ListLabelsCommand = async (output, context) => {
|
|
1306
1306
|
if (output.statusCode >= 300) {
|
|
1307
|
-
return
|
|
1307
|
+
return de_ListLabelsCommandError(output, context);
|
|
1308
1308
|
}
|
|
1309
1309
|
const data = await parseBody(output.body, context);
|
|
1310
1310
|
let contents = {};
|
|
1311
|
-
contents =
|
|
1311
|
+
contents = de_ListLabelsResponse(data, context);
|
|
1312
1312
|
const response = {
|
|
1313
1313
|
$metadata: deserializeMetadata(output),
|
|
1314
1314
|
...contents,
|
|
1315
1315
|
};
|
|
1316
1316
|
return Promise.resolve(response);
|
|
1317
1317
|
};
|
|
1318
|
-
const
|
|
1318
|
+
const de_ListLabelsCommandError = async (output, context) => {
|
|
1319
1319
|
const parsedOutput = {
|
|
1320
1320
|
...output,
|
|
1321
1321
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1324,16 +1324,16 @@ const deserializeAws_json1_0ListLabelsCommandError = async (output, context) =>
|
|
|
1324
1324
|
switch (errorCode) {
|
|
1325
1325
|
case "AccessDeniedException":
|
|
1326
1326
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1327
|
-
throw await
|
|
1327
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1328
1328
|
case "InternalServerException":
|
|
1329
1329
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1330
|
-
throw await
|
|
1330
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1331
1331
|
case "ThrottlingException":
|
|
1332
1332
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1333
|
-
throw await
|
|
1333
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1334
1334
|
case "ValidationException":
|
|
1335
1335
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1336
|
-
throw await
|
|
1336
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1337
1337
|
default:
|
|
1338
1338
|
const parsedBody = parsedOutput.body;
|
|
1339
1339
|
throwDefaultError({
|
|
@@ -1344,20 +1344,20 @@ const deserializeAws_json1_0ListLabelsCommandError = async (output, context) =>
|
|
|
1344
1344
|
});
|
|
1345
1345
|
}
|
|
1346
1346
|
};
|
|
1347
|
-
export const
|
|
1347
|
+
export const de_ListModelsCommand = async (output, context) => {
|
|
1348
1348
|
if (output.statusCode >= 300) {
|
|
1349
|
-
return
|
|
1349
|
+
return de_ListModelsCommandError(output, context);
|
|
1350
1350
|
}
|
|
1351
1351
|
const data = await parseBody(output.body, context);
|
|
1352
1352
|
let contents = {};
|
|
1353
|
-
contents =
|
|
1353
|
+
contents = de_ListModelsResponse(data, context);
|
|
1354
1354
|
const response = {
|
|
1355
1355
|
$metadata: deserializeMetadata(output),
|
|
1356
1356
|
...contents,
|
|
1357
1357
|
};
|
|
1358
1358
|
return Promise.resolve(response);
|
|
1359
1359
|
};
|
|
1360
|
-
const
|
|
1360
|
+
const de_ListModelsCommandError = async (output, context) => {
|
|
1361
1361
|
const parsedOutput = {
|
|
1362
1362
|
...output,
|
|
1363
1363
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1366,16 +1366,16 @@ const deserializeAws_json1_0ListModelsCommandError = async (output, context) =>
|
|
|
1366
1366
|
switch (errorCode) {
|
|
1367
1367
|
case "AccessDeniedException":
|
|
1368
1368
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1369
|
-
throw await
|
|
1369
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1370
1370
|
case "InternalServerException":
|
|
1371
1371
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1372
|
-
throw await
|
|
1372
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1373
1373
|
case "ThrottlingException":
|
|
1374
1374
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1375
|
-
throw await
|
|
1375
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1376
1376
|
case "ValidationException":
|
|
1377
1377
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1378
|
-
throw await
|
|
1378
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1379
1379
|
default:
|
|
1380
1380
|
const parsedBody = parsedOutput.body;
|
|
1381
1381
|
throwDefaultError({
|
|
@@ -1386,20 +1386,20 @@ const deserializeAws_json1_0ListModelsCommandError = async (output, context) =>
|
|
|
1386
1386
|
});
|
|
1387
1387
|
}
|
|
1388
1388
|
};
|
|
1389
|
-
export const
|
|
1389
|
+
export const de_ListSensorStatisticsCommand = async (output, context) => {
|
|
1390
1390
|
if (output.statusCode >= 300) {
|
|
1391
|
-
return
|
|
1391
|
+
return de_ListSensorStatisticsCommandError(output, context);
|
|
1392
1392
|
}
|
|
1393
1393
|
const data = await parseBody(output.body, context);
|
|
1394
1394
|
let contents = {};
|
|
1395
|
-
contents =
|
|
1395
|
+
contents = de_ListSensorStatisticsResponse(data, context);
|
|
1396
1396
|
const response = {
|
|
1397
1397
|
$metadata: deserializeMetadata(output),
|
|
1398
1398
|
...contents,
|
|
1399
1399
|
};
|
|
1400
1400
|
return Promise.resolve(response);
|
|
1401
1401
|
};
|
|
1402
|
-
const
|
|
1402
|
+
const de_ListSensorStatisticsCommandError = async (output, context) => {
|
|
1403
1403
|
const parsedOutput = {
|
|
1404
1404
|
...output,
|
|
1405
1405
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1408,19 +1408,19 @@ const deserializeAws_json1_0ListSensorStatisticsCommandError = async (output, co
|
|
|
1408
1408
|
switch (errorCode) {
|
|
1409
1409
|
case "AccessDeniedException":
|
|
1410
1410
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1411
|
-
throw await
|
|
1411
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1412
1412
|
case "InternalServerException":
|
|
1413
1413
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1414
|
-
throw await
|
|
1414
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1415
1415
|
case "ResourceNotFoundException":
|
|
1416
1416
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1417
|
-
throw await
|
|
1417
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1418
1418
|
case "ThrottlingException":
|
|
1419
1419
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1420
|
-
throw await
|
|
1420
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1421
1421
|
case "ValidationException":
|
|
1422
1422
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1423
|
-
throw await
|
|
1423
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1424
1424
|
default:
|
|
1425
1425
|
const parsedBody = parsedOutput.body;
|
|
1426
1426
|
throwDefaultError({
|
|
@@ -1431,20 +1431,20 @@ const deserializeAws_json1_0ListSensorStatisticsCommandError = async (output, co
|
|
|
1431
1431
|
});
|
|
1432
1432
|
}
|
|
1433
1433
|
};
|
|
1434
|
-
export const
|
|
1434
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1435
1435
|
if (output.statusCode >= 300) {
|
|
1436
|
-
return
|
|
1436
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1437
1437
|
}
|
|
1438
1438
|
const data = await parseBody(output.body, context);
|
|
1439
1439
|
let contents = {};
|
|
1440
|
-
contents =
|
|
1440
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1441
1441
|
const response = {
|
|
1442
1442
|
$metadata: deserializeMetadata(output),
|
|
1443
1443
|
...contents,
|
|
1444
1444
|
};
|
|
1445
1445
|
return Promise.resolve(response);
|
|
1446
1446
|
};
|
|
1447
|
-
const
|
|
1447
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1448
1448
|
const parsedOutput = {
|
|
1449
1449
|
...output,
|
|
1450
1450
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1453,19 +1453,19 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1453
1453
|
switch (errorCode) {
|
|
1454
1454
|
case "AccessDeniedException":
|
|
1455
1455
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1456
|
-
throw await
|
|
1456
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1457
1457
|
case "InternalServerException":
|
|
1458
1458
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1459
|
-
throw await
|
|
1459
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1460
1460
|
case "ResourceNotFoundException":
|
|
1461
1461
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1462
|
-
throw await
|
|
1462
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1463
1463
|
case "ThrottlingException":
|
|
1464
1464
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1465
|
-
throw await
|
|
1465
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1466
1466
|
case "ValidationException":
|
|
1467
1467
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1468
|
-
throw await
|
|
1468
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1469
1469
|
default:
|
|
1470
1470
|
const parsedBody = parsedOutput.body;
|
|
1471
1471
|
throwDefaultError({
|
|
@@ -1476,20 +1476,20 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1476
1476
|
});
|
|
1477
1477
|
}
|
|
1478
1478
|
};
|
|
1479
|
-
export const
|
|
1479
|
+
export const de_StartDataIngestionJobCommand = async (output, context) => {
|
|
1480
1480
|
if (output.statusCode >= 300) {
|
|
1481
|
-
return
|
|
1481
|
+
return de_StartDataIngestionJobCommandError(output, context);
|
|
1482
1482
|
}
|
|
1483
1483
|
const data = await parseBody(output.body, context);
|
|
1484
1484
|
let contents = {};
|
|
1485
|
-
contents =
|
|
1485
|
+
contents = de_StartDataIngestionJobResponse(data, context);
|
|
1486
1486
|
const response = {
|
|
1487
1487
|
$metadata: deserializeMetadata(output),
|
|
1488
1488
|
...contents,
|
|
1489
1489
|
};
|
|
1490
1490
|
return Promise.resolve(response);
|
|
1491
1491
|
};
|
|
1492
|
-
const
|
|
1492
|
+
const de_StartDataIngestionJobCommandError = async (output, context) => {
|
|
1493
1493
|
const parsedOutput = {
|
|
1494
1494
|
...output,
|
|
1495
1495
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1498,25 +1498,25 @@ const deserializeAws_json1_0StartDataIngestionJobCommandError = async (output, c
|
|
|
1498
1498
|
switch (errorCode) {
|
|
1499
1499
|
case "AccessDeniedException":
|
|
1500
1500
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1501
|
-
throw await
|
|
1501
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1502
1502
|
case "ConflictException":
|
|
1503
1503
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
1504
|
-
throw await
|
|
1504
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1505
1505
|
case "InternalServerException":
|
|
1506
1506
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1507
|
-
throw await
|
|
1507
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1508
1508
|
case "ResourceNotFoundException":
|
|
1509
1509
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1510
|
-
throw await
|
|
1510
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1511
1511
|
case "ServiceQuotaExceededException":
|
|
1512
1512
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
1513
|
-
throw await
|
|
1513
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1514
1514
|
case "ThrottlingException":
|
|
1515
1515
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1516
|
-
throw await
|
|
1516
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1517
1517
|
case "ValidationException":
|
|
1518
1518
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1519
|
-
throw await
|
|
1519
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1520
1520
|
default:
|
|
1521
1521
|
const parsedBody = parsedOutput.body;
|
|
1522
1522
|
throwDefaultError({
|
|
@@ -1527,20 +1527,20 @@ const deserializeAws_json1_0StartDataIngestionJobCommandError = async (output, c
|
|
|
1527
1527
|
});
|
|
1528
1528
|
}
|
|
1529
1529
|
};
|
|
1530
|
-
export const
|
|
1530
|
+
export const de_StartInferenceSchedulerCommand = async (output, context) => {
|
|
1531
1531
|
if (output.statusCode >= 300) {
|
|
1532
|
-
return
|
|
1532
|
+
return de_StartInferenceSchedulerCommandError(output, context);
|
|
1533
1533
|
}
|
|
1534
1534
|
const data = await parseBody(output.body, context);
|
|
1535
1535
|
let contents = {};
|
|
1536
|
-
contents =
|
|
1536
|
+
contents = de_StartInferenceSchedulerResponse(data, context);
|
|
1537
1537
|
const response = {
|
|
1538
1538
|
$metadata: deserializeMetadata(output),
|
|
1539
1539
|
...contents,
|
|
1540
1540
|
};
|
|
1541
1541
|
return Promise.resolve(response);
|
|
1542
1542
|
};
|
|
1543
|
-
const
|
|
1543
|
+
const de_StartInferenceSchedulerCommandError = async (output, context) => {
|
|
1544
1544
|
const parsedOutput = {
|
|
1545
1545
|
...output,
|
|
1546
1546
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1549,22 +1549,22 @@ const deserializeAws_json1_0StartInferenceSchedulerCommandError = async (output,
|
|
|
1549
1549
|
switch (errorCode) {
|
|
1550
1550
|
case "AccessDeniedException":
|
|
1551
1551
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1552
|
-
throw await
|
|
1552
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1553
1553
|
case "ConflictException":
|
|
1554
1554
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
1555
|
-
throw await
|
|
1555
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1556
1556
|
case "InternalServerException":
|
|
1557
1557
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1558
|
-
throw await
|
|
1558
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1559
1559
|
case "ResourceNotFoundException":
|
|
1560
1560
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1561
|
-
throw await
|
|
1561
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1562
1562
|
case "ThrottlingException":
|
|
1563
1563
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1564
|
-
throw await
|
|
1564
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1565
1565
|
case "ValidationException":
|
|
1566
1566
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1567
|
-
throw await
|
|
1567
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1568
1568
|
default:
|
|
1569
1569
|
const parsedBody = parsedOutput.body;
|
|
1570
1570
|
throwDefaultError({
|
|
@@ -1575,20 +1575,20 @@ const deserializeAws_json1_0StartInferenceSchedulerCommandError = async (output,
|
|
|
1575
1575
|
});
|
|
1576
1576
|
}
|
|
1577
1577
|
};
|
|
1578
|
-
export const
|
|
1578
|
+
export const de_StopInferenceSchedulerCommand = async (output, context) => {
|
|
1579
1579
|
if (output.statusCode >= 300) {
|
|
1580
|
-
return
|
|
1580
|
+
return de_StopInferenceSchedulerCommandError(output, context);
|
|
1581
1581
|
}
|
|
1582
1582
|
const data = await parseBody(output.body, context);
|
|
1583
1583
|
let contents = {};
|
|
1584
|
-
contents =
|
|
1584
|
+
contents = de_StopInferenceSchedulerResponse(data, context);
|
|
1585
1585
|
const response = {
|
|
1586
1586
|
$metadata: deserializeMetadata(output),
|
|
1587
1587
|
...contents,
|
|
1588
1588
|
};
|
|
1589
1589
|
return Promise.resolve(response);
|
|
1590
1590
|
};
|
|
1591
|
-
const
|
|
1591
|
+
const de_StopInferenceSchedulerCommandError = async (output, context) => {
|
|
1592
1592
|
const parsedOutput = {
|
|
1593
1593
|
...output,
|
|
1594
1594
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1597,22 +1597,22 @@ const deserializeAws_json1_0StopInferenceSchedulerCommandError = async (output,
|
|
|
1597
1597
|
switch (errorCode) {
|
|
1598
1598
|
case "AccessDeniedException":
|
|
1599
1599
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1600
|
-
throw await
|
|
1600
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1601
1601
|
case "ConflictException":
|
|
1602
1602
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
1603
|
-
throw await
|
|
1603
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1604
1604
|
case "InternalServerException":
|
|
1605
1605
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1606
|
-
throw await
|
|
1606
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1607
1607
|
case "ResourceNotFoundException":
|
|
1608
1608
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1609
|
-
throw await
|
|
1609
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1610
1610
|
case "ThrottlingException":
|
|
1611
1611
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1612
|
-
throw await
|
|
1612
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1613
1613
|
case "ValidationException":
|
|
1614
1614
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1615
|
-
throw await
|
|
1615
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1616
1616
|
default:
|
|
1617
1617
|
const parsedBody = parsedOutput.body;
|
|
1618
1618
|
throwDefaultError({
|
|
@@ -1623,20 +1623,20 @@ const deserializeAws_json1_0StopInferenceSchedulerCommandError = async (output,
|
|
|
1623
1623
|
});
|
|
1624
1624
|
}
|
|
1625
1625
|
};
|
|
1626
|
-
export const
|
|
1626
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1627
1627
|
if (output.statusCode >= 300) {
|
|
1628
|
-
return
|
|
1628
|
+
return de_TagResourceCommandError(output, context);
|
|
1629
1629
|
}
|
|
1630
1630
|
const data = await parseBody(output.body, context);
|
|
1631
1631
|
let contents = {};
|
|
1632
|
-
contents =
|
|
1632
|
+
contents = de_TagResourceResponse(data, context);
|
|
1633
1633
|
const response = {
|
|
1634
1634
|
$metadata: deserializeMetadata(output),
|
|
1635
1635
|
...contents,
|
|
1636
1636
|
};
|
|
1637
1637
|
return Promise.resolve(response);
|
|
1638
1638
|
};
|
|
1639
|
-
const
|
|
1639
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1640
1640
|
const parsedOutput = {
|
|
1641
1641
|
...output,
|
|
1642
1642
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1645,22 +1645,22 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1645
1645
|
switch (errorCode) {
|
|
1646
1646
|
case "AccessDeniedException":
|
|
1647
1647
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1648
|
-
throw await
|
|
1648
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1649
1649
|
case "InternalServerException":
|
|
1650
1650
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1651
|
-
throw await
|
|
1651
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1652
1652
|
case "ResourceNotFoundException":
|
|
1653
1653
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1654
|
-
throw await
|
|
1654
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1655
1655
|
case "ServiceQuotaExceededException":
|
|
1656
1656
|
case "com.amazonaws.lookoutequipment#ServiceQuotaExceededException":
|
|
1657
|
-
throw await
|
|
1657
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1658
1658
|
case "ThrottlingException":
|
|
1659
1659
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1660
|
-
throw await
|
|
1660
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1661
1661
|
case "ValidationException":
|
|
1662
1662
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1663
|
-
throw await
|
|
1663
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1664
1664
|
default:
|
|
1665
1665
|
const parsedBody = parsedOutput.body;
|
|
1666
1666
|
throwDefaultError({
|
|
@@ -1671,20 +1671,20 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1671
1671
|
});
|
|
1672
1672
|
}
|
|
1673
1673
|
};
|
|
1674
|
-
export const
|
|
1674
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1675
1675
|
if (output.statusCode >= 300) {
|
|
1676
|
-
return
|
|
1676
|
+
return de_UntagResourceCommandError(output, context);
|
|
1677
1677
|
}
|
|
1678
1678
|
const data = await parseBody(output.body, context);
|
|
1679
1679
|
let contents = {};
|
|
1680
|
-
contents =
|
|
1680
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1681
1681
|
const response = {
|
|
1682
1682
|
$metadata: deserializeMetadata(output),
|
|
1683
1683
|
...contents,
|
|
1684
1684
|
};
|
|
1685
1685
|
return Promise.resolve(response);
|
|
1686
1686
|
};
|
|
1687
|
-
const
|
|
1687
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1688
1688
|
const parsedOutput = {
|
|
1689
1689
|
...output,
|
|
1690
1690
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1693,19 +1693,19 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1693
1693
|
switch (errorCode) {
|
|
1694
1694
|
case "AccessDeniedException":
|
|
1695
1695
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1696
|
-
throw await
|
|
1696
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1697
1697
|
case "InternalServerException":
|
|
1698
1698
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1699
|
-
throw await
|
|
1699
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1700
1700
|
case "ResourceNotFoundException":
|
|
1701
1701
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1702
|
-
throw await
|
|
1702
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1703
1703
|
case "ThrottlingException":
|
|
1704
1704
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1705
|
-
throw await
|
|
1705
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1706
1706
|
case "ValidationException":
|
|
1707
1707
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1708
|
-
throw await
|
|
1708
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1709
1709
|
default:
|
|
1710
1710
|
const parsedBody = parsedOutput.body;
|
|
1711
1711
|
throwDefaultError({
|
|
@@ -1716,9 +1716,9 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1716
1716
|
});
|
|
1717
1717
|
}
|
|
1718
1718
|
};
|
|
1719
|
-
export const
|
|
1719
|
+
export const de_UpdateInferenceSchedulerCommand = async (output, context) => {
|
|
1720
1720
|
if (output.statusCode >= 300) {
|
|
1721
|
-
return
|
|
1721
|
+
return de_UpdateInferenceSchedulerCommandError(output, context);
|
|
1722
1722
|
}
|
|
1723
1723
|
await collectBody(output.body, context);
|
|
1724
1724
|
const response = {
|
|
@@ -1726,7 +1726,7 @@ export const deserializeAws_json1_0UpdateInferenceSchedulerCommand = async (outp
|
|
|
1726
1726
|
};
|
|
1727
1727
|
return Promise.resolve(response);
|
|
1728
1728
|
};
|
|
1729
|
-
const
|
|
1729
|
+
const de_UpdateInferenceSchedulerCommandError = async (output, context) => {
|
|
1730
1730
|
const parsedOutput = {
|
|
1731
1731
|
...output,
|
|
1732
1732
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1735,22 +1735,22 @@ const deserializeAws_json1_0UpdateInferenceSchedulerCommandError = async (output
|
|
|
1735
1735
|
switch (errorCode) {
|
|
1736
1736
|
case "AccessDeniedException":
|
|
1737
1737
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1738
|
-
throw await
|
|
1738
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1739
1739
|
case "ConflictException":
|
|
1740
1740
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
1741
|
-
throw await
|
|
1741
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1742
1742
|
case "InternalServerException":
|
|
1743
1743
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1744
|
-
throw await
|
|
1744
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1745
1745
|
case "ResourceNotFoundException":
|
|
1746
1746
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1747
|
-
throw await
|
|
1747
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1748
1748
|
case "ThrottlingException":
|
|
1749
1749
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1750
|
-
throw await
|
|
1750
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1751
1751
|
case "ValidationException":
|
|
1752
1752
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1753
|
-
throw await
|
|
1753
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1754
1754
|
default:
|
|
1755
1755
|
const parsedBody = parsedOutput.body;
|
|
1756
1756
|
throwDefaultError({
|
|
@@ -1761,9 +1761,9 @@ const deserializeAws_json1_0UpdateInferenceSchedulerCommandError = async (output
|
|
|
1761
1761
|
});
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
|
-
export const
|
|
1764
|
+
export const de_UpdateLabelGroupCommand = async (output, context) => {
|
|
1765
1765
|
if (output.statusCode >= 300) {
|
|
1766
|
-
return
|
|
1766
|
+
return de_UpdateLabelGroupCommandError(output, context);
|
|
1767
1767
|
}
|
|
1768
1768
|
await collectBody(output.body, context);
|
|
1769
1769
|
const response = {
|
|
@@ -1771,7 +1771,7 @@ export const deserializeAws_json1_0UpdateLabelGroupCommand = async (output, cont
|
|
|
1771
1771
|
};
|
|
1772
1772
|
return Promise.resolve(response);
|
|
1773
1773
|
};
|
|
1774
|
-
const
|
|
1774
|
+
const de_UpdateLabelGroupCommandError = async (output, context) => {
|
|
1775
1775
|
const parsedOutput = {
|
|
1776
1776
|
...output,
|
|
1777
1777
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1780,22 +1780,22 @@ const deserializeAws_json1_0UpdateLabelGroupCommandError = async (output, contex
|
|
|
1780
1780
|
switch (errorCode) {
|
|
1781
1781
|
case "AccessDeniedException":
|
|
1782
1782
|
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1783
|
-
throw await
|
|
1783
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1784
1784
|
case "ConflictException":
|
|
1785
1785
|
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
1786
|
-
throw await
|
|
1786
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1787
1787
|
case "InternalServerException":
|
|
1788
1788
|
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1789
|
-
throw await
|
|
1789
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1790
1790
|
case "ResourceNotFoundException":
|
|
1791
1791
|
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1792
|
-
throw await
|
|
1792
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1793
1793
|
case "ThrottlingException":
|
|
1794
1794
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1795
|
-
throw await
|
|
1795
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1796
1796
|
case "ValidationException":
|
|
1797
1797
|
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1798
|
-
throw await
|
|
1798
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1799
1799
|
default:
|
|
1800
1800
|
const parsedBody = parsedOutput.body;
|
|
1801
1801
|
throwDefaultError({
|
|
@@ -1806,107 +1806,105 @@ const deserializeAws_json1_0UpdateLabelGroupCommandError = async (output, contex
|
|
|
1806
1806
|
});
|
|
1807
1807
|
}
|
|
1808
1808
|
};
|
|
1809
|
-
const
|
|
1809
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1810
1810
|
const body = parsedOutput.body;
|
|
1811
|
-
const deserialized =
|
|
1811
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
1812
1812
|
const exception = new AccessDeniedException({
|
|
1813
1813
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1814
1814
|
...deserialized,
|
|
1815
1815
|
});
|
|
1816
1816
|
return __decorateServiceException(exception, body);
|
|
1817
1817
|
};
|
|
1818
|
-
const
|
|
1818
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1819
1819
|
const body = parsedOutput.body;
|
|
1820
|
-
const deserialized =
|
|
1820
|
+
const deserialized = de_ConflictException(body, context);
|
|
1821
1821
|
const exception = new ConflictException({
|
|
1822
1822
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1823
1823
|
...deserialized,
|
|
1824
1824
|
});
|
|
1825
1825
|
return __decorateServiceException(exception, body);
|
|
1826
1826
|
};
|
|
1827
|
-
const
|
|
1827
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1828
1828
|
const body = parsedOutput.body;
|
|
1829
|
-
const deserialized =
|
|
1829
|
+
const deserialized = de_InternalServerException(body, context);
|
|
1830
1830
|
const exception = new InternalServerException({
|
|
1831
1831
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1832
1832
|
...deserialized,
|
|
1833
1833
|
});
|
|
1834
1834
|
return __decorateServiceException(exception, body);
|
|
1835
1835
|
};
|
|
1836
|
-
const
|
|
1836
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1837
1837
|
const body = parsedOutput.body;
|
|
1838
|
-
const deserialized =
|
|
1838
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1839
1839
|
const exception = new ResourceNotFoundException({
|
|
1840
1840
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1841
1841
|
...deserialized,
|
|
1842
1842
|
});
|
|
1843
1843
|
return __decorateServiceException(exception, body);
|
|
1844
1844
|
};
|
|
1845
|
-
const
|
|
1845
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1846
1846
|
const body = parsedOutput.body;
|
|
1847
|
-
const deserialized =
|
|
1847
|
+
const deserialized = de_ServiceQuotaExceededException(body, context);
|
|
1848
1848
|
const exception = new ServiceQuotaExceededException({
|
|
1849
1849
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1850
1850
|
...deserialized,
|
|
1851
1851
|
});
|
|
1852
1852
|
return __decorateServiceException(exception, body);
|
|
1853
1853
|
};
|
|
1854
|
-
const
|
|
1854
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1855
1855
|
const body = parsedOutput.body;
|
|
1856
|
-
const deserialized =
|
|
1856
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
1857
1857
|
const exception = new ThrottlingException({
|
|
1858
1858
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1859
1859
|
...deserialized,
|
|
1860
1860
|
});
|
|
1861
1861
|
return __decorateServiceException(exception, body);
|
|
1862
1862
|
};
|
|
1863
|
-
const
|
|
1863
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1864
1864
|
const body = parsedOutput.body;
|
|
1865
|
-
const deserialized =
|
|
1865
|
+
const deserialized = de_ValidationException(body, context);
|
|
1866
1866
|
const exception = new ValidationException({
|
|
1867
1867
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1868
1868
|
...deserialized,
|
|
1869
1869
|
});
|
|
1870
1870
|
return __decorateServiceException(exception, body);
|
|
1871
1871
|
};
|
|
1872
|
-
const
|
|
1872
|
+
const se_CreateDatasetRequest = (input, context) => {
|
|
1873
1873
|
return {
|
|
1874
1874
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
1875
1875
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1876
|
-
...(input.DatasetSchema != null && {
|
|
1877
|
-
DatasetSchema: serializeAws_json1_0DatasetSchema(input.DatasetSchema, context),
|
|
1878
|
-
}),
|
|
1876
|
+
...(input.DatasetSchema != null && { DatasetSchema: se_DatasetSchema(input.DatasetSchema, context) }),
|
|
1879
1877
|
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1880
|
-
...(input.Tags != null && { Tags:
|
|
1878
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1881
1879
|
};
|
|
1882
1880
|
};
|
|
1883
|
-
const
|
|
1881
|
+
const se_CreateInferenceSchedulerRequest = (input, context) => {
|
|
1884
1882
|
return {
|
|
1885
1883
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
1886
1884
|
...(input.DataDelayOffsetInMinutes != null && { DataDelayOffsetInMinutes: input.DataDelayOffsetInMinutes }),
|
|
1887
1885
|
...(input.DataInputConfiguration != null && {
|
|
1888
|
-
DataInputConfiguration:
|
|
1886
|
+
DataInputConfiguration: se_InferenceInputConfiguration(input.DataInputConfiguration, context),
|
|
1889
1887
|
}),
|
|
1890
1888
|
...(input.DataOutputConfiguration != null && {
|
|
1891
|
-
DataOutputConfiguration:
|
|
1889
|
+
DataOutputConfiguration: se_InferenceOutputConfiguration(input.DataOutputConfiguration, context),
|
|
1892
1890
|
}),
|
|
1893
1891
|
...(input.DataUploadFrequency != null && { DataUploadFrequency: input.DataUploadFrequency }),
|
|
1894
1892
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
1895
1893
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1896
1894
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
1897
1895
|
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1898
|
-
...(input.Tags != null && { Tags:
|
|
1896
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1899
1897
|
};
|
|
1900
1898
|
};
|
|
1901
|
-
const
|
|
1899
|
+
const se_CreateLabelGroupRequest = (input, context) => {
|
|
1902
1900
|
return {
|
|
1903
1901
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
1904
|
-
...(input.FaultCodes != null && { FaultCodes:
|
|
1902
|
+
...(input.FaultCodes != null && { FaultCodes: se_FaultCodes(input.FaultCodes, context) }),
|
|
1905
1903
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1906
|
-
...(input.Tags != null && { Tags:
|
|
1904
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1907
1905
|
};
|
|
1908
1906
|
};
|
|
1909
|
-
const
|
|
1907
|
+
const se_CreateLabelRequest = (input, context) => {
|
|
1910
1908
|
return {
|
|
1911
1909
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
1912
1910
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
@@ -1918,16 +1916,14 @@ const serializeAws_json1_0CreateLabelRequest = (input, context) => {
|
|
|
1918
1916
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1919
1917
|
};
|
|
1920
1918
|
};
|
|
1921
|
-
const
|
|
1919
|
+
const se_CreateModelRequest = (input, context) => {
|
|
1922
1920
|
return {
|
|
1923
1921
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
1924
1922
|
...(input.DataPreProcessingConfiguration != null && {
|
|
1925
|
-
DataPreProcessingConfiguration:
|
|
1923
|
+
DataPreProcessingConfiguration: se_DataPreProcessingConfiguration(input.DataPreProcessingConfiguration, context),
|
|
1926
1924
|
}),
|
|
1927
1925
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1928
|
-
...(input.DatasetSchema != null && {
|
|
1929
|
-
DatasetSchema: serializeAws_json1_0DatasetSchema(input.DatasetSchema, context),
|
|
1930
|
-
}),
|
|
1926
|
+
...(input.DatasetSchema != null && { DatasetSchema: se_DatasetSchema(input.DatasetSchema, context) }),
|
|
1931
1927
|
...(input.EvaluationDataEndTime != null && {
|
|
1932
1928
|
EvaluationDataEndTime: Math.round(input.EvaluationDataEndTime.getTime() / 1000),
|
|
1933
1929
|
}),
|
|
@@ -1935,13 +1931,13 @@ const serializeAws_json1_0CreateModelRequest = (input, context) => {
|
|
|
1935
1931
|
EvaluationDataStartTime: Math.round(input.EvaluationDataStartTime.getTime() / 1000),
|
|
1936
1932
|
}),
|
|
1937
1933
|
...(input.LabelsInputConfiguration != null && {
|
|
1938
|
-
LabelsInputConfiguration:
|
|
1934
|
+
LabelsInputConfiguration: se_LabelsInputConfiguration(input.LabelsInputConfiguration, context),
|
|
1939
1935
|
}),
|
|
1940
1936
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1941
1937
|
...(input.OffCondition != null && { OffCondition: input.OffCondition }),
|
|
1942
1938
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
1943
1939
|
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1944
|
-
...(input.Tags != null && { Tags:
|
|
1940
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1945
1941
|
...(input.TrainingDataEndTime != null && {
|
|
1946
1942
|
TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000),
|
|
1947
1943
|
}),
|
|
@@ -1950,92 +1946,92 @@ const serializeAws_json1_0CreateModelRequest = (input, context) => {
|
|
|
1950
1946
|
}),
|
|
1951
1947
|
};
|
|
1952
1948
|
};
|
|
1953
|
-
const
|
|
1949
|
+
const se_DataPreProcessingConfiguration = (input, context) => {
|
|
1954
1950
|
return {
|
|
1955
1951
|
...(input.TargetSamplingRate != null && { TargetSamplingRate: input.TargetSamplingRate }),
|
|
1956
1952
|
};
|
|
1957
1953
|
};
|
|
1958
|
-
const
|
|
1954
|
+
const se_DatasetSchema = (input, context) => {
|
|
1959
1955
|
return {
|
|
1960
1956
|
...(input.InlineDataSchema != null && { InlineDataSchema: __LazyJsonString.fromObject(input.InlineDataSchema) }),
|
|
1961
1957
|
};
|
|
1962
1958
|
};
|
|
1963
|
-
const
|
|
1959
|
+
const se_DeleteDatasetRequest = (input, context) => {
|
|
1964
1960
|
return {
|
|
1965
1961
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1966
1962
|
};
|
|
1967
1963
|
};
|
|
1968
|
-
const
|
|
1964
|
+
const se_DeleteInferenceSchedulerRequest = (input, context) => {
|
|
1969
1965
|
return {
|
|
1970
1966
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
1971
1967
|
};
|
|
1972
1968
|
};
|
|
1973
|
-
const
|
|
1969
|
+
const se_DeleteLabelGroupRequest = (input, context) => {
|
|
1974
1970
|
return {
|
|
1975
1971
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1976
1972
|
};
|
|
1977
1973
|
};
|
|
1978
|
-
const
|
|
1974
|
+
const se_DeleteLabelRequest = (input, context) => {
|
|
1979
1975
|
return {
|
|
1980
1976
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1981
1977
|
...(input.LabelId != null && { LabelId: input.LabelId }),
|
|
1982
1978
|
};
|
|
1983
1979
|
};
|
|
1984
|
-
const
|
|
1980
|
+
const se_DeleteModelRequest = (input, context) => {
|
|
1985
1981
|
return {
|
|
1986
1982
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1987
1983
|
};
|
|
1988
1984
|
};
|
|
1989
|
-
const
|
|
1985
|
+
const se_DescribeDataIngestionJobRequest = (input, context) => {
|
|
1990
1986
|
return {
|
|
1991
1987
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1992
1988
|
};
|
|
1993
1989
|
};
|
|
1994
|
-
const
|
|
1990
|
+
const se_DescribeDatasetRequest = (input, context) => {
|
|
1995
1991
|
return {
|
|
1996
1992
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1997
1993
|
};
|
|
1998
1994
|
};
|
|
1999
|
-
const
|
|
1995
|
+
const se_DescribeInferenceSchedulerRequest = (input, context) => {
|
|
2000
1996
|
return {
|
|
2001
1997
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2002
1998
|
};
|
|
2003
1999
|
};
|
|
2004
|
-
const
|
|
2000
|
+
const se_DescribeLabelGroupRequest = (input, context) => {
|
|
2005
2001
|
return {
|
|
2006
2002
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2007
2003
|
};
|
|
2008
2004
|
};
|
|
2009
|
-
const
|
|
2005
|
+
const se_DescribeLabelRequest = (input, context) => {
|
|
2010
2006
|
return {
|
|
2011
2007
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2012
2008
|
...(input.LabelId != null && { LabelId: input.LabelId }),
|
|
2013
2009
|
};
|
|
2014
2010
|
};
|
|
2015
|
-
const
|
|
2011
|
+
const se_DescribeModelRequest = (input, context) => {
|
|
2016
2012
|
return {
|
|
2017
2013
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2018
2014
|
};
|
|
2019
2015
|
};
|
|
2020
|
-
const
|
|
2016
|
+
const se_FaultCodes = (input, context) => {
|
|
2021
2017
|
return input
|
|
2022
2018
|
.filter((e) => e != null)
|
|
2023
2019
|
.map((entry) => {
|
|
2024
2020
|
return entry;
|
|
2025
2021
|
});
|
|
2026
2022
|
};
|
|
2027
|
-
const
|
|
2023
|
+
const se_InferenceInputConfiguration = (input, context) => {
|
|
2028
2024
|
return {
|
|
2029
2025
|
...(input.InferenceInputNameConfiguration != null && {
|
|
2030
|
-
InferenceInputNameConfiguration:
|
|
2026
|
+
InferenceInputNameConfiguration: se_InferenceInputNameConfiguration(input.InferenceInputNameConfiguration, context),
|
|
2031
2027
|
}),
|
|
2032
2028
|
...(input.InputTimeZoneOffset != null && { InputTimeZoneOffset: input.InputTimeZoneOffset }),
|
|
2033
2029
|
...(input.S3InputConfiguration != null && {
|
|
2034
|
-
S3InputConfiguration:
|
|
2030
|
+
S3InputConfiguration: se_InferenceS3InputConfiguration(input.S3InputConfiguration, context),
|
|
2035
2031
|
}),
|
|
2036
2032
|
};
|
|
2037
2033
|
};
|
|
2038
|
-
const
|
|
2034
|
+
const se_InferenceInputNameConfiguration = (input, context) => {
|
|
2039
2035
|
return {
|
|
2040
2036
|
...(input.ComponentTimestampDelimiter != null && {
|
|
2041
2037
|
ComponentTimestampDelimiter: input.ComponentTimestampDelimiter,
|
|
@@ -2043,55 +2039,55 @@ const serializeAws_json1_0InferenceInputNameConfiguration = (input, context) =>
|
|
|
2043
2039
|
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
2044
2040
|
};
|
|
2045
2041
|
};
|
|
2046
|
-
const
|
|
2042
|
+
const se_InferenceOutputConfiguration = (input, context) => {
|
|
2047
2043
|
return {
|
|
2048
2044
|
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2049
2045
|
...(input.S3OutputConfiguration != null && {
|
|
2050
|
-
S3OutputConfiguration:
|
|
2046
|
+
S3OutputConfiguration: se_InferenceS3OutputConfiguration(input.S3OutputConfiguration, context),
|
|
2051
2047
|
}),
|
|
2052
2048
|
};
|
|
2053
2049
|
};
|
|
2054
|
-
const
|
|
2050
|
+
const se_InferenceS3InputConfiguration = (input, context) => {
|
|
2055
2051
|
return {
|
|
2056
2052
|
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2057
2053
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2058
2054
|
};
|
|
2059
2055
|
};
|
|
2060
|
-
const
|
|
2056
|
+
const se_InferenceS3OutputConfiguration = (input, context) => {
|
|
2061
2057
|
return {
|
|
2062
2058
|
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2063
2059
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2064
2060
|
};
|
|
2065
2061
|
};
|
|
2066
|
-
const
|
|
2062
|
+
const se_IngestionInputConfiguration = (input, context) => {
|
|
2067
2063
|
return {
|
|
2068
2064
|
...(input.S3InputConfiguration != null && {
|
|
2069
|
-
S3InputConfiguration:
|
|
2065
|
+
S3InputConfiguration: se_IngestionS3InputConfiguration(input.S3InputConfiguration, context),
|
|
2070
2066
|
}),
|
|
2071
2067
|
};
|
|
2072
2068
|
};
|
|
2073
|
-
const
|
|
2069
|
+
const se_IngestionS3InputConfiguration = (input, context) => {
|
|
2074
2070
|
return {
|
|
2075
2071
|
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2076
2072
|
...(input.KeyPattern != null && { KeyPattern: input.KeyPattern }),
|
|
2077
2073
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2078
2074
|
};
|
|
2079
2075
|
};
|
|
2080
|
-
const
|
|
2076
|
+
const se_LabelsInputConfiguration = (input, context) => {
|
|
2081
2077
|
return {
|
|
2082
2078
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2083
2079
|
...(input.S3InputConfiguration != null && {
|
|
2084
|
-
S3InputConfiguration:
|
|
2080
|
+
S3InputConfiguration: se_LabelsS3InputConfiguration(input.S3InputConfiguration, context),
|
|
2085
2081
|
}),
|
|
2086
2082
|
};
|
|
2087
2083
|
};
|
|
2088
|
-
const
|
|
2084
|
+
const se_LabelsS3InputConfiguration = (input, context) => {
|
|
2089
2085
|
return {
|
|
2090
2086
|
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2091
2087
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2092
2088
|
};
|
|
2093
2089
|
};
|
|
2094
|
-
const
|
|
2090
|
+
const se_ListDataIngestionJobsRequest = (input, context) => {
|
|
2095
2091
|
return {
|
|
2096
2092
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2097
2093
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2099,14 +2095,14 @@ const serializeAws_json1_0ListDataIngestionJobsRequest = (input, context) => {
|
|
|
2099
2095
|
...(input.Status != null && { Status: input.Status }),
|
|
2100
2096
|
};
|
|
2101
2097
|
};
|
|
2102
|
-
const
|
|
2098
|
+
const se_ListDatasetsRequest = (input, context) => {
|
|
2103
2099
|
return {
|
|
2104
2100
|
...(input.DatasetNameBeginsWith != null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith }),
|
|
2105
2101
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2106
2102
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2107
2103
|
};
|
|
2108
2104
|
};
|
|
2109
|
-
const
|
|
2105
|
+
const se_ListInferenceEventsRequest = (input, context) => {
|
|
2110
2106
|
return {
|
|
2111
2107
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2112
2108
|
...(input.IntervalEndTime != null && { IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000) }),
|
|
@@ -2115,7 +2111,7 @@ const serializeAws_json1_0ListInferenceEventsRequest = (input, context) => {
|
|
|
2115
2111
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2116
2112
|
};
|
|
2117
2113
|
};
|
|
2118
|
-
const
|
|
2114
|
+
const se_ListInferenceExecutionsRequest = (input, context) => {
|
|
2119
2115
|
return {
|
|
2120
2116
|
...(input.DataEndTimeBefore != null && { DataEndTimeBefore: Math.round(input.DataEndTimeBefore.getTime() / 1000) }),
|
|
2121
2117
|
...(input.DataStartTimeAfter != null && {
|
|
@@ -2127,7 +2123,7 @@ const serializeAws_json1_0ListInferenceExecutionsRequest = (input, context) => {
|
|
|
2127
2123
|
...(input.Status != null && { Status: input.Status }),
|
|
2128
2124
|
};
|
|
2129
2125
|
};
|
|
2130
|
-
const
|
|
2126
|
+
const se_ListInferenceSchedulersRequest = (input, context) => {
|
|
2131
2127
|
return {
|
|
2132
2128
|
...(input.InferenceSchedulerNameBeginsWith != null && {
|
|
2133
2129
|
InferenceSchedulerNameBeginsWith: input.InferenceSchedulerNameBeginsWith,
|
|
@@ -2138,14 +2134,14 @@ const serializeAws_json1_0ListInferenceSchedulersRequest = (input, context) => {
|
|
|
2138
2134
|
...(input.Status != null && { Status: input.Status }),
|
|
2139
2135
|
};
|
|
2140
2136
|
};
|
|
2141
|
-
const
|
|
2137
|
+
const se_ListLabelGroupsRequest = (input, context) => {
|
|
2142
2138
|
return {
|
|
2143
2139
|
...(input.LabelGroupNameBeginsWith != null && { LabelGroupNameBeginsWith: input.LabelGroupNameBeginsWith }),
|
|
2144
2140
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2145
2141
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2146
2142
|
};
|
|
2147
2143
|
};
|
|
2148
|
-
const
|
|
2144
|
+
const se_ListLabelsRequest = (input, context) => {
|
|
2149
2145
|
return {
|
|
2150
2146
|
...(input.Equipment != null && { Equipment: input.Equipment }),
|
|
2151
2147
|
...(input.FaultCode != null && { FaultCode: input.FaultCode }),
|
|
@@ -2156,7 +2152,7 @@ const serializeAws_json1_0ListLabelsRequest = (input, context) => {
|
|
|
2156
2152
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2157
2153
|
};
|
|
2158
2154
|
};
|
|
2159
|
-
const
|
|
2155
|
+
const se_ListModelsRequest = (input, context) => {
|
|
2160
2156
|
return {
|
|
2161
2157
|
...(input.DatasetNameBeginsWith != null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith }),
|
|
2162
2158
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2165,7 +2161,7 @@ const serializeAws_json1_0ListModelsRequest = (input, context) => {
|
|
|
2165
2161
|
...(input.Status != null && { Status: input.Status }),
|
|
2166
2162
|
};
|
|
2167
2163
|
};
|
|
2168
|
-
const
|
|
2164
|
+
const se_ListSensorStatisticsRequest = (input, context) => {
|
|
2169
2165
|
return {
|
|
2170
2166
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2171
2167
|
...(input.IngestionJobId != null && { IngestionJobId: input.IngestionJobId }),
|
|
@@ -2173,194 +2169,188 @@ const serializeAws_json1_0ListSensorStatisticsRequest = (input, context) => {
|
|
|
2173
2169
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2174
2170
|
};
|
|
2175
2171
|
};
|
|
2176
|
-
const
|
|
2172
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2177
2173
|
return {
|
|
2178
2174
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2179
2175
|
};
|
|
2180
2176
|
};
|
|
2181
|
-
const
|
|
2177
|
+
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
2182
2178
|
return {
|
|
2183
2179
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
2184
2180
|
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2185
2181
|
...(input.IngestionInputConfiguration != null && {
|
|
2186
|
-
IngestionInputConfiguration:
|
|
2182
|
+
IngestionInputConfiguration: se_IngestionInputConfiguration(input.IngestionInputConfiguration, context),
|
|
2187
2183
|
}),
|
|
2188
2184
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2189
2185
|
};
|
|
2190
2186
|
};
|
|
2191
|
-
const
|
|
2187
|
+
const se_StartInferenceSchedulerRequest = (input, context) => {
|
|
2192
2188
|
return {
|
|
2193
2189
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2194
2190
|
};
|
|
2195
2191
|
};
|
|
2196
|
-
const
|
|
2192
|
+
const se_StopInferenceSchedulerRequest = (input, context) => {
|
|
2197
2193
|
return {
|
|
2198
2194
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2199
2195
|
};
|
|
2200
2196
|
};
|
|
2201
|
-
const
|
|
2197
|
+
const se_Tag = (input, context) => {
|
|
2202
2198
|
return {
|
|
2203
2199
|
...(input.Key != null && { Key: input.Key }),
|
|
2204
2200
|
...(input.Value != null && { Value: input.Value }),
|
|
2205
2201
|
};
|
|
2206
2202
|
};
|
|
2207
|
-
const
|
|
2203
|
+
const se_TagKeyList = (input, context) => {
|
|
2208
2204
|
return input
|
|
2209
2205
|
.filter((e) => e != null)
|
|
2210
2206
|
.map((entry) => {
|
|
2211
2207
|
return entry;
|
|
2212
2208
|
});
|
|
2213
2209
|
};
|
|
2214
|
-
const
|
|
2210
|
+
const se_TagList = (input, context) => {
|
|
2215
2211
|
return input
|
|
2216
2212
|
.filter((e) => e != null)
|
|
2217
2213
|
.map((entry) => {
|
|
2218
|
-
return
|
|
2214
|
+
return se_Tag(entry, context);
|
|
2219
2215
|
});
|
|
2220
2216
|
};
|
|
2221
|
-
const
|
|
2217
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2222
2218
|
return {
|
|
2223
2219
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2224
|
-
...(input.Tags != null && { Tags:
|
|
2220
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2225
2221
|
};
|
|
2226
2222
|
};
|
|
2227
|
-
const
|
|
2223
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2228
2224
|
return {
|
|
2229
2225
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2230
|
-
...(input.TagKeys != null && { TagKeys:
|
|
2226
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2231
2227
|
};
|
|
2232
2228
|
};
|
|
2233
|
-
const
|
|
2229
|
+
const se_UpdateInferenceSchedulerRequest = (input, context) => {
|
|
2234
2230
|
return {
|
|
2235
2231
|
...(input.DataDelayOffsetInMinutes != null && { DataDelayOffsetInMinutes: input.DataDelayOffsetInMinutes }),
|
|
2236
2232
|
...(input.DataInputConfiguration != null && {
|
|
2237
|
-
DataInputConfiguration:
|
|
2233
|
+
DataInputConfiguration: se_InferenceInputConfiguration(input.DataInputConfiguration, context),
|
|
2238
2234
|
}),
|
|
2239
2235
|
...(input.DataOutputConfiguration != null && {
|
|
2240
|
-
DataOutputConfiguration:
|
|
2236
|
+
DataOutputConfiguration: se_InferenceOutputConfiguration(input.DataOutputConfiguration, context),
|
|
2241
2237
|
}),
|
|
2242
2238
|
...(input.DataUploadFrequency != null && { DataUploadFrequency: input.DataUploadFrequency }),
|
|
2243
2239
|
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2244
2240
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2245
2241
|
};
|
|
2246
2242
|
};
|
|
2247
|
-
const
|
|
2243
|
+
const se_UpdateLabelGroupRequest = (input, context) => {
|
|
2248
2244
|
return {
|
|
2249
|
-
...(input.FaultCodes != null && { FaultCodes:
|
|
2245
|
+
...(input.FaultCodes != null && { FaultCodes: se_FaultCodes(input.FaultCodes, context) }),
|
|
2250
2246
|
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2251
2247
|
};
|
|
2252
2248
|
};
|
|
2253
|
-
const
|
|
2249
|
+
const de_AccessDeniedException = (output, context) => {
|
|
2254
2250
|
return {
|
|
2255
2251
|
Message: __expectString(output.Message),
|
|
2256
2252
|
};
|
|
2257
2253
|
};
|
|
2258
|
-
const
|
|
2254
|
+
const de_CategoricalValues = (output, context) => {
|
|
2259
2255
|
return {
|
|
2260
2256
|
NumberOfCategory: __expectInt32(output.NumberOfCategory),
|
|
2261
2257
|
Status: __expectString(output.Status),
|
|
2262
2258
|
};
|
|
2263
2259
|
};
|
|
2264
|
-
const
|
|
2260
|
+
const de_ConflictException = (output, context) => {
|
|
2265
2261
|
return {
|
|
2266
2262
|
Message: __expectString(output.Message),
|
|
2267
2263
|
};
|
|
2268
2264
|
};
|
|
2269
|
-
const
|
|
2265
|
+
const de_CountPercent = (output, context) => {
|
|
2270
2266
|
return {
|
|
2271
2267
|
Count: __expectInt32(output.Count),
|
|
2272
2268
|
Percentage: __limitedParseFloat32(output.Percentage),
|
|
2273
2269
|
};
|
|
2274
2270
|
};
|
|
2275
|
-
const
|
|
2271
|
+
const de_CreateDatasetResponse = (output, context) => {
|
|
2276
2272
|
return {
|
|
2277
2273
|
DatasetArn: __expectString(output.DatasetArn),
|
|
2278
2274
|
DatasetName: __expectString(output.DatasetName),
|
|
2279
2275
|
Status: __expectString(output.Status),
|
|
2280
2276
|
};
|
|
2281
2277
|
};
|
|
2282
|
-
const
|
|
2278
|
+
const de_CreateInferenceSchedulerResponse = (output, context) => {
|
|
2283
2279
|
return {
|
|
2284
2280
|
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2285
2281
|
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2286
2282
|
Status: __expectString(output.Status),
|
|
2287
2283
|
};
|
|
2288
2284
|
};
|
|
2289
|
-
const
|
|
2285
|
+
const de_CreateLabelGroupResponse = (output, context) => {
|
|
2290
2286
|
return {
|
|
2291
2287
|
LabelGroupArn: __expectString(output.LabelGroupArn),
|
|
2292
2288
|
LabelGroupName: __expectString(output.LabelGroupName),
|
|
2293
2289
|
};
|
|
2294
2290
|
};
|
|
2295
|
-
const
|
|
2291
|
+
const de_CreateLabelResponse = (output, context) => {
|
|
2296
2292
|
return {
|
|
2297
2293
|
LabelId: __expectString(output.LabelId),
|
|
2298
2294
|
};
|
|
2299
2295
|
};
|
|
2300
|
-
const
|
|
2296
|
+
const de_CreateModelResponse = (output, context) => {
|
|
2301
2297
|
return {
|
|
2302
2298
|
ModelArn: __expectString(output.ModelArn),
|
|
2303
2299
|
Status: __expectString(output.Status),
|
|
2304
2300
|
};
|
|
2305
2301
|
};
|
|
2306
|
-
const
|
|
2302
|
+
const de_DataIngestionJobSummaries = (output, context) => {
|
|
2307
2303
|
const retVal = (output || [])
|
|
2308
2304
|
.filter((e) => e != null)
|
|
2309
2305
|
.map((entry) => {
|
|
2310
2306
|
if (entry === null) {
|
|
2311
2307
|
return null;
|
|
2312
2308
|
}
|
|
2313
|
-
return
|
|
2309
|
+
return de_DataIngestionJobSummary(entry, context);
|
|
2314
2310
|
});
|
|
2315
2311
|
return retVal;
|
|
2316
2312
|
};
|
|
2317
|
-
const
|
|
2313
|
+
const de_DataIngestionJobSummary = (output, context) => {
|
|
2318
2314
|
return {
|
|
2319
2315
|
DatasetArn: __expectString(output.DatasetArn),
|
|
2320
2316
|
DatasetName: __expectString(output.DatasetName),
|
|
2321
2317
|
IngestionInputConfiguration: output.IngestionInputConfiguration != null
|
|
2322
|
-
?
|
|
2318
|
+
? de_IngestionInputConfiguration(output.IngestionInputConfiguration, context)
|
|
2323
2319
|
: undefined,
|
|
2324
2320
|
JobId: __expectString(output.JobId),
|
|
2325
2321
|
Status: __expectString(output.Status),
|
|
2326
2322
|
};
|
|
2327
2323
|
};
|
|
2328
|
-
const
|
|
2324
|
+
const de_DataPreProcessingConfiguration = (output, context) => {
|
|
2329
2325
|
return {
|
|
2330
2326
|
TargetSamplingRate: __expectString(output.TargetSamplingRate),
|
|
2331
2327
|
};
|
|
2332
2328
|
};
|
|
2333
|
-
const
|
|
2329
|
+
const de_DataQualitySummary = (output, context) => {
|
|
2334
2330
|
return {
|
|
2335
|
-
DuplicateTimestamps: output.DuplicateTimestamps != null
|
|
2336
|
-
? deserializeAws_json1_0DuplicateTimestamps(output.DuplicateTimestamps, context)
|
|
2337
|
-
: undefined,
|
|
2331
|
+
DuplicateTimestamps: output.DuplicateTimestamps != null ? de_DuplicateTimestamps(output.DuplicateTimestamps, context) : undefined,
|
|
2338
2332
|
InsufficientSensorData: output.InsufficientSensorData != null
|
|
2339
|
-
?
|
|
2340
|
-
: undefined,
|
|
2341
|
-
InvalidSensorData: output.InvalidSensorData != null
|
|
2342
|
-
? deserializeAws_json1_0InvalidSensorData(output.InvalidSensorData, context)
|
|
2343
|
-
: undefined,
|
|
2344
|
-
MissingSensorData: output.MissingSensorData != null
|
|
2345
|
-
? deserializeAws_json1_0MissingSensorData(output.MissingSensorData, context)
|
|
2333
|
+
? de_InsufficientSensorData(output.InsufficientSensorData, context)
|
|
2346
2334
|
: undefined,
|
|
2335
|
+
InvalidSensorData: output.InvalidSensorData != null ? de_InvalidSensorData(output.InvalidSensorData, context) : undefined,
|
|
2336
|
+
MissingSensorData: output.MissingSensorData != null ? de_MissingSensorData(output.MissingSensorData, context) : undefined,
|
|
2347
2337
|
UnsupportedTimestamps: output.UnsupportedTimestamps != null
|
|
2348
|
-
?
|
|
2338
|
+
? de_UnsupportedTimestamps(output.UnsupportedTimestamps, context)
|
|
2349
2339
|
: undefined,
|
|
2350
2340
|
};
|
|
2351
2341
|
};
|
|
2352
|
-
const
|
|
2342
|
+
const de_DatasetSummaries = (output, context) => {
|
|
2353
2343
|
const retVal = (output || [])
|
|
2354
2344
|
.filter((e) => e != null)
|
|
2355
2345
|
.map((entry) => {
|
|
2356
2346
|
if (entry === null) {
|
|
2357
2347
|
return null;
|
|
2358
2348
|
}
|
|
2359
|
-
return
|
|
2349
|
+
return de_DatasetSummary(entry, context);
|
|
2360
2350
|
});
|
|
2361
2351
|
return retVal;
|
|
2362
2352
|
};
|
|
2363
|
-
const
|
|
2353
|
+
const de_DatasetSummary = (output, context) => {
|
|
2364
2354
|
return {
|
|
2365
2355
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2366
2356
|
DatasetArn: __expectString(output.DatasetArn),
|
|
@@ -2368,26 +2358,22 @@ const deserializeAws_json1_0DatasetSummary = (output, context) => {
|
|
|
2368
2358
|
Status: __expectString(output.Status),
|
|
2369
2359
|
};
|
|
2370
2360
|
};
|
|
2371
|
-
const
|
|
2361
|
+
const de_DescribeDataIngestionJobResponse = (output, context) => {
|
|
2372
2362
|
return {
|
|
2373
2363
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2374
2364
|
DataEndTime: output.DataEndTime != null
|
|
2375
2365
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataEndTime)))
|
|
2376
2366
|
: undefined,
|
|
2377
|
-
DataQualitySummary: output.DataQualitySummary != null
|
|
2378
|
-
? deserializeAws_json1_0DataQualitySummary(output.DataQualitySummary, context)
|
|
2379
|
-
: undefined,
|
|
2367
|
+
DataQualitySummary: output.DataQualitySummary != null ? de_DataQualitySummary(output.DataQualitySummary, context) : undefined,
|
|
2380
2368
|
DataStartTime: output.DataStartTime != null
|
|
2381
2369
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataStartTime)))
|
|
2382
2370
|
: undefined,
|
|
2383
2371
|
DatasetArn: __expectString(output.DatasetArn),
|
|
2384
2372
|
FailedReason: __expectString(output.FailedReason),
|
|
2385
2373
|
IngestedDataSize: __expectLong(output.IngestedDataSize),
|
|
2386
|
-
IngestedFilesSummary: output.IngestedFilesSummary != null
|
|
2387
|
-
? deserializeAws_json1_0IngestedFilesSummary(output.IngestedFilesSummary, context)
|
|
2388
|
-
: undefined,
|
|
2374
|
+
IngestedFilesSummary: output.IngestedFilesSummary != null ? de_IngestedFilesSummary(output.IngestedFilesSummary, context) : undefined,
|
|
2389
2375
|
IngestionInputConfiguration: output.IngestionInputConfiguration != null
|
|
2390
|
-
?
|
|
2376
|
+
? de_IngestionInputConfiguration(output.IngestionInputConfiguration, context)
|
|
2391
2377
|
: undefined,
|
|
2392
2378
|
JobId: __expectString(output.JobId),
|
|
2393
2379
|
RoleArn: __expectString(output.RoleArn),
|
|
@@ -2395,25 +2381,21 @@ const deserializeAws_json1_0DescribeDataIngestionJobResponse = (output, context)
|
|
|
2395
2381
|
StatusDetail: __expectString(output.StatusDetail),
|
|
2396
2382
|
};
|
|
2397
2383
|
};
|
|
2398
|
-
const
|
|
2384
|
+
const de_DescribeDatasetResponse = (output, context) => {
|
|
2399
2385
|
return {
|
|
2400
2386
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2401
2387
|
DataEndTime: output.DataEndTime != null
|
|
2402
2388
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataEndTime)))
|
|
2403
2389
|
: undefined,
|
|
2404
|
-
DataQualitySummary: output.DataQualitySummary != null
|
|
2405
|
-
? deserializeAws_json1_0DataQualitySummary(output.DataQualitySummary, context)
|
|
2406
|
-
: undefined,
|
|
2390
|
+
DataQualitySummary: output.DataQualitySummary != null ? de_DataQualitySummary(output.DataQualitySummary, context) : undefined,
|
|
2407
2391
|
DataStartTime: output.DataStartTime != null
|
|
2408
2392
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataStartTime)))
|
|
2409
2393
|
: undefined,
|
|
2410
2394
|
DatasetArn: __expectString(output.DatasetArn),
|
|
2411
2395
|
DatasetName: __expectString(output.DatasetName),
|
|
2412
|
-
IngestedFilesSummary: output.IngestedFilesSummary != null
|
|
2413
|
-
? deserializeAws_json1_0IngestedFilesSummary(output.IngestedFilesSummary, context)
|
|
2414
|
-
: undefined,
|
|
2396
|
+
IngestedFilesSummary: output.IngestedFilesSummary != null ? de_IngestedFilesSummary(output.IngestedFilesSummary, context) : undefined,
|
|
2415
2397
|
IngestionInputConfiguration: output.IngestionInputConfiguration != null
|
|
2416
|
-
?
|
|
2398
|
+
? de_IngestionInputConfiguration(output.IngestionInputConfiguration, context)
|
|
2417
2399
|
: undefined,
|
|
2418
2400
|
LastUpdatedAt: output.LastUpdatedAt != null
|
|
2419
2401
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
@@ -2424,15 +2406,15 @@ const deserializeAws_json1_0DescribeDatasetResponse = (output, context) => {
|
|
|
2424
2406
|
Status: __expectString(output.Status),
|
|
2425
2407
|
};
|
|
2426
2408
|
};
|
|
2427
|
-
const
|
|
2409
|
+
const de_DescribeInferenceSchedulerResponse = (output, context) => {
|
|
2428
2410
|
return {
|
|
2429
2411
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2430
2412
|
DataDelayOffsetInMinutes: __expectLong(output.DataDelayOffsetInMinutes),
|
|
2431
2413
|
DataInputConfiguration: output.DataInputConfiguration != null
|
|
2432
|
-
?
|
|
2414
|
+
? de_InferenceInputConfiguration(output.DataInputConfiguration, context)
|
|
2433
2415
|
: undefined,
|
|
2434
2416
|
DataOutputConfiguration: output.DataOutputConfiguration != null
|
|
2435
|
-
?
|
|
2417
|
+
? de_InferenceOutputConfiguration(output.DataOutputConfiguration, context)
|
|
2436
2418
|
: undefined,
|
|
2437
2419
|
DataUploadFrequency: __expectString(output.DataUploadFrequency),
|
|
2438
2420
|
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
@@ -2446,16 +2428,16 @@ const deserializeAws_json1_0DescribeInferenceSchedulerResponse = (output, contex
|
|
|
2446
2428
|
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2447
2429
|
};
|
|
2448
2430
|
};
|
|
2449
|
-
const
|
|
2431
|
+
const de_DescribeLabelGroupResponse = (output, context) => {
|
|
2450
2432
|
return {
|
|
2451
2433
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2452
|
-
FaultCodes: output.FaultCodes != null ?
|
|
2434
|
+
FaultCodes: output.FaultCodes != null ? de_FaultCodes(output.FaultCodes, context) : undefined,
|
|
2453
2435
|
LabelGroupArn: __expectString(output.LabelGroupArn),
|
|
2454
2436
|
LabelGroupName: __expectString(output.LabelGroupName),
|
|
2455
2437
|
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2456
2438
|
};
|
|
2457
2439
|
};
|
|
2458
|
-
const
|
|
2440
|
+
const de_DescribeLabelResponse = (output, context) => {
|
|
2459
2441
|
return {
|
|
2460
2442
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2461
2443
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
@@ -2469,11 +2451,11 @@ const deserializeAws_json1_0DescribeLabelResponse = (output, context) => {
|
|
|
2469
2451
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2470
2452
|
};
|
|
2471
2453
|
};
|
|
2472
|
-
const
|
|
2454
|
+
const de_DescribeModelResponse = (output, context) => {
|
|
2473
2455
|
return {
|
|
2474
2456
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2475
2457
|
DataPreProcessingConfiguration: output.DataPreProcessingConfiguration != null
|
|
2476
|
-
?
|
|
2458
|
+
? de_DataPreProcessingConfiguration(output.DataPreProcessingConfiguration, context)
|
|
2477
2459
|
: undefined,
|
|
2478
2460
|
DatasetArn: __expectString(output.DatasetArn),
|
|
2479
2461
|
DatasetName: __expectString(output.DatasetName),
|
|
@@ -2485,7 +2467,7 @@ const deserializeAws_json1_0DescribeModelResponse = (output, context) => {
|
|
|
2485
2467
|
: undefined,
|
|
2486
2468
|
FailedReason: __expectString(output.FailedReason),
|
|
2487
2469
|
LabelsInputConfiguration: output.LabelsInputConfiguration != null
|
|
2488
|
-
?
|
|
2470
|
+
? de_LabelsInputConfiguration(output.LabelsInputConfiguration, context)
|
|
2489
2471
|
: undefined,
|
|
2490
2472
|
LastUpdatedTime: output.LastUpdatedTime != null
|
|
2491
2473
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
@@ -2512,12 +2494,12 @@ const deserializeAws_json1_0DescribeModelResponse = (output, context) => {
|
|
|
2512
2494
|
: undefined,
|
|
2513
2495
|
};
|
|
2514
2496
|
};
|
|
2515
|
-
const
|
|
2497
|
+
const de_DuplicateTimestamps = (output, context) => {
|
|
2516
2498
|
return {
|
|
2517
2499
|
TotalNumberOfDuplicateTimestamps: __expectInt32(output.TotalNumberOfDuplicateTimestamps),
|
|
2518
2500
|
};
|
|
2519
2501
|
};
|
|
2520
|
-
const
|
|
2502
|
+
const de_FaultCodes = (output, context) => {
|
|
2521
2503
|
const retVal = (output || [])
|
|
2522
2504
|
.filter((e) => e != null)
|
|
2523
2505
|
.map((entry) => {
|
|
@@ -2528,18 +2510,18 @@ const deserializeAws_json1_0FaultCodes = (output, context) => {
|
|
|
2528
2510
|
});
|
|
2529
2511
|
return retVal;
|
|
2530
2512
|
};
|
|
2531
|
-
const
|
|
2513
|
+
const de_InferenceEventSummaries = (output, context) => {
|
|
2532
2514
|
const retVal = (output || [])
|
|
2533
2515
|
.filter((e) => e != null)
|
|
2534
2516
|
.map((entry) => {
|
|
2535
2517
|
if (entry === null) {
|
|
2536
2518
|
return null;
|
|
2537
2519
|
}
|
|
2538
|
-
return
|
|
2520
|
+
return de_InferenceEventSummary(entry, context);
|
|
2539
2521
|
});
|
|
2540
2522
|
return retVal;
|
|
2541
2523
|
};
|
|
2542
|
-
const
|
|
2524
|
+
const de_InferenceEventSummary = (output, context) => {
|
|
2543
2525
|
return {
|
|
2544
2526
|
Diagnostics: __expectString(output.Diagnostics),
|
|
2545
2527
|
EventDurationInSeconds: __expectLong(output.EventDurationInSeconds),
|
|
@@ -2553,30 +2535,28 @@ const deserializeAws_json1_0InferenceEventSummary = (output, context) => {
|
|
|
2553
2535
|
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2554
2536
|
};
|
|
2555
2537
|
};
|
|
2556
|
-
const
|
|
2538
|
+
const de_InferenceExecutionSummaries = (output, context) => {
|
|
2557
2539
|
const retVal = (output || [])
|
|
2558
2540
|
.filter((e) => e != null)
|
|
2559
2541
|
.map((entry) => {
|
|
2560
2542
|
if (entry === null) {
|
|
2561
2543
|
return null;
|
|
2562
2544
|
}
|
|
2563
|
-
return
|
|
2545
|
+
return de_InferenceExecutionSummary(entry, context);
|
|
2564
2546
|
});
|
|
2565
2547
|
return retVal;
|
|
2566
2548
|
};
|
|
2567
|
-
const
|
|
2549
|
+
const de_InferenceExecutionSummary = (output, context) => {
|
|
2568
2550
|
return {
|
|
2569
|
-
CustomerResultObject: output.CustomerResultObject != null
|
|
2570
|
-
? deserializeAws_json1_0S3Object(output.CustomerResultObject, context)
|
|
2571
|
-
: undefined,
|
|
2551
|
+
CustomerResultObject: output.CustomerResultObject != null ? de_S3Object(output.CustomerResultObject, context) : undefined,
|
|
2572
2552
|
DataEndTime: output.DataEndTime != null
|
|
2573
2553
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataEndTime)))
|
|
2574
2554
|
: undefined,
|
|
2575
2555
|
DataInputConfiguration: output.DataInputConfiguration != null
|
|
2576
|
-
?
|
|
2556
|
+
? de_InferenceInputConfiguration(output.DataInputConfiguration, context)
|
|
2577
2557
|
: undefined,
|
|
2578
2558
|
DataOutputConfiguration: output.DataOutputConfiguration != null
|
|
2579
|
-
?
|
|
2559
|
+
? de_InferenceOutputConfiguration(output.DataOutputConfiguration, context)
|
|
2580
2560
|
: undefined,
|
|
2581
2561
|
DataStartTime: output.DataStartTime != null
|
|
2582
2562
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataStartTime)))
|
|
@@ -2592,55 +2572,55 @@ const deserializeAws_json1_0InferenceExecutionSummary = (output, context) => {
|
|
|
2592
2572
|
Status: __expectString(output.Status),
|
|
2593
2573
|
};
|
|
2594
2574
|
};
|
|
2595
|
-
const
|
|
2575
|
+
const de_InferenceInputConfiguration = (output, context) => {
|
|
2596
2576
|
return {
|
|
2597
2577
|
InferenceInputNameConfiguration: output.InferenceInputNameConfiguration != null
|
|
2598
|
-
?
|
|
2578
|
+
? de_InferenceInputNameConfiguration(output.InferenceInputNameConfiguration, context)
|
|
2599
2579
|
: undefined,
|
|
2600
2580
|
InputTimeZoneOffset: __expectString(output.InputTimeZoneOffset),
|
|
2601
2581
|
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2602
|
-
?
|
|
2582
|
+
? de_InferenceS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2603
2583
|
: undefined,
|
|
2604
2584
|
};
|
|
2605
2585
|
};
|
|
2606
|
-
const
|
|
2586
|
+
const de_InferenceInputNameConfiguration = (output, context) => {
|
|
2607
2587
|
return {
|
|
2608
2588
|
ComponentTimestampDelimiter: __expectString(output.ComponentTimestampDelimiter),
|
|
2609
2589
|
TimestampFormat: __expectString(output.TimestampFormat),
|
|
2610
2590
|
};
|
|
2611
2591
|
};
|
|
2612
|
-
const
|
|
2592
|
+
const de_InferenceOutputConfiguration = (output, context) => {
|
|
2613
2593
|
return {
|
|
2614
2594
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
2615
2595
|
S3OutputConfiguration: output.S3OutputConfiguration != null
|
|
2616
|
-
?
|
|
2596
|
+
? de_InferenceS3OutputConfiguration(output.S3OutputConfiguration, context)
|
|
2617
2597
|
: undefined,
|
|
2618
2598
|
};
|
|
2619
2599
|
};
|
|
2620
|
-
const
|
|
2600
|
+
const de_InferenceS3InputConfiguration = (output, context) => {
|
|
2621
2601
|
return {
|
|
2622
2602
|
Bucket: __expectString(output.Bucket),
|
|
2623
2603
|
Prefix: __expectString(output.Prefix),
|
|
2624
2604
|
};
|
|
2625
2605
|
};
|
|
2626
|
-
const
|
|
2606
|
+
const de_InferenceS3OutputConfiguration = (output, context) => {
|
|
2627
2607
|
return {
|
|
2628
2608
|
Bucket: __expectString(output.Bucket),
|
|
2629
2609
|
Prefix: __expectString(output.Prefix),
|
|
2630
2610
|
};
|
|
2631
2611
|
};
|
|
2632
|
-
const
|
|
2612
|
+
const de_InferenceSchedulerSummaries = (output, context) => {
|
|
2633
2613
|
const retVal = (output || [])
|
|
2634
2614
|
.filter((e) => e != null)
|
|
2635
2615
|
.map((entry) => {
|
|
2636
2616
|
if (entry === null) {
|
|
2637
2617
|
return null;
|
|
2638
2618
|
}
|
|
2639
|
-
return
|
|
2619
|
+
return de_InferenceSchedulerSummary(entry, context);
|
|
2640
2620
|
});
|
|
2641
2621
|
return retVal;
|
|
2642
2622
|
};
|
|
2643
|
-
const
|
|
2623
|
+
const de_InferenceSchedulerSummary = (output, context) => {
|
|
2644
2624
|
return {
|
|
2645
2625
|
DataDelayOffsetInMinutes: __expectLong(output.DataDelayOffsetInMinutes),
|
|
2646
2626
|
DataUploadFrequency: __expectString(output.DataUploadFrequency),
|
|
@@ -2652,62 +2632,60 @@ const deserializeAws_json1_0InferenceSchedulerSummary = (output, context) => {
|
|
|
2652
2632
|
Status: __expectString(output.Status),
|
|
2653
2633
|
};
|
|
2654
2634
|
};
|
|
2655
|
-
const
|
|
2635
|
+
const de_IngestedFilesSummary = (output, context) => {
|
|
2656
2636
|
return {
|
|
2657
|
-
DiscardedFiles: output.DiscardedFiles != null
|
|
2658
|
-
? deserializeAws_json1_0ListOfDiscardedFiles(output.DiscardedFiles, context)
|
|
2659
|
-
: undefined,
|
|
2637
|
+
DiscardedFiles: output.DiscardedFiles != null ? de_ListOfDiscardedFiles(output.DiscardedFiles, context) : undefined,
|
|
2660
2638
|
IngestedNumberOfFiles: __expectInt32(output.IngestedNumberOfFiles),
|
|
2661
2639
|
TotalNumberOfFiles: __expectInt32(output.TotalNumberOfFiles),
|
|
2662
2640
|
};
|
|
2663
2641
|
};
|
|
2664
|
-
const
|
|
2642
|
+
const de_IngestionInputConfiguration = (output, context) => {
|
|
2665
2643
|
return {
|
|
2666
2644
|
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2667
|
-
?
|
|
2645
|
+
? de_IngestionS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2668
2646
|
: undefined,
|
|
2669
2647
|
};
|
|
2670
2648
|
};
|
|
2671
|
-
const
|
|
2649
|
+
const de_IngestionS3InputConfiguration = (output, context) => {
|
|
2672
2650
|
return {
|
|
2673
2651
|
Bucket: __expectString(output.Bucket),
|
|
2674
2652
|
KeyPattern: __expectString(output.KeyPattern),
|
|
2675
2653
|
Prefix: __expectString(output.Prefix),
|
|
2676
2654
|
};
|
|
2677
2655
|
};
|
|
2678
|
-
const
|
|
2656
|
+
const de_InsufficientSensorData = (output, context) => {
|
|
2679
2657
|
return {
|
|
2680
2658
|
MissingCompleteSensorData: output.MissingCompleteSensorData != null
|
|
2681
|
-
?
|
|
2659
|
+
? de_MissingCompleteSensorData(output.MissingCompleteSensorData, context)
|
|
2682
2660
|
: undefined,
|
|
2683
2661
|
SensorsWithShortDateRange: output.SensorsWithShortDateRange != null
|
|
2684
|
-
?
|
|
2662
|
+
? de_SensorsWithShortDateRange(output.SensorsWithShortDateRange, context)
|
|
2685
2663
|
: undefined,
|
|
2686
2664
|
};
|
|
2687
2665
|
};
|
|
2688
|
-
const
|
|
2666
|
+
const de_InternalServerException = (output, context) => {
|
|
2689
2667
|
return {
|
|
2690
2668
|
Message: __expectString(output.Message),
|
|
2691
2669
|
};
|
|
2692
2670
|
};
|
|
2693
|
-
const
|
|
2671
|
+
const de_InvalidSensorData = (output, context) => {
|
|
2694
2672
|
return {
|
|
2695
2673
|
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2696
2674
|
TotalNumberOfInvalidValues: __expectInt32(output.TotalNumberOfInvalidValues),
|
|
2697
2675
|
};
|
|
2698
2676
|
};
|
|
2699
|
-
const
|
|
2677
|
+
const de_LabelGroupSummaries = (output, context) => {
|
|
2700
2678
|
const retVal = (output || [])
|
|
2701
2679
|
.filter((e) => e != null)
|
|
2702
2680
|
.map((entry) => {
|
|
2703
2681
|
if (entry === null) {
|
|
2704
2682
|
return null;
|
|
2705
2683
|
}
|
|
2706
|
-
return
|
|
2684
|
+
return de_LabelGroupSummary(entry, context);
|
|
2707
2685
|
});
|
|
2708
2686
|
return retVal;
|
|
2709
2687
|
};
|
|
2710
|
-
const
|
|
2688
|
+
const de_LabelGroupSummary = (output, context) => {
|
|
2711
2689
|
return {
|
|
2712
2690
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2713
2691
|
LabelGroupArn: __expectString(output.LabelGroupArn),
|
|
@@ -2715,32 +2693,32 @@ const deserializeAws_json1_0LabelGroupSummary = (output, context) => {
|
|
|
2715
2693
|
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2716
2694
|
};
|
|
2717
2695
|
};
|
|
2718
|
-
const
|
|
2696
|
+
const de_LabelsInputConfiguration = (output, context) => {
|
|
2719
2697
|
return {
|
|
2720
2698
|
LabelGroupName: __expectString(output.LabelGroupName),
|
|
2721
2699
|
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2722
|
-
?
|
|
2700
|
+
? de_LabelsS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2723
2701
|
: undefined,
|
|
2724
2702
|
};
|
|
2725
2703
|
};
|
|
2726
|
-
const
|
|
2704
|
+
const de_LabelsS3InputConfiguration = (output, context) => {
|
|
2727
2705
|
return {
|
|
2728
2706
|
Bucket: __expectString(output.Bucket),
|
|
2729
2707
|
Prefix: __expectString(output.Prefix),
|
|
2730
2708
|
};
|
|
2731
2709
|
};
|
|
2732
|
-
const
|
|
2710
|
+
const de_LabelSummaries = (output, context) => {
|
|
2733
2711
|
const retVal = (output || [])
|
|
2734
2712
|
.filter((e) => e != null)
|
|
2735
2713
|
.map((entry) => {
|
|
2736
2714
|
if (entry === null) {
|
|
2737
2715
|
return null;
|
|
2738
2716
|
}
|
|
2739
|
-
return
|
|
2717
|
+
return de_LabelSummary(entry, context);
|
|
2740
2718
|
});
|
|
2741
2719
|
return retVal;
|
|
2742
2720
|
};
|
|
2743
|
-
const
|
|
2721
|
+
const de_LabelSummary = (output, context) => {
|
|
2744
2722
|
return {
|
|
2745
2723
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2746
2724
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
@@ -2753,120 +2731,116 @@ const deserializeAws_json1_0LabelSummary = (output, context) => {
|
|
|
2753
2731
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2754
2732
|
};
|
|
2755
2733
|
};
|
|
2756
|
-
const
|
|
2734
|
+
const de_LargeTimestampGaps = (output, context) => {
|
|
2757
2735
|
return {
|
|
2758
2736
|
MaxTimestampGapInDays: __expectInt32(output.MaxTimestampGapInDays),
|
|
2759
2737
|
NumberOfLargeTimestampGaps: __expectInt32(output.NumberOfLargeTimestampGaps),
|
|
2760
2738
|
Status: __expectString(output.Status),
|
|
2761
2739
|
};
|
|
2762
2740
|
};
|
|
2763
|
-
const
|
|
2741
|
+
const de_ListDataIngestionJobsResponse = (output, context) => {
|
|
2764
2742
|
return {
|
|
2765
2743
|
DataIngestionJobSummaries: output.DataIngestionJobSummaries != null
|
|
2766
|
-
?
|
|
2744
|
+
? de_DataIngestionJobSummaries(output.DataIngestionJobSummaries, context)
|
|
2767
2745
|
: undefined,
|
|
2768
2746
|
NextToken: __expectString(output.NextToken),
|
|
2769
2747
|
};
|
|
2770
2748
|
};
|
|
2771
|
-
const
|
|
2749
|
+
const de_ListDatasetsResponse = (output, context) => {
|
|
2772
2750
|
return {
|
|
2773
|
-
DatasetSummaries: output.DatasetSummaries != null
|
|
2774
|
-
? deserializeAws_json1_0DatasetSummaries(output.DatasetSummaries, context)
|
|
2775
|
-
: undefined,
|
|
2751
|
+
DatasetSummaries: output.DatasetSummaries != null ? de_DatasetSummaries(output.DatasetSummaries, context) : undefined,
|
|
2776
2752
|
NextToken: __expectString(output.NextToken),
|
|
2777
2753
|
};
|
|
2778
2754
|
};
|
|
2779
|
-
const
|
|
2755
|
+
const de_ListInferenceEventsResponse = (output, context) => {
|
|
2780
2756
|
return {
|
|
2781
2757
|
InferenceEventSummaries: output.InferenceEventSummaries != null
|
|
2782
|
-
?
|
|
2758
|
+
? de_InferenceEventSummaries(output.InferenceEventSummaries, context)
|
|
2783
2759
|
: undefined,
|
|
2784
2760
|
NextToken: __expectString(output.NextToken),
|
|
2785
2761
|
};
|
|
2786
2762
|
};
|
|
2787
|
-
const
|
|
2763
|
+
const de_ListInferenceExecutionsResponse = (output, context) => {
|
|
2788
2764
|
return {
|
|
2789
2765
|
InferenceExecutionSummaries: output.InferenceExecutionSummaries != null
|
|
2790
|
-
?
|
|
2766
|
+
? de_InferenceExecutionSummaries(output.InferenceExecutionSummaries, context)
|
|
2791
2767
|
: undefined,
|
|
2792
2768
|
NextToken: __expectString(output.NextToken),
|
|
2793
2769
|
};
|
|
2794
2770
|
};
|
|
2795
|
-
const
|
|
2771
|
+
const de_ListInferenceSchedulersResponse = (output, context) => {
|
|
2796
2772
|
return {
|
|
2797
2773
|
InferenceSchedulerSummaries: output.InferenceSchedulerSummaries != null
|
|
2798
|
-
?
|
|
2774
|
+
? de_InferenceSchedulerSummaries(output.InferenceSchedulerSummaries, context)
|
|
2799
2775
|
: undefined,
|
|
2800
2776
|
NextToken: __expectString(output.NextToken),
|
|
2801
2777
|
};
|
|
2802
2778
|
};
|
|
2803
|
-
const
|
|
2779
|
+
const de_ListLabelGroupsResponse = (output, context) => {
|
|
2804
2780
|
return {
|
|
2805
|
-
LabelGroupSummaries: output.LabelGroupSummaries != null
|
|
2806
|
-
? deserializeAws_json1_0LabelGroupSummaries(output.LabelGroupSummaries, context)
|
|
2807
|
-
: undefined,
|
|
2781
|
+
LabelGroupSummaries: output.LabelGroupSummaries != null ? de_LabelGroupSummaries(output.LabelGroupSummaries, context) : undefined,
|
|
2808
2782
|
NextToken: __expectString(output.NextToken),
|
|
2809
2783
|
};
|
|
2810
2784
|
};
|
|
2811
|
-
const
|
|
2785
|
+
const de_ListLabelsResponse = (output, context) => {
|
|
2812
2786
|
return {
|
|
2813
|
-
LabelSummaries: output.LabelSummaries != null ?
|
|
2787
|
+
LabelSummaries: output.LabelSummaries != null ? de_LabelSummaries(output.LabelSummaries, context) : undefined,
|
|
2814
2788
|
NextToken: __expectString(output.NextToken),
|
|
2815
2789
|
};
|
|
2816
2790
|
};
|
|
2817
|
-
const
|
|
2791
|
+
const de_ListModelsResponse = (output, context) => {
|
|
2818
2792
|
return {
|
|
2819
|
-
ModelSummaries: output.ModelSummaries != null ?
|
|
2793
|
+
ModelSummaries: output.ModelSummaries != null ? de_ModelSummaries(output.ModelSummaries, context) : undefined,
|
|
2820
2794
|
NextToken: __expectString(output.NextToken),
|
|
2821
2795
|
};
|
|
2822
2796
|
};
|
|
2823
|
-
const
|
|
2797
|
+
const de_ListOfDiscardedFiles = (output, context) => {
|
|
2824
2798
|
const retVal = (output || [])
|
|
2825
2799
|
.filter((e) => e != null)
|
|
2826
2800
|
.map((entry) => {
|
|
2827
2801
|
if (entry === null) {
|
|
2828
2802
|
return null;
|
|
2829
2803
|
}
|
|
2830
|
-
return
|
|
2804
|
+
return de_S3Object(entry, context);
|
|
2831
2805
|
});
|
|
2832
2806
|
return retVal;
|
|
2833
2807
|
};
|
|
2834
|
-
const
|
|
2808
|
+
const de_ListSensorStatisticsResponse = (output, context) => {
|
|
2835
2809
|
return {
|
|
2836
2810
|
NextToken: __expectString(output.NextToken),
|
|
2837
2811
|
SensorStatisticsSummaries: output.SensorStatisticsSummaries != null
|
|
2838
|
-
?
|
|
2812
|
+
? de_SensorStatisticsSummaries(output.SensorStatisticsSummaries, context)
|
|
2839
2813
|
: undefined,
|
|
2840
2814
|
};
|
|
2841
2815
|
};
|
|
2842
|
-
const
|
|
2816
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2843
2817
|
return {
|
|
2844
|
-
Tags: output.Tags != null ?
|
|
2818
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2845
2819
|
};
|
|
2846
2820
|
};
|
|
2847
|
-
const
|
|
2821
|
+
const de_MissingCompleteSensorData = (output, context) => {
|
|
2848
2822
|
return {
|
|
2849
2823
|
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2850
2824
|
};
|
|
2851
2825
|
};
|
|
2852
|
-
const
|
|
2826
|
+
const de_MissingSensorData = (output, context) => {
|
|
2853
2827
|
return {
|
|
2854
2828
|
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2855
2829
|
TotalNumberOfMissingValues: __expectInt32(output.TotalNumberOfMissingValues),
|
|
2856
2830
|
};
|
|
2857
2831
|
};
|
|
2858
|
-
const
|
|
2832
|
+
const de_ModelSummaries = (output, context) => {
|
|
2859
2833
|
const retVal = (output || [])
|
|
2860
2834
|
.filter((e) => e != null)
|
|
2861
2835
|
.map((entry) => {
|
|
2862
2836
|
if (entry === null) {
|
|
2863
2837
|
return null;
|
|
2864
2838
|
}
|
|
2865
|
-
return
|
|
2839
|
+
return de_ModelSummary(entry, context);
|
|
2866
2840
|
});
|
|
2867
2841
|
return retVal;
|
|
2868
2842
|
};
|
|
2869
|
-
const
|
|
2843
|
+
const de_ModelSummary = (output, context) => {
|
|
2870
2844
|
return {
|
|
2871
2845
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2872
2846
|
DatasetArn: __expectString(output.DatasetArn),
|
|
@@ -2876,44 +2850,42 @@ const deserializeAws_json1_0ModelSummary = (output, context) => {
|
|
|
2876
2850
|
Status: __expectString(output.Status),
|
|
2877
2851
|
};
|
|
2878
2852
|
};
|
|
2879
|
-
const
|
|
2853
|
+
const de_MonotonicValues = (output, context) => {
|
|
2880
2854
|
return {
|
|
2881
2855
|
Monotonicity: __expectString(output.Monotonicity),
|
|
2882
2856
|
Status: __expectString(output.Status),
|
|
2883
2857
|
};
|
|
2884
2858
|
};
|
|
2885
|
-
const
|
|
2859
|
+
const de_MultipleOperatingModes = (output, context) => {
|
|
2886
2860
|
return {
|
|
2887
2861
|
Status: __expectString(output.Status),
|
|
2888
2862
|
};
|
|
2889
2863
|
};
|
|
2890
|
-
const
|
|
2864
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2891
2865
|
return {
|
|
2892
2866
|
Message: __expectString(output.Message),
|
|
2893
2867
|
};
|
|
2894
2868
|
};
|
|
2895
|
-
const
|
|
2869
|
+
const de_S3Object = (output, context) => {
|
|
2896
2870
|
return {
|
|
2897
2871
|
Bucket: __expectString(output.Bucket),
|
|
2898
2872
|
Key: __expectString(output.Key),
|
|
2899
2873
|
};
|
|
2900
2874
|
};
|
|
2901
|
-
const
|
|
2875
|
+
const de_SensorStatisticsSummaries = (output, context) => {
|
|
2902
2876
|
const retVal = (output || [])
|
|
2903
2877
|
.filter((e) => e != null)
|
|
2904
2878
|
.map((entry) => {
|
|
2905
2879
|
if (entry === null) {
|
|
2906
2880
|
return null;
|
|
2907
2881
|
}
|
|
2908
|
-
return
|
|
2882
|
+
return de_SensorStatisticsSummary(entry, context);
|
|
2909
2883
|
});
|
|
2910
2884
|
return retVal;
|
|
2911
2885
|
};
|
|
2912
|
-
const
|
|
2886
|
+
const de_SensorStatisticsSummary = (output, context) => {
|
|
2913
2887
|
return {
|
|
2914
|
-
CategoricalValues: output.CategoricalValues != null
|
|
2915
|
-
? deserializeAws_json1_0CategoricalValues(output.CategoricalValues, context)
|
|
2916
|
-
: undefined,
|
|
2888
|
+
CategoricalValues: output.CategoricalValues != null ? de_CategoricalValues(output.CategoricalValues, context) : undefined,
|
|
2917
2889
|
ComponentName: __expectString(output.ComponentName),
|
|
2918
2890
|
DataEndTime: output.DataEndTime != null
|
|
2919
2891
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataEndTime)))
|
|
@@ -2922,43 +2894,35 @@ const deserializeAws_json1_0SensorStatisticsSummary = (output, context) => {
|
|
|
2922
2894
|
DataStartTime: output.DataStartTime != null
|
|
2923
2895
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DataStartTime)))
|
|
2924
2896
|
: undefined,
|
|
2925
|
-
DuplicateTimestamps: output.DuplicateTimestamps != null
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
InvalidValues: output.InvalidValues != null ? deserializeAws_json1_0CountPercent(output.InvalidValues, context) : undefined,
|
|
2932
|
-
LargeTimestampGaps: output.LargeTimestampGaps != null
|
|
2933
|
-
? deserializeAws_json1_0LargeTimestampGaps(output.LargeTimestampGaps, context)
|
|
2934
|
-
: undefined,
|
|
2935
|
-
MissingValues: output.MissingValues != null ? deserializeAws_json1_0CountPercent(output.MissingValues, context) : undefined,
|
|
2936
|
-
MonotonicValues: output.MonotonicValues != null
|
|
2937
|
-
? deserializeAws_json1_0MonotonicValues(output.MonotonicValues, context)
|
|
2938
|
-
: undefined,
|
|
2897
|
+
DuplicateTimestamps: output.DuplicateTimestamps != null ? de_CountPercent(output.DuplicateTimestamps, context) : undefined,
|
|
2898
|
+
InvalidDateEntries: output.InvalidDateEntries != null ? de_CountPercent(output.InvalidDateEntries, context) : undefined,
|
|
2899
|
+
InvalidValues: output.InvalidValues != null ? de_CountPercent(output.InvalidValues, context) : undefined,
|
|
2900
|
+
LargeTimestampGaps: output.LargeTimestampGaps != null ? de_LargeTimestampGaps(output.LargeTimestampGaps, context) : undefined,
|
|
2901
|
+
MissingValues: output.MissingValues != null ? de_CountPercent(output.MissingValues, context) : undefined,
|
|
2902
|
+
MonotonicValues: output.MonotonicValues != null ? de_MonotonicValues(output.MonotonicValues, context) : undefined,
|
|
2939
2903
|
MultipleOperatingModes: output.MultipleOperatingModes != null
|
|
2940
|
-
?
|
|
2904
|
+
? de_MultipleOperatingModes(output.MultipleOperatingModes, context)
|
|
2941
2905
|
: undefined,
|
|
2942
2906
|
SensorName: __expectString(output.SensorName),
|
|
2943
2907
|
};
|
|
2944
2908
|
};
|
|
2945
|
-
const
|
|
2909
|
+
const de_SensorsWithShortDateRange = (output, context) => {
|
|
2946
2910
|
return {
|
|
2947
2911
|
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2948
2912
|
};
|
|
2949
2913
|
};
|
|
2950
|
-
const
|
|
2914
|
+
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2951
2915
|
return {
|
|
2952
2916
|
Message: __expectString(output.Message),
|
|
2953
2917
|
};
|
|
2954
2918
|
};
|
|
2955
|
-
const
|
|
2919
|
+
const de_StartDataIngestionJobResponse = (output, context) => {
|
|
2956
2920
|
return {
|
|
2957
2921
|
JobId: __expectString(output.JobId),
|
|
2958
2922
|
Status: __expectString(output.Status),
|
|
2959
2923
|
};
|
|
2960
2924
|
};
|
|
2961
|
-
const
|
|
2925
|
+
const de_StartInferenceSchedulerResponse = (output, context) => {
|
|
2962
2926
|
return {
|
|
2963
2927
|
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2964
2928
|
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
@@ -2967,7 +2931,7 @@ const deserializeAws_json1_0StartInferenceSchedulerResponse = (output, context)
|
|
|
2967
2931
|
Status: __expectString(output.Status),
|
|
2968
2932
|
};
|
|
2969
2933
|
};
|
|
2970
|
-
const
|
|
2934
|
+
const de_StopInferenceSchedulerResponse = (output, context) => {
|
|
2971
2935
|
return {
|
|
2972
2936
|
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2973
2937
|
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
@@ -2976,40 +2940,40 @@ const deserializeAws_json1_0StopInferenceSchedulerResponse = (output, context) =
|
|
|
2976
2940
|
Status: __expectString(output.Status),
|
|
2977
2941
|
};
|
|
2978
2942
|
};
|
|
2979
|
-
const
|
|
2943
|
+
const de_Tag = (output, context) => {
|
|
2980
2944
|
return {
|
|
2981
2945
|
Key: __expectString(output.Key),
|
|
2982
2946
|
Value: __expectString(output.Value),
|
|
2983
2947
|
};
|
|
2984
2948
|
};
|
|
2985
|
-
const
|
|
2949
|
+
const de_TagList = (output, context) => {
|
|
2986
2950
|
const retVal = (output || [])
|
|
2987
2951
|
.filter((e) => e != null)
|
|
2988
2952
|
.map((entry) => {
|
|
2989
2953
|
if (entry === null) {
|
|
2990
2954
|
return null;
|
|
2991
2955
|
}
|
|
2992
|
-
return
|
|
2956
|
+
return de_Tag(entry, context);
|
|
2993
2957
|
});
|
|
2994
2958
|
return retVal;
|
|
2995
2959
|
};
|
|
2996
|
-
const
|
|
2960
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2997
2961
|
return {};
|
|
2998
2962
|
};
|
|
2999
|
-
const
|
|
2963
|
+
const de_ThrottlingException = (output, context) => {
|
|
3000
2964
|
return {
|
|
3001
2965
|
Message: __expectString(output.Message),
|
|
3002
2966
|
};
|
|
3003
2967
|
};
|
|
3004
|
-
const
|
|
2968
|
+
const de_UnsupportedTimestamps = (output, context) => {
|
|
3005
2969
|
return {
|
|
3006
2970
|
TotalNumberOfUnsupportedTimestamps: __expectInt32(output.TotalNumberOfUnsupportedTimestamps),
|
|
3007
2971
|
};
|
|
3008
2972
|
};
|
|
3009
|
-
const
|
|
2973
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
3010
2974
|
return {};
|
|
3011
2975
|
};
|
|
3012
|
-
const
|
|
2976
|
+
const de_ValidationException = (output, context) => {
|
|
3013
2977
|
return {
|
|
3014
2978
|
Message: __expectString(output.Message),
|
|
3015
2979
|
};
|