@aws-sdk/client-appflow 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/CreateConnectorProfileCommand.js +2 -2
- package/dist-cjs/commands/CreateFlowCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectorProfileCommand.js +2 -2
- package/dist-cjs/commands/DeleteFlowCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectorCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectorEntityCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectorsCommand.js +2 -2
- package/dist-cjs/commands/DescribeFlowCommand.js +2 -2
- package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +2 -2
- package/dist-cjs/commands/ListConnectorEntitiesCommand.js +2 -2
- package/dist-cjs/commands/ListConnectorsCommand.js +2 -2
- package/dist-cjs/commands/ListFlowsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RegisterConnectorCommand.js +2 -2
- package/dist-cjs/commands/StartFlowCommand.js +2 -2
- package/dist-cjs/commands/StopFlowCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UnregisterConnectorCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectorProfileCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectorRegistrationCommand.js +2 -2
- package/dist-cjs/commands/UpdateFlowCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +860 -1162
- package/dist-es/commands/CreateConnectorProfileCommand.js +3 -3
- package/dist-es/commands/CreateFlowCommand.js +3 -3
- package/dist-es/commands/DeleteConnectorProfileCommand.js +3 -3
- package/dist-es/commands/DeleteFlowCommand.js +3 -3
- package/dist-es/commands/DescribeConnectorCommand.js +3 -3
- package/dist-es/commands/DescribeConnectorEntityCommand.js +3 -3
- package/dist-es/commands/DescribeConnectorProfilesCommand.js +3 -3
- package/dist-es/commands/DescribeConnectorsCommand.js +3 -3
- package/dist-es/commands/DescribeFlowCommand.js +3 -3
- package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +3 -3
- package/dist-es/commands/ListConnectorEntitiesCommand.js +3 -3
- package/dist-es/commands/ListConnectorsCommand.js +3 -3
- package/dist-es/commands/ListFlowsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RegisterConnectorCommand.js +3 -3
- package/dist-es/commands/StartFlowCommand.js +3 -3
- package/dist-es/commands/StopFlowCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UnregisterConnectorCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateConnectorProfileCommand.js +3 -3
- package/dist-es/commands/UpdateConnectorRegistrationCommand.js +3 -3
- package/dist-es/commands/UpdateFlowCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +813 -1115
- package/dist-types/protocols/Aws_restJson1.d.ts +184 -46
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +46 -46
- package/package.json +29 -29
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AppflowServiceException as __BaseException } from "../models/AppflowServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, ConnectorAuthenticationException, ConnectorServerException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnsupportedOperationException, ValidationException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CreateConnectorProfileCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
@@ -13,7 +13,7 @@ export const serializeAws_restJson1CreateConnectorProfileCommand = async (input,
|
|
|
13
13
|
...(input.connectionMode != null && { connectionMode: input.connectionMode }),
|
|
14
14
|
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
15
15
|
...(input.connectorProfileConfig != null && {
|
|
16
|
-
connectorProfileConfig:
|
|
16
|
+
connectorProfileConfig: se_ConnectorProfileConfig(input.connectorProfileConfig, context),
|
|
17
17
|
}),
|
|
18
18
|
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
19
19
|
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
@@ -29,7 +29,7 @@ export const serializeAws_restJson1CreateConnectorProfileCommand = async (input,
|
|
|
29
29
|
body,
|
|
30
30
|
});
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateFlowCommand = async (input, context) => {
|
|
33
33
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/json",
|
|
@@ -39,21 +39,17 @@ export const serializeAws_restJson1CreateFlowCommand = async (input, context) =>
|
|
|
39
39
|
body = JSON.stringify({
|
|
40
40
|
...(input.description != null && { description: input.description }),
|
|
41
41
|
...(input.destinationFlowConfigList != null && {
|
|
42
|
-
destinationFlowConfigList:
|
|
42
|
+
destinationFlowConfigList: se_DestinationFlowConfigList(input.destinationFlowConfigList, context),
|
|
43
43
|
}),
|
|
44
44
|
...(input.flowName != null && { flowName: input.flowName }),
|
|
45
45
|
...(input.kmsArn != null && { kmsArn: input.kmsArn }),
|
|
46
46
|
...(input.metadataCatalogConfig != null && {
|
|
47
|
-
metadataCatalogConfig:
|
|
48
|
-
}),
|
|
49
|
-
...(input.sourceFlowConfig != null && {
|
|
50
|
-
sourceFlowConfig: serializeAws_restJson1SourceFlowConfig(input.sourceFlowConfig, context),
|
|
51
|
-
}),
|
|
52
|
-
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
53
|
-
...(input.tasks != null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) }),
|
|
54
|
-
...(input.triggerConfig != null && {
|
|
55
|
-
triggerConfig: serializeAws_restJson1TriggerConfig(input.triggerConfig, context),
|
|
47
|
+
metadataCatalogConfig: se_MetadataCatalogConfig(input.metadataCatalogConfig, context),
|
|
56
48
|
}),
|
|
49
|
+
...(input.sourceFlowConfig != null && { sourceFlowConfig: se_SourceFlowConfig(input.sourceFlowConfig, context) }),
|
|
50
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
51
|
+
...(input.tasks != null && { tasks: se_Tasks(input.tasks, context) }),
|
|
52
|
+
...(input.triggerConfig != null && { triggerConfig: se_TriggerConfig(input.triggerConfig, context) }),
|
|
57
53
|
});
|
|
58
54
|
return new __HttpRequest({
|
|
59
55
|
protocol,
|
|
@@ -65,7 +61,7 @@ export const serializeAws_restJson1CreateFlowCommand = async (input, context) =>
|
|
|
65
61
|
body,
|
|
66
62
|
});
|
|
67
63
|
};
|
|
68
|
-
export const
|
|
64
|
+
export const se_DeleteConnectorProfileCommand = async (input, context) => {
|
|
69
65
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
70
66
|
const headers = {
|
|
71
67
|
"content-type": "application/json",
|
|
@@ -86,7 +82,7 @@ export const serializeAws_restJson1DeleteConnectorProfileCommand = async (input,
|
|
|
86
82
|
body,
|
|
87
83
|
});
|
|
88
84
|
};
|
|
89
|
-
export const
|
|
85
|
+
export const se_DeleteFlowCommand = async (input, context) => {
|
|
90
86
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
91
87
|
const headers = {
|
|
92
88
|
"content-type": "application/json",
|
|
@@ -107,7 +103,7 @@ export const serializeAws_restJson1DeleteFlowCommand = async (input, context) =>
|
|
|
107
103
|
body,
|
|
108
104
|
});
|
|
109
105
|
};
|
|
110
|
-
export const
|
|
106
|
+
export const se_DescribeConnectorCommand = async (input, context) => {
|
|
111
107
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
112
108
|
const headers = {
|
|
113
109
|
"content-type": "application/json",
|
|
@@ -128,7 +124,7 @@ export const serializeAws_restJson1DescribeConnectorCommand = async (input, cont
|
|
|
128
124
|
body,
|
|
129
125
|
});
|
|
130
126
|
};
|
|
131
|
-
export const
|
|
127
|
+
export const se_DescribeConnectorEntityCommand = async (input, context) => {
|
|
132
128
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
133
129
|
const headers = {
|
|
134
130
|
"content-type": "application/json",
|
|
@@ -151,7 +147,7 @@ export const serializeAws_restJson1DescribeConnectorEntityCommand = async (input
|
|
|
151
147
|
body,
|
|
152
148
|
});
|
|
153
149
|
};
|
|
154
|
-
export const
|
|
150
|
+
export const se_DescribeConnectorProfilesCommand = async (input, context) => {
|
|
155
151
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
156
152
|
const headers = {
|
|
157
153
|
"content-type": "application/json",
|
|
@@ -161,7 +157,7 @@ export const serializeAws_restJson1DescribeConnectorProfilesCommand = async (inp
|
|
|
161
157
|
body = JSON.stringify({
|
|
162
158
|
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
163
159
|
...(input.connectorProfileNames != null && {
|
|
164
|
-
connectorProfileNames:
|
|
160
|
+
connectorProfileNames: se_ConnectorProfileNameList(input.connectorProfileNames, context),
|
|
165
161
|
}),
|
|
166
162
|
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
167
163
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -177,7 +173,7 @@ export const serializeAws_restJson1DescribeConnectorProfilesCommand = async (inp
|
|
|
177
173
|
body,
|
|
178
174
|
});
|
|
179
175
|
};
|
|
180
|
-
export const
|
|
176
|
+
export const se_DescribeConnectorsCommand = async (input, context) => {
|
|
181
177
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
182
178
|
const headers = {
|
|
183
179
|
"content-type": "application/json",
|
|
@@ -185,9 +181,7 @@ export const serializeAws_restJson1DescribeConnectorsCommand = async (input, con
|
|
|
185
181
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connectors";
|
|
186
182
|
let body;
|
|
187
183
|
body = JSON.stringify({
|
|
188
|
-
...(input.connectorTypes != null && {
|
|
189
|
-
connectorTypes: serializeAws_restJson1ConnectorTypeList(input.connectorTypes, context),
|
|
190
|
-
}),
|
|
184
|
+
...(input.connectorTypes != null && { connectorTypes: se_ConnectorTypeList(input.connectorTypes, context) }),
|
|
191
185
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
192
186
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
193
187
|
});
|
|
@@ -201,7 +195,7 @@ export const serializeAws_restJson1DescribeConnectorsCommand = async (input, con
|
|
|
201
195
|
body,
|
|
202
196
|
});
|
|
203
197
|
};
|
|
204
|
-
export const
|
|
198
|
+
export const se_DescribeFlowCommand = async (input, context) => {
|
|
205
199
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
206
200
|
const headers = {
|
|
207
201
|
"content-type": "application/json",
|
|
@@ -221,7 +215,7 @@ export const serializeAws_restJson1DescribeFlowCommand = async (input, context)
|
|
|
221
215
|
body,
|
|
222
216
|
});
|
|
223
217
|
};
|
|
224
|
-
export const
|
|
218
|
+
export const se_DescribeFlowExecutionRecordsCommand = async (input, context) => {
|
|
225
219
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
226
220
|
const headers = {
|
|
227
221
|
"content-type": "application/json",
|
|
@@ -243,7 +237,7 @@ export const serializeAws_restJson1DescribeFlowExecutionRecordsCommand = async (
|
|
|
243
237
|
body,
|
|
244
238
|
});
|
|
245
239
|
};
|
|
246
|
-
export const
|
|
240
|
+
export const se_ListConnectorEntitiesCommand = async (input, context) => {
|
|
247
241
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
248
242
|
const headers = {
|
|
249
243
|
"content-type": "application/json",
|
|
@@ -268,7 +262,7 @@ export const serializeAws_restJson1ListConnectorEntitiesCommand = async (input,
|
|
|
268
262
|
body,
|
|
269
263
|
});
|
|
270
264
|
};
|
|
271
|
-
export const
|
|
265
|
+
export const se_ListConnectorsCommand = async (input, context) => {
|
|
272
266
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
273
267
|
const headers = {
|
|
274
268
|
"content-type": "application/json",
|
|
@@ -289,7 +283,7 @@ export const serializeAws_restJson1ListConnectorsCommand = async (input, context
|
|
|
289
283
|
body,
|
|
290
284
|
});
|
|
291
285
|
};
|
|
292
|
-
export const
|
|
286
|
+
export const se_ListFlowsCommand = async (input, context) => {
|
|
293
287
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
294
288
|
const headers = {
|
|
295
289
|
"content-type": "application/json",
|
|
@@ -310,7 +304,7 @@ export const serializeAws_restJson1ListFlowsCommand = async (input, context) =>
|
|
|
310
304
|
body,
|
|
311
305
|
});
|
|
312
306
|
};
|
|
313
|
-
export const
|
|
307
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
314
308
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
315
309
|
const headers = {};
|
|
316
310
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -326,7 +320,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
326
320
|
body,
|
|
327
321
|
});
|
|
328
322
|
};
|
|
329
|
-
export const
|
|
323
|
+
export const se_RegisterConnectorCommand = async (input, context) => {
|
|
330
324
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
331
325
|
const headers = {
|
|
332
326
|
"content-type": "application/json",
|
|
@@ -336,7 +330,7 @@ export const serializeAws_restJson1RegisterConnectorCommand = async (input, cont
|
|
|
336
330
|
body = JSON.stringify({
|
|
337
331
|
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
338
332
|
...(input.connectorProvisioningConfig != null && {
|
|
339
|
-
connectorProvisioningConfig:
|
|
333
|
+
connectorProvisioningConfig: se_ConnectorProvisioningConfig(input.connectorProvisioningConfig, context),
|
|
340
334
|
}),
|
|
341
335
|
...(input.connectorProvisioningType != null && { connectorProvisioningType: input.connectorProvisioningType }),
|
|
342
336
|
...(input.description != null && { description: input.description }),
|
|
@@ -351,7 +345,7 @@ export const serializeAws_restJson1RegisterConnectorCommand = async (input, cont
|
|
|
351
345
|
body,
|
|
352
346
|
});
|
|
353
347
|
};
|
|
354
|
-
export const
|
|
348
|
+
export const se_StartFlowCommand = async (input, context) => {
|
|
355
349
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
356
350
|
const headers = {
|
|
357
351
|
"content-type": "application/json",
|
|
@@ -371,7 +365,7 @@ export const serializeAws_restJson1StartFlowCommand = async (input, context) =>
|
|
|
371
365
|
body,
|
|
372
366
|
});
|
|
373
367
|
};
|
|
374
|
-
export const
|
|
368
|
+
export const se_StopFlowCommand = async (input, context) => {
|
|
375
369
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
376
370
|
const headers = {
|
|
377
371
|
"content-type": "application/json",
|
|
@@ -391,7 +385,7 @@ export const serializeAws_restJson1StopFlowCommand = async (input, context) => {
|
|
|
391
385
|
body,
|
|
392
386
|
});
|
|
393
387
|
};
|
|
394
|
-
export const
|
|
388
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
395
389
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
396
390
|
const headers = {
|
|
397
391
|
"content-type": "application/json",
|
|
@@ -400,7 +394,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
400
394
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
401
395
|
let body;
|
|
402
396
|
body = JSON.stringify({
|
|
403
|
-
...(input.tags != null && { tags:
|
|
397
|
+
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
404
398
|
});
|
|
405
399
|
return new __HttpRequest({
|
|
406
400
|
protocol,
|
|
@@ -412,7 +406,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
412
406
|
body,
|
|
413
407
|
});
|
|
414
408
|
};
|
|
415
|
-
export const
|
|
409
|
+
export const se_UnregisterConnectorCommand = async (input, context) => {
|
|
416
410
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
417
411
|
const headers = {
|
|
418
412
|
"content-type": "application/json",
|
|
@@ -433,7 +427,7 @@ export const serializeAws_restJson1UnregisterConnectorCommand = async (input, co
|
|
|
433
427
|
body,
|
|
434
428
|
});
|
|
435
429
|
};
|
|
436
|
-
export const
|
|
430
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
437
431
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
438
432
|
const headers = {};
|
|
439
433
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -456,7 +450,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
456
450
|
body,
|
|
457
451
|
});
|
|
458
452
|
};
|
|
459
|
-
export const
|
|
453
|
+
export const se_UpdateConnectorProfileCommand = async (input, context) => {
|
|
460
454
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
461
455
|
const headers = {
|
|
462
456
|
"content-type": "application/json",
|
|
@@ -466,7 +460,7 @@ export const serializeAws_restJson1UpdateConnectorProfileCommand = async (input,
|
|
|
466
460
|
body = JSON.stringify({
|
|
467
461
|
...(input.connectionMode != null && { connectionMode: input.connectionMode }),
|
|
468
462
|
...(input.connectorProfileConfig != null && {
|
|
469
|
-
connectorProfileConfig:
|
|
463
|
+
connectorProfileConfig: se_ConnectorProfileConfig(input.connectorProfileConfig, context),
|
|
470
464
|
}),
|
|
471
465
|
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
472
466
|
});
|
|
@@ -480,7 +474,7 @@ export const serializeAws_restJson1UpdateConnectorProfileCommand = async (input,
|
|
|
480
474
|
body,
|
|
481
475
|
});
|
|
482
476
|
};
|
|
483
|
-
export const
|
|
477
|
+
export const se_UpdateConnectorRegistrationCommand = async (input, context) => {
|
|
484
478
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
485
479
|
const headers = {
|
|
486
480
|
"content-type": "application/json",
|
|
@@ -490,7 +484,7 @@ export const serializeAws_restJson1UpdateConnectorRegistrationCommand = async (i
|
|
|
490
484
|
body = JSON.stringify({
|
|
491
485
|
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
492
486
|
...(input.connectorProvisioningConfig != null && {
|
|
493
|
-
connectorProvisioningConfig:
|
|
487
|
+
connectorProvisioningConfig: se_ConnectorProvisioningConfig(input.connectorProvisioningConfig, context),
|
|
494
488
|
}),
|
|
495
489
|
...(input.description != null && { description: input.description }),
|
|
496
490
|
});
|
|
@@ -504,7 +498,7 @@ export const serializeAws_restJson1UpdateConnectorRegistrationCommand = async (i
|
|
|
504
498
|
body,
|
|
505
499
|
});
|
|
506
500
|
};
|
|
507
|
-
export const
|
|
501
|
+
export const se_UpdateFlowCommand = async (input, context) => {
|
|
508
502
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
509
503
|
const headers = {
|
|
510
504
|
"content-type": "application/json",
|
|
@@ -514,19 +508,15 @@ export const serializeAws_restJson1UpdateFlowCommand = async (input, context) =>
|
|
|
514
508
|
body = JSON.stringify({
|
|
515
509
|
...(input.description != null && { description: input.description }),
|
|
516
510
|
...(input.destinationFlowConfigList != null && {
|
|
517
|
-
destinationFlowConfigList:
|
|
511
|
+
destinationFlowConfigList: se_DestinationFlowConfigList(input.destinationFlowConfigList, context),
|
|
518
512
|
}),
|
|
519
513
|
...(input.flowName != null && { flowName: input.flowName }),
|
|
520
514
|
...(input.metadataCatalogConfig != null && {
|
|
521
|
-
metadataCatalogConfig:
|
|
522
|
-
}),
|
|
523
|
-
...(input.sourceFlowConfig != null && {
|
|
524
|
-
sourceFlowConfig: serializeAws_restJson1SourceFlowConfig(input.sourceFlowConfig, context),
|
|
525
|
-
}),
|
|
526
|
-
...(input.tasks != null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) }),
|
|
527
|
-
...(input.triggerConfig != null && {
|
|
528
|
-
triggerConfig: serializeAws_restJson1TriggerConfig(input.triggerConfig, context),
|
|
515
|
+
metadataCatalogConfig: se_MetadataCatalogConfig(input.metadataCatalogConfig, context),
|
|
529
516
|
}),
|
|
517
|
+
...(input.sourceFlowConfig != null && { sourceFlowConfig: se_SourceFlowConfig(input.sourceFlowConfig, context) }),
|
|
518
|
+
...(input.tasks != null && { tasks: se_Tasks(input.tasks, context) }),
|
|
519
|
+
...(input.triggerConfig != null && { triggerConfig: se_TriggerConfig(input.triggerConfig, context) }),
|
|
530
520
|
});
|
|
531
521
|
return new __HttpRequest({
|
|
532
522
|
protocol,
|
|
@@ -538,9 +528,9 @@ export const serializeAws_restJson1UpdateFlowCommand = async (input, context) =>
|
|
|
538
528
|
body,
|
|
539
529
|
});
|
|
540
530
|
};
|
|
541
|
-
export const
|
|
531
|
+
export const de_CreateConnectorProfileCommand = async (output, context) => {
|
|
542
532
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
543
|
-
return
|
|
533
|
+
return de_CreateConnectorProfileCommandError(output, context);
|
|
544
534
|
}
|
|
545
535
|
const contents = map({
|
|
546
536
|
$metadata: deserializeMetadata(output),
|
|
@@ -551,7 +541,7 @@ export const deserializeAws_restJson1CreateConnectorProfileCommand = async (outp
|
|
|
551
541
|
}
|
|
552
542
|
return contents;
|
|
553
543
|
};
|
|
554
|
-
const
|
|
544
|
+
const de_CreateConnectorProfileCommandError = async (output, context) => {
|
|
555
545
|
const parsedOutput = {
|
|
556
546
|
...output,
|
|
557
547
|
body: await parseErrorBody(output.body, context),
|
|
@@ -560,19 +550,19 @@ const deserializeAws_restJson1CreateConnectorProfileCommandError = async (output
|
|
|
560
550
|
switch (errorCode) {
|
|
561
551
|
case "ConflictException":
|
|
562
552
|
case "com.amazonaws.appflow#ConflictException":
|
|
563
|
-
throw await
|
|
553
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
564
554
|
case "ConnectorAuthenticationException":
|
|
565
555
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
566
|
-
throw await
|
|
556
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
567
557
|
case "InternalServerException":
|
|
568
558
|
case "com.amazonaws.appflow#InternalServerException":
|
|
569
|
-
throw await
|
|
559
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
570
560
|
case "ServiceQuotaExceededException":
|
|
571
561
|
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
572
|
-
throw await
|
|
562
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
573
563
|
case "ValidationException":
|
|
574
564
|
case "com.amazonaws.appflow#ValidationException":
|
|
575
|
-
throw await
|
|
565
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
576
566
|
default:
|
|
577
567
|
const parsedBody = parsedOutput.body;
|
|
578
568
|
throwDefaultError({
|
|
@@ -583,9 +573,9 @@ const deserializeAws_restJson1CreateConnectorProfileCommandError = async (output
|
|
|
583
573
|
});
|
|
584
574
|
}
|
|
585
575
|
};
|
|
586
|
-
export const
|
|
576
|
+
export const de_CreateFlowCommand = async (output, context) => {
|
|
587
577
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
588
|
-
return
|
|
578
|
+
return de_CreateFlowCommandError(output, context);
|
|
589
579
|
}
|
|
590
580
|
const contents = map({
|
|
591
581
|
$metadata: deserializeMetadata(output),
|
|
@@ -599,7 +589,7 @@ export const deserializeAws_restJson1CreateFlowCommand = async (output, context)
|
|
|
599
589
|
}
|
|
600
590
|
return contents;
|
|
601
591
|
};
|
|
602
|
-
const
|
|
592
|
+
const de_CreateFlowCommandError = async (output, context) => {
|
|
603
593
|
const parsedOutput = {
|
|
604
594
|
...output,
|
|
605
595
|
body: await parseErrorBody(output.body, context),
|
|
@@ -608,25 +598,25 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
|
|
|
608
598
|
switch (errorCode) {
|
|
609
599
|
case "ConflictException":
|
|
610
600
|
case "com.amazonaws.appflow#ConflictException":
|
|
611
|
-
throw await
|
|
601
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
612
602
|
case "ConnectorAuthenticationException":
|
|
613
603
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
614
|
-
throw await
|
|
604
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
615
605
|
case "ConnectorServerException":
|
|
616
606
|
case "com.amazonaws.appflow#ConnectorServerException":
|
|
617
|
-
throw await
|
|
607
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
618
608
|
case "InternalServerException":
|
|
619
609
|
case "com.amazonaws.appflow#InternalServerException":
|
|
620
|
-
throw await
|
|
610
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
621
611
|
case "ResourceNotFoundException":
|
|
622
612
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
623
|
-
throw await
|
|
613
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
624
614
|
case "ServiceQuotaExceededException":
|
|
625
615
|
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
626
|
-
throw await
|
|
616
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
627
617
|
case "ValidationException":
|
|
628
618
|
case "com.amazonaws.appflow#ValidationException":
|
|
629
|
-
throw await
|
|
619
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
630
620
|
default:
|
|
631
621
|
const parsedBody = parsedOutput.body;
|
|
632
622
|
throwDefaultError({
|
|
@@ -637,9 +627,9 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
|
|
|
637
627
|
});
|
|
638
628
|
}
|
|
639
629
|
};
|
|
640
|
-
export const
|
|
630
|
+
export const de_DeleteConnectorProfileCommand = async (output, context) => {
|
|
641
631
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
642
|
-
return
|
|
632
|
+
return de_DeleteConnectorProfileCommandError(output, context);
|
|
643
633
|
}
|
|
644
634
|
const contents = map({
|
|
645
635
|
$metadata: deserializeMetadata(output),
|
|
@@ -647,7 +637,7 @@ export const deserializeAws_restJson1DeleteConnectorProfileCommand = async (outp
|
|
|
647
637
|
await collectBody(output.body, context);
|
|
648
638
|
return contents;
|
|
649
639
|
};
|
|
650
|
-
const
|
|
640
|
+
const de_DeleteConnectorProfileCommandError = async (output, context) => {
|
|
651
641
|
const parsedOutput = {
|
|
652
642
|
...output,
|
|
653
643
|
body: await parseErrorBody(output.body, context),
|
|
@@ -656,13 +646,13 @@ const deserializeAws_restJson1DeleteConnectorProfileCommandError = async (output
|
|
|
656
646
|
switch (errorCode) {
|
|
657
647
|
case "ConflictException":
|
|
658
648
|
case "com.amazonaws.appflow#ConflictException":
|
|
659
|
-
throw await
|
|
649
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
660
650
|
case "InternalServerException":
|
|
661
651
|
case "com.amazonaws.appflow#InternalServerException":
|
|
662
|
-
throw await
|
|
652
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
663
653
|
case "ResourceNotFoundException":
|
|
664
654
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
665
|
-
throw await
|
|
655
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
666
656
|
default:
|
|
667
657
|
const parsedBody = parsedOutput.body;
|
|
668
658
|
throwDefaultError({
|
|
@@ -673,9 +663,9 @@ const deserializeAws_restJson1DeleteConnectorProfileCommandError = async (output
|
|
|
673
663
|
});
|
|
674
664
|
}
|
|
675
665
|
};
|
|
676
|
-
export const
|
|
666
|
+
export const de_DeleteFlowCommand = async (output, context) => {
|
|
677
667
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
678
|
-
return
|
|
668
|
+
return de_DeleteFlowCommandError(output, context);
|
|
679
669
|
}
|
|
680
670
|
const contents = map({
|
|
681
671
|
$metadata: deserializeMetadata(output),
|
|
@@ -683,7 +673,7 @@ export const deserializeAws_restJson1DeleteFlowCommand = async (output, context)
|
|
|
683
673
|
await collectBody(output.body, context);
|
|
684
674
|
return contents;
|
|
685
675
|
};
|
|
686
|
-
const
|
|
676
|
+
const de_DeleteFlowCommandError = async (output, context) => {
|
|
687
677
|
const parsedOutput = {
|
|
688
678
|
...output,
|
|
689
679
|
body: await parseErrorBody(output.body, context),
|
|
@@ -692,13 +682,13 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
|
|
|
692
682
|
switch (errorCode) {
|
|
693
683
|
case "ConflictException":
|
|
694
684
|
case "com.amazonaws.appflow#ConflictException":
|
|
695
|
-
throw await
|
|
685
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
696
686
|
case "InternalServerException":
|
|
697
687
|
case "com.amazonaws.appflow#InternalServerException":
|
|
698
|
-
throw await
|
|
688
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
699
689
|
case "ResourceNotFoundException":
|
|
700
690
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
701
|
-
throw await
|
|
691
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
702
692
|
default:
|
|
703
693
|
const parsedBody = parsedOutput.body;
|
|
704
694
|
throwDefaultError({
|
|
@@ -709,20 +699,20 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
|
|
|
709
699
|
});
|
|
710
700
|
}
|
|
711
701
|
};
|
|
712
|
-
export const
|
|
702
|
+
export const de_DescribeConnectorCommand = async (output, context) => {
|
|
713
703
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
714
|
-
return
|
|
704
|
+
return de_DescribeConnectorCommandError(output, context);
|
|
715
705
|
}
|
|
716
706
|
const contents = map({
|
|
717
707
|
$metadata: deserializeMetadata(output),
|
|
718
708
|
});
|
|
719
709
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
720
710
|
if (data.connectorConfiguration != null) {
|
|
721
|
-
contents.connectorConfiguration =
|
|
711
|
+
contents.connectorConfiguration = de_ConnectorConfiguration(data.connectorConfiguration, context);
|
|
722
712
|
}
|
|
723
713
|
return contents;
|
|
724
714
|
};
|
|
725
|
-
const
|
|
715
|
+
const de_DescribeConnectorCommandError = async (output, context) => {
|
|
726
716
|
const parsedOutput = {
|
|
727
717
|
...output,
|
|
728
718
|
body: await parseErrorBody(output.body, context),
|
|
@@ -731,13 +721,13 @@ const deserializeAws_restJson1DescribeConnectorCommandError = async (output, con
|
|
|
731
721
|
switch (errorCode) {
|
|
732
722
|
case "InternalServerException":
|
|
733
723
|
case "com.amazonaws.appflow#InternalServerException":
|
|
734
|
-
throw await
|
|
724
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
735
725
|
case "ResourceNotFoundException":
|
|
736
726
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
737
|
-
throw await
|
|
727
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
738
728
|
case "ValidationException":
|
|
739
729
|
case "com.amazonaws.appflow#ValidationException":
|
|
740
|
-
throw await
|
|
730
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
741
731
|
default:
|
|
742
732
|
const parsedBody = parsedOutput.body;
|
|
743
733
|
throwDefaultError({
|
|
@@ -748,20 +738,20 @@ const deserializeAws_restJson1DescribeConnectorCommandError = async (output, con
|
|
|
748
738
|
});
|
|
749
739
|
}
|
|
750
740
|
};
|
|
751
|
-
export const
|
|
741
|
+
export const de_DescribeConnectorEntityCommand = async (output, context) => {
|
|
752
742
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
753
|
-
return
|
|
743
|
+
return de_DescribeConnectorEntityCommandError(output, context);
|
|
754
744
|
}
|
|
755
745
|
const contents = map({
|
|
756
746
|
$metadata: deserializeMetadata(output),
|
|
757
747
|
});
|
|
758
748
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
759
749
|
if (data.connectorEntityFields != null) {
|
|
760
|
-
contents.connectorEntityFields =
|
|
750
|
+
contents.connectorEntityFields = de_ConnectorEntityFieldList(data.connectorEntityFields, context);
|
|
761
751
|
}
|
|
762
752
|
return contents;
|
|
763
753
|
};
|
|
764
|
-
const
|
|
754
|
+
const de_DescribeConnectorEntityCommandError = async (output, context) => {
|
|
765
755
|
const parsedOutput = {
|
|
766
756
|
...output,
|
|
767
757
|
body: await parseErrorBody(output.body, context),
|
|
@@ -770,19 +760,19 @@ const deserializeAws_restJson1DescribeConnectorEntityCommandError = async (outpu
|
|
|
770
760
|
switch (errorCode) {
|
|
771
761
|
case "ConnectorAuthenticationException":
|
|
772
762
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
773
|
-
throw await
|
|
763
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
774
764
|
case "ConnectorServerException":
|
|
775
765
|
case "com.amazonaws.appflow#ConnectorServerException":
|
|
776
|
-
throw await
|
|
766
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
777
767
|
case "InternalServerException":
|
|
778
768
|
case "com.amazonaws.appflow#InternalServerException":
|
|
779
|
-
throw await
|
|
769
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
780
770
|
case "ResourceNotFoundException":
|
|
781
771
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
782
|
-
throw await
|
|
772
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
783
773
|
case "ValidationException":
|
|
784
774
|
case "com.amazonaws.appflow#ValidationException":
|
|
785
|
-
throw await
|
|
775
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
786
776
|
default:
|
|
787
777
|
const parsedBody = parsedOutput.body;
|
|
788
778
|
throwDefaultError({
|
|
@@ -793,23 +783,23 @@ const deserializeAws_restJson1DescribeConnectorEntityCommandError = async (outpu
|
|
|
793
783
|
});
|
|
794
784
|
}
|
|
795
785
|
};
|
|
796
|
-
export const
|
|
786
|
+
export const de_DescribeConnectorProfilesCommand = async (output, context) => {
|
|
797
787
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
798
|
-
return
|
|
788
|
+
return de_DescribeConnectorProfilesCommandError(output, context);
|
|
799
789
|
}
|
|
800
790
|
const contents = map({
|
|
801
791
|
$metadata: deserializeMetadata(output),
|
|
802
792
|
});
|
|
803
793
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
804
794
|
if (data.connectorProfileDetails != null) {
|
|
805
|
-
contents.connectorProfileDetails =
|
|
795
|
+
contents.connectorProfileDetails = de_ConnectorProfileDetailList(data.connectorProfileDetails, context);
|
|
806
796
|
}
|
|
807
797
|
if (data.nextToken != null) {
|
|
808
798
|
contents.nextToken = __expectString(data.nextToken);
|
|
809
799
|
}
|
|
810
800
|
return contents;
|
|
811
801
|
};
|
|
812
|
-
const
|
|
802
|
+
const de_DescribeConnectorProfilesCommandError = async (output, context) => {
|
|
813
803
|
const parsedOutput = {
|
|
814
804
|
...output,
|
|
815
805
|
body: await parseErrorBody(output.body, context),
|
|
@@ -818,10 +808,10 @@ const deserializeAws_restJson1DescribeConnectorProfilesCommandError = async (out
|
|
|
818
808
|
switch (errorCode) {
|
|
819
809
|
case "InternalServerException":
|
|
820
810
|
case "com.amazonaws.appflow#InternalServerException":
|
|
821
|
-
throw await
|
|
811
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
822
812
|
case "ValidationException":
|
|
823
813
|
case "com.amazonaws.appflow#ValidationException":
|
|
824
|
-
throw await
|
|
814
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
825
815
|
default:
|
|
826
816
|
const parsedBody = parsedOutput.body;
|
|
827
817
|
throwDefaultError({
|
|
@@ -832,26 +822,26 @@ const deserializeAws_restJson1DescribeConnectorProfilesCommandError = async (out
|
|
|
832
822
|
});
|
|
833
823
|
}
|
|
834
824
|
};
|
|
835
|
-
export const
|
|
825
|
+
export const de_DescribeConnectorsCommand = async (output, context) => {
|
|
836
826
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
837
|
-
return
|
|
827
|
+
return de_DescribeConnectorsCommandError(output, context);
|
|
838
828
|
}
|
|
839
829
|
const contents = map({
|
|
840
830
|
$metadata: deserializeMetadata(output),
|
|
841
831
|
});
|
|
842
832
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
843
833
|
if (data.connectorConfigurations != null) {
|
|
844
|
-
contents.connectorConfigurations =
|
|
834
|
+
contents.connectorConfigurations = de_ConnectorConfigurationsMap(data.connectorConfigurations, context);
|
|
845
835
|
}
|
|
846
836
|
if (data.connectors != null) {
|
|
847
|
-
contents.connectors =
|
|
837
|
+
contents.connectors = de_ConnectorList(data.connectors, context);
|
|
848
838
|
}
|
|
849
839
|
if (data.nextToken != null) {
|
|
850
840
|
contents.nextToken = __expectString(data.nextToken);
|
|
851
841
|
}
|
|
852
842
|
return contents;
|
|
853
843
|
};
|
|
854
|
-
const
|
|
844
|
+
const de_DescribeConnectorsCommandError = async (output, context) => {
|
|
855
845
|
const parsedOutput = {
|
|
856
846
|
...output,
|
|
857
847
|
body: await parseErrorBody(output.body, context),
|
|
@@ -860,10 +850,10 @@ const deserializeAws_restJson1DescribeConnectorsCommandError = async (output, co
|
|
|
860
850
|
switch (errorCode) {
|
|
861
851
|
case "InternalServerException":
|
|
862
852
|
case "com.amazonaws.appflow#InternalServerException":
|
|
863
|
-
throw await
|
|
853
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
864
854
|
case "ValidationException":
|
|
865
855
|
case "com.amazonaws.appflow#ValidationException":
|
|
866
|
-
throw await
|
|
856
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
867
857
|
default:
|
|
868
858
|
const parsedBody = parsedOutput.body;
|
|
869
859
|
throwDefaultError({
|
|
@@ -874,9 +864,9 @@ const deserializeAws_restJson1DescribeConnectorsCommandError = async (output, co
|
|
|
874
864
|
});
|
|
875
865
|
}
|
|
876
866
|
};
|
|
877
|
-
export const
|
|
867
|
+
export const de_DescribeFlowCommand = async (output, context) => {
|
|
878
868
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
879
|
-
return
|
|
869
|
+
return de_DescribeFlowCommandError(output, context);
|
|
880
870
|
}
|
|
881
871
|
const contents = map({
|
|
882
872
|
$metadata: deserializeMetadata(output),
|
|
@@ -892,7 +882,7 @@ export const deserializeAws_restJson1DescribeFlowCommand = async (output, contex
|
|
|
892
882
|
contents.description = __expectString(data.description);
|
|
893
883
|
}
|
|
894
884
|
if (data.destinationFlowConfigList != null) {
|
|
895
|
-
contents.destinationFlowConfigList =
|
|
885
|
+
contents.destinationFlowConfigList = de_DestinationFlowConfigList(data.destinationFlowConfigList, context);
|
|
896
886
|
}
|
|
897
887
|
if (data.flowArn != null) {
|
|
898
888
|
contents.flowArn = __expectString(data.flowArn);
|
|
@@ -910,10 +900,10 @@ export const deserializeAws_restJson1DescribeFlowCommand = async (output, contex
|
|
|
910
900
|
contents.kmsArn = __expectString(data.kmsArn);
|
|
911
901
|
}
|
|
912
902
|
if (data.lastRunExecutionDetails != null) {
|
|
913
|
-
contents.lastRunExecutionDetails =
|
|
903
|
+
contents.lastRunExecutionDetails = de_ExecutionDetails(data.lastRunExecutionDetails, context);
|
|
914
904
|
}
|
|
915
905
|
if (data.lastRunMetadataCatalogDetails != null) {
|
|
916
|
-
contents.lastRunMetadataCatalogDetails =
|
|
906
|
+
contents.lastRunMetadataCatalogDetails = de_MetadataCatalogDetails(data.lastRunMetadataCatalogDetails, context);
|
|
917
907
|
}
|
|
918
908
|
if (data.lastUpdatedAt != null) {
|
|
919
909
|
contents.lastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedAt)));
|
|
@@ -922,26 +912,26 @@ export const deserializeAws_restJson1DescribeFlowCommand = async (output, contex
|
|
|
922
912
|
contents.lastUpdatedBy = __expectString(data.lastUpdatedBy);
|
|
923
913
|
}
|
|
924
914
|
if (data.metadataCatalogConfig != null) {
|
|
925
|
-
contents.metadataCatalogConfig =
|
|
915
|
+
contents.metadataCatalogConfig = de_MetadataCatalogConfig(data.metadataCatalogConfig, context);
|
|
926
916
|
}
|
|
927
917
|
if (data.schemaVersion != null) {
|
|
928
918
|
contents.schemaVersion = __expectLong(data.schemaVersion);
|
|
929
919
|
}
|
|
930
920
|
if (data.sourceFlowConfig != null) {
|
|
931
|
-
contents.sourceFlowConfig =
|
|
921
|
+
contents.sourceFlowConfig = de_SourceFlowConfig(data.sourceFlowConfig, context);
|
|
932
922
|
}
|
|
933
923
|
if (data.tags != null) {
|
|
934
|
-
contents.tags =
|
|
924
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
935
925
|
}
|
|
936
926
|
if (data.tasks != null) {
|
|
937
|
-
contents.tasks =
|
|
927
|
+
contents.tasks = de_Tasks(data.tasks, context);
|
|
938
928
|
}
|
|
939
929
|
if (data.triggerConfig != null) {
|
|
940
|
-
contents.triggerConfig =
|
|
930
|
+
contents.triggerConfig = de_TriggerConfig(data.triggerConfig, context);
|
|
941
931
|
}
|
|
942
932
|
return contents;
|
|
943
933
|
};
|
|
944
|
-
const
|
|
934
|
+
const de_DescribeFlowCommandError = async (output, context) => {
|
|
945
935
|
const parsedOutput = {
|
|
946
936
|
...output,
|
|
947
937
|
body: await parseErrorBody(output.body, context),
|
|
@@ -950,10 +940,10 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
|
|
|
950
940
|
switch (errorCode) {
|
|
951
941
|
case "InternalServerException":
|
|
952
942
|
case "com.amazonaws.appflow#InternalServerException":
|
|
953
|
-
throw await
|
|
943
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
954
944
|
case "ResourceNotFoundException":
|
|
955
945
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
956
|
-
throw await
|
|
946
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
957
947
|
default:
|
|
958
948
|
const parsedBody = parsedOutput.body;
|
|
959
949
|
throwDefaultError({
|
|
@@ -964,23 +954,23 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
|
|
|
964
954
|
});
|
|
965
955
|
}
|
|
966
956
|
};
|
|
967
|
-
export const
|
|
957
|
+
export const de_DescribeFlowExecutionRecordsCommand = async (output, context) => {
|
|
968
958
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
-
return
|
|
959
|
+
return de_DescribeFlowExecutionRecordsCommandError(output, context);
|
|
970
960
|
}
|
|
971
961
|
const contents = map({
|
|
972
962
|
$metadata: deserializeMetadata(output),
|
|
973
963
|
});
|
|
974
964
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
975
965
|
if (data.flowExecutions != null) {
|
|
976
|
-
contents.flowExecutions =
|
|
966
|
+
contents.flowExecutions = de_FlowExecutionList(data.flowExecutions, context);
|
|
977
967
|
}
|
|
978
968
|
if (data.nextToken != null) {
|
|
979
969
|
contents.nextToken = __expectString(data.nextToken);
|
|
980
970
|
}
|
|
981
971
|
return contents;
|
|
982
972
|
};
|
|
983
|
-
const
|
|
973
|
+
const de_DescribeFlowExecutionRecordsCommandError = async (output, context) => {
|
|
984
974
|
const parsedOutput = {
|
|
985
975
|
...output,
|
|
986
976
|
body: await parseErrorBody(output.body, context),
|
|
@@ -989,13 +979,13 @@ const deserializeAws_restJson1DescribeFlowExecutionRecordsCommandError = async (
|
|
|
989
979
|
switch (errorCode) {
|
|
990
980
|
case "InternalServerException":
|
|
991
981
|
case "com.amazonaws.appflow#InternalServerException":
|
|
992
|
-
throw await
|
|
982
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
993
983
|
case "ResourceNotFoundException":
|
|
994
984
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
995
|
-
throw await
|
|
985
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
996
986
|
case "ValidationException":
|
|
997
987
|
case "com.amazonaws.appflow#ValidationException":
|
|
998
|
-
throw await
|
|
988
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
999
989
|
default:
|
|
1000
990
|
const parsedBody = parsedOutput.body;
|
|
1001
991
|
throwDefaultError({
|
|
@@ -1006,23 +996,23 @@ const deserializeAws_restJson1DescribeFlowExecutionRecordsCommandError = async (
|
|
|
1006
996
|
});
|
|
1007
997
|
}
|
|
1008
998
|
};
|
|
1009
|
-
export const
|
|
999
|
+
export const de_ListConnectorEntitiesCommand = async (output, context) => {
|
|
1010
1000
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return
|
|
1001
|
+
return de_ListConnectorEntitiesCommandError(output, context);
|
|
1012
1002
|
}
|
|
1013
1003
|
const contents = map({
|
|
1014
1004
|
$metadata: deserializeMetadata(output),
|
|
1015
1005
|
});
|
|
1016
1006
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1017
1007
|
if (data.connectorEntityMap != null) {
|
|
1018
|
-
contents.connectorEntityMap =
|
|
1008
|
+
contents.connectorEntityMap = de_ConnectorEntityMap(data.connectorEntityMap, context);
|
|
1019
1009
|
}
|
|
1020
1010
|
if (data.nextToken != null) {
|
|
1021
1011
|
contents.nextToken = __expectString(data.nextToken);
|
|
1022
1012
|
}
|
|
1023
1013
|
return contents;
|
|
1024
1014
|
};
|
|
1025
|
-
const
|
|
1015
|
+
const de_ListConnectorEntitiesCommandError = async (output, context) => {
|
|
1026
1016
|
const parsedOutput = {
|
|
1027
1017
|
...output,
|
|
1028
1018
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1031,19 +1021,19 @@ const deserializeAws_restJson1ListConnectorEntitiesCommandError = async (output,
|
|
|
1031
1021
|
switch (errorCode) {
|
|
1032
1022
|
case "ConnectorAuthenticationException":
|
|
1033
1023
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1034
|
-
throw await
|
|
1024
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1035
1025
|
case "ConnectorServerException":
|
|
1036
1026
|
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1037
|
-
throw await
|
|
1027
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1038
1028
|
case "InternalServerException":
|
|
1039
1029
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1040
|
-
throw await
|
|
1030
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1041
1031
|
case "ResourceNotFoundException":
|
|
1042
1032
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1043
|
-
throw await
|
|
1033
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1044
1034
|
case "ValidationException":
|
|
1045
1035
|
case "com.amazonaws.appflow#ValidationException":
|
|
1046
|
-
throw await
|
|
1036
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1047
1037
|
default:
|
|
1048
1038
|
const parsedBody = parsedOutput.body;
|
|
1049
1039
|
throwDefaultError({
|
|
@@ -1054,23 +1044,23 @@ const deserializeAws_restJson1ListConnectorEntitiesCommandError = async (output,
|
|
|
1054
1044
|
});
|
|
1055
1045
|
}
|
|
1056
1046
|
};
|
|
1057
|
-
export const
|
|
1047
|
+
export const de_ListConnectorsCommand = async (output, context) => {
|
|
1058
1048
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1059
|
-
return
|
|
1049
|
+
return de_ListConnectorsCommandError(output, context);
|
|
1060
1050
|
}
|
|
1061
1051
|
const contents = map({
|
|
1062
1052
|
$metadata: deserializeMetadata(output),
|
|
1063
1053
|
});
|
|
1064
1054
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1065
1055
|
if (data.connectors != null) {
|
|
1066
|
-
contents.connectors =
|
|
1056
|
+
contents.connectors = de_ConnectorList(data.connectors, context);
|
|
1067
1057
|
}
|
|
1068
1058
|
if (data.nextToken != null) {
|
|
1069
1059
|
contents.nextToken = __expectString(data.nextToken);
|
|
1070
1060
|
}
|
|
1071
1061
|
return contents;
|
|
1072
1062
|
};
|
|
1073
|
-
const
|
|
1063
|
+
const de_ListConnectorsCommandError = async (output, context) => {
|
|
1074
1064
|
const parsedOutput = {
|
|
1075
1065
|
...output,
|
|
1076
1066
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1079,10 +1069,10 @@ const deserializeAws_restJson1ListConnectorsCommandError = async (output, contex
|
|
|
1079
1069
|
switch (errorCode) {
|
|
1080
1070
|
case "InternalServerException":
|
|
1081
1071
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1082
|
-
throw await
|
|
1072
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1083
1073
|
case "ValidationException":
|
|
1084
1074
|
case "com.amazonaws.appflow#ValidationException":
|
|
1085
|
-
throw await
|
|
1075
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1086
1076
|
default:
|
|
1087
1077
|
const parsedBody = parsedOutput.body;
|
|
1088
1078
|
throwDefaultError({
|
|
@@ -1093,23 +1083,23 @@ const deserializeAws_restJson1ListConnectorsCommandError = async (output, contex
|
|
|
1093
1083
|
});
|
|
1094
1084
|
}
|
|
1095
1085
|
};
|
|
1096
|
-
export const
|
|
1086
|
+
export const de_ListFlowsCommand = async (output, context) => {
|
|
1097
1087
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1098
|
-
return
|
|
1088
|
+
return de_ListFlowsCommandError(output, context);
|
|
1099
1089
|
}
|
|
1100
1090
|
const contents = map({
|
|
1101
1091
|
$metadata: deserializeMetadata(output),
|
|
1102
1092
|
});
|
|
1103
1093
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1104
1094
|
if (data.flows != null) {
|
|
1105
|
-
contents.flows =
|
|
1095
|
+
contents.flows = de_FlowList(data.flows, context);
|
|
1106
1096
|
}
|
|
1107
1097
|
if (data.nextToken != null) {
|
|
1108
1098
|
contents.nextToken = __expectString(data.nextToken);
|
|
1109
1099
|
}
|
|
1110
1100
|
return contents;
|
|
1111
1101
|
};
|
|
1112
|
-
const
|
|
1102
|
+
const de_ListFlowsCommandError = async (output, context) => {
|
|
1113
1103
|
const parsedOutput = {
|
|
1114
1104
|
...output,
|
|
1115
1105
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1118,10 +1108,10 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
|
|
|
1118
1108
|
switch (errorCode) {
|
|
1119
1109
|
case "InternalServerException":
|
|
1120
1110
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1121
|
-
throw await
|
|
1111
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1122
1112
|
case "ValidationException":
|
|
1123
1113
|
case "com.amazonaws.appflow#ValidationException":
|
|
1124
|
-
throw await
|
|
1114
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1125
1115
|
default:
|
|
1126
1116
|
const parsedBody = parsedOutput.body;
|
|
1127
1117
|
throwDefaultError({
|
|
@@ -1132,20 +1122,20 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
|
|
|
1132
1122
|
});
|
|
1133
1123
|
}
|
|
1134
1124
|
};
|
|
1135
|
-
export const
|
|
1125
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1136
1126
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1137
|
-
return
|
|
1127
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1138
1128
|
}
|
|
1139
1129
|
const contents = map({
|
|
1140
1130
|
$metadata: deserializeMetadata(output),
|
|
1141
1131
|
});
|
|
1142
1132
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1143
1133
|
if (data.tags != null) {
|
|
1144
|
-
contents.tags =
|
|
1134
|
+
contents.tags = de_TagMap(data.tags, context);
|
|
1145
1135
|
}
|
|
1146
1136
|
return contents;
|
|
1147
1137
|
};
|
|
1148
|
-
const
|
|
1138
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1149
1139
|
const parsedOutput = {
|
|
1150
1140
|
...output,
|
|
1151
1141
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,13 +1144,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1154
1144
|
switch (errorCode) {
|
|
1155
1145
|
case "InternalServerException":
|
|
1156
1146
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1157
|
-
throw await
|
|
1147
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1158
1148
|
case "ResourceNotFoundException":
|
|
1159
1149
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1160
|
-
throw await
|
|
1150
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1161
1151
|
case "ValidationException":
|
|
1162
1152
|
case "com.amazonaws.appflow#ValidationException":
|
|
1163
|
-
throw await
|
|
1153
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1164
1154
|
default:
|
|
1165
1155
|
const parsedBody = parsedOutput.body;
|
|
1166
1156
|
throwDefaultError({
|
|
@@ -1171,9 +1161,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1171
1161
|
});
|
|
1172
1162
|
}
|
|
1173
1163
|
};
|
|
1174
|
-
export const
|
|
1164
|
+
export const de_RegisterConnectorCommand = async (output, context) => {
|
|
1175
1165
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1176
|
-
return
|
|
1166
|
+
return de_RegisterConnectorCommandError(output, context);
|
|
1177
1167
|
}
|
|
1178
1168
|
const contents = map({
|
|
1179
1169
|
$metadata: deserializeMetadata(output),
|
|
@@ -1184,7 +1174,7 @@ export const deserializeAws_restJson1RegisterConnectorCommand = async (output, c
|
|
|
1184
1174
|
}
|
|
1185
1175
|
return contents;
|
|
1186
1176
|
};
|
|
1187
|
-
const
|
|
1177
|
+
const de_RegisterConnectorCommandError = async (output, context) => {
|
|
1188
1178
|
const parsedOutput = {
|
|
1189
1179
|
...output,
|
|
1190
1180
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1193,31 +1183,31 @@ const deserializeAws_restJson1RegisterConnectorCommandError = async (output, con
|
|
|
1193
1183
|
switch (errorCode) {
|
|
1194
1184
|
case "AccessDeniedException":
|
|
1195
1185
|
case "com.amazonaws.appflow#AccessDeniedException":
|
|
1196
|
-
throw await
|
|
1186
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1197
1187
|
case "ConflictException":
|
|
1198
1188
|
case "com.amazonaws.appflow#ConflictException":
|
|
1199
|
-
throw await
|
|
1189
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1200
1190
|
case "ConnectorAuthenticationException":
|
|
1201
1191
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1202
|
-
throw await
|
|
1192
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1203
1193
|
case "ConnectorServerException":
|
|
1204
1194
|
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1205
|
-
throw await
|
|
1195
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1206
1196
|
case "InternalServerException":
|
|
1207
1197
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1208
|
-
throw await
|
|
1198
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1209
1199
|
case "ResourceNotFoundException":
|
|
1210
1200
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1211
|
-
throw await
|
|
1201
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1212
1202
|
case "ServiceQuotaExceededException":
|
|
1213
1203
|
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1214
|
-
throw await
|
|
1204
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1215
1205
|
case "ThrottlingException":
|
|
1216
1206
|
case "com.amazonaws.appflow#ThrottlingException":
|
|
1217
|
-
throw await
|
|
1207
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1218
1208
|
case "ValidationException":
|
|
1219
1209
|
case "com.amazonaws.appflow#ValidationException":
|
|
1220
|
-
throw await
|
|
1210
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1221
1211
|
default:
|
|
1222
1212
|
const parsedBody = parsedOutput.body;
|
|
1223
1213
|
throwDefaultError({
|
|
@@ -1228,9 +1218,9 @@ const deserializeAws_restJson1RegisterConnectorCommandError = async (output, con
|
|
|
1228
1218
|
});
|
|
1229
1219
|
}
|
|
1230
1220
|
};
|
|
1231
|
-
export const
|
|
1221
|
+
export const de_StartFlowCommand = async (output, context) => {
|
|
1232
1222
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1233
|
-
return
|
|
1223
|
+
return de_StartFlowCommandError(output, context);
|
|
1234
1224
|
}
|
|
1235
1225
|
const contents = map({
|
|
1236
1226
|
$metadata: deserializeMetadata(output),
|
|
@@ -1247,7 +1237,7 @@ export const deserializeAws_restJson1StartFlowCommand = async (output, context)
|
|
|
1247
1237
|
}
|
|
1248
1238
|
return contents;
|
|
1249
1239
|
};
|
|
1250
|
-
const
|
|
1240
|
+
const de_StartFlowCommandError = async (output, context) => {
|
|
1251
1241
|
const parsedOutput = {
|
|
1252
1242
|
...output,
|
|
1253
1243
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1256,16 +1246,16 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
|
|
|
1256
1246
|
switch (errorCode) {
|
|
1257
1247
|
case "ConflictException":
|
|
1258
1248
|
case "com.amazonaws.appflow#ConflictException":
|
|
1259
|
-
throw await
|
|
1249
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1260
1250
|
case "InternalServerException":
|
|
1261
1251
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1262
|
-
throw await
|
|
1252
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1263
1253
|
case "ResourceNotFoundException":
|
|
1264
1254
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1265
|
-
throw await
|
|
1255
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1266
1256
|
case "ServiceQuotaExceededException":
|
|
1267
1257
|
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1268
|
-
throw await
|
|
1258
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1269
1259
|
default:
|
|
1270
1260
|
const parsedBody = parsedOutput.body;
|
|
1271
1261
|
throwDefaultError({
|
|
@@ -1276,9 +1266,9 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
|
|
|
1276
1266
|
});
|
|
1277
1267
|
}
|
|
1278
1268
|
};
|
|
1279
|
-
export const
|
|
1269
|
+
export const de_StopFlowCommand = async (output, context) => {
|
|
1280
1270
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1281
|
-
return
|
|
1271
|
+
return de_StopFlowCommandError(output, context);
|
|
1282
1272
|
}
|
|
1283
1273
|
const contents = map({
|
|
1284
1274
|
$metadata: deserializeMetadata(output),
|
|
@@ -1292,7 +1282,7 @@ export const deserializeAws_restJson1StopFlowCommand = async (output, context) =
|
|
|
1292
1282
|
}
|
|
1293
1283
|
return contents;
|
|
1294
1284
|
};
|
|
1295
|
-
const
|
|
1285
|
+
const de_StopFlowCommandError = async (output, context) => {
|
|
1296
1286
|
const parsedOutput = {
|
|
1297
1287
|
...output,
|
|
1298
1288
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1301,16 +1291,16 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
|
|
|
1301
1291
|
switch (errorCode) {
|
|
1302
1292
|
case "ConflictException":
|
|
1303
1293
|
case "com.amazonaws.appflow#ConflictException":
|
|
1304
|
-
throw await
|
|
1294
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1305
1295
|
case "InternalServerException":
|
|
1306
1296
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1307
|
-
throw await
|
|
1297
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1308
1298
|
case "ResourceNotFoundException":
|
|
1309
1299
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1310
|
-
throw await
|
|
1300
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1311
1301
|
case "UnsupportedOperationException":
|
|
1312
1302
|
case "com.amazonaws.appflow#UnsupportedOperationException":
|
|
1313
|
-
throw await
|
|
1303
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1314
1304
|
default:
|
|
1315
1305
|
const parsedBody = parsedOutput.body;
|
|
1316
1306
|
throwDefaultError({
|
|
@@ -1321,9 +1311,9 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
|
|
|
1321
1311
|
});
|
|
1322
1312
|
}
|
|
1323
1313
|
};
|
|
1324
|
-
export const
|
|
1314
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1325
1315
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1326
|
-
return
|
|
1316
|
+
return de_TagResourceCommandError(output, context);
|
|
1327
1317
|
}
|
|
1328
1318
|
const contents = map({
|
|
1329
1319
|
$metadata: deserializeMetadata(output),
|
|
@@ -1331,7 +1321,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
|
|
|
1331
1321
|
await collectBody(output.body, context);
|
|
1332
1322
|
return contents;
|
|
1333
1323
|
};
|
|
1334
|
-
const
|
|
1324
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1335
1325
|
const parsedOutput = {
|
|
1336
1326
|
...output,
|
|
1337
1327
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1340,13 +1330,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1340
1330
|
switch (errorCode) {
|
|
1341
1331
|
case "InternalServerException":
|
|
1342
1332
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1343
|
-
throw await
|
|
1333
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1344
1334
|
case "ResourceNotFoundException":
|
|
1345
1335
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1346
|
-
throw await
|
|
1336
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1347
1337
|
case "ValidationException":
|
|
1348
1338
|
case "com.amazonaws.appflow#ValidationException":
|
|
1349
|
-
throw await
|
|
1339
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1350
1340
|
default:
|
|
1351
1341
|
const parsedBody = parsedOutput.body;
|
|
1352
1342
|
throwDefaultError({
|
|
@@ -1357,9 +1347,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1357
1347
|
});
|
|
1358
1348
|
}
|
|
1359
1349
|
};
|
|
1360
|
-
export const
|
|
1350
|
+
export const de_UnregisterConnectorCommand = async (output, context) => {
|
|
1361
1351
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1362
|
-
return
|
|
1352
|
+
return de_UnregisterConnectorCommandError(output, context);
|
|
1363
1353
|
}
|
|
1364
1354
|
const contents = map({
|
|
1365
1355
|
$metadata: deserializeMetadata(output),
|
|
@@ -1367,7 +1357,7 @@ export const deserializeAws_restJson1UnregisterConnectorCommand = async (output,
|
|
|
1367
1357
|
await collectBody(output.body, context);
|
|
1368
1358
|
return contents;
|
|
1369
1359
|
};
|
|
1370
|
-
const
|
|
1360
|
+
const de_UnregisterConnectorCommandError = async (output, context) => {
|
|
1371
1361
|
const parsedOutput = {
|
|
1372
1362
|
...output,
|
|
1373
1363
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1376,13 +1366,13 @@ const deserializeAws_restJson1UnregisterConnectorCommandError = async (output, c
|
|
|
1376
1366
|
switch (errorCode) {
|
|
1377
1367
|
case "ConflictException":
|
|
1378
1368
|
case "com.amazonaws.appflow#ConflictException":
|
|
1379
|
-
throw await
|
|
1369
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1380
1370
|
case "InternalServerException":
|
|
1381
1371
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1382
|
-
throw await
|
|
1372
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1383
1373
|
case "ResourceNotFoundException":
|
|
1384
1374
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1385
|
-
throw await
|
|
1375
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1386
1376
|
default:
|
|
1387
1377
|
const parsedBody = parsedOutput.body;
|
|
1388
1378
|
throwDefaultError({
|
|
@@ -1393,9 +1383,9 @@ const deserializeAws_restJson1UnregisterConnectorCommandError = async (output, c
|
|
|
1393
1383
|
});
|
|
1394
1384
|
}
|
|
1395
1385
|
};
|
|
1396
|
-
export const
|
|
1386
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1397
1387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1398
|
-
return
|
|
1388
|
+
return de_UntagResourceCommandError(output, context);
|
|
1399
1389
|
}
|
|
1400
1390
|
const contents = map({
|
|
1401
1391
|
$metadata: deserializeMetadata(output),
|
|
@@ -1403,7 +1393,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
|
|
|
1403
1393
|
await collectBody(output.body, context);
|
|
1404
1394
|
return contents;
|
|
1405
1395
|
};
|
|
1406
|
-
const
|
|
1396
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1407
1397
|
const parsedOutput = {
|
|
1408
1398
|
...output,
|
|
1409
1399
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1412,13 +1402,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1412
1402
|
switch (errorCode) {
|
|
1413
1403
|
case "InternalServerException":
|
|
1414
1404
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1415
|
-
throw await
|
|
1405
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1416
1406
|
case "ResourceNotFoundException":
|
|
1417
1407
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1418
|
-
throw await
|
|
1408
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1419
1409
|
case "ValidationException":
|
|
1420
1410
|
case "com.amazonaws.appflow#ValidationException":
|
|
1421
|
-
throw await
|
|
1411
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1422
1412
|
default:
|
|
1423
1413
|
const parsedBody = parsedOutput.body;
|
|
1424
1414
|
throwDefaultError({
|
|
@@ -1429,9 +1419,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1429
1419
|
});
|
|
1430
1420
|
}
|
|
1431
1421
|
};
|
|
1432
|
-
export const
|
|
1422
|
+
export const de_UpdateConnectorProfileCommand = async (output, context) => {
|
|
1433
1423
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1434
|
-
return
|
|
1424
|
+
return de_UpdateConnectorProfileCommandError(output, context);
|
|
1435
1425
|
}
|
|
1436
1426
|
const contents = map({
|
|
1437
1427
|
$metadata: deserializeMetadata(output),
|
|
@@ -1442,7 +1432,7 @@ export const deserializeAws_restJson1UpdateConnectorProfileCommand = async (outp
|
|
|
1442
1432
|
}
|
|
1443
1433
|
return contents;
|
|
1444
1434
|
};
|
|
1445
|
-
const
|
|
1435
|
+
const de_UpdateConnectorProfileCommandError = async (output, context) => {
|
|
1446
1436
|
const parsedOutput = {
|
|
1447
1437
|
...output,
|
|
1448
1438
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1451,19 +1441,19 @@ const deserializeAws_restJson1UpdateConnectorProfileCommandError = async (output
|
|
|
1451
1441
|
switch (errorCode) {
|
|
1452
1442
|
case "ConflictException":
|
|
1453
1443
|
case "com.amazonaws.appflow#ConflictException":
|
|
1454
|
-
throw await
|
|
1444
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1455
1445
|
case "ConnectorAuthenticationException":
|
|
1456
1446
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1457
|
-
throw await
|
|
1447
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1458
1448
|
case "InternalServerException":
|
|
1459
1449
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1460
|
-
throw await
|
|
1450
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1461
1451
|
case "ResourceNotFoundException":
|
|
1462
1452
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1463
|
-
throw await
|
|
1453
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1464
1454
|
case "ValidationException":
|
|
1465
1455
|
case "com.amazonaws.appflow#ValidationException":
|
|
1466
|
-
throw await
|
|
1456
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1467
1457
|
default:
|
|
1468
1458
|
const parsedBody = parsedOutput.body;
|
|
1469
1459
|
throwDefaultError({
|
|
@@ -1474,9 +1464,9 @@ const deserializeAws_restJson1UpdateConnectorProfileCommandError = async (output
|
|
|
1474
1464
|
});
|
|
1475
1465
|
}
|
|
1476
1466
|
};
|
|
1477
|
-
export const
|
|
1467
|
+
export const de_UpdateConnectorRegistrationCommand = async (output, context) => {
|
|
1478
1468
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1479
|
-
return
|
|
1469
|
+
return de_UpdateConnectorRegistrationCommandError(output, context);
|
|
1480
1470
|
}
|
|
1481
1471
|
const contents = map({
|
|
1482
1472
|
$metadata: deserializeMetadata(output),
|
|
@@ -1487,7 +1477,7 @@ export const deserializeAws_restJson1UpdateConnectorRegistrationCommand = async
|
|
|
1487
1477
|
}
|
|
1488
1478
|
return contents;
|
|
1489
1479
|
};
|
|
1490
|
-
const
|
|
1480
|
+
const de_UpdateConnectorRegistrationCommandError = async (output, context) => {
|
|
1491
1481
|
const parsedOutput = {
|
|
1492
1482
|
...output,
|
|
1493
1483
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1496,31 +1486,31 @@ const deserializeAws_restJson1UpdateConnectorRegistrationCommandError = async (o
|
|
|
1496
1486
|
switch (errorCode) {
|
|
1497
1487
|
case "AccessDeniedException":
|
|
1498
1488
|
case "com.amazonaws.appflow#AccessDeniedException":
|
|
1499
|
-
throw await
|
|
1489
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1500
1490
|
case "ConflictException":
|
|
1501
1491
|
case "com.amazonaws.appflow#ConflictException":
|
|
1502
|
-
throw await
|
|
1492
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1503
1493
|
case "ConnectorAuthenticationException":
|
|
1504
1494
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1505
|
-
throw await
|
|
1495
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1506
1496
|
case "ConnectorServerException":
|
|
1507
1497
|
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1508
|
-
throw await
|
|
1498
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1509
1499
|
case "InternalServerException":
|
|
1510
1500
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1511
|
-
throw await
|
|
1501
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1512
1502
|
case "ResourceNotFoundException":
|
|
1513
1503
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1514
|
-
throw await
|
|
1504
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1515
1505
|
case "ServiceQuotaExceededException":
|
|
1516
1506
|
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1517
|
-
throw await
|
|
1507
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1518
1508
|
case "ThrottlingException":
|
|
1519
1509
|
case "com.amazonaws.appflow#ThrottlingException":
|
|
1520
|
-
throw await
|
|
1510
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1521
1511
|
case "ValidationException":
|
|
1522
1512
|
case "com.amazonaws.appflow#ValidationException":
|
|
1523
|
-
throw await
|
|
1513
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1524
1514
|
default:
|
|
1525
1515
|
const parsedBody = parsedOutput.body;
|
|
1526
1516
|
throwDefaultError({
|
|
@@ -1531,9 +1521,9 @@ const deserializeAws_restJson1UpdateConnectorRegistrationCommandError = async (o
|
|
|
1531
1521
|
});
|
|
1532
1522
|
}
|
|
1533
1523
|
};
|
|
1534
|
-
export const
|
|
1524
|
+
export const de_UpdateFlowCommand = async (output, context) => {
|
|
1535
1525
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1536
|
-
return
|
|
1526
|
+
return de_UpdateFlowCommandError(output, context);
|
|
1537
1527
|
}
|
|
1538
1528
|
const contents = map({
|
|
1539
1529
|
$metadata: deserializeMetadata(output),
|
|
@@ -1544,7 +1534,7 @@ export const deserializeAws_restJson1UpdateFlowCommand = async (output, context)
|
|
|
1544
1534
|
}
|
|
1545
1535
|
return contents;
|
|
1546
1536
|
};
|
|
1547
|
-
const
|
|
1537
|
+
const de_UpdateFlowCommandError = async (output, context) => {
|
|
1548
1538
|
const parsedOutput = {
|
|
1549
1539
|
...output,
|
|
1550
1540
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1553,25 +1543,25 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
|
|
|
1553
1543
|
switch (errorCode) {
|
|
1554
1544
|
case "ConflictException":
|
|
1555
1545
|
case "com.amazonaws.appflow#ConflictException":
|
|
1556
|
-
throw await
|
|
1546
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1557
1547
|
case "ConnectorAuthenticationException":
|
|
1558
1548
|
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1559
|
-
throw await
|
|
1549
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1560
1550
|
case "ConnectorServerException":
|
|
1561
1551
|
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1562
|
-
throw await
|
|
1552
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1563
1553
|
case "InternalServerException":
|
|
1564
1554
|
case "com.amazonaws.appflow#InternalServerException":
|
|
1565
|
-
throw await
|
|
1555
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1566
1556
|
case "ResourceNotFoundException":
|
|
1567
1557
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1568
|
-
throw await
|
|
1558
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1569
1559
|
case "ServiceQuotaExceededException":
|
|
1570
1560
|
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1571
|
-
throw await
|
|
1561
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1572
1562
|
case "ValidationException":
|
|
1573
1563
|
case "com.amazonaws.appflow#ValidationException":
|
|
1574
|
-
throw await
|
|
1564
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1575
1565
|
default:
|
|
1576
1566
|
const parsedBody = parsedOutput.body;
|
|
1577
1567
|
throwDefaultError({
|
|
@@ -1583,7 +1573,7 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
|
|
|
1583
1573
|
}
|
|
1584
1574
|
};
|
|
1585
1575
|
const map = __map;
|
|
1586
|
-
const
|
|
1576
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1587
1577
|
const contents = map({});
|
|
1588
1578
|
const data = parsedOutput.body;
|
|
1589
1579
|
if (data.message != null) {
|
|
@@ -1595,7 +1585,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
1595
1585
|
});
|
|
1596
1586
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1597
1587
|
};
|
|
1598
|
-
const
|
|
1588
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1599
1589
|
const contents = map({});
|
|
1600
1590
|
const data = parsedOutput.body;
|
|
1601
1591
|
if (data.message != null) {
|
|
@@ -1607,7 +1597,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
1607
1597
|
});
|
|
1608
1598
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1609
1599
|
};
|
|
1610
|
-
const
|
|
1600
|
+
const de_ConnectorAuthenticationExceptionRes = async (parsedOutput, context) => {
|
|
1611
1601
|
const contents = map({});
|
|
1612
1602
|
const data = parsedOutput.body;
|
|
1613
1603
|
if (data.message != null) {
|
|
@@ -1619,7 +1609,7 @@ const deserializeAws_restJson1ConnectorAuthenticationExceptionResponse = async (
|
|
|
1619
1609
|
});
|
|
1620
1610
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1621
1611
|
};
|
|
1622
|
-
const
|
|
1612
|
+
const de_ConnectorServerExceptionRes = async (parsedOutput, context) => {
|
|
1623
1613
|
const contents = map({});
|
|
1624
1614
|
const data = parsedOutput.body;
|
|
1625
1615
|
if (data.message != null) {
|
|
@@ -1631,7 +1621,7 @@ const deserializeAws_restJson1ConnectorServerExceptionResponse = async (parsedOu
|
|
|
1631
1621
|
});
|
|
1632
1622
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1633
1623
|
};
|
|
1634
|
-
const
|
|
1624
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1635
1625
|
const contents = map({});
|
|
1636
1626
|
const data = parsedOutput.body;
|
|
1637
1627
|
if (data.message != null) {
|
|
@@ -1643,7 +1633,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
1643
1633
|
});
|
|
1644
1634
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1645
1635
|
};
|
|
1646
|
-
const
|
|
1636
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1647
1637
|
const contents = map({});
|
|
1648
1638
|
const data = parsedOutput.body;
|
|
1649
1639
|
if (data.message != null) {
|
|
@@ -1655,7 +1645,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
1655
1645
|
});
|
|
1656
1646
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1657
1647
|
};
|
|
1658
|
-
const
|
|
1648
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1659
1649
|
const contents = map({});
|
|
1660
1650
|
const data = parsedOutput.body;
|
|
1661
1651
|
if (data.message != null) {
|
|
@@ -1667,7 +1657,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
1667
1657
|
});
|
|
1668
1658
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1669
1659
|
};
|
|
1670
|
-
const
|
|
1660
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1671
1661
|
const contents = map({});
|
|
1672
1662
|
const data = parsedOutput.body;
|
|
1673
1663
|
if (data.message != null) {
|
|
@@ -1679,7 +1669,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
1679
1669
|
});
|
|
1680
1670
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1681
1671
|
};
|
|
1682
|
-
const
|
|
1672
|
+
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
1683
1673
|
const contents = map({});
|
|
1684
1674
|
const data = parsedOutput.body;
|
|
1685
1675
|
if (data.message != null) {
|
|
@@ -1691,7 +1681,7 @@ const deserializeAws_restJson1UnsupportedOperationExceptionResponse = async (par
|
|
|
1691
1681
|
});
|
|
1692
1682
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1693
1683
|
};
|
|
1694
|
-
const
|
|
1684
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1695
1685
|
const contents = map({});
|
|
1696
1686
|
const data = parsedOutput.body;
|
|
1697
1687
|
if (data.message != null) {
|
|
@@ -1703,45 +1693,45 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
1703
1693
|
});
|
|
1704
1694
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1705
1695
|
};
|
|
1706
|
-
const
|
|
1696
|
+
const se_AggregationConfig = (input, context) => {
|
|
1707
1697
|
return {
|
|
1708
1698
|
...(input.aggregationType != null && { aggregationType: input.aggregationType }),
|
|
1709
1699
|
...(input.targetFileSize != null && { targetFileSize: input.targetFileSize }),
|
|
1710
1700
|
};
|
|
1711
1701
|
};
|
|
1712
|
-
const
|
|
1702
|
+
const se_AmplitudeConnectorProfileCredentials = (input, context) => {
|
|
1713
1703
|
return {
|
|
1714
1704
|
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
1715
1705
|
...(input.secretKey != null && { secretKey: input.secretKey }),
|
|
1716
1706
|
};
|
|
1717
1707
|
};
|
|
1718
|
-
const
|
|
1708
|
+
const se_AmplitudeConnectorProfileProperties = (input, context) => {
|
|
1719
1709
|
return {};
|
|
1720
1710
|
};
|
|
1721
|
-
const
|
|
1711
|
+
const se_AmplitudeSourceProperties = (input, context) => {
|
|
1722
1712
|
return {
|
|
1723
1713
|
...(input.object != null && { object: input.object }),
|
|
1724
1714
|
};
|
|
1725
1715
|
};
|
|
1726
|
-
const
|
|
1716
|
+
const se_ApiKeyCredentials = (input, context) => {
|
|
1727
1717
|
return {
|
|
1728
1718
|
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
1729
1719
|
...(input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }),
|
|
1730
1720
|
};
|
|
1731
1721
|
};
|
|
1732
|
-
const
|
|
1722
|
+
const se_BasicAuthCredentials = (input, context) => {
|
|
1733
1723
|
return {
|
|
1734
1724
|
...(input.password != null && { password: input.password }),
|
|
1735
1725
|
...(input.username != null && { username: input.username }),
|
|
1736
1726
|
};
|
|
1737
1727
|
};
|
|
1738
|
-
const
|
|
1728
|
+
const se_ConnectorOAuthRequest = (input, context) => {
|
|
1739
1729
|
return {
|
|
1740
1730
|
...(input.authCode != null && { authCode: input.authCode }),
|
|
1741
1731
|
...(input.redirectUri != null && { redirectUri: input.redirectUri }),
|
|
1742
1732
|
};
|
|
1743
1733
|
};
|
|
1744
|
-
const
|
|
1734
|
+
const se_ConnectorOperator = (input, context) => {
|
|
1745
1735
|
return {
|
|
1746
1736
|
...(input.Amplitude != null && { Amplitude: input.Amplitude }),
|
|
1747
1737
|
...(input.CustomConnector != null && { CustomConnector: input.CustomConnector }),
|
|
@@ -1762,152 +1752,98 @@ const serializeAws_restJson1ConnectorOperator = (input, context) => {
|
|
|
1762
1752
|
...(input.Zendesk != null && { Zendesk: input.Zendesk }),
|
|
1763
1753
|
};
|
|
1764
1754
|
};
|
|
1765
|
-
const
|
|
1755
|
+
const se_ConnectorProfileConfig = (input, context) => {
|
|
1766
1756
|
return {
|
|
1767
1757
|
...(input.connectorProfileCredentials != null && {
|
|
1768
|
-
connectorProfileCredentials:
|
|
1758
|
+
connectorProfileCredentials: se_ConnectorProfileCredentials(input.connectorProfileCredentials, context),
|
|
1769
1759
|
}),
|
|
1770
1760
|
...(input.connectorProfileProperties != null && {
|
|
1771
|
-
connectorProfileProperties:
|
|
1761
|
+
connectorProfileProperties: se_ConnectorProfileProperties(input.connectorProfileProperties, context),
|
|
1772
1762
|
}),
|
|
1773
1763
|
};
|
|
1774
1764
|
};
|
|
1775
|
-
const
|
|
1765
|
+
const se_ConnectorProfileCredentials = (input, context) => {
|
|
1776
1766
|
return {
|
|
1777
|
-
...(input.Amplitude != null && {
|
|
1778
|
-
Amplitude: serializeAws_restJson1AmplitudeConnectorProfileCredentials(input.Amplitude, context),
|
|
1779
|
-
}),
|
|
1767
|
+
...(input.Amplitude != null && { Amplitude: se_AmplitudeConnectorProfileCredentials(input.Amplitude, context) }),
|
|
1780
1768
|
...(input.CustomConnector != null && {
|
|
1781
|
-
CustomConnector:
|
|
1782
|
-
}),
|
|
1783
|
-
...(input.Datadog != null && {
|
|
1784
|
-
Datadog: serializeAws_restJson1DatadogConnectorProfileCredentials(input.Datadog, context),
|
|
1785
|
-
}),
|
|
1786
|
-
...(input.Dynatrace != null && {
|
|
1787
|
-
Dynatrace: serializeAws_restJson1DynatraceConnectorProfileCredentials(input.Dynatrace, context),
|
|
1769
|
+
CustomConnector: se_CustomConnectorProfileCredentials(input.CustomConnector, context),
|
|
1788
1770
|
}),
|
|
1771
|
+
...(input.Datadog != null && { Datadog: se_DatadogConnectorProfileCredentials(input.Datadog, context) }),
|
|
1772
|
+
...(input.Dynatrace != null && { Dynatrace: se_DynatraceConnectorProfileCredentials(input.Dynatrace, context) }),
|
|
1789
1773
|
...(input.GoogleAnalytics != null && {
|
|
1790
|
-
GoogleAnalytics:
|
|
1791
|
-
}),
|
|
1792
|
-
...(input.Honeycode != null && {
|
|
1793
|
-
Honeycode: serializeAws_restJson1HoneycodeConnectorProfileCredentials(input.Honeycode, context),
|
|
1774
|
+
GoogleAnalytics: se_GoogleAnalyticsConnectorProfileCredentials(input.GoogleAnalytics, context),
|
|
1794
1775
|
}),
|
|
1776
|
+
...(input.Honeycode != null && { Honeycode: se_HoneycodeConnectorProfileCredentials(input.Honeycode, context) }),
|
|
1795
1777
|
...(input.InforNexus != null && {
|
|
1796
|
-
InforNexus:
|
|
1797
|
-
}),
|
|
1798
|
-
...(input.Marketo != null && {
|
|
1799
|
-
Marketo: serializeAws_restJson1MarketoConnectorProfileCredentials(input.Marketo, context),
|
|
1800
|
-
}),
|
|
1801
|
-
...(input.Pardot != null && {
|
|
1802
|
-
Pardot: serializeAws_restJson1PardotConnectorProfileCredentials(input.Pardot, context),
|
|
1803
|
-
}),
|
|
1804
|
-
...(input.Redshift != null && {
|
|
1805
|
-
Redshift: serializeAws_restJson1RedshiftConnectorProfileCredentials(input.Redshift, context),
|
|
1806
|
-
}),
|
|
1807
|
-
...(input.SAPOData != null && {
|
|
1808
|
-
SAPOData: serializeAws_restJson1SAPODataConnectorProfileCredentials(input.SAPOData, context),
|
|
1778
|
+
InforNexus: se_InforNexusConnectorProfileCredentials(input.InforNexus, context),
|
|
1809
1779
|
}),
|
|
1780
|
+
...(input.Marketo != null && { Marketo: se_MarketoConnectorProfileCredentials(input.Marketo, context) }),
|
|
1781
|
+
...(input.Pardot != null && { Pardot: se_PardotConnectorProfileCredentials(input.Pardot, context) }),
|
|
1782
|
+
...(input.Redshift != null && { Redshift: se_RedshiftConnectorProfileCredentials(input.Redshift, context) }),
|
|
1783
|
+
...(input.SAPOData != null && { SAPOData: se_SAPODataConnectorProfileCredentials(input.SAPOData, context) }),
|
|
1810
1784
|
...(input.Salesforce != null && {
|
|
1811
|
-
Salesforce:
|
|
1785
|
+
Salesforce: se_SalesforceConnectorProfileCredentials(input.Salesforce, context),
|
|
1812
1786
|
}),
|
|
1813
1787
|
...(input.ServiceNow != null && {
|
|
1814
|
-
ServiceNow:
|
|
1815
|
-
}),
|
|
1816
|
-
...(input.Singular != null && {
|
|
1817
|
-
Singular: serializeAws_restJson1SingularConnectorProfileCredentials(input.Singular, context),
|
|
1818
|
-
}),
|
|
1819
|
-
...(input.Slack != null && { Slack: serializeAws_restJson1SlackConnectorProfileCredentials(input.Slack, context) }),
|
|
1820
|
-
...(input.Snowflake != null && {
|
|
1821
|
-
Snowflake: serializeAws_restJson1SnowflakeConnectorProfileCredentials(input.Snowflake, context),
|
|
1788
|
+
ServiceNow: se_ServiceNowConnectorProfileCredentials(input.ServiceNow, context),
|
|
1822
1789
|
}),
|
|
1790
|
+
...(input.Singular != null && { Singular: se_SingularConnectorProfileCredentials(input.Singular, context) }),
|
|
1791
|
+
...(input.Slack != null && { Slack: se_SlackConnectorProfileCredentials(input.Slack, context) }),
|
|
1792
|
+
...(input.Snowflake != null && { Snowflake: se_SnowflakeConnectorProfileCredentials(input.Snowflake, context) }),
|
|
1823
1793
|
...(input.Trendmicro != null && {
|
|
1824
|
-
Trendmicro:
|
|
1825
|
-
}),
|
|
1826
|
-
...(input.Veeva != null && { Veeva: serializeAws_restJson1VeevaConnectorProfileCredentials(input.Veeva, context) }),
|
|
1827
|
-
...(input.Zendesk != null && {
|
|
1828
|
-
Zendesk: serializeAws_restJson1ZendeskConnectorProfileCredentials(input.Zendesk, context),
|
|
1794
|
+
Trendmicro: se_TrendmicroConnectorProfileCredentials(input.Trendmicro, context),
|
|
1829
1795
|
}),
|
|
1796
|
+
...(input.Veeva != null && { Veeva: se_VeevaConnectorProfileCredentials(input.Veeva, context) }),
|
|
1797
|
+
...(input.Zendesk != null && { Zendesk: se_ZendeskConnectorProfileCredentials(input.Zendesk, context) }),
|
|
1830
1798
|
};
|
|
1831
1799
|
};
|
|
1832
|
-
const
|
|
1800
|
+
const se_ConnectorProfileNameList = (input, context) => {
|
|
1833
1801
|
return input
|
|
1834
1802
|
.filter((e) => e != null)
|
|
1835
1803
|
.map((entry) => {
|
|
1836
1804
|
return entry;
|
|
1837
1805
|
});
|
|
1838
1806
|
};
|
|
1839
|
-
const
|
|
1807
|
+
const se_ConnectorProfileProperties = (input, context) => {
|
|
1840
1808
|
return {
|
|
1841
|
-
...(input.Amplitude != null && {
|
|
1842
|
-
Amplitude: serializeAws_restJson1AmplitudeConnectorProfileProperties(input.Amplitude, context),
|
|
1843
|
-
}),
|
|
1809
|
+
...(input.Amplitude != null && { Amplitude: se_AmplitudeConnectorProfileProperties(input.Amplitude, context) }),
|
|
1844
1810
|
...(input.CustomConnector != null && {
|
|
1845
|
-
CustomConnector:
|
|
1846
|
-
}),
|
|
1847
|
-
...(input.Datadog != null && {
|
|
1848
|
-
Datadog: serializeAws_restJson1DatadogConnectorProfileProperties(input.Datadog, context),
|
|
1849
|
-
}),
|
|
1850
|
-
...(input.Dynatrace != null && {
|
|
1851
|
-
Dynatrace: serializeAws_restJson1DynatraceConnectorProfileProperties(input.Dynatrace, context),
|
|
1811
|
+
CustomConnector: se_CustomConnectorProfileProperties(input.CustomConnector, context),
|
|
1852
1812
|
}),
|
|
1813
|
+
...(input.Datadog != null && { Datadog: se_DatadogConnectorProfileProperties(input.Datadog, context) }),
|
|
1814
|
+
...(input.Dynatrace != null && { Dynatrace: se_DynatraceConnectorProfileProperties(input.Dynatrace, context) }),
|
|
1853
1815
|
...(input.GoogleAnalytics != null && {
|
|
1854
|
-
GoogleAnalytics:
|
|
1855
|
-
}),
|
|
1856
|
-
...(input.Honeycode != null && {
|
|
1857
|
-
Honeycode: serializeAws_restJson1HoneycodeConnectorProfileProperties(input.Honeycode, context),
|
|
1858
|
-
}),
|
|
1859
|
-
...(input.InforNexus != null && {
|
|
1860
|
-
InforNexus: serializeAws_restJson1InforNexusConnectorProfileProperties(input.InforNexus, context),
|
|
1861
|
-
}),
|
|
1862
|
-
...(input.Marketo != null && {
|
|
1863
|
-
Marketo: serializeAws_restJson1MarketoConnectorProfileProperties(input.Marketo, context),
|
|
1864
|
-
}),
|
|
1865
|
-
...(input.Pardot != null && {
|
|
1866
|
-
Pardot: serializeAws_restJson1PardotConnectorProfileProperties(input.Pardot, context),
|
|
1867
|
-
}),
|
|
1868
|
-
...(input.Redshift != null && {
|
|
1869
|
-
Redshift: serializeAws_restJson1RedshiftConnectorProfileProperties(input.Redshift, context),
|
|
1870
|
-
}),
|
|
1871
|
-
...(input.SAPOData != null && {
|
|
1872
|
-
SAPOData: serializeAws_restJson1SAPODataConnectorProfileProperties(input.SAPOData, context),
|
|
1873
|
-
}),
|
|
1874
|
-
...(input.Salesforce != null && {
|
|
1875
|
-
Salesforce: serializeAws_restJson1SalesforceConnectorProfileProperties(input.Salesforce, context),
|
|
1876
|
-
}),
|
|
1877
|
-
...(input.ServiceNow != null && {
|
|
1878
|
-
ServiceNow: serializeAws_restJson1ServiceNowConnectorProfileProperties(input.ServiceNow, context),
|
|
1879
|
-
}),
|
|
1880
|
-
...(input.Singular != null && {
|
|
1881
|
-
Singular: serializeAws_restJson1SingularConnectorProfileProperties(input.Singular, context),
|
|
1882
|
-
}),
|
|
1883
|
-
...(input.Slack != null && { Slack: serializeAws_restJson1SlackConnectorProfileProperties(input.Slack, context) }),
|
|
1884
|
-
...(input.Snowflake != null && {
|
|
1885
|
-
Snowflake: serializeAws_restJson1SnowflakeConnectorProfileProperties(input.Snowflake, context),
|
|
1886
|
-
}),
|
|
1887
|
-
...(input.Trendmicro != null && {
|
|
1888
|
-
Trendmicro: serializeAws_restJson1TrendmicroConnectorProfileProperties(input.Trendmicro, context),
|
|
1889
|
-
}),
|
|
1890
|
-
...(input.Veeva != null && { Veeva: serializeAws_restJson1VeevaConnectorProfileProperties(input.Veeva, context) }),
|
|
1891
|
-
...(input.Zendesk != null && {
|
|
1892
|
-
Zendesk: serializeAws_restJson1ZendeskConnectorProfileProperties(input.Zendesk, context),
|
|
1816
|
+
GoogleAnalytics: se_GoogleAnalyticsConnectorProfileProperties(input.GoogleAnalytics, context),
|
|
1893
1817
|
}),
|
|
1818
|
+
...(input.Honeycode != null && { Honeycode: se_HoneycodeConnectorProfileProperties(input.Honeycode, context) }),
|
|
1819
|
+
...(input.InforNexus != null && { InforNexus: se_InforNexusConnectorProfileProperties(input.InforNexus, context) }),
|
|
1820
|
+
...(input.Marketo != null && { Marketo: se_MarketoConnectorProfileProperties(input.Marketo, context) }),
|
|
1821
|
+
...(input.Pardot != null && { Pardot: se_PardotConnectorProfileProperties(input.Pardot, context) }),
|
|
1822
|
+
...(input.Redshift != null && { Redshift: se_RedshiftConnectorProfileProperties(input.Redshift, context) }),
|
|
1823
|
+
...(input.SAPOData != null && { SAPOData: se_SAPODataConnectorProfileProperties(input.SAPOData, context) }),
|
|
1824
|
+
...(input.Salesforce != null && { Salesforce: se_SalesforceConnectorProfileProperties(input.Salesforce, context) }),
|
|
1825
|
+
...(input.ServiceNow != null && { ServiceNow: se_ServiceNowConnectorProfileProperties(input.ServiceNow, context) }),
|
|
1826
|
+
...(input.Singular != null && { Singular: se_SingularConnectorProfileProperties(input.Singular, context) }),
|
|
1827
|
+
...(input.Slack != null && { Slack: se_SlackConnectorProfileProperties(input.Slack, context) }),
|
|
1828
|
+
...(input.Snowflake != null && { Snowflake: se_SnowflakeConnectorProfileProperties(input.Snowflake, context) }),
|
|
1829
|
+
...(input.Trendmicro != null && { Trendmicro: se_TrendmicroConnectorProfileProperties(input.Trendmicro, context) }),
|
|
1830
|
+
...(input.Veeva != null && { Veeva: se_VeevaConnectorProfileProperties(input.Veeva, context) }),
|
|
1831
|
+
...(input.Zendesk != null && { Zendesk: se_ZendeskConnectorProfileProperties(input.Zendesk, context) }),
|
|
1894
1832
|
};
|
|
1895
1833
|
};
|
|
1896
|
-
const
|
|
1834
|
+
const se_ConnectorProvisioningConfig = (input, context) => {
|
|
1897
1835
|
return {
|
|
1898
|
-
...(input.lambda != null && {
|
|
1899
|
-
lambda: serializeAws_restJson1LambdaConnectorProvisioningConfig(input.lambda, context),
|
|
1900
|
-
}),
|
|
1836
|
+
...(input.lambda != null && { lambda: se_LambdaConnectorProvisioningConfig(input.lambda, context) }),
|
|
1901
1837
|
};
|
|
1902
1838
|
};
|
|
1903
|
-
const
|
|
1839
|
+
const se_ConnectorTypeList = (input, context) => {
|
|
1904
1840
|
return input
|
|
1905
1841
|
.filter((e) => e != null)
|
|
1906
1842
|
.map((entry) => {
|
|
1907
1843
|
return entry;
|
|
1908
1844
|
});
|
|
1909
1845
|
};
|
|
1910
|
-
const
|
|
1846
|
+
const se_CredentialsMap = (input, context) => {
|
|
1911
1847
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1912
1848
|
if (value === null) {
|
|
1913
1849
|
return acc;
|
|
@@ -1916,63 +1852,53 @@ const serializeAws_restJson1CredentialsMap = (input, context) => {
|
|
|
1916
1852
|
return acc;
|
|
1917
1853
|
}, {});
|
|
1918
1854
|
};
|
|
1919
|
-
const
|
|
1855
|
+
const se_CustomAuthCredentials = (input, context) => {
|
|
1920
1856
|
return {
|
|
1921
|
-
...(input.credentialsMap != null && {
|
|
1922
|
-
credentialsMap: serializeAws_restJson1CredentialsMap(input.credentialsMap, context),
|
|
1923
|
-
}),
|
|
1857
|
+
...(input.credentialsMap != null && { credentialsMap: se_CredentialsMap(input.credentialsMap, context) }),
|
|
1924
1858
|
...(input.customAuthenticationType != null && { customAuthenticationType: input.customAuthenticationType }),
|
|
1925
1859
|
};
|
|
1926
1860
|
};
|
|
1927
|
-
const
|
|
1861
|
+
const se_CustomConnectorDestinationProperties = (input, context) => {
|
|
1928
1862
|
return {
|
|
1929
|
-
...(input.customProperties != null && {
|
|
1930
|
-
customProperties: serializeAws_restJson1CustomProperties(input.customProperties, context),
|
|
1931
|
-
}),
|
|
1863
|
+
...(input.customProperties != null && { customProperties: se_CustomProperties(input.customProperties, context) }),
|
|
1932
1864
|
...(input.entityName != null && { entityName: input.entityName }),
|
|
1933
1865
|
...(input.errorHandlingConfig != null && {
|
|
1934
|
-
errorHandlingConfig:
|
|
1935
|
-
}),
|
|
1936
|
-
...(input.idFieldNames != null && {
|
|
1937
|
-
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
1866
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
1938
1867
|
}),
|
|
1868
|
+
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
1939
1869
|
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
1940
1870
|
};
|
|
1941
1871
|
};
|
|
1942
|
-
const
|
|
1872
|
+
const se_CustomConnectorProfileCredentials = (input, context) => {
|
|
1943
1873
|
return {
|
|
1944
|
-
...(input.apiKey != null && { apiKey:
|
|
1874
|
+
...(input.apiKey != null && { apiKey: se_ApiKeyCredentials(input.apiKey, context) }),
|
|
1945
1875
|
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
1946
|
-
...(input.basic != null && { basic:
|
|
1947
|
-
...(input.custom != null && { custom:
|
|
1948
|
-
...(input.oauth2 != null && { oauth2:
|
|
1876
|
+
...(input.basic != null && { basic: se_BasicAuthCredentials(input.basic, context) }),
|
|
1877
|
+
...(input.custom != null && { custom: se_CustomAuthCredentials(input.custom, context) }),
|
|
1878
|
+
...(input.oauth2 != null && { oauth2: se_OAuth2Credentials(input.oauth2, context) }),
|
|
1949
1879
|
};
|
|
1950
1880
|
};
|
|
1951
|
-
const
|
|
1881
|
+
const se_CustomConnectorProfileProperties = (input, context) => {
|
|
1952
1882
|
return {
|
|
1953
|
-
...(input.oAuth2Properties != null && {
|
|
1954
|
-
oAuth2Properties: serializeAws_restJson1OAuth2Properties(input.oAuth2Properties, context),
|
|
1955
|
-
}),
|
|
1883
|
+
...(input.oAuth2Properties != null && { oAuth2Properties: se_OAuth2Properties(input.oAuth2Properties, context) }),
|
|
1956
1884
|
...(input.profileProperties != null && {
|
|
1957
|
-
profileProperties:
|
|
1885
|
+
profileProperties: se_ProfilePropertiesMap(input.profileProperties, context),
|
|
1958
1886
|
}),
|
|
1959
1887
|
};
|
|
1960
1888
|
};
|
|
1961
|
-
const
|
|
1889
|
+
const se_CustomConnectorSourceProperties = (input, context) => {
|
|
1962
1890
|
return {
|
|
1963
|
-
...(input.customProperties != null && {
|
|
1964
|
-
customProperties: serializeAws_restJson1CustomProperties(input.customProperties, context),
|
|
1965
|
-
}),
|
|
1891
|
+
...(input.customProperties != null && { customProperties: se_CustomProperties(input.customProperties, context) }),
|
|
1966
1892
|
...(input.entityName != null && { entityName: input.entityName }),
|
|
1967
1893
|
};
|
|
1968
1894
|
};
|
|
1969
|
-
const
|
|
1895
|
+
const se_CustomerProfilesDestinationProperties = (input, context) => {
|
|
1970
1896
|
return {
|
|
1971
1897
|
...(input.domainName != null && { domainName: input.domainName }),
|
|
1972
1898
|
...(input.objectTypeName != null && { objectTypeName: input.objectTypeName }),
|
|
1973
1899
|
};
|
|
1974
1900
|
};
|
|
1975
|
-
const
|
|
1901
|
+
const se_CustomProperties = (input, context) => {
|
|
1976
1902
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1977
1903
|
if (value === null) {
|
|
1978
1904
|
return acc;
|
|
@@ -1981,96 +1907,78 @@ const serializeAws_restJson1CustomProperties = (input, context) => {
|
|
|
1981
1907
|
return acc;
|
|
1982
1908
|
}, {});
|
|
1983
1909
|
};
|
|
1984
|
-
const
|
|
1910
|
+
const se_DatadogConnectorProfileCredentials = (input, context) => {
|
|
1985
1911
|
return {
|
|
1986
1912
|
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
1987
1913
|
...(input.applicationKey != null && { applicationKey: input.applicationKey }),
|
|
1988
1914
|
};
|
|
1989
1915
|
};
|
|
1990
|
-
const
|
|
1916
|
+
const se_DatadogConnectorProfileProperties = (input, context) => {
|
|
1991
1917
|
return {
|
|
1992
1918
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
1993
1919
|
};
|
|
1994
1920
|
};
|
|
1995
|
-
const
|
|
1921
|
+
const se_DatadogSourceProperties = (input, context) => {
|
|
1996
1922
|
return {
|
|
1997
1923
|
...(input.object != null && { object: input.object }),
|
|
1998
1924
|
};
|
|
1999
1925
|
};
|
|
2000
|
-
const
|
|
1926
|
+
const se_DestinationConnectorProperties = (input, context) => {
|
|
2001
1927
|
return {
|
|
2002
1928
|
...(input.CustomConnector != null && {
|
|
2003
|
-
CustomConnector:
|
|
1929
|
+
CustomConnector: se_CustomConnectorDestinationProperties(input.CustomConnector, context),
|
|
2004
1930
|
}),
|
|
2005
1931
|
...(input.CustomerProfiles != null && {
|
|
2006
|
-
CustomerProfiles:
|
|
2007
|
-
}),
|
|
2008
|
-
...(input.EventBridge != null && {
|
|
2009
|
-
EventBridge: serializeAws_restJson1EventBridgeDestinationProperties(input.EventBridge, context),
|
|
2010
|
-
}),
|
|
2011
|
-
...(input.Honeycode != null && {
|
|
2012
|
-
Honeycode: serializeAws_restJson1HoneycodeDestinationProperties(input.Honeycode, context),
|
|
1932
|
+
CustomerProfiles: se_CustomerProfilesDestinationProperties(input.CustomerProfiles, context),
|
|
2013
1933
|
}),
|
|
1934
|
+
...(input.EventBridge != null && { EventBridge: se_EventBridgeDestinationProperties(input.EventBridge, context) }),
|
|
1935
|
+
...(input.Honeycode != null && { Honeycode: se_HoneycodeDestinationProperties(input.Honeycode, context) }),
|
|
2014
1936
|
...(input.LookoutMetrics != null && {
|
|
2015
|
-
LookoutMetrics:
|
|
2016
|
-
}),
|
|
2017
|
-
...(input.Marketo != null && {
|
|
2018
|
-
Marketo: serializeAws_restJson1MarketoDestinationProperties(input.Marketo, context),
|
|
2019
|
-
}),
|
|
2020
|
-
...(input.Redshift != null && {
|
|
2021
|
-
Redshift: serializeAws_restJson1RedshiftDestinationProperties(input.Redshift, context),
|
|
2022
|
-
}),
|
|
2023
|
-
...(input.S3 != null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) }),
|
|
2024
|
-
...(input.SAPOData != null && {
|
|
2025
|
-
SAPOData: serializeAws_restJson1SAPODataDestinationProperties(input.SAPOData, context),
|
|
2026
|
-
}),
|
|
2027
|
-
...(input.Salesforce != null && {
|
|
2028
|
-
Salesforce: serializeAws_restJson1SalesforceDestinationProperties(input.Salesforce, context),
|
|
2029
|
-
}),
|
|
2030
|
-
...(input.Snowflake != null && {
|
|
2031
|
-
Snowflake: serializeAws_restJson1SnowflakeDestinationProperties(input.Snowflake, context),
|
|
2032
|
-
}),
|
|
2033
|
-
...(input.Upsolver != null && {
|
|
2034
|
-
Upsolver: serializeAws_restJson1UpsolverDestinationProperties(input.Upsolver, context),
|
|
2035
|
-
}),
|
|
2036
|
-
...(input.Zendesk != null && {
|
|
2037
|
-
Zendesk: serializeAws_restJson1ZendeskDestinationProperties(input.Zendesk, context),
|
|
1937
|
+
LookoutMetrics: se_LookoutMetricsDestinationProperties(input.LookoutMetrics, context),
|
|
2038
1938
|
}),
|
|
1939
|
+
...(input.Marketo != null && { Marketo: se_MarketoDestinationProperties(input.Marketo, context) }),
|
|
1940
|
+
...(input.Redshift != null && { Redshift: se_RedshiftDestinationProperties(input.Redshift, context) }),
|
|
1941
|
+
...(input.S3 != null && { S3: se_S3DestinationProperties(input.S3, context) }),
|
|
1942
|
+
...(input.SAPOData != null && { SAPOData: se_SAPODataDestinationProperties(input.SAPOData, context) }),
|
|
1943
|
+
...(input.Salesforce != null && { Salesforce: se_SalesforceDestinationProperties(input.Salesforce, context) }),
|
|
1944
|
+
...(input.Snowflake != null && { Snowflake: se_SnowflakeDestinationProperties(input.Snowflake, context) }),
|
|
1945
|
+
...(input.Upsolver != null && { Upsolver: se_UpsolverDestinationProperties(input.Upsolver, context) }),
|
|
1946
|
+
...(input.Zendesk != null && { Zendesk: se_ZendeskDestinationProperties(input.Zendesk, context) }),
|
|
2039
1947
|
};
|
|
2040
1948
|
};
|
|
2041
|
-
const
|
|
1949
|
+
const se_DestinationFlowConfig = (input, context) => {
|
|
2042
1950
|
return {
|
|
2043
1951
|
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
2044
1952
|
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
2045
1953
|
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
2046
1954
|
...(input.destinationConnectorProperties != null && {
|
|
2047
|
-
destinationConnectorProperties:
|
|
1955
|
+
destinationConnectorProperties: se_DestinationConnectorProperties(input.destinationConnectorProperties, context),
|
|
2048
1956
|
}),
|
|
2049
1957
|
};
|
|
2050
1958
|
};
|
|
2051
|
-
const
|
|
1959
|
+
const se_DestinationFlowConfigList = (input, context) => {
|
|
2052
1960
|
return input
|
|
2053
1961
|
.filter((e) => e != null)
|
|
2054
1962
|
.map((entry) => {
|
|
2055
|
-
return
|
|
1963
|
+
return se_DestinationFlowConfig(entry, context);
|
|
2056
1964
|
});
|
|
2057
1965
|
};
|
|
2058
|
-
const
|
|
1966
|
+
const se_DynatraceConnectorProfileCredentials = (input, context) => {
|
|
2059
1967
|
return {
|
|
2060
1968
|
...(input.apiToken != null && { apiToken: input.apiToken }),
|
|
2061
1969
|
};
|
|
2062
1970
|
};
|
|
2063
|
-
const
|
|
1971
|
+
const se_DynatraceConnectorProfileProperties = (input, context) => {
|
|
2064
1972
|
return {
|
|
2065
1973
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2066
1974
|
};
|
|
2067
1975
|
};
|
|
2068
|
-
const
|
|
1976
|
+
const se_DynatraceSourceProperties = (input, context) => {
|
|
2069
1977
|
return {
|
|
2070
1978
|
...(input.object != null && { object: input.object }),
|
|
2071
1979
|
};
|
|
2072
1980
|
};
|
|
2073
|
-
const
|
|
1981
|
+
const se_ErrorHandlingConfig = (input, context) => {
|
|
2074
1982
|
return {
|
|
2075
1983
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2076
1984
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
@@ -2079,73 +1987,69 @@ const serializeAws_restJson1ErrorHandlingConfig = (input, context) => {
|
|
|
2079
1987
|
}),
|
|
2080
1988
|
};
|
|
2081
1989
|
};
|
|
2082
|
-
const
|
|
1990
|
+
const se_EventBridgeDestinationProperties = (input, context) => {
|
|
2083
1991
|
return {
|
|
2084
1992
|
...(input.errorHandlingConfig != null && {
|
|
2085
|
-
errorHandlingConfig:
|
|
1993
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2086
1994
|
}),
|
|
2087
1995
|
...(input.object != null && { object: input.object }),
|
|
2088
1996
|
};
|
|
2089
1997
|
};
|
|
2090
|
-
const
|
|
1998
|
+
const se_GlueDataCatalogConfig = (input, context) => {
|
|
2091
1999
|
return {
|
|
2092
2000
|
...(input.databaseName != null && { databaseName: input.databaseName }),
|
|
2093
2001
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2094
2002
|
...(input.tablePrefix != null && { tablePrefix: input.tablePrefix }),
|
|
2095
2003
|
};
|
|
2096
2004
|
};
|
|
2097
|
-
const
|
|
2005
|
+
const se_GoogleAnalyticsConnectorProfileCredentials = (input, context) => {
|
|
2098
2006
|
return {
|
|
2099
2007
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2100
2008
|
...(input.clientId != null && { clientId: input.clientId }),
|
|
2101
2009
|
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2102
|
-
...(input.oAuthRequest != null && {
|
|
2103
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2104
|
-
}),
|
|
2010
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2105
2011
|
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2106
2012
|
};
|
|
2107
2013
|
};
|
|
2108
|
-
const
|
|
2014
|
+
const se_GoogleAnalyticsConnectorProfileProperties = (input, context) => {
|
|
2109
2015
|
return {};
|
|
2110
2016
|
};
|
|
2111
|
-
const
|
|
2017
|
+
const se_GoogleAnalyticsSourceProperties = (input, context) => {
|
|
2112
2018
|
return {
|
|
2113
2019
|
...(input.object != null && { object: input.object }),
|
|
2114
2020
|
};
|
|
2115
2021
|
};
|
|
2116
|
-
const
|
|
2022
|
+
const se_HoneycodeConnectorProfileCredentials = (input, context) => {
|
|
2117
2023
|
return {
|
|
2118
2024
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2119
|
-
...(input.oAuthRequest != null && {
|
|
2120
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2121
|
-
}),
|
|
2025
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2122
2026
|
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2123
2027
|
};
|
|
2124
2028
|
};
|
|
2125
|
-
const
|
|
2029
|
+
const se_HoneycodeConnectorProfileProperties = (input, context) => {
|
|
2126
2030
|
return {};
|
|
2127
2031
|
};
|
|
2128
|
-
const
|
|
2032
|
+
const se_HoneycodeDestinationProperties = (input, context) => {
|
|
2129
2033
|
return {
|
|
2130
2034
|
...(input.errorHandlingConfig != null && {
|
|
2131
|
-
errorHandlingConfig:
|
|
2035
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2132
2036
|
}),
|
|
2133
2037
|
...(input.object != null && { object: input.object }),
|
|
2134
2038
|
};
|
|
2135
2039
|
};
|
|
2136
|
-
const
|
|
2040
|
+
const se_IdFieldNameList = (input, context) => {
|
|
2137
2041
|
return input
|
|
2138
2042
|
.filter((e) => e != null)
|
|
2139
2043
|
.map((entry) => {
|
|
2140
2044
|
return entry;
|
|
2141
2045
|
});
|
|
2142
2046
|
};
|
|
2143
|
-
const
|
|
2047
|
+
const se_IncrementalPullConfig = (input, context) => {
|
|
2144
2048
|
return {
|
|
2145
2049
|
...(input.datetimeTypeFieldName != null && { datetimeTypeFieldName: input.datetimeTypeFieldName }),
|
|
2146
2050
|
};
|
|
2147
2051
|
};
|
|
2148
|
-
const
|
|
2052
|
+
const se_InforNexusConnectorProfileCredentials = (input, context) => {
|
|
2149
2053
|
return {
|
|
2150
2054
|
...(input.accessKeyId != null && { accessKeyId: input.accessKeyId }),
|
|
2151
2055
|
...(input.datakey != null && { datakey: input.datakey }),
|
|
@@ -2153,143 +2057,133 @@ const serializeAws_restJson1InforNexusConnectorProfileCredentials = (input, cont
|
|
|
2153
2057
|
...(input.userId != null && { userId: input.userId }),
|
|
2154
2058
|
};
|
|
2155
2059
|
};
|
|
2156
|
-
const
|
|
2060
|
+
const se_InforNexusConnectorProfileProperties = (input, context) => {
|
|
2157
2061
|
return {
|
|
2158
2062
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2159
2063
|
};
|
|
2160
2064
|
};
|
|
2161
|
-
const
|
|
2065
|
+
const se_InforNexusSourceProperties = (input, context) => {
|
|
2162
2066
|
return {
|
|
2163
2067
|
...(input.object != null && { object: input.object }),
|
|
2164
2068
|
};
|
|
2165
2069
|
};
|
|
2166
|
-
const
|
|
2070
|
+
const se_LambdaConnectorProvisioningConfig = (input, context) => {
|
|
2167
2071
|
return {
|
|
2168
2072
|
...(input.lambdaArn != null && { lambdaArn: input.lambdaArn }),
|
|
2169
2073
|
};
|
|
2170
2074
|
};
|
|
2171
|
-
const
|
|
2075
|
+
const se_LookoutMetricsDestinationProperties = (input, context) => {
|
|
2172
2076
|
return {};
|
|
2173
2077
|
};
|
|
2174
|
-
const
|
|
2078
|
+
const se_MarketoConnectorProfileCredentials = (input, context) => {
|
|
2175
2079
|
return {
|
|
2176
2080
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2177
2081
|
...(input.clientId != null && { clientId: input.clientId }),
|
|
2178
2082
|
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2179
|
-
...(input.oAuthRequest != null && {
|
|
2180
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2181
|
-
}),
|
|
2083
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2182
2084
|
};
|
|
2183
2085
|
};
|
|
2184
|
-
const
|
|
2086
|
+
const se_MarketoConnectorProfileProperties = (input, context) => {
|
|
2185
2087
|
return {
|
|
2186
2088
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2187
2089
|
};
|
|
2188
2090
|
};
|
|
2189
|
-
const
|
|
2091
|
+
const se_MarketoDestinationProperties = (input, context) => {
|
|
2190
2092
|
return {
|
|
2191
2093
|
...(input.errorHandlingConfig != null && {
|
|
2192
|
-
errorHandlingConfig:
|
|
2094
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2193
2095
|
}),
|
|
2194
2096
|
...(input.object != null && { object: input.object }),
|
|
2195
2097
|
};
|
|
2196
2098
|
};
|
|
2197
|
-
const
|
|
2099
|
+
const se_MarketoSourceProperties = (input, context) => {
|
|
2198
2100
|
return {
|
|
2199
2101
|
...(input.object != null && { object: input.object }),
|
|
2200
2102
|
};
|
|
2201
2103
|
};
|
|
2202
|
-
const
|
|
2104
|
+
const se_MetadataCatalogConfig = (input, context) => {
|
|
2203
2105
|
return {
|
|
2204
|
-
...(input.glueDataCatalog != null && {
|
|
2205
|
-
glueDataCatalog: serializeAws_restJson1GlueDataCatalogConfig(input.glueDataCatalog, context),
|
|
2206
|
-
}),
|
|
2106
|
+
...(input.glueDataCatalog != null && { glueDataCatalog: se_GlueDataCatalogConfig(input.glueDataCatalog, context) }),
|
|
2207
2107
|
};
|
|
2208
2108
|
};
|
|
2209
|
-
const
|
|
2109
|
+
const se_OAuth2Credentials = (input, context) => {
|
|
2210
2110
|
return {
|
|
2211
2111
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2212
2112
|
...(input.clientId != null && { clientId: input.clientId }),
|
|
2213
2113
|
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2214
|
-
...(input.oAuthRequest != null && {
|
|
2215
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2216
|
-
}),
|
|
2114
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2217
2115
|
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2218
2116
|
};
|
|
2219
2117
|
};
|
|
2220
|
-
const
|
|
2118
|
+
const se_OAuth2Properties = (input, context) => {
|
|
2221
2119
|
return {
|
|
2222
2120
|
...(input.oAuth2GrantType != null && { oAuth2GrantType: input.oAuth2GrantType }),
|
|
2223
2121
|
...(input.tokenUrl != null && { tokenUrl: input.tokenUrl }),
|
|
2224
2122
|
...(input.tokenUrlCustomProperties != null && {
|
|
2225
|
-
tokenUrlCustomProperties:
|
|
2123
|
+
tokenUrlCustomProperties: se_TokenUrlCustomProperties(input.tokenUrlCustomProperties, context),
|
|
2226
2124
|
}),
|
|
2227
2125
|
};
|
|
2228
2126
|
};
|
|
2229
|
-
const
|
|
2127
|
+
const se_OAuthCredentials = (input, context) => {
|
|
2230
2128
|
return {
|
|
2231
2129
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2232
2130
|
...(input.clientId != null && { clientId: input.clientId }),
|
|
2233
2131
|
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2234
|
-
...(input.oAuthRequest != null && {
|
|
2235
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2236
|
-
}),
|
|
2132
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2237
2133
|
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2238
2134
|
};
|
|
2239
2135
|
};
|
|
2240
|
-
const
|
|
2136
|
+
const se_OAuthProperties = (input, context) => {
|
|
2241
2137
|
return {
|
|
2242
2138
|
...(input.authCodeUrl != null && { authCodeUrl: input.authCodeUrl }),
|
|
2243
|
-
...(input.oAuthScopes != null && { oAuthScopes:
|
|
2139
|
+
...(input.oAuthScopes != null && { oAuthScopes: se_OAuthScopeList(input.oAuthScopes, context) }),
|
|
2244
2140
|
...(input.tokenUrl != null && { tokenUrl: input.tokenUrl }),
|
|
2245
2141
|
};
|
|
2246
2142
|
};
|
|
2247
|
-
const
|
|
2143
|
+
const se_OAuthScopeList = (input, context) => {
|
|
2248
2144
|
return input
|
|
2249
2145
|
.filter((e) => e != null)
|
|
2250
2146
|
.map((entry) => {
|
|
2251
2147
|
return entry;
|
|
2252
2148
|
});
|
|
2253
2149
|
};
|
|
2254
|
-
const
|
|
2150
|
+
const se_PardotConnectorProfileCredentials = (input, context) => {
|
|
2255
2151
|
return {
|
|
2256
2152
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2257
2153
|
...(input.clientCredentialsArn != null && { clientCredentialsArn: input.clientCredentialsArn }),
|
|
2258
|
-
...(input.oAuthRequest != null && {
|
|
2259
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2260
|
-
}),
|
|
2154
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2261
2155
|
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2262
2156
|
};
|
|
2263
2157
|
};
|
|
2264
|
-
const
|
|
2158
|
+
const se_PardotConnectorProfileProperties = (input, context) => {
|
|
2265
2159
|
return {
|
|
2266
2160
|
...(input.businessUnitId != null && { businessUnitId: input.businessUnitId }),
|
|
2267
2161
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2268
2162
|
...(input.isSandboxEnvironment != null && { isSandboxEnvironment: input.isSandboxEnvironment }),
|
|
2269
2163
|
};
|
|
2270
2164
|
};
|
|
2271
|
-
const
|
|
2165
|
+
const se_PardotSourceProperties = (input, context) => {
|
|
2272
2166
|
return {
|
|
2273
2167
|
...(input.object != null && { object: input.object }),
|
|
2274
2168
|
};
|
|
2275
2169
|
};
|
|
2276
|
-
const
|
|
2170
|
+
const se_PathPrefixHierarchy = (input, context) => {
|
|
2277
2171
|
return input
|
|
2278
2172
|
.filter((e) => e != null)
|
|
2279
2173
|
.map((entry) => {
|
|
2280
2174
|
return entry;
|
|
2281
2175
|
});
|
|
2282
2176
|
};
|
|
2283
|
-
const
|
|
2177
|
+
const se_PrefixConfig = (input, context) => {
|
|
2284
2178
|
return {
|
|
2285
2179
|
...(input.pathPrefixHierarchy != null && {
|
|
2286
|
-
pathPrefixHierarchy:
|
|
2180
|
+
pathPrefixHierarchy: se_PathPrefixHierarchy(input.pathPrefixHierarchy, context),
|
|
2287
2181
|
}),
|
|
2288
2182
|
...(input.prefixFormat != null && { prefixFormat: input.prefixFormat }),
|
|
2289
2183
|
...(input.prefixType != null && { prefixType: input.prefixType }),
|
|
2290
2184
|
};
|
|
2291
2185
|
};
|
|
2292
|
-
const
|
|
2186
|
+
const se_ProfilePropertiesMap = (input, context) => {
|
|
2293
2187
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2294
2188
|
if (value === null) {
|
|
2295
2189
|
return acc;
|
|
@@ -2298,13 +2192,13 @@ const serializeAws_restJson1ProfilePropertiesMap = (input, context) => {
|
|
|
2298
2192
|
return acc;
|
|
2299
2193
|
}, {});
|
|
2300
2194
|
};
|
|
2301
|
-
const
|
|
2195
|
+
const se_RedshiftConnectorProfileCredentials = (input, context) => {
|
|
2302
2196
|
return {
|
|
2303
2197
|
...(input.password != null && { password: input.password }),
|
|
2304
2198
|
...(input.username != null && { username: input.username }),
|
|
2305
2199
|
};
|
|
2306
2200
|
};
|
|
2307
|
-
const
|
|
2201
|
+
const se_RedshiftConnectorProfileProperties = (input, context) => {
|
|
2308
2202
|
return {
|
|
2309
2203
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2310
2204
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
@@ -2317,62 +2211,58 @@ const serializeAws_restJson1RedshiftConnectorProfileProperties = (input, context
|
|
|
2317
2211
|
...(input.workgroupName != null && { workgroupName: input.workgroupName }),
|
|
2318
2212
|
};
|
|
2319
2213
|
};
|
|
2320
|
-
const
|
|
2214
|
+
const se_RedshiftDestinationProperties = (input, context) => {
|
|
2321
2215
|
return {
|
|
2322
2216
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2323
2217
|
...(input.errorHandlingConfig != null && {
|
|
2324
|
-
errorHandlingConfig:
|
|
2218
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2325
2219
|
}),
|
|
2326
2220
|
...(input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName }),
|
|
2327
2221
|
...(input.object != null && { object: input.object }),
|
|
2328
2222
|
};
|
|
2329
2223
|
};
|
|
2330
|
-
const
|
|
2224
|
+
const se_S3DestinationProperties = (input, context) => {
|
|
2331
2225
|
return {
|
|
2332
2226
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2333
2227
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2334
2228
|
...(input.s3OutputFormatConfig != null && {
|
|
2335
|
-
s3OutputFormatConfig:
|
|
2229
|
+
s3OutputFormatConfig: se_S3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2336
2230
|
}),
|
|
2337
2231
|
};
|
|
2338
2232
|
};
|
|
2339
|
-
const
|
|
2233
|
+
const se_S3InputFormatConfig = (input, context) => {
|
|
2340
2234
|
return {
|
|
2341
2235
|
...(input.s3InputFileType != null && { s3InputFileType: input.s3InputFileType }),
|
|
2342
2236
|
};
|
|
2343
2237
|
};
|
|
2344
|
-
const
|
|
2238
|
+
const se_S3OutputFormatConfig = (input, context) => {
|
|
2345
2239
|
return {
|
|
2346
2240
|
...(input.aggregationConfig != null && {
|
|
2347
|
-
aggregationConfig:
|
|
2241
|
+
aggregationConfig: se_AggregationConfig(input.aggregationConfig, context),
|
|
2348
2242
|
}),
|
|
2349
2243
|
...(input.fileType != null && { fileType: input.fileType }),
|
|
2350
|
-
...(input.prefixConfig != null && {
|
|
2351
|
-
prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context),
|
|
2352
|
-
}),
|
|
2244
|
+
...(input.prefixConfig != null && { prefixConfig: se_PrefixConfig(input.prefixConfig, context) }),
|
|
2353
2245
|
...(input.preserveSourceDataTyping != null && { preserveSourceDataTyping: input.preserveSourceDataTyping }),
|
|
2354
2246
|
};
|
|
2355
2247
|
};
|
|
2356
|
-
const
|
|
2248
|
+
const se_S3SourceProperties = (input, context) => {
|
|
2357
2249
|
return {
|
|
2358
2250
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2359
2251
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2360
2252
|
...(input.s3InputFormatConfig != null && {
|
|
2361
|
-
s3InputFormatConfig:
|
|
2253
|
+
s3InputFormatConfig: se_S3InputFormatConfig(input.s3InputFormatConfig, context),
|
|
2362
2254
|
}),
|
|
2363
2255
|
};
|
|
2364
2256
|
};
|
|
2365
|
-
const
|
|
2257
|
+
const se_SalesforceConnectorProfileCredentials = (input, context) => {
|
|
2366
2258
|
return {
|
|
2367
2259
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2368
2260
|
...(input.clientCredentialsArn != null && { clientCredentialsArn: input.clientCredentialsArn }),
|
|
2369
|
-
...(input.oAuthRequest != null && {
|
|
2370
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2371
|
-
}),
|
|
2261
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2372
2262
|
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2373
2263
|
};
|
|
2374
2264
|
};
|
|
2375
|
-
const
|
|
2265
|
+
const se_SalesforceConnectorProfileProperties = (input, context) => {
|
|
2376
2266
|
return {
|
|
2377
2267
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2378
2268
|
...(input.isSandboxEnvironment != null && { isSandboxEnvironment: input.isSandboxEnvironment }),
|
|
@@ -2381,20 +2271,18 @@ const serializeAws_restJson1SalesforceConnectorProfileProperties = (input, conte
|
|
|
2381
2271
|
}),
|
|
2382
2272
|
};
|
|
2383
2273
|
};
|
|
2384
|
-
const
|
|
2274
|
+
const se_SalesforceDestinationProperties = (input, context) => {
|
|
2385
2275
|
return {
|
|
2386
2276
|
...(input.dataTransferApi != null && { dataTransferApi: input.dataTransferApi }),
|
|
2387
2277
|
...(input.errorHandlingConfig != null && {
|
|
2388
|
-
errorHandlingConfig:
|
|
2389
|
-
}),
|
|
2390
|
-
...(input.idFieldNames != null && {
|
|
2391
|
-
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2278
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2392
2279
|
}),
|
|
2280
|
+
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
2393
2281
|
...(input.object != null && { object: input.object }),
|
|
2394
2282
|
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2395
2283
|
};
|
|
2396
2284
|
};
|
|
2397
|
-
const
|
|
2285
|
+
const se_SalesforceSourceProperties = (input, context) => {
|
|
2398
2286
|
return {
|
|
2399
2287
|
...(input.dataTransferApi != null && { dataTransferApi: input.dataTransferApi }),
|
|
2400
2288
|
...(input.enableDynamicFieldUpdate != null && { enableDynamicFieldUpdate: input.enableDynamicFieldUpdate }),
|
|
@@ -2402,50 +2290,44 @@ const serializeAws_restJson1SalesforceSourceProperties = (input, context) => {
|
|
|
2402
2290
|
...(input.object != null && { object: input.object }),
|
|
2403
2291
|
};
|
|
2404
2292
|
};
|
|
2405
|
-
const
|
|
2293
|
+
const se_SAPODataConnectorProfileCredentials = (input, context) => {
|
|
2406
2294
|
return {
|
|
2407
2295
|
...(input.basicAuthCredentials != null && {
|
|
2408
|
-
basicAuthCredentials:
|
|
2409
|
-
}),
|
|
2410
|
-
...(input.oAuthCredentials != null && {
|
|
2411
|
-
oAuthCredentials: serializeAws_restJson1OAuthCredentials(input.oAuthCredentials, context),
|
|
2296
|
+
basicAuthCredentials: se_BasicAuthCredentials(input.basicAuthCredentials, context),
|
|
2412
2297
|
}),
|
|
2298
|
+
...(input.oAuthCredentials != null && { oAuthCredentials: se_OAuthCredentials(input.oAuthCredentials, context) }),
|
|
2413
2299
|
};
|
|
2414
2300
|
};
|
|
2415
|
-
const
|
|
2301
|
+
const se_SAPODataConnectorProfileProperties = (input, context) => {
|
|
2416
2302
|
return {
|
|
2417
2303
|
...(input.applicationHostUrl != null && { applicationHostUrl: input.applicationHostUrl }),
|
|
2418
2304
|
...(input.applicationServicePath != null && { applicationServicePath: input.applicationServicePath }),
|
|
2419
2305
|
...(input.clientNumber != null && { clientNumber: input.clientNumber }),
|
|
2420
2306
|
...(input.logonLanguage != null && { logonLanguage: input.logonLanguage }),
|
|
2421
|
-
...(input.oAuthProperties != null && {
|
|
2422
|
-
oAuthProperties: serializeAws_restJson1OAuthProperties(input.oAuthProperties, context),
|
|
2423
|
-
}),
|
|
2307
|
+
...(input.oAuthProperties != null && { oAuthProperties: se_OAuthProperties(input.oAuthProperties, context) }),
|
|
2424
2308
|
...(input.portNumber != null && { portNumber: input.portNumber }),
|
|
2425
2309
|
...(input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
2426
2310
|
};
|
|
2427
2311
|
};
|
|
2428
|
-
const
|
|
2312
|
+
const se_SAPODataDestinationProperties = (input, context) => {
|
|
2429
2313
|
return {
|
|
2430
2314
|
...(input.errorHandlingConfig != null && {
|
|
2431
|
-
errorHandlingConfig:
|
|
2432
|
-
}),
|
|
2433
|
-
...(input.idFieldNames != null && {
|
|
2434
|
-
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2315
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2435
2316
|
}),
|
|
2317
|
+
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
2436
2318
|
...(input.objectPath != null && { objectPath: input.objectPath }),
|
|
2437
2319
|
...(input.successResponseHandlingConfig != null && {
|
|
2438
|
-
successResponseHandlingConfig:
|
|
2320
|
+
successResponseHandlingConfig: se_SuccessResponseHandlingConfig(input.successResponseHandlingConfig, context),
|
|
2439
2321
|
}),
|
|
2440
2322
|
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2441
2323
|
};
|
|
2442
2324
|
};
|
|
2443
|
-
const
|
|
2325
|
+
const se_SAPODataSourceProperties = (input, context) => {
|
|
2444
2326
|
return {
|
|
2445
2327
|
...(input.objectPath != null && { objectPath: input.objectPath }),
|
|
2446
2328
|
};
|
|
2447
2329
|
};
|
|
2448
|
-
const
|
|
2330
|
+
const se_ScheduledTriggerProperties = (input, context) => {
|
|
2449
2331
|
return {
|
|
2450
2332
|
...(input.dataPullMode != null && { dataPullMode: input.dataPullMode }),
|
|
2451
2333
|
...(input.firstExecutionFrom != null && {
|
|
@@ -2461,62 +2343,60 @@ const serializeAws_restJson1ScheduledTriggerProperties = (input, context) => {
|
|
|
2461
2343
|
...(input.timezone != null && { timezone: input.timezone }),
|
|
2462
2344
|
};
|
|
2463
2345
|
};
|
|
2464
|
-
const
|
|
2346
|
+
const se_ServiceNowConnectorProfileCredentials = (input, context) => {
|
|
2465
2347
|
return {
|
|
2466
2348
|
...(input.password != null && { password: input.password }),
|
|
2467
2349
|
...(input.username != null && { username: input.username }),
|
|
2468
2350
|
};
|
|
2469
2351
|
};
|
|
2470
|
-
const
|
|
2352
|
+
const se_ServiceNowConnectorProfileProperties = (input, context) => {
|
|
2471
2353
|
return {
|
|
2472
2354
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2473
2355
|
};
|
|
2474
2356
|
};
|
|
2475
|
-
const
|
|
2357
|
+
const se_ServiceNowSourceProperties = (input, context) => {
|
|
2476
2358
|
return {
|
|
2477
2359
|
...(input.object != null && { object: input.object }),
|
|
2478
2360
|
};
|
|
2479
2361
|
};
|
|
2480
|
-
const
|
|
2362
|
+
const se_SingularConnectorProfileCredentials = (input, context) => {
|
|
2481
2363
|
return {
|
|
2482
2364
|
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
2483
2365
|
};
|
|
2484
2366
|
};
|
|
2485
|
-
const
|
|
2367
|
+
const se_SingularConnectorProfileProperties = (input, context) => {
|
|
2486
2368
|
return {};
|
|
2487
2369
|
};
|
|
2488
|
-
const
|
|
2370
|
+
const se_SingularSourceProperties = (input, context) => {
|
|
2489
2371
|
return {
|
|
2490
2372
|
...(input.object != null && { object: input.object }),
|
|
2491
2373
|
};
|
|
2492
2374
|
};
|
|
2493
|
-
const
|
|
2375
|
+
const se_SlackConnectorProfileCredentials = (input, context) => {
|
|
2494
2376
|
return {
|
|
2495
2377
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2496
2378
|
...(input.clientId != null && { clientId: input.clientId }),
|
|
2497
2379
|
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2498
|
-
...(input.oAuthRequest != null && {
|
|
2499
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2500
|
-
}),
|
|
2380
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2501
2381
|
};
|
|
2502
2382
|
};
|
|
2503
|
-
const
|
|
2383
|
+
const se_SlackConnectorProfileProperties = (input, context) => {
|
|
2504
2384
|
return {
|
|
2505
2385
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2506
2386
|
};
|
|
2507
2387
|
};
|
|
2508
|
-
const
|
|
2388
|
+
const se_SlackSourceProperties = (input, context) => {
|
|
2509
2389
|
return {
|
|
2510
2390
|
...(input.object != null && { object: input.object }),
|
|
2511
2391
|
};
|
|
2512
2392
|
};
|
|
2513
|
-
const
|
|
2393
|
+
const se_SnowflakeConnectorProfileCredentials = (input, context) => {
|
|
2514
2394
|
return {
|
|
2515
2395
|
...(input.password != null && { password: input.password }),
|
|
2516
2396
|
...(input.username != null && { username: input.username }),
|
|
2517
2397
|
};
|
|
2518
2398
|
};
|
|
2519
|
-
const
|
|
2399
|
+
const se_SnowflakeConnectorProfileProperties = (input, context) => {
|
|
2520
2400
|
return {
|
|
2521
2401
|
...(input.accountName != null && { accountName: input.accountName }),
|
|
2522
2402
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
@@ -2527,84 +2407,68 @@ const serializeAws_restJson1SnowflakeConnectorProfileProperties = (input, contex
|
|
|
2527
2407
|
...(input.warehouse != null && { warehouse: input.warehouse }),
|
|
2528
2408
|
};
|
|
2529
2409
|
};
|
|
2530
|
-
const
|
|
2410
|
+
const se_SnowflakeDestinationProperties = (input, context) => {
|
|
2531
2411
|
return {
|
|
2532
2412
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2533
2413
|
...(input.errorHandlingConfig != null && {
|
|
2534
|
-
errorHandlingConfig:
|
|
2414
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2535
2415
|
}),
|
|
2536
2416
|
...(input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName }),
|
|
2537
2417
|
...(input.object != null && { object: input.object }),
|
|
2538
2418
|
};
|
|
2539
2419
|
};
|
|
2540
|
-
const
|
|
2420
|
+
const se_SourceConnectorProperties = (input, context) => {
|
|
2541
2421
|
return {
|
|
2542
|
-
...(input.Amplitude != null && {
|
|
2543
|
-
Amplitude: serializeAws_restJson1AmplitudeSourceProperties(input.Amplitude, context),
|
|
2544
|
-
}),
|
|
2422
|
+
...(input.Amplitude != null && { Amplitude: se_AmplitudeSourceProperties(input.Amplitude, context) }),
|
|
2545
2423
|
...(input.CustomConnector != null && {
|
|
2546
|
-
CustomConnector:
|
|
2547
|
-
}),
|
|
2548
|
-
...(input.Datadog != null && { Datadog: serializeAws_restJson1DatadogSourceProperties(input.Datadog, context) }),
|
|
2549
|
-
...(input.Dynatrace != null && {
|
|
2550
|
-
Dynatrace: serializeAws_restJson1DynatraceSourceProperties(input.Dynatrace, context),
|
|
2424
|
+
CustomConnector: se_CustomConnectorSourceProperties(input.CustomConnector, context),
|
|
2551
2425
|
}),
|
|
2426
|
+
...(input.Datadog != null && { Datadog: se_DatadogSourceProperties(input.Datadog, context) }),
|
|
2427
|
+
...(input.Dynatrace != null && { Dynatrace: se_DynatraceSourceProperties(input.Dynatrace, context) }),
|
|
2552
2428
|
...(input.GoogleAnalytics != null && {
|
|
2553
|
-
GoogleAnalytics:
|
|
2554
|
-
}),
|
|
2555
|
-
...(input.InforNexus != null && {
|
|
2556
|
-
|
|
2557
|
-
}),
|
|
2558
|
-
...(input.
|
|
2559
|
-
...(input.
|
|
2560
|
-
...(input.
|
|
2561
|
-
...(input.
|
|
2562
|
-
|
|
2563
|
-
}),
|
|
2564
|
-
...(input.
|
|
2565
|
-
|
|
2566
|
-
}),
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
...(input.Singular != null && {
|
|
2571
|
-
Singular: serializeAws_restJson1SingularSourceProperties(input.Singular, context),
|
|
2572
|
-
}),
|
|
2573
|
-
...(input.Slack != null && { Slack: serializeAws_restJson1SlackSourceProperties(input.Slack, context) }),
|
|
2574
|
-
...(input.Trendmicro != null && {
|
|
2575
|
-
Trendmicro: serializeAws_restJson1TrendmicroSourceProperties(input.Trendmicro, context),
|
|
2576
|
-
}),
|
|
2577
|
-
...(input.Veeva != null && { Veeva: serializeAws_restJson1VeevaSourceProperties(input.Veeva, context) }),
|
|
2578
|
-
...(input.Zendesk != null && { Zendesk: serializeAws_restJson1ZendeskSourceProperties(input.Zendesk, context) }),
|
|
2579
|
-
};
|
|
2580
|
-
};
|
|
2581
|
-
const serializeAws_restJson1SourceFields = (input, context) => {
|
|
2429
|
+
GoogleAnalytics: se_GoogleAnalyticsSourceProperties(input.GoogleAnalytics, context),
|
|
2430
|
+
}),
|
|
2431
|
+
...(input.InforNexus != null && { InforNexus: se_InforNexusSourceProperties(input.InforNexus, context) }),
|
|
2432
|
+
...(input.Marketo != null && { Marketo: se_MarketoSourceProperties(input.Marketo, context) }),
|
|
2433
|
+
...(input.Pardot != null && { Pardot: se_PardotSourceProperties(input.Pardot, context) }),
|
|
2434
|
+
...(input.S3 != null && { S3: se_S3SourceProperties(input.S3, context) }),
|
|
2435
|
+
...(input.SAPOData != null && { SAPOData: se_SAPODataSourceProperties(input.SAPOData, context) }),
|
|
2436
|
+
...(input.Salesforce != null && { Salesforce: se_SalesforceSourceProperties(input.Salesforce, context) }),
|
|
2437
|
+
...(input.ServiceNow != null && { ServiceNow: se_ServiceNowSourceProperties(input.ServiceNow, context) }),
|
|
2438
|
+
...(input.Singular != null && { Singular: se_SingularSourceProperties(input.Singular, context) }),
|
|
2439
|
+
...(input.Slack != null && { Slack: se_SlackSourceProperties(input.Slack, context) }),
|
|
2440
|
+
...(input.Trendmicro != null && { Trendmicro: se_TrendmicroSourceProperties(input.Trendmicro, context) }),
|
|
2441
|
+
...(input.Veeva != null && { Veeva: se_VeevaSourceProperties(input.Veeva, context) }),
|
|
2442
|
+
...(input.Zendesk != null && { Zendesk: se_ZendeskSourceProperties(input.Zendesk, context) }),
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
const se_SourceFields = (input, context) => {
|
|
2582
2446
|
return input
|
|
2583
2447
|
.filter((e) => e != null)
|
|
2584
2448
|
.map((entry) => {
|
|
2585
2449
|
return entry;
|
|
2586
2450
|
});
|
|
2587
2451
|
};
|
|
2588
|
-
const
|
|
2452
|
+
const se_SourceFlowConfig = (input, context) => {
|
|
2589
2453
|
return {
|
|
2590
2454
|
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
2591
2455
|
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
2592
2456
|
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
2593
2457
|
...(input.incrementalPullConfig != null && {
|
|
2594
|
-
incrementalPullConfig:
|
|
2458
|
+
incrementalPullConfig: se_IncrementalPullConfig(input.incrementalPullConfig, context),
|
|
2595
2459
|
}),
|
|
2596
2460
|
...(input.sourceConnectorProperties != null && {
|
|
2597
|
-
sourceConnectorProperties:
|
|
2461
|
+
sourceConnectorProperties: se_SourceConnectorProperties(input.sourceConnectorProperties, context),
|
|
2598
2462
|
}),
|
|
2599
2463
|
};
|
|
2600
2464
|
};
|
|
2601
|
-
const
|
|
2465
|
+
const se_SuccessResponseHandlingConfig = (input, context) => {
|
|
2602
2466
|
return {
|
|
2603
2467
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2604
2468
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2605
2469
|
};
|
|
2606
2470
|
};
|
|
2607
|
-
const
|
|
2471
|
+
const se_TagMap = (input, context) => {
|
|
2608
2472
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2609
2473
|
if (value === null) {
|
|
2610
2474
|
return acc;
|
|
@@ -2613,22 +2477,18 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2613
2477
|
return acc;
|
|
2614
2478
|
}, {});
|
|
2615
2479
|
};
|
|
2616
|
-
const
|
|
2480
|
+
const se_Task = (input, context) => {
|
|
2617
2481
|
return {
|
|
2618
2482
|
...(input.connectorOperator != null && {
|
|
2619
|
-
connectorOperator:
|
|
2483
|
+
connectorOperator: se_ConnectorOperator(input.connectorOperator, context),
|
|
2620
2484
|
}),
|
|
2621
2485
|
...(input.destinationField != null && { destinationField: input.destinationField }),
|
|
2622
|
-
...(input.sourceFields != null && {
|
|
2623
|
-
|
|
2624
|
-
}),
|
|
2625
|
-
...(input.taskProperties != null && {
|
|
2626
|
-
taskProperties: serializeAws_restJson1TaskPropertiesMap(input.taskProperties, context),
|
|
2627
|
-
}),
|
|
2486
|
+
...(input.sourceFields != null && { sourceFields: se_SourceFields(input.sourceFields, context) }),
|
|
2487
|
+
...(input.taskProperties != null && { taskProperties: se_TaskPropertiesMap(input.taskProperties, context) }),
|
|
2628
2488
|
...(input.taskType != null && { taskType: input.taskType }),
|
|
2629
2489
|
};
|
|
2630
2490
|
};
|
|
2631
|
-
const
|
|
2491
|
+
const se_TaskPropertiesMap = (input, context) => {
|
|
2632
2492
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2633
2493
|
if (value === null) {
|
|
2634
2494
|
return acc;
|
|
@@ -2637,14 +2497,14 @@ const serializeAws_restJson1TaskPropertiesMap = (input, context) => {
|
|
|
2637
2497
|
return acc;
|
|
2638
2498
|
}, {});
|
|
2639
2499
|
};
|
|
2640
|
-
const
|
|
2500
|
+
const se_Tasks = (input, context) => {
|
|
2641
2501
|
return input
|
|
2642
2502
|
.filter((e) => e != null)
|
|
2643
2503
|
.map((entry) => {
|
|
2644
|
-
return
|
|
2504
|
+
return se_Task(entry, context);
|
|
2645
2505
|
});
|
|
2646
2506
|
};
|
|
2647
|
-
const
|
|
2507
|
+
const se_TokenUrlCustomProperties = (input, context) => {
|
|
2648
2508
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2649
2509
|
if (value === null) {
|
|
2650
2510
|
return acc;
|
|
@@ -2653,66 +2513,62 @@ const serializeAws_restJson1TokenUrlCustomProperties = (input, context) => {
|
|
|
2653
2513
|
return acc;
|
|
2654
2514
|
}, {});
|
|
2655
2515
|
};
|
|
2656
|
-
const
|
|
2516
|
+
const se_TrendmicroConnectorProfileCredentials = (input, context) => {
|
|
2657
2517
|
return {
|
|
2658
2518
|
...(input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }),
|
|
2659
2519
|
};
|
|
2660
2520
|
};
|
|
2661
|
-
const
|
|
2521
|
+
const se_TrendmicroConnectorProfileProperties = (input, context) => {
|
|
2662
2522
|
return {};
|
|
2663
2523
|
};
|
|
2664
|
-
const
|
|
2524
|
+
const se_TrendmicroSourceProperties = (input, context) => {
|
|
2665
2525
|
return {
|
|
2666
2526
|
...(input.object != null && { object: input.object }),
|
|
2667
2527
|
};
|
|
2668
2528
|
};
|
|
2669
|
-
const
|
|
2529
|
+
const se_TriggerConfig = (input, context) => {
|
|
2670
2530
|
return {
|
|
2671
2531
|
...(input.triggerProperties != null && {
|
|
2672
|
-
triggerProperties:
|
|
2532
|
+
triggerProperties: se_TriggerProperties(input.triggerProperties, context),
|
|
2673
2533
|
}),
|
|
2674
2534
|
...(input.triggerType != null && { triggerType: input.triggerType }),
|
|
2675
2535
|
};
|
|
2676
2536
|
};
|
|
2677
|
-
const
|
|
2537
|
+
const se_TriggerProperties = (input, context) => {
|
|
2678
2538
|
return {
|
|
2679
|
-
...(input.Scheduled != null && {
|
|
2680
|
-
Scheduled: serializeAws_restJson1ScheduledTriggerProperties(input.Scheduled, context),
|
|
2681
|
-
}),
|
|
2539
|
+
...(input.Scheduled != null && { Scheduled: se_ScheduledTriggerProperties(input.Scheduled, context) }),
|
|
2682
2540
|
};
|
|
2683
2541
|
};
|
|
2684
|
-
const
|
|
2542
|
+
const se_UpsolverDestinationProperties = (input, context) => {
|
|
2685
2543
|
return {
|
|
2686
2544
|
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2687
2545
|
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2688
2546
|
...(input.s3OutputFormatConfig != null && {
|
|
2689
|
-
s3OutputFormatConfig:
|
|
2547
|
+
s3OutputFormatConfig: se_UpsolverS3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2690
2548
|
}),
|
|
2691
2549
|
};
|
|
2692
2550
|
};
|
|
2693
|
-
const
|
|
2551
|
+
const se_UpsolverS3OutputFormatConfig = (input, context) => {
|
|
2694
2552
|
return {
|
|
2695
2553
|
...(input.aggregationConfig != null && {
|
|
2696
|
-
aggregationConfig:
|
|
2554
|
+
aggregationConfig: se_AggregationConfig(input.aggregationConfig, context),
|
|
2697
2555
|
}),
|
|
2698
2556
|
...(input.fileType != null && { fileType: input.fileType }),
|
|
2699
|
-
...(input.prefixConfig != null && {
|
|
2700
|
-
prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context),
|
|
2701
|
-
}),
|
|
2557
|
+
...(input.prefixConfig != null && { prefixConfig: se_PrefixConfig(input.prefixConfig, context) }),
|
|
2702
2558
|
};
|
|
2703
2559
|
};
|
|
2704
|
-
const
|
|
2560
|
+
const se_VeevaConnectorProfileCredentials = (input, context) => {
|
|
2705
2561
|
return {
|
|
2706
2562
|
...(input.password != null && { password: input.password }),
|
|
2707
2563
|
...(input.username != null && { username: input.username }),
|
|
2708
2564
|
};
|
|
2709
2565
|
};
|
|
2710
|
-
const
|
|
2566
|
+
const se_VeevaConnectorProfileProperties = (input, context) => {
|
|
2711
2567
|
return {
|
|
2712
2568
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2713
2569
|
};
|
|
2714
2570
|
};
|
|
2715
|
-
const
|
|
2571
|
+
const se_VeevaSourceProperties = (input, context) => {
|
|
2716
2572
|
return {
|
|
2717
2573
|
...(input.documentType != null && { documentType: input.documentType }),
|
|
2718
2574
|
...(input.includeAllVersions != null && { includeAllVersions: input.includeAllVersions }),
|
|
@@ -2721,56 +2577,52 @@ const serializeAws_restJson1VeevaSourceProperties = (input, context) => {
|
|
|
2721
2577
|
...(input.object != null && { object: input.object }),
|
|
2722
2578
|
};
|
|
2723
2579
|
};
|
|
2724
|
-
const
|
|
2580
|
+
const se_ZendeskConnectorProfileCredentials = (input, context) => {
|
|
2725
2581
|
return {
|
|
2726
2582
|
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2727
2583
|
...(input.clientId != null && { clientId: input.clientId }),
|
|
2728
2584
|
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2729
|
-
...(input.oAuthRequest != null && {
|
|
2730
|
-
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2731
|
-
}),
|
|
2585
|
+
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2732
2586
|
};
|
|
2733
2587
|
};
|
|
2734
|
-
const
|
|
2588
|
+
const se_ZendeskConnectorProfileProperties = (input, context) => {
|
|
2735
2589
|
return {
|
|
2736
2590
|
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2737
2591
|
};
|
|
2738
2592
|
};
|
|
2739
|
-
const
|
|
2593
|
+
const se_ZendeskDestinationProperties = (input, context) => {
|
|
2740
2594
|
return {
|
|
2741
2595
|
...(input.errorHandlingConfig != null && {
|
|
2742
|
-
errorHandlingConfig:
|
|
2743
|
-
}),
|
|
2744
|
-
...(input.idFieldNames != null && {
|
|
2745
|
-
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2596
|
+
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2746
2597
|
}),
|
|
2598
|
+
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
2747
2599
|
...(input.object != null && { object: input.object }),
|
|
2748
2600
|
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2749
2601
|
};
|
|
2750
2602
|
};
|
|
2751
|
-
const
|
|
2603
|
+
const se_ZendeskSourceProperties = (input, context) => {
|
|
2752
2604
|
return {
|
|
2753
2605
|
...(input.object != null && { object: input.object }),
|
|
2754
2606
|
};
|
|
2755
2607
|
};
|
|
2756
|
-
const
|
|
2608
|
+
const de_AggregationConfig = (output, context) => {
|
|
2757
2609
|
return {
|
|
2758
2610
|
aggregationType: __expectString(output.aggregationType),
|
|
2759
2611
|
targetFileSize: __expectLong(output.targetFileSize),
|
|
2760
2612
|
};
|
|
2761
2613
|
};
|
|
2762
|
-
const
|
|
2614
|
+
const de_AmplitudeConnectorProfileProperties = (output, context) => {
|
|
2763
2615
|
return {};
|
|
2764
2616
|
};
|
|
2765
|
-
const
|
|
2617
|
+
const de_AmplitudeMetadata = (output, context) => {
|
|
2766
2618
|
return {};
|
|
2767
2619
|
};
|
|
2768
|
-
const
|
|
2620
|
+
const de_AmplitudeSourceProperties = (output, context) => {
|
|
2769
2621
|
return {
|
|
2770
2622
|
object: __expectString(output.object),
|
|
2771
2623
|
};
|
|
2772
2624
|
};
|
|
2773
|
-
const
|
|
2625
|
+
const de_AuthCodeUrlList = (output, context) => {
|
|
2774
2626
|
const retVal = (output || [])
|
|
2775
2627
|
.filter((e) => e != null)
|
|
2776
2628
|
.map((entry) => {
|
|
@@ -2781,24 +2633,20 @@ const deserializeAws_restJson1AuthCodeUrlList = (output, context) => {
|
|
|
2781
2633
|
});
|
|
2782
2634
|
return retVal;
|
|
2783
2635
|
};
|
|
2784
|
-
const
|
|
2636
|
+
const de_AuthenticationConfig = (output, context) => {
|
|
2785
2637
|
return {
|
|
2786
|
-
customAuthConfigs: output.customAuthConfigs != null
|
|
2787
|
-
? deserializeAws_restJson1CustomAuthConfigList(output.customAuthConfigs, context)
|
|
2788
|
-
: undefined,
|
|
2638
|
+
customAuthConfigs: output.customAuthConfigs != null ? de_CustomAuthConfigList(output.customAuthConfigs, context) : undefined,
|
|
2789
2639
|
isApiKeyAuthSupported: __expectBoolean(output.isApiKeyAuthSupported),
|
|
2790
2640
|
isBasicAuthSupported: __expectBoolean(output.isBasicAuthSupported),
|
|
2791
2641
|
isCustomAuthSupported: __expectBoolean(output.isCustomAuthSupported),
|
|
2792
2642
|
isOAuth2Supported: __expectBoolean(output.isOAuth2Supported),
|
|
2793
|
-
oAuth2Defaults: output.oAuth2Defaults != null
|
|
2794
|
-
? deserializeAws_restJson1OAuth2Defaults(output.oAuth2Defaults, context)
|
|
2795
|
-
: undefined,
|
|
2643
|
+
oAuth2Defaults: output.oAuth2Defaults != null ? de_OAuth2Defaults(output.oAuth2Defaults, context) : undefined,
|
|
2796
2644
|
};
|
|
2797
2645
|
};
|
|
2798
|
-
const
|
|
2646
|
+
const de_AuthParameter = (output, context) => {
|
|
2799
2647
|
return {
|
|
2800
2648
|
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
2801
|
-
?
|
|
2649
|
+
? de_ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
2802
2650
|
: undefined,
|
|
2803
2651
|
description: __expectString(output.description),
|
|
2804
2652
|
isRequired: __expectBoolean(output.isRequired),
|
|
@@ -2807,41 +2655,35 @@ const deserializeAws_restJson1AuthParameter = (output, context) => {
|
|
|
2807
2655
|
label: __expectString(output.label),
|
|
2808
2656
|
};
|
|
2809
2657
|
};
|
|
2810
|
-
const
|
|
2658
|
+
const de_AuthParameterList = (output, context) => {
|
|
2811
2659
|
const retVal = (output || [])
|
|
2812
2660
|
.filter((e) => e != null)
|
|
2813
2661
|
.map((entry) => {
|
|
2814
2662
|
if (entry === null) {
|
|
2815
2663
|
return null;
|
|
2816
2664
|
}
|
|
2817
|
-
return
|
|
2665
|
+
return de_AuthParameter(entry, context);
|
|
2818
2666
|
});
|
|
2819
2667
|
return retVal;
|
|
2820
2668
|
};
|
|
2821
|
-
const
|
|
2669
|
+
const de_ConnectorConfiguration = (output, context) => {
|
|
2822
2670
|
return {
|
|
2823
|
-
authenticationConfig: output.authenticationConfig != null
|
|
2824
|
-
? deserializeAws_restJson1AuthenticationConfig(output.authenticationConfig, context)
|
|
2825
|
-
: undefined,
|
|
2671
|
+
authenticationConfig: output.authenticationConfig != null ? de_AuthenticationConfig(output.authenticationConfig, context) : undefined,
|
|
2826
2672
|
canUseAsDestination: __expectBoolean(output.canUseAsDestination),
|
|
2827
2673
|
canUseAsSource: __expectBoolean(output.canUseAsSource),
|
|
2828
2674
|
connectorArn: __expectString(output.connectorArn),
|
|
2829
2675
|
connectorDescription: __expectString(output.connectorDescription),
|
|
2830
2676
|
connectorLabel: __expectString(output.connectorLabel),
|
|
2831
|
-
connectorMetadata: output.connectorMetadata != null
|
|
2832
|
-
|
|
2833
|
-
: undefined,
|
|
2834
|
-
connectorModes: output.connectorModes != null
|
|
2835
|
-
? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
|
|
2836
|
-
: undefined,
|
|
2677
|
+
connectorMetadata: output.connectorMetadata != null ? de_ConnectorMetadata(output.connectorMetadata, context) : undefined,
|
|
2678
|
+
connectorModes: output.connectorModes != null ? de_ConnectorModeList(output.connectorModes, context) : undefined,
|
|
2837
2679
|
connectorName: __expectString(output.connectorName),
|
|
2838
2680
|
connectorOwner: __expectString(output.connectorOwner),
|
|
2839
2681
|
connectorProvisioningConfig: output.connectorProvisioningConfig != null
|
|
2840
|
-
?
|
|
2682
|
+
? de_ConnectorProvisioningConfig(output.connectorProvisioningConfig, context)
|
|
2841
2683
|
: undefined,
|
|
2842
2684
|
connectorProvisioningType: __expectString(output.connectorProvisioningType),
|
|
2843
2685
|
connectorRuntimeSettings: output.connectorRuntimeSettings != null
|
|
2844
|
-
?
|
|
2686
|
+
? de_ConnectorRuntimeSettingList(output.connectorRuntimeSettings, context)
|
|
2845
2687
|
: undefined,
|
|
2846
2688
|
connectorType: __expectString(output.connectorType),
|
|
2847
2689
|
connectorVersion: __expectString(output.connectorVersion),
|
|
@@ -2853,42 +2695,36 @@ const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
|
|
|
2853
2695
|
: undefined,
|
|
2854
2696
|
registeredBy: __expectString(output.registeredBy),
|
|
2855
2697
|
supportedApiVersions: output.supportedApiVersions != null
|
|
2856
|
-
?
|
|
2698
|
+
? de_SupportedApiVersionList(output.supportedApiVersions, context)
|
|
2857
2699
|
: undefined,
|
|
2858
2700
|
supportedDestinationConnectors: output.supportedDestinationConnectors != null
|
|
2859
|
-
?
|
|
2860
|
-
: undefined,
|
|
2861
|
-
supportedOperators: output.supportedOperators != null
|
|
2862
|
-
? deserializeAws_restJson1SupportedOperatorList(output.supportedOperators, context)
|
|
2701
|
+
? de_ConnectorTypeList(output.supportedDestinationConnectors, context)
|
|
2863
2702
|
: undefined,
|
|
2703
|
+
supportedOperators: output.supportedOperators != null ? de_SupportedOperatorList(output.supportedOperators, context) : undefined,
|
|
2864
2704
|
supportedSchedulingFrequencies: output.supportedSchedulingFrequencies != null
|
|
2865
|
-
?
|
|
2866
|
-
: undefined,
|
|
2867
|
-
supportedTriggerTypes: output.supportedTriggerTypes != null
|
|
2868
|
-
? deserializeAws_restJson1TriggerTypeList(output.supportedTriggerTypes, context)
|
|
2705
|
+
? de_SchedulingFrequencyTypeList(output.supportedSchedulingFrequencies, context)
|
|
2869
2706
|
: undefined,
|
|
2707
|
+
supportedTriggerTypes: output.supportedTriggerTypes != null ? de_TriggerTypeList(output.supportedTriggerTypes, context) : undefined,
|
|
2870
2708
|
supportedWriteOperations: output.supportedWriteOperations != null
|
|
2871
|
-
?
|
|
2709
|
+
? de_SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
2872
2710
|
: undefined,
|
|
2873
2711
|
};
|
|
2874
2712
|
};
|
|
2875
|
-
const
|
|
2713
|
+
const de_ConnectorConfigurationsMap = (output, context) => {
|
|
2876
2714
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2877
2715
|
if (value === null) {
|
|
2878
2716
|
return acc;
|
|
2879
2717
|
}
|
|
2880
|
-
acc[key] =
|
|
2718
|
+
acc[key] = de_ConnectorConfiguration(value, context);
|
|
2881
2719
|
return acc;
|
|
2882
2720
|
}, {});
|
|
2883
2721
|
};
|
|
2884
|
-
const
|
|
2722
|
+
const de_ConnectorDetail = (output, context) => {
|
|
2885
2723
|
return {
|
|
2886
2724
|
applicationType: __expectString(output.applicationType),
|
|
2887
2725
|
connectorDescription: __expectString(output.connectorDescription),
|
|
2888
2726
|
connectorLabel: __expectString(output.connectorLabel),
|
|
2889
|
-
connectorModes: output.connectorModes != null
|
|
2890
|
-
? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
|
|
2891
|
-
: undefined,
|
|
2727
|
+
connectorModes: output.connectorModes != null ? de_ConnectorModeList(output.connectorModes, context) : undefined,
|
|
2892
2728
|
connectorName: __expectString(output.connectorName),
|
|
2893
2729
|
connectorOwner: __expectString(output.connectorOwner),
|
|
2894
2730
|
connectorProvisioningType: __expectString(output.connectorProvisioningType),
|
|
@@ -2900,109 +2736,101 @@ const deserializeAws_restJson1ConnectorDetail = (output, context) => {
|
|
|
2900
2736
|
registeredBy: __expectString(output.registeredBy),
|
|
2901
2737
|
};
|
|
2902
2738
|
};
|
|
2903
|
-
const
|
|
2739
|
+
const de_ConnectorEntity = (output, context) => {
|
|
2904
2740
|
return {
|
|
2905
2741
|
hasNestedEntities: __expectBoolean(output.hasNestedEntities),
|
|
2906
2742
|
label: __expectString(output.label),
|
|
2907
2743
|
name: __expectString(output.name),
|
|
2908
2744
|
};
|
|
2909
2745
|
};
|
|
2910
|
-
const
|
|
2746
|
+
const de_ConnectorEntityField = (output, context) => {
|
|
2911
2747
|
return {
|
|
2912
|
-
customProperties: output.customProperties != null
|
|
2913
|
-
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
2914
|
-
: undefined,
|
|
2748
|
+
customProperties: output.customProperties != null ? de_CustomProperties(output.customProperties, context) : undefined,
|
|
2915
2749
|
defaultValue: __expectString(output.defaultValue),
|
|
2916
2750
|
description: __expectString(output.description),
|
|
2917
2751
|
destinationProperties: output.destinationProperties != null
|
|
2918
|
-
?
|
|
2752
|
+
? de_DestinationFieldProperties(output.destinationProperties, context)
|
|
2919
2753
|
: undefined,
|
|
2920
2754
|
identifier: __expectString(output.identifier),
|
|
2921
2755
|
isDeprecated: __expectBoolean(output.isDeprecated),
|
|
2922
2756
|
isPrimaryKey: __expectBoolean(output.isPrimaryKey),
|
|
2923
2757
|
label: __expectString(output.label),
|
|
2924
2758
|
parentIdentifier: __expectString(output.parentIdentifier),
|
|
2925
|
-
sourceProperties: output.sourceProperties != null
|
|
2926
|
-
? deserializeAws_restJson1SourceFieldProperties(output.sourceProperties, context)
|
|
2927
|
-
: undefined,
|
|
2759
|
+
sourceProperties: output.sourceProperties != null ? de_SourceFieldProperties(output.sourceProperties, context) : undefined,
|
|
2928
2760
|
supportedFieldTypeDetails: output.supportedFieldTypeDetails != null
|
|
2929
|
-
?
|
|
2761
|
+
? de_SupportedFieldTypeDetails(output.supportedFieldTypeDetails, context)
|
|
2930
2762
|
: undefined,
|
|
2931
2763
|
};
|
|
2932
2764
|
};
|
|
2933
|
-
const
|
|
2765
|
+
const de_ConnectorEntityFieldList = (output, context) => {
|
|
2934
2766
|
const retVal = (output || [])
|
|
2935
2767
|
.filter((e) => e != null)
|
|
2936
2768
|
.map((entry) => {
|
|
2937
2769
|
if (entry === null) {
|
|
2938
2770
|
return null;
|
|
2939
2771
|
}
|
|
2940
|
-
return
|
|
2772
|
+
return de_ConnectorEntityField(entry, context);
|
|
2941
2773
|
});
|
|
2942
2774
|
return retVal;
|
|
2943
2775
|
};
|
|
2944
|
-
const
|
|
2776
|
+
const de_ConnectorEntityList = (output, context) => {
|
|
2945
2777
|
const retVal = (output || [])
|
|
2946
2778
|
.filter((e) => e != null)
|
|
2947
2779
|
.map((entry) => {
|
|
2948
2780
|
if (entry === null) {
|
|
2949
2781
|
return null;
|
|
2950
2782
|
}
|
|
2951
|
-
return
|
|
2783
|
+
return de_ConnectorEntity(entry, context);
|
|
2952
2784
|
});
|
|
2953
2785
|
return retVal;
|
|
2954
2786
|
};
|
|
2955
|
-
const
|
|
2787
|
+
const de_ConnectorEntityMap = (output, context) => {
|
|
2956
2788
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2957
2789
|
if (value === null) {
|
|
2958
2790
|
return acc;
|
|
2959
2791
|
}
|
|
2960
|
-
acc[key] =
|
|
2792
|
+
acc[key] = de_ConnectorEntityList(value, context);
|
|
2961
2793
|
return acc;
|
|
2962
2794
|
}, {});
|
|
2963
2795
|
};
|
|
2964
|
-
const
|
|
2796
|
+
const de_ConnectorList = (output, context) => {
|
|
2965
2797
|
const retVal = (output || [])
|
|
2966
2798
|
.filter((e) => e != null)
|
|
2967
2799
|
.map((entry) => {
|
|
2968
2800
|
if (entry === null) {
|
|
2969
2801
|
return null;
|
|
2970
2802
|
}
|
|
2971
|
-
return
|
|
2803
|
+
return de_ConnectorDetail(entry, context);
|
|
2972
2804
|
});
|
|
2973
2805
|
return retVal;
|
|
2974
2806
|
};
|
|
2975
|
-
const
|
|
2976
|
-
return {
|
|
2977
|
-
Amplitude: output.Amplitude != null ?
|
|
2978
|
-
CustomerProfiles: output.CustomerProfiles != null
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
Zendesk: output.Zendesk != null ? deserializeAws_restJson1ZendeskMetadata(output.Zendesk, context) : undefined,
|
|
3003
|
-
};
|
|
3004
|
-
};
|
|
3005
|
-
const deserializeAws_restJson1ConnectorModeList = (output, context) => {
|
|
2807
|
+
const de_ConnectorMetadata = (output, context) => {
|
|
2808
|
+
return {
|
|
2809
|
+
Amplitude: output.Amplitude != null ? de_AmplitudeMetadata(output.Amplitude, context) : undefined,
|
|
2810
|
+
CustomerProfiles: output.CustomerProfiles != null ? de_CustomerProfilesMetadata(output.CustomerProfiles, context) : undefined,
|
|
2811
|
+
Datadog: output.Datadog != null ? de_DatadogMetadata(output.Datadog, context) : undefined,
|
|
2812
|
+
Dynatrace: output.Dynatrace != null ? de_DynatraceMetadata(output.Dynatrace, context) : undefined,
|
|
2813
|
+
EventBridge: output.EventBridge != null ? de_EventBridgeMetadata(output.EventBridge, context) : undefined,
|
|
2814
|
+
GoogleAnalytics: output.GoogleAnalytics != null ? de_GoogleAnalyticsMetadata(output.GoogleAnalytics, context) : undefined,
|
|
2815
|
+
Honeycode: output.Honeycode != null ? de_HoneycodeMetadata(output.Honeycode, context) : undefined,
|
|
2816
|
+
InforNexus: output.InforNexus != null ? de_InforNexusMetadata(output.InforNexus, context) : undefined,
|
|
2817
|
+
Marketo: output.Marketo != null ? de_MarketoMetadata(output.Marketo, context) : undefined,
|
|
2818
|
+
Pardot: output.Pardot != null ? de_PardotMetadata(output.Pardot, context) : undefined,
|
|
2819
|
+
Redshift: output.Redshift != null ? de_RedshiftMetadata(output.Redshift, context) : undefined,
|
|
2820
|
+
S3: output.S3 != null ? de_S3Metadata(output.S3, context) : undefined,
|
|
2821
|
+
SAPOData: output.SAPOData != null ? de_SAPODataMetadata(output.SAPOData, context) : undefined,
|
|
2822
|
+
Salesforce: output.Salesforce != null ? de_SalesforceMetadata(output.Salesforce, context) : undefined,
|
|
2823
|
+
ServiceNow: output.ServiceNow != null ? de_ServiceNowMetadata(output.ServiceNow, context) : undefined,
|
|
2824
|
+
Singular: output.Singular != null ? de_SingularMetadata(output.Singular, context) : undefined,
|
|
2825
|
+
Slack: output.Slack != null ? de_SlackMetadata(output.Slack, context) : undefined,
|
|
2826
|
+
Snowflake: output.Snowflake != null ? de_SnowflakeMetadata(output.Snowflake, context) : undefined,
|
|
2827
|
+
Trendmicro: output.Trendmicro != null ? de_TrendmicroMetadata(output.Trendmicro, context) : undefined,
|
|
2828
|
+
Upsolver: output.Upsolver != null ? de_UpsolverMetadata(output.Upsolver, context) : undefined,
|
|
2829
|
+
Veeva: output.Veeva != null ? de_VeevaMetadata(output.Veeva, context) : undefined,
|
|
2830
|
+
Zendesk: output.Zendesk != null ? de_ZendeskMetadata(output.Zendesk, context) : undefined,
|
|
2831
|
+
};
|
|
2832
|
+
};
|
|
2833
|
+
const de_ConnectorModeList = (output, context) => {
|
|
3006
2834
|
const retVal = (output || [])
|
|
3007
2835
|
.filter((e) => e != null)
|
|
3008
2836
|
.map((entry) => {
|
|
@@ -3013,7 +2841,7 @@ const deserializeAws_restJson1ConnectorModeList = (output, context) => {
|
|
|
3013
2841
|
});
|
|
3014
2842
|
return retVal;
|
|
3015
2843
|
};
|
|
3016
|
-
const
|
|
2844
|
+
const de_ConnectorOperator = (output, context) => {
|
|
3017
2845
|
return {
|
|
3018
2846
|
Amplitude: __expectString(output.Amplitude),
|
|
3019
2847
|
CustomConnector: __expectString(output.CustomConnector),
|
|
@@ -3034,14 +2862,14 @@ const deserializeAws_restJson1ConnectorOperator = (output, context) => {
|
|
|
3034
2862
|
Zendesk: __expectString(output.Zendesk),
|
|
3035
2863
|
};
|
|
3036
2864
|
};
|
|
3037
|
-
const
|
|
2865
|
+
const de_ConnectorProfile = (output, context) => {
|
|
3038
2866
|
return {
|
|
3039
2867
|
connectionMode: __expectString(output.connectionMode),
|
|
3040
2868
|
connectorLabel: __expectString(output.connectorLabel),
|
|
3041
2869
|
connectorProfileArn: __expectString(output.connectorProfileArn),
|
|
3042
2870
|
connectorProfileName: __expectString(output.connectorProfileName),
|
|
3043
2871
|
connectorProfileProperties: output.connectorProfileProperties != null
|
|
3044
|
-
?
|
|
2872
|
+
? de_ConnectorProfileProperties(output.connectorProfileProperties, context)
|
|
3045
2873
|
: undefined,
|
|
3046
2874
|
connectorType: __expectString(output.connectorType),
|
|
3047
2875
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
@@ -3050,89 +2878,55 @@ const deserializeAws_restJson1ConnectorProfile = (output, context) => {
|
|
|
3050
2878
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
3051
2879
|
: undefined,
|
|
3052
2880
|
privateConnectionProvisioningState: output.privateConnectionProvisioningState != null
|
|
3053
|
-
?
|
|
2881
|
+
? de_PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
|
|
3054
2882
|
: undefined,
|
|
3055
2883
|
};
|
|
3056
2884
|
};
|
|
3057
|
-
const
|
|
2885
|
+
const de_ConnectorProfileDetailList = (output, context) => {
|
|
3058
2886
|
const retVal = (output || [])
|
|
3059
2887
|
.filter((e) => e != null)
|
|
3060
2888
|
.map((entry) => {
|
|
3061
2889
|
if (entry === null) {
|
|
3062
2890
|
return null;
|
|
3063
2891
|
}
|
|
3064
|
-
return
|
|
2892
|
+
return de_ConnectorProfile(entry, context);
|
|
3065
2893
|
});
|
|
3066
2894
|
return retVal;
|
|
3067
2895
|
};
|
|
3068
|
-
const
|
|
2896
|
+
const de_ConnectorProfileProperties = (output, context) => {
|
|
3069
2897
|
return {
|
|
3070
|
-
Amplitude: output.Amplitude != null
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
? deserializeAws_restJson1CustomConnectorProfileProperties(output.CustomConnector, context)
|
|
3075
|
-
: undefined,
|
|
3076
|
-
Datadog: output.Datadog != null
|
|
3077
|
-
? deserializeAws_restJson1DatadogConnectorProfileProperties(output.Datadog, context)
|
|
3078
|
-
: undefined,
|
|
3079
|
-
Dynatrace: output.Dynatrace != null
|
|
3080
|
-
? deserializeAws_restJson1DynatraceConnectorProfileProperties(output.Dynatrace, context)
|
|
3081
|
-
: undefined,
|
|
2898
|
+
Amplitude: output.Amplitude != null ? de_AmplitudeConnectorProfileProperties(output.Amplitude, context) : undefined,
|
|
2899
|
+
CustomConnector: output.CustomConnector != null ? de_CustomConnectorProfileProperties(output.CustomConnector, context) : undefined,
|
|
2900
|
+
Datadog: output.Datadog != null ? de_DatadogConnectorProfileProperties(output.Datadog, context) : undefined,
|
|
2901
|
+
Dynatrace: output.Dynatrace != null ? de_DynatraceConnectorProfileProperties(output.Dynatrace, context) : undefined,
|
|
3082
2902
|
GoogleAnalytics: output.GoogleAnalytics != null
|
|
3083
|
-
?
|
|
3084
|
-
: undefined,
|
|
3085
|
-
Honeycode: output.Honeycode != null
|
|
3086
|
-
? deserializeAws_restJson1HoneycodeConnectorProfileProperties(output.Honeycode, context)
|
|
3087
|
-
: undefined,
|
|
3088
|
-
InforNexus: output.InforNexus != null
|
|
3089
|
-
? deserializeAws_restJson1InforNexusConnectorProfileProperties(output.InforNexus, context)
|
|
3090
|
-
: undefined,
|
|
3091
|
-
Marketo: output.Marketo != null
|
|
3092
|
-
? deserializeAws_restJson1MarketoConnectorProfileProperties(output.Marketo, context)
|
|
3093
|
-
: undefined,
|
|
3094
|
-
Pardot: output.Pardot != null
|
|
3095
|
-
? deserializeAws_restJson1PardotConnectorProfileProperties(output.Pardot, context)
|
|
3096
|
-
: undefined,
|
|
3097
|
-
Redshift: output.Redshift != null
|
|
3098
|
-
? deserializeAws_restJson1RedshiftConnectorProfileProperties(output.Redshift, context)
|
|
3099
|
-
: undefined,
|
|
3100
|
-
SAPOData: output.SAPOData != null
|
|
3101
|
-
? deserializeAws_restJson1SAPODataConnectorProfileProperties(output.SAPOData, context)
|
|
3102
|
-
: undefined,
|
|
3103
|
-
Salesforce: output.Salesforce != null
|
|
3104
|
-
? deserializeAws_restJson1SalesforceConnectorProfileProperties(output.Salesforce, context)
|
|
3105
|
-
: undefined,
|
|
3106
|
-
ServiceNow: output.ServiceNow != null
|
|
3107
|
-
? deserializeAws_restJson1ServiceNowConnectorProfileProperties(output.ServiceNow, context)
|
|
3108
|
-
: undefined,
|
|
3109
|
-
Singular: output.Singular != null
|
|
3110
|
-
? deserializeAws_restJson1SingularConnectorProfileProperties(output.Singular, context)
|
|
3111
|
-
: undefined,
|
|
3112
|
-
Slack: output.Slack != null ? deserializeAws_restJson1SlackConnectorProfileProperties(output.Slack, context) : undefined,
|
|
3113
|
-
Snowflake: output.Snowflake != null
|
|
3114
|
-
? deserializeAws_restJson1SnowflakeConnectorProfileProperties(output.Snowflake, context)
|
|
3115
|
-
: undefined,
|
|
3116
|
-
Trendmicro: output.Trendmicro != null
|
|
3117
|
-
? deserializeAws_restJson1TrendmicroConnectorProfileProperties(output.Trendmicro, context)
|
|
3118
|
-
: undefined,
|
|
3119
|
-
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaConnectorProfileProperties(output.Veeva, context) : undefined,
|
|
3120
|
-
Zendesk: output.Zendesk != null
|
|
3121
|
-
? deserializeAws_restJson1ZendeskConnectorProfileProperties(output.Zendesk, context)
|
|
2903
|
+
? de_GoogleAnalyticsConnectorProfileProperties(output.GoogleAnalytics, context)
|
|
3122
2904
|
: undefined,
|
|
2905
|
+
Honeycode: output.Honeycode != null ? de_HoneycodeConnectorProfileProperties(output.Honeycode, context) : undefined,
|
|
2906
|
+
InforNexus: output.InforNexus != null ? de_InforNexusConnectorProfileProperties(output.InforNexus, context) : undefined,
|
|
2907
|
+
Marketo: output.Marketo != null ? de_MarketoConnectorProfileProperties(output.Marketo, context) : undefined,
|
|
2908
|
+
Pardot: output.Pardot != null ? de_PardotConnectorProfileProperties(output.Pardot, context) : undefined,
|
|
2909
|
+
Redshift: output.Redshift != null ? de_RedshiftConnectorProfileProperties(output.Redshift, context) : undefined,
|
|
2910
|
+
SAPOData: output.SAPOData != null ? de_SAPODataConnectorProfileProperties(output.SAPOData, context) : undefined,
|
|
2911
|
+
Salesforce: output.Salesforce != null ? de_SalesforceConnectorProfileProperties(output.Salesforce, context) : undefined,
|
|
2912
|
+
ServiceNow: output.ServiceNow != null ? de_ServiceNowConnectorProfileProperties(output.ServiceNow, context) : undefined,
|
|
2913
|
+
Singular: output.Singular != null ? de_SingularConnectorProfileProperties(output.Singular, context) : undefined,
|
|
2914
|
+
Slack: output.Slack != null ? de_SlackConnectorProfileProperties(output.Slack, context) : undefined,
|
|
2915
|
+
Snowflake: output.Snowflake != null ? de_SnowflakeConnectorProfileProperties(output.Snowflake, context) : undefined,
|
|
2916
|
+
Trendmicro: output.Trendmicro != null ? de_TrendmicroConnectorProfileProperties(output.Trendmicro, context) : undefined,
|
|
2917
|
+
Veeva: output.Veeva != null ? de_VeevaConnectorProfileProperties(output.Veeva, context) : undefined,
|
|
2918
|
+
Zendesk: output.Zendesk != null ? de_ZendeskConnectorProfileProperties(output.Zendesk, context) : undefined,
|
|
3123
2919
|
};
|
|
3124
2920
|
};
|
|
3125
|
-
const
|
|
2921
|
+
const de_ConnectorProvisioningConfig = (output, context) => {
|
|
3126
2922
|
return {
|
|
3127
|
-
lambda: output.lambda != null
|
|
3128
|
-
? deserializeAws_restJson1LambdaConnectorProvisioningConfig(output.lambda, context)
|
|
3129
|
-
: undefined,
|
|
2923
|
+
lambda: output.lambda != null ? de_LambdaConnectorProvisioningConfig(output.lambda, context) : undefined,
|
|
3130
2924
|
};
|
|
3131
2925
|
};
|
|
3132
|
-
const
|
|
2926
|
+
const de_ConnectorRuntimeSetting = (output, context) => {
|
|
3133
2927
|
return {
|
|
3134
2928
|
connectorSuppliedValueOptions: output.connectorSuppliedValueOptions != null
|
|
3135
|
-
?
|
|
2929
|
+
? de_ConnectorSuppliedValueOptionList(output.connectorSuppliedValueOptions, context)
|
|
3136
2930
|
: undefined,
|
|
3137
2931
|
dataType: __expectString(output.dataType),
|
|
3138
2932
|
description: __expectString(output.description),
|
|
@@ -3142,18 +2936,18 @@ const deserializeAws_restJson1ConnectorRuntimeSetting = (output, context) => {
|
|
|
3142
2936
|
scope: __expectString(output.scope),
|
|
3143
2937
|
};
|
|
3144
2938
|
};
|
|
3145
|
-
const
|
|
2939
|
+
const de_ConnectorRuntimeSettingList = (output, context) => {
|
|
3146
2940
|
const retVal = (output || [])
|
|
3147
2941
|
.filter((e) => e != null)
|
|
3148
2942
|
.map((entry) => {
|
|
3149
2943
|
if (entry === null) {
|
|
3150
2944
|
return null;
|
|
3151
2945
|
}
|
|
3152
|
-
return
|
|
2946
|
+
return de_ConnectorRuntimeSetting(entry, context);
|
|
3153
2947
|
});
|
|
3154
2948
|
return retVal;
|
|
3155
2949
|
};
|
|
3156
|
-
const
|
|
2950
|
+
const de_ConnectorSuppliedValueList = (output, context) => {
|
|
3157
2951
|
const retVal = (output || [])
|
|
3158
2952
|
.filter((e) => e != null)
|
|
3159
2953
|
.map((entry) => {
|
|
@@ -3164,7 +2958,7 @@ const deserializeAws_restJson1ConnectorSuppliedValueList = (output, context) =>
|
|
|
3164
2958
|
});
|
|
3165
2959
|
return retVal;
|
|
3166
2960
|
};
|
|
3167
|
-
const
|
|
2961
|
+
const de_ConnectorSuppliedValueOptionList = (output, context) => {
|
|
3168
2962
|
const retVal = (output || [])
|
|
3169
2963
|
.filter((e) => e != null)
|
|
3170
2964
|
.map((entry) => {
|
|
@@ -3175,7 +2969,7 @@ const deserializeAws_restJson1ConnectorSuppliedValueOptionList = (output, contex
|
|
|
3175
2969
|
});
|
|
3176
2970
|
return retVal;
|
|
3177
2971
|
};
|
|
3178
|
-
const
|
|
2972
|
+
const de_ConnectorTypeList = (output, context) => {
|
|
3179
2973
|
const retVal = (output || [])
|
|
3180
2974
|
.filter((e) => e != null)
|
|
3181
2975
|
.map((entry) => {
|
|
@@ -3186,66 +2980,54 @@ const deserializeAws_restJson1ConnectorTypeList = (output, context) => {
|
|
|
3186
2980
|
});
|
|
3187
2981
|
return retVal;
|
|
3188
2982
|
};
|
|
3189
|
-
const
|
|
2983
|
+
const de_CustomAuthConfig = (output, context) => {
|
|
3190
2984
|
return {
|
|
3191
|
-
authParameters: output.authParameters != null
|
|
3192
|
-
? deserializeAws_restJson1AuthParameterList(output.authParameters, context)
|
|
3193
|
-
: undefined,
|
|
2985
|
+
authParameters: output.authParameters != null ? de_AuthParameterList(output.authParameters, context) : undefined,
|
|
3194
2986
|
customAuthenticationType: __expectString(output.customAuthenticationType),
|
|
3195
2987
|
};
|
|
3196
2988
|
};
|
|
3197
|
-
const
|
|
2989
|
+
const de_CustomAuthConfigList = (output, context) => {
|
|
3198
2990
|
const retVal = (output || [])
|
|
3199
2991
|
.filter((e) => e != null)
|
|
3200
2992
|
.map((entry) => {
|
|
3201
2993
|
if (entry === null) {
|
|
3202
2994
|
return null;
|
|
3203
2995
|
}
|
|
3204
|
-
return
|
|
2996
|
+
return de_CustomAuthConfig(entry, context);
|
|
3205
2997
|
});
|
|
3206
2998
|
return retVal;
|
|
3207
2999
|
};
|
|
3208
|
-
const
|
|
3000
|
+
const de_CustomConnectorDestinationProperties = (output, context) => {
|
|
3209
3001
|
return {
|
|
3210
|
-
customProperties: output.customProperties != null
|
|
3211
|
-
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3212
|
-
: undefined,
|
|
3002
|
+
customProperties: output.customProperties != null ? de_CustomProperties(output.customProperties, context) : undefined,
|
|
3213
3003
|
entityName: __expectString(output.entityName),
|
|
3214
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3215
|
-
|
|
3216
|
-
: undefined,
|
|
3217
|
-
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3004
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3005
|
+
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3218
3006
|
writeOperationType: __expectString(output.writeOperationType),
|
|
3219
3007
|
};
|
|
3220
3008
|
};
|
|
3221
|
-
const
|
|
3009
|
+
const de_CustomConnectorProfileProperties = (output, context) => {
|
|
3222
3010
|
return {
|
|
3223
|
-
oAuth2Properties: output.oAuth2Properties != null
|
|
3224
|
-
|
|
3225
|
-
: undefined,
|
|
3226
|
-
profileProperties: output.profileProperties != null
|
|
3227
|
-
? deserializeAws_restJson1ProfilePropertiesMap(output.profileProperties, context)
|
|
3228
|
-
: undefined,
|
|
3011
|
+
oAuth2Properties: output.oAuth2Properties != null ? de_OAuth2Properties(output.oAuth2Properties, context) : undefined,
|
|
3012
|
+
profileProperties: output.profileProperties != null ? de_ProfilePropertiesMap(output.profileProperties, context) : undefined,
|
|
3229
3013
|
};
|
|
3230
3014
|
};
|
|
3231
|
-
const
|
|
3015
|
+
const de_CustomConnectorSourceProperties = (output, context) => {
|
|
3232
3016
|
return {
|
|
3233
|
-
customProperties: output.customProperties != null
|
|
3234
|
-
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3235
|
-
: undefined,
|
|
3017
|
+
customProperties: output.customProperties != null ? de_CustomProperties(output.customProperties, context) : undefined,
|
|
3236
3018
|
entityName: __expectString(output.entityName),
|
|
3237
3019
|
};
|
|
3238
3020
|
};
|
|
3239
|
-
const
|
|
3021
|
+
const de_CustomerProfilesDestinationProperties = (output, context) => {
|
|
3240
3022
|
return {
|
|
3241
3023
|
domainName: __expectString(output.domainName),
|
|
3242
3024
|
objectTypeName: __expectString(output.objectTypeName),
|
|
3243
3025
|
};
|
|
3244
3026
|
};
|
|
3245
|
-
const
|
|
3027
|
+
const de_CustomerProfilesMetadata = (output, context) => {
|
|
3246
3028
|
return {};
|
|
3247
3029
|
};
|
|
3248
|
-
const
|
|
3030
|
+
const de_CustomProperties = (output, context) => {
|
|
3249
3031
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3250
3032
|
if (value === null) {
|
|
3251
3033
|
return acc;
|
|
@@ -3254,61 +3036,43 @@ const deserializeAws_restJson1CustomProperties = (output, context) => {
|
|
|
3254
3036
|
return acc;
|
|
3255
3037
|
}, {});
|
|
3256
3038
|
};
|
|
3257
|
-
const
|
|
3039
|
+
const de_DatadogConnectorProfileProperties = (output, context) => {
|
|
3258
3040
|
return {
|
|
3259
3041
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3260
3042
|
};
|
|
3261
3043
|
};
|
|
3262
|
-
const
|
|
3044
|
+
const de_DatadogMetadata = (output, context) => {
|
|
3263
3045
|
return {};
|
|
3264
3046
|
};
|
|
3265
|
-
const
|
|
3047
|
+
const de_DatadogSourceProperties = (output, context) => {
|
|
3266
3048
|
return {
|
|
3267
3049
|
object: __expectString(output.object),
|
|
3268
3050
|
};
|
|
3269
3051
|
};
|
|
3270
|
-
const
|
|
3052
|
+
const de_DestinationConnectorProperties = (output, context) => {
|
|
3271
3053
|
return {
|
|
3272
3054
|
CustomConnector: output.CustomConnector != null
|
|
3273
|
-
?
|
|
3055
|
+
? de_CustomConnectorDestinationProperties(output.CustomConnector, context)
|
|
3274
3056
|
: undefined,
|
|
3275
3057
|
CustomerProfiles: output.CustomerProfiles != null
|
|
3276
|
-
?
|
|
3277
|
-
: undefined,
|
|
3278
|
-
EventBridge: output.EventBridge != null
|
|
3279
|
-
? deserializeAws_restJson1EventBridgeDestinationProperties(output.EventBridge, context)
|
|
3280
|
-
: undefined,
|
|
3281
|
-
Honeycode: output.Honeycode != null
|
|
3282
|
-
? deserializeAws_restJson1HoneycodeDestinationProperties(output.Honeycode, context)
|
|
3058
|
+
? de_CustomerProfilesDestinationProperties(output.CustomerProfiles, context)
|
|
3283
3059
|
: undefined,
|
|
3060
|
+
EventBridge: output.EventBridge != null ? de_EventBridgeDestinationProperties(output.EventBridge, context) : undefined,
|
|
3061
|
+
Honeycode: output.Honeycode != null ? de_HoneycodeDestinationProperties(output.Honeycode, context) : undefined,
|
|
3284
3062
|
LookoutMetrics: output.LookoutMetrics != null
|
|
3285
|
-
?
|
|
3286
|
-
: undefined,
|
|
3287
|
-
Marketo: output.Marketo != null
|
|
3288
|
-
? deserializeAws_restJson1MarketoDestinationProperties(output.Marketo, context)
|
|
3289
|
-
: undefined,
|
|
3290
|
-
Redshift: output.Redshift != null
|
|
3291
|
-
? deserializeAws_restJson1RedshiftDestinationProperties(output.Redshift, context)
|
|
3292
|
-
: undefined,
|
|
3293
|
-
S3: output.S3 != null ? deserializeAws_restJson1S3DestinationProperties(output.S3, context) : undefined,
|
|
3294
|
-
SAPOData: output.SAPOData != null
|
|
3295
|
-
? deserializeAws_restJson1SAPODataDestinationProperties(output.SAPOData, context)
|
|
3296
|
-
: undefined,
|
|
3297
|
-
Salesforce: output.Salesforce != null
|
|
3298
|
-
? deserializeAws_restJson1SalesforceDestinationProperties(output.Salesforce, context)
|
|
3299
|
-
: undefined,
|
|
3300
|
-
Snowflake: output.Snowflake != null
|
|
3301
|
-
? deserializeAws_restJson1SnowflakeDestinationProperties(output.Snowflake, context)
|
|
3302
|
-
: undefined,
|
|
3303
|
-
Upsolver: output.Upsolver != null
|
|
3304
|
-
? deserializeAws_restJson1UpsolverDestinationProperties(output.Upsolver, context)
|
|
3305
|
-
: undefined,
|
|
3306
|
-
Zendesk: output.Zendesk != null
|
|
3307
|
-
? deserializeAws_restJson1ZendeskDestinationProperties(output.Zendesk, context)
|
|
3063
|
+
? de_LookoutMetricsDestinationProperties(output.LookoutMetrics, context)
|
|
3308
3064
|
: undefined,
|
|
3065
|
+
Marketo: output.Marketo != null ? de_MarketoDestinationProperties(output.Marketo, context) : undefined,
|
|
3066
|
+
Redshift: output.Redshift != null ? de_RedshiftDestinationProperties(output.Redshift, context) : undefined,
|
|
3067
|
+
S3: output.S3 != null ? de_S3DestinationProperties(output.S3, context) : undefined,
|
|
3068
|
+
SAPOData: output.SAPOData != null ? de_SAPODataDestinationProperties(output.SAPOData, context) : undefined,
|
|
3069
|
+
Salesforce: output.Salesforce != null ? de_SalesforceDestinationProperties(output.Salesforce, context) : undefined,
|
|
3070
|
+
Snowflake: output.Snowflake != null ? de_SnowflakeDestinationProperties(output.Snowflake, context) : undefined,
|
|
3071
|
+
Upsolver: output.Upsolver != null ? de_UpsolverDestinationProperties(output.Upsolver, context) : undefined,
|
|
3072
|
+
Zendesk: output.Zendesk != null ? de_ZendeskDestinationProperties(output.Zendesk, context) : undefined,
|
|
3309
3073
|
};
|
|
3310
3074
|
};
|
|
3311
|
-
const
|
|
3075
|
+
const de_DestinationFieldProperties = (output, context) => {
|
|
3312
3076
|
return {
|
|
3313
3077
|
isCreatable: __expectBoolean(output.isCreatable),
|
|
3314
3078
|
isDefaultedOnCreate: __expectBoolean(output.isDefaultedOnCreate),
|
|
@@ -3316,69 +3080,67 @@ const deserializeAws_restJson1DestinationFieldProperties = (output, context) =>
|
|
|
3316
3080
|
isUpdatable: __expectBoolean(output.isUpdatable),
|
|
3317
3081
|
isUpsertable: __expectBoolean(output.isUpsertable),
|
|
3318
3082
|
supportedWriteOperations: output.supportedWriteOperations != null
|
|
3319
|
-
?
|
|
3083
|
+
? de_SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
3320
3084
|
: undefined,
|
|
3321
3085
|
};
|
|
3322
3086
|
};
|
|
3323
|
-
const
|
|
3087
|
+
const de_DestinationFlowConfig = (output, context) => {
|
|
3324
3088
|
return {
|
|
3325
3089
|
apiVersion: __expectString(output.apiVersion),
|
|
3326
3090
|
connectorProfileName: __expectString(output.connectorProfileName),
|
|
3327
3091
|
connectorType: __expectString(output.connectorType),
|
|
3328
3092
|
destinationConnectorProperties: output.destinationConnectorProperties != null
|
|
3329
|
-
?
|
|
3093
|
+
? de_DestinationConnectorProperties(output.destinationConnectorProperties, context)
|
|
3330
3094
|
: undefined,
|
|
3331
3095
|
};
|
|
3332
3096
|
};
|
|
3333
|
-
const
|
|
3097
|
+
const de_DestinationFlowConfigList = (output, context) => {
|
|
3334
3098
|
const retVal = (output || [])
|
|
3335
3099
|
.filter((e) => e != null)
|
|
3336
3100
|
.map((entry) => {
|
|
3337
3101
|
if (entry === null) {
|
|
3338
3102
|
return null;
|
|
3339
3103
|
}
|
|
3340
|
-
return
|
|
3104
|
+
return de_DestinationFlowConfig(entry, context);
|
|
3341
3105
|
});
|
|
3342
3106
|
return retVal;
|
|
3343
3107
|
};
|
|
3344
|
-
const
|
|
3108
|
+
const de_DynatraceConnectorProfileProperties = (output, context) => {
|
|
3345
3109
|
return {
|
|
3346
3110
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3347
3111
|
};
|
|
3348
3112
|
};
|
|
3349
|
-
const
|
|
3113
|
+
const de_DynatraceMetadata = (output, context) => {
|
|
3350
3114
|
return {};
|
|
3351
3115
|
};
|
|
3352
|
-
const
|
|
3116
|
+
const de_DynatraceSourceProperties = (output, context) => {
|
|
3353
3117
|
return {
|
|
3354
3118
|
object: __expectString(output.object),
|
|
3355
3119
|
};
|
|
3356
3120
|
};
|
|
3357
|
-
const
|
|
3121
|
+
const de_ErrorHandlingConfig = (output, context) => {
|
|
3358
3122
|
return {
|
|
3359
3123
|
bucketName: __expectString(output.bucketName),
|
|
3360
3124
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
3361
3125
|
failOnFirstDestinationError: __expectBoolean(output.failOnFirstDestinationError),
|
|
3362
3126
|
};
|
|
3363
3127
|
};
|
|
3364
|
-
const
|
|
3128
|
+
const de_ErrorInfo = (output, context) => {
|
|
3365
3129
|
return {
|
|
3366
3130
|
executionMessage: __expectString(output.executionMessage),
|
|
3367
3131
|
putFailuresCount: __expectLong(output.putFailuresCount),
|
|
3368
3132
|
};
|
|
3369
3133
|
};
|
|
3370
|
-
const
|
|
3134
|
+
const de_EventBridgeDestinationProperties = (output, context) => {
|
|
3371
3135
|
return {
|
|
3372
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3373
|
-
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3374
|
-
: undefined,
|
|
3136
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3375
3137
|
object: __expectString(output.object),
|
|
3376
3138
|
};
|
|
3377
3139
|
};
|
|
3378
|
-
const
|
|
3140
|
+
const de_EventBridgeMetadata = (output, context) => {
|
|
3379
3141
|
return {};
|
|
3380
3142
|
};
|
|
3381
|
-
const
|
|
3143
|
+
const de_ExecutionDetails = (output, context) => {
|
|
3382
3144
|
return {
|
|
3383
3145
|
mostRecentExecutionMessage: __expectString(output.mostRecentExecutionMessage),
|
|
3384
3146
|
mostRecentExecutionStatus: __expectString(output.mostRecentExecutionStatus),
|
|
@@ -3387,7 +3149,7 @@ const deserializeAws_restJson1ExecutionDetails = (output, context) => {
|
|
|
3387
3149
|
: undefined,
|
|
3388
3150
|
};
|
|
3389
3151
|
};
|
|
3390
|
-
const
|
|
3152
|
+
const de_ExecutionRecord = (output, context) => {
|
|
3391
3153
|
return {
|
|
3392
3154
|
dataPullEndTime: output.dataPullEndTime != null
|
|
3393
3155
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.dataPullEndTime)))
|
|
@@ -3396,43 +3158,37 @@ const deserializeAws_restJson1ExecutionRecord = (output, context) => {
|
|
|
3396
3158
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.dataPullStartTime)))
|
|
3397
3159
|
: undefined,
|
|
3398
3160
|
executionId: __expectString(output.executionId),
|
|
3399
|
-
executionResult: output.executionResult != null
|
|
3400
|
-
? deserializeAws_restJson1ExecutionResult(output.executionResult, context)
|
|
3401
|
-
: undefined,
|
|
3161
|
+
executionResult: output.executionResult != null ? de_ExecutionResult(output.executionResult, context) : undefined,
|
|
3402
3162
|
executionStatus: __expectString(output.executionStatus),
|
|
3403
3163
|
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3404
3164
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
3405
3165
|
: undefined,
|
|
3406
3166
|
metadataCatalogDetails: output.metadataCatalogDetails != null
|
|
3407
|
-
?
|
|
3167
|
+
? de_MetadataCatalogDetails(output.metadataCatalogDetails, context)
|
|
3408
3168
|
: undefined,
|
|
3409
3169
|
startedAt: output.startedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt))) : undefined,
|
|
3410
3170
|
};
|
|
3411
3171
|
};
|
|
3412
|
-
const
|
|
3172
|
+
const de_ExecutionResult = (output, context) => {
|
|
3413
3173
|
return {
|
|
3414
3174
|
bytesProcessed: __expectLong(output.bytesProcessed),
|
|
3415
3175
|
bytesWritten: __expectLong(output.bytesWritten),
|
|
3416
|
-
errorInfo: output.errorInfo != null ?
|
|
3176
|
+
errorInfo: output.errorInfo != null ? de_ErrorInfo(output.errorInfo, context) : undefined,
|
|
3417
3177
|
recordsProcessed: __expectLong(output.recordsProcessed),
|
|
3418
3178
|
};
|
|
3419
3179
|
};
|
|
3420
|
-
const
|
|
3180
|
+
const de_FieldTypeDetails = (output, context) => {
|
|
3421
3181
|
return {
|
|
3422
|
-
fieldLengthRange: output.fieldLengthRange != null ?
|
|
3182
|
+
fieldLengthRange: output.fieldLengthRange != null ? de_Range(output.fieldLengthRange, context) : undefined,
|
|
3423
3183
|
fieldType: __expectString(output.fieldType),
|
|
3424
|
-
fieldValueRange: output.fieldValueRange != null ?
|
|
3425
|
-
filterOperators: output.filterOperators != null
|
|
3426
|
-
? deserializeAws_restJson1FilterOperatorList(output.filterOperators, context)
|
|
3427
|
-
: undefined,
|
|
3184
|
+
fieldValueRange: output.fieldValueRange != null ? de_Range(output.fieldValueRange, context) : undefined,
|
|
3185
|
+
filterOperators: output.filterOperators != null ? de_FilterOperatorList(output.filterOperators, context) : undefined,
|
|
3428
3186
|
supportedDateFormat: __expectString(output.supportedDateFormat),
|
|
3429
|
-
supportedValues: output.supportedValues != null
|
|
3430
|
-
? deserializeAws_restJson1SupportedValueList(output.supportedValues, context)
|
|
3431
|
-
: undefined,
|
|
3187
|
+
supportedValues: output.supportedValues != null ? de_SupportedValueList(output.supportedValues, context) : undefined,
|
|
3432
3188
|
valueRegexPattern: __expectString(output.valueRegexPattern),
|
|
3433
3189
|
};
|
|
3434
3190
|
};
|
|
3435
|
-
const
|
|
3191
|
+
const de_FilterOperatorList = (output, context) => {
|
|
3436
3192
|
const retVal = (output || [])
|
|
3437
3193
|
.filter((e) => e != null)
|
|
3438
3194
|
.map((entry) => {
|
|
@@ -3443,7 +3199,7 @@ const deserializeAws_restJson1FilterOperatorList = (output, context) => {
|
|
|
3443
3199
|
});
|
|
3444
3200
|
return retVal;
|
|
3445
3201
|
};
|
|
3446
|
-
const
|
|
3202
|
+
const de_FlowDefinition = (output, context) => {
|
|
3447
3203
|
return {
|
|
3448
3204
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
3449
3205
|
createdBy: __expectString(output.createdBy),
|
|
@@ -3453,78 +3209,74 @@ const deserializeAws_restJson1FlowDefinition = (output, context) => {
|
|
|
3453
3209
|
flowArn: __expectString(output.flowArn),
|
|
3454
3210
|
flowName: __expectString(output.flowName),
|
|
3455
3211
|
flowStatus: __expectString(output.flowStatus),
|
|
3456
|
-
lastRunExecutionDetails: output.lastRunExecutionDetails != null
|
|
3457
|
-
? deserializeAws_restJson1ExecutionDetails(output.lastRunExecutionDetails, context)
|
|
3458
|
-
: undefined,
|
|
3212
|
+
lastRunExecutionDetails: output.lastRunExecutionDetails != null ? de_ExecutionDetails(output.lastRunExecutionDetails, context) : undefined,
|
|
3459
3213
|
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3460
3214
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
3461
3215
|
: undefined,
|
|
3462
3216
|
lastUpdatedBy: __expectString(output.lastUpdatedBy),
|
|
3463
3217
|
sourceConnectorLabel: __expectString(output.sourceConnectorLabel),
|
|
3464
3218
|
sourceConnectorType: __expectString(output.sourceConnectorType),
|
|
3465
|
-
tags: output.tags != null ?
|
|
3219
|
+
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
3466
3220
|
triggerType: __expectString(output.triggerType),
|
|
3467
3221
|
};
|
|
3468
3222
|
};
|
|
3469
|
-
const
|
|
3223
|
+
const de_FlowExecutionList = (output, context) => {
|
|
3470
3224
|
const retVal = (output || [])
|
|
3471
3225
|
.filter((e) => e != null)
|
|
3472
3226
|
.map((entry) => {
|
|
3473
3227
|
if (entry === null) {
|
|
3474
3228
|
return null;
|
|
3475
3229
|
}
|
|
3476
|
-
return
|
|
3230
|
+
return de_ExecutionRecord(entry, context);
|
|
3477
3231
|
});
|
|
3478
3232
|
return retVal;
|
|
3479
3233
|
};
|
|
3480
|
-
const
|
|
3234
|
+
const de_FlowList = (output, context) => {
|
|
3481
3235
|
const retVal = (output || [])
|
|
3482
3236
|
.filter((e) => e != null)
|
|
3483
3237
|
.map((entry) => {
|
|
3484
3238
|
if (entry === null) {
|
|
3485
3239
|
return null;
|
|
3486
3240
|
}
|
|
3487
|
-
return
|
|
3241
|
+
return de_FlowDefinition(entry, context);
|
|
3488
3242
|
});
|
|
3489
3243
|
return retVal;
|
|
3490
3244
|
};
|
|
3491
|
-
const
|
|
3245
|
+
const de_GlueDataCatalogConfig = (output, context) => {
|
|
3492
3246
|
return {
|
|
3493
3247
|
databaseName: __expectString(output.databaseName),
|
|
3494
3248
|
roleArn: __expectString(output.roleArn),
|
|
3495
3249
|
tablePrefix: __expectString(output.tablePrefix),
|
|
3496
3250
|
};
|
|
3497
3251
|
};
|
|
3498
|
-
const
|
|
3252
|
+
const de_GoogleAnalyticsConnectorProfileProperties = (output, context) => {
|
|
3499
3253
|
return {};
|
|
3500
3254
|
};
|
|
3501
|
-
const
|
|
3255
|
+
const de_GoogleAnalyticsMetadata = (output, context) => {
|
|
3502
3256
|
return {
|
|
3503
|
-
oAuthScopes: output.oAuthScopes != null ?
|
|
3257
|
+
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3504
3258
|
};
|
|
3505
3259
|
};
|
|
3506
|
-
const
|
|
3260
|
+
const de_GoogleAnalyticsSourceProperties = (output, context) => {
|
|
3507
3261
|
return {
|
|
3508
3262
|
object: __expectString(output.object),
|
|
3509
3263
|
};
|
|
3510
3264
|
};
|
|
3511
|
-
const
|
|
3265
|
+
const de_HoneycodeConnectorProfileProperties = (output, context) => {
|
|
3512
3266
|
return {};
|
|
3513
3267
|
};
|
|
3514
|
-
const
|
|
3268
|
+
const de_HoneycodeDestinationProperties = (output, context) => {
|
|
3515
3269
|
return {
|
|
3516
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3517
|
-
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3518
|
-
: undefined,
|
|
3270
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3519
3271
|
object: __expectString(output.object),
|
|
3520
3272
|
};
|
|
3521
3273
|
};
|
|
3522
|
-
const
|
|
3274
|
+
const de_HoneycodeMetadata = (output, context) => {
|
|
3523
3275
|
return {
|
|
3524
|
-
oAuthScopes: output.oAuthScopes != null ?
|
|
3276
|
+
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3525
3277
|
};
|
|
3526
3278
|
};
|
|
3527
|
-
const
|
|
3279
|
+
const de_IdFieldNameList = (output, context) => {
|
|
3528
3280
|
const retVal = (output || [])
|
|
3529
3281
|
.filter((e) => e != null)
|
|
3530
3282
|
.map((entry) => {
|
|
@@ -3535,87 +3287,83 @@ const deserializeAws_restJson1IdFieldNameList = (output, context) => {
|
|
|
3535
3287
|
});
|
|
3536
3288
|
return retVal;
|
|
3537
3289
|
};
|
|
3538
|
-
const
|
|
3290
|
+
const de_IncrementalPullConfig = (output, context) => {
|
|
3539
3291
|
return {
|
|
3540
3292
|
datetimeTypeFieldName: __expectString(output.datetimeTypeFieldName),
|
|
3541
3293
|
};
|
|
3542
3294
|
};
|
|
3543
|
-
const
|
|
3295
|
+
const de_InforNexusConnectorProfileProperties = (output, context) => {
|
|
3544
3296
|
return {
|
|
3545
3297
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3546
3298
|
};
|
|
3547
3299
|
};
|
|
3548
|
-
const
|
|
3300
|
+
const de_InforNexusMetadata = (output, context) => {
|
|
3549
3301
|
return {};
|
|
3550
3302
|
};
|
|
3551
|
-
const
|
|
3303
|
+
const de_InforNexusSourceProperties = (output, context) => {
|
|
3552
3304
|
return {
|
|
3553
3305
|
object: __expectString(output.object),
|
|
3554
3306
|
};
|
|
3555
3307
|
};
|
|
3556
|
-
const
|
|
3308
|
+
const de_LambdaConnectorProvisioningConfig = (output, context) => {
|
|
3557
3309
|
return {
|
|
3558
3310
|
lambdaArn: __expectString(output.lambdaArn),
|
|
3559
3311
|
};
|
|
3560
3312
|
};
|
|
3561
|
-
const
|
|
3313
|
+
const de_LookoutMetricsDestinationProperties = (output, context) => {
|
|
3562
3314
|
return {};
|
|
3563
3315
|
};
|
|
3564
|
-
const
|
|
3316
|
+
const de_MarketoConnectorProfileProperties = (output, context) => {
|
|
3565
3317
|
return {
|
|
3566
3318
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3567
3319
|
};
|
|
3568
3320
|
};
|
|
3569
|
-
const
|
|
3321
|
+
const de_MarketoDestinationProperties = (output, context) => {
|
|
3570
3322
|
return {
|
|
3571
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3572
|
-
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3573
|
-
: undefined,
|
|
3323
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3574
3324
|
object: __expectString(output.object),
|
|
3575
3325
|
};
|
|
3576
3326
|
};
|
|
3577
|
-
const
|
|
3327
|
+
const de_MarketoMetadata = (output, context) => {
|
|
3578
3328
|
return {};
|
|
3579
3329
|
};
|
|
3580
|
-
const
|
|
3330
|
+
const de_MarketoSourceProperties = (output, context) => {
|
|
3581
3331
|
return {
|
|
3582
3332
|
object: __expectString(output.object),
|
|
3583
3333
|
};
|
|
3584
3334
|
};
|
|
3585
|
-
const
|
|
3335
|
+
const de_MetadataCatalogConfig = (output, context) => {
|
|
3586
3336
|
return {
|
|
3587
|
-
glueDataCatalog: output.glueDataCatalog != null
|
|
3588
|
-
? deserializeAws_restJson1GlueDataCatalogConfig(output.glueDataCatalog, context)
|
|
3589
|
-
: undefined,
|
|
3337
|
+
glueDataCatalog: output.glueDataCatalog != null ? de_GlueDataCatalogConfig(output.glueDataCatalog, context) : undefined,
|
|
3590
3338
|
};
|
|
3591
3339
|
};
|
|
3592
|
-
const
|
|
3340
|
+
const de_MetadataCatalogDetail = (output, context) => {
|
|
3593
3341
|
return {
|
|
3594
3342
|
catalogType: __expectString(output.catalogType),
|
|
3595
3343
|
partitionRegistrationOutput: output.partitionRegistrationOutput != null
|
|
3596
|
-
?
|
|
3344
|
+
? de_RegistrationOutput(output.partitionRegistrationOutput, context)
|
|
3597
3345
|
: undefined,
|
|
3598
3346
|
tableName: __expectString(output.tableName),
|
|
3599
3347
|
tableRegistrationOutput: output.tableRegistrationOutput != null
|
|
3600
|
-
?
|
|
3348
|
+
? de_RegistrationOutput(output.tableRegistrationOutput, context)
|
|
3601
3349
|
: undefined,
|
|
3602
3350
|
};
|
|
3603
3351
|
};
|
|
3604
|
-
const
|
|
3352
|
+
const de_MetadataCatalogDetails = (output, context) => {
|
|
3605
3353
|
const retVal = (output || [])
|
|
3606
3354
|
.filter((e) => e != null)
|
|
3607
3355
|
.map((entry) => {
|
|
3608
3356
|
if (entry === null) {
|
|
3609
3357
|
return null;
|
|
3610
3358
|
}
|
|
3611
|
-
return
|
|
3359
|
+
return de_MetadataCatalogDetail(entry, context);
|
|
3612
3360
|
});
|
|
3613
3361
|
return retVal;
|
|
3614
3362
|
};
|
|
3615
|
-
const
|
|
3363
|
+
const de_OAuth2CustomParameter = (output, context) => {
|
|
3616
3364
|
return {
|
|
3617
3365
|
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
3618
|
-
?
|
|
3366
|
+
? de_ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
3619
3367
|
: undefined,
|
|
3620
3368
|
description: __expectString(output.description),
|
|
3621
3369
|
isRequired: __expectBoolean(output.isRequired),
|
|
@@ -3625,31 +3373,31 @@ const deserializeAws_restJson1OAuth2CustomParameter = (output, context) => {
|
|
|
3625
3373
|
type: __expectString(output.type),
|
|
3626
3374
|
};
|
|
3627
3375
|
};
|
|
3628
|
-
const
|
|
3376
|
+
const de_OAuth2CustomPropertiesList = (output, context) => {
|
|
3629
3377
|
const retVal = (output || [])
|
|
3630
3378
|
.filter((e) => e != null)
|
|
3631
3379
|
.map((entry) => {
|
|
3632
3380
|
if (entry === null) {
|
|
3633
3381
|
return null;
|
|
3634
3382
|
}
|
|
3635
|
-
return
|
|
3383
|
+
return de_OAuth2CustomParameter(entry, context);
|
|
3636
3384
|
});
|
|
3637
3385
|
return retVal;
|
|
3638
3386
|
};
|
|
3639
|
-
const
|
|
3387
|
+
const de_OAuth2Defaults = (output, context) => {
|
|
3640
3388
|
return {
|
|
3641
|
-
authCodeUrls: output.authCodeUrls != null ?
|
|
3389
|
+
authCodeUrls: output.authCodeUrls != null ? de_AuthCodeUrlList(output.authCodeUrls, context) : undefined,
|
|
3642
3390
|
oauth2CustomProperties: output.oauth2CustomProperties != null
|
|
3643
|
-
?
|
|
3391
|
+
? de_OAuth2CustomPropertiesList(output.oauth2CustomProperties, context)
|
|
3644
3392
|
: undefined,
|
|
3645
3393
|
oauth2GrantTypesSupported: output.oauth2GrantTypesSupported != null
|
|
3646
|
-
?
|
|
3394
|
+
? de_OAuth2GrantTypeSupportedList(output.oauth2GrantTypesSupported, context)
|
|
3647
3395
|
: undefined,
|
|
3648
|
-
oauthScopes: output.oauthScopes != null ?
|
|
3649
|
-
tokenUrls: output.tokenUrls != null ?
|
|
3396
|
+
oauthScopes: output.oauthScopes != null ? de_OAuthScopeList(output.oauthScopes, context) : undefined,
|
|
3397
|
+
tokenUrls: output.tokenUrls != null ? de_TokenUrlList(output.tokenUrls, context) : undefined,
|
|
3650
3398
|
};
|
|
3651
3399
|
};
|
|
3652
|
-
const
|
|
3400
|
+
const de_OAuth2GrantTypeSupportedList = (output, context) => {
|
|
3653
3401
|
const retVal = (output || [])
|
|
3654
3402
|
.filter((e) => e != null)
|
|
3655
3403
|
.map((entry) => {
|
|
@@ -3660,23 +3408,23 @@ const deserializeAws_restJson1OAuth2GrantTypeSupportedList = (output, context) =
|
|
|
3660
3408
|
});
|
|
3661
3409
|
return retVal;
|
|
3662
3410
|
};
|
|
3663
|
-
const
|
|
3411
|
+
const de_OAuth2Properties = (output, context) => {
|
|
3664
3412
|
return {
|
|
3665
3413
|
oAuth2GrantType: __expectString(output.oAuth2GrantType),
|
|
3666
3414
|
tokenUrl: __expectString(output.tokenUrl),
|
|
3667
3415
|
tokenUrlCustomProperties: output.tokenUrlCustomProperties != null
|
|
3668
|
-
?
|
|
3416
|
+
? de_TokenUrlCustomProperties(output.tokenUrlCustomProperties, context)
|
|
3669
3417
|
: undefined,
|
|
3670
3418
|
};
|
|
3671
3419
|
};
|
|
3672
|
-
const
|
|
3420
|
+
const de_OAuthProperties = (output, context) => {
|
|
3673
3421
|
return {
|
|
3674
3422
|
authCodeUrl: __expectString(output.authCodeUrl),
|
|
3675
|
-
oAuthScopes: output.oAuthScopes != null ?
|
|
3423
|
+
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3676
3424
|
tokenUrl: __expectString(output.tokenUrl),
|
|
3677
3425
|
};
|
|
3678
3426
|
};
|
|
3679
|
-
const
|
|
3427
|
+
const de_OAuthScopeList = (output, context) => {
|
|
3680
3428
|
const retVal = (output || [])
|
|
3681
3429
|
.filter((e) => e != null)
|
|
3682
3430
|
.map((entry) => {
|
|
@@ -3687,22 +3435,22 @@ const deserializeAws_restJson1OAuthScopeList = (output, context) => {
|
|
|
3687
3435
|
});
|
|
3688
3436
|
return retVal;
|
|
3689
3437
|
};
|
|
3690
|
-
const
|
|
3438
|
+
const de_PardotConnectorProfileProperties = (output, context) => {
|
|
3691
3439
|
return {
|
|
3692
3440
|
businessUnitId: __expectString(output.businessUnitId),
|
|
3693
3441
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3694
3442
|
isSandboxEnvironment: __expectBoolean(output.isSandboxEnvironment),
|
|
3695
3443
|
};
|
|
3696
3444
|
};
|
|
3697
|
-
const
|
|
3445
|
+
const de_PardotMetadata = (output, context) => {
|
|
3698
3446
|
return {};
|
|
3699
3447
|
};
|
|
3700
|
-
const
|
|
3448
|
+
const de_PardotSourceProperties = (output, context) => {
|
|
3701
3449
|
return {
|
|
3702
3450
|
object: __expectString(output.object),
|
|
3703
3451
|
};
|
|
3704
3452
|
};
|
|
3705
|
-
const
|
|
3453
|
+
const de_PathPrefixHierarchy = (output, context) => {
|
|
3706
3454
|
const retVal = (output || [])
|
|
3707
3455
|
.filter((e) => e != null)
|
|
3708
3456
|
.map((entry) => {
|
|
@@ -3713,23 +3461,21 @@ const deserializeAws_restJson1PathPrefixHierarchy = (output, context) => {
|
|
|
3713
3461
|
});
|
|
3714
3462
|
return retVal;
|
|
3715
3463
|
};
|
|
3716
|
-
const
|
|
3464
|
+
const de_PrefixConfig = (output, context) => {
|
|
3717
3465
|
return {
|
|
3718
|
-
pathPrefixHierarchy: output.pathPrefixHierarchy != null
|
|
3719
|
-
? deserializeAws_restJson1PathPrefixHierarchy(output.pathPrefixHierarchy, context)
|
|
3720
|
-
: undefined,
|
|
3466
|
+
pathPrefixHierarchy: output.pathPrefixHierarchy != null ? de_PathPrefixHierarchy(output.pathPrefixHierarchy, context) : undefined,
|
|
3721
3467
|
prefixFormat: __expectString(output.prefixFormat),
|
|
3722
3468
|
prefixType: __expectString(output.prefixType),
|
|
3723
3469
|
};
|
|
3724
3470
|
};
|
|
3725
|
-
const
|
|
3471
|
+
const de_PrivateConnectionProvisioningState = (output, context) => {
|
|
3726
3472
|
return {
|
|
3727
3473
|
failureCause: __expectString(output.failureCause),
|
|
3728
3474
|
failureMessage: __expectString(output.failureMessage),
|
|
3729
3475
|
status: __expectString(output.status),
|
|
3730
3476
|
};
|
|
3731
3477
|
};
|
|
3732
|
-
const
|
|
3478
|
+
const de_ProfilePropertiesMap = (output, context) => {
|
|
3733
3479
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3734
3480
|
if (value === null) {
|
|
3735
3481
|
return acc;
|
|
@@ -3738,13 +3484,13 @@ const deserializeAws_restJson1ProfilePropertiesMap = (output, context) => {
|
|
|
3738
3484
|
return acc;
|
|
3739
3485
|
}, {});
|
|
3740
3486
|
};
|
|
3741
|
-
const
|
|
3487
|
+
const de_Range = (output, context) => {
|
|
3742
3488
|
return {
|
|
3743
3489
|
maximum: __limitedParseDouble(output.maximum),
|
|
3744
3490
|
minimum: __limitedParseDouble(output.minimum),
|
|
3745
3491
|
};
|
|
3746
3492
|
};
|
|
3747
|
-
const
|
|
3493
|
+
const de_RedshiftConnectorProfileProperties = (output, context) => {
|
|
3748
3494
|
return {
|
|
3749
3495
|
bucketName: __expectString(output.bucketName),
|
|
3750
3496
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
@@ -3757,20 +3503,18 @@ const deserializeAws_restJson1RedshiftConnectorProfileProperties = (output, cont
|
|
|
3757
3503
|
workgroupName: __expectString(output.workgroupName),
|
|
3758
3504
|
};
|
|
3759
3505
|
};
|
|
3760
|
-
const
|
|
3506
|
+
const de_RedshiftDestinationProperties = (output, context) => {
|
|
3761
3507
|
return {
|
|
3762
3508
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
3763
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3764
|
-
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3765
|
-
: undefined,
|
|
3509
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3766
3510
|
intermediateBucketName: __expectString(output.intermediateBucketName),
|
|
3767
3511
|
object: __expectString(output.object),
|
|
3768
3512
|
};
|
|
3769
3513
|
};
|
|
3770
|
-
const
|
|
3514
|
+
const de_RedshiftMetadata = (output, context) => {
|
|
3771
3515
|
return {};
|
|
3772
3516
|
};
|
|
3773
|
-
const
|
|
3517
|
+
const de_RegionList = (output, context) => {
|
|
3774
3518
|
const retVal = (output || [])
|
|
3775
3519
|
.filter((e) => e != null)
|
|
3776
3520
|
.map((entry) => {
|
|
@@ -3781,57 +3525,51 @@ const deserializeAws_restJson1RegionList = (output, context) => {
|
|
|
3781
3525
|
});
|
|
3782
3526
|
return retVal;
|
|
3783
3527
|
};
|
|
3784
|
-
const
|
|
3528
|
+
const de_RegistrationOutput = (output, context) => {
|
|
3785
3529
|
return {
|
|
3786
3530
|
message: __expectString(output.message),
|
|
3787
3531
|
result: __expectString(output.result),
|
|
3788
3532
|
status: __expectString(output.status),
|
|
3789
3533
|
};
|
|
3790
3534
|
};
|
|
3791
|
-
const
|
|
3535
|
+
const de_S3DestinationProperties = (output, context) => {
|
|
3792
3536
|
return {
|
|
3793
3537
|
bucketName: __expectString(output.bucketName),
|
|
3794
3538
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
3795
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
3796
|
-
? deserializeAws_restJson1S3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
3797
|
-
: undefined,
|
|
3539
|
+
s3OutputFormatConfig: output.s3OutputFormatConfig != null ? de_S3OutputFormatConfig(output.s3OutputFormatConfig, context) : undefined,
|
|
3798
3540
|
};
|
|
3799
3541
|
};
|
|
3800
|
-
const
|
|
3542
|
+
const de_S3InputFormatConfig = (output, context) => {
|
|
3801
3543
|
return {
|
|
3802
3544
|
s3InputFileType: __expectString(output.s3InputFileType),
|
|
3803
3545
|
};
|
|
3804
3546
|
};
|
|
3805
|
-
const
|
|
3547
|
+
const de_S3Metadata = (output, context) => {
|
|
3806
3548
|
return {};
|
|
3807
3549
|
};
|
|
3808
|
-
const
|
|
3550
|
+
const de_S3OutputFormatConfig = (output, context) => {
|
|
3809
3551
|
return {
|
|
3810
|
-
aggregationConfig: output.aggregationConfig != null
|
|
3811
|
-
? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
|
|
3812
|
-
: undefined,
|
|
3552
|
+
aggregationConfig: output.aggregationConfig != null ? de_AggregationConfig(output.aggregationConfig, context) : undefined,
|
|
3813
3553
|
fileType: __expectString(output.fileType),
|
|
3814
|
-
prefixConfig: output.prefixConfig != null ?
|
|
3554
|
+
prefixConfig: output.prefixConfig != null ? de_PrefixConfig(output.prefixConfig, context) : undefined,
|
|
3815
3555
|
preserveSourceDataTyping: __expectBoolean(output.preserveSourceDataTyping),
|
|
3816
3556
|
};
|
|
3817
3557
|
};
|
|
3818
|
-
const
|
|
3558
|
+
const de_S3SourceProperties = (output, context) => {
|
|
3819
3559
|
return {
|
|
3820
3560
|
bucketName: __expectString(output.bucketName),
|
|
3821
3561
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
3822
|
-
s3InputFormatConfig: output.s3InputFormatConfig != null
|
|
3823
|
-
? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
|
|
3824
|
-
: undefined,
|
|
3562
|
+
s3InputFormatConfig: output.s3InputFormatConfig != null ? de_S3InputFormatConfig(output.s3InputFormatConfig, context) : undefined,
|
|
3825
3563
|
};
|
|
3826
3564
|
};
|
|
3827
|
-
const
|
|
3565
|
+
const de_SalesforceConnectorProfileProperties = (output, context) => {
|
|
3828
3566
|
return {
|
|
3829
3567
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3830
3568
|
isSandboxEnvironment: __expectBoolean(output.isSandboxEnvironment),
|
|
3831
3569
|
usePrivateLinkForMetadataAndAuthorization: __expectBoolean(output.usePrivateLinkForMetadataAndAuthorization),
|
|
3832
3570
|
};
|
|
3833
3571
|
};
|
|
3834
|
-
const
|
|
3572
|
+
const de_SalesforceDataTransferApiList = (output, context) => {
|
|
3835
3573
|
const retVal = (output || [])
|
|
3836
3574
|
.filter((e) => e != null)
|
|
3837
3575
|
.map((entry) => {
|
|
@@ -3842,26 +3580,22 @@ const deserializeAws_restJson1SalesforceDataTransferApiList = (output, context)
|
|
|
3842
3580
|
});
|
|
3843
3581
|
return retVal;
|
|
3844
3582
|
};
|
|
3845
|
-
const
|
|
3583
|
+
const de_SalesforceDestinationProperties = (output, context) => {
|
|
3846
3584
|
return {
|
|
3847
3585
|
dataTransferApi: __expectString(output.dataTransferApi),
|
|
3848
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3849
|
-
|
|
3850
|
-
: undefined,
|
|
3851
|
-
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3586
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3587
|
+
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3852
3588
|
object: __expectString(output.object),
|
|
3853
3589
|
writeOperationType: __expectString(output.writeOperationType),
|
|
3854
3590
|
};
|
|
3855
3591
|
};
|
|
3856
|
-
const
|
|
3592
|
+
const de_SalesforceMetadata = (output, context) => {
|
|
3857
3593
|
return {
|
|
3858
|
-
dataTransferApis: output.dataTransferApis != null
|
|
3859
|
-
|
|
3860
|
-
: undefined,
|
|
3861
|
-
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3594
|
+
dataTransferApis: output.dataTransferApis != null ? de_SalesforceDataTransferApiList(output.dataTransferApis, context) : undefined,
|
|
3595
|
+
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3862
3596
|
};
|
|
3863
3597
|
};
|
|
3864
|
-
const
|
|
3598
|
+
const de_SalesforceSourceProperties = (output, context) => {
|
|
3865
3599
|
return {
|
|
3866
3600
|
dataTransferApi: __expectString(output.dataTransferApi),
|
|
3867
3601
|
enableDynamicFieldUpdate: __expectBoolean(output.enableDynamicFieldUpdate),
|
|
@@ -3869,41 +3603,37 @@ const deserializeAws_restJson1SalesforceSourceProperties = (output, context) =>
|
|
|
3869
3603
|
object: __expectString(output.object),
|
|
3870
3604
|
};
|
|
3871
3605
|
};
|
|
3872
|
-
const
|
|
3606
|
+
const de_SAPODataConnectorProfileProperties = (output, context) => {
|
|
3873
3607
|
return {
|
|
3874
3608
|
applicationHostUrl: __expectString(output.applicationHostUrl),
|
|
3875
3609
|
applicationServicePath: __expectString(output.applicationServicePath),
|
|
3876
3610
|
clientNumber: __expectString(output.clientNumber),
|
|
3877
3611
|
logonLanguage: __expectString(output.logonLanguage),
|
|
3878
|
-
oAuthProperties: output.oAuthProperties != null
|
|
3879
|
-
? deserializeAws_restJson1OAuthProperties(output.oAuthProperties, context)
|
|
3880
|
-
: undefined,
|
|
3612
|
+
oAuthProperties: output.oAuthProperties != null ? de_OAuthProperties(output.oAuthProperties, context) : undefined,
|
|
3881
3613
|
portNumber: __expectInt32(output.portNumber),
|
|
3882
3614
|
privateLinkServiceName: __expectString(output.privateLinkServiceName),
|
|
3883
3615
|
};
|
|
3884
3616
|
};
|
|
3885
|
-
const
|
|
3617
|
+
const de_SAPODataDestinationProperties = (output, context) => {
|
|
3886
3618
|
return {
|
|
3887
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3888
|
-
|
|
3889
|
-
: undefined,
|
|
3890
|
-
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3619
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3620
|
+
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3891
3621
|
objectPath: __expectString(output.objectPath),
|
|
3892
3622
|
successResponseHandlingConfig: output.successResponseHandlingConfig != null
|
|
3893
|
-
?
|
|
3623
|
+
? de_SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
|
|
3894
3624
|
: undefined,
|
|
3895
3625
|
writeOperationType: __expectString(output.writeOperationType),
|
|
3896
3626
|
};
|
|
3897
3627
|
};
|
|
3898
|
-
const
|
|
3628
|
+
const de_SAPODataMetadata = (output, context) => {
|
|
3899
3629
|
return {};
|
|
3900
3630
|
};
|
|
3901
|
-
const
|
|
3631
|
+
const de_SAPODataSourceProperties = (output, context) => {
|
|
3902
3632
|
return {
|
|
3903
3633
|
objectPath: __expectString(output.objectPath),
|
|
3904
3634
|
};
|
|
3905
3635
|
};
|
|
3906
|
-
const
|
|
3636
|
+
const de_ScheduledTriggerProperties = (output, context) => {
|
|
3907
3637
|
return {
|
|
3908
3638
|
dataPullMode: __expectString(output.dataPullMode),
|
|
3909
3639
|
firstExecutionFrom: output.firstExecutionFrom != null
|
|
@@ -3921,7 +3651,7 @@ const deserializeAws_restJson1ScheduledTriggerProperties = (output, context) =>
|
|
|
3921
3651
|
timezone: __expectString(output.timezone),
|
|
3922
3652
|
};
|
|
3923
3653
|
};
|
|
3924
|
-
const
|
|
3654
|
+
const de_SchedulingFrequencyTypeList = (output, context) => {
|
|
3925
3655
|
const retVal = (output || [])
|
|
3926
3656
|
.filter((e) => e != null)
|
|
3927
3657
|
.map((entry) => {
|
|
@@ -3932,46 +3662,46 @@ const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) =>
|
|
|
3932
3662
|
});
|
|
3933
3663
|
return retVal;
|
|
3934
3664
|
};
|
|
3935
|
-
const
|
|
3665
|
+
const de_ServiceNowConnectorProfileProperties = (output, context) => {
|
|
3936
3666
|
return {
|
|
3937
3667
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3938
3668
|
};
|
|
3939
3669
|
};
|
|
3940
|
-
const
|
|
3670
|
+
const de_ServiceNowMetadata = (output, context) => {
|
|
3941
3671
|
return {};
|
|
3942
3672
|
};
|
|
3943
|
-
const
|
|
3673
|
+
const de_ServiceNowSourceProperties = (output, context) => {
|
|
3944
3674
|
return {
|
|
3945
3675
|
object: __expectString(output.object),
|
|
3946
3676
|
};
|
|
3947
3677
|
};
|
|
3948
|
-
const
|
|
3678
|
+
const de_SingularConnectorProfileProperties = (output, context) => {
|
|
3949
3679
|
return {};
|
|
3950
3680
|
};
|
|
3951
|
-
const
|
|
3681
|
+
const de_SingularMetadata = (output, context) => {
|
|
3952
3682
|
return {};
|
|
3953
3683
|
};
|
|
3954
|
-
const
|
|
3684
|
+
const de_SingularSourceProperties = (output, context) => {
|
|
3955
3685
|
return {
|
|
3956
3686
|
object: __expectString(output.object),
|
|
3957
3687
|
};
|
|
3958
3688
|
};
|
|
3959
|
-
const
|
|
3689
|
+
const de_SlackConnectorProfileProperties = (output, context) => {
|
|
3960
3690
|
return {
|
|
3961
3691
|
instanceUrl: __expectString(output.instanceUrl),
|
|
3962
3692
|
};
|
|
3963
3693
|
};
|
|
3964
|
-
const
|
|
3694
|
+
const de_SlackMetadata = (output, context) => {
|
|
3965
3695
|
return {
|
|
3966
|
-
oAuthScopes: output.oAuthScopes != null ?
|
|
3696
|
+
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3967
3697
|
};
|
|
3968
3698
|
};
|
|
3969
|
-
const
|
|
3699
|
+
const de_SlackSourceProperties = (output, context) => {
|
|
3970
3700
|
return {
|
|
3971
3701
|
object: __expectString(output.object),
|
|
3972
3702
|
};
|
|
3973
3703
|
};
|
|
3974
|
-
const
|
|
3704
|
+
const de_SnowflakeConnectorProfileProperties = (output, context) => {
|
|
3975
3705
|
return {
|
|
3976
3706
|
accountName: __expectString(output.accountName),
|
|
3977
3707
|
bucketName: __expectString(output.bucketName),
|
|
@@ -3982,68 +3712,48 @@ const deserializeAws_restJson1SnowflakeConnectorProfileProperties = (output, con
|
|
|
3982
3712
|
warehouse: __expectString(output.warehouse),
|
|
3983
3713
|
};
|
|
3984
3714
|
};
|
|
3985
|
-
const
|
|
3715
|
+
const de_SnowflakeDestinationProperties = (output, context) => {
|
|
3986
3716
|
return {
|
|
3987
3717
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
3988
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3989
|
-
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3990
|
-
: undefined,
|
|
3718
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3991
3719
|
intermediateBucketName: __expectString(output.intermediateBucketName),
|
|
3992
3720
|
object: __expectString(output.object),
|
|
3993
3721
|
};
|
|
3994
3722
|
};
|
|
3995
|
-
const
|
|
3723
|
+
const de_SnowflakeMetadata = (output, context) => {
|
|
3996
3724
|
return {
|
|
3997
|
-
supportedRegions: output.supportedRegions != null
|
|
3998
|
-
? deserializeAws_restJson1RegionList(output.supportedRegions, context)
|
|
3999
|
-
: undefined,
|
|
3725
|
+
supportedRegions: output.supportedRegions != null ? de_RegionList(output.supportedRegions, context) : undefined,
|
|
4000
3726
|
};
|
|
4001
3727
|
};
|
|
4002
|
-
const
|
|
3728
|
+
const de_SourceConnectorProperties = (output, context) => {
|
|
4003
3729
|
return {
|
|
4004
|
-
Amplitude: output.Amplitude != null
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
Pardot: output.Pardot != null ? deserializeAws_restJson1PardotSourceProperties(output.Pardot, context) : undefined,
|
|
4022
|
-
S3: output.S3 != null ? deserializeAws_restJson1S3SourceProperties(output.S3, context) : undefined,
|
|
4023
|
-
SAPOData: output.SAPOData != null ? deserializeAws_restJson1SAPODataSourceProperties(output.SAPOData, context) : undefined,
|
|
4024
|
-
Salesforce: output.Salesforce != null
|
|
4025
|
-
? deserializeAws_restJson1SalesforceSourceProperties(output.Salesforce, context)
|
|
4026
|
-
: undefined,
|
|
4027
|
-
ServiceNow: output.ServiceNow != null
|
|
4028
|
-
? deserializeAws_restJson1ServiceNowSourceProperties(output.ServiceNow, context)
|
|
4029
|
-
: undefined,
|
|
4030
|
-
Singular: output.Singular != null ? deserializeAws_restJson1SingularSourceProperties(output.Singular, context) : undefined,
|
|
4031
|
-
Slack: output.Slack != null ? deserializeAws_restJson1SlackSourceProperties(output.Slack, context) : undefined,
|
|
4032
|
-
Trendmicro: output.Trendmicro != null
|
|
4033
|
-
? deserializeAws_restJson1TrendmicroSourceProperties(output.Trendmicro, context)
|
|
4034
|
-
: undefined,
|
|
4035
|
-
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaSourceProperties(output.Veeva, context) : undefined,
|
|
4036
|
-
Zendesk: output.Zendesk != null ? deserializeAws_restJson1ZendeskSourceProperties(output.Zendesk, context) : undefined,
|
|
3730
|
+
Amplitude: output.Amplitude != null ? de_AmplitudeSourceProperties(output.Amplitude, context) : undefined,
|
|
3731
|
+
CustomConnector: output.CustomConnector != null ? de_CustomConnectorSourceProperties(output.CustomConnector, context) : undefined,
|
|
3732
|
+
Datadog: output.Datadog != null ? de_DatadogSourceProperties(output.Datadog, context) : undefined,
|
|
3733
|
+
Dynatrace: output.Dynatrace != null ? de_DynatraceSourceProperties(output.Dynatrace, context) : undefined,
|
|
3734
|
+
GoogleAnalytics: output.GoogleAnalytics != null ? de_GoogleAnalyticsSourceProperties(output.GoogleAnalytics, context) : undefined,
|
|
3735
|
+
InforNexus: output.InforNexus != null ? de_InforNexusSourceProperties(output.InforNexus, context) : undefined,
|
|
3736
|
+
Marketo: output.Marketo != null ? de_MarketoSourceProperties(output.Marketo, context) : undefined,
|
|
3737
|
+
Pardot: output.Pardot != null ? de_PardotSourceProperties(output.Pardot, context) : undefined,
|
|
3738
|
+
S3: output.S3 != null ? de_S3SourceProperties(output.S3, context) : undefined,
|
|
3739
|
+
SAPOData: output.SAPOData != null ? de_SAPODataSourceProperties(output.SAPOData, context) : undefined,
|
|
3740
|
+
Salesforce: output.Salesforce != null ? de_SalesforceSourceProperties(output.Salesforce, context) : undefined,
|
|
3741
|
+
ServiceNow: output.ServiceNow != null ? de_ServiceNowSourceProperties(output.ServiceNow, context) : undefined,
|
|
3742
|
+
Singular: output.Singular != null ? de_SingularSourceProperties(output.Singular, context) : undefined,
|
|
3743
|
+
Slack: output.Slack != null ? de_SlackSourceProperties(output.Slack, context) : undefined,
|
|
3744
|
+
Trendmicro: output.Trendmicro != null ? de_TrendmicroSourceProperties(output.Trendmicro, context) : undefined,
|
|
3745
|
+
Veeva: output.Veeva != null ? de_VeevaSourceProperties(output.Veeva, context) : undefined,
|
|
3746
|
+
Zendesk: output.Zendesk != null ? de_ZendeskSourceProperties(output.Zendesk, context) : undefined,
|
|
4037
3747
|
};
|
|
4038
3748
|
};
|
|
4039
|
-
const
|
|
3749
|
+
const de_SourceFieldProperties = (output, context) => {
|
|
4040
3750
|
return {
|
|
4041
3751
|
isQueryable: __expectBoolean(output.isQueryable),
|
|
4042
3752
|
isRetrievable: __expectBoolean(output.isRetrievable),
|
|
4043
3753
|
isTimestampFieldForIncrementalQueries: __expectBoolean(output.isTimestampFieldForIncrementalQueries),
|
|
4044
3754
|
};
|
|
4045
3755
|
};
|
|
4046
|
-
const
|
|
3756
|
+
const de_SourceFields = (output, context) => {
|
|
4047
3757
|
const retVal = (output || [])
|
|
4048
3758
|
.filter((e) => e != null)
|
|
4049
3759
|
.map((entry) => {
|
|
@@ -4054,26 +3764,26 @@ const deserializeAws_restJson1SourceFields = (output, context) => {
|
|
|
4054
3764
|
});
|
|
4055
3765
|
return retVal;
|
|
4056
3766
|
};
|
|
4057
|
-
const
|
|
3767
|
+
const de_SourceFlowConfig = (output, context) => {
|
|
4058
3768
|
return {
|
|
4059
3769
|
apiVersion: __expectString(output.apiVersion),
|
|
4060
3770
|
connectorProfileName: __expectString(output.connectorProfileName),
|
|
4061
3771
|
connectorType: __expectString(output.connectorType),
|
|
4062
3772
|
incrementalPullConfig: output.incrementalPullConfig != null
|
|
4063
|
-
?
|
|
3773
|
+
? de_IncrementalPullConfig(output.incrementalPullConfig, context)
|
|
4064
3774
|
: undefined,
|
|
4065
3775
|
sourceConnectorProperties: output.sourceConnectorProperties != null
|
|
4066
|
-
?
|
|
3776
|
+
? de_SourceConnectorProperties(output.sourceConnectorProperties, context)
|
|
4067
3777
|
: undefined,
|
|
4068
3778
|
};
|
|
4069
3779
|
};
|
|
4070
|
-
const
|
|
3780
|
+
const de_SuccessResponseHandlingConfig = (output, context) => {
|
|
4071
3781
|
return {
|
|
4072
3782
|
bucketName: __expectString(output.bucketName),
|
|
4073
3783
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4074
3784
|
};
|
|
4075
3785
|
};
|
|
4076
|
-
const
|
|
3786
|
+
const de_SupportedApiVersionList = (output, context) => {
|
|
4077
3787
|
const retVal = (output || [])
|
|
4078
3788
|
.filter((e) => e != null)
|
|
4079
3789
|
.map((entry) => {
|
|
@@ -4084,12 +3794,12 @@ const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
|
|
|
4084
3794
|
});
|
|
4085
3795
|
return retVal;
|
|
4086
3796
|
};
|
|
4087
|
-
const
|
|
3797
|
+
const de_SupportedFieldTypeDetails = (output, context) => {
|
|
4088
3798
|
return {
|
|
4089
|
-
v1: output.v1 != null ?
|
|
3799
|
+
v1: output.v1 != null ? de_FieldTypeDetails(output.v1, context) : undefined,
|
|
4090
3800
|
};
|
|
4091
3801
|
};
|
|
4092
|
-
const
|
|
3802
|
+
const de_SupportedOperatorList = (output, context) => {
|
|
4093
3803
|
const retVal = (output || [])
|
|
4094
3804
|
.filter((e) => e != null)
|
|
4095
3805
|
.map((entry) => {
|
|
@@ -4100,7 +3810,7 @@ const deserializeAws_restJson1SupportedOperatorList = (output, context) => {
|
|
|
4100
3810
|
});
|
|
4101
3811
|
return retVal;
|
|
4102
3812
|
};
|
|
4103
|
-
const
|
|
3813
|
+
const de_SupportedValueList = (output, context) => {
|
|
4104
3814
|
const retVal = (output || [])
|
|
4105
3815
|
.filter((e) => e != null)
|
|
4106
3816
|
.map((entry) => {
|
|
@@ -4111,7 +3821,7 @@ const deserializeAws_restJson1SupportedValueList = (output, context) => {
|
|
|
4111
3821
|
});
|
|
4112
3822
|
return retVal;
|
|
4113
3823
|
};
|
|
4114
|
-
const
|
|
3824
|
+
const de_SupportedWriteOperationList = (output, context) => {
|
|
4115
3825
|
const retVal = (output || [])
|
|
4116
3826
|
.filter((e) => e != null)
|
|
4117
3827
|
.map((entry) => {
|
|
@@ -4122,7 +3832,7 @@ const deserializeAws_restJson1SupportedWriteOperationList = (output, context) =>
|
|
|
4122
3832
|
});
|
|
4123
3833
|
return retVal;
|
|
4124
3834
|
};
|
|
4125
|
-
const
|
|
3835
|
+
const de_TagMap = (output, context) => {
|
|
4126
3836
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4127
3837
|
if (value === null) {
|
|
4128
3838
|
return acc;
|
|
@@ -4131,20 +3841,16 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4131
3841
|
return acc;
|
|
4132
3842
|
}, {});
|
|
4133
3843
|
};
|
|
4134
|
-
const
|
|
3844
|
+
const de_Task = (output, context) => {
|
|
4135
3845
|
return {
|
|
4136
|
-
connectorOperator: output.connectorOperator != null
|
|
4137
|
-
? deserializeAws_restJson1ConnectorOperator(output.connectorOperator, context)
|
|
4138
|
-
: undefined,
|
|
3846
|
+
connectorOperator: output.connectorOperator != null ? de_ConnectorOperator(output.connectorOperator, context) : undefined,
|
|
4139
3847
|
destinationField: __expectString(output.destinationField),
|
|
4140
|
-
sourceFields: output.sourceFields != null ?
|
|
4141
|
-
taskProperties: output.taskProperties != null
|
|
4142
|
-
? deserializeAws_restJson1TaskPropertiesMap(output.taskProperties, context)
|
|
4143
|
-
: undefined,
|
|
3848
|
+
sourceFields: output.sourceFields != null ? de_SourceFields(output.sourceFields, context) : undefined,
|
|
3849
|
+
taskProperties: output.taskProperties != null ? de_TaskPropertiesMap(output.taskProperties, context) : undefined,
|
|
4144
3850
|
taskType: __expectString(output.taskType),
|
|
4145
3851
|
};
|
|
4146
3852
|
};
|
|
4147
|
-
const
|
|
3853
|
+
const de_TaskPropertiesMap = (output, context) => {
|
|
4148
3854
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4149
3855
|
if (value === null) {
|
|
4150
3856
|
return acc;
|
|
@@ -4153,18 +3859,18 @@ const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
|
|
|
4153
3859
|
return acc;
|
|
4154
3860
|
}, {});
|
|
4155
3861
|
};
|
|
4156
|
-
const
|
|
3862
|
+
const de_Tasks = (output, context) => {
|
|
4157
3863
|
const retVal = (output || [])
|
|
4158
3864
|
.filter((e) => e != null)
|
|
4159
3865
|
.map((entry) => {
|
|
4160
3866
|
if (entry === null) {
|
|
4161
3867
|
return null;
|
|
4162
3868
|
}
|
|
4163
|
-
return
|
|
3869
|
+
return de_Task(entry, context);
|
|
4164
3870
|
});
|
|
4165
3871
|
return retVal;
|
|
4166
3872
|
};
|
|
4167
|
-
const
|
|
3873
|
+
const de_TokenUrlCustomProperties = (output, context) => {
|
|
4168
3874
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4169
3875
|
if (value === null) {
|
|
4170
3876
|
return acc;
|
|
@@ -4173,7 +3879,7 @@ const deserializeAws_restJson1TokenUrlCustomProperties = (output, context) => {
|
|
|
4173
3879
|
return acc;
|
|
4174
3880
|
}, {});
|
|
4175
3881
|
};
|
|
4176
|
-
const
|
|
3882
|
+
const de_TokenUrlList = (output, context) => {
|
|
4177
3883
|
const retVal = (output || [])
|
|
4178
3884
|
.filter((e) => e != null)
|
|
4179
3885
|
.map((entry) => {
|
|
@@ -4184,33 +3890,29 @@ const deserializeAws_restJson1TokenUrlList = (output, context) => {
|
|
|
4184
3890
|
});
|
|
4185
3891
|
return retVal;
|
|
4186
3892
|
};
|
|
4187
|
-
const
|
|
3893
|
+
const de_TrendmicroConnectorProfileProperties = (output, context) => {
|
|
4188
3894
|
return {};
|
|
4189
3895
|
};
|
|
4190
|
-
const
|
|
3896
|
+
const de_TrendmicroMetadata = (output, context) => {
|
|
4191
3897
|
return {};
|
|
4192
3898
|
};
|
|
4193
|
-
const
|
|
3899
|
+
const de_TrendmicroSourceProperties = (output, context) => {
|
|
4194
3900
|
return {
|
|
4195
3901
|
object: __expectString(output.object),
|
|
4196
3902
|
};
|
|
4197
3903
|
};
|
|
4198
|
-
const
|
|
3904
|
+
const de_TriggerConfig = (output, context) => {
|
|
4199
3905
|
return {
|
|
4200
|
-
triggerProperties: output.triggerProperties != null
|
|
4201
|
-
? deserializeAws_restJson1TriggerProperties(output.triggerProperties, context)
|
|
4202
|
-
: undefined,
|
|
3906
|
+
triggerProperties: output.triggerProperties != null ? de_TriggerProperties(output.triggerProperties, context) : undefined,
|
|
4203
3907
|
triggerType: __expectString(output.triggerType),
|
|
4204
3908
|
};
|
|
4205
3909
|
};
|
|
4206
|
-
const
|
|
3910
|
+
const de_TriggerProperties = (output, context) => {
|
|
4207
3911
|
return {
|
|
4208
|
-
Scheduled: output.Scheduled != null
|
|
4209
|
-
? deserializeAws_restJson1ScheduledTriggerProperties(output.Scheduled, context)
|
|
4210
|
-
: undefined,
|
|
3912
|
+
Scheduled: output.Scheduled != null ? de_ScheduledTriggerProperties(output.Scheduled, context) : undefined,
|
|
4211
3913
|
};
|
|
4212
3914
|
};
|
|
4213
|
-
const
|
|
3915
|
+
const de_TriggerTypeList = (output, context) => {
|
|
4214
3916
|
const retVal = (output || [])
|
|
4215
3917
|
.filter((e) => e != null)
|
|
4216
3918
|
.map((entry) => {
|
|
@@ -4221,36 +3923,34 @@ const deserializeAws_restJson1TriggerTypeList = (output, context) => {
|
|
|
4221
3923
|
});
|
|
4222
3924
|
return retVal;
|
|
4223
3925
|
};
|
|
4224
|
-
const
|
|
3926
|
+
const de_UpsolverDestinationProperties = (output, context) => {
|
|
4225
3927
|
return {
|
|
4226
3928
|
bucketName: __expectString(output.bucketName),
|
|
4227
3929
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4228
3930
|
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
4229
|
-
?
|
|
3931
|
+
? de_UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
4230
3932
|
: undefined,
|
|
4231
3933
|
};
|
|
4232
3934
|
};
|
|
4233
|
-
const
|
|
3935
|
+
const de_UpsolverMetadata = (output, context) => {
|
|
4234
3936
|
return {};
|
|
4235
3937
|
};
|
|
4236
|
-
const
|
|
3938
|
+
const de_UpsolverS3OutputFormatConfig = (output, context) => {
|
|
4237
3939
|
return {
|
|
4238
|
-
aggregationConfig: output.aggregationConfig != null
|
|
4239
|
-
? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
|
|
4240
|
-
: undefined,
|
|
3940
|
+
aggregationConfig: output.aggregationConfig != null ? de_AggregationConfig(output.aggregationConfig, context) : undefined,
|
|
4241
3941
|
fileType: __expectString(output.fileType),
|
|
4242
|
-
prefixConfig: output.prefixConfig != null ?
|
|
3942
|
+
prefixConfig: output.prefixConfig != null ? de_PrefixConfig(output.prefixConfig, context) : undefined,
|
|
4243
3943
|
};
|
|
4244
3944
|
};
|
|
4245
|
-
const
|
|
3945
|
+
const de_VeevaConnectorProfileProperties = (output, context) => {
|
|
4246
3946
|
return {
|
|
4247
3947
|
instanceUrl: __expectString(output.instanceUrl),
|
|
4248
3948
|
};
|
|
4249
3949
|
};
|
|
4250
|
-
const
|
|
3950
|
+
const de_VeevaMetadata = (output, context) => {
|
|
4251
3951
|
return {};
|
|
4252
3952
|
};
|
|
4253
|
-
const
|
|
3953
|
+
const de_VeevaSourceProperties = (output, context) => {
|
|
4254
3954
|
return {
|
|
4255
3955
|
documentType: __expectString(output.documentType),
|
|
4256
3956
|
includeAllVersions: __expectBoolean(output.includeAllVersions),
|
|
@@ -4259,27 +3959,25 @@ const deserializeAws_restJson1VeevaSourceProperties = (output, context) => {
|
|
|
4259
3959
|
object: __expectString(output.object),
|
|
4260
3960
|
};
|
|
4261
3961
|
};
|
|
4262
|
-
const
|
|
3962
|
+
const de_ZendeskConnectorProfileProperties = (output, context) => {
|
|
4263
3963
|
return {
|
|
4264
3964
|
instanceUrl: __expectString(output.instanceUrl),
|
|
4265
3965
|
};
|
|
4266
3966
|
};
|
|
4267
|
-
const
|
|
3967
|
+
const de_ZendeskDestinationProperties = (output, context) => {
|
|
4268
3968
|
return {
|
|
4269
|
-
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4270
|
-
|
|
4271
|
-
: undefined,
|
|
4272
|
-
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3969
|
+
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3970
|
+
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4273
3971
|
object: __expectString(output.object),
|
|
4274
3972
|
writeOperationType: __expectString(output.writeOperationType),
|
|
4275
3973
|
};
|
|
4276
3974
|
};
|
|
4277
|
-
const
|
|
3975
|
+
const de_ZendeskMetadata = (output, context) => {
|
|
4278
3976
|
return {
|
|
4279
|
-
oAuthScopes: output.oAuthScopes != null ?
|
|
3977
|
+
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4280
3978
|
};
|
|
4281
3979
|
};
|
|
4282
|
-
const
|
|
3980
|
+
const de_ZendeskSourceProperties = (output, context) => {
|
|
4283
3981
|
return {
|
|
4284
3982
|
object: __expectString(output.object),
|
|
4285
3983
|
};
|