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