@aws-sdk/client-appintegrations 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateDataIntegrationCommand.js +2 -2
- package/dist-cjs/commands/CreateEventIntegrationCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataIntegrationCommand.js +2 -2
- package/dist-cjs/commands/DeleteEventIntegrationCommand.js +2 -2
- package/dist-cjs/commands/GetDataIntegrationCommand.js +2 -2
- package/dist-cjs/commands/GetEventIntegrationCommand.js +2 -2
- package/dist-cjs/commands/ListDataIntegrationAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListDataIntegrationsCommand.js +2 -2
- package/dist-cjs/commands/ListEventIntegrationAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListEventIntegrationsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataIntegrationCommand.js +2 -2
- package/dist-cjs/commands/UpdateEventIntegrationCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +232 -234
- package/dist-es/commands/CreateDataIntegrationCommand.js +3 -3
- package/dist-es/commands/CreateEventIntegrationCommand.js +3 -3
- package/dist-es/commands/DeleteDataIntegrationCommand.js +3 -3
- package/dist-es/commands/DeleteEventIntegrationCommand.js +3 -3
- package/dist-es/commands/GetDataIntegrationCommand.js +3 -3
- package/dist-es/commands/GetEventIntegrationCommand.js +3 -3
- package/dist-es/commands/ListDataIntegrationAssociationsCommand.js +3 -3
- package/dist-es/commands/ListDataIntegrationsCommand.js +3 -3
- package/dist-es/commands/ListEventIntegrationAssociationsCommand.js +3 -3
- package/dist-es/commands/ListEventIntegrationsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateDataIntegrationCommand.js +3 -3
- package/dist-es/commands/UpdateEventIntegrationCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +201 -203
- package/dist-types/protocols/Aws_restJson1.d.ts +120 -30
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +30 -30
- package/package.json +29 -29
|
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectNonNull a
|
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AppIntegrationsServiceException as __BaseException } from "../models/AppIntegrationsServiceException";
|
|
5
5
|
import { AccessDeniedException, DuplicateResourceException, InternalServiceError, InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, } from "../models/models_0";
|
|
6
|
-
export const
|
|
6
|
+
export const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
@@ -14,18 +14,16 @@ export const serializeAws_restJson1CreateDataIntegrationCommand = async (input,
|
|
|
14
14
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
15
15
|
...(input.Description != null && { Description: input.Description }),
|
|
16
16
|
...(input.FileConfiguration != null && {
|
|
17
|
-
FileConfiguration:
|
|
17
|
+
FileConfiguration: se_FileConfiguration(input.FileConfiguration, context),
|
|
18
18
|
}),
|
|
19
19
|
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
20
20
|
...(input.Name != null && { Name: input.Name }),
|
|
21
21
|
...(input.ObjectConfiguration != null && {
|
|
22
|
-
ObjectConfiguration:
|
|
23
|
-
}),
|
|
24
|
-
...(input.ScheduleConfig != null && {
|
|
25
|
-
ScheduleConfig: serializeAws_restJson1ScheduleConfiguration(input.ScheduleConfig, context),
|
|
22
|
+
ObjectConfiguration: se_ObjectConfiguration(input.ObjectConfiguration, context),
|
|
26
23
|
}),
|
|
24
|
+
...(input.ScheduleConfig != null && { ScheduleConfig: se_ScheduleConfiguration(input.ScheduleConfig, context) }),
|
|
27
25
|
...(input.SourceURI != null && { SourceURI: input.SourceURI }),
|
|
28
|
-
...(input.Tags != null && { Tags:
|
|
26
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
29
27
|
});
|
|
30
28
|
return new __HttpRequest({
|
|
31
29
|
protocol,
|
|
@@ -37,7 +35,7 @@ export const serializeAws_restJson1CreateDataIntegrationCommand = async (input,
|
|
|
37
35
|
body,
|
|
38
36
|
});
|
|
39
37
|
};
|
|
40
|
-
export const
|
|
38
|
+
export const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
41
39
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
42
40
|
const headers = {
|
|
43
41
|
"content-type": "application/json",
|
|
@@ -48,9 +46,9 @@ export const serializeAws_restJson1CreateEventIntegrationCommand = async (input,
|
|
|
48
46
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
49
47
|
...(input.Description != null && { Description: input.Description }),
|
|
50
48
|
...(input.EventBridgeBus != null && { EventBridgeBus: input.EventBridgeBus }),
|
|
51
|
-
...(input.EventFilter != null && { EventFilter:
|
|
49
|
+
...(input.EventFilter != null && { EventFilter: se_EventFilter(input.EventFilter, context) }),
|
|
52
50
|
...(input.Name != null && { Name: input.Name }),
|
|
53
|
-
...(input.Tags != null && { Tags:
|
|
51
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
54
52
|
});
|
|
55
53
|
return new __HttpRequest({
|
|
56
54
|
protocol,
|
|
@@ -62,7 +60,7 @@ export const serializeAws_restJson1CreateEventIntegrationCommand = async (input,
|
|
|
62
60
|
body,
|
|
63
61
|
});
|
|
64
62
|
};
|
|
65
|
-
export const
|
|
63
|
+
export const se_DeleteDataIntegrationCommand = async (input, context) => {
|
|
66
64
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
67
65
|
const headers = {};
|
|
68
66
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -79,7 +77,7 @@ export const serializeAws_restJson1DeleteDataIntegrationCommand = async (input,
|
|
|
79
77
|
body,
|
|
80
78
|
});
|
|
81
79
|
};
|
|
82
|
-
export const
|
|
80
|
+
export const se_DeleteEventIntegrationCommand = async (input, context) => {
|
|
83
81
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
84
82
|
const headers = {};
|
|
85
83
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eventIntegrations/{Name}";
|
|
@@ -95,7 +93,7 @@ export const serializeAws_restJson1DeleteEventIntegrationCommand = async (input,
|
|
|
95
93
|
body,
|
|
96
94
|
});
|
|
97
95
|
};
|
|
98
|
-
export const
|
|
96
|
+
export const se_GetDataIntegrationCommand = async (input, context) => {
|
|
99
97
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
100
98
|
const headers = {};
|
|
101
99
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations/{Identifier}";
|
|
@@ -111,7 +109,7 @@ export const serializeAws_restJson1GetDataIntegrationCommand = async (input, con
|
|
|
111
109
|
body,
|
|
112
110
|
});
|
|
113
111
|
};
|
|
114
|
-
export const
|
|
112
|
+
export const se_GetEventIntegrationCommand = async (input, context) => {
|
|
115
113
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
116
114
|
const headers = {};
|
|
117
115
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eventIntegrations/{Name}";
|
|
@@ -127,7 +125,7 @@ export const serializeAws_restJson1GetEventIntegrationCommand = async (input, co
|
|
|
127
125
|
body,
|
|
128
126
|
});
|
|
129
127
|
};
|
|
130
|
-
export const
|
|
128
|
+
export const se_ListDataIntegrationAssociationsCommand = async (input, context) => {
|
|
131
129
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
132
130
|
const headers = {};
|
|
133
131
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -149,7 +147,7 @@ export const serializeAws_restJson1ListDataIntegrationAssociationsCommand = asyn
|
|
|
149
147
|
body,
|
|
150
148
|
});
|
|
151
149
|
};
|
|
152
|
-
export const
|
|
150
|
+
export const se_ListDataIntegrationsCommand = async (input, context) => {
|
|
153
151
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
154
152
|
const headers = {};
|
|
155
153
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations";
|
|
@@ -169,7 +167,7 @@ export const serializeAws_restJson1ListDataIntegrationsCommand = async (input, c
|
|
|
169
167
|
body,
|
|
170
168
|
});
|
|
171
169
|
};
|
|
172
|
-
export const
|
|
170
|
+
export const se_ListEventIntegrationAssociationsCommand = async (input, context) => {
|
|
173
171
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
174
172
|
const headers = {};
|
|
175
173
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -191,7 +189,7 @@ export const serializeAws_restJson1ListEventIntegrationAssociationsCommand = asy
|
|
|
191
189
|
body,
|
|
192
190
|
});
|
|
193
191
|
};
|
|
194
|
-
export const
|
|
192
|
+
export const se_ListEventIntegrationsCommand = async (input, context) => {
|
|
195
193
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
196
194
|
const headers = {};
|
|
197
195
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eventIntegrations";
|
|
@@ -211,7 +209,7 @@ export const serializeAws_restJson1ListEventIntegrationsCommand = async (input,
|
|
|
211
209
|
body,
|
|
212
210
|
});
|
|
213
211
|
};
|
|
214
|
-
export const
|
|
212
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
215
213
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
216
214
|
const headers = {};
|
|
217
215
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -227,7 +225,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
227
225
|
body,
|
|
228
226
|
});
|
|
229
227
|
};
|
|
230
|
-
export const
|
|
228
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
231
229
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
232
230
|
const headers = {
|
|
233
231
|
"content-type": "application/json",
|
|
@@ -236,7 +234,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
236
234
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
237
235
|
let body;
|
|
238
236
|
body = JSON.stringify({
|
|
239
|
-
...(input.tags != null && { tags:
|
|
237
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
240
238
|
});
|
|
241
239
|
return new __HttpRequest({
|
|
242
240
|
protocol,
|
|
@@ -248,7 +246,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
248
246
|
body,
|
|
249
247
|
});
|
|
250
248
|
};
|
|
251
|
-
export const
|
|
249
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
252
250
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
253
251
|
const headers = {};
|
|
254
252
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -271,7 +269,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
271
269
|
body,
|
|
272
270
|
});
|
|
273
271
|
};
|
|
274
|
-
export const
|
|
272
|
+
export const se_UpdateDataIntegrationCommand = async (input, context) => {
|
|
275
273
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
276
274
|
const headers = {
|
|
277
275
|
"content-type": "application/json",
|
|
@@ -293,7 +291,7 @@ export const serializeAws_restJson1UpdateDataIntegrationCommand = async (input,
|
|
|
293
291
|
body,
|
|
294
292
|
});
|
|
295
293
|
};
|
|
296
|
-
export const
|
|
294
|
+
export const se_UpdateEventIntegrationCommand = async (input, context) => {
|
|
297
295
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
298
296
|
const headers = {
|
|
299
297
|
"content-type": "application/json",
|
|
@@ -314,9 +312,9 @@ export const serializeAws_restJson1UpdateEventIntegrationCommand = async (input,
|
|
|
314
312
|
body,
|
|
315
313
|
});
|
|
316
314
|
};
|
|
317
|
-
export const
|
|
315
|
+
export const de_CreateDataIntegrationCommand = async (output, context) => {
|
|
318
316
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
319
|
-
return
|
|
317
|
+
return de_CreateDataIntegrationCommandError(output, context);
|
|
320
318
|
}
|
|
321
319
|
const contents = map({
|
|
322
320
|
$metadata: deserializeMetadata(output),
|
|
@@ -332,7 +330,7 @@ export const deserializeAws_restJson1CreateDataIntegrationCommand = async (outpu
|
|
|
332
330
|
contents.Description = __expectString(data.Description);
|
|
333
331
|
}
|
|
334
332
|
if (data.FileConfiguration != null) {
|
|
335
|
-
contents.FileConfiguration =
|
|
333
|
+
contents.FileConfiguration = de_FileConfiguration(data.FileConfiguration, context);
|
|
336
334
|
}
|
|
337
335
|
if (data.Id != null) {
|
|
338
336
|
contents.Id = __expectString(data.Id);
|
|
@@ -344,20 +342,20 @@ export const deserializeAws_restJson1CreateDataIntegrationCommand = async (outpu
|
|
|
344
342
|
contents.Name = __expectString(data.Name);
|
|
345
343
|
}
|
|
346
344
|
if (data.ObjectConfiguration != null) {
|
|
347
|
-
contents.ObjectConfiguration =
|
|
345
|
+
contents.ObjectConfiguration = de_ObjectConfiguration(data.ObjectConfiguration, context);
|
|
348
346
|
}
|
|
349
347
|
if (data.ScheduleConfiguration != null) {
|
|
350
|
-
contents.ScheduleConfiguration =
|
|
348
|
+
contents.ScheduleConfiguration = de_ScheduleConfiguration(data.ScheduleConfiguration, context);
|
|
351
349
|
}
|
|
352
350
|
if (data.SourceURI != null) {
|
|
353
351
|
contents.SourceURI = __expectString(data.SourceURI);
|
|
354
352
|
}
|
|
355
353
|
if (data.Tags != null) {
|
|
356
|
-
contents.Tags =
|
|
354
|
+
contents.Tags = de_TagMap(data.Tags, context);
|
|
357
355
|
}
|
|
358
356
|
return contents;
|
|
359
357
|
};
|
|
360
|
-
const
|
|
358
|
+
const de_CreateDataIntegrationCommandError = async (output, context) => {
|
|
361
359
|
const parsedOutput = {
|
|
362
360
|
...output,
|
|
363
361
|
body: await parseErrorBody(output.body, context),
|
|
@@ -366,22 +364,22 @@ const deserializeAws_restJson1CreateDataIntegrationCommandError = async (output,
|
|
|
366
364
|
switch (errorCode) {
|
|
367
365
|
case "AccessDeniedException":
|
|
368
366
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
369
|
-
throw await
|
|
367
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
370
368
|
case "DuplicateResourceException":
|
|
371
369
|
case "com.amazonaws.appintegrations#DuplicateResourceException":
|
|
372
|
-
throw await
|
|
370
|
+
throw await de_DuplicateResourceExceptionRes(parsedOutput, context);
|
|
373
371
|
case "InternalServiceError":
|
|
374
372
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
375
|
-
throw await
|
|
373
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
376
374
|
case "InvalidRequestException":
|
|
377
375
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
378
|
-
throw await
|
|
376
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
379
377
|
case "ResourceQuotaExceededException":
|
|
380
378
|
case "com.amazonaws.appintegrations#ResourceQuotaExceededException":
|
|
381
|
-
throw await
|
|
379
|
+
throw await de_ResourceQuotaExceededExceptionRes(parsedOutput, context);
|
|
382
380
|
case "ThrottlingException":
|
|
383
381
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
384
|
-
throw await
|
|
382
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
385
383
|
default:
|
|
386
384
|
const parsedBody = parsedOutput.body;
|
|
387
385
|
throwDefaultError({
|
|
@@ -392,9 +390,9 @@ const deserializeAws_restJson1CreateDataIntegrationCommandError = async (output,
|
|
|
392
390
|
});
|
|
393
391
|
}
|
|
394
392
|
};
|
|
395
|
-
export const
|
|
393
|
+
export const de_CreateEventIntegrationCommand = async (output, context) => {
|
|
396
394
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
397
|
-
return
|
|
395
|
+
return de_CreateEventIntegrationCommandError(output, context);
|
|
398
396
|
}
|
|
399
397
|
const contents = map({
|
|
400
398
|
$metadata: deserializeMetadata(output),
|
|
@@ -405,7 +403,7 @@ export const deserializeAws_restJson1CreateEventIntegrationCommand = async (outp
|
|
|
405
403
|
}
|
|
406
404
|
return contents;
|
|
407
405
|
};
|
|
408
|
-
const
|
|
406
|
+
const de_CreateEventIntegrationCommandError = async (output, context) => {
|
|
409
407
|
const parsedOutput = {
|
|
410
408
|
...output,
|
|
411
409
|
body: await parseErrorBody(output.body, context),
|
|
@@ -414,22 +412,22 @@ const deserializeAws_restJson1CreateEventIntegrationCommandError = async (output
|
|
|
414
412
|
switch (errorCode) {
|
|
415
413
|
case "AccessDeniedException":
|
|
416
414
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
417
|
-
throw await
|
|
415
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
418
416
|
case "DuplicateResourceException":
|
|
419
417
|
case "com.amazonaws.appintegrations#DuplicateResourceException":
|
|
420
|
-
throw await
|
|
418
|
+
throw await de_DuplicateResourceExceptionRes(parsedOutput, context);
|
|
421
419
|
case "InternalServiceError":
|
|
422
420
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
423
|
-
throw await
|
|
421
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
424
422
|
case "InvalidRequestException":
|
|
425
423
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
426
|
-
throw await
|
|
424
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
427
425
|
case "ResourceQuotaExceededException":
|
|
428
426
|
case "com.amazonaws.appintegrations#ResourceQuotaExceededException":
|
|
429
|
-
throw await
|
|
427
|
+
throw await de_ResourceQuotaExceededExceptionRes(parsedOutput, context);
|
|
430
428
|
case "ThrottlingException":
|
|
431
429
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
432
|
-
throw await
|
|
430
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
433
431
|
default:
|
|
434
432
|
const parsedBody = parsedOutput.body;
|
|
435
433
|
throwDefaultError({
|
|
@@ -440,9 +438,9 @@ const deserializeAws_restJson1CreateEventIntegrationCommandError = async (output
|
|
|
440
438
|
});
|
|
441
439
|
}
|
|
442
440
|
};
|
|
443
|
-
export const
|
|
441
|
+
export const de_DeleteDataIntegrationCommand = async (output, context) => {
|
|
444
442
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
445
|
-
return
|
|
443
|
+
return de_DeleteDataIntegrationCommandError(output, context);
|
|
446
444
|
}
|
|
447
445
|
const contents = map({
|
|
448
446
|
$metadata: deserializeMetadata(output),
|
|
@@ -450,7 +448,7 @@ export const deserializeAws_restJson1DeleteDataIntegrationCommand = async (outpu
|
|
|
450
448
|
await collectBody(output.body, context);
|
|
451
449
|
return contents;
|
|
452
450
|
};
|
|
453
|
-
const
|
|
451
|
+
const de_DeleteDataIntegrationCommandError = async (output, context) => {
|
|
454
452
|
const parsedOutput = {
|
|
455
453
|
...output,
|
|
456
454
|
body: await parseErrorBody(output.body, context),
|
|
@@ -459,19 +457,19 @@ const deserializeAws_restJson1DeleteDataIntegrationCommandError = async (output,
|
|
|
459
457
|
switch (errorCode) {
|
|
460
458
|
case "AccessDeniedException":
|
|
461
459
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
462
|
-
throw await
|
|
460
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
463
461
|
case "InternalServiceError":
|
|
464
462
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
465
|
-
throw await
|
|
463
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
466
464
|
case "InvalidRequestException":
|
|
467
465
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
468
|
-
throw await
|
|
466
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
469
467
|
case "ResourceNotFoundException":
|
|
470
468
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
471
|
-
throw await
|
|
469
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
472
470
|
case "ThrottlingException":
|
|
473
471
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
474
|
-
throw await
|
|
472
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
475
473
|
default:
|
|
476
474
|
const parsedBody = parsedOutput.body;
|
|
477
475
|
throwDefaultError({
|
|
@@ -482,9 +480,9 @@ const deserializeAws_restJson1DeleteDataIntegrationCommandError = async (output,
|
|
|
482
480
|
});
|
|
483
481
|
}
|
|
484
482
|
};
|
|
485
|
-
export const
|
|
483
|
+
export const de_DeleteEventIntegrationCommand = async (output, context) => {
|
|
486
484
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
487
|
-
return
|
|
485
|
+
return de_DeleteEventIntegrationCommandError(output, context);
|
|
488
486
|
}
|
|
489
487
|
const contents = map({
|
|
490
488
|
$metadata: deserializeMetadata(output),
|
|
@@ -492,7 +490,7 @@ export const deserializeAws_restJson1DeleteEventIntegrationCommand = async (outp
|
|
|
492
490
|
await collectBody(output.body, context);
|
|
493
491
|
return contents;
|
|
494
492
|
};
|
|
495
|
-
const
|
|
493
|
+
const de_DeleteEventIntegrationCommandError = async (output, context) => {
|
|
496
494
|
const parsedOutput = {
|
|
497
495
|
...output,
|
|
498
496
|
body: await parseErrorBody(output.body, context),
|
|
@@ -501,19 +499,19 @@ const deserializeAws_restJson1DeleteEventIntegrationCommandError = async (output
|
|
|
501
499
|
switch (errorCode) {
|
|
502
500
|
case "AccessDeniedException":
|
|
503
501
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
504
|
-
throw await
|
|
502
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
505
503
|
case "InternalServiceError":
|
|
506
504
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
507
|
-
throw await
|
|
505
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
508
506
|
case "InvalidRequestException":
|
|
509
507
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
510
|
-
throw await
|
|
508
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
511
509
|
case "ResourceNotFoundException":
|
|
512
510
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
513
|
-
throw await
|
|
511
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
514
512
|
case "ThrottlingException":
|
|
515
513
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
516
|
-
throw await
|
|
514
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
517
515
|
default:
|
|
518
516
|
const parsedBody = parsedOutput.body;
|
|
519
517
|
throwDefaultError({
|
|
@@ -524,9 +522,9 @@ const deserializeAws_restJson1DeleteEventIntegrationCommandError = async (output
|
|
|
524
522
|
});
|
|
525
523
|
}
|
|
526
524
|
};
|
|
527
|
-
export const
|
|
525
|
+
export const de_GetDataIntegrationCommand = async (output, context) => {
|
|
528
526
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
529
|
-
return
|
|
527
|
+
return de_GetDataIntegrationCommandError(output, context);
|
|
530
528
|
}
|
|
531
529
|
const contents = map({
|
|
532
530
|
$metadata: deserializeMetadata(output),
|
|
@@ -539,7 +537,7 @@ export const deserializeAws_restJson1GetDataIntegrationCommand = async (output,
|
|
|
539
537
|
contents.Description = __expectString(data.Description);
|
|
540
538
|
}
|
|
541
539
|
if (data.FileConfiguration != null) {
|
|
542
|
-
contents.FileConfiguration =
|
|
540
|
+
contents.FileConfiguration = de_FileConfiguration(data.FileConfiguration, context);
|
|
543
541
|
}
|
|
544
542
|
if (data.Id != null) {
|
|
545
543
|
contents.Id = __expectString(data.Id);
|
|
@@ -551,20 +549,20 @@ export const deserializeAws_restJson1GetDataIntegrationCommand = async (output,
|
|
|
551
549
|
contents.Name = __expectString(data.Name);
|
|
552
550
|
}
|
|
553
551
|
if (data.ObjectConfiguration != null) {
|
|
554
|
-
contents.ObjectConfiguration =
|
|
552
|
+
contents.ObjectConfiguration = de_ObjectConfiguration(data.ObjectConfiguration, context);
|
|
555
553
|
}
|
|
556
554
|
if (data.ScheduleConfiguration != null) {
|
|
557
|
-
contents.ScheduleConfiguration =
|
|
555
|
+
contents.ScheduleConfiguration = de_ScheduleConfiguration(data.ScheduleConfiguration, context);
|
|
558
556
|
}
|
|
559
557
|
if (data.SourceURI != null) {
|
|
560
558
|
contents.SourceURI = __expectString(data.SourceURI);
|
|
561
559
|
}
|
|
562
560
|
if (data.Tags != null) {
|
|
563
|
-
contents.Tags =
|
|
561
|
+
contents.Tags = de_TagMap(data.Tags, context);
|
|
564
562
|
}
|
|
565
563
|
return contents;
|
|
566
564
|
};
|
|
567
|
-
const
|
|
565
|
+
const de_GetDataIntegrationCommandError = async (output, context) => {
|
|
568
566
|
const parsedOutput = {
|
|
569
567
|
...output,
|
|
570
568
|
body: await parseErrorBody(output.body, context),
|
|
@@ -573,19 +571,19 @@ const deserializeAws_restJson1GetDataIntegrationCommandError = async (output, co
|
|
|
573
571
|
switch (errorCode) {
|
|
574
572
|
case "AccessDeniedException":
|
|
575
573
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
576
|
-
throw await
|
|
574
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
577
575
|
case "InternalServiceError":
|
|
578
576
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
579
|
-
throw await
|
|
577
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
580
578
|
case "InvalidRequestException":
|
|
581
579
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
582
|
-
throw await
|
|
580
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
583
581
|
case "ResourceNotFoundException":
|
|
584
582
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
585
|
-
throw await
|
|
583
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
586
584
|
case "ThrottlingException":
|
|
587
585
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
588
|
-
throw await
|
|
586
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
589
587
|
default:
|
|
590
588
|
const parsedBody = parsedOutput.body;
|
|
591
589
|
throwDefaultError({
|
|
@@ -596,9 +594,9 @@ const deserializeAws_restJson1GetDataIntegrationCommandError = async (output, co
|
|
|
596
594
|
});
|
|
597
595
|
}
|
|
598
596
|
};
|
|
599
|
-
export const
|
|
597
|
+
export const de_GetEventIntegrationCommand = async (output, context) => {
|
|
600
598
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
601
|
-
return
|
|
599
|
+
return de_GetEventIntegrationCommandError(output, context);
|
|
602
600
|
}
|
|
603
601
|
const contents = map({
|
|
604
602
|
$metadata: deserializeMetadata(output),
|
|
@@ -611,7 +609,7 @@ export const deserializeAws_restJson1GetEventIntegrationCommand = async (output,
|
|
|
611
609
|
contents.EventBridgeBus = __expectString(data.EventBridgeBus);
|
|
612
610
|
}
|
|
613
611
|
if (data.EventFilter != null) {
|
|
614
|
-
contents.EventFilter =
|
|
612
|
+
contents.EventFilter = de_EventFilter(data.EventFilter, context);
|
|
615
613
|
}
|
|
616
614
|
if (data.EventIntegrationArn != null) {
|
|
617
615
|
contents.EventIntegrationArn = __expectString(data.EventIntegrationArn);
|
|
@@ -620,11 +618,11 @@ export const deserializeAws_restJson1GetEventIntegrationCommand = async (output,
|
|
|
620
618
|
contents.Name = __expectString(data.Name);
|
|
621
619
|
}
|
|
622
620
|
if (data.Tags != null) {
|
|
623
|
-
contents.Tags =
|
|
621
|
+
contents.Tags = de_TagMap(data.Tags, context);
|
|
624
622
|
}
|
|
625
623
|
return contents;
|
|
626
624
|
};
|
|
627
|
-
const
|
|
625
|
+
const de_GetEventIntegrationCommandError = async (output, context) => {
|
|
628
626
|
const parsedOutput = {
|
|
629
627
|
...output,
|
|
630
628
|
body: await parseErrorBody(output.body, context),
|
|
@@ -633,19 +631,19 @@ const deserializeAws_restJson1GetEventIntegrationCommandError = async (output, c
|
|
|
633
631
|
switch (errorCode) {
|
|
634
632
|
case "AccessDeniedException":
|
|
635
633
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
636
|
-
throw await
|
|
634
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
637
635
|
case "InternalServiceError":
|
|
638
636
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
639
|
-
throw await
|
|
637
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
640
638
|
case "InvalidRequestException":
|
|
641
639
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
642
|
-
throw await
|
|
640
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
643
641
|
case "ResourceNotFoundException":
|
|
644
642
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
645
|
-
throw await
|
|
643
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
646
644
|
case "ThrottlingException":
|
|
647
645
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
648
|
-
throw await
|
|
646
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
649
647
|
default:
|
|
650
648
|
const parsedBody = parsedOutput.body;
|
|
651
649
|
throwDefaultError({
|
|
@@ -656,23 +654,23 @@ const deserializeAws_restJson1GetEventIntegrationCommandError = async (output, c
|
|
|
656
654
|
});
|
|
657
655
|
}
|
|
658
656
|
};
|
|
659
|
-
export const
|
|
657
|
+
export const de_ListDataIntegrationAssociationsCommand = async (output, context) => {
|
|
660
658
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
661
|
-
return
|
|
659
|
+
return de_ListDataIntegrationAssociationsCommandError(output, context);
|
|
662
660
|
}
|
|
663
661
|
const contents = map({
|
|
664
662
|
$metadata: deserializeMetadata(output),
|
|
665
663
|
});
|
|
666
664
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
667
665
|
if (data.DataIntegrationAssociations != null) {
|
|
668
|
-
contents.DataIntegrationAssociations =
|
|
666
|
+
contents.DataIntegrationAssociations = de_DataIntegrationAssociationsList(data.DataIntegrationAssociations, context);
|
|
669
667
|
}
|
|
670
668
|
if (data.NextToken != null) {
|
|
671
669
|
contents.NextToken = __expectString(data.NextToken);
|
|
672
670
|
}
|
|
673
671
|
return contents;
|
|
674
672
|
};
|
|
675
|
-
const
|
|
673
|
+
const de_ListDataIntegrationAssociationsCommandError = async (output, context) => {
|
|
676
674
|
const parsedOutput = {
|
|
677
675
|
...output,
|
|
678
676
|
body: await parseErrorBody(output.body, context),
|
|
@@ -681,19 +679,19 @@ const deserializeAws_restJson1ListDataIntegrationAssociationsCommandError = asyn
|
|
|
681
679
|
switch (errorCode) {
|
|
682
680
|
case "AccessDeniedException":
|
|
683
681
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
684
|
-
throw await
|
|
682
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
685
683
|
case "InternalServiceError":
|
|
686
684
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
687
|
-
throw await
|
|
685
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
688
686
|
case "InvalidRequestException":
|
|
689
687
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
690
|
-
throw await
|
|
688
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
691
689
|
case "ResourceNotFoundException":
|
|
692
690
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
693
|
-
throw await
|
|
691
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
694
692
|
case "ThrottlingException":
|
|
695
693
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
696
|
-
throw await
|
|
694
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
697
695
|
default:
|
|
698
696
|
const parsedBody = parsedOutput.body;
|
|
699
697
|
throwDefaultError({
|
|
@@ -704,23 +702,23 @@ const deserializeAws_restJson1ListDataIntegrationAssociationsCommandError = asyn
|
|
|
704
702
|
});
|
|
705
703
|
}
|
|
706
704
|
};
|
|
707
|
-
export const
|
|
705
|
+
export const de_ListDataIntegrationsCommand = async (output, context) => {
|
|
708
706
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
709
|
-
return
|
|
707
|
+
return de_ListDataIntegrationsCommandError(output, context);
|
|
710
708
|
}
|
|
711
709
|
const contents = map({
|
|
712
710
|
$metadata: deserializeMetadata(output),
|
|
713
711
|
});
|
|
714
712
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
715
713
|
if (data.DataIntegrations != null) {
|
|
716
|
-
contents.DataIntegrations =
|
|
714
|
+
contents.DataIntegrations = de_DataIntegrationsList(data.DataIntegrations, context);
|
|
717
715
|
}
|
|
718
716
|
if (data.NextToken != null) {
|
|
719
717
|
contents.NextToken = __expectString(data.NextToken);
|
|
720
718
|
}
|
|
721
719
|
return contents;
|
|
722
720
|
};
|
|
723
|
-
const
|
|
721
|
+
const de_ListDataIntegrationsCommandError = async (output, context) => {
|
|
724
722
|
const parsedOutput = {
|
|
725
723
|
...output,
|
|
726
724
|
body: await parseErrorBody(output.body, context),
|
|
@@ -729,16 +727,16 @@ const deserializeAws_restJson1ListDataIntegrationsCommandError = async (output,
|
|
|
729
727
|
switch (errorCode) {
|
|
730
728
|
case "AccessDeniedException":
|
|
731
729
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
732
|
-
throw await
|
|
730
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
733
731
|
case "InternalServiceError":
|
|
734
732
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
735
|
-
throw await
|
|
733
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
736
734
|
case "InvalidRequestException":
|
|
737
735
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
738
|
-
throw await
|
|
736
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
739
737
|
case "ThrottlingException":
|
|
740
738
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
741
|
-
throw await
|
|
739
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
742
740
|
default:
|
|
743
741
|
const parsedBody = parsedOutput.body;
|
|
744
742
|
throwDefaultError({
|
|
@@ -749,23 +747,23 @@ const deserializeAws_restJson1ListDataIntegrationsCommandError = async (output,
|
|
|
749
747
|
});
|
|
750
748
|
}
|
|
751
749
|
};
|
|
752
|
-
export const
|
|
750
|
+
export const de_ListEventIntegrationAssociationsCommand = async (output, context) => {
|
|
753
751
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
754
|
-
return
|
|
752
|
+
return de_ListEventIntegrationAssociationsCommandError(output, context);
|
|
755
753
|
}
|
|
756
754
|
const contents = map({
|
|
757
755
|
$metadata: deserializeMetadata(output),
|
|
758
756
|
});
|
|
759
757
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
760
758
|
if (data.EventIntegrationAssociations != null) {
|
|
761
|
-
contents.EventIntegrationAssociations =
|
|
759
|
+
contents.EventIntegrationAssociations = de_EventIntegrationAssociationsList(data.EventIntegrationAssociations, context);
|
|
762
760
|
}
|
|
763
761
|
if (data.NextToken != null) {
|
|
764
762
|
contents.NextToken = __expectString(data.NextToken);
|
|
765
763
|
}
|
|
766
764
|
return contents;
|
|
767
765
|
};
|
|
768
|
-
const
|
|
766
|
+
const de_ListEventIntegrationAssociationsCommandError = async (output, context) => {
|
|
769
767
|
const parsedOutput = {
|
|
770
768
|
...output,
|
|
771
769
|
body: await parseErrorBody(output.body, context),
|
|
@@ -774,19 +772,19 @@ const deserializeAws_restJson1ListEventIntegrationAssociationsCommandError = asy
|
|
|
774
772
|
switch (errorCode) {
|
|
775
773
|
case "AccessDeniedException":
|
|
776
774
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
777
|
-
throw await
|
|
775
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
778
776
|
case "InternalServiceError":
|
|
779
777
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
780
|
-
throw await
|
|
778
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
781
779
|
case "InvalidRequestException":
|
|
782
780
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
783
|
-
throw await
|
|
781
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
784
782
|
case "ResourceNotFoundException":
|
|
785
783
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
786
|
-
throw await
|
|
784
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
787
785
|
case "ThrottlingException":
|
|
788
786
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
789
|
-
throw await
|
|
787
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
790
788
|
default:
|
|
791
789
|
const parsedBody = parsedOutput.body;
|
|
792
790
|
throwDefaultError({
|
|
@@ -797,23 +795,23 @@ const deserializeAws_restJson1ListEventIntegrationAssociationsCommandError = asy
|
|
|
797
795
|
});
|
|
798
796
|
}
|
|
799
797
|
};
|
|
800
|
-
export const
|
|
798
|
+
export const de_ListEventIntegrationsCommand = async (output, context) => {
|
|
801
799
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
802
|
-
return
|
|
800
|
+
return de_ListEventIntegrationsCommandError(output, context);
|
|
803
801
|
}
|
|
804
802
|
const contents = map({
|
|
805
803
|
$metadata: deserializeMetadata(output),
|
|
806
804
|
});
|
|
807
805
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
808
806
|
if (data.EventIntegrations != null) {
|
|
809
|
-
contents.EventIntegrations =
|
|
807
|
+
contents.EventIntegrations = de_EventIntegrationsList(data.EventIntegrations, context);
|
|
810
808
|
}
|
|
811
809
|
if (data.NextToken != null) {
|
|
812
810
|
contents.NextToken = __expectString(data.NextToken);
|
|
813
811
|
}
|
|
814
812
|
return contents;
|
|
815
813
|
};
|
|
816
|
-
const
|
|
814
|
+
const de_ListEventIntegrationsCommandError = async (output, context) => {
|
|
817
815
|
const parsedOutput = {
|
|
818
816
|
...output,
|
|
819
817
|
body: await parseErrorBody(output.body, context),
|
|
@@ -822,16 +820,16 @@ const deserializeAws_restJson1ListEventIntegrationsCommandError = async (output,
|
|
|
822
820
|
switch (errorCode) {
|
|
823
821
|
case "AccessDeniedException":
|
|
824
822
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
825
|
-
throw await
|
|
823
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
826
824
|
case "InternalServiceError":
|
|
827
825
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
828
|
-
throw await
|
|
826
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
829
827
|
case "InvalidRequestException":
|
|
830
828
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
831
|
-
throw await
|
|
829
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
832
830
|
case "ThrottlingException":
|
|
833
831
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
834
|
-
throw await
|
|
832
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
835
833
|
default:
|
|
836
834
|
const parsedBody = parsedOutput.body;
|
|
837
835
|
throwDefaultError({
|
|
@@ -842,20 +840,20 @@ const deserializeAws_restJson1ListEventIntegrationsCommandError = async (output,
|
|
|
842
840
|
});
|
|
843
841
|
}
|
|
844
842
|
};
|
|
845
|
-
export const
|
|
843
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
846
844
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
847
|
-
return
|
|
845
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
848
846
|
}
|
|
849
847
|
const contents = map({
|
|
850
848
|
$metadata: deserializeMetadata(output),
|
|
851
849
|
});
|
|
852
850
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
853
851
|
if (data.tags != null) {
|
|
854
|
-
contents.tags =
|
|
852
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
855
853
|
}
|
|
856
854
|
return contents;
|
|
857
855
|
};
|
|
858
|
-
const
|
|
856
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
859
857
|
const parsedOutput = {
|
|
860
858
|
...output,
|
|
861
859
|
body: await parseErrorBody(output.body, context),
|
|
@@ -864,16 +862,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
864
862
|
switch (errorCode) {
|
|
865
863
|
case "InternalServiceError":
|
|
866
864
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
867
|
-
throw await
|
|
865
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
868
866
|
case "InvalidRequestException":
|
|
869
867
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
870
|
-
throw await
|
|
868
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
871
869
|
case "ResourceNotFoundException":
|
|
872
870
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
873
|
-
throw await
|
|
871
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
874
872
|
case "ThrottlingException":
|
|
875
873
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
876
|
-
throw await
|
|
874
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
877
875
|
default:
|
|
878
876
|
const parsedBody = parsedOutput.body;
|
|
879
877
|
throwDefaultError({
|
|
@@ -884,9 +882,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
884
882
|
});
|
|
885
883
|
}
|
|
886
884
|
};
|
|
887
|
-
export const
|
|
885
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
888
886
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
889
|
-
return
|
|
887
|
+
return de_TagResourceCommandError(output, context);
|
|
890
888
|
}
|
|
891
889
|
const contents = map({
|
|
892
890
|
$metadata: deserializeMetadata(output),
|
|
@@ -894,7 +892,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
|
|
|
894
892
|
await collectBody(output.body, context);
|
|
895
893
|
return contents;
|
|
896
894
|
};
|
|
897
|
-
const
|
|
895
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
898
896
|
const parsedOutput = {
|
|
899
897
|
...output,
|
|
900
898
|
body: await parseErrorBody(output.body, context),
|
|
@@ -903,16 +901,16 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
903
901
|
switch (errorCode) {
|
|
904
902
|
case "InternalServiceError":
|
|
905
903
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
906
|
-
throw await
|
|
904
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
907
905
|
case "InvalidRequestException":
|
|
908
906
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
909
|
-
throw await
|
|
907
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
910
908
|
case "ResourceNotFoundException":
|
|
911
909
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
912
|
-
throw await
|
|
910
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
913
911
|
case "ThrottlingException":
|
|
914
912
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
915
|
-
throw await
|
|
913
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
916
914
|
default:
|
|
917
915
|
const parsedBody = parsedOutput.body;
|
|
918
916
|
throwDefaultError({
|
|
@@ -923,9 +921,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
923
921
|
});
|
|
924
922
|
}
|
|
925
923
|
};
|
|
926
|
-
export const
|
|
924
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
927
925
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
928
|
-
return
|
|
926
|
+
return de_UntagResourceCommandError(output, context);
|
|
929
927
|
}
|
|
930
928
|
const contents = map({
|
|
931
929
|
$metadata: deserializeMetadata(output),
|
|
@@ -933,7 +931,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
|
|
|
933
931
|
await collectBody(output.body, context);
|
|
934
932
|
return contents;
|
|
935
933
|
};
|
|
936
|
-
const
|
|
934
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
937
935
|
const parsedOutput = {
|
|
938
936
|
...output,
|
|
939
937
|
body: await parseErrorBody(output.body, context),
|
|
@@ -942,16 +940,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
942
940
|
switch (errorCode) {
|
|
943
941
|
case "InternalServiceError":
|
|
944
942
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
945
|
-
throw await
|
|
943
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
946
944
|
case "InvalidRequestException":
|
|
947
945
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
948
|
-
throw await
|
|
946
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
949
947
|
case "ResourceNotFoundException":
|
|
950
948
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
951
|
-
throw await
|
|
949
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
952
950
|
case "ThrottlingException":
|
|
953
951
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
954
|
-
throw await
|
|
952
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
955
953
|
default:
|
|
956
954
|
const parsedBody = parsedOutput.body;
|
|
957
955
|
throwDefaultError({
|
|
@@ -962,9 +960,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
962
960
|
});
|
|
963
961
|
}
|
|
964
962
|
};
|
|
965
|
-
export const
|
|
963
|
+
export const de_UpdateDataIntegrationCommand = async (output, context) => {
|
|
966
964
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
967
|
-
return
|
|
965
|
+
return de_UpdateDataIntegrationCommandError(output, context);
|
|
968
966
|
}
|
|
969
967
|
const contents = map({
|
|
970
968
|
$metadata: deserializeMetadata(output),
|
|
@@ -972,7 +970,7 @@ export const deserializeAws_restJson1UpdateDataIntegrationCommand = async (outpu
|
|
|
972
970
|
await collectBody(output.body, context);
|
|
973
971
|
return contents;
|
|
974
972
|
};
|
|
975
|
-
const
|
|
973
|
+
const de_UpdateDataIntegrationCommandError = async (output, context) => {
|
|
976
974
|
const parsedOutput = {
|
|
977
975
|
...output,
|
|
978
976
|
body: await parseErrorBody(output.body, context),
|
|
@@ -981,19 +979,19 @@ const deserializeAws_restJson1UpdateDataIntegrationCommandError = async (output,
|
|
|
981
979
|
switch (errorCode) {
|
|
982
980
|
case "AccessDeniedException":
|
|
983
981
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
984
|
-
throw await
|
|
982
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
985
983
|
case "InternalServiceError":
|
|
986
984
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
987
|
-
throw await
|
|
985
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
988
986
|
case "InvalidRequestException":
|
|
989
987
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
990
|
-
throw await
|
|
988
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
991
989
|
case "ResourceNotFoundException":
|
|
992
990
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
993
|
-
throw await
|
|
991
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
994
992
|
case "ThrottlingException":
|
|
995
993
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
996
|
-
throw await
|
|
994
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
997
995
|
default:
|
|
998
996
|
const parsedBody = parsedOutput.body;
|
|
999
997
|
throwDefaultError({
|
|
@@ -1004,9 +1002,9 @@ const deserializeAws_restJson1UpdateDataIntegrationCommandError = async (output,
|
|
|
1004
1002
|
});
|
|
1005
1003
|
}
|
|
1006
1004
|
};
|
|
1007
|
-
export const
|
|
1005
|
+
export const de_UpdateEventIntegrationCommand = async (output, context) => {
|
|
1008
1006
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1009
|
-
return
|
|
1007
|
+
return de_UpdateEventIntegrationCommandError(output, context);
|
|
1010
1008
|
}
|
|
1011
1009
|
const contents = map({
|
|
1012
1010
|
$metadata: deserializeMetadata(output),
|
|
@@ -1014,7 +1012,7 @@ export const deserializeAws_restJson1UpdateEventIntegrationCommand = async (outp
|
|
|
1014
1012
|
await collectBody(output.body, context);
|
|
1015
1013
|
return contents;
|
|
1016
1014
|
};
|
|
1017
|
-
const
|
|
1015
|
+
const de_UpdateEventIntegrationCommandError = async (output, context) => {
|
|
1018
1016
|
const parsedOutput = {
|
|
1019
1017
|
...output,
|
|
1020
1018
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1023,19 +1021,19 @@ const deserializeAws_restJson1UpdateEventIntegrationCommandError = async (output
|
|
|
1023
1021
|
switch (errorCode) {
|
|
1024
1022
|
case "AccessDeniedException":
|
|
1025
1023
|
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
1026
|
-
throw await
|
|
1024
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1027
1025
|
case "InternalServiceError":
|
|
1028
1026
|
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
1029
|
-
throw await
|
|
1027
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1030
1028
|
case "InvalidRequestException":
|
|
1031
1029
|
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
1032
|
-
throw await
|
|
1030
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1033
1031
|
case "ResourceNotFoundException":
|
|
1034
1032
|
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
1035
|
-
throw await
|
|
1033
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1036
1034
|
case "ThrottlingException":
|
|
1037
1035
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
1038
|
-
throw await
|
|
1036
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1039
1037
|
default:
|
|
1040
1038
|
const parsedBody = parsedOutput.body;
|
|
1041
1039
|
throwDefaultError({
|
|
@@ -1047,7 +1045,7 @@ const deserializeAws_restJson1UpdateEventIntegrationCommandError = async (output
|
|
|
1047
1045
|
}
|
|
1048
1046
|
};
|
|
1049
1047
|
const map = __map;
|
|
1050
|
-
const
|
|
1048
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1051
1049
|
const contents = map({});
|
|
1052
1050
|
const data = parsedOutput.body;
|
|
1053
1051
|
if (data.Message != null) {
|
|
@@ -1059,7 +1057,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
1059
1057
|
});
|
|
1060
1058
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1061
1059
|
};
|
|
1062
|
-
const
|
|
1060
|
+
const de_DuplicateResourceExceptionRes = async (parsedOutput, context) => {
|
|
1063
1061
|
const contents = map({});
|
|
1064
1062
|
const data = parsedOutput.body;
|
|
1065
1063
|
if (data.Message != null) {
|
|
@@ -1071,7 +1069,7 @@ const deserializeAws_restJson1DuplicateResourceExceptionResponse = async (parsed
|
|
|
1071
1069
|
});
|
|
1072
1070
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1073
1071
|
};
|
|
1074
|
-
const
|
|
1072
|
+
const de_InternalServiceErrorRes = async (parsedOutput, context) => {
|
|
1075
1073
|
const contents = map({});
|
|
1076
1074
|
const data = parsedOutput.body;
|
|
1077
1075
|
if (data.Message != null) {
|
|
@@ -1083,7 +1081,7 @@ const deserializeAws_restJson1InternalServiceErrorResponse = async (parsedOutput
|
|
|
1083
1081
|
});
|
|
1084
1082
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1085
1083
|
};
|
|
1086
|
-
const
|
|
1084
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1087
1085
|
const contents = map({});
|
|
1088
1086
|
const data = parsedOutput.body;
|
|
1089
1087
|
if (data.Message != null) {
|
|
@@ -1095,7 +1093,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
|
|
|
1095
1093
|
});
|
|
1096
1094
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1097
1095
|
};
|
|
1098
|
-
const
|
|
1096
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1099
1097
|
const contents = map({});
|
|
1100
1098
|
const data = parsedOutput.body;
|
|
1101
1099
|
if (data.Message != null) {
|
|
@@ -1107,7 +1105,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
1107
1105
|
});
|
|
1108
1106
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1109
1107
|
};
|
|
1110
|
-
const
|
|
1108
|
+
const de_ResourceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1111
1109
|
const contents = map({});
|
|
1112
1110
|
const data = parsedOutput.body;
|
|
1113
1111
|
if (data.Message != null) {
|
|
@@ -1119,7 +1117,7 @@ const deserializeAws_restJson1ResourceQuotaExceededExceptionResponse = async (pa
|
|
|
1119
1117
|
});
|
|
1120
1118
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1121
1119
|
};
|
|
1122
|
-
const
|
|
1120
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1123
1121
|
const contents = map({});
|
|
1124
1122
|
const data = parsedOutput.body;
|
|
1125
1123
|
if (data.Message != null) {
|
|
@@ -1131,57 +1129,57 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
1131
1129
|
});
|
|
1132
1130
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1133
1131
|
};
|
|
1134
|
-
const
|
|
1132
|
+
const se_EventFilter = (input, context) => {
|
|
1135
1133
|
return {
|
|
1136
1134
|
...(input.Source != null && { Source: input.Source }),
|
|
1137
1135
|
};
|
|
1138
1136
|
};
|
|
1139
|
-
const
|
|
1137
|
+
const se_FieldsList = (input, context) => {
|
|
1140
1138
|
return input
|
|
1141
1139
|
.filter((e) => e != null)
|
|
1142
1140
|
.map((entry) => {
|
|
1143
1141
|
return entry;
|
|
1144
1142
|
});
|
|
1145
1143
|
};
|
|
1146
|
-
const
|
|
1144
|
+
const se_FieldsMap = (input, context) => {
|
|
1147
1145
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1148
1146
|
if (value === null) {
|
|
1149
1147
|
return acc;
|
|
1150
1148
|
}
|
|
1151
|
-
acc[key] =
|
|
1149
|
+
acc[key] = se_FieldsList(value, context);
|
|
1152
1150
|
return acc;
|
|
1153
1151
|
}, {});
|
|
1154
1152
|
};
|
|
1155
|
-
const
|
|
1153
|
+
const se_FileConfiguration = (input, context) => {
|
|
1156
1154
|
return {
|
|
1157
|
-
...(input.Filters != null && { Filters:
|
|
1158
|
-
...(input.Folders != null && { Folders:
|
|
1155
|
+
...(input.Filters != null && { Filters: se_FieldsMap(input.Filters, context) }),
|
|
1156
|
+
...(input.Folders != null && { Folders: se_FolderList(input.Folders, context) }),
|
|
1159
1157
|
};
|
|
1160
1158
|
};
|
|
1161
|
-
const
|
|
1159
|
+
const se_FolderList = (input, context) => {
|
|
1162
1160
|
return input
|
|
1163
1161
|
.filter((e) => e != null)
|
|
1164
1162
|
.map((entry) => {
|
|
1165
1163
|
return entry;
|
|
1166
1164
|
});
|
|
1167
1165
|
};
|
|
1168
|
-
const
|
|
1166
|
+
const se_ObjectConfiguration = (input, context) => {
|
|
1169
1167
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1170
1168
|
if (value === null) {
|
|
1171
1169
|
return acc;
|
|
1172
1170
|
}
|
|
1173
|
-
acc[key] =
|
|
1171
|
+
acc[key] = se_FieldsMap(value, context);
|
|
1174
1172
|
return acc;
|
|
1175
1173
|
}, {});
|
|
1176
1174
|
};
|
|
1177
|
-
const
|
|
1175
|
+
const se_ScheduleConfiguration = (input, context) => {
|
|
1178
1176
|
return {
|
|
1179
1177
|
...(input.FirstExecutionFrom != null && { FirstExecutionFrom: input.FirstExecutionFrom }),
|
|
1180
1178
|
...(input.Object != null && { Object: input.Object }),
|
|
1181
1179
|
...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
|
|
1182
1180
|
};
|
|
1183
1181
|
};
|
|
1184
|
-
const
|
|
1182
|
+
const se_TagMap = (input, context) => {
|
|
1185
1183
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1186
1184
|
if (value === null) {
|
|
1187
1185
|
return acc;
|
|
@@ -1190,7 +1188,7 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
1190
1188
|
return acc;
|
|
1191
1189
|
}, {});
|
|
1192
1190
|
};
|
|
1193
|
-
const
|
|
1191
|
+
const de_ClientAssociationMetadata = (output, context) => {
|
|
1194
1192
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1195
1193
|
if (value === null) {
|
|
1196
1194
|
return acc;
|
|
@@ -1199,61 +1197,61 @@ const deserializeAws_restJson1ClientAssociationMetadata = (output, context) => {
|
|
|
1199
1197
|
return acc;
|
|
1200
1198
|
}, {});
|
|
1201
1199
|
};
|
|
1202
|
-
const
|
|
1200
|
+
const de_DataIntegrationAssociationsList = (output, context) => {
|
|
1203
1201
|
const retVal = (output || [])
|
|
1204
1202
|
.filter((e) => e != null)
|
|
1205
1203
|
.map((entry) => {
|
|
1206
1204
|
if (entry === null) {
|
|
1207
1205
|
return null;
|
|
1208
1206
|
}
|
|
1209
|
-
return
|
|
1207
|
+
return de_DataIntegrationAssociationSummary(entry, context);
|
|
1210
1208
|
});
|
|
1211
1209
|
return retVal;
|
|
1212
1210
|
};
|
|
1213
|
-
const
|
|
1211
|
+
const de_DataIntegrationAssociationSummary = (output, context) => {
|
|
1214
1212
|
return {
|
|
1215
1213
|
ClientId: __expectString(output.ClientId),
|
|
1216
1214
|
DataIntegrationArn: __expectString(output.DataIntegrationArn),
|
|
1217
1215
|
DataIntegrationAssociationArn: __expectString(output.DataIntegrationAssociationArn),
|
|
1218
1216
|
};
|
|
1219
1217
|
};
|
|
1220
|
-
const
|
|
1218
|
+
const de_DataIntegrationsList = (output, context) => {
|
|
1221
1219
|
const retVal = (output || [])
|
|
1222
1220
|
.filter((e) => e != null)
|
|
1223
1221
|
.map((entry) => {
|
|
1224
1222
|
if (entry === null) {
|
|
1225
1223
|
return null;
|
|
1226
1224
|
}
|
|
1227
|
-
return
|
|
1225
|
+
return de_DataIntegrationSummary(entry, context);
|
|
1228
1226
|
});
|
|
1229
1227
|
return retVal;
|
|
1230
1228
|
};
|
|
1231
|
-
const
|
|
1229
|
+
const de_DataIntegrationSummary = (output, context) => {
|
|
1232
1230
|
return {
|
|
1233
1231
|
Arn: __expectString(output.Arn),
|
|
1234
1232
|
Name: __expectString(output.Name),
|
|
1235
1233
|
SourceURI: __expectString(output.SourceURI),
|
|
1236
1234
|
};
|
|
1237
1235
|
};
|
|
1238
|
-
const
|
|
1236
|
+
const de_EventFilter = (output, context) => {
|
|
1239
1237
|
return {
|
|
1240
1238
|
Source: __expectString(output.Source),
|
|
1241
1239
|
};
|
|
1242
1240
|
};
|
|
1243
|
-
const
|
|
1241
|
+
const de_EventIntegration = (output, context) => {
|
|
1244
1242
|
return {
|
|
1245
1243
|
Description: __expectString(output.Description),
|
|
1246
1244
|
EventBridgeBus: __expectString(output.EventBridgeBus),
|
|
1247
|
-
EventFilter: output.EventFilter != null ?
|
|
1245
|
+
EventFilter: output.EventFilter != null ? de_EventFilter(output.EventFilter, context) : undefined,
|
|
1248
1246
|
EventIntegrationArn: __expectString(output.EventIntegrationArn),
|
|
1249
1247
|
Name: __expectString(output.Name),
|
|
1250
|
-
Tags: output.Tags != null ?
|
|
1248
|
+
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
1251
1249
|
};
|
|
1252
1250
|
};
|
|
1253
|
-
const
|
|
1251
|
+
const de_EventIntegrationAssociation = (output, context) => {
|
|
1254
1252
|
return {
|
|
1255
1253
|
ClientAssociationMetadata: output.ClientAssociationMetadata != null
|
|
1256
|
-
?
|
|
1254
|
+
? de_ClientAssociationMetadata(output.ClientAssociationMetadata, context)
|
|
1257
1255
|
: undefined,
|
|
1258
1256
|
ClientId: __expectString(output.ClientId),
|
|
1259
1257
|
EventBridgeRuleName: __expectString(output.EventBridgeRuleName),
|
|
@@ -1262,29 +1260,29 @@ const deserializeAws_restJson1EventIntegrationAssociation = (output, context) =>
|
|
|
1262
1260
|
EventIntegrationName: __expectString(output.EventIntegrationName),
|
|
1263
1261
|
};
|
|
1264
1262
|
};
|
|
1265
|
-
const
|
|
1263
|
+
const de_EventIntegrationAssociationsList = (output, context) => {
|
|
1266
1264
|
const retVal = (output || [])
|
|
1267
1265
|
.filter((e) => e != null)
|
|
1268
1266
|
.map((entry) => {
|
|
1269
1267
|
if (entry === null) {
|
|
1270
1268
|
return null;
|
|
1271
1269
|
}
|
|
1272
|
-
return
|
|
1270
|
+
return de_EventIntegrationAssociation(entry, context);
|
|
1273
1271
|
});
|
|
1274
1272
|
return retVal;
|
|
1275
1273
|
};
|
|
1276
|
-
const
|
|
1274
|
+
const de_EventIntegrationsList = (output, context) => {
|
|
1277
1275
|
const retVal = (output || [])
|
|
1278
1276
|
.filter((e) => e != null)
|
|
1279
1277
|
.map((entry) => {
|
|
1280
1278
|
if (entry === null) {
|
|
1281
1279
|
return null;
|
|
1282
1280
|
}
|
|
1283
|
-
return
|
|
1281
|
+
return de_EventIntegration(entry, context);
|
|
1284
1282
|
});
|
|
1285
1283
|
return retVal;
|
|
1286
1284
|
};
|
|
1287
|
-
const
|
|
1285
|
+
const de_FieldsList = (output, context) => {
|
|
1288
1286
|
const retVal = (output || [])
|
|
1289
1287
|
.filter((e) => e != null)
|
|
1290
1288
|
.map((entry) => {
|
|
@@ -1295,22 +1293,22 @@ const deserializeAws_restJson1FieldsList = (output, context) => {
|
|
|
1295
1293
|
});
|
|
1296
1294
|
return retVal;
|
|
1297
1295
|
};
|
|
1298
|
-
const
|
|
1296
|
+
const de_FieldsMap = (output, context) => {
|
|
1299
1297
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1300
1298
|
if (value === null) {
|
|
1301
1299
|
return acc;
|
|
1302
1300
|
}
|
|
1303
|
-
acc[key] =
|
|
1301
|
+
acc[key] = de_FieldsList(value, context);
|
|
1304
1302
|
return acc;
|
|
1305
1303
|
}, {});
|
|
1306
1304
|
};
|
|
1307
|
-
const
|
|
1305
|
+
const de_FileConfiguration = (output, context) => {
|
|
1308
1306
|
return {
|
|
1309
|
-
Filters: output.Filters != null ?
|
|
1310
|
-
Folders: output.Folders != null ?
|
|
1307
|
+
Filters: output.Filters != null ? de_FieldsMap(output.Filters, context) : undefined,
|
|
1308
|
+
Folders: output.Folders != null ? de_FolderList(output.Folders, context) : undefined,
|
|
1311
1309
|
};
|
|
1312
1310
|
};
|
|
1313
|
-
const
|
|
1311
|
+
const de_FolderList = (output, context) => {
|
|
1314
1312
|
const retVal = (output || [])
|
|
1315
1313
|
.filter((e) => e != null)
|
|
1316
1314
|
.map((entry) => {
|
|
@@ -1321,23 +1319,23 @@ const deserializeAws_restJson1FolderList = (output, context) => {
|
|
|
1321
1319
|
});
|
|
1322
1320
|
return retVal;
|
|
1323
1321
|
};
|
|
1324
|
-
const
|
|
1322
|
+
const de_ObjectConfiguration = (output, context) => {
|
|
1325
1323
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1326
1324
|
if (value === null) {
|
|
1327
1325
|
return acc;
|
|
1328
1326
|
}
|
|
1329
|
-
acc[key] =
|
|
1327
|
+
acc[key] = de_FieldsMap(value, context);
|
|
1330
1328
|
return acc;
|
|
1331
1329
|
}, {});
|
|
1332
1330
|
};
|
|
1333
|
-
const
|
|
1331
|
+
const de_ScheduleConfiguration = (output, context) => {
|
|
1334
1332
|
return {
|
|
1335
1333
|
FirstExecutionFrom: __expectString(output.FirstExecutionFrom),
|
|
1336
1334
|
Object: __expectString(output.Object),
|
|
1337
1335
|
ScheduleExpression: __expectString(output.ScheduleExpression),
|
|
1338
1336
|
};
|
|
1339
1337
|
};
|
|
1340
|
-
const
|
|
1338
|
+
const de_TagMap = (output, context) => {
|
|
1341
1339
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1342
1340
|
if (value === null) {
|
|
1343
1341
|
return acc;
|