@aws-sdk/client-iotthingsgraph 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +310 -979
- package/dist-es/protocols/Aws_json1_1.js +311 -980
- package/package.json +6 -6
|
@@ -1,320 +1,215 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { IoTThingsGraphServiceException as __BaseException } from "../models/IoTThingsGraphServiceException";
|
|
4
4
|
import { InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateEntityToThingCommand = async (input, context) => {
|
|
6
|
-
const headers =
|
|
7
|
-
"content-type": "application/x-amz-json-1.1",
|
|
8
|
-
"x-amz-target": "IotThingsGraphFrontEndService.AssociateEntityToThing",
|
|
9
|
-
};
|
|
6
|
+
const headers = sharedHeaders("AssociateEntityToThing");
|
|
10
7
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
12
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
10
|
};
|
|
14
11
|
export const se_CreateFlowTemplateCommand = async (input, context) => {
|
|
15
|
-
const headers =
|
|
16
|
-
"content-type": "application/x-amz-json-1.1",
|
|
17
|
-
"x-amz-target": "IotThingsGraphFrontEndService.CreateFlowTemplate",
|
|
18
|
-
};
|
|
12
|
+
const headers = sharedHeaders("CreateFlowTemplate");
|
|
19
13
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
21
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
16
|
};
|
|
23
17
|
export const se_CreateSystemInstanceCommand = async (input, context) => {
|
|
24
|
-
const headers =
|
|
25
|
-
"content-type": "application/x-amz-json-1.1",
|
|
26
|
-
"x-amz-target": "IotThingsGraphFrontEndService.CreateSystemInstance",
|
|
27
|
-
};
|
|
18
|
+
const headers = sharedHeaders("CreateSystemInstance");
|
|
28
19
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
30
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
22
|
};
|
|
32
23
|
export const se_CreateSystemTemplateCommand = async (input, context) => {
|
|
33
|
-
const headers =
|
|
34
|
-
"content-type": "application/x-amz-json-1.1",
|
|
35
|
-
"x-amz-target": "IotThingsGraphFrontEndService.CreateSystemTemplate",
|
|
36
|
-
};
|
|
24
|
+
const headers = sharedHeaders("CreateSystemTemplate");
|
|
37
25
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
39
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
28
|
};
|
|
41
29
|
export const se_DeleteFlowTemplateCommand = async (input, context) => {
|
|
42
|
-
const headers =
|
|
43
|
-
"content-type": "application/x-amz-json-1.1",
|
|
44
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeleteFlowTemplate",
|
|
45
|
-
};
|
|
30
|
+
const headers = sharedHeaders("DeleteFlowTemplate");
|
|
46
31
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
48
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
34
|
};
|
|
50
35
|
export const se_DeleteNamespaceCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeleteNamespace",
|
|
54
|
-
};
|
|
36
|
+
const headers = sharedHeaders("DeleteNamespace");
|
|
55
37
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
57
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
40
|
};
|
|
59
41
|
export const se_DeleteSystemInstanceCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.1",
|
|
62
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeleteSystemInstance",
|
|
63
|
-
};
|
|
42
|
+
const headers = sharedHeaders("DeleteSystemInstance");
|
|
64
43
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
66
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
46
|
};
|
|
68
47
|
export const se_DeleteSystemTemplateCommand = async (input, context) => {
|
|
69
|
-
const headers =
|
|
70
|
-
"content-type": "application/x-amz-json-1.1",
|
|
71
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeleteSystemTemplate",
|
|
72
|
-
};
|
|
48
|
+
const headers = sharedHeaders("DeleteSystemTemplate");
|
|
73
49
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
75
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
52
|
};
|
|
77
53
|
export const se_DeploySystemInstanceCommand = async (input, context) => {
|
|
78
|
-
const headers =
|
|
79
|
-
"content-type": "application/x-amz-json-1.1",
|
|
80
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeploySystemInstance",
|
|
81
|
-
};
|
|
54
|
+
const headers = sharedHeaders("DeploySystemInstance");
|
|
82
55
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
84
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
58
|
};
|
|
86
59
|
export const se_DeprecateFlowTemplateCommand = async (input, context) => {
|
|
87
|
-
const headers =
|
|
88
|
-
"content-type": "application/x-amz-json-1.1",
|
|
89
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeprecateFlowTemplate",
|
|
90
|
-
};
|
|
60
|
+
const headers = sharedHeaders("DeprecateFlowTemplate");
|
|
91
61
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
93
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
64
|
};
|
|
95
65
|
export const se_DeprecateSystemTemplateCommand = async (input, context) => {
|
|
96
|
-
const headers =
|
|
97
|
-
"content-type": "application/x-amz-json-1.1",
|
|
98
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DeprecateSystemTemplate",
|
|
99
|
-
};
|
|
66
|
+
const headers = sharedHeaders("DeprecateSystemTemplate");
|
|
100
67
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
102
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
70
|
};
|
|
104
71
|
export const se_DescribeNamespaceCommand = async (input, context) => {
|
|
105
|
-
const headers =
|
|
106
|
-
"content-type": "application/x-amz-json-1.1",
|
|
107
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DescribeNamespace",
|
|
108
|
-
};
|
|
72
|
+
const headers = sharedHeaders("DescribeNamespace");
|
|
109
73
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
111
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
76
|
};
|
|
113
77
|
export const se_DissociateEntityFromThingCommand = async (input, context) => {
|
|
114
|
-
const headers =
|
|
115
|
-
"content-type": "application/x-amz-json-1.1",
|
|
116
|
-
"x-amz-target": "IotThingsGraphFrontEndService.DissociateEntityFromThing",
|
|
117
|
-
};
|
|
78
|
+
const headers = sharedHeaders("DissociateEntityFromThing");
|
|
118
79
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
120
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
82
|
};
|
|
122
83
|
export const se_GetEntitiesCommand = async (input, context) => {
|
|
123
|
-
const headers =
|
|
124
|
-
"content-type": "application/x-amz-json-1.1",
|
|
125
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetEntities",
|
|
126
|
-
};
|
|
84
|
+
const headers = sharedHeaders("GetEntities");
|
|
127
85
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
129
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
88
|
};
|
|
131
89
|
export const se_GetFlowTemplateCommand = async (input, context) => {
|
|
132
|
-
const headers =
|
|
133
|
-
"content-type": "application/x-amz-json-1.1",
|
|
134
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetFlowTemplate",
|
|
135
|
-
};
|
|
90
|
+
const headers = sharedHeaders("GetFlowTemplate");
|
|
136
91
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
138
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
94
|
};
|
|
140
95
|
export const se_GetFlowTemplateRevisionsCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetFlowTemplateRevisions",
|
|
144
|
-
};
|
|
96
|
+
const headers = sharedHeaders("GetFlowTemplateRevisions");
|
|
145
97
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
147
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
100
|
};
|
|
149
101
|
export const se_GetNamespaceDeletionStatusCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.1",
|
|
152
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetNamespaceDeletionStatus",
|
|
153
|
-
};
|
|
102
|
+
const headers = sharedHeaders("GetNamespaceDeletionStatus");
|
|
154
103
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
156
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
106
|
};
|
|
158
107
|
export const se_GetSystemInstanceCommand = async (input, context) => {
|
|
159
|
-
const headers =
|
|
160
|
-
"content-type": "application/x-amz-json-1.1",
|
|
161
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetSystemInstance",
|
|
162
|
-
};
|
|
108
|
+
const headers = sharedHeaders("GetSystemInstance");
|
|
163
109
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
165
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
112
|
};
|
|
167
113
|
export const se_GetSystemTemplateCommand = async (input, context) => {
|
|
168
|
-
const headers =
|
|
169
|
-
"content-type": "application/x-amz-json-1.1",
|
|
170
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetSystemTemplate",
|
|
171
|
-
};
|
|
114
|
+
const headers = sharedHeaders("GetSystemTemplate");
|
|
172
115
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
174
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
118
|
};
|
|
176
119
|
export const se_GetSystemTemplateRevisionsCommand = async (input, context) => {
|
|
177
|
-
const headers =
|
|
178
|
-
"content-type": "application/x-amz-json-1.1",
|
|
179
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetSystemTemplateRevisions",
|
|
180
|
-
};
|
|
120
|
+
const headers = sharedHeaders("GetSystemTemplateRevisions");
|
|
181
121
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
183
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
124
|
};
|
|
185
125
|
export const se_GetUploadStatusCommand = async (input, context) => {
|
|
186
|
-
const headers =
|
|
187
|
-
"content-type": "application/x-amz-json-1.1",
|
|
188
|
-
"x-amz-target": "IotThingsGraphFrontEndService.GetUploadStatus",
|
|
189
|
-
};
|
|
126
|
+
const headers = sharedHeaders("GetUploadStatus");
|
|
190
127
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
192
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
130
|
};
|
|
194
131
|
export const se_ListFlowExecutionMessagesCommand = async (input, context) => {
|
|
195
|
-
const headers =
|
|
196
|
-
"content-type": "application/x-amz-json-1.1",
|
|
197
|
-
"x-amz-target": "IotThingsGraphFrontEndService.ListFlowExecutionMessages",
|
|
198
|
-
};
|
|
132
|
+
const headers = sharedHeaders("ListFlowExecutionMessages");
|
|
199
133
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
201
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
136
|
};
|
|
203
137
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
204
|
-
const headers =
|
|
205
|
-
"content-type": "application/x-amz-json-1.1",
|
|
206
|
-
"x-amz-target": "IotThingsGraphFrontEndService.ListTagsForResource",
|
|
207
|
-
};
|
|
138
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
208
139
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
210
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
142
|
};
|
|
212
143
|
export const se_SearchEntitiesCommand = async (input, context) => {
|
|
213
|
-
const headers =
|
|
214
|
-
"content-type": "application/x-amz-json-1.1",
|
|
215
|
-
"x-amz-target": "IotThingsGraphFrontEndService.SearchEntities",
|
|
216
|
-
};
|
|
144
|
+
const headers = sharedHeaders("SearchEntities");
|
|
217
145
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
219
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
148
|
};
|
|
221
149
|
export const se_SearchFlowExecutionsCommand = async (input, context) => {
|
|
222
|
-
const headers =
|
|
223
|
-
"content-type": "application/x-amz-json-1.1",
|
|
224
|
-
"x-amz-target": "IotThingsGraphFrontEndService.SearchFlowExecutions",
|
|
225
|
-
};
|
|
150
|
+
const headers = sharedHeaders("SearchFlowExecutions");
|
|
226
151
|
let body;
|
|
227
152
|
body = JSON.stringify(se_SearchFlowExecutionsRequest(input, context));
|
|
228
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
154
|
};
|
|
230
155
|
export const se_SearchFlowTemplatesCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "IotThingsGraphFrontEndService.SearchFlowTemplates",
|
|
234
|
-
};
|
|
156
|
+
const headers = sharedHeaders("SearchFlowTemplates");
|
|
235
157
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
237
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
160
|
};
|
|
239
161
|
export const se_SearchSystemInstancesCommand = async (input, context) => {
|
|
240
|
-
const headers =
|
|
241
|
-
"content-type": "application/x-amz-json-1.1",
|
|
242
|
-
"x-amz-target": "IotThingsGraphFrontEndService.SearchSystemInstances",
|
|
243
|
-
};
|
|
162
|
+
const headers = sharedHeaders("SearchSystemInstances");
|
|
244
163
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
246
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
166
|
};
|
|
248
167
|
export const se_SearchSystemTemplatesCommand = async (input, context) => {
|
|
249
|
-
const headers =
|
|
250
|
-
"content-type": "application/x-amz-json-1.1",
|
|
251
|
-
"x-amz-target": "IotThingsGraphFrontEndService.SearchSystemTemplates",
|
|
252
|
-
};
|
|
168
|
+
const headers = sharedHeaders("SearchSystemTemplates");
|
|
253
169
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
255
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
172
|
};
|
|
257
173
|
export const se_SearchThingsCommand = async (input, context) => {
|
|
258
|
-
const headers =
|
|
259
|
-
"content-type": "application/x-amz-json-1.1",
|
|
260
|
-
"x-amz-target": "IotThingsGraphFrontEndService.SearchThings",
|
|
261
|
-
};
|
|
174
|
+
const headers = sharedHeaders("SearchThings");
|
|
262
175
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
264
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
178
|
};
|
|
266
179
|
export const se_TagResourceCommand = async (input, context) => {
|
|
267
|
-
const headers =
|
|
268
|
-
"content-type": "application/x-amz-json-1.1",
|
|
269
|
-
"x-amz-target": "IotThingsGraphFrontEndService.TagResource",
|
|
270
|
-
};
|
|
180
|
+
const headers = sharedHeaders("TagResource");
|
|
271
181
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
273
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
184
|
};
|
|
275
185
|
export const se_UndeploySystemInstanceCommand = async (input, context) => {
|
|
276
|
-
const headers =
|
|
277
|
-
"content-type": "application/x-amz-json-1.1",
|
|
278
|
-
"x-amz-target": "IotThingsGraphFrontEndService.UndeploySystemInstance",
|
|
279
|
-
};
|
|
186
|
+
const headers = sharedHeaders("UndeploySystemInstance");
|
|
280
187
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
282
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
190
|
};
|
|
284
191
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
285
|
-
const headers =
|
|
286
|
-
"content-type": "application/x-amz-json-1.1",
|
|
287
|
-
"x-amz-target": "IotThingsGraphFrontEndService.UntagResource",
|
|
288
|
-
};
|
|
192
|
+
const headers = sharedHeaders("UntagResource");
|
|
289
193
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
291
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
196
|
};
|
|
293
197
|
export const se_UpdateFlowTemplateCommand = async (input, context) => {
|
|
294
|
-
const headers =
|
|
295
|
-
"content-type": "application/x-amz-json-1.1",
|
|
296
|
-
"x-amz-target": "IotThingsGraphFrontEndService.UpdateFlowTemplate",
|
|
297
|
-
};
|
|
198
|
+
const headers = sharedHeaders("UpdateFlowTemplate");
|
|
298
199
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
300
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
202
|
};
|
|
302
203
|
export const se_UpdateSystemTemplateCommand = async (input, context) => {
|
|
303
|
-
const headers =
|
|
304
|
-
"content-type": "application/x-amz-json-1.1",
|
|
305
|
-
"x-amz-target": "IotThingsGraphFrontEndService.UpdateSystemTemplate",
|
|
306
|
-
};
|
|
204
|
+
const headers = sharedHeaders("UpdateSystemTemplate");
|
|
307
205
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
309
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
208
|
};
|
|
311
209
|
export const se_UploadEntityDefinitionsCommand = async (input, context) => {
|
|
312
|
-
const headers =
|
|
313
|
-
"content-type": "application/x-amz-json-1.1",
|
|
314
|
-
"x-amz-target": "IotThingsGraphFrontEndService.UploadEntityDefinitions",
|
|
315
|
-
};
|
|
210
|
+
const headers = sharedHeaders("UploadEntityDefinitions");
|
|
316
211
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
318
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
214
|
};
|
|
320
215
|
export const de_AssociateEntityToThingCommand = async (output, context) => {
|
|
@@ -323,12 +218,12 @@ export const de_AssociateEntityToThingCommand = async (output, context) => {
|
|
|
323
218
|
}
|
|
324
219
|
const data = await parseBody(output.body, context);
|
|
325
220
|
let contents = {};
|
|
326
|
-
contents =
|
|
221
|
+
contents = _json(data);
|
|
327
222
|
const response = {
|
|
328
223
|
$metadata: deserializeMetadata(output),
|
|
329
224
|
...contents,
|
|
330
225
|
};
|
|
331
|
-
return
|
|
226
|
+
return response;
|
|
332
227
|
};
|
|
333
228
|
const de_AssociateEntityToThingCommandError = async (output, context) => {
|
|
334
229
|
const parsedOutput = {
|
|
@@ -351,10 +246,9 @@ const de_AssociateEntityToThingCommandError = async (output, context) => {
|
|
|
351
246
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
352
247
|
default:
|
|
353
248
|
const parsedBody = parsedOutput.body;
|
|
354
|
-
throwDefaultError({
|
|
249
|
+
return throwDefaultError({
|
|
355
250
|
output,
|
|
356
251
|
parsedBody,
|
|
357
|
-
exceptionCtor: __BaseException,
|
|
358
252
|
errorCode,
|
|
359
253
|
});
|
|
360
254
|
}
|
|
@@ -370,7 +264,7 @@ export const de_CreateFlowTemplateCommand = async (output, context) => {
|
|
|
370
264
|
$metadata: deserializeMetadata(output),
|
|
371
265
|
...contents,
|
|
372
266
|
};
|
|
373
|
-
return
|
|
267
|
+
return response;
|
|
374
268
|
};
|
|
375
269
|
const de_CreateFlowTemplateCommandError = async (output, context) => {
|
|
376
270
|
const parsedOutput = {
|
|
@@ -396,10 +290,9 @@ const de_CreateFlowTemplateCommandError = async (output, context) => {
|
|
|
396
290
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
397
291
|
default:
|
|
398
292
|
const parsedBody = parsedOutput.body;
|
|
399
|
-
throwDefaultError({
|
|
293
|
+
return throwDefaultError({
|
|
400
294
|
output,
|
|
401
295
|
parsedBody,
|
|
402
|
-
exceptionCtor: __BaseException,
|
|
403
296
|
errorCode,
|
|
404
297
|
});
|
|
405
298
|
}
|
|
@@ -415,7 +308,7 @@ export const de_CreateSystemInstanceCommand = async (output, context) => {
|
|
|
415
308
|
$metadata: deserializeMetadata(output),
|
|
416
309
|
...contents,
|
|
417
310
|
};
|
|
418
|
-
return
|
|
311
|
+
return response;
|
|
419
312
|
};
|
|
420
313
|
const de_CreateSystemInstanceCommandError = async (output, context) => {
|
|
421
314
|
const parsedOutput = {
|
|
@@ -441,10 +334,9 @@ const de_CreateSystemInstanceCommandError = async (output, context) => {
|
|
|
441
334
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
442
335
|
default:
|
|
443
336
|
const parsedBody = parsedOutput.body;
|
|
444
|
-
throwDefaultError({
|
|
337
|
+
return throwDefaultError({
|
|
445
338
|
output,
|
|
446
339
|
parsedBody,
|
|
447
|
-
exceptionCtor: __BaseException,
|
|
448
340
|
errorCode,
|
|
449
341
|
});
|
|
450
342
|
}
|
|
@@ -460,7 +352,7 @@ export const de_CreateSystemTemplateCommand = async (output, context) => {
|
|
|
460
352
|
$metadata: deserializeMetadata(output),
|
|
461
353
|
...contents,
|
|
462
354
|
};
|
|
463
|
-
return
|
|
355
|
+
return response;
|
|
464
356
|
};
|
|
465
357
|
const de_CreateSystemTemplateCommandError = async (output, context) => {
|
|
466
358
|
const parsedOutput = {
|
|
@@ -483,10 +375,9 @@ const de_CreateSystemTemplateCommandError = async (output, context) => {
|
|
|
483
375
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
484
376
|
default:
|
|
485
377
|
const parsedBody = parsedOutput.body;
|
|
486
|
-
throwDefaultError({
|
|
378
|
+
return throwDefaultError({
|
|
487
379
|
output,
|
|
488
380
|
parsedBody,
|
|
489
|
-
exceptionCtor: __BaseException,
|
|
490
381
|
errorCode,
|
|
491
382
|
});
|
|
492
383
|
}
|
|
@@ -497,12 +388,12 @@ export const de_DeleteFlowTemplateCommand = async (output, context) => {
|
|
|
497
388
|
}
|
|
498
389
|
const data = await parseBody(output.body, context);
|
|
499
390
|
let contents = {};
|
|
500
|
-
contents =
|
|
391
|
+
contents = _json(data);
|
|
501
392
|
const response = {
|
|
502
393
|
$metadata: deserializeMetadata(output),
|
|
503
394
|
...contents,
|
|
504
395
|
};
|
|
505
|
-
return
|
|
396
|
+
return response;
|
|
506
397
|
};
|
|
507
398
|
const de_DeleteFlowTemplateCommandError = async (output, context) => {
|
|
508
399
|
const parsedOutput = {
|
|
@@ -525,10 +416,9 @@ const de_DeleteFlowTemplateCommandError = async (output, context) => {
|
|
|
525
416
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
526
417
|
default:
|
|
527
418
|
const parsedBody = parsedOutput.body;
|
|
528
|
-
throwDefaultError({
|
|
419
|
+
return throwDefaultError({
|
|
529
420
|
output,
|
|
530
421
|
parsedBody,
|
|
531
|
-
exceptionCtor: __BaseException,
|
|
532
422
|
errorCode,
|
|
533
423
|
});
|
|
534
424
|
}
|
|
@@ -539,12 +429,12 @@ export const de_DeleteNamespaceCommand = async (output, context) => {
|
|
|
539
429
|
}
|
|
540
430
|
const data = await parseBody(output.body, context);
|
|
541
431
|
let contents = {};
|
|
542
|
-
contents =
|
|
432
|
+
contents = _json(data);
|
|
543
433
|
const response = {
|
|
544
434
|
$metadata: deserializeMetadata(output),
|
|
545
435
|
...contents,
|
|
546
436
|
};
|
|
547
|
-
return
|
|
437
|
+
return response;
|
|
548
438
|
};
|
|
549
439
|
const de_DeleteNamespaceCommandError = async (output, context) => {
|
|
550
440
|
const parsedOutput = {
|
|
@@ -561,10 +451,9 @@ const de_DeleteNamespaceCommandError = async (output, context) => {
|
|
|
561
451
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
562
452
|
default:
|
|
563
453
|
const parsedBody = parsedOutput.body;
|
|
564
|
-
throwDefaultError({
|
|
454
|
+
return throwDefaultError({
|
|
565
455
|
output,
|
|
566
456
|
parsedBody,
|
|
567
|
-
exceptionCtor: __BaseException,
|
|
568
457
|
errorCode,
|
|
569
458
|
});
|
|
570
459
|
}
|
|
@@ -575,12 +464,12 @@ export const de_DeleteSystemInstanceCommand = async (output, context) => {
|
|
|
575
464
|
}
|
|
576
465
|
const data = await parseBody(output.body, context);
|
|
577
466
|
let contents = {};
|
|
578
|
-
contents =
|
|
467
|
+
contents = _json(data);
|
|
579
468
|
const response = {
|
|
580
469
|
$metadata: deserializeMetadata(output),
|
|
581
470
|
...contents,
|
|
582
471
|
};
|
|
583
|
-
return
|
|
472
|
+
return response;
|
|
584
473
|
};
|
|
585
474
|
const de_DeleteSystemInstanceCommandError = async (output, context) => {
|
|
586
475
|
const parsedOutput = {
|
|
@@ -603,10 +492,9 @@ const de_DeleteSystemInstanceCommandError = async (output, context) => {
|
|
|
603
492
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
604
493
|
default:
|
|
605
494
|
const parsedBody = parsedOutput.body;
|
|
606
|
-
throwDefaultError({
|
|
495
|
+
return throwDefaultError({
|
|
607
496
|
output,
|
|
608
497
|
parsedBody,
|
|
609
|
-
exceptionCtor: __BaseException,
|
|
610
498
|
errorCode,
|
|
611
499
|
});
|
|
612
500
|
}
|
|
@@ -617,12 +505,12 @@ export const de_DeleteSystemTemplateCommand = async (output, context) => {
|
|
|
617
505
|
}
|
|
618
506
|
const data = await parseBody(output.body, context);
|
|
619
507
|
let contents = {};
|
|
620
|
-
contents =
|
|
508
|
+
contents = _json(data);
|
|
621
509
|
const response = {
|
|
622
510
|
$metadata: deserializeMetadata(output),
|
|
623
511
|
...contents,
|
|
624
512
|
};
|
|
625
|
-
return
|
|
513
|
+
return response;
|
|
626
514
|
};
|
|
627
515
|
const de_DeleteSystemTemplateCommandError = async (output, context) => {
|
|
628
516
|
const parsedOutput = {
|
|
@@ -645,10 +533,9 @@ const de_DeleteSystemTemplateCommandError = async (output, context) => {
|
|
|
645
533
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
646
534
|
default:
|
|
647
535
|
const parsedBody = parsedOutput.body;
|
|
648
|
-
throwDefaultError({
|
|
536
|
+
return throwDefaultError({
|
|
649
537
|
output,
|
|
650
538
|
parsedBody,
|
|
651
|
-
exceptionCtor: __BaseException,
|
|
652
539
|
errorCode,
|
|
653
540
|
});
|
|
654
541
|
}
|
|
@@ -664,7 +551,7 @@ export const de_DeploySystemInstanceCommand = async (output, context) => {
|
|
|
664
551
|
$metadata: deserializeMetadata(output),
|
|
665
552
|
...contents,
|
|
666
553
|
};
|
|
667
|
-
return
|
|
554
|
+
return response;
|
|
668
555
|
};
|
|
669
556
|
const de_DeploySystemInstanceCommandError = async (output, context) => {
|
|
670
557
|
const parsedOutput = {
|
|
@@ -690,10 +577,9 @@ const de_DeploySystemInstanceCommandError = async (output, context) => {
|
|
|
690
577
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
691
578
|
default:
|
|
692
579
|
const parsedBody = parsedOutput.body;
|
|
693
|
-
throwDefaultError({
|
|
580
|
+
return throwDefaultError({
|
|
694
581
|
output,
|
|
695
582
|
parsedBody,
|
|
696
|
-
exceptionCtor: __BaseException,
|
|
697
583
|
errorCode,
|
|
698
584
|
});
|
|
699
585
|
}
|
|
@@ -704,12 +590,12 @@ export const de_DeprecateFlowTemplateCommand = async (output, context) => {
|
|
|
704
590
|
}
|
|
705
591
|
const data = await parseBody(output.body, context);
|
|
706
592
|
let contents = {};
|
|
707
|
-
contents =
|
|
593
|
+
contents = _json(data);
|
|
708
594
|
const response = {
|
|
709
595
|
$metadata: deserializeMetadata(output),
|
|
710
596
|
...contents,
|
|
711
597
|
};
|
|
712
|
-
return
|
|
598
|
+
return response;
|
|
713
599
|
};
|
|
714
600
|
const de_DeprecateFlowTemplateCommandError = async (output, context) => {
|
|
715
601
|
const parsedOutput = {
|
|
@@ -732,10 +618,9 @@ const de_DeprecateFlowTemplateCommandError = async (output, context) => {
|
|
|
732
618
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
733
619
|
default:
|
|
734
620
|
const parsedBody = parsedOutput.body;
|
|
735
|
-
throwDefaultError({
|
|
621
|
+
return throwDefaultError({
|
|
736
622
|
output,
|
|
737
623
|
parsedBody,
|
|
738
|
-
exceptionCtor: __BaseException,
|
|
739
624
|
errorCode,
|
|
740
625
|
});
|
|
741
626
|
}
|
|
@@ -746,12 +631,12 @@ export const de_DeprecateSystemTemplateCommand = async (output, context) => {
|
|
|
746
631
|
}
|
|
747
632
|
const data = await parseBody(output.body, context);
|
|
748
633
|
let contents = {};
|
|
749
|
-
contents =
|
|
634
|
+
contents = _json(data);
|
|
750
635
|
const response = {
|
|
751
636
|
$metadata: deserializeMetadata(output),
|
|
752
637
|
...contents,
|
|
753
638
|
};
|
|
754
|
-
return
|
|
639
|
+
return response;
|
|
755
640
|
};
|
|
756
641
|
const de_DeprecateSystemTemplateCommandError = async (output, context) => {
|
|
757
642
|
const parsedOutput = {
|
|
@@ -774,10 +659,9 @@ const de_DeprecateSystemTemplateCommandError = async (output, context) => {
|
|
|
774
659
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
775
660
|
default:
|
|
776
661
|
const parsedBody = parsedOutput.body;
|
|
777
|
-
throwDefaultError({
|
|
662
|
+
return throwDefaultError({
|
|
778
663
|
output,
|
|
779
664
|
parsedBody,
|
|
780
|
-
exceptionCtor: __BaseException,
|
|
781
665
|
errorCode,
|
|
782
666
|
});
|
|
783
667
|
}
|
|
@@ -788,12 +672,12 @@ export const de_DescribeNamespaceCommand = async (output, context) => {
|
|
|
788
672
|
}
|
|
789
673
|
const data = await parseBody(output.body, context);
|
|
790
674
|
let contents = {};
|
|
791
|
-
contents =
|
|
675
|
+
contents = _json(data);
|
|
792
676
|
const response = {
|
|
793
677
|
$metadata: deserializeMetadata(output),
|
|
794
678
|
...contents,
|
|
795
679
|
};
|
|
796
|
-
return
|
|
680
|
+
return response;
|
|
797
681
|
};
|
|
798
682
|
const de_DescribeNamespaceCommandError = async (output, context) => {
|
|
799
683
|
const parsedOutput = {
|
|
@@ -816,10 +700,9 @@ const de_DescribeNamespaceCommandError = async (output, context) => {
|
|
|
816
700
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
817
701
|
default:
|
|
818
702
|
const parsedBody = parsedOutput.body;
|
|
819
|
-
throwDefaultError({
|
|
703
|
+
return throwDefaultError({
|
|
820
704
|
output,
|
|
821
705
|
parsedBody,
|
|
822
|
-
exceptionCtor: __BaseException,
|
|
823
706
|
errorCode,
|
|
824
707
|
});
|
|
825
708
|
}
|
|
@@ -830,12 +713,12 @@ export const de_DissociateEntityFromThingCommand = async (output, context) => {
|
|
|
830
713
|
}
|
|
831
714
|
const data = await parseBody(output.body, context);
|
|
832
715
|
let contents = {};
|
|
833
|
-
contents =
|
|
716
|
+
contents = _json(data);
|
|
834
717
|
const response = {
|
|
835
718
|
$metadata: deserializeMetadata(output),
|
|
836
719
|
...contents,
|
|
837
720
|
};
|
|
838
|
-
return
|
|
721
|
+
return response;
|
|
839
722
|
};
|
|
840
723
|
const de_DissociateEntityFromThingCommandError = async (output, context) => {
|
|
841
724
|
const parsedOutput = {
|
|
@@ -858,10 +741,9 @@ const de_DissociateEntityFromThingCommandError = async (output, context) => {
|
|
|
858
741
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
859
742
|
default:
|
|
860
743
|
const parsedBody = parsedOutput.body;
|
|
861
|
-
throwDefaultError({
|
|
744
|
+
return throwDefaultError({
|
|
862
745
|
output,
|
|
863
746
|
parsedBody,
|
|
864
|
-
exceptionCtor: __BaseException,
|
|
865
747
|
errorCode,
|
|
866
748
|
});
|
|
867
749
|
}
|
|
@@ -877,7 +759,7 @@ export const de_GetEntitiesCommand = async (output, context) => {
|
|
|
877
759
|
$metadata: deserializeMetadata(output),
|
|
878
760
|
...contents,
|
|
879
761
|
};
|
|
880
|
-
return
|
|
762
|
+
return response;
|
|
881
763
|
};
|
|
882
764
|
const de_GetEntitiesCommandError = async (output, context) => {
|
|
883
765
|
const parsedOutput = {
|
|
@@ -900,10 +782,9 @@ const de_GetEntitiesCommandError = async (output, context) => {
|
|
|
900
782
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
901
783
|
default:
|
|
902
784
|
const parsedBody = parsedOutput.body;
|
|
903
|
-
throwDefaultError({
|
|
785
|
+
return throwDefaultError({
|
|
904
786
|
output,
|
|
905
787
|
parsedBody,
|
|
906
|
-
exceptionCtor: __BaseException,
|
|
907
788
|
errorCode,
|
|
908
789
|
});
|
|
909
790
|
}
|
|
@@ -919,7 +800,7 @@ export const de_GetFlowTemplateCommand = async (output, context) => {
|
|
|
919
800
|
$metadata: deserializeMetadata(output),
|
|
920
801
|
...contents,
|
|
921
802
|
};
|
|
922
|
-
return
|
|
803
|
+
return response;
|
|
923
804
|
};
|
|
924
805
|
const de_GetFlowTemplateCommandError = async (output, context) => {
|
|
925
806
|
const parsedOutput = {
|
|
@@ -942,10 +823,9 @@ const de_GetFlowTemplateCommandError = async (output, context) => {
|
|
|
942
823
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
943
824
|
default:
|
|
944
825
|
const parsedBody = parsedOutput.body;
|
|
945
|
-
throwDefaultError({
|
|
826
|
+
return throwDefaultError({
|
|
946
827
|
output,
|
|
947
828
|
parsedBody,
|
|
948
|
-
exceptionCtor: __BaseException,
|
|
949
829
|
errorCode,
|
|
950
830
|
});
|
|
951
831
|
}
|
|
@@ -961,7 +841,7 @@ export const de_GetFlowTemplateRevisionsCommand = async (output, context) => {
|
|
|
961
841
|
$metadata: deserializeMetadata(output),
|
|
962
842
|
...contents,
|
|
963
843
|
};
|
|
964
|
-
return
|
|
844
|
+
return response;
|
|
965
845
|
};
|
|
966
846
|
const de_GetFlowTemplateRevisionsCommandError = async (output, context) => {
|
|
967
847
|
const parsedOutput = {
|
|
@@ -984,10 +864,9 @@ const de_GetFlowTemplateRevisionsCommandError = async (output, context) => {
|
|
|
984
864
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
985
865
|
default:
|
|
986
866
|
const parsedBody = parsedOutput.body;
|
|
987
|
-
throwDefaultError({
|
|
867
|
+
return throwDefaultError({
|
|
988
868
|
output,
|
|
989
869
|
parsedBody,
|
|
990
|
-
exceptionCtor: __BaseException,
|
|
991
870
|
errorCode,
|
|
992
871
|
});
|
|
993
872
|
}
|
|
@@ -998,12 +877,12 @@ export const de_GetNamespaceDeletionStatusCommand = async (output, context) => {
|
|
|
998
877
|
}
|
|
999
878
|
const data = await parseBody(output.body, context);
|
|
1000
879
|
let contents = {};
|
|
1001
|
-
contents =
|
|
880
|
+
contents = _json(data);
|
|
1002
881
|
const response = {
|
|
1003
882
|
$metadata: deserializeMetadata(output),
|
|
1004
883
|
...contents,
|
|
1005
884
|
};
|
|
1006
|
-
return
|
|
885
|
+
return response;
|
|
1007
886
|
};
|
|
1008
887
|
const de_GetNamespaceDeletionStatusCommandError = async (output, context) => {
|
|
1009
888
|
const parsedOutput = {
|
|
@@ -1023,10 +902,9 @@ const de_GetNamespaceDeletionStatusCommandError = async (output, context) => {
|
|
|
1023
902
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1024
903
|
default:
|
|
1025
904
|
const parsedBody = parsedOutput.body;
|
|
1026
|
-
throwDefaultError({
|
|
905
|
+
return throwDefaultError({
|
|
1027
906
|
output,
|
|
1028
907
|
parsedBody,
|
|
1029
|
-
exceptionCtor: __BaseException,
|
|
1030
908
|
errorCode,
|
|
1031
909
|
});
|
|
1032
910
|
}
|
|
@@ -1042,7 +920,7 @@ export const de_GetSystemInstanceCommand = async (output, context) => {
|
|
|
1042
920
|
$metadata: deserializeMetadata(output),
|
|
1043
921
|
...contents,
|
|
1044
922
|
};
|
|
1045
|
-
return
|
|
923
|
+
return response;
|
|
1046
924
|
};
|
|
1047
925
|
const de_GetSystemInstanceCommandError = async (output, context) => {
|
|
1048
926
|
const parsedOutput = {
|
|
@@ -1065,10 +943,9 @@ const de_GetSystemInstanceCommandError = async (output, context) => {
|
|
|
1065
943
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1066
944
|
default:
|
|
1067
945
|
const parsedBody = parsedOutput.body;
|
|
1068
|
-
throwDefaultError({
|
|
946
|
+
return throwDefaultError({
|
|
1069
947
|
output,
|
|
1070
948
|
parsedBody,
|
|
1071
|
-
exceptionCtor: __BaseException,
|
|
1072
949
|
errorCode,
|
|
1073
950
|
});
|
|
1074
951
|
}
|
|
@@ -1084,7 +961,7 @@ export const de_GetSystemTemplateCommand = async (output, context) => {
|
|
|
1084
961
|
$metadata: deserializeMetadata(output),
|
|
1085
962
|
...contents,
|
|
1086
963
|
};
|
|
1087
|
-
return
|
|
964
|
+
return response;
|
|
1088
965
|
};
|
|
1089
966
|
const de_GetSystemTemplateCommandError = async (output, context) => {
|
|
1090
967
|
const parsedOutput = {
|
|
@@ -1107,10 +984,9 @@ const de_GetSystemTemplateCommandError = async (output, context) => {
|
|
|
1107
984
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1108
985
|
default:
|
|
1109
986
|
const parsedBody = parsedOutput.body;
|
|
1110
|
-
throwDefaultError({
|
|
987
|
+
return throwDefaultError({
|
|
1111
988
|
output,
|
|
1112
989
|
parsedBody,
|
|
1113
|
-
exceptionCtor: __BaseException,
|
|
1114
990
|
errorCode,
|
|
1115
991
|
});
|
|
1116
992
|
}
|
|
@@ -1126,7 +1002,7 @@ export const de_GetSystemTemplateRevisionsCommand = async (output, context) => {
|
|
|
1126
1002
|
$metadata: deserializeMetadata(output),
|
|
1127
1003
|
...contents,
|
|
1128
1004
|
};
|
|
1129
|
-
return
|
|
1005
|
+
return response;
|
|
1130
1006
|
};
|
|
1131
1007
|
const de_GetSystemTemplateRevisionsCommandError = async (output, context) => {
|
|
1132
1008
|
const parsedOutput = {
|
|
@@ -1149,10 +1025,9 @@ const de_GetSystemTemplateRevisionsCommandError = async (output, context) => {
|
|
|
1149
1025
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1150
1026
|
default:
|
|
1151
1027
|
const parsedBody = parsedOutput.body;
|
|
1152
|
-
throwDefaultError({
|
|
1028
|
+
return throwDefaultError({
|
|
1153
1029
|
output,
|
|
1154
1030
|
parsedBody,
|
|
1155
|
-
exceptionCtor: __BaseException,
|
|
1156
1031
|
errorCode,
|
|
1157
1032
|
});
|
|
1158
1033
|
}
|
|
@@ -1168,7 +1043,7 @@ export const de_GetUploadStatusCommand = async (output, context) => {
|
|
|
1168
1043
|
$metadata: deserializeMetadata(output),
|
|
1169
1044
|
...contents,
|
|
1170
1045
|
};
|
|
1171
|
-
return
|
|
1046
|
+
return response;
|
|
1172
1047
|
};
|
|
1173
1048
|
const de_GetUploadStatusCommandError = async (output, context) => {
|
|
1174
1049
|
const parsedOutput = {
|
|
@@ -1191,10 +1066,9 @@ const de_GetUploadStatusCommandError = async (output, context) => {
|
|
|
1191
1066
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1192
1067
|
default:
|
|
1193
1068
|
const parsedBody = parsedOutput.body;
|
|
1194
|
-
throwDefaultError({
|
|
1069
|
+
return throwDefaultError({
|
|
1195
1070
|
output,
|
|
1196
1071
|
parsedBody,
|
|
1197
|
-
exceptionCtor: __BaseException,
|
|
1198
1072
|
errorCode,
|
|
1199
1073
|
});
|
|
1200
1074
|
}
|
|
@@ -1210,7 +1084,7 @@ export const de_ListFlowExecutionMessagesCommand = async (output, context) => {
|
|
|
1210
1084
|
$metadata: deserializeMetadata(output),
|
|
1211
1085
|
...contents,
|
|
1212
1086
|
};
|
|
1213
|
-
return
|
|
1087
|
+
return response;
|
|
1214
1088
|
};
|
|
1215
1089
|
const de_ListFlowExecutionMessagesCommandError = async (output, context) => {
|
|
1216
1090
|
const parsedOutput = {
|
|
@@ -1233,10 +1107,9 @@ const de_ListFlowExecutionMessagesCommandError = async (output, context) => {
|
|
|
1233
1107
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1234
1108
|
default:
|
|
1235
1109
|
const parsedBody = parsedOutput.body;
|
|
1236
|
-
throwDefaultError({
|
|
1110
|
+
return throwDefaultError({
|
|
1237
1111
|
output,
|
|
1238
1112
|
parsedBody,
|
|
1239
|
-
exceptionCtor: __BaseException,
|
|
1240
1113
|
errorCode,
|
|
1241
1114
|
});
|
|
1242
1115
|
}
|
|
@@ -1247,12 +1120,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1247
1120
|
}
|
|
1248
1121
|
const data = await parseBody(output.body, context);
|
|
1249
1122
|
let contents = {};
|
|
1250
|
-
contents =
|
|
1123
|
+
contents = _json(data);
|
|
1251
1124
|
const response = {
|
|
1252
1125
|
$metadata: deserializeMetadata(output),
|
|
1253
1126
|
...contents,
|
|
1254
1127
|
};
|
|
1255
|
-
return
|
|
1128
|
+
return response;
|
|
1256
1129
|
};
|
|
1257
1130
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1258
1131
|
const parsedOutput = {
|
|
@@ -1275,10 +1148,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1275
1148
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1276
1149
|
default:
|
|
1277
1150
|
const parsedBody = parsedOutput.body;
|
|
1278
|
-
throwDefaultError({
|
|
1151
|
+
return throwDefaultError({
|
|
1279
1152
|
output,
|
|
1280
1153
|
parsedBody,
|
|
1281
|
-
exceptionCtor: __BaseException,
|
|
1282
1154
|
errorCode,
|
|
1283
1155
|
});
|
|
1284
1156
|
}
|
|
@@ -1294,7 +1166,7 @@ export const de_SearchEntitiesCommand = async (output, context) => {
|
|
|
1294
1166
|
$metadata: deserializeMetadata(output),
|
|
1295
1167
|
...contents,
|
|
1296
1168
|
};
|
|
1297
|
-
return
|
|
1169
|
+
return response;
|
|
1298
1170
|
};
|
|
1299
1171
|
const de_SearchEntitiesCommandError = async (output, context) => {
|
|
1300
1172
|
const parsedOutput = {
|
|
@@ -1314,10 +1186,9 @@ const de_SearchEntitiesCommandError = async (output, context) => {
|
|
|
1314
1186
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1315
1187
|
default:
|
|
1316
1188
|
const parsedBody = parsedOutput.body;
|
|
1317
|
-
throwDefaultError({
|
|
1189
|
+
return throwDefaultError({
|
|
1318
1190
|
output,
|
|
1319
1191
|
parsedBody,
|
|
1320
|
-
exceptionCtor: __BaseException,
|
|
1321
1192
|
errorCode,
|
|
1322
1193
|
});
|
|
1323
1194
|
}
|
|
@@ -1333,7 +1204,7 @@ export const de_SearchFlowExecutionsCommand = async (output, context) => {
|
|
|
1333
1204
|
$metadata: deserializeMetadata(output),
|
|
1334
1205
|
...contents,
|
|
1335
1206
|
};
|
|
1336
|
-
return
|
|
1207
|
+
return response;
|
|
1337
1208
|
};
|
|
1338
1209
|
const de_SearchFlowExecutionsCommandError = async (output, context) => {
|
|
1339
1210
|
const parsedOutput = {
|
|
@@ -1356,10 +1227,9 @@ const de_SearchFlowExecutionsCommandError = async (output, context) => {
|
|
|
1356
1227
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1357
1228
|
default:
|
|
1358
1229
|
const parsedBody = parsedOutput.body;
|
|
1359
|
-
throwDefaultError({
|
|
1230
|
+
return throwDefaultError({
|
|
1360
1231
|
output,
|
|
1361
1232
|
parsedBody,
|
|
1362
|
-
exceptionCtor: __BaseException,
|
|
1363
1233
|
errorCode,
|
|
1364
1234
|
});
|
|
1365
1235
|
}
|
|
@@ -1375,7 +1245,7 @@ export const de_SearchFlowTemplatesCommand = async (output, context) => {
|
|
|
1375
1245
|
$metadata: deserializeMetadata(output),
|
|
1376
1246
|
...contents,
|
|
1377
1247
|
};
|
|
1378
|
-
return
|
|
1248
|
+
return response;
|
|
1379
1249
|
};
|
|
1380
1250
|
const de_SearchFlowTemplatesCommandError = async (output, context) => {
|
|
1381
1251
|
const parsedOutput = {
|
|
@@ -1395,10 +1265,9 @@ const de_SearchFlowTemplatesCommandError = async (output, context) => {
|
|
|
1395
1265
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1396
1266
|
default:
|
|
1397
1267
|
const parsedBody = parsedOutput.body;
|
|
1398
|
-
throwDefaultError({
|
|
1268
|
+
return throwDefaultError({
|
|
1399
1269
|
output,
|
|
1400
1270
|
parsedBody,
|
|
1401
|
-
exceptionCtor: __BaseException,
|
|
1402
1271
|
errorCode,
|
|
1403
1272
|
});
|
|
1404
1273
|
}
|
|
@@ -1414,7 +1283,7 @@ export const de_SearchSystemInstancesCommand = async (output, context) => {
|
|
|
1414
1283
|
$metadata: deserializeMetadata(output),
|
|
1415
1284
|
...contents,
|
|
1416
1285
|
};
|
|
1417
|
-
return
|
|
1286
|
+
return response;
|
|
1418
1287
|
};
|
|
1419
1288
|
const de_SearchSystemInstancesCommandError = async (output, context) => {
|
|
1420
1289
|
const parsedOutput = {
|
|
@@ -1434,10 +1303,9 @@ const de_SearchSystemInstancesCommandError = async (output, context) => {
|
|
|
1434
1303
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1435
1304
|
default:
|
|
1436
1305
|
const parsedBody = parsedOutput.body;
|
|
1437
|
-
throwDefaultError({
|
|
1306
|
+
return throwDefaultError({
|
|
1438
1307
|
output,
|
|
1439
1308
|
parsedBody,
|
|
1440
|
-
exceptionCtor: __BaseException,
|
|
1441
1309
|
errorCode,
|
|
1442
1310
|
});
|
|
1443
1311
|
}
|
|
@@ -1453,7 +1321,7 @@ export const de_SearchSystemTemplatesCommand = async (output, context) => {
|
|
|
1453
1321
|
$metadata: deserializeMetadata(output),
|
|
1454
1322
|
...contents,
|
|
1455
1323
|
};
|
|
1456
|
-
return
|
|
1324
|
+
return response;
|
|
1457
1325
|
};
|
|
1458
1326
|
const de_SearchSystemTemplatesCommandError = async (output, context) => {
|
|
1459
1327
|
const parsedOutput = {
|
|
@@ -1473,10 +1341,9 @@ const de_SearchSystemTemplatesCommandError = async (output, context) => {
|
|
|
1473
1341
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1474
1342
|
default:
|
|
1475
1343
|
const parsedBody = parsedOutput.body;
|
|
1476
|
-
throwDefaultError({
|
|
1344
|
+
return throwDefaultError({
|
|
1477
1345
|
output,
|
|
1478
1346
|
parsedBody,
|
|
1479
|
-
exceptionCtor: __BaseException,
|
|
1480
1347
|
errorCode,
|
|
1481
1348
|
});
|
|
1482
1349
|
}
|
|
@@ -1487,12 +1354,12 @@ export const de_SearchThingsCommand = async (output, context) => {
|
|
|
1487
1354
|
}
|
|
1488
1355
|
const data = await parseBody(output.body, context);
|
|
1489
1356
|
let contents = {};
|
|
1490
|
-
contents =
|
|
1357
|
+
contents = _json(data);
|
|
1491
1358
|
const response = {
|
|
1492
1359
|
$metadata: deserializeMetadata(output),
|
|
1493
1360
|
...contents,
|
|
1494
1361
|
};
|
|
1495
|
-
return
|
|
1362
|
+
return response;
|
|
1496
1363
|
};
|
|
1497
1364
|
const de_SearchThingsCommandError = async (output, context) => {
|
|
1498
1365
|
const parsedOutput = {
|
|
@@ -1515,10 +1382,9 @@ const de_SearchThingsCommandError = async (output, context) => {
|
|
|
1515
1382
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1516
1383
|
default:
|
|
1517
1384
|
const parsedBody = parsedOutput.body;
|
|
1518
|
-
throwDefaultError({
|
|
1385
|
+
return throwDefaultError({
|
|
1519
1386
|
output,
|
|
1520
1387
|
parsedBody,
|
|
1521
|
-
exceptionCtor: __BaseException,
|
|
1522
1388
|
errorCode,
|
|
1523
1389
|
});
|
|
1524
1390
|
}
|
|
@@ -1529,12 +1395,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1529
1395
|
}
|
|
1530
1396
|
const data = await parseBody(output.body, context);
|
|
1531
1397
|
let contents = {};
|
|
1532
|
-
contents =
|
|
1398
|
+
contents = _json(data);
|
|
1533
1399
|
const response = {
|
|
1534
1400
|
$metadata: deserializeMetadata(output),
|
|
1535
1401
|
...contents,
|
|
1536
1402
|
};
|
|
1537
|
-
return
|
|
1403
|
+
return response;
|
|
1538
1404
|
};
|
|
1539
1405
|
const de_TagResourceCommandError = async (output, context) => {
|
|
1540
1406
|
const parsedOutput = {
|
|
@@ -1557,10 +1423,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1557
1423
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1558
1424
|
default:
|
|
1559
1425
|
const parsedBody = parsedOutput.body;
|
|
1560
|
-
throwDefaultError({
|
|
1426
|
+
return throwDefaultError({
|
|
1561
1427
|
output,
|
|
1562
1428
|
parsedBody,
|
|
1563
|
-
exceptionCtor: __BaseException,
|
|
1564
1429
|
errorCode,
|
|
1565
1430
|
});
|
|
1566
1431
|
}
|
|
@@ -1576,7 +1441,7 @@ export const de_UndeploySystemInstanceCommand = async (output, context) => {
|
|
|
1576
1441
|
$metadata: deserializeMetadata(output),
|
|
1577
1442
|
...contents,
|
|
1578
1443
|
};
|
|
1579
|
-
return
|
|
1444
|
+
return response;
|
|
1580
1445
|
};
|
|
1581
1446
|
const de_UndeploySystemInstanceCommandError = async (output, context) => {
|
|
1582
1447
|
const parsedOutput = {
|
|
@@ -1602,10 +1467,9 @@ const de_UndeploySystemInstanceCommandError = async (output, context) => {
|
|
|
1602
1467
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1603
1468
|
default:
|
|
1604
1469
|
const parsedBody = parsedOutput.body;
|
|
1605
|
-
throwDefaultError({
|
|
1470
|
+
return throwDefaultError({
|
|
1606
1471
|
output,
|
|
1607
1472
|
parsedBody,
|
|
1608
|
-
exceptionCtor: __BaseException,
|
|
1609
1473
|
errorCode,
|
|
1610
1474
|
});
|
|
1611
1475
|
}
|
|
@@ -1616,12 +1480,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1616
1480
|
}
|
|
1617
1481
|
const data = await parseBody(output.body, context);
|
|
1618
1482
|
let contents = {};
|
|
1619
|
-
contents =
|
|
1483
|
+
contents = _json(data);
|
|
1620
1484
|
const response = {
|
|
1621
1485
|
$metadata: deserializeMetadata(output),
|
|
1622
1486
|
...contents,
|
|
1623
1487
|
};
|
|
1624
|
-
return
|
|
1488
|
+
return response;
|
|
1625
1489
|
};
|
|
1626
1490
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
1627
1491
|
const parsedOutput = {
|
|
@@ -1644,10 +1508,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1644
1508
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1645
1509
|
default:
|
|
1646
1510
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
throwDefaultError({
|
|
1511
|
+
return throwDefaultError({
|
|
1648
1512
|
output,
|
|
1649
1513
|
parsedBody,
|
|
1650
|
-
exceptionCtor: __BaseException,
|
|
1651
1514
|
errorCode,
|
|
1652
1515
|
});
|
|
1653
1516
|
}
|
|
@@ -1663,7 +1526,7 @@ export const de_UpdateFlowTemplateCommand = async (output, context) => {
|
|
|
1663
1526
|
$metadata: deserializeMetadata(output),
|
|
1664
1527
|
...contents,
|
|
1665
1528
|
};
|
|
1666
|
-
return
|
|
1529
|
+
return response;
|
|
1667
1530
|
};
|
|
1668
1531
|
const de_UpdateFlowTemplateCommandError = async (output, context) => {
|
|
1669
1532
|
const parsedOutput = {
|
|
@@ -1686,10 +1549,9 @@ const de_UpdateFlowTemplateCommandError = async (output, context) => {
|
|
|
1686
1549
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1687
1550
|
default:
|
|
1688
1551
|
const parsedBody = parsedOutput.body;
|
|
1689
|
-
throwDefaultError({
|
|
1552
|
+
return throwDefaultError({
|
|
1690
1553
|
output,
|
|
1691
1554
|
parsedBody,
|
|
1692
|
-
exceptionCtor: __BaseException,
|
|
1693
1555
|
errorCode,
|
|
1694
1556
|
});
|
|
1695
1557
|
}
|
|
@@ -1705,7 +1567,7 @@ export const de_UpdateSystemTemplateCommand = async (output, context) => {
|
|
|
1705
1567
|
$metadata: deserializeMetadata(output),
|
|
1706
1568
|
...contents,
|
|
1707
1569
|
};
|
|
1708
|
-
return
|
|
1570
|
+
return response;
|
|
1709
1571
|
};
|
|
1710
1572
|
const de_UpdateSystemTemplateCommandError = async (output, context) => {
|
|
1711
1573
|
const parsedOutput = {
|
|
@@ -1728,10 +1590,9 @@ const de_UpdateSystemTemplateCommandError = async (output, context) => {
|
|
|
1728
1590
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1729
1591
|
default:
|
|
1730
1592
|
const parsedBody = parsedOutput.body;
|
|
1731
|
-
throwDefaultError({
|
|
1593
|
+
return throwDefaultError({
|
|
1732
1594
|
output,
|
|
1733
1595
|
parsedBody,
|
|
1734
|
-
exceptionCtor: __BaseException,
|
|
1735
1596
|
errorCode,
|
|
1736
1597
|
});
|
|
1737
1598
|
}
|
|
@@ -1742,12 +1603,12 @@ export const de_UploadEntityDefinitionsCommand = async (output, context) => {
|
|
|
1742
1603
|
}
|
|
1743
1604
|
const data = await parseBody(output.body, context);
|
|
1744
1605
|
let contents = {};
|
|
1745
|
-
contents =
|
|
1606
|
+
contents = _json(data);
|
|
1746
1607
|
const response = {
|
|
1747
1608
|
$metadata: deserializeMetadata(output),
|
|
1748
1609
|
...contents,
|
|
1749
1610
|
};
|
|
1750
|
-
return
|
|
1611
|
+
return response;
|
|
1751
1612
|
};
|
|
1752
1613
|
const de_UploadEntityDefinitionsCommandError = async (output, context) => {
|
|
1753
1614
|
const parsedOutput = {
|
|
@@ -1767,17 +1628,16 @@ const de_UploadEntityDefinitionsCommandError = async (output, context) => {
|
|
|
1767
1628
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1768
1629
|
default:
|
|
1769
1630
|
const parsedBody = parsedOutput.body;
|
|
1770
|
-
throwDefaultError({
|
|
1631
|
+
return throwDefaultError({
|
|
1771
1632
|
output,
|
|
1772
1633
|
parsedBody,
|
|
1773
|
-
exceptionCtor: __BaseException,
|
|
1774
1634
|
errorCode,
|
|
1775
1635
|
});
|
|
1776
1636
|
}
|
|
1777
1637
|
};
|
|
1778
1638
|
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
1779
1639
|
const body = parsedOutput.body;
|
|
1780
|
-
const deserialized =
|
|
1640
|
+
const deserialized = _json(body);
|
|
1781
1641
|
const exception = new InternalFailureException({
|
|
1782
1642
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1783
1643
|
...deserialized,
|
|
@@ -1786,7 +1646,7 @@ const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
|
1786
1646
|
};
|
|
1787
1647
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1788
1648
|
const body = parsedOutput.body;
|
|
1789
|
-
const deserialized =
|
|
1649
|
+
const deserialized = _json(body);
|
|
1790
1650
|
const exception = new InvalidRequestException({
|
|
1791
1651
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1792
1652
|
...deserialized,
|
|
@@ -1795,7 +1655,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
1795
1655
|
};
|
|
1796
1656
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1797
1657
|
const body = parsedOutput.body;
|
|
1798
|
-
const deserialized =
|
|
1658
|
+
const deserialized = _json(body);
|
|
1799
1659
|
const exception = new LimitExceededException({
|
|
1800
1660
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1801
1661
|
...deserialized,
|
|
@@ -1804,7 +1664,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1804
1664
|
};
|
|
1805
1665
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1806
1666
|
const body = parsedOutput.body;
|
|
1807
|
-
const deserialized =
|
|
1667
|
+
const deserialized = _json(body);
|
|
1808
1668
|
const exception = new ResourceAlreadyExistsException({
|
|
1809
1669
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1810
1670
|
...deserialized,
|
|
@@ -1813,7 +1673,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
1813
1673
|
};
|
|
1814
1674
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1815
1675
|
const body = parsedOutput.body;
|
|
1816
|
-
const deserialized =
|
|
1676
|
+
const deserialized = _json(body);
|
|
1817
1677
|
const exception = new ResourceInUseException({
|
|
1818
1678
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1819
1679
|
...deserialized,
|
|
@@ -1822,7 +1682,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1822
1682
|
};
|
|
1823
1683
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1824
1684
|
const body = parsedOutput.body;
|
|
1825
|
-
const deserialized =
|
|
1685
|
+
const deserialized = _json(body);
|
|
1826
1686
|
const exception = new ResourceNotFoundException({
|
|
1827
1687
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1828
1688
|
...deserialized,
|
|
@@ -1831,475 +1691,73 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1831
1691
|
};
|
|
1832
1692
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1833
1693
|
const body = parsedOutput.body;
|
|
1834
|
-
const deserialized =
|
|
1694
|
+
const deserialized = _json(body);
|
|
1835
1695
|
const exception = new ThrottlingException({
|
|
1836
1696
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1837
1697
|
...deserialized,
|
|
1838
1698
|
});
|
|
1839
1699
|
return __decorateServiceException(exception, body);
|
|
1840
1700
|
};
|
|
1841
|
-
const se_AssociateEntityToThingRequest = (input, context) => {
|
|
1842
|
-
return {
|
|
1843
|
-
...(input.entityId != null && { entityId: input.entityId }),
|
|
1844
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
1845
|
-
...(input.thingName != null && { thingName: input.thingName }),
|
|
1846
|
-
};
|
|
1847
|
-
};
|
|
1848
|
-
const se_CreateFlowTemplateRequest = (input, context) => {
|
|
1849
|
-
return {
|
|
1850
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
1851
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
const se_CreateSystemInstanceRequest = (input, context) => {
|
|
1855
|
-
return {
|
|
1856
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1857
|
-
...(input.flowActionsRoleArn != null && { flowActionsRoleArn: input.flowActionsRoleArn }),
|
|
1858
|
-
...(input.greengrassGroupName != null && { greengrassGroupName: input.greengrassGroupName }),
|
|
1859
|
-
...(input.metricsConfiguration != null && {
|
|
1860
|
-
metricsConfiguration: se_MetricsConfiguration(input.metricsConfiguration, context),
|
|
1861
|
-
}),
|
|
1862
|
-
...(input.s3BucketName != null && { s3BucketName: input.s3BucketName }),
|
|
1863
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1864
|
-
...(input.target != null && { target: input.target }),
|
|
1865
|
-
};
|
|
1866
|
-
};
|
|
1867
|
-
const se_CreateSystemTemplateRequest = (input, context) => {
|
|
1868
|
-
return {
|
|
1869
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
1870
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1871
|
-
};
|
|
1872
|
-
};
|
|
1873
|
-
const se_DefinitionDocument = (input, context) => {
|
|
1874
|
-
return {
|
|
1875
|
-
...(input.language != null && { language: input.language }),
|
|
1876
|
-
...(input.text != null && { text: input.text }),
|
|
1877
|
-
};
|
|
1878
|
-
};
|
|
1879
|
-
const se_DeleteFlowTemplateRequest = (input, context) => {
|
|
1880
|
-
return {
|
|
1881
|
-
...(input.id != null && { id: input.id }),
|
|
1882
|
-
};
|
|
1883
|
-
};
|
|
1884
|
-
const se_DeleteNamespaceRequest = (input, context) => {
|
|
1885
|
-
return {};
|
|
1886
|
-
};
|
|
1887
|
-
const se_DeleteSystemInstanceRequest = (input, context) => {
|
|
1888
|
-
return {
|
|
1889
|
-
...(input.id != null && { id: input.id }),
|
|
1890
|
-
};
|
|
1891
|
-
};
|
|
1892
|
-
const se_DeleteSystemTemplateRequest = (input, context) => {
|
|
1893
|
-
return {
|
|
1894
|
-
...(input.id != null && { id: input.id }),
|
|
1895
|
-
};
|
|
1896
|
-
};
|
|
1897
|
-
const se_DeploySystemInstanceRequest = (input, context) => {
|
|
1898
|
-
return {
|
|
1899
|
-
...(input.id != null && { id: input.id }),
|
|
1900
|
-
};
|
|
1901
|
-
};
|
|
1902
|
-
const se_DeprecateFlowTemplateRequest = (input, context) => {
|
|
1903
|
-
return {
|
|
1904
|
-
...(input.id != null && { id: input.id }),
|
|
1905
|
-
};
|
|
1906
|
-
};
|
|
1907
|
-
const se_DeprecateSystemTemplateRequest = (input, context) => {
|
|
1908
|
-
return {
|
|
1909
|
-
...(input.id != null && { id: input.id }),
|
|
1910
|
-
};
|
|
1911
|
-
};
|
|
1912
|
-
const se_DescribeNamespaceRequest = (input, context) => {
|
|
1913
|
-
return {
|
|
1914
|
-
...(input.namespaceName != null && { namespaceName: input.namespaceName }),
|
|
1915
|
-
};
|
|
1916
|
-
};
|
|
1917
|
-
const se_DissociateEntityFromThingRequest = (input, context) => {
|
|
1918
|
-
return {
|
|
1919
|
-
...(input.entityType != null && { entityType: input.entityType }),
|
|
1920
|
-
...(input.thingName != null && { thingName: input.thingName }),
|
|
1921
|
-
};
|
|
1922
|
-
};
|
|
1923
|
-
const se_EntityFilter = (input, context) => {
|
|
1924
|
-
return {
|
|
1925
|
-
...(input.name != null && { name: input.name }),
|
|
1926
|
-
...(input.value != null && { value: se_EntityFilterValues(input.value, context) }),
|
|
1927
|
-
};
|
|
1928
|
-
};
|
|
1929
|
-
const se_EntityFilters = (input, context) => {
|
|
1930
|
-
return input
|
|
1931
|
-
.filter((e) => e != null)
|
|
1932
|
-
.map((entry) => {
|
|
1933
|
-
return se_EntityFilter(entry, context);
|
|
1934
|
-
});
|
|
1935
|
-
};
|
|
1936
|
-
const se_EntityFilterValues = (input, context) => {
|
|
1937
|
-
return input
|
|
1938
|
-
.filter((e) => e != null)
|
|
1939
|
-
.map((entry) => {
|
|
1940
|
-
return entry;
|
|
1941
|
-
});
|
|
1942
|
-
};
|
|
1943
|
-
const se_EntityTypes = (input, context) => {
|
|
1944
|
-
return input
|
|
1945
|
-
.filter((e) => e != null)
|
|
1946
|
-
.map((entry) => {
|
|
1947
|
-
return entry;
|
|
1948
|
-
});
|
|
1949
|
-
};
|
|
1950
|
-
const se_FlowTemplateFilter = (input, context) => {
|
|
1951
|
-
return {
|
|
1952
|
-
...(input.name != null && { name: input.name }),
|
|
1953
|
-
...(input.value != null && { value: se_FlowTemplateFilterValues(input.value, context) }),
|
|
1954
|
-
};
|
|
1955
|
-
};
|
|
1956
|
-
const se_FlowTemplateFilters = (input, context) => {
|
|
1957
|
-
return input
|
|
1958
|
-
.filter((e) => e != null)
|
|
1959
|
-
.map((entry) => {
|
|
1960
|
-
return se_FlowTemplateFilter(entry, context);
|
|
1961
|
-
});
|
|
1962
|
-
};
|
|
1963
|
-
const se_FlowTemplateFilterValues = (input, context) => {
|
|
1964
|
-
return input
|
|
1965
|
-
.filter((e) => e != null)
|
|
1966
|
-
.map((entry) => {
|
|
1967
|
-
return entry;
|
|
1968
|
-
});
|
|
1969
|
-
};
|
|
1970
|
-
const se_GetEntitiesRequest = (input, context) => {
|
|
1971
|
-
return {
|
|
1972
|
-
...(input.ids != null && { ids: se_Urns(input.ids, context) }),
|
|
1973
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
1974
|
-
};
|
|
1975
|
-
};
|
|
1976
|
-
const se_GetFlowTemplateRequest = (input, context) => {
|
|
1977
|
-
return {
|
|
1978
|
-
...(input.id != null && { id: input.id }),
|
|
1979
|
-
...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
|
|
1980
|
-
};
|
|
1981
|
-
};
|
|
1982
|
-
const se_GetFlowTemplateRevisionsRequest = (input, context) => {
|
|
1983
|
-
return {
|
|
1984
|
-
...(input.id != null && { id: input.id }),
|
|
1985
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1986
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1987
|
-
};
|
|
1988
|
-
};
|
|
1989
|
-
const se_GetNamespaceDeletionStatusRequest = (input, context) => {
|
|
1990
|
-
return {};
|
|
1991
|
-
};
|
|
1992
|
-
const se_GetSystemInstanceRequest = (input, context) => {
|
|
1993
|
-
return {
|
|
1994
|
-
...(input.id != null && { id: input.id }),
|
|
1995
|
-
};
|
|
1996
|
-
};
|
|
1997
|
-
const se_GetSystemTemplateRequest = (input, context) => {
|
|
1998
|
-
return {
|
|
1999
|
-
...(input.id != null && { id: input.id }),
|
|
2000
|
-
...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
|
|
2001
|
-
};
|
|
2002
|
-
};
|
|
2003
|
-
const se_GetSystemTemplateRevisionsRequest = (input, context) => {
|
|
2004
|
-
return {
|
|
2005
|
-
...(input.id != null && { id: input.id }),
|
|
2006
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2007
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2008
|
-
};
|
|
2009
|
-
};
|
|
2010
|
-
const se_GetUploadStatusRequest = (input, context) => {
|
|
2011
|
-
return {
|
|
2012
|
-
...(input.uploadId != null && { uploadId: input.uploadId }),
|
|
2013
|
-
};
|
|
2014
|
-
};
|
|
2015
|
-
const se_ListFlowExecutionMessagesRequest = (input, context) => {
|
|
2016
|
-
return {
|
|
2017
|
-
...(input.flowExecutionId != null && { flowExecutionId: input.flowExecutionId }),
|
|
2018
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2019
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2020
|
-
};
|
|
2021
|
-
};
|
|
2022
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2023
|
-
return {
|
|
2024
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2025
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2026
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2027
|
-
};
|
|
2028
|
-
};
|
|
2029
|
-
const se_MetricsConfiguration = (input, context) => {
|
|
2030
|
-
return {
|
|
2031
|
-
...(input.cloudMetricEnabled != null && { cloudMetricEnabled: input.cloudMetricEnabled }),
|
|
2032
|
-
...(input.metricRuleRoleArn != null && { metricRuleRoleArn: input.metricRuleRoleArn }),
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
const se_SearchEntitiesRequest = (input, context) => {
|
|
2036
|
-
return {
|
|
2037
|
-
...(input.entityTypes != null && { entityTypes: se_EntityTypes(input.entityTypes, context) }),
|
|
2038
|
-
...(input.filters != null && { filters: se_EntityFilters(input.filters, context) }),
|
|
2039
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2040
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
2041
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2042
|
-
};
|
|
2043
|
-
};
|
|
2044
1701
|
const se_SearchFlowExecutionsRequest = (input, context) => {
|
|
2045
|
-
return {
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
};
|
|
2053
|
-
};
|
|
2054
|
-
const se_SearchFlowTemplatesRequest = (input, context) => {
|
|
2055
|
-
return {
|
|
2056
|
-
...(input.filters != null && { filters: se_FlowTemplateFilters(input.filters, context) }),
|
|
2057
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2058
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
2061
|
-
const se_SearchSystemInstancesRequest = (input, context) => {
|
|
2062
|
-
return {
|
|
2063
|
-
...(input.filters != null && { filters: se_SystemInstanceFilters(input.filters, context) }),
|
|
2064
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2065
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2066
|
-
};
|
|
2067
|
-
};
|
|
2068
|
-
const se_SearchSystemTemplatesRequest = (input, context) => {
|
|
2069
|
-
return {
|
|
2070
|
-
...(input.filters != null && { filters: se_SystemTemplateFilters(input.filters, context) }),
|
|
2071
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2072
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2073
|
-
};
|
|
2074
|
-
};
|
|
2075
|
-
const se_SearchThingsRequest = (input, context) => {
|
|
2076
|
-
return {
|
|
2077
|
-
...(input.entityId != null && { entityId: input.entityId }),
|
|
2078
|
-
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2079
|
-
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
2080
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
const se_SystemInstanceFilter = (input, context) => {
|
|
2084
|
-
return {
|
|
2085
|
-
...(input.name != null && { name: input.name }),
|
|
2086
|
-
...(input.value != null && { value: se_SystemInstanceFilterValues(input.value, context) }),
|
|
2087
|
-
};
|
|
2088
|
-
};
|
|
2089
|
-
const se_SystemInstanceFilters = (input, context) => {
|
|
2090
|
-
return input
|
|
2091
|
-
.filter((e) => e != null)
|
|
2092
|
-
.map((entry) => {
|
|
2093
|
-
return se_SystemInstanceFilter(entry, context);
|
|
2094
|
-
});
|
|
2095
|
-
};
|
|
2096
|
-
const se_SystemInstanceFilterValues = (input, context) => {
|
|
2097
|
-
return input
|
|
2098
|
-
.filter((e) => e != null)
|
|
2099
|
-
.map((entry) => {
|
|
2100
|
-
return entry;
|
|
2101
|
-
});
|
|
2102
|
-
};
|
|
2103
|
-
const se_SystemTemplateFilter = (input, context) => {
|
|
2104
|
-
return {
|
|
2105
|
-
...(input.name != null && { name: input.name }),
|
|
2106
|
-
...(input.value != null && { value: se_SystemTemplateFilterValues(input.value, context) }),
|
|
2107
|
-
};
|
|
2108
|
-
};
|
|
2109
|
-
const se_SystemTemplateFilters = (input, context) => {
|
|
2110
|
-
return input
|
|
2111
|
-
.filter((e) => e != null)
|
|
2112
|
-
.map((entry) => {
|
|
2113
|
-
return se_SystemTemplateFilter(entry, context);
|
|
2114
|
-
});
|
|
2115
|
-
};
|
|
2116
|
-
const se_SystemTemplateFilterValues = (input, context) => {
|
|
2117
|
-
return input
|
|
2118
|
-
.filter((e) => e != null)
|
|
2119
|
-
.map((entry) => {
|
|
2120
|
-
return entry;
|
|
2121
|
-
});
|
|
2122
|
-
};
|
|
2123
|
-
const se_Tag = (input, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
...(input.key != null && { key: input.key }),
|
|
2126
|
-
...(input.value != null && { value: input.value }),
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const se_TagKeyList = (input, context) => {
|
|
2130
|
-
return input
|
|
2131
|
-
.filter((e) => e != null)
|
|
2132
|
-
.map((entry) => {
|
|
2133
|
-
return entry;
|
|
2134
|
-
});
|
|
2135
|
-
};
|
|
2136
|
-
const se_TagList = (input, context) => {
|
|
2137
|
-
return input
|
|
2138
|
-
.filter((e) => e != null)
|
|
2139
|
-
.map((entry) => {
|
|
2140
|
-
return se_Tag(entry, context);
|
|
1702
|
+
return take(input, {
|
|
1703
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
1704
|
+
flowExecutionId: [],
|
|
1705
|
+
maxResults: [],
|
|
1706
|
+
nextToken: [],
|
|
1707
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
1708
|
+
systemInstanceId: [],
|
|
2141
1709
|
});
|
|
2142
1710
|
};
|
|
2143
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2144
|
-
return {
|
|
2145
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2146
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2147
|
-
};
|
|
2148
|
-
};
|
|
2149
|
-
const se_UndeploySystemInstanceRequest = (input, context) => {
|
|
2150
|
-
return {
|
|
2151
|
-
...(input.id != null && { id: input.id }),
|
|
2152
|
-
};
|
|
2153
|
-
};
|
|
2154
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2155
|
-
return {
|
|
2156
|
-
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2157
|
-
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
2158
|
-
};
|
|
2159
|
-
};
|
|
2160
|
-
const se_UpdateFlowTemplateRequest = (input, context) => {
|
|
2161
|
-
return {
|
|
2162
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
2163
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
2164
|
-
...(input.id != null && { id: input.id }),
|
|
2165
|
-
};
|
|
2166
|
-
};
|
|
2167
|
-
const se_UpdateSystemTemplateRequest = (input, context) => {
|
|
2168
|
-
return {
|
|
2169
|
-
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
2170
|
-
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
2171
|
-
...(input.id != null && { id: input.id }),
|
|
2172
|
-
};
|
|
2173
|
-
};
|
|
2174
|
-
const se_UploadEntityDefinitionsRequest = (input, context) => {
|
|
2175
|
-
return {
|
|
2176
|
-
...(input.deprecateExistingEntities != null && { deprecateExistingEntities: input.deprecateExistingEntities }),
|
|
2177
|
-
...(input.document != null && { document: se_DefinitionDocument(input.document, context) }),
|
|
2178
|
-
...(input.syncWithPublicNamespace != null && { syncWithPublicNamespace: input.syncWithPublicNamespace }),
|
|
2179
|
-
};
|
|
2180
|
-
};
|
|
2181
|
-
const se_Urns = (input, context) => {
|
|
2182
|
-
return input
|
|
2183
|
-
.filter((e) => e != null)
|
|
2184
|
-
.map((entry) => {
|
|
2185
|
-
return entry;
|
|
2186
|
-
});
|
|
2187
|
-
};
|
|
2188
|
-
const de_AssociateEntityToThingResponse = (output, context) => {
|
|
2189
|
-
return {};
|
|
2190
|
-
};
|
|
2191
1711
|
const de_CreateFlowTemplateResponse = (output, context) => {
|
|
2192
|
-
return {
|
|
2193
|
-
summary:
|
|
2194
|
-
};
|
|
1712
|
+
return take(output, {
|
|
1713
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
1714
|
+
});
|
|
2195
1715
|
};
|
|
2196
1716
|
const de_CreateSystemInstanceResponse = (output, context) => {
|
|
2197
|
-
return {
|
|
2198
|
-
summary:
|
|
2199
|
-
};
|
|
1717
|
+
return take(output, {
|
|
1718
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1719
|
+
});
|
|
2200
1720
|
};
|
|
2201
1721
|
const de_CreateSystemTemplateResponse = (output, context) => {
|
|
2202
|
-
return {
|
|
2203
|
-
summary:
|
|
2204
|
-
};
|
|
2205
|
-
};
|
|
2206
|
-
const de_DefinitionDocument = (output, context) => {
|
|
2207
|
-
return {
|
|
2208
|
-
language: __expectString(output.language),
|
|
2209
|
-
text: __expectString(output.text),
|
|
2210
|
-
};
|
|
2211
|
-
};
|
|
2212
|
-
const de_DeleteFlowTemplateResponse = (output, context) => {
|
|
2213
|
-
return {};
|
|
2214
|
-
};
|
|
2215
|
-
const de_DeleteNamespaceResponse = (output, context) => {
|
|
2216
|
-
return {
|
|
2217
|
-
namespaceArn: __expectString(output.namespaceArn),
|
|
2218
|
-
namespaceName: __expectString(output.namespaceName),
|
|
2219
|
-
};
|
|
2220
|
-
};
|
|
2221
|
-
const de_DeleteSystemInstanceResponse = (output, context) => {
|
|
2222
|
-
return {};
|
|
2223
|
-
};
|
|
2224
|
-
const de_DeleteSystemTemplateResponse = (output, context) => {
|
|
2225
|
-
return {};
|
|
2226
|
-
};
|
|
2227
|
-
const de_DependencyRevision = (output, context) => {
|
|
2228
|
-
return {
|
|
2229
|
-
id: __expectString(output.id),
|
|
2230
|
-
revisionNumber: __expectLong(output.revisionNumber),
|
|
2231
|
-
};
|
|
2232
|
-
};
|
|
2233
|
-
const de_DependencyRevisions = (output, context) => {
|
|
2234
|
-
const retVal = (output || [])
|
|
2235
|
-
.filter((e) => e != null)
|
|
2236
|
-
.map((entry) => {
|
|
2237
|
-
if (entry === null) {
|
|
2238
|
-
return null;
|
|
2239
|
-
}
|
|
2240
|
-
return de_DependencyRevision(entry, context);
|
|
1722
|
+
return take(output, {
|
|
1723
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
2241
1724
|
});
|
|
2242
|
-
return retVal;
|
|
2243
1725
|
};
|
|
2244
1726
|
const de_DeploySystemInstanceResponse = (output, context) => {
|
|
2245
|
-
return {
|
|
2246
|
-
greengrassDeploymentId: __expectString
|
|
2247
|
-
summary:
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
const de_DeprecateFlowTemplateResponse = (output, context) => {
|
|
2251
|
-
return {};
|
|
2252
|
-
};
|
|
2253
|
-
const de_DeprecateSystemTemplateResponse = (output, context) => {
|
|
2254
|
-
return {};
|
|
2255
|
-
};
|
|
2256
|
-
const de_DescribeNamespaceResponse = (output, context) => {
|
|
2257
|
-
return {
|
|
2258
|
-
namespaceArn: __expectString(output.namespaceArn),
|
|
2259
|
-
namespaceName: __expectString(output.namespaceName),
|
|
2260
|
-
namespaceVersion: __expectLong(output.namespaceVersion),
|
|
2261
|
-
trackingNamespaceName: __expectString(output.trackingNamespaceName),
|
|
2262
|
-
trackingNamespaceVersion: __expectLong(output.trackingNamespaceVersion),
|
|
2263
|
-
};
|
|
2264
|
-
};
|
|
2265
|
-
const de_DissociateEntityFromThingResponse = (output, context) => {
|
|
2266
|
-
return {};
|
|
1727
|
+
return take(output, {
|
|
1728
|
+
greengrassDeploymentId: __expectString,
|
|
1729
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1730
|
+
});
|
|
2267
1731
|
};
|
|
2268
1732
|
const de_EntityDescription = (output, context) => {
|
|
2269
|
-
return {
|
|
2270
|
-
arn: __expectString
|
|
2271
|
-
createdAt:
|
|
2272
|
-
definition:
|
|
2273
|
-
id: __expectString
|
|
2274
|
-
type: __expectString
|
|
2275
|
-
};
|
|
1733
|
+
return take(output, {
|
|
1734
|
+
arn: __expectString,
|
|
1735
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1736
|
+
definition: _json,
|
|
1737
|
+
id: __expectString,
|
|
1738
|
+
type: __expectString,
|
|
1739
|
+
});
|
|
2276
1740
|
};
|
|
2277
1741
|
const de_EntityDescriptions = (output, context) => {
|
|
2278
1742
|
const retVal = (output || [])
|
|
2279
1743
|
.filter((e) => e != null)
|
|
2280
1744
|
.map((entry) => {
|
|
2281
|
-
if (entry === null) {
|
|
2282
|
-
return null;
|
|
2283
|
-
}
|
|
2284
1745
|
return de_EntityDescription(entry, context);
|
|
2285
1746
|
});
|
|
2286
1747
|
return retVal;
|
|
2287
1748
|
};
|
|
2288
1749
|
const de_FlowExecutionMessage = (output, context) => {
|
|
2289
|
-
return {
|
|
2290
|
-
eventType: __expectString
|
|
2291
|
-
messageId: __expectString
|
|
2292
|
-
payload: __expectString
|
|
2293
|
-
timestamp:
|
|
2294
|
-
};
|
|
1750
|
+
return take(output, {
|
|
1751
|
+
eventType: __expectString,
|
|
1752
|
+
messageId: __expectString,
|
|
1753
|
+
payload: __expectString,
|
|
1754
|
+
timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1755
|
+
});
|
|
2295
1756
|
};
|
|
2296
1757
|
const de_FlowExecutionMessages = (output, context) => {
|
|
2297
1758
|
const retVal = (output || [])
|
|
2298
1759
|
.filter((e) => e != null)
|
|
2299
1760
|
.map((entry) => {
|
|
2300
|
-
if (entry === null) {
|
|
2301
|
-
return null;
|
|
2302
|
-
}
|
|
2303
1761
|
return de_FlowExecutionMessage(entry, context);
|
|
2304
1762
|
});
|
|
2305
1763
|
return retVal;
|
|
@@ -2308,325 +1766,191 @@ const de_FlowExecutionSummaries = (output, context) => {
|
|
|
2308
1766
|
const retVal = (output || [])
|
|
2309
1767
|
.filter((e) => e != null)
|
|
2310
1768
|
.map((entry) => {
|
|
2311
|
-
if (entry === null) {
|
|
2312
|
-
return null;
|
|
2313
|
-
}
|
|
2314
1769
|
return de_FlowExecutionSummary(entry, context);
|
|
2315
1770
|
});
|
|
2316
1771
|
return retVal;
|
|
2317
1772
|
};
|
|
2318
1773
|
const de_FlowExecutionSummary = (output, context) => {
|
|
2319
|
-
return {
|
|
2320
|
-
createdAt:
|
|
2321
|
-
flowExecutionId: __expectString
|
|
2322
|
-
flowTemplateId: __expectString
|
|
2323
|
-
status: __expectString
|
|
2324
|
-
systemInstanceId: __expectString
|
|
2325
|
-
updatedAt:
|
|
2326
|
-
};
|
|
1774
|
+
return take(output, {
|
|
1775
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1776
|
+
flowExecutionId: __expectString,
|
|
1777
|
+
flowTemplateId: __expectString,
|
|
1778
|
+
status: __expectString,
|
|
1779
|
+
systemInstanceId: __expectString,
|
|
1780
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1781
|
+
});
|
|
2327
1782
|
};
|
|
2328
1783
|
const de_FlowTemplateDescription = (output, context) => {
|
|
2329
|
-
return {
|
|
2330
|
-
definition:
|
|
2331
|
-
summary:
|
|
2332
|
-
validatedNamespaceVersion: __expectLong
|
|
2333
|
-
};
|
|
1784
|
+
return take(output, {
|
|
1785
|
+
definition: _json,
|
|
1786
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
1787
|
+
validatedNamespaceVersion: __expectLong,
|
|
1788
|
+
});
|
|
2334
1789
|
};
|
|
2335
1790
|
const de_FlowTemplateSummaries = (output, context) => {
|
|
2336
1791
|
const retVal = (output || [])
|
|
2337
1792
|
.filter((e) => e != null)
|
|
2338
1793
|
.map((entry) => {
|
|
2339
|
-
if (entry === null) {
|
|
2340
|
-
return null;
|
|
2341
|
-
}
|
|
2342
1794
|
return de_FlowTemplateSummary(entry, context);
|
|
2343
1795
|
});
|
|
2344
1796
|
return retVal;
|
|
2345
1797
|
};
|
|
2346
1798
|
const de_FlowTemplateSummary = (output, context) => {
|
|
2347
|
-
return {
|
|
2348
|
-
arn: __expectString
|
|
2349
|
-
createdAt:
|
|
2350
|
-
id: __expectString
|
|
2351
|
-
revisionNumber: __expectLong
|
|
2352
|
-
};
|
|
1799
|
+
return take(output, {
|
|
1800
|
+
arn: __expectString,
|
|
1801
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1802
|
+
id: __expectString,
|
|
1803
|
+
revisionNumber: __expectLong,
|
|
1804
|
+
});
|
|
2353
1805
|
};
|
|
2354
1806
|
const de_GetEntitiesResponse = (output, context) => {
|
|
2355
|
-
return {
|
|
2356
|
-
descriptions:
|
|
2357
|
-
};
|
|
1807
|
+
return take(output, {
|
|
1808
|
+
descriptions: (_) => de_EntityDescriptions(_, context),
|
|
1809
|
+
});
|
|
2358
1810
|
};
|
|
2359
1811
|
const de_GetFlowTemplateResponse = (output, context) => {
|
|
2360
|
-
return {
|
|
2361
|
-
description:
|
|
2362
|
-
};
|
|
1812
|
+
return take(output, {
|
|
1813
|
+
description: (_) => de_FlowTemplateDescription(_, context),
|
|
1814
|
+
});
|
|
2363
1815
|
};
|
|
2364
1816
|
const de_GetFlowTemplateRevisionsResponse = (output, context) => {
|
|
2365
|
-
return {
|
|
2366
|
-
nextToken: __expectString
|
|
2367
|
-
summaries:
|
|
2368
|
-
};
|
|
2369
|
-
};
|
|
2370
|
-
const de_GetNamespaceDeletionStatusResponse = (output, context) => {
|
|
2371
|
-
return {
|
|
2372
|
-
errorCode: __expectString(output.errorCode),
|
|
2373
|
-
errorMessage: __expectString(output.errorMessage),
|
|
2374
|
-
namespaceArn: __expectString(output.namespaceArn),
|
|
2375
|
-
namespaceName: __expectString(output.namespaceName),
|
|
2376
|
-
status: __expectString(output.status),
|
|
2377
|
-
};
|
|
1817
|
+
return take(output, {
|
|
1818
|
+
nextToken: __expectString,
|
|
1819
|
+
summaries: (_) => de_FlowTemplateSummaries(_, context),
|
|
1820
|
+
});
|
|
2378
1821
|
};
|
|
2379
1822
|
const de_GetSystemInstanceResponse = (output, context) => {
|
|
2380
|
-
return {
|
|
2381
|
-
description:
|
|
2382
|
-
};
|
|
1823
|
+
return take(output, {
|
|
1824
|
+
description: (_) => de_SystemInstanceDescription(_, context),
|
|
1825
|
+
});
|
|
2383
1826
|
};
|
|
2384
1827
|
const de_GetSystemTemplateResponse = (output, context) => {
|
|
2385
|
-
return {
|
|
2386
|
-
description:
|
|
2387
|
-
};
|
|
1828
|
+
return take(output, {
|
|
1829
|
+
description: (_) => de_SystemTemplateDescription(_, context),
|
|
1830
|
+
});
|
|
2388
1831
|
};
|
|
2389
1832
|
const de_GetSystemTemplateRevisionsResponse = (output, context) => {
|
|
2390
|
-
return {
|
|
2391
|
-
nextToken: __expectString
|
|
2392
|
-
summaries:
|
|
2393
|
-
};
|
|
1833
|
+
return take(output, {
|
|
1834
|
+
nextToken: __expectString,
|
|
1835
|
+
summaries: (_) => de_SystemTemplateSummaries(_, context),
|
|
1836
|
+
});
|
|
2394
1837
|
};
|
|
2395
1838
|
const de_GetUploadStatusResponse = (output, context) => {
|
|
2396
|
-
return {
|
|
2397
|
-
createdDate:
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
uploadStatus: __expectString(output.uploadStatus),
|
|
2406
|
-
};
|
|
2407
|
-
};
|
|
2408
|
-
const de_InternalFailureException = (output, context) => {
|
|
2409
|
-
return {
|
|
2410
|
-
message: __expectString(output.message),
|
|
2411
|
-
};
|
|
2412
|
-
};
|
|
2413
|
-
const de_InvalidRequestException = (output, context) => {
|
|
2414
|
-
return {
|
|
2415
|
-
message: __expectString(output.message),
|
|
2416
|
-
};
|
|
2417
|
-
};
|
|
2418
|
-
const de_LimitExceededException = (output, context) => {
|
|
2419
|
-
return {
|
|
2420
|
-
message: __expectString(output.message),
|
|
2421
|
-
};
|
|
1839
|
+
return take(output, {
|
|
1840
|
+
createdDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1841
|
+
failureReason: _json,
|
|
1842
|
+
namespaceArn: __expectString,
|
|
1843
|
+
namespaceName: __expectString,
|
|
1844
|
+
namespaceVersion: __expectLong,
|
|
1845
|
+
uploadId: __expectString,
|
|
1846
|
+
uploadStatus: __expectString,
|
|
1847
|
+
});
|
|
2422
1848
|
};
|
|
2423
1849
|
const de_ListFlowExecutionMessagesResponse = (output, context) => {
|
|
2424
|
-
return {
|
|
2425
|
-
messages:
|
|
2426
|
-
nextToken: __expectString
|
|
2427
|
-
};
|
|
2428
|
-
};
|
|
2429
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2430
|
-
return {
|
|
2431
|
-
nextToken: __expectString(output.nextToken),
|
|
2432
|
-
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
const de_MetricsConfiguration = (output, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
cloudMetricEnabled: __expectBoolean(output.cloudMetricEnabled),
|
|
2438
|
-
metricRuleRoleArn: __expectString(output.metricRuleRoleArn),
|
|
2439
|
-
};
|
|
2440
|
-
};
|
|
2441
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
2442
|
-
return {
|
|
2443
|
-
message: __expectString(output.message),
|
|
2444
|
-
};
|
|
2445
|
-
};
|
|
2446
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2447
|
-
return {
|
|
2448
|
-
message: __expectString(output.message),
|
|
2449
|
-
};
|
|
2450
|
-
};
|
|
2451
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2452
|
-
return {
|
|
2453
|
-
message: __expectString(output.message),
|
|
2454
|
-
};
|
|
1850
|
+
return take(output, {
|
|
1851
|
+
messages: (_) => de_FlowExecutionMessages(_, context),
|
|
1852
|
+
nextToken: __expectString,
|
|
1853
|
+
});
|
|
2455
1854
|
};
|
|
2456
1855
|
const de_SearchEntitiesResponse = (output, context) => {
|
|
2457
|
-
return {
|
|
2458
|
-
descriptions:
|
|
2459
|
-
nextToken: __expectString
|
|
2460
|
-
};
|
|
1856
|
+
return take(output, {
|
|
1857
|
+
descriptions: (_) => de_EntityDescriptions(_, context),
|
|
1858
|
+
nextToken: __expectString,
|
|
1859
|
+
});
|
|
2461
1860
|
};
|
|
2462
1861
|
const de_SearchFlowExecutionsResponse = (output, context) => {
|
|
2463
|
-
return {
|
|
2464
|
-
nextToken: __expectString
|
|
2465
|
-
summaries:
|
|
2466
|
-
};
|
|
1862
|
+
return take(output, {
|
|
1863
|
+
nextToken: __expectString,
|
|
1864
|
+
summaries: (_) => de_FlowExecutionSummaries(_, context),
|
|
1865
|
+
});
|
|
2467
1866
|
};
|
|
2468
1867
|
const de_SearchFlowTemplatesResponse = (output, context) => {
|
|
2469
|
-
return {
|
|
2470
|
-
nextToken: __expectString
|
|
2471
|
-
summaries:
|
|
2472
|
-
};
|
|
1868
|
+
return take(output, {
|
|
1869
|
+
nextToken: __expectString,
|
|
1870
|
+
summaries: (_) => de_FlowTemplateSummaries(_, context),
|
|
1871
|
+
});
|
|
2473
1872
|
};
|
|
2474
1873
|
const de_SearchSystemInstancesResponse = (output, context) => {
|
|
2475
|
-
return {
|
|
2476
|
-
nextToken: __expectString
|
|
2477
|
-
summaries:
|
|
2478
|
-
};
|
|
1874
|
+
return take(output, {
|
|
1875
|
+
nextToken: __expectString,
|
|
1876
|
+
summaries: (_) => de_SystemInstanceSummaries(_, context),
|
|
1877
|
+
});
|
|
2479
1878
|
};
|
|
2480
1879
|
const de_SearchSystemTemplatesResponse = (output, context) => {
|
|
2481
|
-
return {
|
|
2482
|
-
nextToken: __expectString
|
|
2483
|
-
summaries:
|
|
2484
|
-
};
|
|
2485
|
-
};
|
|
2486
|
-
const de_SearchThingsResponse = (output, context) => {
|
|
2487
|
-
return {
|
|
2488
|
-
nextToken: __expectString(output.nextToken),
|
|
2489
|
-
things: output.things != null ? de_Things(output.things, context) : undefined,
|
|
2490
|
-
};
|
|
2491
|
-
};
|
|
2492
|
-
const de_StringList = (output, context) => {
|
|
2493
|
-
const retVal = (output || [])
|
|
2494
|
-
.filter((e) => e != null)
|
|
2495
|
-
.map((entry) => {
|
|
2496
|
-
if (entry === null) {
|
|
2497
|
-
return null;
|
|
2498
|
-
}
|
|
2499
|
-
return __expectString(entry);
|
|
1880
|
+
return take(output, {
|
|
1881
|
+
nextToken: __expectString,
|
|
1882
|
+
summaries: (_) => de_SystemTemplateSummaries(_, context),
|
|
2500
1883
|
});
|
|
2501
|
-
return retVal;
|
|
2502
1884
|
};
|
|
2503
1885
|
const de_SystemInstanceDescription = (output, context) => {
|
|
2504
|
-
return {
|
|
2505
|
-
definition:
|
|
2506
|
-
flowActionsRoleArn: __expectString
|
|
2507
|
-
metricsConfiguration:
|
|
2508
|
-
s3BucketName: __expectString
|
|
2509
|
-
summary:
|
|
2510
|
-
validatedDependencyRevisions:
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
validatedNamespaceVersion: __expectLong(output.validatedNamespaceVersion),
|
|
2514
|
-
};
|
|
1886
|
+
return take(output, {
|
|
1887
|
+
definition: _json,
|
|
1888
|
+
flowActionsRoleArn: __expectString,
|
|
1889
|
+
metricsConfiguration: _json,
|
|
1890
|
+
s3BucketName: __expectString,
|
|
1891
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1892
|
+
validatedDependencyRevisions: _json,
|
|
1893
|
+
validatedNamespaceVersion: __expectLong,
|
|
1894
|
+
});
|
|
2515
1895
|
};
|
|
2516
1896
|
const de_SystemInstanceSummaries = (output, context) => {
|
|
2517
1897
|
const retVal = (output || [])
|
|
2518
1898
|
.filter((e) => e != null)
|
|
2519
1899
|
.map((entry) => {
|
|
2520
|
-
if (entry === null) {
|
|
2521
|
-
return null;
|
|
2522
|
-
}
|
|
2523
1900
|
return de_SystemInstanceSummary(entry, context);
|
|
2524
1901
|
});
|
|
2525
1902
|
return retVal;
|
|
2526
1903
|
};
|
|
2527
1904
|
const de_SystemInstanceSummary = (output, context) => {
|
|
2528
|
-
return {
|
|
2529
|
-
arn: __expectString
|
|
2530
|
-
createdAt:
|
|
2531
|
-
greengrassGroupId: __expectString
|
|
2532
|
-
greengrassGroupName: __expectString
|
|
2533
|
-
greengrassGroupVersionId: __expectString
|
|
2534
|
-
id: __expectString
|
|
2535
|
-
status: __expectString
|
|
2536
|
-
target: __expectString
|
|
2537
|
-
updatedAt:
|
|
2538
|
-
};
|
|
1905
|
+
return take(output, {
|
|
1906
|
+
arn: __expectString,
|
|
1907
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1908
|
+
greengrassGroupId: __expectString,
|
|
1909
|
+
greengrassGroupName: __expectString,
|
|
1910
|
+
greengrassGroupVersionId: __expectString,
|
|
1911
|
+
id: __expectString,
|
|
1912
|
+
status: __expectString,
|
|
1913
|
+
target: __expectString,
|
|
1914
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1915
|
+
});
|
|
2539
1916
|
};
|
|
2540
1917
|
const de_SystemTemplateDescription = (output, context) => {
|
|
2541
|
-
return {
|
|
2542
|
-
definition:
|
|
2543
|
-
summary:
|
|
2544
|
-
validatedNamespaceVersion: __expectLong
|
|
2545
|
-
};
|
|
1918
|
+
return take(output, {
|
|
1919
|
+
definition: _json,
|
|
1920
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
1921
|
+
validatedNamespaceVersion: __expectLong,
|
|
1922
|
+
});
|
|
2546
1923
|
};
|
|
2547
1924
|
const de_SystemTemplateSummaries = (output, context) => {
|
|
2548
1925
|
const retVal = (output || [])
|
|
2549
1926
|
.filter((e) => e != null)
|
|
2550
1927
|
.map((entry) => {
|
|
2551
|
-
if (entry === null) {
|
|
2552
|
-
return null;
|
|
2553
|
-
}
|
|
2554
1928
|
return de_SystemTemplateSummary(entry, context);
|
|
2555
1929
|
});
|
|
2556
1930
|
return retVal;
|
|
2557
1931
|
};
|
|
2558
1932
|
const de_SystemTemplateSummary = (output, context) => {
|
|
2559
|
-
return {
|
|
2560
|
-
arn: __expectString
|
|
2561
|
-
createdAt:
|
|
2562
|
-
id: __expectString
|
|
2563
|
-
revisionNumber: __expectLong
|
|
2564
|
-
};
|
|
2565
|
-
};
|
|
2566
|
-
const de_Tag = (output, context) => {
|
|
2567
|
-
return {
|
|
2568
|
-
key: __expectString(output.key),
|
|
2569
|
-
value: __expectString(output.value),
|
|
2570
|
-
};
|
|
2571
|
-
};
|
|
2572
|
-
const de_TagList = (output, context) => {
|
|
2573
|
-
const retVal = (output || [])
|
|
2574
|
-
.filter((e) => e != null)
|
|
2575
|
-
.map((entry) => {
|
|
2576
|
-
if (entry === null) {
|
|
2577
|
-
return null;
|
|
2578
|
-
}
|
|
2579
|
-
return de_Tag(entry, context);
|
|
1933
|
+
return take(output, {
|
|
1934
|
+
arn: __expectString,
|
|
1935
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1936
|
+
id: __expectString,
|
|
1937
|
+
revisionNumber: __expectLong,
|
|
2580
1938
|
});
|
|
2581
|
-
return retVal;
|
|
2582
|
-
};
|
|
2583
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2584
|
-
return {};
|
|
2585
|
-
};
|
|
2586
|
-
const de_Thing = (output, context) => {
|
|
2587
|
-
return {
|
|
2588
|
-
thingArn: __expectString(output.thingArn),
|
|
2589
|
-
thingName: __expectString(output.thingName),
|
|
2590
|
-
};
|
|
2591
|
-
};
|
|
2592
|
-
const de_Things = (output, context) => {
|
|
2593
|
-
const retVal = (output || [])
|
|
2594
|
-
.filter((e) => e != null)
|
|
2595
|
-
.map((entry) => {
|
|
2596
|
-
if (entry === null) {
|
|
2597
|
-
return null;
|
|
2598
|
-
}
|
|
2599
|
-
return de_Thing(entry, context);
|
|
2600
|
-
});
|
|
2601
|
-
return retVal;
|
|
2602
|
-
};
|
|
2603
|
-
const de_ThrottlingException = (output, context) => {
|
|
2604
|
-
return {
|
|
2605
|
-
message: __expectString(output.message),
|
|
2606
|
-
};
|
|
2607
1939
|
};
|
|
2608
1940
|
const de_UndeploySystemInstanceResponse = (output, context) => {
|
|
2609
|
-
return {
|
|
2610
|
-
summary:
|
|
2611
|
-
};
|
|
2612
|
-
};
|
|
2613
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2614
|
-
return {};
|
|
1941
|
+
return take(output, {
|
|
1942
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
1943
|
+
});
|
|
2615
1944
|
};
|
|
2616
1945
|
const de_UpdateFlowTemplateResponse = (output, context) => {
|
|
2617
|
-
return {
|
|
2618
|
-
summary:
|
|
2619
|
-
};
|
|
1946
|
+
return take(output, {
|
|
1947
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
1948
|
+
});
|
|
2620
1949
|
};
|
|
2621
1950
|
const de_UpdateSystemTemplateResponse = (output, context) => {
|
|
2622
|
-
return {
|
|
2623
|
-
summary:
|
|
2624
|
-
};
|
|
2625
|
-
};
|
|
2626
|
-
const de_UploadEntityDefinitionsResponse = (output, context) => {
|
|
2627
|
-
return {
|
|
2628
|
-
uploadId: __expectString(output.uploadId),
|
|
2629
|
-
};
|
|
1951
|
+
return take(output, {
|
|
1952
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
1953
|
+
});
|
|
2630
1954
|
};
|
|
2631
1955
|
const deserializeMetadata = (output) => ({
|
|
2632
1956
|
httpStatusCode: output.statusCode,
|
|
@@ -2641,6 +1965,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2641
1965
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2642
1966
|
};
|
|
2643
1967
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1968
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2644
1969
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2645
1970
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2646
1971
|
const contents = {
|
|
@@ -2659,6 +1984,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
2659
1984
|
}
|
|
2660
1985
|
return new __HttpRequest(contents);
|
|
2661
1986
|
};
|
|
1987
|
+
function sharedHeaders(operation) {
|
|
1988
|
+
return {
|
|
1989
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1990
|
+
"x-amz-target": `IotThingsGraphFrontEndService.${operation}`,
|
|
1991
|
+
};
|
|
1992
|
+
}
|
|
2662
1993
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2663
1994
|
if (encoded.length) {
|
|
2664
1995
|
return JSON.parse(encoded);
|