@aws-sdk/client-kinesis-analytics 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 +135 -1209
- package/dist-es/protocols/Aws_json1_1.js +136 -1210
- package/package.json +6 -6
|
@@ -1,185 +1,125 @@
|
|
|
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 { KinesisAnalyticsServiceException as __BaseException } from "../models/KinesisAnalyticsServiceException";
|
|
4
4
|
import { CodeValidationException, ConcurrentModificationException, InvalidApplicationConfigurationException, InvalidArgumentException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ResourceProvisionedThroughputExceededException, ServiceUnavailableException, TooManyTagsException, UnableToDetectSchemaException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
5
|
export const se_AddApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
|
|
6
|
-
const headers =
|
|
7
|
-
"content-type": "application/x-amz-json-1.1",
|
|
8
|
-
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationCloudWatchLoggingOption",
|
|
9
|
-
};
|
|
6
|
+
const headers = sharedHeaders("AddApplicationCloudWatchLoggingOption");
|
|
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_AddApplicationInputCommand = async (input, context) => {
|
|
15
|
-
const headers =
|
|
16
|
-
"content-type": "application/x-amz-json-1.1",
|
|
17
|
-
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationInput",
|
|
18
|
-
};
|
|
12
|
+
const headers = sharedHeaders("AddApplicationInput");
|
|
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_AddApplicationInputProcessingConfigurationCommand = async (input, context) => {
|
|
24
|
-
const headers =
|
|
25
|
-
"content-type": "application/x-amz-json-1.1",
|
|
26
|
-
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationInputProcessingConfiguration",
|
|
27
|
-
};
|
|
18
|
+
const headers = sharedHeaders("AddApplicationInputProcessingConfiguration");
|
|
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_AddApplicationOutputCommand = async (input, context) => {
|
|
33
|
-
const headers =
|
|
34
|
-
"content-type": "application/x-amz-json-1.1",
|
|
35
|
-
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationOutput",
|
|
36
|
-
};
|
|
24
|
+
const headers = sharedHeaders("AddApplicationOutput");
|
|
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_AddApplicationReferenceDataSourceCommand = async (input, context) => {
|
|
42
|
-
const headers =
|
|
43
|
-
"content-type": "application/x-amz-json-1.1",
|
|
44
|
-
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationReferenceDataSource",
|
|
45
|
-
};
|
|
30
|
+
const headers = sharedHeaders("AddApplicationReferenceDataSource");
|
|
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_CreateApplicationCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "KinesisAnalytics_20150814.CreateApplication",
|
|
54
|
-
};
|
|
36
|
+
const headers = sharedHeaders("CreateApplication");
|
|
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_DeleteApplicationCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.1",
|
|
62
|
-
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplication",
|
|
63
|
-
};
|
|
42
|
+
const headers = sharedHeaders("DeleteApplication");
|
|
64
43
|
let body;
|
|
65
44
|
body = JSON.stringify(se_DeleteApplicationRequest(input, context));
|
|
66
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
46
|
};
|
|
68
47
|
export const se_DeleteApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
|
|
69
|
-
const headers =
|
|
70
|
-
"content-type": "application/x-amz-json-1.1",
|
|
71
|
-
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationCloudWatchLoggingOption",
|
|
72
|
-
};
|
|
48
|
+
const headers = sharedHeaders("DeleteApplicationCloudWatchLoggingOption");
|
|
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_DeleteApplicationInputProcessingConfigurationCommand = async (input, context) => {
|
|
78
|
-
const headers =
|
|
79
|
-
"content-type": "application/x-amz-json-1.1",
|
|
80
|
-
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationInputProcessingConfiguration",
|
|
81
|
-
};
|
|
54
|
+
const headers = sharedHeaders("DeleteApplicationInputProcessingConfiguration");
|
|
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_DeleteApplicationOutputCommand = async (input, context) => {
|
|
87
|
-
const headers =
|
|
88
|
-
"content-type": "application/x-amz-json-1.1",
|
|
89
|
-
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationOutput",
|
|
90
|
-
};
|
|
60
|
+
const headers = sharedHeaders("DeleteApplicationOutput");
|
|
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_DeleteApplicationReferenceDataSourceCommand = async (input, context) => {
|
|
96
|
-
const headers =
|
|
97
|
-
"content-type": "application/x-amz-json-1.1",
|
|
98
|
-
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationReferenceDataSource",
|
|
99
|
-
};
|
|
66
|
+
const headers = sharedHeaders("DeleteApplicationReferenceDataSource");
|
|
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_DescribeApplicationCommand = async (input, context) => {
|
|
105
|
-
const headers =
|
|
106
|
-
"content-type": "application/x-amz-json-1.1",
|
|
107
|
-
"x-amz-target": "KinesisAnalytics_20150814.DescribeApplication",
|
|
108
|
-
};
|
|
72
|
+
const headers = sharedHeaders("DescribeApplication");
|
|
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_DiscoverInputSchemaCommand = async (input, context) => {
|
|
114
|
-
const headers =
|
|
115
|
-
"content-type": "application/x-amz-json-1.1",
|
|
116
|
-
"x-amz-target": "KinesisAnalytics_20150814.DiscoverInputSchema",
|
|
117
|
-
};
|
|
78
|
+
const headers = sharedHeaders("DiscoverInputSchema");
|
|
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_ListApplicationsCommand = async (input, context) => {
|
|
123
|
-
const headers =
|
|
124
|
-
"content-type": "application/x-amz-json-1.1",
|
|
125
|
-
"x-amz-target": "KinesisAnalytics_20150814.ListApplications",
|
|
126
|
-
};
|
|
84
|
+
const headers = sharedHeaders("ListApplications");
|
|
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_ListTagsForResourceCommand = async (input, context) => {
|
|
132
|
-
const headers =
|
|
133
|
-
"content-type": "application/x-amz-json-1.1",
|
|
134
|
-
"x-amz-target": "KinesisAnalytics_20150814.ListTagsForResource",
|
|
135
|
-
};
|
|
90
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
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_StartApplicationCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "KinesisAnalytics_20150814.StartApplication",
|
|
144
|
-
};
|
|
96
|
+
const headers = sharedHeaders("StartApplication");
|
|
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_StopApplicationCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.1",
|
|
152
|
-
"x-amz-target": "KinesisAnalytics_20150814.StopApplication",
|
|
153
|
-
};
|
|
102
|
+
const headers = sharedHeaders("StopApplication");
|
|
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_TagResourceCommand = async (input, context) => {
|
|
159
|
-
const headers =
|
|
160
|
-
"content-type": "application/x-amz-json-1.1",
|
|
161
|
-
"x-amz-target": "KinesisAnalytics_20150814.TagResource",
|
|
162
|
-
};
|
|
108
|
+
const headers = sharedHeaders("TagResource");
|
|
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_UntagResourceCommand = async (input, context) => {
|
|
168
|
-
const headers =
|
|
169
|
-
"content-type": "application/x-amz-json-1.1",
|
|
170
|
-
"x-amz-target": "KinesisAnalytics_20150814.UntagResource",
|
|
171
|
-
};
|
|
114
|
+
const headers = sharedHeaders("UntagResource");
|
|
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_UpdateApplicationCommand = async (input, context) => {
|
|
177
|
-
const headers =
|
|
178
|
-
"content-type": "application/x-amz-json-1.1",
|
|
179
|
-
"x-amz-target": "KinesisAnalytics_20150814.UpdateApplication",
|
|
180
|
-
};
|
|
120
|
+
const headers = sharedHeaders("UpdateApplication");
|
|
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 de_AddApplicationCloudWatchLoggingOptionCommand = async (output, context) => {
|
|
@@ -188,12 +128,12 @@ export const de_AddApplicationCloudWatchLoggingOptionCommand = async (output, co
|
|
|
188
128
|
}
|
|
189
129
|
const data = await parseBody(output.body, context);
|
|
190
130
|
let contents = {};
|
|
191
|
-
contents =
|
|
131
|
+
contents = _json(data);
|
|
192
132
|
const response = {
|
|
193
133
|
$metadata: deserializeMetadata(output),
|
|
194
134
|
...contents,
|
|
195
135
|
};
|
|
196
|
-
return
|
|
136
|
+
return response;
|
|
197
137
|
};
|
|
198
138
|
const de_AddApplicationCloudWatchLoggingOptionCommandError = async (output, context) => {
|
|
199
139
|
const parsedOutput = {
|
|
@@ -219,10 +159,9 @@ const de_AddApplicationCloudWatchLoggingOptionCommandError = async (output, cont
|
|
|
219
159
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
220
160
|
default:
|
|
221
161
|
const parsedBody = parsedOutput.body;
|
|
222
|
-
throwDefaultError({
|
|
162
|
+
return throwDefaultError({
|
|
223
163
|
output,
|
|
224
164
|
parsedBody,
|
|
225
|
-
exceptionCtor: __BaseException,
|
|
226
165
|
errorCode,
|
|
227
166
|
});
|
|
228
167
|
}
|
|
@@ -233,12 +172,12 @@ export const de_AddApplicationInputCommand = async (output, context) => {
|
|
|
233
172
|
}
|
|
234
173
|
const data = await parseBody(output.body, context);
|
|
235
174
|
let contents = {};
|
|
236
|
-
contents =
|
|
175
|
+
contents = _json(data);
|
|
237
176
|
const response = {
|
|
238
177
|
$metadata: deserializeMetadata(output),
|
|
239
178
|
...contents,
|
|
240
179
|
};
|
|
241
|
-
return
|
|
180
|
+
return response;
|
|
242
181
|
};
|
|
243
182
|
const de_AddApplicationInputCommandError = async (output, context) => {
|
|
244
183
|
const parsedOutput = {
|
|
@@ -267,10 +206,9 @@ const de_AddApplicationInputCommandError = async (output, context) => {
|
|
|
267
206
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
268
207
|
default:
|
|
269
208
|
const parsedBody = parsedOutput.body;
|
|
270
|
-
throwDefaultError({
|
|
209
|
+
return throwDefaultError({
|
|
271
210
|
output,
|
|
272
211
|
parsedBody,
|
|
273
|
-
exceptionCtor: __BaseException,
|
|
274
212
|
errorCode,
|
|
275
213
|
});
|
|
276
214
|
}
|
|
@@ -281,12 +219,12 @@ export const de_AddApplicationInputProcessingConfigurationCommand = async (outpu
|
|
|
281
219
|
}
|
|
282
220
|
const data = await parseBody(output.body, context);
|
|
283
221
|
let contents = {};
|
|
284
|
-
contents =
|
|
222
|
+
contents = _json(data);
|
|
285
223
|
const response = {
|
|
286
224
|
$metadata: deserializeMetadata(output),
|
|
287
225
|
...contents,
|
|
288
226
|
};
|
|
289
|
-
return
|
|
227
|
+
return response;
|
|
290
228
|
};
|
|
291
229
|
const de_AddApplicationInputProcessingConfigurationCommandError = async (output, context) => {
|
|
292
230
|
const parsedOutput = {
|
|
@@ -312,10 +250,9 @@ const de_AddApplicationInputProcessingConfigurationCommandError = async (output,
|
|
|
312
250
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
313
251
|
default:
|
|
314
252
|
const parsedBody = parsedOutput.body;
|
|
315
|
-
throwDefaultError({
|
|
253
|
+
return throwDefaultError({
|
|
316
254
|
output,
|
|
317
255
|
parsedBody,
|
|
318
|
-
exceptionCtor: __BaseException,
|
|
319
256
|
errorCode,
|
|
320
257
|
});
|
|
321
258
|
}
|
|
@@ -326,12 +263,12 @@ export const de_AddApplicationOutputCommand = async (output, context) => {
|
|
|
326
263
|
}
|
|
327
264
|
const data = await parseBody(output.body, context);
|
|
328
265
|
let contents = {};
|
|
329
|
-
contents =
|
|
266
|
+
contents = _json(data);
|
|
330
267
|
const response = {
|
|
331
268
|
$metadata: deserializeMetadata(output),
|
|
332
269
|
...contents,
|
|
333
270
|
};
|
|
334
|
-
return
|
|
271
|
+
return response;
|
|
335
272
|
};
|
|
336
273
|
const de_AddApplicationOutputCommandError = async (output, context) => {
|
|
337
274
|
const parsedOutput = {
|
|
@@ -357,10 +294,9 @@ const de_AddApplicationOutputCommandError = async (output, context) => {
|
|
|
357
294
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
358
295
|
default:
|
|
359
296
|
const parsedBody = parsedOutput.body;
|
|
360
|
-
throwDefaultError({
|
|
297
|
+
return throwDefaultError({
|
|
361
298
|
output,
|
|
362
299
|
parsedBody,
|
|
363
|
-
exceptionCtor: __BaseException,
|
|
364
300
|
errorCode,
|
|
365
301
|
});
|
|
366
302
|
}
|
|
@@ -371,12 +307,12 @@ export const de_AddApplicationReferenceDataSourceCommand = async (output, contex
|
|
|
371
307
|
}
|
|
372
308
|
const data = await parseBody(output.body, context);
|
|
373
309
|
let contents = {};
|
|
374
|
-
contents =
|
|
310
|
+
contents = _json(data);
|
|
375
311
|
const response = {
|
|
376
312
|
$metadata: deserializeMetadata(output),
|
|
377
313
|
...contents,
|
|
378
314
|
};
|
|
379
|
-
return
|
|
315
|
+
return response;
|
|
380
316
|
};
|
|
381
317
|
const de_AddApplicationReferenceDataSourceCommandError = async (output, context) => {
|
|
382
318
|
const parsedOutput = {
|
|
@@ -402,10 +338,9 @@ const de_AddApplicationReferenceDataSourceCommandError = async (output, context)
|
|
|
402
338
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
403
339
|
default:
|
|
404
340
|
const parsedBody = parsedOutput.body;
|
|
405
|
-
throwDefaultError({
|
|
341
|
+
return throwDefaultError({
|
|
406
342
|
output,
|
|
407
343
|
parsedBody,
|
|
408
|
-
exceptionCtor: __BaseException,
|
|
409
344
|
errorCode,
|
|
410
345
|
});
|
|
411
346
|
}
|
|
@@ -416,12 +351,12 @@ export const de_CreateApplicationCommand = async (output, context) => {
|
|
|
416
351
|
}
|
|
417
352
|
const data = await parseBody(output.body, context);
|
|
418
353
|
let contents = {};
|
|
419
|
-
contents =
|
|
354
|
+
contents = _json(data);
|
|
420
355
|
const response = {
|
|
421
356
|
$metadata: deserializeMetadata(output),
|
|
422
357
|
...contents,
|
|
423
358
|
};
|
|
424
|
-
return
|
|
359
|
+
return response;
|
|
425
360
|
};
|
|
426
361
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
427
362
|
const parsedOutput = {
|
|
@@ -450,10 +385,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
450
385
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
451
386
|
default:
|
|
452
387
|
const parsedBody = parsedOutput.body;
|
|
453
|
-
throwDefaultError({
|
|
388
|
+
return throwDefaultError({
|
|
454
389
|
output,
|
|
455
390
|
parsedBody,
|
|
456
|
-
exceptionCtor: __BaseException,
|
|
457
391
|
errorCode,
|
|
458
392
|
});
|
|
459
393
|
}
|
|
@@ -464,12 +398,12 @@ export const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
464
398
|
}
|
|
465
399
|
const data = await parseBody(output.body, context);
|
|
466
400
|
let contents = {};
|
|
467
|
-
contents =
|
|
401
|
+
contents = _json(data);
|
|
468
402
|
const response = {
|
|
469
403
|
$metadata: deserializeMetadata(output),
|
|
470
404
|
...contents,
|
|
471
405
|
};
|
|
472
|
-
return
|
|
406
|
+
return response;
|
|
473
407
|
};
|
|
474
408
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
475
409
|
const parsedOutput = {
|
|
@@ -492,10 +426,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
492
426
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
493
427
|
default:
|
|
494
428
|
const parsedBody = parsedOutput.body;
|
|
495
|
-
throwDefaultError({
|
|
429
|
+
return throwDefaultError({
|
|
496
430
|
output,
|
|
497
431
|
parsedBody,
|
|
498
|
-
exceptionCtor: __BaseException,
|
|
499
432
|
errorCode,
|
|
500
433
|
});
|
|
501
434
|
}
|
|
@@ -506,12 +439,12 @@ export const de_DeleteApplicationCloudWatchLoggingOptionCommand = async (output,
|
|
|
506
439
|
}
|
|
507
440
|
const data = await parseBody(output.body, context);
|
|
508
441
|
let contents = {};
|
|
509
|
-
contents =
|
|
442
|
+
contents = _json(data);
|
|
510
443
|
const response = {
|
|
511
444
|
$metadata: deserializeMetadata(output),
|
|
512
445
|
...contents,
|
|
513
446
|
};
|
|
514
|
-
return
|
|
447
|
+
return response;
|
|
515
448
|
};
|
|
516
449
|
const de_DeleteApplicationCloudWatchLoggingOptionCommandError = async (output, context) => {
|
|
517
450
|
const parsedOutput = {
|
|
@@ -537,10 +470,9 @@ const de_DeleteApplicationCloudWatchLoggingOptionCommandError = async (output, c
|
|
|
537
470
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
538
471
|
default:
|
|
539
472
|
const parsedBody = parsedOutput.body;
|
|
540
|
-
throwDefaultError({
|
|
473
|
+
return throwDefaultError({
|
|
541
474
|
output,
|
|
542
475
|
parsedBody,
|
|
543
|
-
exceptionCtor: __BaseException,
|
|
544
476
|
errorCode,
|
|
545
477
|
});
|
|
546
478
|
}
|
|
@@ -551,12 +483,12 @@ export const de_DeleteApplicationInputProcessingConfigurationCommand = async (ou
|
|
|
551
483
|
}
|
|
552
484
|
const data = await parseBody(output.body, context);
|
|
553
485
|
let contents = {};
|
|
554
|
-
contents =
|
|
486
|
+
contents = _json(data);
|
|
555
487
|
const response = {
|
|
556
488
|
$metadata: deserializeMetadata(output),
|
|
557
489
|
...contents,
|
|
558
490
|
};
|
|
559
|
-
return
|
|
491
|
+
return response;
|
|
560
492
|
};
|
|
561
493
|
const de_DeleteApplicationInputProcessingConfigurationCommandError = async (output, context) => {
|
|
562
494
|
const parsedOutput = {
|
|
@@ -582,10 +514,9 @@ const de_DeleteApplicationInputProcessingConfigurationCommandError = async (outp
|
|
|
582
514
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
583
515
|
default:
|
|
584
516
|
const parsedBody = parsedOutput.body;
|
|
585
|
-
throwDefaultError({
|
|
517
|
+
return throwDefaultError({
|
|
586
518
|
output,
|
|
587
519
|
parsedBody,
|
|
588
|
-
exceptionCtor: __BaseException,
|
|
589
520
|
errorCode,
|
|
590
521
|
});
|
|
591
522
|
}
|
|
@@ -596,12 +527,12 @@ export const de_DeleteApplicationOutputCommand = async (output, context) => {
|
|
|
596
527
|
}
|
|
597
528
|
const data = await parseBody(output.body, context);
|
|
598
529
|
let contents = {};
|
|
599
|
-
contents =
|
|
530
|
+
contents = _json(data);
|
|
600
531
|
const response = {
|
|
601
532
|
$metadata: deserializeMetadata(output),
|
|
602
533
|
...contents,
|
|
603
534
|
};
|
|
604
|
-
return
|
|
535
|
+
return response;
|
|
605
536
|
};
|
|
606
537
|
const de_DeleteApplicationOutputCommandError = async (output, context) => {
|
|
607
538
|
const parsedOutput = {
|
|
@@ -627,10 +558,9 @@ const de_DeleteApplicationOutputCommandError = async (output, context) => {
|
|
|
627
558
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
628
559
|
default:
|
|
629
560
|
const parsedBody = parsedOutput.body;
|
|
630
|
-
throwDefaultError({
|
|
561
|
+
return throwDefaultError({
|
|
631
562
|
output,
|
|
632
563
|
parsedBody,
|
|
633
|
-
exceptionCtor: __BaseException,
|
|
634
564
|
errorCode,
|
|
635
565
|
});
|
|
636
566
|
}
|
|
@@ -641,12 +571,12 @@ export const de_DeleteApplicationReferenceDataSourceCommand = async (output, con
|
|
|
641
571
|
}
|
|
642
572
|
const data = await parseBody(output.body, context);
|
|
643
573
|
let contents = {};
|
|
644
|
-
contents =
|
|
574
|
+
contents = _json(data);
|
|
645
575
|
const response = {
|
|
646
576
|
$metadata: deserializeMetadata(output),
|
|
647
577
|
...contents,
|
|
648
578
|
};
|
|
649
|
-
return
|
|
579
|
+
return response;
|
|
650
580
|
};
|
|
651
581
|
const de_DeleteApplicationReferenceDataSourceCommandError = async (output, context) => {
|
|
652
582
|
const parsedOutput = {
|
|
@@ -672,10 +602,9 @@ const de_DeleteApplicationReferenceDataSourceCommandError = async (output, conte
|
|
|
672
602
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
673
603
|
default:
|
|
674
604
|
const parsedBody = parsedOutput.body;
|
|
675
|
-
throwDefaultError({
|
|
605
|
+
return throwDefaultError({
|
|
676
606
|
output,
|
|
677
607
|
parsedBody,
|
|
678
|
-
exceptionCtor: __BaseException,
|
|
679
608
|
errorCode,
|
|
680
609
|
});
|
|
681
610
|
}
|
|
@@ -691,7 +620,7 @@ export const de_DescribeApplicationCommand = async (output, context) => {
|
|
|
691
620
|
$metadata: deserializeMetadata(output),
|
|
692
621
|
...contents,
|
|
693
622
|
};
|
|
694
|
-
return
|
|
623
|
+
return response;
|
|
695
624
|
};
|
|
696
625
|
const de_DescribeApplicationCommandError = async (output, context) => {
|
|
697
626
|
const parsedOutput = {
|
|
@@ -708,10 +637,9 @@ const de_DescribeApplicationCommandError = async (output, context) => {
|
|
|
708
637
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
709
638
|
default:
|
|
710
639
|
const parsedBody = parsedOutput.body;
|
|
711
|
-
throwDefaultError({
|
|
640
|
+
return throwDefaultError({
|
|
712
641
|
output,
|
|
713
642
|
parsedBody,
|
|
714
|
-
exceptionCtor: __BaseException,
|
|
715
643
|
errorCode,
|
|
716
644
|
});
|
|
717
645
|
}
|
|
@@ -722,12 +650,12 @@ export const de_DiscoverInputSchemaCommand = async (output, context) => {
|
|
|
722
650
|
}
|
|
723
651
|
const data = await parseBody(output.body, context);
|
|
724
652
|
let contents = {};
|
|
725
|
-
contents =
|
|
653
|
+
contents = _json(data);
|
|
726
654
|
const response = {
|
|
727
655
|
$metadata: deserializeMetadata(output),
|
|
728
656
|
...contents,
|
|
729
657
|
};
|
|
730
|
-
return
|
|
658
|
+
return response;
|
|
731
659
|
};
|
|
732
660
|
const de_DiscoverInputSchemaCommandError = async (output, context) => {
|
|
733
661
|
const parsedOutput = {
|
|
@@ -750,10 +678,9 @@ const de_DiscoverInputSchemaCommandError = async (output, context) => {
|
|
|
750
678
|
throw await de_UnableToDetectSchemaExceptionRes(parsedOutput, context);
|
|
751
679
|
default:
|
|
752
680
|
const parsedBody = parsedOutput.body;
|
|
753
|
-
throwDefaultError({
|
|
681
|
+
return throwDefaultError({
|
|
754
682
|
output,
|
|
755
683
|
parsedBody,
|
|
756
|
-
exceptionCtor: __BaseException,
|
|
757
684
|
errorCode,
|
|
758
685
|
});
|
|
759
686
|
}
|
|
@@ -764,12 +691,12 @@ export const de_ListApplicationsCommand = async (output, context) => {
|
|
|
764
691
|
}
|
|
765
692
|
const data = await parseBody(output.body, context);
|
|
766
693
|
let contents = {};
|
|
767
|
-
contents =
|
|
694
|
+
contents = _json(data);
|
|
768
695
|
const response = {
|
|
769
696
|
$metadata: deserializeMetadata(output),
|
|
770
697
|
...contents,
|
|
771
698
|
};
|
|
772
|
-
return
|
|
699
|
+
return response;
|
|
773
700
|
};
|
|
774
701
|
const de_ListApplicationsCommandError = async (output, context) => {
|
|
775
702
|
const parsedOutput = {
|
|
@@ -778,10 +705,9 @@ const de_ListApplicationsCommandError = async (output, context) => {
|
|
|
778
705
|
};
|
|
779
706
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
780
707
|
const parsedBody = parsedOutput.body;
|
|
781
|
-
throwDefaultError({
|
|
708
|
+
return throwDefaultError({
|
|
782
709
|
output,
|
|
783
710
|
parsedBody,
|
|
784
|
-
exceptionCtor: __BaseException,
|
|
785
711
|
errorCode,
|
|
786
712
|
});
|
|
787
713
|
};
|
|
@@ -791,12 +717,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
791
717
|
}
|
|
792
718
|
const data = await parseBody(output.body, context);
|
|
793
719
|
let contents = {};
|
|
794
|
-
contents =
|
|
720
|
+
contents = _json(data);
|
|
795
721
|
const response = {
|
|
796
722
|
$metadata: deserializeMetadata(output),
|
|
797
723
|
...contents,
|
|
798
724
|
};
|
|
799
|
-
return
|
|
725
|
+
return response;
|
|
800
726
|
};
|
|
801
727
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
802
728
|
const parsedOutput = {
|
|
@@ -816,10 +742,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
816
742
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
817
743
|
default:
|
|
818
744
|
const parsedBody = parsedOutput.body;
|
|
819
|
-
throwDefaultError({
|
|
745
|
+
return throwDefaultError({
|
|
820
746
|
output,
|
|
821
747
|
parsedBody,
|
|
822
|
-
exceptionCtor: __BaseException,
|
|
823
748
|
errorCode,
|
|
824
749
|
});
|
|
825
750
|
}
|
|
@@ -830,12 +755,12 @@ export const de_StartApplicationCommand = async (output, context) => {
|
|
|
830
755
|
}
|
|
831
756
|
const data = await parseBody(output.body, context);
|
|
832
757
|
let contents = {};
|
|
833
|
-
contents =
|
|
758
|
+
contents = _json(data);
|
|
834
759
|
const response = {
|
|
835
760
|
$metadata: deserializeMetadata(output),
|
|
836
761
|
...contents,
|
|
837
762
|
};
|
|
838
|
-
return
|
|
763
|
+
return response;
|
|
839
764
|
};
|
|
840
765
|
const de_StartApplicationCommandError = async (output, context) => {
|
|
841
766
|
const parsedOutput = {
|
|
@@ -861,10 +786,9 @@ const de_StartApplicationCommandError = async (output, context) => {
|
|
|
861
786
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
862
787
|
default:
|
|
863
788
|
const parsedBody = parsedOutput.body;
|
|
864
|
-
throwDefaultError({
|
|
789
|
+
return throwDefaultError({
|
|
865
790
|
output,
|
|
866
791
|
parsedBody,
|
|
867
|
-
exceptionCtor: __BaseException,
|
|
868
792
|
errorCode,
|
|
869
793
|
});
|
|
870
794
|
}
|
|
@@ -875,12 +799,12 @@ export const de_StopApplicationCommand = async (output, context) => {
|
|
|
875
799
|
}
|
|
876
800
|
const data = await parseBody(output.body, context);
|
|
877
801
|
let contents = {};
|
|
878
|
-
contents =
|
|
802
|
+
contents = _json(data);
|
|
879
803
|
const response = {
|
|
880
804
|
$metadata: deserializeMetadata(output),
|
|
881
805
|
...contents,
|
|
882
806
|
};
|
|
883
|
-
return
|
|
807
|
+
return response;
|
|
884
808
|
};
|
|
885
809
|
const de_StopApplicationCommandError = async (output, context) => {
|
|
886
810
|
const parsedOutput = {
|
|
@@ -900,10 +824,9 @@ const de_StopApplicationCommandError = async (output, context) => {
|
|
|
900
824
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
901
825
|
default:
|
|
902
826
|
const parsedBody = parsedOutput.body;
|
|
903
|
-
throwDefaultError({
|
|
827
|
+
return throwDefaultError({
|
|
904
828
|
output,
|
|
905
829
|
parsedBody,
|
|
906
|
-
exceptionCtor: __BaseException,
|
|
907
830
|
errorCode,
|
|
908
831
|
});
|
|
909
832
|
}
|
|
@@ -914,12 +837,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
914
837
|
}
|
|
915
838
|
const data = await parseBody(output.body, context);
|
|
916
839
|
let contents = {};
|
|
917
|
-
contents =
|
|
840
|
+
contents = _json(data);
|
|
918
841
|
const response = {
|
|
919
842
|
$metadata: deserializeMetadata(output),
|
|
920
843
|
...contents,
|
|
921
844
|
};
|
|
922
|
-
return
|
|
845
|
+
return response;
|
|
923
846
|
};
|
|
924
847
|
const de_TagResourceCommandError = async (output, context) => {
|
|
925
848
|
const parsedOutput = {
|
|
@@ -945,10 +868,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
945
868
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
946
869
|
default:
|
|
947
870
|
const parsedBody = parsedOutput.body;
|
|
948
|
-
throwDefaultError({
|
|
871
|
+
return throwDefaultError({
|
|
949
872
|
output,
|
|
950
873
|
parsedBody,
|
|
951
|
-
exceptionCtor: __BaseException,
|
|
952
874
|
errorCode,
|
|
953
875
|
});
|
|
954
876
|
}
|
|
@@ -959,12 +881,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
959
881
|
}
|
|
960
882
|
const data = await parseBody(output.body, context);
|
|
961
883
|
let contents = {};
|
|
962
|
-
contents =
|
|
884
|
+
contents = _json(data);
|
|
963
885
|
const response = {
|
|
964
886
|
$metadata: deserializeMetadata(output),
|
|
965
887
|
...contents,
|
|
966
888
|
};
|
|
967
|
-
return
|
|
889
|
+
return response;
|
|
968
890
|
};
|
|
969
891
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
970
892
|
const parsedOutput = {
|
|
@@ -990,10 +912,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
990
912
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
991
913
|
default:
|
|
992
914
|
const parsedBody = parsedOutput.body;
|
|
993
|
-
throwDefaultError({
|
|
915
|
+
return throwDefaultError({
|
|
994
916
|
output,
|
|
995
917
|
parsedBody,
|
|
996
|
-
exceptionCtor: __BaseException,
|
|
997
918
|
errorCode,
|
|
998
919
|
});
|
|
999
920
|
}
|
|
@@ -1004,12 +925,12 @@ export const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
1004
925
|
}
|
|
1005
926
|
const data = await parseBody(output.body, context);
|
|
1006
927
|
let contents = {};
|
|
1007
|
-
contents =
|
|
928
|
+
contents = _json(data);
|
|
1008
929
|
const response = {
|
|
1009
930
|
$metadata: deserializeMetadata(output),
|
|
1010
931
|
...contents,
|
|
1011
932
|
};
|
|
1012
|
-
return
|
|
933
|
+
return response;
|
|
1013
934
|
};
|
|
1014
935
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1015
936
|
const parsedOutput = {
|
|
@@ -1038,17 +959,16 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1038
959
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1039
960
|
default:
|
|
1040
961
|
const parsedBody = parsedOutput.body;
|
|
1041
|
-
throwDefaultError({
|
|
962
|
+
return throwDefaultError({
|
|
1042
963
|
output,
|
|
1043
964
|
parsedBody,
|
|
1044
|
-
exceptionCtor: __BaseException,
|
|
1045
965
|
errorCode,
|
|
1046
966
|
});
|
|
1047
967
|
}
|
|
1048
968
|
};
|
|
1049
969
|
const de_CodeValidationExceptionRes = async (parsedOutput, context) => {
|
|
1050
970
|
const body = parsedOutput.body;
|
|
1051
|
-
const deserialized =
|
|
971
|
+
const deserialized = _json(body);
|
|
1052
972
|
const exception = new CodeValidationException({
|
|
1053
973
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1054
974
|
...deserialized,
|
|
@@ -1057,7 +977,7 @@ const de_CodeValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1057
977
|
};
|
|
1058
978
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
1059
979
|
const body = parsedOutput.body;
|
|
1060
|
-
const deserialized =
|
|
980
|
+
const deserialized = _json(body);
|
|
1061
981
|
const exception = new ConcurrentModificationException({
|
|
1062
982
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1063
983
|
...deserialized,
|
|
@@ -1066,7 +986,7 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
1066
986
|
};
|
|
1067
987
|
const de_InvalidApplicationConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
1068
988
|
const body = parsedOutput.body;
|
|
1069
|
-
const deserialized =
|
|
989
|
+
const deserialized = _json(body);
|
|
1070
990
|
const exception = new InvalidApplicationConfigurationException({
|
|
1071
991
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1072
992
|
...deserialized,
|
|
@@ -1075,7 +995,7 @@ const de_InvalidApplicationConfigurationExceptionRes = async (parsedOutput, cont
|
|
|
1075
995
|
};
|
|
1076
996
|
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1077
997
|
const body = parsedOutput.body;
|
|
1078
|
-
const deserialized =
|
|
998
|
+
const deserialized = _json(body);
|
|
1079
999
|
const exception = new InvalidArgumentException({
|
|
1080
1000
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1081
1001
|
...deserialized,
|
|
@@ -1084,7 +1004,7 @@ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
|
1084
1004
|
};
|
|
1085
1005
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1086
1006
|
const body = parsedOutput.body;
|
|
1087
|
-
const deserialized =
|
|
1007
|
+
const deserialized = _json(body);
|
|
1088
1008
|
const exception = new LimitExceededException({
|
|
1089
1009
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1090
1010
|
...deserialized,
|
|
@@ -1093,7 +1013,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1093
1013
|
};
|
|
1094
1014
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1095
1015
|
const body = parsedOutput.body;
|
|
1096
|
-
const deserialized =
|
|
1016
|
+
const deserialized = _json(body);
|
|
1097
1017
|
const exception = new ResourceInUseException({
|
|
1098
1018
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1099
1019
|
...deserialized,
|
|
@@ -1102,7 +1022,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1102
1022
|
};
|
|
1103
1023
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1104
1024
|
const body = parsedOutput.body;
|
|
1105
|
-
const deserialized =
|
|
1025
|
+
const deserialized = _json(body);
|
|
1106
1026
|
const exception = new ResourceNotFoundException({
|
|
1107
1027
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1108
1028
|
...deserialized,
|
|
@@ -1111,7 +1031,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1111
1031
|
};
|
|
1112
1032
|
const de_ResourceProvisionedThroughputExceededExceptionRes = async (parsedOutput, context) => {
|
|
1113
1033
|
const body = parsedOutput.body;
|
|
1114
|
-
const deserialized =
|
|
1034
|
+
const deserialized = _json(body);
|
|
1115
1035
|
const exception = new ResourceProvisionedThroughputExceededException({
|
|
1116
1036
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1117
1037
|
...deserialized,
|
|
@@ -1120,7 +1040,7 @@ const de_ResourceProvisionedThroughputExceededExceptionRes = async (parsedOutput
|
|
|
1120
1040
|
};
|
|
1121
1041
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1122
1042
|
const body = parsedOutput.body;
|
|
1123
|
-
const deserialized =
|
|
1043
|
+
const deserialized = _json(body);
|
|
1124
1044
|
const exception = new ServiceUnavailableException({
|
|
1125
1045
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1126
1046
|
...deserialized,
|
|
@@ -1129,7 +1049,7 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
1129
1049
|
};
|
|
1130
1050
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1131
1051
|
const body = parsedOutput.body;
|
|
1132
|
-
const deserialized =
|
|
1052
|
+
const deserialized = _json(body);
|
|
1133
1053
|
const exception = new TooManyTagsException({
|
|
1134
1054
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1135
1055
|
...deserialized,
|
|
@@ -1138,7 +1058,7 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
1138
1058
|
};
|
|
1139
1059
|
const de_UnableToDetectSchemaExceptionRes = async (parsedOutput, context) => {
|
|
1140
1060
|
const body = parsedOutput.body;
|
|
1141
|
-
const deserialized =
|
|
1061
|
+
const deserialized = _json(body);
|
|
1142
1062
|
const exception = new UnableToDetectSchemaException({
|
|
1143
1063
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1144
1064
|
...deserialized,
|
|
@@ -1147,1040 +1067,39 @@ const de_UnableToDetectSchemaExceptionRes = async (parsedOutput, context) => {
|
|
|
1147
1067
|
};
|
|
1148
1068
|
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
1149
1069
|
const body = parsedOutput.body;
|
|
1150
|
-
const deserialized =
|
|
1070
|
+
const deserialized = _json(body);
|
|
1151
1071
|
const exception = new UnsupportedOperationException({
|
|
1152
1072
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1153
1073
|
...deserialized,
|
|
1154
1074
|
});
|
|
1155
1075
|
return __decorateServiceException(exception, body);
|
|
1156
1076
|
};
|
|
1157
|
-
const se_AddApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
1158
|
-
return {
|
|
1159
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1160
|
-
...(input.CloudWatchLoggingOption != null && {
|
|
1161
|
-
CloudWatchLoggingOption: se_CloudWatchLoggingOption(input.CloudWatchLoggingOption, context),
|
|
1162
|
-
}),
|
|
1163
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1164
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1165
|
-
}),
|
|
1166
|
-
};
|
|
1167
|
-
};
|
|
1168
|
-
const se_AddApplicationInputProcessingConfigurationRequest = (input, context) => {
|
|
1169
|
-
return {
|
|
1170
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1171
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1172
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1173
|
-
}),
|
|
1174
|
-
...(input.InputId != null && { InputId: input.InputId }),
|
|
1175
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1176
|
-
InputProcessingConfiguration: se_InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1177
|
-
}),
|
|
1178
|
-
};
|
|
1179
|
-
};
|
|
1180
|
-
const se_AddApplicationInputRequest = (input, context) => {
|
|
1181
|
-
return {
|
|
1182
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1183
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1184
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1185
|
-
}),
|
|
1186
|
-
...(input.Input != null && { Input: se_Input(input.Input, context) }),
|
|
1187
|
-
};
|
|
1188
|
-
};
|
|
1189
|
-
const se_AddApplicationOutputRequest = (input, context) => {
|
|
1190
|
-
return {
|
|
1191
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1192
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1193
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1194
|
-
}),
|
|
1195
|
-
...(input.Output != null && { Output: se_Output(input.Output, context) }),
|
|
1196
|
-
};
|
|
1197
|
-
};
|
|
1198
|
-
const se_AddApplicationReferenceDataSourceRequest = (input, context) => {
|
|
1199
|
-
return {
|
|
1200
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1201
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1202
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1203
|
-
}),
|
|
1204
|
-
...(input.ReferenceDataSource != null && {
|
|
1205
|
-
ReferenceDataSource: se_ReferenceDataSource(input.ReferenceDataSource, context),
|
|
1206
|
-
}),
|
|
1207
|
-
};
|
|
1208
|
-
};
|
|
1209
|
-
const se_ApplicationUpdate = (input, context) => {
|
|
1210
|
-
return {
|
|
1211
|
-
...(input.ApplicationCodeUpdate != null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate }),
|
|
1212
|
-
...(input.CloudWatchLoggingOptionUpdates != null && {
|
|
1213
|
-
CloudWatchLoggingOptionUpdates: se_CloudWatchLoggingOptionUpdates(input.CloudWatchLoggingOptionUpdates, context),
|
|
1214
|
-
}),
|
|
1215
|
-
...(input.InputUpdates != null && { InputUpdates: se_InputUpdates(input.InputUpdates, context) }),
|
|
1216
|
-
...(input.OutputUpdates != null && { OutputUpdates: se_OutputUpdates(input.OutputUpdates, context) }),
|
|
1217
|
-
...(input.ReferenceDataSourceUpdates != null && {
|
|
1218
|
-
ReferenceDataSourceUpdates: se_ReferenceDataSourceUpdates(input.ReferenceDataSourceUpdates, context),
|
|
1219
|
-
}),
|
|
1220
|
-
};
|
|
1221
|
-
};
|
|
1222
|
-
const se_CloudWatchLoggingOption = (input, context) => {
|
|
1223
|
-
return {
|
|
1224
|
-
...(input.LogStreamARN != null && { LogStreamARN: input.LogStreamARN }),
|
|
1225
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1226
|
-
};
|
|
1227
|
-
};
|
|
1228
|
-
const se_CloudWatchLoggingOptions = (input, context) => {
|
|
1229
|
-
return input
|
|
1230
|
-
.filter((e) => e != null)
|
|
1231
|
-
.map((entry) => {
|
|
1232
|
-
return se_CloudWatchLoggingOption(entry, context);
|
|
1233
|
-
});
|
|
1234
|
-
};
|
|
1235
|
-
const se_CloudWatchLoggingOptionUpdate = (input, context) => {
|
|
1236
|
-
return {
|
|
1237
|
-
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1238
|
-
...(input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate }),
|
|
1239
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1240
|
-
};
|
|
1241
|
-
};
|
|
1242
|
-
const se_CloudWatchLoggingOptionUpdates = (input, context) => {
|
|
1243
|
-
return input
|
|
1244
|
-
.filter((e) => e != null)
|
|
1245
|
-
.map((entry) => {
|
|
1246
|
-
return se_CloudWatchLoggingOptionUpdate(entry, context);
|
|
1247
|
-
});
|
|
1248
|
-
};
|
|
1249
|
-
const se_CreateApplicationRequest = (input, context) => {
|
|
1250
|
-
return {
|
|
1251
|
-
...(input.ApplicationCode != null && { ApplicationCode: input.ApplicationCode }),
|
|
1252
|
-
...(input.ApplicationDescription != null && { ApplicationDescription: input.ApplicationDescription }),
|
|
1253
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1254
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1255
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1256
|
-
}),
|
|
1257
|
-
...(input.Inputs != null && { Inputs: se_Inputs(input.Inputs, context) }),
|
|
1258
|
-
...(input.Outputs != null && { Outputs: se_Outputs(input.Outputs, context) }),
|
|
1259
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
1260
|
-
};
|
|
1261
|
-
};
|
|
1262
|
-
const se_CSVMappingParameters = (input, context) => {
|
|
1263
|
-
return {
|
|
1264
|
-
...(input.RecordColumnDelimiter != null && { RecordColumnDelimiter: input.RecordColumnDelimiter }),
|
|
1265
|
-
...(input.RecordRowDelimiter != null && { RecordRowDelimiter: input.RecordRowDelimiter }),
|
|
1266
|
-
};
|
|
1267
|
-
};
|
|
1268
|
-
const se_DeleteApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
1269
|
-
return {
|
|
1270
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1271
|
-
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1272
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1273
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1274
|
-
}),
|
|
1275
|
-
};
|
|
1276
|
-
};
|
|
1277
|
-
const se_DeleteApplicationInputProcessingConfigurationRequest = (input, context) => {
|
|
1278
|
-
return {
|
|
1279
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1280
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1281
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1282
|
-
}),
|
|
1283
|
-
...(input.InputId != null && { InputId: input.InputId }),
|
|
1284
|
-
};
|
|
1285
|
-
};
|
|
1286
|
-
const se_DeleteApplicationOutputRequest = (input, context) => {
|
|
1287
|
-
return {
|
|
1288
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1289
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1290
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1291
|
-
}),
|
|
1292
|
-
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1293
|
-
};
|
|
1294
|
-
};
|
|
1295
|
-
const se_DeleteApplicationReferenceDataSourceRequest = (input, context) => {
|
|
1296
|
-
return {
|
|
1297
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1298
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1299
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1300
|
-
}),
|
|
1301
|
-
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1302
|
-
};
|
|
1303
|
-
};
|
|
1304
1077
|
const se_DeleteApplicationRequest = (input, context) => {
|
|
1305
|
-
return {
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
};
|
|
1309
|
-
};
|
|
1310
|
-
const se_DescribeApplicationRequest = (input, context) => {
|
|
1311
|
-
return {
|
|
1312
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1313
|
-
};
|
|
1314
|
-
};
|
|
1315
|
-
const se_DestinationSchema = (input, context) => {
|
|
1316
|
-
return {
|
|
1317
|
-
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
const se_DiscoverInputSchemaRequest = (input, context) => {
|
|
1321
|
-
return {
|
|
1322
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1323
|
-
InputProcessingConfiguration: se_InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1324
|
-
}),
|
|
1325
|
-
...(input.InputStartingPositionConfiguration != null && {
|
|
1326
|
-
InputStartingPositionConfiguration: se_InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1327
|
-
}),
|
|
1328
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1329
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1330
|
-
...(input.S3Configuration != null && { S3Configuration: se_S3Configuration(input.S3Configuration, context) }),
|
|
1331
|
-
};
|
|
1332
|
-
};
|
|
1333
|
-
const se_Input = (input, context) => {
|
|
1334
|
-
return {
|
|
1335
|
-
...(input.InputParallelism != null && { InputParallelism: se_InputParallelism(input.InputParallelism, context) }),
|
|
1336
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1337
|
-
InputProcessingConfiguration: se_InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1338
|
-
}),
|
|
1339
|
-
...(input.InputSchema != null && { InputSchema: se_SourceSchema(input.InputSchema, context) }),
|
|
1340
|
-
...(input.KinesisFirehoseInput != null && {
|
|
1341
|
-
KinesisFirehoseInput: se_KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1342
|
-
}),
|
|
1343
|
-
...(input.KinesisStreamsInput != null && {
|
|
1344
|
-
KinesisStreamsInput: se_KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1345
|
-
}),
|
|
1346
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
1347
|
-
};
|
|
1348
|
-
};
|
|
1349
|
-
const se_InputConfiguration = (input, context) => {
|
|
1350
|
-
return {
|
|
1351
|
-
...(input.Id != null && { Id: input.Id }),
|
|
1352
|
-
...(input.InputStartingPositionConfiguration != null && {
|
|
1353
|
-
InputStartingPositionConfiguration: se_InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1354
|
-
}),
|
|
1355
|
-
};
|
|
1356
|
-
};
|
|
1357
|
-
const se_InputConfigurations = (input, context) => {
|
|
1358
|
-
return input
|
|
1359
|
-
.filter((e) => e != null)
|
|
1360
|
-
.map((entry) => {
|
|
1361
|
-
return se_InputConfiguration(entry, context);
|
|
1078
|
+
return take(input, {
|
|
1079
|
+
ApplicationName: [],
|
|
1080
|
+
CreateTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
1362
1081
|
});
|
|
1363
1082
|
};
|
|
1364
|
-
const se_InputLambdaProcessor = (input, context) => {
|
|
1365
|
-
return {
|
|
1366
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1367
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
const se_InputLambdaProcessorUpdate = (input, context) => {
|
|
1371
|
-
return {
|
|
1372
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1373
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1374
|
-
};
|
|
1375
|
-
};
|
|
1376
|
-
const se_InputParallelism = (input, context) => {
|
|
1377
|
-
return {
|
|
1378
|
-
...(input.Count != null && { Count: input.Count }),
|
|
1379
|
-
};
|
|
1380
|
-
};
|
|
1381
|
-
const se_InputParallelismUpdate = (input, context) => {
|
|
1382
|
-
return {
|
|
1383
|
-
...(input.CountUpdate != null && { CountUpdate: input.CountUpdate }),
|
|
1384
|
-
};
|
|
1385
|
-
};
|
|
1386
|
-
const se_InputProcessingConfiguration = (input, context) => {
|
|
1387
|
-
return {
|
|
1388
|
-
...(input.InputLambdaProcessor != null && {
|
|
1389
|
-
InputLambdaProcessor: se_InputLambdaProcessor(input.InputLambdaProcessor, context),
|
|
1390
|
-
}),
|
|
1391
|
-
};
|
|
1392
|
-
};
|
|
1393
|
-
const se_InputProcessingConfigurationUpdate = (input, context) => {
|
|
1394
|
-
return {
|
|
1395
|
-
...(input.InputLambdaProcessorUpdate != null && {
|
|
1396
|
-
InputLambdaProcessorUpdate: se_InputLambdaProcessorUpdate(input.InputLambdaProcessorUpdate, context),
|
|
1397
|
-
}),
|
|
1398
|
-
};
|
|
1399
|
-
};
|
|
1400
|
-
const se_Inputs = (input, context) => {
|
|
1401
|
-
return input
|
|
1402
|
-
.filter((e) => e != null)
|
|
1403
|
-
.map((entry) => {
|
|
1404
|
-
return se_Input(entry, context);
|
|
1405
|
-
});
|
|
1406
|
-
};
|
|
1407
|
-
const se_InputSchemaUpdate = (input, context) => {
|
|
1408
|
-
return {
|
|
1409
|
-
...(input.RecordColumnUpdates != null && {
|
|
1410
|
-
RecordColumnUpdates: se_RecordColumns(input.RecordColumnUpdates, context),
|
|
1411
|
-
}),
|
|
1412
|
-
...(input.RecordEncodingUpdate != null && { RecordEncodingUpdate: input.RecordEncodingUpdate }),
|
|
1413
|
-
...(input.RecordFormatUpdate != null && { RecordFormatUpdate: se_RecordFormat(input.RecordFormatUpdate, context) }),
|
|
1414
|
-
};
|
|
1415
|
-
};
|
|
1416
|
-
const se_InputStartingPositionConfiguration = (input, context) => {
|
|
1417
|
-
return {
|
|
1418
|
-
...(input.InputStartingPosition != null && { InputStartingPosition: input.InputStartingPosition }),
|
|
1419
|
-
};
|
|
1420
|
-
};
|
|
1421
|
-
const se_InputUpdate = (input, context) => {
|
|
1422
|
-
return {
|
|
1423
|
-
...(input.InputId != null && { InputId: input.InputId }),
|
|
1424
|
-
...(input.InputParallelismUpdate != null && {
|
|
1425
|
-
InputParallelismUpdate: se_InputParallelismUpdate(input.InputParallelismUpdate, context),
|
|
1426
|
-
}),
|
|
1427
|
-
...(input.InputProcessingConfigurationUpdate != null && {
|
|
1428
|
-
InputProcessingConfigurationUpdate: se_InputProcessingConfigurationUpdate(input.InputProcessingConfigurationUpdate, context),
|
|
1429
|
-
}),
|
|
1430
|
-
...(input.InputSchemaUpdate != null && {
|
|
1431
|
-
InputSchemaUpdate: se_InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1432
|
-
}),
|
|
1433
|
-
...(input.KinesisFirehoseInputUpdate != null && {
|
|
1434
|
-
KinesisFirehoseInputUpdate: se_KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1435
|
-
}),
|
|
1436
|
-
...(input.KinesisStreamsInputUpdate != null && {
|
|
1437
|
-
KinesisStreamsInputUpdate: se_KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1438
|
-
}),
|
|
1439
|
-
...(input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }),
|
|
1440
|
-
};
|
|
1441
|
-
};
|
|
1442
|
-
const se_InputUpdates = (input, context) => {
|
|
1443
|
-
return input
|
|
1444
|
-
.filter((e) => e != null)
|
|
1445
|
-
.map((entry) => {
|
|
1446
|
-
return se_InputUpdate(entry, context);
|
|
1447
|
-
});
|
|
1448
|
-
};
|
|
1449
|
-
const se_JSONMappingParameters = (input, context) => {
|
|
1450
|
-
return {
|
|
1451
|
-
...(input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }),
|
|
1452
|
-
};
|
|
1453
|
-
};
|
|
1454
|
-
const se_KinesisFirehoseInput = (input, context) => {
|
|
1455
|
-
return {
|
|
1456
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1457
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1458
|
-
};
|
|
1459
|
-
};
|
|
1460
|
-
const se_KinesisFirehoseInputUpdate = (input, context) => {
|
|
1461
|
-
return {
|
|
1462
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1463
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1464
|
-
};
|
|
1465
|
-
};
|
|
1466
|
-
const se_KinesisFirehoseOutput = (input, context) => {
|
|
1467
|
-
return {
|
|
1468
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1469
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1470
|
-
};
|
|
1471
|
-
};
|
|
1472
|
-
const se_KinesisFirehoseOutputUpdate = (input, context) => {
|
|
1473
|
-
return {
|
|
1474
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1475
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1476
|
-
};
|
|
1477
|
-
};
|
|
1478
|
-
const se_KinesisStreamsInput = (input, context) => {
|
|
1479
|
-
return {
|
|
1480
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1481
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1482
|
-
};
|
|
1483
|
-
};
|
|
1484
|
-
const se_KinesisStreamsInputUpdate = (input, context) => {
|
|
1485
|
-
return {
|
|
1486
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1487
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1488
|
-
};
|
|
1489
|
-
};
|
|
1490
|
-
const se_KinesisStreamsOutput = (input, context) => {
|
|
1491
|
-
return {
|
|
1492
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1493
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1494
|
-
};
|
|
1495
|
-
};
|
|
1496
|
-
const se_KinesisStreamsOutputUpdate = (input, context) => {
|
|
1497
|
-
return {
|
|
1498
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1499
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1500
|
-
};
|
|
1501
|
-
};
|
|
1502
|
-
const se_LambdaOutput = (input, context) => {
|
|
1503
|
-
return {
|
|
1504
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1505
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1506
|
-
};
|
|
1507
|
-
};
|
|
1508
|
-
const se_LambdaOutputUpdate = (input, context) => {
|
|
1509
|
-
return {
|
|
1510
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1511
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1512
|
-
};
|
|
1513
|
-
};
|
|
1514
|
-
const se_ListApplicationsRequest = (input, context) => {
|
|
1515
|
-
return {
|
|
1516
|
-
...(input.ExclusiveStartApplicationName != null && {
|
|
1517
|
-
ExclusiveStartApplicationName: input.ExclusiveStartApplicationName,
|
|
1518
|
-
}),
|
|
1519
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
1520
|
-
};
|
|
1521
|
-
};
|
|
1522
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1523
|
-
return {
|
|
1524
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1525
|
-
};
|
|
1526
|
-
};
|
|
1527
|
-
const se_MappingParameters = (input, context) => {
|
|
1528
|
-
return {
|
|
1529
|
-
...(input.CSVMappingParameters != null && {
|
|
1530
|
-
CSVMappingParameters: se_CSVMappingParameters(input.CSVMappingParameters, context),
|
|
1531
|
-
}),
|
|
1532
|
-
...(input.JSONMappingParameters != null && {
|
|
1533
|
-
JSONMappingParameters: se_JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1534
|
-
}),
|
|
1535
|
-
};
|
|
1536
|
-
};
|
|
1537
|
-
const se_Output = (input, context) => {
|
|
1538
|
-
return {
|
|
1539
|
-
...(input.DestinationSchema != null && {
|
|
1540
|
-
DestinationSchema: se_DestinationSchema(input.DestinationSchema, context),
|
|
1541
|
-
}),
|
|
1542
|
-
...(input.KinesisFirehoseOutput != null && {
|
|
1543
|
-
KinesisFirehoseOutput: se_KinesisFirehoseOutput(input.KinesisFirehoseOutput, context),
|
|
1544
|
-
}),
|
|
1545
|
-
...(input.KinesisStreamsOutput != null && {
|
|
1546
|
-
KinesisStreamsOutput: se_KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1547
|
-
}),
|
|
1548
|
-
...(input.LambdaOutput != null && { LambdaOutput: se_LambdaOutput(input.LambdaOutput, context) }),
|
|
1549
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1550
|
-
};
|
|
1551
|
-
};
|
|
1552
|
-
const se_Outputs = (input, context) => {
|
|
1553
|
-
return input
|
|
1554
|
-
.filter((e) => e != null)
|
|
1555
|
-
.map((entry) => {
|
|
1556
|
-
return se_Output(entry, context);
|
|
1557
|
-
});
|
|
1558
|
-
};
|
|
1559
|
-
const se_OutputUpdate = (input, context) => {
|
|
1560
|
-
return {
|
|
1561
|
-
...(input.DestinationSchemaUpdate != null && {
|
|
1562
|
-
DestinationSchemaUpdate: se_DestinationSchema(input.DestinationSchemaUpdate, context),
|
|
1563
|
-
}),
|
|
1564
|
-
...(input.KinesisFirehoseOutputUpdate != null && {
|
|
1565
|
-
KinesisFirehoseOutputUpdate: se_KinesisFirehoseOutputUpdate(input.KinesisFirehoseOutputUpdate, context),
|
|
1566
|
-
}),
|
|
1567
|
-
...(input.KinesisStreamsOutputUpdate != null && {
|
|
1568
|
-
KinesisStreamsOutputUpdate: se_KinesisStreamsOutputUpdate(input.KinesisStreamsOutputUpdate, context),
|
|
1569
|
-
}),
|
|
1570
|
-
...(input.LambdaOutputUpdate != null && {
|
|
1571
|
-
LambdaOutputUpdate: se_LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1572
|
-
}),
|
|
1573
|
-
...(input.NameUpdate != null && { NameUpdate: input.NameUpdate }),
|
|
1574
|
-
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1575
|
-
};
|
|
1576
|
-
};
|
|
1577
|
-
const se_OutputUpdates = (input, context) => {
|
|
1578
|
-
return input
|
|
1579
|
-
.filter((e) => e != null)
|
|
1580
|
-
.map((entry) => {
|
|
1581
|
-
return se_OutputUpdate(entry, context);
|
|
1582
|
-
});
|
|
1583
|
-
};
|
|
1584
|
-
const se_RecordColumn = (input, context) => {
|
|
1585
|
-
return {
|
|
1586
|
-
...(input.Mapping != null && { Mapping: input.Mapping }),
|
|
1587
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1588
|
-
...(input.SqlType != null && { SqlType: input.SqlType }),
|
|
1589
|
-
};
|
|
1590
|
-
};
|
|
1591
|
-
const se_RecordColumns = (input, context) => {
|
|
1592
|
-
return input
|
|
1593
|
-
.filter((e) => e != null)
|
|
1594
|
-
.map((entry) => {
|
|
1595
|
-
return se_RecordColumn(entry, context);
|
|
1596
|
-
});
|
|
1597
|
-
};
|
|
1598
|
-
const se_RecordFormat = (input, context) => {
|
|
1599
|
-
return {
|
|
1600
|
-
...(input.MappingParameters != null && {
|
|
1601
|
-
MappingParameters: se_MappingParameters(input.MappingParameters, context),
|
|
1602
|
-
}),
|
|
1603
|
-
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1604
|
-
};
|
|
1605
|
-
};
|
|
1606
|
-
const se_ReferenceDataSource = (input, context) => {
|
|
1607
|
-
return {
|
|
1608
|
-
...(input.ReferenceSchema != null && { ReferenceSchema: se_SourceSchema(input.ReferenceSchema, context) }),
|
|
1609
|
-
...(input.S3ReferenceDataSource != null && {
|
|
1610
|
-
S3ReferenceDataSource: se_S3ReferenceDataSource(input.S3ReferenceDataSource, context),
|
|
1611
|
-
}),
|
|
1612
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
1613
|
-
};
|
|
1614
|
-
};
|
|
1615
|
-
const se_ReferenceDataSourceUpdate = (input, context) => {
|
|
1616
|
-
return {
|
|
1617
|
-
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1618
|
-
...(input.ReferenceSchemaUpdate != null && {
|
|
1619
|
-
ReferenceSchemaUpdate: se_SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
1620
|
-
}),
|
|
1621
|
-
...(input.S3ReferenceDataSourceUpdate != null && {
|
|
1622
|
-
S3ReferenceDataSourceUpdate: se_S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
1623
|
-
}),
|
|
1624
|
-
...(input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }),
|
|
1625
|
-
};
|
|
1626
|
-
};
|
|
1627
|
-
const se_ReferenceDataSourceUpdates = (input, context) => {
|
|
1628
|
-
return input
|
|
1629
|
-
.filter((e) => e != null)
|
|
1630
|
-
.map((entry) => {
|
|
1631
|
-
return se_ReferenceDataSourceUpdate(entry, context);
|
|
1632
|
-
});
|
|
1633
|
-
};
|
|
1634
|
-
const se_S3Configuration = (input, context) => {
|
|
1635
|
-
return {
|
|
1636
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1637
|
-
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1638
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1639
|
-
};
|
|
1640
|
-
};
|
|
1641
|
-
const se_S3ReferenceDataSource = (input, context) => {
|
|
1642
|
-
return {
|
|
1643
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1644
|
-
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1645
|
-
...(input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }),
|
|
1646
|
-
};
|
|
1647
|
-
};
|
|
1648
|
-
const se_S3ReferenceDataSourceUpdate = (input, context) => {
|
|
1649
|
-
return {
|
|
1650
|
-
...(input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate }),
|
|
1651
|
-
...(input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate }),
|
|
1652
|
-
...(input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }),
|
|
1653
|
-
};
|
|
1654
|
-
};
|
|
1655
|
-
const se_SourceSchema = (input, context) => {
|
|
1656
|
-
return {
|
|
1657
|
-
...(input.RecordColumns != null && { RecordColumns: se_RecordColumns(input.RecordColumns, context) }),
|
|
1658
|
-
...(input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding }),
|
|
1659
|
-
...(input.RecordFormat != null && { RecordFormat: se_RecordFormat(input.RecordFormat, context) }),
|
|
1660
|
-
};
|
|
1661
|
-
};
|
|
1662
|
-
const se_StartApplicationRequest = (input, context) => {
|
|
1663
|
-
return {
|
|
1664
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1665
|
-
...(input.InputConfigurations != null && {
|
|
1666
|
-
InputConfigurations: se_InputConfigurations(input.InputConfigurations, context),
|
|
1667
|
-
}),
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
const se_StopApplicationRequest = (input, context) => {
|
|
1671
|
-
return {
|
|
1672
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
const se_Tag = (input, context) => {
|
|
1676
|
-
return {
|
|
1677
|
-
...(input.Key != null && { Key: input.Key }),
|
|
1678
|
-
...(input.Value != null && { Value: input.Value }),
|
|
1679
|
-
};
|
|
1680
|
-
};
|
|
1681
|
-
const se_TagKeys = (input, context) => {
|
|
1682
|
-
return input
|
|
1683
|
-
.filter((e) => e != null)
|
|
1684
|
-
.map((entry) => {
|
|
1685
|
-
return entry;
|
|
1686
|
-
});
|
|
1687
|
-
};
|
|
1688
|
-
const se_TagResourceRequest = (input, context) => {
|
|
1689
|
-
return {
|
|
1690
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1691
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
1694
|
-
const se_Tags = (input, context) => {
|
|
1695
|
-
return input
|
|
1696
|
-
.filter((e) => e != null)
|
|
1697
|
-
.map((entry) => {
|
|
1698
|
-
return se_Tag(entry, context);
|
|
1699
|
-
});
|
|
1700
|
-
};
|
|
1701
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
1702
|
-
return {
|
|
1703
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1704
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
1705
|
-
};
|
|
1706
|
-
};
|
|
1707
|
-
const se_UpdateApplicationRequest = (input, context) => {
|
|
1708
|
-
return {
|
|
1709
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1710
|
-
...(input.ApplicationUpdate != null && {
|
|
1711
|
-
ApplicationUpdate: se_ApplicationUpdate(input.ApplicationUpdate, context),
|
|
1712
|
-
}),
|
|
1713
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1714
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1715
|
-
}),
|
|
1716
|
-
};
|
|
1717
|
-
};
|
|
1718
|
-
const de_AddApplicationCloudWatchLoggingOptionResponse = (output, context) => {
|
|
1719
|
-
return {};
|
|
1720
|
-
};
|
|
1721
|
-
const de_AddApplicationInputProcessingConfigurationResponse = (output, context) => {
|
|
1722
|
-
return {};
|
|
1723
|
-
};
|
|
1724
|
-
const de_AddApplicationInputResponse = (output, context) => {
|
|
1725
|
-
return {};
|
|
1726
|
-
};
|
|
1727
|
-
const de_AddApplicationOutputResponse = (output, context) => {
|
|
1728
|
-
return {};
|
|
1729
|
-
};
|
|
1730
|
-
const de_AddApplicationReferenceDataSourceResponse = (output, context) => {
|
|
1731
|
-
return {};
|
|
1732
|
-
};
|
|
1733
1083
|
const de_ApplicationDetail = (output, context) => {
|
|
1734
|
-
return {
|
|
1735
|
-
ApplicationARN: __expectString
|
|
1736
|
-
ApplicationCode: __expectString
|
|
1737
|
-
ApplicationDescription: __expectString
|
|
1738
|
-
ApplicationName: __expectString
|
|
1739
|
-
ApplicationStatus: __expectString
|
|
1740
|
-
ApplicationVersionId: __expectLong
|
|
1741
|
-
CloudWatchLoggingOptionDescriptions:
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
InputDescriptions: output.InputDescriptions != null ? de_InputDescriptions(output.InputDescriptions, context) : undefined,
|
|
1748
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1749
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTimestamp)))
|
|
1750
|
-
: undefined,
|
|
1751
|
-
OutputDescriptions: output.OutputDescriptions != null ? de_OutputDescriptions(output.OutputDescriptions, context) : undefined,
|
|
1752
|
-
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions != null
|
|
1753
|
-
? de_ReferenceDataSourceDescriptions(output.ReferenceDataSourceDescriptions, context)
|
|
1754
|
-
: undefined,
|
|
1755
|
-
};
|
|
1756
|
-
};
|
|
1757
|
-
const de_ApplicationSummaries = (output, context) => {
|
|
1758
|
-
const retVal = (output || [])
|
|
1759
|
-
.filter((e) => e != null)
|
|
1760
|
-
.map((entry) => {
|
|
1761
|
-
if (entry === null) {
|
|
1762
|
-
return null;
|
|
1763
|
-
}
|
|
1764
|
-
return de_ApplicationSummary(entry, context);
|
|
1084
|
+
return take(output, {
|
|
1085
|
+
ApplicationARN: __expectString,
|
|
1086
|
+
ApplicationCode: __expectString,
|
|
1087
|
+
ApplicationDescription: __expectString,
|
|
1088
|
+
ApplicationName: __expectString,
|
|
1089
|
+
ApplicationStatus: __expectString,
|
|
1090
|
+
ApplicationVersionId: __expectLong,
|
|
1091
|
+
CloudWatchLoggingOptionDescriptions: _json,
|
|
1092
|
+
CreateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1093
|
+
InputDescriptions: _json,
|
|
1094
|
+
LastUpdateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1095
|
+
OutputDescriptions: _json,
|
|
1096
|
+
ReferenceDataSourceDescriptions: _json,
|
|
1765
1097
|
});
|
|
1766
|
-
return retVal;
|
|
1767
|
-
};
|
|
1768
|
-
const de_ApplicationSummary = (output, context) => {
|
|
1769
|
-
return {
|
|
1770
|
-
ApplicationARN: __expectString(output.ApplicationARN),
|
|
1771
|
-
ApplicationName: __expectString(output.ApplicationName),
|
|
1772
|
-
ApplicationStatus: __expectString(output.ApplicationStatus),
|
|
1773
|
-
};
|
|
1774
|
-
};
|
|
1775
|
-
const de_CloudWatchLoggingOptionDescription = (output, context) => {
|
|
1776
|
-
return {
|
|
1777
|
-
CloudWatchLoggingOptionId: __expectString(output.CloudWatchLoggingOptionId),
|
|
1778
|
-
LogStreamARN: __expectString(output.LogStreamARN),
|
|
1779
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1780
|
-
};
|
|
1781
|
-
};
|
|
1782
|
-
const de_CloudWatchLoggingOptionDescriptions = (output, context) => {
|
|
1783
|
-
const retVal = (output || [])
|
|
1784
|
-
.filter((e) => e != null)
|
|
1785
|
-
.map((entry) => {
|
|
1786
|
-
if (entry === null) {
|
|
1787
|
-
return null;
|
|
1788
|
-
}
|
|
1789
|
-
return de_CloudWatchLoggingOptionDescription(entry, context);
|
|
1790
|
-
});
|
|
1791
|
-
return retVal;
|
|
1792
|
-
};
|
|
1793
|
-
const de_CodeValidationException = (output, context) => {
|
|
1794
|
-
return {
|
|
1795
|
-
message: __expectString(output.message),
|
|
1796
|
-
};
|
|
1797
|
-
};
|
|
1798
|
-
const de_ConcurrentModificationException = (output, context) => {
|
|
1799
|
-
return {
|
|
1800
|
-
message: __expectString(output.message),
|
|
1801
|
-
};
|
|
1802
|
-
};
|
|
1803
|
-
const de_CreateApplicationResponse = (output, context) => {
|
|
1804
|
-
return {
|
|
1805
|
-
ApplicationSummary: output.ApplicationSummary != null ? de_ApplicationSummary(output.ApplicationSummary, context) : undefined,
|
|
1806
|
-
};
|
|
1807
|
-
};
|
|
1808
|
-
const de_CSVMappingParameters = (output, context) => {
|
|
1809
|
-
return {
|
|
1810
|
-
RecordColumnDelimiter: __expectString(output.RecordColumnDelimiter),
|
|
1811
|
-
RecordRowDelimiter: __expectString(output.RecordRowDelimiter),
|
|
1812
|
-
};
|
|
1813
|
-
};
|
|
1814
|
-
const de_DeleteApplicationCloudWatchLoggingOptionResponse = (output, context) => {
|
|
1815
|
-
return {};
|
|
1816
|
-
};
|
|
1817
|
-
const de_DeleteApplicationInputProcessingConfigurationResponse = (output, context) => {
|
|
1818
|
-
return {};
|
|
1819
|
-
};
|
|
1820
|
-
const de_DeleteApplicationOutputResponse = (output, context) => {
|
|
1821
|
-
return {};
|
|
1822
|
-
};
|
|
1823
|
-
const de_DeleteApplicationReferenceDataSourceResponse = (output, context) => {
|
|
1824
|
-
return {};
|
|
1825
|
-
};
|
|
1826
|
-
const de_DeleteApplicationResponse = (output, context) => {
|
|
1827
|
-
return {};
|
|
1828
1098
|
};
|
|
1829
1099
|
const de_DescribeApplicationResponse = (output, context) => {
|
|
1830
|
-
return {
|
|
1831
|
-
ApplicationDetail:
|
|
1832
|
-
};
|
|
1833
|
-
};
|
|
1834
|
-
const de_DestinationSchema = (output, context) => {
|
|
1835
|
-
return {
|
|
1836
|
-
RecordFormatType: __expectString(output.RecordFormatType),
|
|
1837
|
-
};
|
|
1838
|
-
};
|
|
1839
|
-
const de_DiscoverInputSchemaResponse = (output, context) => {
|
|
1840
|
-
return {
|
|
1841
|
-
InputSchema: output.InputSchema != null ? de_SourceSchema(output.InputSchema, context) : undefined,
|
|
1842
|
-
ParsedInputRecords: output.ParsedInputRecords != null ? de_ParsedInputRecords(output.ParsedInputRecords, context) : undefined,
|
|
1843
|
-
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
1844
|
-
? de_ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
1845
|
-
: undefined,
|
|
1846
|
-
RawInputRecords: output.RawInputRecords != null ? de_RawInputRecords(output.RawInputRecords, context) : undefined,
|
|
1847
|
-
};
|
|
1848
|
-
};
|
|
1849
|
-
const de_InAppStreamNames = (output, context) => {
|
|
1850
|
-
const retVal = (output || [])
|
|
1851
|
-
.filter((e) => e != null)
|
|
1852
|
-
.map((entry) => {
|
|
1853
|
-
if (entry === null) {
|
|
1854
|
-
return null;
|
|
1855
|
-
}
|
|
1856
|
-
return __expectString(entry);
|
|
1857
|
-
});
|
|
1858
|
-
return retVal;
|
|
1859
|
-
};
|
|
1860
|
-
const de_InputDescription = (output, context) => {
|
|
1861
|
-
return {
|
|
1862
|
-
InAppStreamNames: output.InAppStreamNames != null ? de_InAppStreamNames(output.InAppStreamNames, context) : undefined,
|
|
1863
|
-
InputId: __expectString(output.InputId),
|
|
1864
|
-
InputParallelism: output.InputParallelism != null ? de_InputParallelism(output.InputParallelism, context) : undefined,
|
|
1865
|
-
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription != null
|
|
1866
|
-
? de_InputProcessingConfigurationDescription(output.InputProcessingConfigurationDescription, context)
|
|
1867
|
-
: undefined,
|
|
1868
|
-
InputSchema: output.InputSchema != null ? de_SourceSchema(output.InputSchema, context) : undefined,
|
|
1869
|
-
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration != null
|
|
1870
|
-
? de_InputStartingPositionConfiguration(output.InputStartingPositionConfiguration, context)
|
|
1871
|
-
: undefined,
|
|
1872
|
-
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription != null
|
|
1873
|
-
? de_KinesisFirehoseInputDescription(output.KinesisFirehoseInputDescription, context)
|
|
1874
|
-
: undefined,
|
|
1875
|
-
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription != null
|
|
1876
|
-
? de_KinesisStreamsInputDescription(output.KinesisStreamsInputDescription, context)
|
|
1877
|
-
: undefined,
|
|
1878
|
-
NamePrefix: __expectString(output.NamePrefix),
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
1881
|
-
const de_InputDescriptions = (output, context) => {
|
|
1882
|
-
const retVal = (output || [])
|
|
1883
|
-
.filter((e) => e != null)
|
|
1884
|
-
.map((entry) => {
|
|
1885
|
-
if (entry === null) {
|
|
1886
|
-
return null;
|
|
1887
|
-
}
|
|
1888
|
-
return de_InputDescription(entry, context);
|
|
1889
|
-
});
|
|
1890
|
-
return retVal;
|
|
1891
|
-
};
|
|
1892
|
-
const de_InputLambdaProcessorDescription = (output, context) => {
|
|
1893
|
-
return {
|
|
1894
|
-
ResourceARN: __expectString(output.ResourceARN),
|
|
1895
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1896
|
-
};
|
|
1897
|
-
};
|
|
1898
|
-
const de_InputParallelism = (output, context) => {
|
|
1899
|
-
return {
|
|
1900
|
-
Count: __expectInt32(output.Count),
|
|
1901
|
-
};
|
|
1902
|
-
};
|
|
1903
|
-
const de_InputProcessingConfigurationDescription = (output, context) => {
|
|
1904
|
-
return {
|
|
1905
|
-
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription != null
|
|
1906
|
-
? de_InputLambdaProcessorDescription(output.InputLambdaProcessorDescription, context)
|
|
1907
|
-
: undefined,
|
|
1908
|
-
};
|
|
1909
|
-
};
|
|
1910
|
-
const de_InputStartingPositionConfiguration = (output, context) => {
|
|
1911
|
-
return {
|
|
1912
|
-
InputStartingPosition: __expectString(output.InputStartingPosition),
|
|
1913
|
-
};
|
|
1914
|
-
};
|
|
1915
|
-
const de_InvalidApplicationConfigurationException = (output, context) => {
|
|
1916
|
-
return {
|
|
1917
|
-
message: __expectString(output.message),
|
|
1918
|
-
};
|
|
1919
|
-
};
|
|
1920
|
-
const de_InvalidArgumentException = (output, context) => {
|
|
1921
|
-
return {
|
|
1922
|
-
message: __expectString(output.message),
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
const de_JSONMappingParameters = (output, context) => {
|
|
1926
|
-
return {
|
|
1927
|
-
RecordRowPath: __expectString(output.RecordRowPath),
|
|
1928
|
-
};
|
|
1929
|
-
};
|
|
1930
|
-
const de_KinesisFirehoseInputDescription = (output, context) => {
|
|
1931
|
-
return {
|
|
1932
|
-
ResourceARN: __expectString(output.ResourceARN),
|
|
1933
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1934
|
-
};
|
|
1935
|
-
};
|
|
1936
|
-
const de_KinesisFirehoseOutputDescription = (output, context) => {
|
|
1937
|
-
return {
|
|
1938
|
-
ResourceARN: __expectString(output.ResourceARN),
|
|
1939
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
const de_KinesisStreamsInputDescription = (output, context) => {
|
|
1943
|
-
return {
|
|
1944
|
-
ResourceARN: __expectString(output.ResourceARN),
|
|
1945
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1946
|
-
};
|
|
1947
|
-
};
|
|
1948
|
-
const de_KinesisStreamsOutputDescription = (output, context) => {
|
|
1949
|
-
return {
|
|
1950
|
-
ResourceARN: __expectString(output.ResourceARN),
|
|
1951
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
const de_LambdaOutputDescription = (output, context) => {
|
|
1955
|
-
return {
|
|
1956
|
-
ResourceARN: __expectString(output.ResourceARN),
|
|
1957
|
-
RoleARN: __expectString(output.RoleARN),
|
|
1958
|
-
};
|
|
1959
|
-
};
|
|
1960
|
-
const de_LimitExceededException = (output, context) => {
|
|
1961
|
-
return {
|
|
1962
|
-
message: __expectString(output.message),
|
|
1963
|
-
};
|
|
1964
|
-
};
|
|
1965
|
-
const de_ListApplicationsResponse = (output, context) => {
|
|
1966
|
-
return {
|
|
1967
|
-
ApplicationSummaries: output.ApplicationSummaries != null ? de_ApplicationSummaries(output.ApplicationSummaries, context) : undefined,
|
|
1968
|
-
HasMoreApplications: __expectBoolean(output.HasMoreApplications),
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1972
|
-
return {
|
|
1973
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
1974
|
-
};
|
|
1975
|
-
};
|
|
1976
|
-
const de_MappingParameters = (output, context) => {
|
|
1977
|
-
return {
|
|
1978
|
-
CSVMappingParameters: output.CSVMappingParameters != null ? de_CSVMappingParameters(output.CSVMappingParameters, context) : undefined,
|
|
1979
|
-
JSONMappingParameters: output.JSONMappingParameters != null
|
|
1980
|
-
? de_JSONMappingParameters(output.JSONMappingParameters, context)
|
|
1981
|
-
: undefined,
|
|
1982
|
-
};
|
|
1983
|
-
};
|
|
1984
|
-
const de_OutputDescription = (output, context) => {
|
|
1985
|
-
return {
|
|
1986
|
-
DestinationSchema: output.DestinationSchema != null ? de_DestinationSchema(output.DestinationSchema, context) : undefined,
|
|
1987
|
-
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription != null
|
|
1988
|
-
? de_KinesisFirehoseOutputDescription(output.KinesisFirehoseOutputDescription, context)
|
|
1989
|
-
: undefined,
|
|
1990
|
-
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription != null
|
|
1991
|
-
? de_KinesisStreamsOutputDescription(output.KinesisStreamsOutputDescription, context)
|
|
1992
|
-
: undefined,
|
|
1993
|
-
LambdaOutputDescription: output.LambdaOutputDescription != null
|
|
1994
|
-
? de_LambdaOutputDescription(output.LambdaOutputDescription, context)
|
|
1995
|
-
: undefined,
|
|
1996
|
-
Name: __expectString(output.Name),
|
|
1997
|
-
OutputId: __expectString(output.OutputId),
|
|
1998
|
-
};
|
|
1999
|
-
};
|
|
2000
|
-
const de_OutputDescriptions = (output, context) => {
|
|
2001
|
-
const retVal = (output || [])
|
|
2002
|
-
.filter((e) => e != null)
|
|
2003
|
-
.map((entry) => {
|
|
2004
|
-
if (entry === null) {
|
|
2005
|
-
return null;
|
|
2006
|
-
}
|
|
2007
|
-
return de_OutputDescription(entry, context);
|
|
2008
|
-
});
|
|
2009
|
-
return retVal;
|
|
2010
|
-
};
|
|
2011
|
-
const de_ParsedInputRecord = (output, context) => {
|
|
2012
|
-
const retVal = (output || [])
|
|
2013
|
-
.filter((e) => e != null)
|
|
2014
|
-
.map((entry) => {
|
|
2015
|
-
if (entry === null) {
|
|
2016
|
-
return null;
|
|
2017
|
-
}
|
|
2018
|
-
return __expectString(entry);
|
|
2019
|
-
});
|
|
2020
|
-
return retVal;
|
|
2021
|
-
};
|
|
2022
|
-
const de_ParsedInputRecords = (output, context) => {
|
|
2023
|
-
const retVal = (output || [])
|
|
2024
|
-
.filter((e) => e != null)
|
|
2025
|
-
.map((entry) => {
|
|
2026
|
-
if (entry === null) {
|
|
2027
|
-
return null;
|
|
2028
|
-
}
|
|
2029
|
-
return de_ParsedInputRecord(entry, context);
|
|
1100
|
+
return take(output, {
|
|
1101
|
+
ApplicationDetail: (_) => de_ApplicationDetail(_, context),
|
|
2030
1102
|
});
|
|
2031
|
-
return retVal;
|
|
2032
|
-
};
|
|
2033
|
-
const de_ProcessedInputRecords = (output, context) => {
|
|
2034
|
-
const retVal = (output || [])
|
|
2035
|
-
.filter((e) => e != null)
|
|
2036
|
-
.map((entry) => {
|
|
2037
|
-
if (entry === null) {
|
|
2038
|
-
return null;
|
|
2039
|
-
}
|
|
2040
|
-
return __expectString(entry);
|
|
2041
|
-
});
|
|
2042
|
-
return retVal;
|
|
2043
|
-
};
|
|
2044
|
-
const de_RawInputRecords = (output, context) => {
|
|
2045
|
-
const retVal = (output || [])
|
|
2046
|
-
.filter((e) => e != null)
|
|
2047
|
-
.map((entry) => {
|
|
2048
|
-
if (entry === null) {
|
|
2049
|
-
return null;
|
|
2050
|
-
}
|
|
2051
|
-
return __expectString(entry);
|
|
2052
|
-
});
|
|
2053
|
-
return retVal;
|
|
2054
|
-
};
|
|
2055
|
-
const de_RecordColumn = (output, context) => {
|
|
2056
|
-
return {
|
|
2057
|
-
Mapping: __expectString(output.Mapping),
|
|
2058
|
-
Name: __expectString(output.Name),
|
|
2059
|
-
SqlType: __expectString(output.SqlType),
|
|
2060
|
-
};
|
|
2061
|
-
};
|
|
2062
|
-
const de_RecordColumns = (output, context) => {
|
|
2063
|
-
const retVal = (output || [])
|
|
2064
|
-
.filter((e) => e != null)
|
|
2065
|
-
.map((entry) => {
|
|
2066
|
-
if (entry === null) {
|
|
2067
|
-
return null;
|
|
2068
|
-
}
|
|
2069
|
-
return de_RecordColumn(entry, context);
|
|
2070
|
-
});
|
|
2071
|
-
return retVal;
|
|
2072
|
-
};
|
|
2073
|
-
const de_RecordFormat = (output, context) => {
|
|
2074
|
-
return {
|
|
2075
|
-
MappingParameters: output.MappingParameters != null ? de_MappingParameters(output.MappingParameters, context) : undefined,
|
|
2076
|
-
RecordFormatType: __expectString(output.RecordFormatType),
|
|
2077
|
-
};
|
|
2078
|
-
};
|
|
2079
|
-
const de_ReferenceDataSourceDescription = (output, context) => {
|
|
2080
|
-
return {
|
|
2081
|
-
ReferenceId: __expectString(output.ReferenceId),
|
|
2082
|
-
ReferenceSchema: output.ReferenceSchema != null ? de_SourceSchema(output.ReferenceSchema, context) : undefined,
|
|
2083
|
-
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription != null
|
|
2084
|
-
? de_S3ReferenceDataSourceDescription(output.S3ReferenceDataSourceDescription, context)
|
|
2085
|
-
: undefined,
|
|
2086
|
-
TableName: __expectString(output.TableName),
|
|
2087
|
-
};
|
|
2088
|
-
};
|
|
2089
|
-
const de_ReferenceDataSourceDescriptions = (output, context) => {
|
|
2090
|
-
const retVal = (output || [])
|
|
2091
|
-
.filter((e) => e != null)
|
|
2092
|
-
.map((entry) => {
|
|
2093
|
-
if (entry === null) {
|
|
2094
|
-
return null;
|
|
2095
|
-
}
|
|
2096
|
-
return de_ReferenceDataSourceDescription(entry, context);
|
|
2097
|
-
});
|
|
2098
|
-
return retVal;
|
|
2099
|
-
};
|
|
2100
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2101
|
-
return {
|
|
2102
|
-
message: __expectString(output.message),
|
|
2103
|
-
};
|
|
2104
|
-
};
|
|
2105
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2106
|
-
return {
|
|
2107
|
-
message: __expectString(output.message),
|
|
2108
|
-
};
|
|
2109
|
-
};
|
|
2110
|
-
const de_ResourceProvisionedThroughputExceededException = (output, context) => {
|
|
2111
|
-
return {
|
|
2112
|
-
message: __expectString(output.message),
|
|
2113
|
-
};
|
|
2114
|
-
};
|
|
2115
|
-
const de_S3ReferenceDataSourceDescription = (output, context) => {
|
|
2116
|
-
return {
|
|
2117
|
-
BucketARN: __expectString(output.BucketARN),
|
|
2118
|
-
FileKey: __expectString(output.FileKey),
|
|
2119
|
-
ReferenceRoleARN: __expectString(output.ReferenceRoleARN),
|
|
2120
|
-
};
|
|
2121
|
-
};
|
|
2122
|
-
const de_ServiceUnavailableException = (output, context) => {
|
|
2123
|
-
return {
|
|
2124
|
-
message: __expectString(output.message),
|
|
2125
|
-
};
|
|
2126
|
-
};
|
|
2127
|
-
const de_SourceSchema = (output, context) => {
|
|
2128
|
-
return {
|
|
2129
|
-
RecordColumns: output.RecordColumns != null ? de_RecordColumns(output.RecordColumns, context) : undefined,
|
|
2130
|
-
RecordEncoding: __expectString(output.RecordEncoding),
|
|
2131
|
-
RecordFormat: output.RecordFormat != null ? de_RecordFormat(output.RecordFormat, context) : undefined,
|
|
2132
|
-
};
|
|
2133
|
-
};
|
|
2134
|
-
const de_StartApplicationResponse = (output, context) => {
|
|
2135
|
-
return {};
|
|
2136
|
-
};
|
|
2137
|
-
const de_StopApplicationResponse = (output, context) => {
|
|
2138
|
-
return {};
|
|
2139
|
-
};
|
|
2140
|
-
const de_Tag = (output, context) => {
|
|
2141
|
-
return {
|
|
2142
|
-
Key: __expectString(output.Key),
|
|
2143
|
-
Value: __expectString(output.Value),
|
|
2144
|
-
};
|
|
2145
|
-
};
|
|
2146
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2147
|
-
return {};
|
|
2148
|
-
};
|
|
2149
|
-
const de_Tags = (output, context) => {
|
|
2150
|
-
const retVal = (output || [])
|
|
2151
|
-
.filter((e) => e != null)
|
|
2152
|
-
.map((entry) => {
|
|
2153
|
-
if (entry === null) {
|
|
2154
|
-
return null;
|
|
2155
|
-
}
|
|
2156
|
-
return de_Tag(entry, context);
|
|
2157
|
-
});
|
|
2158
|
-
return retVal;
|
|
2159
|
-
};
|
|
2160
|
-
const de_TooManyTagsException = (output, context) => {
|
|
2161
|
-
return {
|
|
2162
|
-
message: __expectString(output.message),
|
|
2163
|
-
};
|
|
2164
|
-
};
|
|
2165
|
-
const de_UnableToDetectSchemaException = (output, context) => {
|
|
2166
|
-
return {
|
|
2167
|
-
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2168
|
-
? de_ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2169
|
-
: undefined,
|
|
2170
|
-
RawInputRecords: output.RawInputRecords != null ? de_RawInputRecords(output.RawInputRecords, context) : undefined,
|
|
2171
|
-
message: __expectString(output.message),
|
|
2172
|
-
};
|
|
2173
|
-
};
|
|
2174
|
-
const de_UnsupportedOperationException = (output, context) => {
|
|
2175
|
-
return {
|
|
2176
|
-
message: __expectString(output.message),
|
|
2177
|
-
};
|
|
2178
|
-
};
|
|
2179
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2180
|
-
return {};
|
|
2181
|
-
};
|
|
2182
|
-
const de_UpdateApplicationResponse = (output, context) => {
|
|
2183
|
-
return {};
|
|
2184
1103
|
};
|
|
2185
1104
|
const deserializeMetadata = (output) => ({
|
|
2186
1105
|
httpStatusCode: output.statusCode,
|
|
@@ -2195,6 +1114,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2195
1114
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2196
1115
|
};
|
|
2197
1116
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1117
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2198
1118
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2199
1119
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2200
1120
|
const contents = {
|
|
@@ -2213,6 +1133,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
2213
1133
|
}
|
|
2214
1134
|
return new __HttpRequest(contents);
|
|
2215
1135
|
};
|
|
1136
|
+
function sharedHeaders(operation) {
|
|
1137
|
+
return {
|
|
1138
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1139
|
+
"x-amz-target": `KinesisAnalytics_20150814.${operation}`,
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
2216
1142
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2217
1143
|
if (encoded.length) {
|
|
2218
1144
|
return JSON.parse(encoded);
|