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