@aws-sdk/client-appflow 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +497 -2620
- package/dist-es/protocols/Aws_restJson1.js +464 -2587
- package/dist-types/commands/CreateConnectorProfileCommand.d.ts +1 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +1 -0
- package/dist-types/commands/RegisterConnectorCommand.d.ts +1 -0
- package/dist-types/commands/StartFlowCommand.d.ts +1 -0
- package/dist-types/commands/UpdateConnectorProfileCommand.d.ts +1 -0
- package/dist-types/commands/UpdateConnectorRegistrationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +94 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +9 -7
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
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
|
+
const uuid_1 = require("uuid");
|
|
6
7
|
const AppflowServiceException_1 = require("../models/AppflowServiceException");
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const se_CreateConnectorProfileCommand = async (input, context) => {
|
|
@@ -12,16 +13,15 @@ const se_CreateConnectorProfileCommand = async (input, context) => {
|
|
|
12
13
|
};
|
|
13
14
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-connector-profile";
|
|
14
15
|
let body;
|
|
15
|
-
body = JSON.stringify({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
});
|
|
16
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
18
|
+
connectionMode: [],
|
|
19
|
+
connectorLabel: [],
|
|
20
|
+
connectorProfileConfig: (_) => (0, smithy_client_1._json)(_),
|
|
21
|
+
connectorProfileName: [],
|
|
22
|
+
connectorType: [],
|
|
23
|
+
kmsArn: [],
|
|
24
|
+
}));
|
|
25
25
|
return new protocol_http_1.HttpRequest({
|
|
26
26
|
protocol,
|
|
27
27
|
hostname,
|
|
@@ -40,21 +40,18 @@ const se_CreateFlowCommand = async (input, context) => {
|
|
|
40
40
|
};
|
|
41
41
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-flow";
|
|
42
42
|
let body;
|
|
43
|
-
body = JSON.stringify({
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
...(input.tasks != null && { tasks: se_Tasks(input.tasks, context) }),
|
|
56
|
-
...(input.triggerConfig != null && { triggerConfig: se_TriggerConfig(input.triggerConfig, context) }),
|
|
57
|
-
});
|
|
43
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
44
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
45
|
+
description: [],
|
|
46
|
+
destinationFlowConfigList: (_) => (0, smithy_client_1._json)(_),
|
|
47
|
+
flowName: [],
|
|
48
|
+
kmsArn: [],
|
|
49
|
+
metadataCatalogConfig: (_) => (0, smithy_client_1._json)(_),
|
|
50
|
+
sourceFlowConfig: (_) => (0, smithy_client_1._json)(_),
|
|
51
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
52
|
+
tasks: (_) => (0, smithy_client_1._json)(_),
|
|
53
|
+
triggerConfig: (_) => se_TriggerConfig(_, context),
|
|
54
|
+
}));
|
|
58
55
|
return new protocol_http_1.HttpRequest({
|
|
59
56
|
protocol,
|
|
60
57
|
hostname,
|
|
@@ -73,10 +70,10 @@ const se_DeleteConnectorProfileCommand = async (input, context) => {
|
|
|
73
70
|
};
|
|
74
71
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-connector-profile";
|
|
75
72
|
let body;
|
|
76
|
-
body = JSON.stringify({
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
});
|
|
73
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
74
|
+
connectorProfileName: [],
|
|
75
|
+
forceDelete: [],
|
|
76
|
+
}));
|
|
80
77
|
return new protocol_http_1.HttpRequest({
|
|
81
78
|
protocol,
|
|
82
79
|
hostname,
|
|
@@ -95,10 +92,10 @@ const se_DeleteFlowCommand = async (input, context) => {
|
|
|
95
92
|
};
|
|
96
93
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-flow";
|
|
97
94
|
let body;
|
|
98
|
-
body = JSON.stringify({
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
});
|
|
95
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
96
|
+
flowName: [],
|
|
97
|
+
forceDelete: [],
|
|
98
|
+
}));
|
|
102
99
|
return new protocol_http_1.HttpRequest({
|
|
103
100
|
protocol,
|
|
104
101
|
hostname,
|
|
@@ -117,10 +114,10 @@ const se_DescribeConnectorCommand = async (input, context) => {
|
|
|
117
114
|
};
|
|
118
115
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connector";
|
|
119
116
|
let body;
|
|
120
|
-
body = JSON.stringify({
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
});
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
118
|
+
connectorLabel: [],
|
|
119
|
+
connectorType: [],
|
|
120
|
+
}));
|
|
124
121
|
return new protocol_http_1.HttpRequest({
|
|
125
122
|
protocol,
|
|
126
123
|
hostname,
|
|
@@ -139,12 +136,12 @@ const se_DescribeConnectorEntityCommand = async (input, context) => {
|
|
|
139
136
|
};
|
|
140
137
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connector-entity";
|
|
141
138
|
let body;
|
|
142
|
-
body = JSON.stringify({
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
});
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
140
|
+
apiVersion: [],
|
|
141
|
+
connectorEntityName: [],
|
|
142
|
+
connectorProfileName: [],
|
|
143
|
+
connectorType: [],
|
|
144
|
+
}));
|
|
148
145
|
return new protocol_http_1.HttpRequest({
|
|
149
146
|
protocol,
|
|
150
147
|
hostname,
|
|
@@ -163,15 +160,13 @@ const se_DescribeConnectorProfilesCommand = async (input, context) => {
|
|
|
163
160
|
};
|
|
164
161
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connector-profiles";
|
|
165
162
|
let body;
|
|
166
|
-
body = JSON.stringify({
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
174
|
-
});
|
|
163
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
164
|
+
connectorLabel: [],
|
|
165
|
+
connectorProfileNames: (_) => (0, smithy_client_1._json)(_),
|
|
166
|
+
connectorType: [],
|
|
167
|
+
maxResults: [],
|
|
168
|
+
nextToken: [],
|
|
169
|
+
}));
|
|
175
170
|
return new protocol_http_1.HttpRequest({
|
|
176
171
|
protocol,
|
|
177
172
|
hostname,
|
|
@@ -190,11 +185,11 @@ const se_DescribeConnectorsCommand = async (input, context) => {
|
|
|
190
185
|
};
|
|
191
186
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connectors";
|
|
192
187
|
let body;
|
|
193
|
-
body = JSON.stringify({
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
});
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
189
|
+
connectorTypes: (_) => (0, smithy_client_1._json)(_),
|
|
190
|
+
maxResults: [],
|
|
191
|
+
nextToken: [],
|
|
192
|
+
}));
|
|
198
193
|
return new protocol_http_1.HttpRequest({
|
|
199
194
|
protocol,
|
|
200
195
|
hostname,
|
|
@@ -213,9 +208,9 @@ const se_DescribeFlowCommand = async (input, context) => {
|
|
|
213
208
|
};
|
|
214
209
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-flow";
|
|
215
210
|
let body;
|
|
216
|
-
body = JSON.stringify({
|
|
217
|
-
|
|
218
|
-
});
|
|
211
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
212
|
+
flowName: [],
|
|
213
|
+
}));
|
|
219
214
|
return new protocol_http_1.HttpRequest({
|
|
220
215
|
protocol,
|
|
221
216
|
hostname,
|
|
@@ -234,11 +229,11 @@ const se_DescribeFlowExecutionRecordsCommand = async (input, context) => {
|
|
|
234
229
|
};
|
|
235
230
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-flow-execution-records";
|
|
236
231
|
let body;
|
|
237
|
-
body = JSON.stringify({
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
});
|
|
232
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
233
|
+
flowName: [],
|
|
234
|
+
maxResults: [],
|
|
235
|
+
nextToken: [],
|
|
236
|
+
}));
|
|
242
237
|
return new protocol_http_1.HttpRequest({
|
|
243
238
|
protocol,
|
|
244
239
|
hostname,
|
|
@@ -257,14 +252,14 @@ const se_ListConnectorEntitiesCommand = async (input, context) => {
|
|
|
257
252
|
};
|
|
258
253
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-connector-entities";
|
|
259
254
|
let body;
|
|
260
|
-
body = JSON.stringify({
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
});
|
|
255
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
256
|
+
apiVersion: [],
|
|
257
|
+
connectorProfileName: [],
|
|
258
|
+
connectorType: [],
|
|
259
|
+
entitiesPath: [],
|
|
260
|
+
maxResults: [],
|
|
261
|
+
nextToken: [],
|
|
262
|
+
}));
|
|
268
263
|
return new protocol_http_1.HttpRequest({
|
|
269
264
|
protocol,
|
|
270
265
|
hostname,
|
|
@@ -283,10 +278,10 @@ const se_ListConnectorsCommand = async (input, context) => {
|
|
|
283
278
|
};
|
|
284
279
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-connectors";
|
|
285
280
|
let body;
|
|
286
|
-
body = JSON.stringify({
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
});
|
|
281
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
282
|
+
maxResults: [],
|
|
283
|
+
nextToken: [],
|
|
284
|
+
}));
|
|
290
285
|
return new protocol_http_1.HttpRequest({
|
|
291
286
|
protocol,
|
|
292
287
|
hostname,
|
|
@@ -305,10 +300,10 @@ const se_ListFlowsCommand = async (input, context) => {
|
|
|
305
300
|
};
|
|
306
301
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-flows";
|
|
307
302
|
let body;
|
|
308
|
-
body = JSON.stringify({
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
});
|
|
303
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
304
|
+
maxResults: [],
|
|
305
|
+
nextToken: [],
|
|
306
|
+
}));
|
|
312
307
|
return new protocol_http_1.HttpRequest({
|
|
313
308
|
protocol,
|
|
314
309
|
hostname,
|
|
@@ -344,14 +339,13 @@ const se_RegisterConnectorCommand = async (input, context) => {
|
|
|
344
339
|
};
|
|
345
340
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/register-connector";
|
|
346
341
|
let body;
|
|
347
|
-
body = JSON.stringify({
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
});
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
343
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
344
|
+
connectorLabel: [],
|
|
345
|
+
connectorProvisioningConfig: (_) => (0, smithy_client_1._json)(_),
|
|
346
|
+
connectorProvisioningType: [],
|
|
347
|
+
description: [],
|
|
348
|
+
}));
|
|
355
349
|
return new protocol_http_1.HttpRequest({
|
|
356
350
|
protocol,
|
|
357
351
|
hostname,
|
|
@@ -370,9 +364,10 @@ const se_StartFlowCommand = async (input, context) => {
|
|
|
370
364
|
};
|
|
371
365
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-flow";
|
|
372
366
|
let body;
|
|
373
|
-
body = JSON.stringify({
|
|
374
|
-
|
|
375
|
-
|
|
367
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
368
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
369
|
+
flowName: [],
|
|
370
|
+
}));
|
|
376
371
|
return new protocol_http_1.HttpRequest({
|
|
377
372
|
protocol,
|
|
378
373
|
hostname,
|
|
@@ -391,9 +386,9 @@ const se_StopFlowCommand = async (input, context) => {
|
|
|
391
386
|
};
|
|
392
387
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/stop-flow";
|
|
393
388
|
let body;
|
|
394
|
-
body = JSON.stringify({
|
|
395
|
-
|
|
396
|
-
});
|
|
389
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
390
|
+
flowName: [],
|
|
391
|
+
}));
|
|
397
392
|
return new protocol_http_1.HttpRequest({
|
|
398
393
|
protocol,
|
|
399
394
|
hostname,
|
|
@@ -413,9 +408,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
413
408
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
414
409
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
415
410
|
let body;
|
|
416
|
-
body = JSON.stringify({
|
|
417
|
-
|
|
418
|
-
});
|
|
411
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
412
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
413
|
+
}));
|
|
419
414
|
return new protocol_http_1.HttpRequest({
|
|
420
415
|
protocol,
|
|
421
416
|
hostname,
|
|
@@ -434,10 +429,10 @@ const se_UnregisterConnectorCommand = async (input, context) => {
|
|
|
434
429
|
};
|
|
435
430
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/unregister-connector";
|
|
436
431
|
let body;
|
|
437
|
-
body = JSON.stringify({
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
});
|
|
432
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
433
|
+
connectorLabel: [],
|
|
434
|
+
forceDelete: [],
|
|
435
|
+
}));
|
|
441
436
|
return new protocol_http_1.HttpRequest({
|
|
442
437
|
protocol,
|
|
443
438
|
hostname,
|
|
@@ -454,7 +449,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
454
449
|
const headers = {};
|
|
455
450
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
456
451
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
457
|
-
const query = map({
|
|
452
|
+
const query = (0, smithy_client_1.map)({
|
|
458
453
|
tagKeys: [
|
|
459
454
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
460
455
|
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
@@ -480,13 +475,12 @@ const se_UpdateConnectorProfileCommand = async (input, context) => {
|
|
|
480
475
|
};
|
|
481
476
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-connector-profile";
|
|
482
477
|
let body;
|
|
483
|
-
body = JSON.stringify({
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
});
|
|
478
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
479
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
480
|
+
connectionMode: [],
|
|
481
|
+
connectorProfileConfig: (_) => (0, smithy_client_1._json)(_),
|
|
482
|
+
connectorProfileName: [],
|
|
483
|
+
}));
|
|
490
484
|
return new protocol_http_1.HttpRequest({
|
|
491
485
|
protocol,
|
|
492
486
|
hostname,
|
|
@@ -505,13 +499,12 @@ const se_UpdateConnectorRegistrationCommand = async (input, context) => {
|
|
|
505
499
|
};
|
|
506
500
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-connector-registration";
|
|
507
501
|
let body;
|
|
508
|
-
body = JSON.stringify({
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
});
|
|
502
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
503
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
504
|
+
connectorLabel: [],
|
|
505
|
+
connectorProvisioningConfig: (_) => (0, smithy_client_1._json)(_),
|
|
506
|
+
description: [],
|
|
507
|
+
}));
|
|
515
508
|
return new protocol_http_1.HttpRequest({
|
|
516
509
|
protocol,
|
|
517
510
|
hostname,
|
|
@@ -530,19 +523,16 @@ const se_UpdateFlowCommand = async (input, context) => {
|
|
|
530
523
|
};
|
|
531
524
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-flow";
|
|
532
525
|
let body;
|
|
533
|
-
body = JSON.stringify({
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
...(input.tasks != null && { tasks: se_Tasks(input.tasks, context) }),
|
|
544
|
-
...(input.triggerConfig != null && { triggerConfig: se_TriggerConfig(input.triggerConfig, context) }),
|
|
545
|
-
});
|
|
526
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
527
|
+
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
528
|
+
description: [],
|
|
529
|
+
destinationFlowConfigList: (_) => (0, smithy_client_1._json)(_),
|
|
530
|
+
flowName: [],
|
|
531
|
+
metadataCatalogConfig: (_) => (0, smithy_client_1._json)(_),
|
|
532
|
+
sourceFlowConfig: (_) => (0, smithy_client_1._json)(_),
|
|
533
|
+
tasks: (_) => (0, smithy_client_1._json)(_),
|
|
534
|
+
triggerConfig: (_) => se_TriggerConfig(_, context),
|
|
535
|
+
}));
|
|
546
536
|
return new protocol_http_1.HttpRequest({
|
|
547
537
|
protocol,
|
|
548
538
|
hostname,
|
|
@@ -558,13 +548,14 @@ const de_CreateConnectorProfileCommand = async (output, context) => {
|
|
|
558
548
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
559
549
|
return de_CreateConnectorProfileCommandError(output, context);
|
|
560
550
|
}
|
|
561
|
-
const contents = map({
|
|
551
|
+
const contents = (0, smithy_client_1.map)({
|
|
562
552
|
$metadata: deserializeMetadata(output),
|
|
563
553
|
});
|
|
564
554
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}
|
|
555
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
556
|
+
connectorProfileArn: smithy_client_1.expectString,
|
|
557
|
+
});
|
|
558
|
+
Object.assign(contents, doc);
|
|
568
559
|
return contents;
|
|
569
560
|
};
|
|
570
561
|
exports.de_CreateConnectorProfileCommand = de_CreateConnectorProfileCommand;
|
|
@@ -592,10 +583,9 @@ const de_CreateConnectorProfileCommandError = async (output, context) => {
|
|
|
592
583
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
593
584
|
default:
|
|
594
585
|
const parsedBody = parsedOutput.body;
|
|
595
|
-
|
|
586
|
+
return throwDefaultError({
|
|
596
587
|
output,
|
|
597
588
|
parsedBody,
|
|
598
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
599
589
|
errorCode,
|
|
600
590
|
});
|
|
601
591
|
}
|
|
@@ -604,16 +594,15 @@ const de_CreateFlowCommand = async (output, context) => {
|
|
|
604
594
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
605
595
|
return de_CreateFlowCommandError(output, context);
|
|
606
596
|
}
|
|
607
|
-
const contents = map({
|
|
597
|
+
const contents = (0, smithy_client_1.map)({
|
|
608
598
|
$metadata: deserializeMetadata(output),
|
|
609
599
|
});
|
|
610
600
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}
|
|
601
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
602
|
+
flowArn: smithy_client_1.expectString,
|
|
603
|
+
flowStatus: smithy_client_1.expectString,
|
|
604
|
+
});
|
|
605
|
+
Object.assign(contents, doc);
|
|
617
606
|
return contents;
|
|
618
607
|
};
|
|
619
608
|
exports.de_CreateFlowCommand = de_CreateFlowCommand;
|
|
@@ -647,10 +636,9 @@ const de_CreateFlowCommandError = async (output, context) => {
|
|
|
647
636
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
648
637
|
default:
|
|
649
638
|
const parsedBody = parsedOutput.body;
|
|
650
|
-
|
|
639
|
+
return throwDefaultError({
|
|
651
640
|
output,
|
|
652
641
|
parsedBody,
|
|
653
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
654
642
|
errorCode,
|
|
655
643
|
});
|
|
656
644
|
}
|
|
@@ -659,7 +647,7 @@ const de_DeleteConnectorProfileCommand = async (output, context) => {
|
|
|
659
647
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
660
648
|
return de_DeleteConnectorProfileCommandError(output, context);
|
|
661
649
|
}
|
|
662
|
-
const contents = map({
|
|
650
|
+
const contents = (0, smithy_client_1.map)({
|
|
663
651
|
$metadata: deserializeMetadata(output),
|
|
664
652
|
});
|
|
665
653
|
await collectBody(output.body, context);
|
|
@@ -684,10 +672,9 @@ const de_DeleteConnectorProfileCommandError = async (output, context) => {
|
|
|
684
672
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
685
673
|
default:
|
|
686
674
|
const parsedBody = parsedOutput.body;
|
|
687
|
-
|
|
675
|
+
return throwDefaultError({
|
|
688
676
|
output,
|
|
689
677
|
parsedBody,
|
|
690
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
691
678
|
errorCode,
|
|
692
679
|
});
|
|
693
680
|
}
|
|
@@ -696,7 +683,7 @@ const de_DeleteFlowCommand = async (output, context) => {
|
|
|
696
683
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
697
684
|
return de_DeleteFlowCommandError(output, context);
|
|
698
685
|
}
|
|
699
|
-
const contents = map({
|
|
686
|
+
const contents = (0, smithy_client_1.map)({
|
|
700
687
|
$metadata: deserializeMetadata(output),
|
|
701
688
|
});
|
|
702
689
|
await collectBody(output.body, context);
|
|
@@ -721,10 +708,9 @@ const de_DeleteFlowCommandError = async (output, context) => {
|
|
|
721
708
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
722
709
|
default:
|
|
723
710
|
const parsedBody = parsedOutput.body;
|
|
724
|
-
|
|
711
|
+
return throwDefaultError({
|
|
725
712
|
output,
|
|
726
713
|
parsedBody,
|
|
727
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
728
714
|
errorCode,
|
|
729
715
|
});
|
|
730
716
|
}
|
|
@@ -733,13 +719,14 @@ const de_DescribeConnectorCommand = async (output, context) => {
|
|
|
733
719
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
734
720
|
return de_DescribeConnectorCommandError(output, context);
|
|
735
721
|
}
|
|
736
|
-
const contents = map({
|
|
722
|
+
const contents = (0, smithy_client_1.map)({
|
|
737
723
|
$metadata: deserializeMetadata(output),
|
|
738
724
|
});
|
|
739
725
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
}
|
|
726
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
727
|
+
connectorConfiguration: (_) => de_ConnectorConfiguration(_, context),
|
|
728
|
+
});
|
|
729
|
+
Object.assign(contents, doc);
|
|
743
730
|
return contents;
|
|
744
731
|
};
|
|
745
732
|
exports.de_DescribeConnectorCommand = de_DescribeConnectorCommand;
|
|
@@ -761,10 +748,9 @@ const de_DescribeConnectorCommandError = async (output, context) => {
|
|
|
761
748
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
762
749
|
default:
|
|
763
750
|
const parsedBody = parsedOutput.body;
|
|
764
|
-
|
|
751
|
+
return throwDefaultError({
|
|
765
752
|
output,
|
|
766
753
|
parsedBody,
|
|
767
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
768
754
|
errorCode,
|
|
769
755
|
});
|
|
770
756
|
}
|
|
@@ -773,13 +759,14 @@ const de_DescribeConnectorEntityCommand = async (output, context) => {
|
|
|
773
759
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
774
760
|
return de_DescribeConnectorEntityCommandError(output, context);
|
|
775
761
|
}
|
|
776
|
-
const contents = map({
|
|
762
|
+
const contents = (0, smithy_client_1.map)({
|
|
777
763
|
$metadata: deserializeMetadata(output),
|
|
778
764
|
});
|
|
779
765
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
}
|
|
766
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
767
|
+
connectorEntityFields: (_) => de_ConnectorEntityFieldList(_, context),
|
|
768
|
+
});
|
|
769
|
+
Object.assign(contents, doc);
|
|
783
770
|
return contents;
|
|
784
771
|
};
|
|
785
772
|
exports.de_DescribeConnectorEntityCommand = de_DescribeConnectorEntityCommand;
|
|
@@ -807,10 +794,9 @@ const de_DescribeConnectorEntityCommandError = async (output, context) => {
|
|
|
807
794
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
808
795
|
default:
|
|
809
796
|
const parsedBody = parsedOutput.body;
|
|
810
|
-
|
|
797
|
+
return throwDefaultError({
|
|
811
798
|
output,
|
|
812
799
|
parsedBody,
|
|
813
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
814
800
|
errorCode,
|
|
815
801
|
});
|
|
816
802
|
}
|
|
@@ -819,16 +805,15 @@ const de_DescribeConnectorProfilesCommand = async (output, context) => {
|
|
|
819
805
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
820
806
|
return de_DescribeConnectorProfilesCommandError(output, context);
|
|
821
807
|
}
|
|
822
|
-
const contents = map({
|
|
808
|
+
const contents = (0, smithy_client_1.map)({
|
|
823
809
|
$metadata: deserializeMetadata(output),
|
|
824
810
|
});
|
|
825
811
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
}
|
|
812
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
813
|
+
connectorProfileDetails: (_) => de_ConnectorProfileDetailList(_, context),
|
|
814
|
+
nextToken: smithy_client_1.expectString,
|
|
815
|
+
});
|
|
816
|
+
Object.assign(contents, doc);
|
|
832
817
|
return contents;
|
|
833
818
|
};
|
|
834
819
|
exports.de_DescribeConnectorProfilesCommand = de_DescribeConnectorProfilesCommand;
|
|
@@ -847,10 +832,9 @@ const de_DescribeConnectorProfilesCommandError = async (output, context) => {
|
|
|
847
832
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
848
833
|
default:
|
|
849
834
|
const parsedBody = parsedOutput.body;
|
|
850
|
-
|
|
835
|
+
return throwDefaultError({
|
|
851
836
|
output,
|
|
852
837
|
parsedBody,
|
|
853
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
854
838
|
errorCode,
|
|
855
839
|
});
|
|
856
840
|
}
|
|
@@ -859,19 +843,16 @@ const de_DescribeConnectorsCommand = async (output, context) => {
|
|
|
859
843
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
860
844
|
return de_DescribeConnectorsCommandError(output, context);
|
|
861
845
|
}
|
|
862
|
-
const contents = map({
|
|
846
|
+
const contents = (0, smithy_client_1.map)({
|
|
863
847
|
$metadata: deserializeMetadata(output),
|
|
864
848
|
});
|
|
865
849
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
if (data.nextToken != null) {
|
|
873
|
-
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
874
|
-
}
|
|
850
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
851
|
+
connectorConfigurations: (_) => de_ConnectorConfigurationsMap(_, context),
|
|
852
|
+
connectors: (_) => de_ConnectorList(_, context),
|
|
853
|
+
nextToken: smithy_client_1.expectString,
|
|
854
|
+
});
|
|
855
|
+
Object.assign(contents, doc);
|
|
875
856
|
return contents;
|
|
876
857
|
};
|
|
877
858
|
exports.de_DescribeConnectorsCommand = de_DescribeConnectorsCommand;
|
|
@@ -890,10 +871,9 @@ const de_DescribeConnectorsCommandError = async (output, context) => {
|
|
|
890
871
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
891
872
|
default:
|
|
892
873
|
const parsedBody = parsedOutput.body;
|
|
893
|
-
|
|
874
|
+
return throwDefaultError({
|
|
894
875
|
output,
|
|
895
876
|
parsedBody,
|
|
896
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
897
877
|
errorCode,
|
|
898
878
|
});
|
|
899
879
|
}
|
|
@@ -902,67 +882,32 @@ const de_DescribeFlowCommand = async (output, context) => {
|
|
|
902
882
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
903
883
|
return de_DescribeFlowCommandError(output, context);
|
|
904
884
|
}
|
|
905
|
-
const contents = map({
|
|
885
|
+
const contents = (0, smithy_client_1.map)({
|
|
906
886
|
$metadata: deserializeMetadata(output),
|
|
907
887
|
});
|
|
908
888
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
contents.flowStatusMessage = (0, smithy_client_1.expectString)(data.flowStatusMessage);
|
|
932
|
-
}
|
|
933
|
-
if (data.kmsArn != null) {
|
|
934
|
-
contents.kmsArn = (0, smithy_client_1.expectString)(data.kmsArn);
|
|
935
|
-
}
|
|
936
|
-
if (data.lastRunExecutionDetails != null) {
|
|
937
|
-
contents.lastRunExecutionDetails = de_ExecutionDetails(data.lastRunExecutionDetails, context);
|
|
938
|
-
}
|
|
939
|
-
if (data.lastRunMetadataCatalogDetails != null) {
|
|
940
|
-
contents.lastRunMetadataCatalogDetails = de_MetadataCatalogDetails(data.lastRunMetadataCatalogDetails, context);
|
|
941
|
-
}
|
|
942
|
-
if (data.lastUpdatedAt != null) {
|
|
943
|
-
contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedAt)));
|
|
944
|
-
}
|
|
945
|
-
if (data.lastUpdatedBy != null) {
|
|
946
|
-
contents.lastUpdatedBy = (0, smithy_client_1.expectString)(data.lastUpdatedBy);
|
|
947
|
-
}
|
|
948
|
-
if (data.metadataCatalogConfig != null) {
|
|
949
|
-
contents.metadataCatalogConfig = de_MetadataCatalogConfig(data.metadataCatalogConfig, context);
|
|
950
|
-
}
|
|
951
|
-
if (data.schemaVersion != null) {
|
|
952
|
-
contents.schemaVersion = (0, smithy_client_1.expectLong)(data.schemaVersion);
|
|
953
|
-
}
|
|
954
|
-
if (data.sourceFlowConfig != null) {
|
|
955
|
-
contents.sourceFlowConfig = de_SourceFlowConfig(data.sourceFlowConfig, context);
|
|
956
|
-
}
|
|
957
|
-
if (data.tags != null) {
|
|
958
|
-
contents.tags = de_TagMap(data.tags, context);
|
|
959
|
-
}
|
|
960
|
-
if (data.tasks != null) {
|
|
961
|
-
contents.tasks = de_Tasks(data.tasks, context);
|
|
962
|
-
}
|
|
963
|
-
if (data.triggerConfig != null) {
|
|
964
|
-
contents.triggerConfig = de_TriggerConfig(data.triggerConfig, context);
|
|
965
|
-
}
|
|
889
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
890
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
891
|
+
createdBy: smithy_client_1.expectString,
|
|
892
|
+
description: smithy_client_1.expectString,
|
|
893
|
+
destinationFlowConfigList: smithy_client_1._json,
|
|
894
|
+
flowArn: smithy_client_1.expectString,
|
|
895
|
+
flowName: smithy_client_1.expectString,
|
|
896
|
+
flowStatus: smithy_client_1.expectString,
|
|
897
|
+
flowStatusMessage: smithy_client_1.expectString,
|
|
898
|
+
kmsArn: smithy_client_1.expectString,
|
|
899
|
+
lastRunExecutionDetails: (_) => de_ExecutionDetails(_, context),
|
|
900
|
+
lastRunMetadataCatalogDetails: smithy_client_1._json,
|
|
901
|
+
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
902
|
+
lastUpdatedBy: smithy_client_1.expectString,
|
|
903
|
+
metadataCatalogConfig: smithy_client_1._json,
|
|
904
|
+
schemaVersion: smithy_client_1.expectLong,
|
|
905
|
+
sourceFlowConfig: smithy_client_1._json,
|
|
906
|
+
tags: smithy_client_1._json,
|
|
907
|
+
tasks: smithy_client_1._json,
|
|
908
|
+
triggerConfig: (_) => de_TriggerConfig(_, context),
|
|
909
|
+
});
|
|
910
|
+
Object.assign(contents, doc);
|
|
966
911
|
return contents;
|
|
967
912
|
};
|
|
968
913
|
exports.de_DescribeFlowCommand = de_DescribeFlowCommand;
|
|
@@ -981,10 +926,9 @@ const de_DescribeFlowCommandError = async (output, context) => {
|
|
|
981
926
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
982
927
|
default:
|
|
983
928
|
const parsedBody = parsedOutput.body;
|
|
984
|
-
|
|
929
|
+
return throwDefaultError({
|
|
985
930
|
output,
|
|
986
931
|
parsedBody,
|
|
987
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
988
932
|
errorCode,
|
|
989
933
|
});
|
|
990
934
|
}
|
|
@@ -993,16 +937,15 @@ const de_DescribeFlowExecutionRecordsCommand = async (output, context) => {
|
|
|
993
937
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
994
938
|
return de_DescribeFlowExecutionRecordsCommandError(output, context);
|
|
995
939
|
}
|
|
996
|
-
const contents = map({
|
|
940
|
+
const contents = (0, smithy_client_1.map)({
|
|
997
941
|
$metadata: deserializeMetadata(output),
|
|
998
942
|
});
|
|
999
943
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
}
|
|
944
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
945
|
+
flowExecutions: (_) => de_FlowExecutionList(_, context),
|
|
946
|
+
nextToken: smithy_client_1.expectString,
|
|
947
|
+
});
|
|
948
|
+
Object.assign(contents, doc);
|
|
1006
949
|
return contents;
|
|
1007
950
|
};
|
|
1008
951
|
exports.de_DescribeFlowExecutionRecordsCommand = de_DescribeFlowExecutionRecordsCommand;
|
|
@@ -1024,10 +967,9 @@ const de_DescribeFlowExecutionRecordsCommandError = async (output, context) => {
|
|
|
1024
967
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1025
968
|
default:
|
|
1026
969
|
const parsedBody = parsedOutput.body;
|
|
1027
|
-
|
|
970
|
+
return throwDefaultError({
|
|
1028
971
|
output,
|
|
1029
972
|
parsedBody,
|
|
1030
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1031
973
|
errorCode,
|
|
1032
974
|
});
|
|
1033
975
|
}
|
|
@@ -1036,16 +978,15 @@ const de_ListConnectorEntitiesCommand = async (output, context) => {
|
|
|
1036
978
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1037
979
|
return de_ListConnectorEntitiesCommandError(output, context);
|
|
1038
980
|
}
|
|
1039
|
-
const contents = map({
|
|
981
|
+
const contents = (0, smithy_client_1.map)({
|
|
1040
982
|
$metadata: deserializeMetadata(output),
|
|
1041
983
|
});
|
|
1042
984
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
}
|
|
985
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
986
|
+
connectorEntityMap: smithy_client_1._json,
|
|
987
|
+
nextToken: smithy_client_1.expectString,
|
|
988
|
+
});
|
|
989
|
+
Object.assign(contents, doc);
|
|
1049
990
|
return contents;
|
|
1050
991
|
};
|
|
1051
992
|
exports.de_ListConnectorEntitiesCommand = de_ListConnectorEntitiesCommand;
|
|
@@ -1073,10 +1014,9 @@ const de_ListConnectorEntitiesCommandError = async (output, context) => {
|
|
|
1073
1014
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1074
1015
|
default:
|
|
1075
1016
|
const parsedBody = parsedOutput.body;
|
|
1076
|
-
|
|
1017
|
+
return throwDefaultError({
|
|
1077
1018
|
output,
|
|
1078
1019
|
parsedBody,
|
|
1079
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1080
1020
|
errorCode,
|
|
1081
1021
|
});
|
|
1082
1022
|
}
|
|
@@ -1085,16 +1025,15 @@ const de_ListConnectorsCommand = async (output, context) => {
|
|
|
1085
1025
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1086
1026
|
return de_ListConnectorsCommandError(output, context);
|
|
1087
1027
|
}
|
|
1088
|
-
const contents = map({
|
|
1028
|
+
const contents = (0, smithy_client_1.map)({
|
|
1089
1029
|
$metadata: deserializeMetadata(output),
|
|
1090
1030
|
});
|
|
1091
1031
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
}
|
|
1032
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1033
|
+
connectors: (_) => de_ConnectorList(_, context),
|
|
1034
|
+
nextToken: smithy_client_1.expectString,
|
|
1035
|
+
});
|
|
1036
|
+
Object.assign(contents, doc);
|
|
1098
1037
|
return contents;
|
|
1099
1038
|
};
|
|
1100
1039
|
exports.de_ListConnectorsCommand = de_ListConnectorsCommand;
|
|
@@ -1113,10 +1052,9 @@ const de_ListConnectorsCommandError = async (output, context) => {
|
|
|
1113
1052
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1114
1053
|
default:
|
|
1115
1054
|
const parsedBody = parsedOutput.body;
|
|
1116
|
-
|
|
1055
|
+
return throwDefaultError({
|
|
1117
1056
|
output,
|
|
1118
1057
|
parsedBody,
|
|
1119
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1120
1058
|
errorCode,
|
|
1121
1059
|
});
|
|
1122
1060
|
}
|
|
@@ -1125,16 +1063,15 @@ const de_ListFlowsCommand = async (output, context) => {
|
|
|
1125
1063
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1126
1064
|
return de_ListFlowsCommandError(output, context);
|
|
1127
1065
|
}
|
|
1128
|
-
const contents = map({
|
|
1066
|
+
const contents = (0, smithy_client_1.map)({
|
|
1129
1067
|
$metadata: deserializeMetadata(output),
|
|
1130
1068
|
});
|
|
1131
1069
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}
|
|
1070
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1071
|
+
flows: (_) => de_FlowList(_, context),
|
|
1072
|
+
nextToken: smithy_client_1.expectString,
|
|
1073
|
+
});
|
|
1074
|
+
Object.assign(contents, doc);
|
|
1138
1075
|
return contents;
|
|
1139
1076
|
};
|
|
1140
1077
|
exports.de_ListFlowsCommand = de_ListFlowsCommand;
|
|
@@ -1153,10 +1090,9 @@ const de_ListFlowsCommandError = async (output, context) => {
|
|
|
1153
1090
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1154
1091
|
default:
|
|
1155
1092
|
const parsedBody = parsedOutput.body;
|
|
1156
|
-
|
|
1093
|
+
return throwDefaultError({
|
|
1157
1094
|
output,
|
|
1158
1095
|
parsedBody,
|
|
1159
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1160
1096
|
errorCode,
|
|
1161
1097
|
});
|
|
1162
1098
|
}
|
|
@@ -1165,13 +1101,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1165
1101
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1166
1102
|
return de_ListTagsForResourceCommandError(output, context);
|
|
1167
1103
|
}
|
|
1168
|
-
const contents = map({
|
|
1104
|
+
const contents = (0, smithy_client_1.map)({
|
|
1169
1105
|
$metadata: deserializeMetadata(output),
|
|
1170
1106
|
});
|
|
1171
1107
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
}
|
|
1108
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1109
|
+
tags: smithy_client_1._json,
|
|
1110
|
+
});
|
|
1111
|
+
Object.assign(contents, doc);
|
|
1175
1112
|
return contents;
|
|
1176
1113
|
};
|
|
1177
1114
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -1193,10 +1130,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1193
1130
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1194
1131
|
default:
|
|
1195
1132
|
const parsedBody = parsedOutput.body;
|
|
1196
|
-
|
|
1133
|
+
return throwDefaultError({
|
|
1197
1134
|
output,
|
|
1198
1135
|
parsedBody,
|
|
1199
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1200
1136
|
errorCode,
|
|
1201
1137
|
});
|
|
1202
1138
|
}
|
|
@@ -1205,13 +1141,14 @@ const de_RegisterConnectorCommand = async (output, context) => {
|
|
|
1205
1141
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1206
1142
|
return de_RegisterConnectorCommandError(output, context);
|
|
1207
1143
|
}
|
|
1208
|
-
const contents = map({
|
|
1144
|
+
const contents = (0, smithy_client_1.map)({
|
|
1209
1145
|
$metadata: deserializeMetadata(output),
|
|
1210
1146
|
});
|
|
1211
1147
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1148
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1149
|
+
connectorArn: smithy_client_1.expectString,
|
|
1150
|
+
});
|
|
1151
|
+
Object.assign(contents, doc);
|
|
1215
1152
|
return contents;
|
|
1216
1153
|
};
|
|
1217
1154
|
exports.de_RegisterConnectorCommand = de_RegisterConnectorCommand;
|
|
@@ -1251,10 +1188,9 @@ const de_RegisterConnectorCommandError = async (output, context) => {
|
|
|
1251
1188
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1252
1189
|
default:
|
|
1253
1190
|
const parsedBody = parsedOutput.body;
|
|
1254
|
-
|
|
1191
|
+
return throwDefaultError({
|
|
1255
1192
|
output,
|
|
1256
1193
|
parsedBody,
|
|
1257
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1258
1194
|
errorCode,
|
|
1259
1195
|
});
|
|
1260
1196
|
}
|
|
@@ -1263,19 +1199,16 @@ const de_StartFlowCommand = async (output, context) => {
|
|
|
1263
1199
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1264
1200
|
return de_StartFlowCommandError(output, context);
|
|
1265
1201
|
}
|
|
1266
|
-
const contents = map({
|
|
1202
|
+
const contents = (0, smithy_client_1.map)({
|
|
1267
1203
|
$metadata: deserializeMetadata(output),
|
|
1268
1204
|
});
|
|
1269
1205
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
if (data.flowStatus != null) {
|
|
1277
|
-
contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
|
|
1278
|
-
}
|
|
1206
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1207
|
+
executionId: smithy_client_1.expectString,
|
|
1208
|
+
flowArn: smithy_client_1.expectString,
|
|
1209
|
+
flowStatus: smithy_client_1.expectString,
|
|
1210
|
+
});
|
|
1211
|
+
Object.assign(contents, doc);
|
|
1279
1212
|
return contents;
|
|
1280
1213
|
};
|
|
1281
1214
|
exports.de_StartFlowCommand = de_StartFlowCommand;
|
|
@@ -1300,10 +1233,9 @@ const de_StartFlowCommandError = async (output, context) => {
|
|
|
1300
1233
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1301
1234
|
default:
|
|
1302
1235
|
const parsedBody = parsedOutput.body;
|
|
1303
|
-
|
|
1236
|
+
return throwDefaultError({
|
|
1304
1237
|
output,
|
|
1305
1238
|
parsedBody,
|
|
1306
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1307
1239
|
errorCode,
|
|
1308
1240
|
});
|
|
1309
1241
|
}
|
|
@@ -1312,16 +1244,15 @@ const de_StopFlowCommand = async (output, context) => {
|
|
|
1312
1244
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1313
1245
|
return de_StopFlowCommandError(output, context);
|
|
1314
1246
|
}
|
|
1315
|
-
const contents = map({
|
|
1247
|
+
const contents = (0, smithy_client_1.map)({
|
|
1316
1248
|
$metadata: deserializeMetadata(output),
|
|
1317
1249
|
});
|
|
1318
1250
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
}
|
|
1251
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1252
|
+
flowArn: smithy_client_1.expectString,
|
|
1253
|
+
flowStatus: smithy_client_1.expectString,
|
|
1254
|
+
});
|
|
1255
|
+
Object.assign(contents, doc);
|
|
1325
1256
|
return contents;
|
|
1326
1257
|
};
|
|
1327
1258
|
exports.de_StopFlowCommand = de_StopFlowCommand;
|
|
@@ -1346,10 +1277,9 @@ const de_StopFlowCommandError = async (output, context) => {
|
|
|
1346
1277
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1347
1278
|
default:
|
|
1348
1279
|
const parsedBody = parsedOutput.body;
|
|
1349
|
-
|
|
1280
|
+
return throwDefaultError({
|
|
1350
1281
|
output,
|
|
1351
1282
|
parsedBody,
|
|
1352
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1353
1283
|
errorCode,
|
|
1354
1284
|
});
|
|
1355
1285
|
}
|
|
@@ -1358,7 +1288,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1358
1288
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1359
1289
|
return de_TagResourceCommandError(output, context);
|
|
1360
1290
|
}
|
|
1361
|
-
const contents = map({
|
|
1291
|
+
const contents = (0, smithy_client_1.map)({
|
|
1362
1292
|
$metadata: deserializeMetadata(output),
|
|
1363
1293
|
});
|
|
1364
1294
|
await collectBody(output.body, context);
|
|
@@ -1383,10 +1313,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1383
1313
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1384
1314
|
default:
|
|
1385
1315
|
const parsedBody = parsedOutput.body;
|
|
1386
|
-
|
|
1316
|
+
return throwDefaultError({
|
|
1387
1317
|
output,
|
|
1388
1318
|
parsedBody,
|
|
1389
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1390
1319
|
errorCode,
|
|
1391
1320
|
});
|
|
1392
1321
|
}
|
|
@@ -1395,7 +1324,7 @@ const de_UnregisterConnectorCommand = async (output, context) => {
|
|
|
1395
1324
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1396
1325
|
return de_UnregisterConnectorCommandError(output, context);
|
|
1397
1326
|
}
|
|
1398
|
-
const contents = map({
|
|
1327
|
+
const contents = (0, smithy_client_1.map)({
|
|
1399
1328
|
$metadata: deserializeMetadata(output),
|
|
1400
1329
|
});
|
|
1401
1330
|
await collectBody(output.body, context);
|
|
@@ -1420,10 +1349,9 @@ const de_UnregisterConnectorCommandError = async (output, context) => {
|
|
|
1420
1349
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1421
1350
|
default:
|
|
1422
1351
|
const parsedBody = parsedOutput.body;
|
|
1423
|
-
|
|
1352
|
+
return throwDefaultError({
|
|
1424
1353
|
output,
|
|
1425
1354
|
parsedBody,
|
|
1426
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1427
1355
|
errorCode,
|
|
1428
1356
|
});
|
|
1429
1357
|
}
|
|
@@ -1432,7 +1360,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1432
1360
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1433
1361
|
return de_UntagResourceCommandError(output, context);
|
|
1434
1362
|
}
|
|
1435
|
-
const contents = map({
|
|
1363
|
+
const contents = (0, smithy_client_1.map)({
|
|
1436
1364
|
$metadata: deserializeMetadata(output),
|
|
1437
1365
|
});
|
|
1438
1366
|
await collectBody(output.body, context);
|
|
@@ -1457,10 +1385,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1457
1385
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1458
1386
|
default:
|
|
1459
1387
|
const parsedBody = parsedOutput.body;
|
|
1460
|
-
|
|
1388
|
+
return throwDefaultError({
|
|
1461
1389
|
output,
|
|
1462
1390
|
parsedBody,
|
|
1463
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1464
1391
|
errorCode,
|
|
1465
1392
|
});
|
|
1466
1393
|
}
|
|
@@ -1469,13 +1396,14 @@ const de_UpdateConnectorProfileCommand = async (output, context) => {
|
|
|
1469
1396
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1470
1397
|
return de_UpdateConnectorProfileCommandError(output, context);
|
|
1471
1398
|
}
|
|
1472
|
-
const contents = map({
|
|
1399
|
+
const contents = (0, smithy_client_1.map)({
|
|
1473
1400
|
$metadata: deserializeMetadata(output),
|
|
1474
1401
|
});
|
|
1475
1402
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
}
|
|
1403
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1404
|
+
connectorProfileArn: smithy_client_1.expectString,
|
|
1405
|
+
});
|
|
1406
|
+
Object.assign(contents, doc);
|
|
1479
1407
|
return contents;
|
|
1480
1408
|
};
|
|
1481
1409
|
exports.de_UpdateConnectorProfileCommand = de_UpdateConnectorProfileCommand;
|
|
@@ -1503,10 +1431,9 @@ const de_UpdateConnectorProfileCommandError = async (output, context) => {
|
|
|
1503
1431
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1504
1432
|
default:
|
|
1505
1433
|
const parsedBody = parsedOutput.body;
|
|
1506
|
-
|
|
1434
|
+
return throwDefaultError({
|
|
1507
1435
|
output,
|
|
1508
1436
|
parsedBody,
|
|
1509
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1510
1437
|
errorCode,
|
|
1511
1438
|
});
|
|
1512
1439
|
}
|
|
@@ -1515,13 +1442,14 @@ const de_UpdateConnectorRegistrationCommand = async (output, context) => {
|
|
|
1515
1442
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1516
1443
|
return de_UpdateConnectorRegistrationCommandError(output, context);
|
|
1517
1444
|
}
|
|
1518
|
-
const contents = map({
|
|
1445
|
+
const contents = (0, smithy_client_1.map)({
|
|
1519
1446
|
$metadata: deserializeMetadata(output),
|
|
1520
1447
|
});
|
|
1521
1448
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
}
|
|
1449
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1450
|
+
connectorArn: smithy_client_1.expectString,
|
|
1451
|
+
});
|
|
1452
|
+
Object.assign(contents, doc);
|
|
1525
1453
|
return contents;
|
|
1526
1454
|
};
|
|
1527
1455
|
exports.de_UpdateConnectorRegistrationCommand = de_UpdateConnectorRegistrationCommand;
|
|
@@ -1561,10 +1489,9 @@ const de_UpdateConnectorRegistrationCommandError = async (output, context) => {
|
|
|
1561
1489
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1562
1490
|
default:
|
|
1563
1491
|
const parsedBody = parsedOutput.body;
|
|
1564
|
-
|
|
1492
|
+
return throwDefaultError({
|
|
1565
1493
|
output,
|
|
1566
1494
|
parsedBody,
|
|
1567
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1568
1495
|
errorCode,
|
|
1569
1496
|
});
|
|
1570
1497
|
}
|
|
@@ -1573,13 +1500,14 @@ const de_UpdateFlowCommand = async (output, context) => {
|
|
|
1573
1500
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1574
1501
|
return de_UpdateFlowCommandError(output, context);
|
|
1575
1502
|
}
|
|
1576
|
-
const contents = map({
|
|
1503
|
+
const contents = (0, smithy_client_1.map)({
|
|
1577
1504
|
$metadata: deserializeMetadata(output),
|
|
1578
1505
|
});
|
|
1579
1506
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
}
|
|
1507
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1508
|
+
flowStatus: smithy_client_1.expectString,
|
|
1509
|
+
});
|
|
1510
|
+
Object.assign(contents, doc);
|
|
1583
1511
|
return contents;
|
|
1584
1512
|
};
|
|
1585
1513
|
exports.de_UpdateFlowCommand = de_UpdateFlowCommand;
|
|
@@ -1613,21 +1541,21 @@ const de_UpdateFlowCommandError = async (output, context) => {
|
|
|
1613
1541
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1614
1542
|
default:
|
|
1615
1543
|
const parsedBody = parsedOutput.body;
|
|
1616
|
-
|
|
1544
|
+
return throwDefaultError({
|
|
1617
1545
|
output,
|
|
1618
1546
|
parsedBody,
|
|
1619
|
-
exceptionCtor: AppflowServiceException_1.AppflowServiceException,
|
|
1620
1547
|
errorCode,
|
|
1621
1548
|
});
|
|
1622
1549
|
}
|
|
1623
1550
|
};
|
|
1624
|
-
const
|
|
1551
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(AppflowServiceException_1.AppflowServiceException);
|
|
1625
1552
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1626
|
-
const contents = map({});
|
|
1553
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1627
1554
|
const data = parsedOutput.body;
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
}
|
|
1555
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1556
|
+
message: smithy_client_1.expectString,
|
|
1557
|
+
});
|
|
1558
|
+
Object.assign(contents, doc);
|
|
1631
1559
|
const exception = new models_0_1.AccessDeniedException({
|
|
1632
1560
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1633
1561
|
...contents,
|
|
@@ -1635,11 +1563,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1635
1563
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1636
1564
|
};
|
|
1637
1565
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1638
|
-
const contents = map({});
|
|
1566
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1639
1567
|
const data = parsedOutput.body;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
}
|
|
1568
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1569
|
+
message: smithy_client_1.expectString,
|
|
1570
|
+
});
|
|
1571
|
+
Object.assign(contents, doc);
|
|
1643
1572
|
const exception = new models_0_1.ConflictException({
|
|
1644
1573
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1645
1574
|
...contents,
|
|
@@ -1647,11 +1576,12 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1647
1576
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1648
1577
|
};
|
|
1649
1578
|
const de_ConnectorAuthenticationExceptionRes = async (parsedOutput, context) => {
|
|
1650
|
-
const contents = map({});
|
|
1579
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1651
1580
|
const data = parsedOutput.body;
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
}
|
|
1581
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1582
|
+
message: smithy_client_1.expectString,
|
|
1583
|
+
});
|
|
1584
|
+
Object.assign(contents, doc);
|
|
1655
1585
|
const exception = new models_0_1.ConnectorAuthenticationException({
|
|
1656
1586
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1657
1587
|
...contents,
|
|
@@ -1659,11 +1589,12 @@ const de_ConnectorAuthenticationExceptionRes = async (parsedOutput, context) =>
|
|
|
1659
1589
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1660
1590
|
};
|
|
1661
1591
|
const de_ConnectorServerExceptionRes = async (parsedOutput, context) => {
|
|
1662
|
-
const contents = map({});
|
|
1592
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1663
1593
|
const data = parsedOutput.body;
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
}
|
|
1594
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1595
|
+
message: smithy_client_1.expectString,
|
|
1596
|
+
});
|
|
1597
|
+
Object.assign(contents, doc);
|
|
1667
1598
|
const exception = new models_0_1.ConnectorServerException({
|
|
1668
1599
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1669
1600
|
...contents,
|
|
@@ -1671,11 +1602,12 @@ const de_ConnectorServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1671
1602
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1672
1603
|
};
|
|
1673
1604
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1674
|
-
const contents = map({});
|
|
1605
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1675
1606
|
const data = parsedOutput.body;
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
}
|
|
1607
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1608
|
+
message: smithy_client_1.expectString,
|
|
1609
|
+
});
|
|
1610
|
+
Object.assign(contents, doc);
|
|
1679
1611
|
const exception = new models_0_1.InternalServerException({
|
|
1680
1612
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1681
1613
|
...contents,
|
|
@@ -1683,11 +1615,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1683
1615
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1684
1616
|
};
|
|
1685
1617
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1686
|
-
const contents = map({});
|
|
1618
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1687
1619
|
const data = parsedOutput.body;
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
}
|
|
1620
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1621
|
+
message: smithy_client_1.expectString,
|
|
1622
|
+
});
|
|
1623
|
+
Object.assign(contents, doc);
|
|
1691
1624
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1692
1625
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1693
1626
|
...contents,
|
|
@@ -1695,11 +1628,12 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1695
1628
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1696
1629
|
};
|
|
1697
1630
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1698
|
-
const contents = map({});
|
|
1631
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1699
1632
|
const data = parsedOutput.body;
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
}
|
|
1633
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1634
|
+
message: smithy_client_1.expectString,
|
|
1635
|
+
});
|
|
1636
|
+
Object.assign(contents, doc);
|
|
1703
1637
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1704
1638
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1705
1639
|
...contents,
|
|
@@ -1707,11 +1641,12 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1707
1641
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1708
1642
|
};
|
|
1709
1643
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1710
|
-
const contents = map({});
|
|
1644
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1711
1645
|
const data = parsedOutput.body;
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
}
|
|
1646
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1647
|
+
message: smithy_client_1.expectString,
|
|
1648
|
+
});
|
|
1649
|
+
Object.assign(contents, doc);
|
|
1715
1650
|
const exception = new models_0_1.ThrottlingException({
|
|
1716
1651
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1717
1652
|
...contents,
|
|
@@ -1719,11 +1654,12 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1719
1654
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1720
1655
|
};
|
|
1721
1656
|
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
1722
|
-
const contents = map({});
|
|
1657
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1723
1658
|
const data = parsedOutput.body;
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
}
|
|
1659
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1660
|
+
message: smithy_client_1.expectString,
|
|
1661
|
+
});
|
|
1662
|
+
Object.assign(contents, doc);
|
|
1727
1663
|
const exception = new models_0_1.UnsupportedOperationException({
|
|
1728
1664
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1729
1665
|
...contents,
|
|
@@ -1731,2305 +1667,246 @@ const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
1731
1667
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1732
1668
|
};
|
|
1733
1669
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1734
|
-
const contents = map({});
|
|
1670
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1735
1671
|
const data = parsedOutput.body;
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
}
|
|
1672
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1673
|
+
message: smithy_client_1.expectString,
|
|
1674
|
+
});
|
|
1675
|
+
Object.assign(contents, doc);
|
|
1739
1676
|
const exception = new models_0_1.ValidationException({
|
|
1740
1677
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1741
1678
|
...contents,
|
|
1742
1679
|
});
|
|
1743
1680
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1744
1681
|
};
|
|
1745
|
-
const
|
|
1746
|
-
return {
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
};
|
|
1756
|
-
};
|
|
1757
|
-
const se_AmplitudeConnectorProfileProperties = (input, context) => {
|
|
1758
|
-
return {};
|
|
1759
|
-
};
|
|
1760
|
-
const se_AmplitudeSourceProperties = (input, context) => {
|
|
1761
|
-
return {
|
|
1762
|
-
...(input.object != null && { object: input.object }),
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
const se_ApiKeyCredentials = (input, context) => {
|
|
1766
|
-
return {
|
|
1767
|
-
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
1768
|
-
...(input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }),
|
|
1769
|
-
};
|
|
1770
|
-
};
|
|
1771
|
-
const se_BasicAuthCredentials = (input, context) => {
|
|
1772
|
-
return {
|
|
1773
|
-
...(input.password != null && { password: input.password }),
|
|
1774
|
-
...(input.username != null && { username: input.username }),
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
|
-
const se_ConnectorOAuthRequest = (input, context) => {
|
|
1778
|
-
return {
|
|
1779
|
-
...(input.authCode != null && { authCode: input.authCode }),
|
|
1780
|
-
...(input.redirectUri != null && { redirectUri: input.redirectUri }),
|
|
1781
|
-
};
|
|
1782
|
-
};
|
|
1783
|
-
const se_ConnectorOperator = (input, context) => {
|
|
1784
|
-
return {
|
|
1785
|
-
...(input.Amplitude != null && { Amplitude: input.Amplitude }),
|
|
1786
|
-
...(input.CustomConnector != null && { CustomConnector: input.CustomConnector }),
|
|
1787
|
-
...(input.Datadog != null && { Datadog: input.Datadog }),
|
|
1788
|
-
...(input.Dynatrace != null && { Dynatrace: input.Dynatrace }),
|
|
1789
|
-
...(input.GoogleAnalytics != null && { GoogleAnalytics: input.GoogleAnalytics }),
|
|
1790
|
-
...(input.InforNexus != null && { InforNexus: input.InforNexus }),
|
|
1791
|
-
...(input.Marketo != null && { Marketo: input.Marketo }),
|
|
1792
|
-
...(input.Pardot != null && { Pardot: input.Pardot }),
|
|
1793
|
-
...(input.S3 != null && { S3: input.S3 }),
|
|
1794
|
-
...(input.SAPOData != null && { SAPOData: input.SAPOData }),
|
|
1795
|
-
...(input.Salesforce != null && { Salesforce: input.Salesforce }),
|
|
1796
|
-
...(input.ServiceNow != null && { ServiceNow: input.ServiceNow }),
|
|
1797
|
-
...(input.Singular != null && { Singular: input.Singular }),
|
|
1798
|
-
...(input.Slack != null && { Slack: input.Slack }),
|
|
1799
|
-
...(input.Trendmicro != null && { Trendmicro: input.Trendmicro }),
|
|
1800
|
-
...(input.Veeva != null && { Veeva: input.Veeva }),
|
|
1801
|
-
...(input.Zendesk != null && { Zendesk: input.Zendesk }),
|
|
1802
|
-
};
|
|
1803
|
-
};
|
|
1804
|
-
const se_ConnectorProfileConfig = (input, context) => {
|
|
1805
|
-
return {
|
|
1806
|
-
...(input.connectorProfileCredentials != null && {
|
|
1807
|
-
connectorProfileCredentials: se_ConnectorProfileCredentials(input.connectorProfileCredentials, context),
|
|
1808
|
-
}),
|
|
1809
|
-
...(input.connectorProfileProperties != null && {
|
|
1810
|
-
connectorProfileProperties: se_ConnectorProfileProperties(input.connectorProfileProperties, context),
|
|
1811
|
-
}),
|
|
1812
|
-
};
|
|
1813
|
-
};
|
|
1814
|
-
const se_ConnectorProfileCredentials = (input, context) => {
|
|
1815
|
-
return {
|
|
1816
|
-
...(input.Amplitude != null && { Amplitude: se_AmplitudeConnectorProfileCredentials(input.Amplitude, context) }),
|
|
1817
|
-
...(input.CustomConnector != null && {
|
|
1818
|
-
CustomConnector: se_CustomConnectorProfileCredentials(input.CustomConnector, context),
|
|
1819
|
-
}),
|
|
1820
|
-
...(input.Datadog != null && { Datadog: se_DatadogConnectorProfileCredentials(input.Datadog, context) }),
|
|
1821
|
-
...(input.Dynatrace != null && { Dynatrace: se_DynatraceConnectorProfileCredentials(input.Dynatrace, context) }),
|
|
1822
|
-
...(input.GoogleAnalytics != null && {
|
|
1823
|
-
GoogleAnalytics: se_GoogleAnalyticsConnectorProfileCredentials(input.GoogleAnalytics, context),
|
|
1824
|
-
}),
|
|
1825
|
-
...(input.Honeycode != null && { Honeycode: se_HoneycodeConnectorProfileCredentials(input.Honeycode, context) }),
|
|
1826
|
-
...(input.InforNexus != null && {
|
|
1827
|
-
InforNexus: se_InforNexusConnectorProfileCredentials(input.InforNexus, context),
|
|
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) }),
|
|
1833
|
-
...(input.Salesforce != null && {
|
|
1834
|
-
Salesforce: se_SalesforceConnectorProfileCredentials(input.Salesforce, context),
|
|
1835
|
-
}),
|
|
1836
|
-
...(input.ServiceNow != null && {
|
|
1837
|
-
ServiceNow: se_ServiceNowConnectorProfileCredentials(input.ServiceNow, context),
|
|
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) }),
|
|
1842
|
-
...(input.Trendmicro != null && {
|
|
1843
|
-
Trendmicro: se_TrendmicroConnectorProfileCredentials(input.Trendmicro, context),
|
|
1844
|
-
}),
|
|
1845
|
-
...(input.Veeva != null && { Veeva: se_VeevaConnectorProfileCredentials(input.Veeva, context) }),
|
|
1846
|
-
...(input.Zendesk != null && { Zendesk: se_ZendeskConnectorProfileCredentials(input.Zendesk, context) }),
|
|
1847
|
-
};
|
|
1848
|
-
};
|
|
1849
|
-
const se_ConnectorProfileNameList = (input, context) => {
|
|
1850
|
-
return input
|
|
1851
|
-
.filter((e) => e != null)
|
|
1852
|
-
.map((entry) => {
|
|
1853
|
-
return entry;
|
|
1854
|
-
});
|
|
1855
|
-
};
|
|
1856
|
-
const se_ConnectorProfileProperties = (input, context) => {
|
|
1857
|
-
return {
|
|
1858
|
-
...(input.Amplitude != null && { Amplitude: se_AmplitudeConnectorProfileProperties(input.Amplitude, context) }),
|
|
1859
|
-
...(input.CustomConnector != null && {
|
|
1860
|
-
CustomConnector: se_CustomConnectorProfileProperties(input.CustomConnector, context),
|
|
1861
|
-
}),
|
|
1862
|
-
...(input.Datadog != null && { Datadog: se_DatadogConnectorProfileProperties(input.Datadog, context) }),
|
|
1863
|
-
...(input.Dynatrace != null && { Dynatrace: se_DynatraceConnectorProfileProperties(input.Dynatrace, context) }),
|
|
1864
|
-
...(input.GoogleAnalytics != null && {
|
|
1865
|
-
GoogleAnalytics: se_GoogleAnalyticsConnectorProfileProperties(input.GoogleAnalytics, context),
|
|
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) }),
|
|
1881
|
-
};
|
|
1882
|
-
};
|
|
1883
|
-
const se_ConnectorProvisioningConfig = (input, context) => {
|
|
1884
|
-
return {
|
|
1885
|
-
...(input.lambda != null && { lambda: se_LambdaConnectorProvisioningConfig(input.lambda, context) }),
|
|
1886
|
-
};
|
|
1887
|
-
};
|
|
1888
|
-
const se_ConnectorTypeList = (input, context) => {
|
|
1889
|
-
return input
|
|
1890
|
-
.filter((e) => e != null)
|
|
1891
|
-
.map((entry) => {
|
|
1892
|
-
return entry;
|
|
1682
|
+
const se_ScheduledTriggerProperties = (input, context) => {
|
|
1683
|
+
return (0, smithy_client_1.take)(input, {
|
|
1684
|
+
dataPullMode: [],
|
|
1685
|
+
firstExecutionFrom: (_) => Math.round(_.getTime() / 1000),
|
|
1686
|
+
flowErrorDeactivationThreshold: [],
|
|
1687
|
+
scheduleEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1688
|
+
scheduleExpression: [],
|
|
1689
|
+
scheduleOffset: [],
|
|
1690
|
+
scheduleStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1691
|
+
timezone: [],
|
|
1893
1692
|
});
|
|
1894
1693
|
};
|
|
1895
|
-
const
|
|
1896
|
-
return
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
acc[key] = value;
|
|
1901
|
-
return acc;
|
|
1902
|
-
}, {});
|
|
1903
|
-
};
|
|
1904
|
-
const se_CustomAuthCredentials = (input, context) => {
|
|
1905
|
-
return {
|
|
1906
|
-
...(input.credentialsMap != null && { credentialsMap: se_CredentialsMap(input.credentialsMap, context) }),
|
|
1907
|
-
...(input.customAuthenticationType != null && { customAuthenticationType: input.customAuthenticationType }),
|
|
1908
|
-
};
|
|
1909
|
-
};
|
|
1910
|
-
const se_CustomConnectorDestinationProperties = (input, context) => {
|
|
1911
|
-
return {
|
|
1912
|
-
...(input.customProperties != null && { customProperties: se_CustomProperties(input.customProperties, context) }),
|
|
1913
|
-
...(input.entityName != null && { entityName: input.entityName }),
|
|
1914
|
-
...(input.errorHandlingConfig != null && {
|
|
1915
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
1916
|
-
}),
|
|
1917
|
-
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
1918
|
-
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
1919
|
-
};
|
|
1920
|
-
};
|
|
1921
|
-
const se_CustomConnectorProfileCredentials = (input, context) => {
|
|
1922
|
-
return {
|
|
1923
|
-
...(input.apiKey != null && { apiKey: se_ApiKeyCredentials(input.apiKey, context) }),
|
|
1924
|
-
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
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) }),
|
|
1928
|
-
};
|
|
1929
|
-
};
|
|
1930
|
-
const se_CustomConnectorProfileProperties = (input, context) => {
|
|
1931
|
-
return {
|
|
1932
|
-
...(input.oAuth2Properties != null && { oAuth2Properties: se_OAuth2Properties(input.oAuth2Properties, context) }),
|
|
1933
|
-
...(input.profileProperties != null && {
|
|
1934
|
-
profileProperties: se_ProfilePropertiesMap(input.profileProperties, context),
|
|
1935
|
-
}),
|
|
1936
|
-
};
|
|
1694
|
+
const se_TriggerConfig = (input, context) => {
|
|
1695
|
+
return (0, smithy_client_1.take)(input, {
|
|
1696
|
+
triggerProperties: (_) => se_TriggerProperties(_, context),
|
|
1697
|
+
triggerType: [],
|
|
1698
|
+
});
|
|
1937
1699
|
};
|
|
1938
|
-
const
|
|
1939
|
-
return {
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
};
|
|
1700
|
+
const se_TriggerProperties = (input, context) => {
|
|
1701
|
+
return (0, smithy_client_1.take)(input, {
|
|
1702
|
+
Scheduled: (_) => se_ScheduledTriggerProperties(_, context),
|
|
1703
|
+
});
|
|
1943
1704
|
};
|
|
1944
|
-
const
|
|
1945
|
-
return {
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1705
|
+
const de_ConnectorConfiguration = (output, context) => {
|
|
1706
|
+
return (0, smithy_client_1.take)(output, {
|
|
1707
|
+
authenticationConfig: smithy_client_1._json,
|
|
1708
|
+
canUseAsDestination: smithy_client_1.expectBoolean,
|
|
1709
|
+
canUseAsSource: smithy_client_1.expectBoolean,
|
|
1710
|
+
connectorArn: smithy_client_1.expectString,
|
|
1711
|
+
connectorDescription: smithy_client_1.expectString,
|
|
1712
|
+
connectorLabel: smithy_client_1.expectString,
|
|
1713
|
+
connectorMetadata: smithy_client_1._json,
|
|
1714
|
+
connectorModes: smithy_client_1._json,
|
|
1715
|
+
connectorName: smithy_client_1.expectString,
|
|
1716
|
+
connectorOwner: smithy_client_1.expectString,
|
|
1717
|
+
connectorProvisioningConfig: smithy_client_1._json,
|
|
1718
|
+
connectorProvisioningType: smithy_client_1.expectString,
|
|
1719
|
+
connectorRuntimeSettings: smithy_client_1._json,
|
|
1720
|
+
connectorType: smithy_client_1.expectString,
|
|
1721
|
+
connectorVersion: smithy_client_1.expectString,
|
|
1722
|
+
isPrivateLinkEnabled: smithy_client_1.expectBoolean,
|
|
1723
|
+
isPrivateLinkEndpointUrlRequired: smithy_client_1.expectBoolean,
|
|
1724
|
+
logoURL: smithy_client_1.expectString,
|
|
1725
|
+
registeredAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1726
|
+
registeredBy: smithy_client_1.expectString,
|
|
1727
|
+
supportedApiVersions: smithy_client_1._json,
|
|
1728
|
+
supportedDestinationConnectors: smithy_client_1._json,
|
|
1729
|
+
supportedOperators: smithy_client_1._json,
|
|
1730
|
+
supportedSchedulingFrequencies: smithy_client_1._json,
|
|
1731
|
+
supportedTriggerTypes: smithy_client_1._json,
|
|
1732
|
+
supportedWriteOperations: smithy_client_1._json,
|
|
1733
|
+
});
|
|
1949
1734
|
};
|
|
1950
|
-
const
|
|
1951
|
-
return Object.entries(
|
|
1735
|
+
const de_ConnectorConfigurationsMap = (output, context) => {
|
|
1736
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1952
1737
|
if (value === null) {
|
|
1953
1738
|
return acc;
|
|
1954
1739
|
}
|
|
1955
|
-
acc[key] = value;
|
|
1740
|
+
acc[key] = de_ConnectorConfiguration(value, context);
|
|
1956
1741
|
return acc;
|
|
1957
1742
|
}, {});
|
|
1958
1743
|
};
|
|
1959
|
-
const
|
|
1960
|
-
return {
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
const se_DestinationConnectorProperties = (input, context) => {
|
|
1976
|
-
return {
|
|
1977
|
-
...(input.CustomConnector != null && {
|
|
1978
|
-
CustomConnector: se_CustomConnectorDestinationProperties(input.CustomConnector, context),
|
|
1979
|
-
}),
|
|
1980
|
-
...(input.CustomerProfiles != null && {
|
|
1981
|
-
CustomerProfiles: se_CustomerProfilesDestinationProperties(input.CustomerProfiles, context),
|
|
1982
|
-
}),
|
|
1983
|
-
...(input.EventBridge != null && { EventBridge: se_EventBridgeDestinationProperties(input.EventBridge, context) }),
|
|
1984
|
-
...(input.Honeycode != null && { Honeycode: se_HoneycodeDestinationProperties(input.Honeycode, context) }),
|
|
1985
|
-
...(input.LookoutMetrics != null && {
|
|
1986
|
-
LookoutMetrics: se_LookoutMetricsDestinationProperties(input.LookoutMetrics, context),
|
|
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) }),
|
|
1996
|
-
};
|
|
1744
|
+
const de_ConnectorDetail = (output, context) => {
|
|
1745
|
+
return (0, smithy_client_1.take)(output, {
|
|
1746
|
+
applicationType: smithy_client_1.expectString,
|
|
1747
|
+
connectorDescription: smithy_client_1.expectString,
|
|
1748
|
+
connectorLabel: smithy_client_1.expectString,
|
|
1749
|
+
connectorModes: smithy_client_1._json,
|
|
1750
|
+
connectorName: smithy_client_1.expectString,
|
|
1751
|
+
connectorOwner: smithy_client_1.expectString,
|
|
1752
|
+
connectorProvisioningType: smithy_client_1.expectString,
|
|
1753
|
+
connectorType: smithy_client_1.expectString,
|
|
1754
|
+
connectorVersion: smithy_client_1.expectString,
|
|
1755
|
+
registeredAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1756
|
+
registeredBy: smithy_client_1.expectString,
|
|
1757
|
+
});
|
|
1997
1758
|
};
|
|
1998
|
-
const
|
|
1999
|
-
return {
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
1759
|
+
const de_ConnectorEntityField = (output, context) => {
|
|
1760
|
+
return (0, smithy_client_1.take)(output, {
|
|
1761
|
+
customProperties: smithy_client_1._json,
|
|
1762
|
+
defaultValue: smithy_client_1.expectString,
|
|
1763
|
+
description: smithy_client_1.expectString,
|
|
1764
|
+
destinationProperties: smithy_client_1._json,
|
|
1765
|
+
identifier: smithy_client_1.expectString,
|
|
1766
|
+
isDeprecated: smithy_client_1.expectBoolean,
|
|
1767
|
+
isPrimaryKey: smithy_client_1.expectBoolean,
|
|
1768
|
+
label: smithy_client_1.expectString,
|
|
1769
|
+
parentIdentifier: smithy_client_1.expectString,
|
|
1770
|
+
sourceProperties: smithy_client_1._json,
|
|
1771
|
+
supportedFieldTypeDetails: (_) => de_SupportedFieldTypeDetails(_, context),
|
|
1772
|
+
});
|
|
2007
1773
|
};
|
|
2008
|
-
const
|
|
2009
|
-
|
|
1774
|
+
const de_ConnectorEntityFieldList = (output, context) => {
|
|
1775
|
+
const retVal = (output || [])
|
|
2010
1776
|
.filter((e) => e != null)
|
|
2011
1777
|
.map((entry) => {
|
|
2012
|
-
return
|
|
1778
|
+
return de_ConnectorEntityField(entry, context);
|
|
2013
1779
|
});
|
|
1780
|
+
return retVal;
|
|
2014
1781
|
};
|
|
2015
|
-
const
|
|
2016
|
-
|
|
2017
|
-
...(input.apiToken != null && { apiToken: input.apiToken }),
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
const se_DynatraceConnectorProfileProperties = (input, context) => {
|
|
2021
|
-
return {
|
|
2022
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2023
|
-
};
|
|
2024
|
-
};
|
|
2025
|
-
const se_DynatraceSourceProperties = (input, context) => {
|
|
2026
|
-
return {
|
|
2027
|
-
...(input.object != null && { object: input.object }),
|
|
2028
|
-
};
|
|
2029
|
-
};
|
|
2030
|
-
const se_ErrorHandlingConfig = (input, context) => {
|
|
2031
|
-
return {
|
|
2032
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2033
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2034
|
-
...(input.failOnFirstDestinationError != null && {
|
|
2035
|
-
failOnFirstDestinationError: input.failOnFirstDestinationError,
|
|
2036
|
-
}),
|
|
2037
|
-
};
|
|
2038
|
-
};
|
|
2039
|
-
const se_EventBridgeDestinationProperties = (input, context) => {
|
|
2040
|
-
return {
|
|
2041
|
-
...(input.errorHandlingConfig != null && {
|
|
2042
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2043
|
-
}),
|
|
2044
|
-
...(input.object != null && { object: input.object }),
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2047
|
-
const se_GlueDataCatalogConfig = (input, context) => {
|
|
2048
|
-
return {
|
|
2049
|
-
...(input.databaseName != null && { databaseName: input.databaseName }),
|
|
2050
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2051
|
-
...(input.tablePrefix != null && { tablePrefix: input.tablePrefix }),
|
|
2052
|
-
};
|
|
2053
|
-
};
|
|
2054
|
-
const se_GoogleAnalyticsConnectorProfileCredentials = (input, context) => {
|
|
2055
|
-
return {
|
|
2056
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2057
|
-
...(input.clientId != null && { clientId: input.clientId }),
|
|
2058
|
-
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2059
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2060
|
-
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2061
|
-
};
|
|
2062
|
-
};
|
|
2063
|
-
const se_GoogleAnalyticsConnectorProfileProperties = (input, context) => {
|
|
2064
|
-
return {};
|
|
2065
|
-
};
|
|
2066
|
-
const se_GoogleAnalyticsSourceProperties = (input, context) => {
|
|
2067
|
-
return {
|
|
2068
|
-
...(input.object != null && { object: input.object }),
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
const se_HoneycodeConnectorProfileCredentials = (input, context) => {
|
|
2072
|
-
return {
|
|
2073
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2074
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2075
|
-
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2076
|
-
};
|
|
2077
|
-
};
|
|
2078
|
-
const se_HoneycodeConnectorProfileProperties = (input, context) => {
|
|
2079
|
-
return {};
|
|
2080
|
-
};
|
|
2081
|
-
const se_HoneycodeDestinationProperties = (input, context) => {
|
|
2082
|
-
return {
|
|
2083
|
-
...(input.errorHandlingConfig != null && {
|
|
2084
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2085
|
-
}),
|
|
2086
|
-
...(input.object != null && { object: input.object }),
|
|
2087
|
-
};
|
|
2088
|
-
};
|
|
2089
|
-
const se_IdFieldNameList = (input, context) => {
|
|
2090
|
-
return input
|
|
1782
|
+
const de_ConnectorList = (output, context) => {
|
|
1783
|
+
const retVal = (output || [])
|
|
2091
1784
|
.filter((e) => e != null)
|
|
2092
1785
|
.map((entry) => {
|
|
2093
|
-
return entry;
|
|
1786
|
+
return de_ConnectorDetail(entry, context);
|
|
2094
1787
|
});
|
|
1788
|
+
return retVal;
|
|
2095
1789
|
};
|
|
2096
|
-
const
|
|
2097
|
-
return {
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
};
|
|
2109
|
-
const se_InforNexusConnectorProfileProperties = (input, context) => {
|
|
2110
|
-
return {
|
|
2111
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2112
|
-
};
|
|
2113
|
-
};
|
|
2114
|
-
const se_InforNexusSourceProperties = (input, context) => {
|
|
2115
|
-
return {
|
|
2116
|
-
...(input.object != null && { object: input.object }),
|
|
2117
|
-
};
|
|
2118
|
-
};
|
|
2119
|
-
const se_LambdaConnectorProvisioningConfig = (input, context) => {
|
|
2120
|
-
return {
|
|
2121
|
-
...(input.lambdaArn != null && { lambdaArn: input.lambdaArn }),
|
|
2122
|
-
};
|
|
2123
|
-
};
|
|
2124
|
-
const se_LookoutMetricsDestinationProperties = (input, context) => {
|
|
2125
|
-
return {};
|
|
2126
|
-
};
|
|
2127
|
-
const se_MarketoConnectorProfileCredentials = (input, context) => {
|
|
2128
|
-
return {
|
|
2129
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2130
|
-
...(input.clientId != null && { clientId: input.clientId }),
|
|
2131
|
-
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2132
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2133
|
-
};
|
|
2134
|
-
};
|
|
2135
|
-
const se_MarketoConnectorProfileProperties = (input, context) => {
|
|
2136
|
-
return {
|
|
2137
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2138
|
-
};
|
|
2139
|
-
};
|
|
2140
|
-
const se_MarketoDestinationProperties = (input, context) => {
|
|
2141
|
-
return {
|
|
2142
|
-
...(input.errorHandlingConfig != null && {
|
|
2143
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2144
|
-
}),
|
|
2145
|
-
...(input.object != null && { object: input.object }),
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
const se_MarketoSourceProperties = (input, context) => {
|
|
2149
|
-
return {
|
|
2150
|
-
...(input.object != null && { object: input.object }),
|
|
2151
|
-
};
|
|
1790
|
+
const de_ConnectorProfile = (output, context) => {
|
|
1791
|
+
return (0, smithy_client_1.take)(output, {
|
|
1792
|
+
connectionMode: smithy_client_1.expectString,
|
|
1793
|
+
connectorLabel: smithy_client_1.expectString,
|
|
1794
|
+
connectorProfileArn: smithy_client_1.expectString,
|
|
1795
|
+
connectorProfileName: smithy_client_1.expectString,
|
|
1796
|
+
connectorProfileProperties: smithy_client_1._json,
|
|
1797
|
+
connectorType: smithy_client_1.expectString,
|
|
1798
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1799
|
+
credentialsArn: smithy_client_1.expectString,
|
|
1800
|
+
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1801
|
+
privateConnectionProvisioningState: smithy_client_1._json,
|
|
1802
|
+
});
|
|
2152
1803
|
};
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
1804
|
+
const de_ConnectorProfileDetailList = (output, context) => {
|
|
1805
|
+
const retVal = (output || [])
|
|
1806
|
+
.filter((e) => e != null)
|
|
1807
|
+
.map((entry) => {
|
|
1808
|
+
return de_ConnectorProfile(entry, context);
|
|
1809
|
+
});
|
|
1810
|
+
return retVal;
|
|
2157
1811
|
};
|
|
2158
|
-
const
|
|
2159
|
-
return {
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2165
|
-
};
|
|
1812
|
+
const de_ExecutionDetails = (output, context) => {
|
|
1813
|
+
return (0, smithy_client_1.take)(output, {
|
|
1814
|
+
mostRecentExecutionMessage: smithy_client_1.expectString,
|
|
1815
|
+
mostRecentExecutionStatus: smithy_client_1.expectString,
|
|
1816
|
+
mostRecentExecutionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1817
|
+
});
|
|
2166
1818
|
};
|
|
2167
|
-
const
|
|
2168
|
-
return {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
1819
|
+
const de_ExecutionRecord = (output, context) => {
|
|
1820
|
+
return (0, smithy_client_1.take)(output, {
|
|
1821
|
+
dataPullEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1822
|
+
dataPullStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1823
|
+
executionId: smithy_client_1.expectString,
|
|
1824
|
+
executionResult: smithy_client_1._json,
|
|
1825
|
+
executionStatus: smithy_client_1.expectString,
|
|
1826
|
+
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1827
|
+
metadataCatalogDetails: smithy_client_1._json,
|
|
1828
|
+
startedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1829
|
+
});
|
|
2175
1830
|
};
|
|
2176
|
-
const
|
|
2177
|
-
return {
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
1831
|
+
const de_FieldTypeDetails = (output, context) => {
|
|
1832
|
+
return (0, smithy_client_1.take)(output, {
|
|
1833
|
+
fieldLengthRange: (_) => de_Range(_, context),
|
|
1834
|
+
fieldType: smithy_client_1.expectString,
|
|
1835
|
+
fieldValueRange: (_) => de_Range(_, context),
|
|
1836
|
+
filterOperators: smithy_client_1._json,
|
|
1837
|
+
supportedDateFormat: smithy_client_1.expectString,
|
|
1838
|
+
supportedValues: smithy_client_1._json,
|
|
1839
|
+
valueRegexPattern: smithy_client_1.expectString,
|
|
1840
|
+
});
|
|
2184
1841
|
};
|
|
2185
|
-
const
|
|
2186
|
-
return {
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
1842
|
+
const de_FlowDefinition = (output, context) => {
|
|
1843
|
+
return (0, smithy_client_1.take)(output, {
|
|
1844
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1845
|
+
createdBy: smithy_client_1.expectString,
|
|
1846
|
+
description: smithy_client_1.expectString,
|
|
1847
|
+
destinationConnectorLabel: smithy_client_1.expectString,
|
|
1848
|
+
destinationConnectorType: smithy_client_1.expectString,
|
|
1849
|
+
flowArn: smithy_client_1.expectString,
|
|
1850
|
+
flowName: smithy_client_1.expectString,
|
|
1851
|
+
flowStatus: smithy_client_1.expectString,
|
|
1852
|
+
lastRunExecutionDetails: (_) => de_ExecutionDetails(_, context),
|
|
1853
|
+
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1854
|
+
lastUpdatedBy: smithy_client_1.expectString,
|
|
1855
|
+
sourceConnectorLabel: smithy_client_1.expectString,
|
|
1856
|
+
sourceConnectorType: smithy_client_1.expectString,
|
|
1857
|
+
tags: smithy_client_1._json,
|
|
1858
|
+
triggerType: smithy_client_1.expectString,
|
|
1859
|
+
});
|
|
2191
1860
|
};
|
|
2192
|
-
const
|
|
2193
|
-
|
|
1861
|
+
const de_FlowExecutionList = (output, context) => {
|
|
1862
|
+
const retVal = (output || [])
|
|
2194
1863
|
.filter((e) => e != null)
|
|
2195
1864
|
.map((entry) => {
|
|
2196
|
-
return entry;
|
|
1865
|
+
return de_ExecutionRecord(entry, context);
|
|
2197
1866
|
});
|
|
1867
|
+
return retVal;
|
|
2198
1868
|
};
|
|
2199
|
-
const
|
|
2200
|
-
|
|
2201
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2202
|
-
...(input.clientCredentialsArn != null && { clientCredentialsArn: input.clientCredentialsArn }),
|
|
2203
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2204
|
-
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
const se_PardotConnectorProfileProperties = (input, context) => {
|
|
2208
|
-
return {
|
|
2209
|
-
...(input.businessUnitId != null && { businessUnitId: input.businessUnitId }),
|
|
2210
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2211
|
-
...(input.isSandboxEnvironment != null && { isSandboxEnvironment: input.isSandboxEnvironment }),
|
|
2212
|
-
};
|
|
2213
|
-
};
|
|
2214
|
-
const se_PardotSourceProperties = (input, context) => {
|
|
2215
|
-
return {
|
|
2216
|
-
...(input.object != null && { object: input.object }),
|
|
2217
|
-
};
|
|
2218
|
-
};
|
|
2219
|
-
const se_PathPrefixHierarchy = (input, context) => {
|
|
2220
|
-
return input
|
|
1869
|
+
const de_FlowList = (output, context) => {
|
|
1870
|
+
const retVal = (output || [])
|
|
2221
1871
|
.filter((e) => e != null)
|
|
2222
1872
|
.map((entry) => {
|
|
2223
|
-
return entry;
|
|
2224
|
-
});
|
|
2225
|
-
};
|
|
2226
|
-
const se_PrefixConfig = (input, context) => {
|
|
2227
|
-
return {
|
|
2228
|
-
...(input.pathPrefixHierarchy != null && {
|
|
2229
|
-
pathPrefixHierarchy: se_PathPrefixHierarchy(input.pathPrefixHierarchy, context),
|
|
2230
|
-
}),
|
|
2231
|
-
...(input.prefixFormat != null && { prefixFormat: input.prefixFormat }),
|
|
2232
|
-
...(input.prefixType != null && { prefixType: input.prefixType }),
|
|
2233
|
-
};
|
|
2234
|
-
};
|
|
2235
|
-
const se_ProfilePropertiesMap = (input, context) => {
|
|
2236
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2237
|
-
if (value === null) {
|
|
2238
|
-
return acc;
|
|
2239
|
-
}
|
|
2240
|
-
acc[key] = value;
|
|
2241
|
-
return acc;
|
|
2242
|
-
}, {});
|
|
2243
|
-
};
|
|
2244
|
-
const se_RedshiftConnectorProfileCredentials = (input, context) => {
|
|
2245
|
-
return {
|
|
2246
|
-
...(input.password != null && { password: input.password }),
|
|
2247
|
-
...(input.username != null && { username: input.username }),
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
const se_RedshiftConnectorProfileProperties = (input, context) => {
|
|
2251
|
-
return {
|
|
2252
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2253
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2254
|
-
...(input.clusterIdentifier != null && { clusterIdentifier: input.clusterIdentifier }),
|
|
2255
|
-
...(input.dataApiRoleArn != null && { dataApiRoleArn: input.dataApiRoleArn }),
|
|
2256
|
-
...(input.databaseName != null && { databaseName: input.databaseName }),
|
|
2257
|
-
...(input.databaseUrl != null && { databaseUrl: input.databaseUrl }),
|
|
2258
|
-
...(input.isRedshiftServerless != null && { isRedshiftServerless: input.isRedshiftServerless }),
|
|
2259
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2260
|
-
...(input.workgroupName != null && { workgroupName: input.workgroupName }),
|
|
2261
|
-
};
|
|
2262
|
-
};
|
|
2263
|
-
const se_RedshiftDestinationProperties = (input, context) => {
|
|
2264
|
-
return {
|
|
2265
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2266
|
-
...(input.errorHandlingConfig != null && {
|
|
2267
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2268
|
-
}),
|
|
2269
|
-
...(input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName }),
|
|
2270
|
-
...(input.object != null && { object: input.object }),
|
|
2271
|
-
};
|
|
2272
|
-
};
|
|
2273
|
-
const se_S3DestinationProperties = (input, context) => {
|
|
2274
|
-
return {
|
|
2275
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2276
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2277
|
-
...(input.s3OutputFormatConfig != null && {
|
|
2278
|
-
s3OutputFormatConfig: se_S3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2279
|
-
}),
|
|
2280
|
-
};
|
|
2281
|
-
};
|
|
2282
|
-
const se_S3InputFormatConfig = (input, context) => {
|
|
2283
|
-
return {
|
|
2284
|
-
...(input.s3InputFileType != null && { s3InputFileType: input.s3InputFileType }),
|
|
2285
|
-
};
|
|
2286
|
-
};
|
|
2287
|
-
const se_S3OutputFormatConfig = (input, context) => {
|
|
2288
|
-
return {
|
|
2289
|
-
...(input.aggregationConfig != null && {
|
|
2290
|
-
aggregationConfig: se_AggregationConfig(input.aggregationConfig, context),
|
|
2291
|
-
}),
|
|
2292
|
-
...(input.fileType != null && { fileType: input.fileType }),
|
|
2293
|
-
...(input.prefixConfig != null && { prefixConfig: se_PrefixConfig(input.prefixConfig, context) }),
|
|
2294
|
-
...(input.preserveSourceDataTyping != null && { preserveSourceDataTyping: input.preserveSourceDataTyping }),
|
|
2295
|
-
};
|
|
2296
|
-
};
|
|
2297
|
-
const se_S3SourceProperties = (input, context) => {
|
|
2298
|
-
return {
|
|
2299
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2300
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2301
|
-
...(input.s3InputFormatConfig != null && {
|
|
2302
|
-
s3InputFormatConfig: se_S3InputFormatConfig(input.s3InputFormatConfig, context),
|
|
2303
|
-
}),
|
|
2304
|
-
};
|
|
2305
|
-
};
|
|
2306
|
-
const se_SalesforceConnectorProfileCredentials = (input, context) => {
|
|
2307
|
-
return {
|
|
2308
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2309
|
-
...(input.clientCredentialsArn != null && { clientCredentialsArn: input.clientCredentialsArn }),
|
|
2310
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2311
|
-
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2312
|
-
};
|
|
2313
|
-
};
|
|
2314
|
-
const se_SalesforceConnectorProfileProperties = (input, context) => {
|
|
2315
|
-
return {
|
|
2316
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2317
|
-
...(input.isSandboxEnvironment != null && { isSandboxEnvironment: input.isSandboxEnvironment }),
|
|
2318
|
-
...(input.usePrivateLinkForMetadataAndAuthorization != null && {
|
|
2319
|
-
usePrivateLinkForMetadataAndAuthorization: input.usePrivateLinkForMetadataAndAuthorization,
|
|
2320
|
-
}),
|
|
2321
|
-
};
|
|
2322
|
-
};
|
|
2323
|
-
const se_SalesforceDestinationProperties = (input, context) => {
|
|
2324
|
-
return {
|
|
2325
|
-
...(input.dataTransferApi != null && { dataTransferApi: input.dataTransferApi }),
|
|
2326
|
-
...(input.errorHandlingConfig != null && {
|
|
2327
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2328
|
-
}),
|
|
2329
|
-
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
2330
|
-
...(input.object != null && { object: input.object }),
|
|
2331
|
-
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2332
|
-
};
|
|
2333
|
-
};
|
|
2334
|
-
const se_SalesforceSourceProperties = (input, context) => {
|
|
2335
|
-
return {
|
|
2336
|
-
...(input.dataTransferApi != null && { dataTransferApi: input.dataTransferApi }),
|
|
2337
|
-
...(input.enableDynamicFieldUpdate != null && { enableDynamicFieldUpdate: input.enableDynamicFieldUpdate }),
|
|
2338
|
-
...(input.includeDeletedRecords != null && { includeDeletedRecords: input.includeDeletedRecords }),
|
|
2339
|
-
...(input.object != null && { object: input.object }),
|
|
2340
|
-
};
|
|
2341
|
-
};
|
|
2342
|
-
const se_SAPODataConnectorProfileCredentials = (input, context) => {
|
|
2343
|
-
return {
|
|
2344
|
-
...(input.basicAuthCredentials != null && {
|
|
2345
|
-
basicAuthCredentials: se_BasicAuthCredentials(input.basicAuthCredentials, context),
|
|
2346
|
-
}),
|
|
2347
|
-
...(input.oAuthCredentials != null && { oAuthCredentials: se_OAuthCredentials(input.oAuthCredentials, context) }),
|
|
2348
|
-
};
|
|
2349
|
-
};
|
|
2350
|
-
const se_SAPODataConnectorProfileProperties = (input, context) => {
|
|
2351
|
-
return {
|
|
2352
|
-
...(input.applicationHostUrl != null && { applicationHostUrl: input.applicationHostUrl }),
|
|
2353
|
-
...(input.applicationServicePath != null && { applicationServicePath: input.applicationServicePath }),
|
|
2354
|
-
...(input.clientNumber != null && { clientNumber: input.clientNumber }),
|
|
2355
|
-
...(input.logonLanguage != null && { logonLanguage: input.logonLanguage }),
|
|
2356
|
-
...(input.oAuthProperties != null && { oAuthProperties: se_OAuthProperties(input.oAuthProperties, context) }),
|
|
2357
|
-
...(input.portNumber != null && { portNumber: input.portNumber }),
|
|
2358
|
-
...(input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
2359
|
-
};
|
|
2360
|
-
};
|
|
2361
|
-
const se_SAPODataDestinationProperties = (input, context) => {
|
|
2362
|
-
return {
|
|
2363
|
-
...(input.errorHandlingConfig != null && {
|
|
2364
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2365
|
-
}),
|
|
2366
|
-
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
2367
|
-
...(input.objectPath != null && { objectPath: input.objectPath }),
|
|
2368
|
-
...(input.successResponseHandlingConfig != null && {
|
|
2369
|
-
successResponseHandlingConfig: se_SuccessResponseHandlingConfig(input.successResponseHandlingConfig, context),
|
|
2370
|
-
}),
|
|
2371
|
-
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2372
|
-
};
|
|
2373
|
-
};
|
|
2374
|
-
const se_SAPODataSourceProperties = (input, context) => {
|
|
2375
|
-
return {
|
|
2376
|
-
...(input.objectPath != null && { objectPath: input.objectPath }),
|
|
2377
|
-
};
|
|
2378
|
-
};
|
|
2379
|
-
const se_ScheduledTriggerProperties = (input, context) => {
|
|
2380
|
-
return {
|
|
2381
|
-
...(input.dataPullMode != null && { dataPullMode: input.dataPullMode }),
|
|
2382
|
-
...(input.firstExecutionFrom != null && {
|
|
2383
|
-
firstExecutionFrom: Math.round(input.firstExecutionFrom.getTime() / 1000),
|
|
2384
|
-
}),
|
|
2385
|
-
...(input.flowErrorDeactivationThreshold != null && {
|
|
2386
|
-
flowErrorDeactivationThreshold: input.flowErrorDeactivationThreshold,
|
|
2387
|
-
}),
|
|
2388
|
-
...(input.scheduleEndTime != null && { scheduleEndTime: Math.round(input.scheduleEndTime.getTime() / 1000) }),
|
|
2389
|
-
...(input.scheduleExpression != null && { scheduleExpression: input.scheduleExpression }),
|
|
2390
|
-
...(input.scheduleOffset != null && { scheduleOffset: input.scheduleOffset }),
|
|
2391
|
-
...(input.scheduleStartTime != null && { scheduleStartTime: Math.round(input.scheduleStartTime.getTime() / 1000) }),
|
|
2392
|
-
...(input.timezone != null && { timezone: input.timezone }),
|
|
2393
|
-
};
|
|
2394
|
-
};
|
|
2395
|
-
const se_ServiceNowConnectorProfileCredentials = (input, context) => {
|
|
2396
|
-
return {
|
|
2397
|
-
...(input.password != null && { password: input.password }),
|
|
2398
|
-
...(input.username != null && { username: input.username }),
|
|
2399
|
-
};
|
|
2400
|
-
};
|
|
2401
|
-
const se_ServiceNowConnectorProfileProperties = (input, context) => {
|
|
2402
|
-
return {
|
|
2403
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2404
|
-
};
|
|
2405
|
-
};
|
|
2406
|
-
const se_ServiceNowSourceProperties = (input, context) => {
|
|
2407
|
-
return {
|
|
2408
|
-
...(input.object != null && { object: input.object }),
|
|
2409
|
-
};
|
|
2410
|
-
};
|
|
2411
|
-
const se_SingularConnectorProfileCredentials = (input, context) => {
|
|
2412
|
-
return {
|
|
2413
|
-
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
2414
|
-
};
|
|
2415
|
-
};
|
|
2416
|
-
const se_SingularConnectorProfileProperties = (input, context) => {
|
|
2417
|
-
return {};
|
|
2418
|
-
};
|
|
2419
|
-
const se_SingularSourceProperties = (input, context) => {
|
|
2420
|
-
return {
|
|
2421
|
-
...(input.object != null && { object: input.object }),
|
|
2422
|
-
};
|
|
2423
|
-
};
|
|
2424
|
-
const se_SlackConnectorProfileCredentials = (input, context) => {
|
|
2425
|
-
return {
|
|
2426
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2427
|
-
...(input.clientId != null && { clientId: input.clientId }),
|
|
2428
|
-
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2429
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2430
|
-
};
|
|
2431
|
-
};
|
|
2432
|
-
const se_SlackConnectorProfileProperties = (input, context) => {
|
|
2433
|
-
return {
|
|
2434
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2435
|
-
};
|
|
2436
|
-
};
|
|
2437
|
-
const se_SlackSourceProperties = (input, context) => {
|
|
2438
|
-
return {
|
|
2439
|
-
...(input.object != null && { object: input.object }),
|
|
2440
|
-
};
|
|
2441
|
-
};
|
|
2442
|
-
const se_SnowflakeConnectorProfileCredentials = (input, context) => {
|
|
2443
|
-
return {
|
|
2444
|
-
...(input.password != null && { password: input.password }),
|
|
2445
|
-
...(input.username != null && { username: input.username }),
|
|
2446
|
-
};
|
|
2447
|
-
};
|
|
2448
|
-
const se_SnowflakeConnectorProfileProperties = (input, context) => {
|
|
2449
|
-
return {
|
|
2450
|
-
...(input.accountName != null && { accountName: input.accountName }),
|
|
2451
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2452
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2453
|
-
...(input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
2454
|
-
...(input.region != null && { region: input.region }),
|
|
2455
|
-
...(input.stage != null && { stage: input.stage }),
|
|
2456
|
-
...(input.warehouse != null && { warehouse: input.warehouse }),
|
|
2457
|
-
};
|
|
2458
|
-
};
|
|
2459
|
-
const se_SnowflakeDestinationProperties = (input, context) => {
|
|
2460
|
-
return {
|
|
2461
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2462
|
-
...(input.errorHandlingConfig != null && {
|
|
2463
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2464
|
-
}),
|
|
2465
|
-
...(input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName }),
|
|
2466
|
-
...(input.object != null && { object: input.object }),
|
|
2467
|
-
};
|
|
2468
|
-
};
|
|
2469
|
-
const se_SourceConnectorProperties = (input, context) => {
|
|
2470
|
-
return {
|
|
2471
|
-
...(input.Amplitude != null && { Amplitude: se_AmplitudeSourceProperties(input.Amplitude, context) }),
|
|
2472
|
-
...(input.CustomConnector != null && {
|
|
2473
|
-
CustomConnector: se_CustomConnectorSourceProperties(input.CustomConnector, context),
|
|
2474
|
-
}),
|
|
2475
|
-
...(input.Datadog != null && { Datadog: se_DatadogSourceProperties(input.Datadog, context) }),
|
|
2476
|
-
...(input.Dynatrace != null && { Dynatrace: se_DynatraceSourceProperties(input.Dynatrace, context) }),
|
|
2477
|
-
...(input.GoogleAnalytics != null && {
|
|
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) => {
|
|
2495
|
-
return input
|
|
2496
|
-
.filter((e) => e != null)
|
|
2497
|
-
.map((entry) => {
|
|
2498
|
-
return entry;
|
|
2499
|
-
});
|
|
2500
|
-
};
|
|
2501
|
-
const se_SourceFlowConfig = (input, context) => {
|
|
2502
|
-
return {
|
|
2503
|
-
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
2504
|
-
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
2505
|
-
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
2506
|
-
...(input.incrementalPullConfig != null && {
|
|
2507
|
-
incrementalPullConfig: se_IncrementalPullConfig(input.incrementalPullConfig, context),
|
|
2508
|
-
}),
|
|
2509
|
-
...(input.sourceConnectorProperties != null && {
|
|
2510
|
-
sourceConnectorProperties: se_SourceConnectorProperties(input.sourceConnectorProperties, context),
|
|
2511
|
-
}),
|
|
2512
|
-
};
|
|
2513
|
-
};
|
|
2514
|
-
const se_SuccessResponseHandlingConfig = (input, context) => {
|
|
2515
|
-
return {
|
|
2516
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2517
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2518
|
-
};
|
|
2519
|
-
};
|
|
2520
|
-
const se_TagMap = (input, context) => {
|
|
2521
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2522
|
-
if (value === null) {
|
|
2523
|
-
return acc;
|
|
2524
|
-
}
|
|
2525
|
-
acc[key] = value;
|
|
2526
|
-
return acc;
|
|
2527
|
-
}, {});
|
|
2528
|
-
};
|
|
2529
|
-
const se_Task = (input, context) => {
|
|
2530
|
-
return {
|
|
2531
|
-
...(input.connectorOperator != null && {
|
|
2532
|
-
connectorOperator: se_ConnectorOperator(input.connectorOperator, context),
|
|
2533
|
-
}),
|
|
2534
|
-
...(input.destinationField != null && { destinationField: input.destinationField }),
|
|
2535
|
-
...(input.sourceFields != null && { sourceFields: se_SourceFields(input.sourceFields, context) }),
|
|
2536
|
-
...(input.taskProperties != null && { taskProperties: se_TaskPropertiesMap(input.taskProperties, context) }),
|
|
2537
|
-
...(input.taskType != null && { taskType: input.taskType }),
|
|
2538
|
-
};
|
|
2539
|
-
};
|
|
2540
|
-
const se_TaskPropertiesMap = (input, context) => {
|
|
2541
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2542
|
-
if (value === null) {
|
|
2543
|
-
return acc;
|
|
2544
|
-
}
|
|
2545
|
-
acc[key] = value;
|
|
2546
|
-
return acc;
|
|
2547
|
-
}, {});
|
|
2548
|
-
};
|
|
2549
|
-
const se_Tasks = (input, context) => {
|
|
2550
|
-
return input
|
|
2551
|
-
.filter((e) => e != null)
|
|
2552
|
-
.map((entry) => {
|
|
2553
|
-
return se_Task(entry, context);
|
|
2554
|
-
});
|
|
2555
|
-
};
|
|
2556
|
-
const se_TokenUrlCustomProperties = (input, context) => {
|
|
2557
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2558
|
-
if (value === null) {
|
|
2559
|
-
return acc;
|
|
2560
|
-
}
|
|
2561
|
-
acc[key] = value;
|
|
2562
|
-
return acc;
|
|
2563
|
-
}, {});
|
|
2564
|
-
};
|
|
2565
|
-
const se_TrendmicroConnectorProfileCredentials = (input, context) => {
|
|
2566
|
-
return {
|
|
2567
|
-
...(input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }),
|
|
2568
|
-
};
|
|
2569
|
-
};
|
|
2570
|
-
const se_TrendmicroConnectorProfileProperties = (input, context) => {
|
|
2571
|
-
return {};
|
|
2572
|
-
};
|
|
2573
|
-
const se_TrendmicroSourceProperties = (input, context) => {
|
|
2574
|
-
return {
|
|
2575
|
-
...(input.object != null && { object: input.object }),
|
|
2576
|
-
};
|
|
2577
|
-
};
|
|
2578
|
-
const se_TriggerConfig = (input, context) => {
|
|
2579
|
-
return {
|
|
2580
|
-
...(input.triggerProperties != null && {
|
|
2581
|
-
triggerProperties: se_TriggerProperties(input.triggerProperties, context),
|
|
2582
|
-
}),
|
|
2583
|
-
...(input.triggerType != null && { triggerType: input.triggerType }),
|
|
2584
|
-
};
|
|
2585
|
-
};
|
|
2586
|
-
const se_TriggerProperties = (input, context) => {
|
|
2587
|
-
return {
|
|
2588
|
-
...(input.Scheduled != null && { Scheduled: se_ScheduledTriggerProperties(input.Scheduled, context) }),
|
|
2589
|
-
};
|
|
2590
|
-
};
|
|
2591
|
-
const se_UpsolverDestinationProperties = (input, context) => {
|
|
2592
|
-
return {
|
|
2593
|
-
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2594
|
-
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2595
|
-
...(input.s3OutputFormatConfig != null && {
|
|
2596
|
-
s3OutputFormatConfig: se_UpsolverS3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2597
|
-
}),
|
|
2598
|
-
};
|
|
2599
|
-
};
|
|
2600
|
-
const se_UpsolverS3OutputFormatConfig = (input, context) => {
|
|
2601
|
-
return {
|
|
2602
|
-
...(input.aggregationConfig != null && {
|
|
2603
|
-
aggregationConfig: se_AggregationConfig(input.aggregationConfig, context),
|
|
2604
|
-
}),
|
|
2605
|
-
...(input.fileType != null && { fileType: input.fileType }),
|
|
2606
|
-
...(input.prefixConfig != null && { prefixConfig: se_PrefixConfig(input.prefixConfig, context) }),
|
|
2607
|
-
};
|
|
2608
|
-
};
|
|
2609
|
-
const se_VeevaConnectorProfileCredentials = (input, context) => {
|
|
2610
|
-
return {
|
|
2611
|
-
...(input.password != null && { password: input.password }),
|
|
2612
|
-
...(input.username != null && { username: input.username }),
|
|
2613
|
-
};
|
|
2614
|
-
};
|
|
2615
|
-
const se_VeevaConnectorProfileProperties = (input, context) => {
|
|
2616
|
-
return {
|
|
2617
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2618
|
-
};
|
|
2619
|
-
};
|
|
2620
|
-
const se_VeevaSourceProperties = (input, context) => {
|
|
2621
|
-
return {
|
|
2622
|
-
...(input.documentType != null && { documentType: input.documentType }),
|
|
2623
|
-
...(input.includeAllVersions != null && { includeAllVersions: input.includeAllVersions }),
|
|
2624
|
-
...(input.includeRenditions != null && { includeRenditions: input.includeRenditions }),
|
|
2625
|
-
...(input.includeSourceFiles != null && { includeSourceFiles: input.includeSourceFiles }),
|
|
2626
|
-
...(input.object != null && { object: input.object }),
|
|
2627
|
-
};
|
|
2628
|
-
};
|
|
2629
|
-
const se_ZendeskConnectorProfileCredentials = (input, context) => {
|
|
2630
|
-
return {
|
|
2631
|
-
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2632
|
-
...(input.clientId != null && { clientId: input.clientId }),
|
|
2633
|
-
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2634
|
-
...(input.oAuthRequest != null && { oAuthRequest: se_ConnectorOAuthRequest(input.oAuthRequest, context) }),
|
|
2635
|
-
};
|
|
2636
|
-
};
|
|
2637
|
-
const se_ZendeskConnectorProfileProperties = (input, context) => {
|
|
2638
|
-
return {
|
|
2639
|
-
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2640
|
-
};
|
|
2641
|
-
};
|
|
2642
|
-
const se_ZendeskDestinationProperties = (input, context) => {
|
|
2643
|
-
return {
|
|
2644
|
-
...(input.errorHandlingConfig != null && {
|
|
2645
|
-
errorHandlingConfig: se_ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2646
|
-
}),
|
|
2647
|
-
...(input.idFieldNames != null && { idFieldNames: se_IdFieldNameList(input.idFieldNames, context) }),
|
|
2648
|
-
...(input.object != null && { object: input.object }),
|
|
2649
|
-
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2650
|
-
};
|
|
2651
|
-
};
|
|
2652
|
-
const se_ZendeskSourceProperties = (input, context) => {
|
|
2653
|
-
return {
|
|
2654
|
-
...(input.object != null && { object: input.object }),
|
|
2655
|
-
};
|
|
2656
|
-
};
|
|
2657
|
-
const de_AggregationConfig = (output, context) => {
|
|
2658
|
-
return {
|
|
2659
|
-
aggregationType: (0, smithy_client_1.expectString)(output.aggregationType),
|
|
2660
|
-
targetFileSize: (0, smithy_client_1.expectLong)(output.targetFileSize),
|
|
2661
|
-
};
|
|
2662
|
-
};
|
|
2663
|
-
const de_AmplitudeConnectorProfileProperties = (output, context) => {
|
|
2664
|
-
return {};
|
|
2665
|
-
};
|
|
2666
|
-
const de_AmplitudeMetadata = (output, context) => {
|
|
2667
|
-
return {};
|
|
2668
|
-
};
|
|
2669
|
-
const de_AmplitudeSourceProperties = (output, context) => {
|
|
2670
|
-
return {
|
|
2671
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
2672
|
-
};
|
|
2673
|
-
};
|
|
2674
|
-
const de_AuthCodeUrlList = (output, context) => {
|
|
2675
|
-
const retVal = (output || [])
|
|
2676
|
-
.filter((e) => e != null)
|
|
2677
|
-
.map((entry) => {
|
|
2678
|
-
if (entry === null) {
|
|
2679
|
-
return null;
|
|
2680
|
-
}
|
|
2681
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2682
|
-
});
|
|
2683
|
-
return retVal;
|
|
2684
|
-
};
|
|
2685
|
-
const de_AuthenticationConfig = (output, context) => {
|
|
2686
|
-
return {
|
|
2687
|
-
customAuthConfigs: output.customAuthConfigs != null ? de_CustomAuthConfigList(output.customAuthConfigs, context) : undefined,
|
|
2688
|
-
isApiKeyAuthSupported: (0, smithy_client_1.expectBoolean)(output.isApiKeyAuthSupported),
|
|
2689
|
-
isBasicAuthSupported: (0, smithy_client_1.expectBoolean)(output.isBasicAuthSupported),
|
|
2690
|
-
isCustomAuthSupported: (0, smithy_client_1.expectBoolean)(output.isCustomAuthSupported),
|
|
2691
|
-
isOAuth2Supported: (0, smithy_client_1.expectBoolean)(output.isOAuth2Supported),
|
|
2692
|
-
oAuth2Defaults: output.oAuth2Defaults != null ? de_OAuth2Defaults(output.oAuth2Defaults, context) : undefined,
|
|
2693
|
-
};
|
|
2694
|
-
};
|
|
2695
|
-
const de_AuthParameter = (output, context) => {
|
|
2696
|
-
return {
|
|
2697
|
-
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
2698
|
-
? de_ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
2699
|
-
: undefined,
|
|
2700
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
2701
|
-
isRequired: (0, smithy_client_1.expectBoolean)(output.isRequired),
|
|
2702
|
-
isSensitiveField: (0, smithy_client_1.expectBoolean)(output.isSensitiveField),
|
|
2703
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
2704
|
-
label: (0, smithy_client_1.expectString)(output.label),
|
|
2705
|
-
};
|
|
2706
|
-
};
|
|
2707
|
-
const de_AuthParameterList = (output, context) => {
|
|
2708
|
-
const retVal = (output || [])
|
|
2709
|
-
.filter((e) => e != null)
|
|
2710
|
-
.map((entry) => {
|
|
2711
|
-
if (entry === null) {
|
|
2712
|
-
return null;
|
|
2713
|
-
}
|
|
2714
|
-
return de_AuthParameter(entry, context);
|
|
2715
|
-
});
|
|
2716
|
-
return retVal;
|
|
2717
|
-
};
|
|
2718
|
-
const de_ConnectorConfiguration = (output, context) => {
|
|
2719
|
-
return {
|
|
2720
|
-
authenticationConfig: output.authenticationConfig != null ? de_AuthenticationConfig(output.authenticationConfig, context) : undefined,
|
|
2721
|
-
canUseAsDestination: (0, smithy_client_1.expectBoolean)(output.canUseAsDestination),
|
|
2722
|
-
canUseAsSource: (0, smithy_client_1.expectBoolean)(output.canUseAsSource),
|
|
2723
|
-
connectorArn: (0, smithy_client_1.expectString)(output.connectorArn),
|
|
2724
|
-
connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
|
|
2725
|
-
connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
|
|
2726
|
-
connectorMetadata: output.connectorMetadata != null ? de_ConnectorMetadata(output.connectorMetadata, context) : undefined,
|
|
2727
|
-
connectorModes: output.connectorModes != null ? de_ConnectorModeList(output.connectorModes, context) : undefined,
|
|
2728
|
-
connectorName: (0, smithy_client_1.expectString)(output.connectorName),
|
|
2729
|
-
connectorOwner: (0, smithy_client_1.expectString)(output.connectorOwner),
|
|
2730
|
-
connectorProvisioningConfig: output.connectorProvisioningConfig != null
|
|
2731
|
-
? de_ConnectorProvisioningConfig(output.connectorProvisioningConfig, context)
|
|
2732
|
-
: undefined,
|
|
2733
|
-
connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
|
|
2734
|
-
connectorRuntimeSettings: output.connectorRuntimeSettings != null
|
|
2735
|
-
? de_ConnectorRuntimeSettingList(output.connectorRuntimeSettings, context)
|
|
2736
|
-
: undefined,
|
|
2737
|
-
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
2738
|
-
connectorVersion: (0, smithy_client_1.expectString)(output.connectorVersion),
|
|
2739
|
-
isPrivateLinkEnabled: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEnabled),
|
|
2740
|
-
isPrivateLinkEndpointUrlRequired: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEndpointUrlRequired),
|
|
2741
|
-
logoURL: (0, smithy_client_1.expectString)(output.logoURL),
|
|
2742
|
-
registeredAt: output.registeredAt != null
|
|
2743
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
|
|
2744
|
-
: undefined,
|
|
2745
|
-
registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
|
|
2746
|
-
supportedApiVersions: output.supportedApiVersions != null
|
|
2747
|
-
? de_SupportedApiVersionList(output.supportedApiVersions, context)
|
|
2748
|
-
: undefined,
|
|
2749
|
-
supportedDestinationConnectors: output.supportedDestinationConnectors != null
|
|
2750
|
-
? de_ConnectorTypeList(output.supportedDestinationConnectors, context)
|
|
2751
|
-
: undefined,
|
|
2752
|
-
supportedOperators: output.supportedOperators != null ? de_SupportedOperatorList(output.supportedOperators, context) : undefined,
|
|
2753
|
-
supportedSchedulingFrequencies: output.supportedSchedulingFrequencies != null
|
|
2754
|
-
? de_SchedulingFrequencyTypeList(output.supportedSchedulingFrequencies, context)
|
|
2755
|
-
: undefined,
|
|
2756
|
-
supportedTriggerTypes: output.supportedTriggerTypes != null ? de_TriggerTypeList(output.supportedTriggerTypes, context) : undefined,
|
|
2757
|
-
supportedWriteOperations: output.supportedWriteOperations != null
|
|
2758
|
-
? de_SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
2759
|
-
: undefined,
|
|
2760
|
-
};
|
|
2761
|
-
};
|
|
2762
|
-
const de_ConnectorConfigurationsMap = (output, context) => {
|
|
2763
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2764
|
-
if (value === null) {
|
|
2765
|
-
return acc;
|
|
2766
|
-
}
|
|
2767
|
-
acc[key] = de_ConnectorConfiguration(value, context);
|
|
2768
|
-
return acc;
|
|
2769
|
-
}, {});
|
|
2770
|
-
};
|
|
2771
|
-
const de_ConnectorDetail = (output, context) => {
|
|
2772
|
-
return {
|
|
2773
|
-
applicationType: (0, smithy_client_1.expectString)(output.applicationType),
|
|
2774
|
-
connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
|
|
2775
|
-
connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
|
|
2776
|
-
connectorModes: output.connectorModes != null ? de_ConnectorModeList(output.connectorModes, context) : undefined,
|
|
2777
|
-
connectorName: (0, smithy_client_1.expectString)(output.connectorName),
|
|
2778
|
-
connectorOwner: (0, smithy_client_1.expectString)(output.connectorOwner),
|
|
2779
|
-
connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
|
|
2780
|
-
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
2781
|
-
connectorVersion: (0, smithy_client_1.expectString)(output.connectorVersion),
|
|
2782
|
-
registeredAt: output.registeredAt != null
|
|
2783
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
|
|
2784
|
-
: undefined,
|
|
2785
|
-
registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
|
|
2786
|
-
};
|
|
2787
|
-
};
|
|
2788
|
-
const de_ConnectorEntity = (output, context) => {
|
|
2789
|
-
return {
|
|
2790
|
-
hasNestedEntities: (0, smithy_client_1.expectBoolean)(output.hasNestedEntities),
|
|
2791
|
-
label: (0, smithy_client_1.expectString)(output.label),
|
|
2792
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2793
|
-
};
|
|
2794
|
-
};
|
|
2795
|
-
const de_ConnectorEntityField = (output, context) => {
|
|
2796
|
-
return {
|
|
2797
|
-
customProperties: output.customProperties != null ? de_CustomProperties(output.customProperties, context) : undefined,
|
|
2798
|
-
defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
|
|
2799
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
2800
|
-
destinationProperties: output.destinationProperties != null
|
|
2801
|
-
? de_DestinationFieldProperties(output.destinationProperties, context)
|
|
2802
|
-
: undefined,
|
|
2803
|
-
identifier: (0, smithy_client_1.expectString)(output.identifier),
|
|
2804
|
-
isDeprecated: (0, smithy_client_1.expectBoolean)(output.isDeprecated),
|
|
2805
|
-
isPrimaryKey: (0, smithy_client_1.expectBoolean)(output.isPrimaryKey),
|
|
2806
|
-
label: (0, smithy_client_1.expectString)(output.label),
|
|
2807
|
-
parentIdentifier: (0, smithy_client_1.expectString)(output.parentIdentifier),
|
|
2808
|
-
sourceProperties: output.sourceProperties != null ? de_SourceFieldProperties(output.sourceProperties, context) : undefined,
|
|
2809
|
-
supportedFieldTypeDetails: output.supportedFieldTypeDetails != null
|
|
2810
|
-
? de_SupportedFieldTypeDetails(output.supportedFieldTypeDetails, context)
|
|
2811
|
-
: undefined,
|
|
2812
|
-
};
|
|
2813
|
-
};
|
|
2814
|
-
const de_ConnectorEntityFieldList = (output, context) => {
|
|
2815
|
-
const retVal = (output || [])
|
|
2816
|
-
.filter((e) => e != null)
|
|
2817
|
-
.map((entry) => {
|
|
2818
|
-
if (entry === null) {
|
|
2819
|
-
return null;
|
|
2820
|
-
}
|
|
2821
|
-
return de_ConnectorEntityField(entry, context);
|
|
2822
|
-
});
|
|
2823
|
-
return retVal;
|
|
2824
|
-
};
|
|
2825
|
-
const de_ConnectorEntityList = (output, context) => {
|
|
2826
|
-
const retVal = (output || [])
|
|
2827
|
-
.filter((e) => e != null)
|
|
2828
|
-
.map((entry) => {
|
|
2829
|
-
if (entry === null) {
|
|
2830
|
-
return null;
|
|
2831
|
-
}
|
|
2832
|
-
return de_ConnectorEntity(entry, context);
|
|
2833
|
-
});
|
|
2834
|
-
return retVal;
|
|
2835
|
-
};
|
|
2836
|
-
const de_ConnectorEntityMap = (output, context) => {
|
|
2837
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2838
|
-
if (value === null) {
|
|
2839
|
-
return acc;
|
|
2840
|
-
}
|
|
2841
|
-
acc[key] = de_ConnectorEntityList(value, context);
|
|
2842
|
-
return acc;
|
|
2843
|
-
}, {});
|
|
2844
|
-
};
|
|
2845
|
-
const de_ConnectorList = (output, context) => {
|
|
2846
|
-
const retVal = (output || [])
|
|
2847
|
-
.filter((e) => e != null)
|
|
2848
|
-
.map((entry) => {
|
|
2849
|
-
if (entry === null) {
|
|
2850
|
-
return null;
|
|
2851
|
-
}
|
|
2852
|
-
return de_ConnectorDetail(entry, context);
|
|
2853
|
-
});
|
|
2854
|
-
return retVal;
|
|
2855
|
-
};
|
|
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) => {
|
|
2883
|
-
const retVal = (output || [])
|
|
2884
|
-
.filter((e) => e != null)
|
|
2885
|
-
.map((entry) => {
|
|
2886
|
-
if (entry === null) {
|
|
2887
|
-
return null;
|
|
2888
|
-
}
|
|
2889
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2890
|
-
});
|
|
2891
|
-
return retVal;
|
|
2892
|
-
};
|
|
2893
|
-
const de_ConnectorOperator = (output, context) => {
|
|
2894
|
-
return {
|
|
2895
|
-
Amplitude: (0, smithy_client_1.expectString)(output.Amplitude),
|
|
2896
|
-
CustomConnector: (0, smithy_client_1.expectString)(output.CustomConnector),
|
|
2897
|
-
Datadog: (0, smithy_client_1.expectString)(output.Datadog),
|
|
2898
|
-
Dynatrace: (0, smithy_client_1.expectString)(output.Dynatrace),
|
|
2899
|
-
GoogleAnalytics: (0, smithy_client_1.expectString)(output.GoogleAnalytics),
|
|
2900
|
-
InforNexus: (0, smithy_client_1.expectString)(output.InforNexus),
|
|
2901
|
-
Marketo: (0, smithy_client_1.expectString)(output.Marketo),
|
|
2902
|
-
Pardot: (0, smithy_client_1.expectString)(output.Pardot),
|
|
2903
|
-
S3: (0, smithy_client_1.expectString)(output.S3),
|
|
2904
|
-
SAPOData: (0, smithy_client_1.expectString)(output.SAPOData),
|
|
2905
|
-
Salesforce: (0, smithy_client_1.expectString)(output.Salesforce),
|
|
2906
|
-
ServiceNow: (0, smithy_client_1.expectString)(output.ServiceNow),
|
|
2907
|
-
Singular: (0, smithy_client_1.expectString)(output.Singular),
|
|
2908
|
-
Slack: (0, smithy_client_1.expectString)(output.Slack),
|
|
2909
|
-
Trendmicro: (0, smithy_client_1.expectString)(output.Trendmicro),
|
|
2910
|
-
Veeva: (0, smithy_client_1.expectString)(output.Veeva),
|
|
2911
|
-
Zendesk: (0, smithy_client_1.expectString)(output.Zendesk),
|
|
2912
|
-
};
|
|
2913
|
-
};
|
|
2914
|
-
const de_ConnectorProfile = (output, context) => {
|
|
2915
|
-
return {
|
|
2916
|
-
connectionMode: (0, smithy_client_1.expectString)(output.connectionMode),
|
|
2917
|
-
connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
|
|
2918
|
-
connectorProfileArn: (0, smithy_client_1.expectString)(output.connectorProfileArn),
|
|
2919
|
-
connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
|
|
2920
|
-
connectorProfileProperties: output.connectorProfileProperties != null
|
|
2921
|
-
? de_ConnectorProfileProperties(output.connectorProfileProperties, context)
|
|
2922
|
-
: undefined,
|
|
2923
|
-
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
2924
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
|
2925
|
-
credentialsArn: (0, smithy_client_1.expectString)(output.credentialsArn),
|
|
2926
|
-
lastUpdatedAt: output.lastUpdatedAt != null
|
|
2927
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
2928
|
-
: undefined,
|
|
2929
|
-
privateConnectionProvisioningState: output.privateConnectionProvisioningState != null
|
|
2930
|
-
? de_PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
|
|
2931
|
-
: undefined,
|
|
2932
|
-
};
|
|
2933
|
-
};
|
|
2934
|
-
const de_ConnectorProfileDetailList = (output, context) => {
|
|
2935
|
-
const retVal = (output || [])
|
|
2936
|
-
.filter((e) => e != null)
|
|
2937
|
-
.map((entry) => {
|
|
2938
|
-
if (entry === null) {
|
|
2939
|
-
return null;
|
|
2940
|
-
}
|
|
2941
|
-
return de_ConnectorProfile(entry, context);
|
|
2942
|
-
});
|
|
2943
|
-
return retVal;
|
|
2944
|
-
};
|
|
2945
|
-
const de_ConnectorProfileProperties = (output, context) => {
|
|
2946
|
-
return {
|
|
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,
|
|
2951
|
-
GoogleAnalytics: output.GoogleAnalytics != null
|
|
2952
|
-
? de_GoogleAnalyticsConnectorProfileProperties(output.GoogleAnalytics, context)
|
|
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,
|
|
2968
|
-
};
|
|
2969
|
-
};
|
|
2970
|
-
const de_ConnectorProvisioningConfig = (output, context) => {
|
|
2971
|
-
return {
|
|
2972
|
-
lambda: output.lambda != null ? de_LambdaConnectorProvisioningConfig(output.lambda, context) : undefined,
|
|
2973
|
-
};
|
|
2974
|
-
};
|
|
2975
|
-
const de_ConnectorRuntimeSetting = (output, context) => {
|
|
2976
|
-
return {
|
|
2977
|
-
connectorSuppliedValueOptions: output.connectorSuppliedValueOptions != null
|
|
2978
|
-
? de_ConnectorSuppliedValueOptionList(output.connectorSuppliedValueOptions, context)
|
|
2979
|
-
: undefined,
|
|
2980
|
-
dataType: (0, smithy_client_1.expectString)(output.dataType),
|
|
2981
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
2982
|
-
isRequired: (0, smithy_client_1.expectBoolean)(output.isRequired),
|
|
2983
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
2984
|
-
label: (0, smithy_client_1.expectString)(output.label),
|
|
2985
|
-
scope: (0, smithy_client_1.expectString)(output.scope),
|
|
2986
|
-
};
|
|
2987
|
-
};
|
|
2988
|
-
const de_ConnectorRuntimeSettingList = (output, context) => {
|
|
2989
|
-
const retVal = (output || [])
|
|
2990
|
-
.filter((e) => e != null)
|
|
2991
|
-
.map((entry) => {
|
|
2992
|
-
if (entry === null) {
|
|
2993
|
-
return null;
|
|
2994
|
-
}
|
|
2995
|
-
return de_ConnectorRuntimeSetting(entry, context);
|
|
2996
|
-
});
|
|
2997
|
-
return retVal;
|
|
2998
|
-
};
|
|
2999
|
-
const de_ConnectorSuppliedValueList = (output, context) => {
|
|
3000
|
-
const retVal = (output || [])
|
|
3001
|
-
.filter((e) => e != null)
|
|
3002
|
-
.map((entry) => {
|
|
3003
|
-
if (entry === null) {
|
|
3004
|
-
return null;
|
|
3005
|
-
}
|
|
3006
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3007
|
-
});
|
|
3008
|
-
return retVal;
|
|
3009
|
-
};
|
|
3010
|
-
const de_ConnectorSuppliedValueOptionList = (output, context) => {
|
|
3011
|
-
const retVal = (output || [])
|
|
3012
|
-
.filter((e) => e != null)
|
|
3013
|
-
.map((entry) => {
|
|
3014
|
-
if (entry === null) {
|
|
3015
|
-
return null;
|
|
3016
|
-
}
|
|
3017
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3018
|
-
});
|
|
3019
|
-
return retVal;
|
|
3020
|
-
};
|
|
3021
|
-
const de_ConnectorTypeList = (output, context) => {
|
|
3022
|
-
const retVal = (output || [])
|
|
3023
|
-
.filter((e) => e != null)
|
|
3024
|
-
.map((entry) => {
|
|
3025
|
-
if (entry === null) {
|
|
3026
|
-
return null;
|
|
3027
|
-
}
|
|
3028
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3029
|
-
});
|
|
3030
|
-
return retVal;
|
|
3031
|
-
};
|
|
3032
|
-
const de_CustomAuthConfig = (output, context) => {
|
|
3033
|
-
return {
|
|
3034
|
-
authParameters: output.authParameters != null ? de_AuthParameterList(output.authParameters, context) : undefined,
|
|
3035
|
-
customAuthenticationType: (0, smithy_client_1.expectString)(output.customAuthenticationType),
|
|
3036
|
-
};
|
|
3037
|
-
};
|
|
3038
|
-
const de_CustomAuthConfigList = (output, context) => {
|
|
3039
|
-
const retVal = (output || [])
|
|
3040
|
-
.filter((e) => e != null)
|
|
3041
|
-
.map((entry) => {
|
|
3042
|
-
if (entry === null) {
|
|
3043
|
-
return null;
|
|
3044
|
-
}
|
|
3045
|
-
return de_CustomAuthConfig(entry, context);
|
|
3046
|
-
});
|
|
3047
|
-
return retVal;
|
|
3048
|
-
};
|
|
3049
|
-
const de_CustomConnectorDestinationProperties = (output, context) => {
|
|
3050
|
-
return {
|
|
3051
|
-
customProperties: output.customProperties != null ? de_CustomProperties(output.customProperties, context) : undefined,
|
|
3052
|
-
entityName: (0, smithy_client_1.expectString)(output.entityName),
|
|
3053
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3054
|
-
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3055
|
-
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
3056
|
-
};
|
|
3057
|
-
};
|
|
3058
|
-
const de_CustomConnectorProfileProperties = (output, context) => {
|
|
3059
|
-
return {
|
|
3060
|
-
oAuth2Properties: output.oAuth2Properties != null ? de_OAuth2Properties(output.oAuth2Properties, context) : undefined,
|
|
3061
|
-
profileProperties: output.profileProperties != null ? de_ProfilePropertiesMap(output.profileProperties, context) : undefined,
|
|
3062
|
-
};
|
|
3063
|
-
};
|
|
3064
|
-
const de_CustomConnectorSourceProperties = (output, context) => {
|
|
3065
|
-
return {
|
|
3066
|
-
customProperties: output.customProperties != null ? de_CustomProperties(output.customProperties, context) : undefined,
|
|
3067
|
-
entityName: (0, smithy_client_1.expectString)(output.entityName),
|
|
3068
|
-
};
|
|
3069
|
-
};
|
|
3070
|
-
const de_CustomerProfilesDestinationProperties = (output, context) => {
|
|
3071
|
-
return {
|
|
3072
|
-
domainName: (0, smithy_client_1.expectString)(output.domainName),
|
|
3073
|
-
objectTypeName: (0, smithy_client_1.expectString)(output.objectTypeName),
|
|
3074
|
-
};
|
|
3075
|
-
};
|
|
3076
|
-
const de_CustomerProfilesMetadata = (output, context) => {
|
|
3077
|
-
return {};
|
|
3078
|
-
};
|
|
3079
|
-
const de_CustomProperties = (output, context) => {
|
|
3080
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3081
|
-
if (value === null) {
|
|
3082
|
-
return acc;
|
|
3083
|
-
}
|
|
3084
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3085
|
-
return acc;
|
|
3086
|
-
}, {});
|
|
3087
|
-
};
|
|
3088
|
-
const de_DatadogConnectorProfileProperties = (output, context) => {
|
|
3089
|
-
return {
|
|
3090
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3091
|
-
};
|
|
3092
|
-
};
|
|
3093
|
-
const de_DatadogMetadata = (output, context) => {
|
|
3094
|
-
return {};
|
|
3095
|
-
};
|
|
3096
|
-
const de_DatadogSourceProperties = (output, context) => {
|
|
3097
|
-
return {
|
|
3098
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3099
|
-
};
|
|
3100
|
-
};
|
|
3101
|
-
const de_DestinationConnectorProperties = (output, context) => {
|
|
3102
|
-
return {
|
|
3103
|
-
CustomConnector: output.CustomConnector != null
|
|
3104
|
-
? de_CustomConnectorDestinationProperties(output.CustomConnector, context)
|
|
3105
|
-
: undefined,
|
|
3106
|
-
CustomerProfiles: output.CustomerProfiles != null
|
|
3107
|
-
? de_CustomerProfilesDestinationProperties(output.CustomerProfiles, context)
|
|
3108
|
-
: undefined,
|
|
3109
|
-
EventBridge: output.EventBridge != null ? de_EventBridgeDestinationProperties(output.EventBridge, context) : undefined,
|
|
3110
|
-
Honeycode: output.Honeycode != null ? de_HoneycodeDestinationProperties(output.Honeycode, context) : undefined,
|
|
3111
|
-
LookoutMetrics: output.LookoutMetrics != null
|
|
3112
|
-
? de_LookoutMetricsDestinationProperties(output.LookoutMetrics, context)
|
|
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,
|
|
3122
|
-
};
|
|
3123
|
-
};
|
|
3124
|
-
const de_DestinationFieldProperties = (output, context) => {
|
|
3125
|
-
return {
|
|
3126
|
-
isCreatable: (0, smithy_client_1.expectBoolean)(output.isCreatable),
|
|
3127
|
-
isDefaultedOnCreate: (0, smithy_client_1.expectBoolean)(output.isDefaultedOnCreate),
|
|
3128
|
-
isNullable: (0, smithy_client_1.expectBoolean)(output.isNullable),
|
|
3129
|
-
isUpdatable: (0, smithy_client_1.expectBoolean)(output.isUpdatable),
|
|
3130
|
-
isUpsertable: (0, smithy_client_1.expectBoolean)(output.isUpsertable),
|
|
3131
|
-
supportedWriteOperations: output.supportedWriteOperations != null
|
|
3132
|
-
? de_SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
3133
|
-
: undefined,
|
|
3134
|
-
};
|
|
3135
|
-
};
|
|
3136
|
-
const de_DestinationFlowConfig = (output, context) => {
|
|
3137
|
-
return {
|
|
3138
|
-
apiVersion: (0, smithy_client_1.expectString)(output.apiVersion),
|
|
3139
|
-
connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
|
|
3140
|
-
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
3141
|
-
destinationConnectorProperties: output.destinationConnectorProperties != null
|
|
3142
|
-
? de_DestinationConnectorProperties(output.destinationConnectorProperties, context)
|
|
3143
|
-
: undefined,
|
|
3144
|
-
};
|
|
3145
|
-
};
|
|
3146
|
-
const de_DestinationFlowConfigList = (output, context) => {
|
|
3147
|
-
const retVal = (output || [])
|
|
3148
|
-
.filter((e) => e != null)
|
|
3149
|
-
.map((entry) => {
|
|
3150
|
-
if (entry === null) {
|
|
3151
|
-
return null;
|
|
3152
|
-
}
|
|
3153
|
-
return de_DestinationFlowConfig(entry, context);
|
|
3154
|
-
});
|
|
3155
|
-
return retVal;
|
|
3156
|
-
};
|
|
3157
|
-
const de_DynatraceConnectorProfileProperties = (output, context) => {
|
|
3158
|
-
return {
|
|
3159
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3160
|
-
};
|
|
3161
|
-
};
|
|
3162
|
-
const de_DynatraceMetadata = (output, context) => {
|
|
3163
|
-
return {};
|
|
3164
|
-
};
|
|
3165
|
-
const de_DynatraceSourceProperties = (output, context) => {
|
|
3166
|
-
return {
|
|
3167
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3168
|
-
};
|
|
3169
|
-
};
|
|
3170
|
-
const de_ErrorHandlingConfig = (output, context) => {
|
|
3171
|
-
return {
|
|
3172
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3173
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3174
|
-
failOnFirstDestinationError: (0, smithy_client_1.expectBoolean)(output.failOnFirstDestinationError),
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
const de_ErrorInfo = (output, context) => {
|
|
3178
|
-
return {
|
|
3179
|
-
executionMessage: (0, smithy_client_1.expectString)(output.executionMessage),
|
|
3180
|
-
putFailuresCount: (0, smithy_client_1.expectLong)(output.putFailuresCount),
|
|
3181
|
-
};
|
|
3182
|
-
};
|
|
3183
|
-
const de_EventBridgeDestinationProperties = (output, context) => {
|
|
3184
|
-
return {
|
|
3185
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3186
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3187
|
-
};
|
|
3188
|
-
};
|
|
3189
|
-
const de_EventBridgeMetadata = (output, context) => {
|
|
3190
|
-
return {};
|
|
3191
|
-
};
|
|
3192
|
-
const de_ExecutionDetails = (output, context) => {
|
|
3193
|
-
return {
|
|
3194
|
-
mostRecentExecutionMessage: (0, smithy_client_1.expectString)(output.mostRecentExecutionMessage),
|
|
3195
|
-
mostRecentExecutionStatus: (0, smithy_client_1.expectString)(output.mostRecentExecutionStatus),
|
|
3196
|
-
mostRecentExecutionTime: output.mostRecentExecutionTime != null
|
|
3197
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.mostRecentExecutionTime)))
|
|
3198
|
-
: undefined,
|
|
3199
|
-
};
|
|
3200
|
-
};
|
|
3201
|
-
const de_ExecutionRecord = (output, context) => {
|
|
3202
|
-
return {
|
|
3203
|
-
dataPullEndTime: output.dataPullEndTime != null
|
|
3204
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.dataPullEndTime)))
|
|
3205
|
-
: undefined,
|
|
3206
|
-
dataPullStartTime: output.dataPullStartTime != null
|
|
3207
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.dataPullStartTime)))
|
|
3208
|
-
: undefined,
|
|
3209
|
-
executionId: (0, smithy_client_1.expectString)(output.executionId),
|
|
3210
|
-
executionResult: output.executionResult != null ? de_ExecutionResult(output.executionResult, context) : undefined,
|
|
3211
|
-
executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
|
|
3212
|
-
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3213
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
3214
|
-
: undefined,
|
|
3215
|
-
metadataCatalogDetails: output.metadataCatalogDetails != null
|
|
3216
|
-
? de_MetadataCatalogDetails(output.metadataCatalogDetails, context)
|
|
3217
|
-
: undefined,
|
|
3218
|
-
startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt))) : undefined,
|
|
3219
|
-
};
|
|
3220
|
-
};
|
|
3221
|
-
const de_ExecutionResult = (output, context) => {
|
|
3222
|
-
return {
|
|
3223
|
-
bytesProcessed: (0, smithy_client_1.expectLong)(output.bytesProcessed),
|
|
3224
|
-
bytesWritten: (0, smithy_client_1.expectLong)(output.bytesWritten),
|
|
3225
|
-
errorInfo: output.errorInfo != null ? de_ErrorInfo(output.errorInfo, context) : undefined,
|
|
3226
|
-
recordsProcessed: (0, smithy_client_1.expectLong)(output.recordsProcessed),
|
|
3227
|
-
};
|
|
3228
|
-
};
|
|
3229
|
-
const de_FieldTypeDetails = (output, context) => {
|
|
3230
|
-
return {
|
|
3231
|
-
fieldLengthRange: output.fieldLengthRange != null ? de_Range(output.fieldLengthRange, context) : undefined,
|
|
3232
|
-
fieldType: (0, smithy_client_1.expectString)(output.fieldType),
|
|
3233
|
-
fieldValueRange: output.fieldValueRange != null ? de_Range(output.fieldValueRange, context) : undefined,
|
|
3234
|
-
filterOperators: output.filterOperators != null ? de_FilterOperatorList(output.filterOperators, context) : undefined,
|
|
3235
|
-
supportedDateFormat: (0, smithy_client_1.expectString)(output.supportedDateFormat),
|
|
3236
|
-
supportedValues: output.supportedValues != null ? de_SupportedValueList(output.supportedValues, context) : undefined,
|
|
3237
|
-
valueRegexPattern: (0, smithy_client_1.expectString)(output.valueRegexPattern),
|
|
3238
|
-
};
|
|
3239
|
-
};
|
|
3240
|
-
const de_FilterOperatorList = (output, context) => {
|
|
3241
|
-
const retVal = (output || [])
|
|
3242
|
-
.filter((e) => e != null)
|
|
3243
|
-
.map((entry) => {
|
|
3244
|
-
if (entry === null) {
|
|
3245
|
-
return null;
|
|
3246
|
-
}
|
|
3247
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3248
|
-
});
|
|
3249
|
-
return retVal;
|
|
3250
|
-
};
|
|
3251
|
-
const de_FlowDefinition = (output, context) => {
|
|
3252
|
-
return {
|
|
3253
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
|
3254
|
-
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
3255
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3256
|
-
destinationConnectorLabel: (0, smithy_client_1.expectString)(output.destinationConnectorLabel),
|
|
3257
|
-
destinationConnectorType: (0, smithy_client_1.expectString)(output.destinationConnectorType),
|
|
3258
|
-
flowArn: (0, smithy_client_1.expectString)(output.flowArn),
|
|
3259
|
-
flowName: (0, smithy_client_1.expectString)(output.flowName),
|
|
3260
|
-
flowStatus: (0, smithy_client_1.expectString)(output.flowStatus),
|
|
3261
|
-
lastRunExecutionDetails: output.lastRunExecutionDetails != null ? de_ExecutionDetails(output.lastRunExecutionDetails, context) : undefined,
|
|
3262
|
-
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3263
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
3264
|
-
: undefined,
|
|
3265
|
-
lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
|
|
3266
|
-
sourceConnectorLabel: (0, smithy_client_1.expectString)(output.sourceConnectorLabel),
|
|
3267
|
-
sourceConnectorType: (0, smithy_client_1.expectString)(output.sourceConnectorType),
|
|
3268
|
-
tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
|
|
3269
|
-
triggerType: (0, smithy_client_1.expectString)(output.triggerType),
|
|
3270
|
-
};
|
|
3271
|
-
};
|
|
3272
|
-
const de_FlowExecutionList = (output, context) => {
|
|
3273
|
-
const retVal = (output || [])
|
|
3274
|
-
.filter((e) => e != null)
|
|
3275
|
-
.map((entry) => {
|
|
3276
|
-
if (entry === null) {
|
|
3277
|
-
return null;
|
|
3278
|
-
}
|
|
3279
|
-
return de_ExecutionRecord(entry, context);
|
|
3280
|
-
});
|
|
3281
|
-
return retVal;
|
|
3282
|
-
};
|
|
3283
|
-
const de_FlowList = (output, context) => {
|
|
3284
|
-
const retVal = (output || [])
|
|
3285
|
-
.filter((e) => e != null)
|
|
3286
|
-
.map((entry) => {
|
|
3287
|
-
if (entry === null) {
|
|
3288
|
-
return null;
|
|
3289
|
-
}
|
|
3290
|
-
return de_FlowDefinition(entry, context);
|
|
3291
|
-
});
|
|
3292
|
-
return retVal;
|
|
3293
|
-
};
|
|
3294
|
-
const de_GlueDataCatalogConfig = (output, context) => {
|
|
3295
|
-
return {
|
|
3296
|
-
databaseName: (0, smithy_client_1.expectString)(output.databaseName),
|
|
3297
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3298
|
-
tablePrefix: (0, smithy_client_1.expectString)(output.tablePrefix),
|
|
3299
|
-
};
|
|
3300
|
-
};
|
|
3301
|
-
const de_GoogleAnalyticsConnectorProfileProperties = (output, context) => {
|
|
3302
|
-
return {};
|
|
3303
|
-
};
|
|
3304
|
-
const de_GoogleAnalyticsMetadata = (output, context) => {
|
|
3305
|
-
return {
|
|
3306
|
-
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3307
|
-
};
|
|
3308
|
-
};
|
|
3309
|
-
const de_GoogleAnalyticsSourceProperties = (output, context) => {
|
|
3310
|
-
return {
|
|
3311
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3312
|
-
};
|
|
3313
|
-
};
|
|
3314
|
-
const de_HoneycodeConnectorProfileProperties = (output, context) => {
|
|
3315
|
-
return {};
|
|
3316
|
-
};
|
|
3317
|
-
const de_HoneycodeDestinationProperties = (output, context) => {
|
|
3318
|
-
return {
|
|
3319
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3320
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3321
|
-
};
|
|
3322
|
-
};
|
|
3323
|
-
const de_HoneycodeMetadata = (output, context) => {
|
|
3324
|
-
return {
|
|
3325
|
-
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3326
|
-
};
|
|
3327
|
-
};
|
|
3328
|
-
const de_IdFieldNameList = (output, context) => {
|
|
3329
|
-
const retVal = (output || [])
|
|
3330
|
-
.filter((e) => e != null)
|
|
3331
|
-
.map((entry) => {
|
|
3332
|
-
if (entry === null) {
|
|
3333
|
-
return null;
|
|
3334
|
-
}
|
|
3335
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3336
|
-
});
|
|
3337
|
-
return retVal;
|
|
3338
|
-
};
|
|
3339
|
-
const de_IncrementalPullConfig = (output, context) => {
|
|
3340
|
-
return {
|
|
3341
|
-
datetimeTypeFieldName: (0, smithy_client_1.expectString)(output.datetimeTypeFieldName),
|
|
3342
|
-
};
|
|
3343
|
-
};
|
|
3344
|
-
const de_InforNexusConnectorProfileProperties = (output, context) => {
|
|
3345
|
-
return {
|
|
3346
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3347
|
-
};
|
|
3348
|
-
};
|
|
3349
|
-
const de_InforNexusMetadata = (output, context) => {
|
|
3350
|
-
return {};
|
|
3351
|
-
};
|
|
3352
|
-
const de_InforNexusSourceProperties = (output, context) => {
|
|
3353
|
-
return {
|
|
3354
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3355
|
-
};
|
|
3356
|
-
};
|
|
3357
|
-
const de_LambdaConnectorProvisioningConfig = (output, context) => {
|
|
3358
|
-
return {
|
|
3359
|
-
lambdaArn: (0, smithy_client_1.expectString)(output.lambdaArn),
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
|
-
const de_LookoutMetricsDestinationProperties = (output, context) => {
|
|
3363
|
-
return {};
|
|
3364
|
-
};
|
|
3365
|
-
const de_MarketoConnectorProfileProperties = (output, context) => {
|
|
3366
|
-
return {
|
|
3367
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3368
|
-
};
|
|
3369
|
-
};
|
|
3370
|
-
const de_MarketoDestinationProperties = (output, context) => {
|
|
3371
|
-
return {
|
|
3372
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3373
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3374
|
-
};
|
|
3375
|
-
};
|
|
3376
|
-
const de_MarketoMetadata = (output, context) => {
|
|
3377
|
-
return {};
|
|
3378
|
-
};
|
|
3379
|
-
const de_MarketoSourceProperties = (output, context) => {
|
|
3380
|
-
return {
|
|
3381
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3382
|
-
};
|
|
3383
|
-
};
|
|
3384
|
-
const de_MetadataCatalogConfig = (output, context) => {
|
|
3385
|
-
return {
|
|
3386
|
-
glueDataCatalog: output.glueDataCatalog != null ? de_GlueDataCatalogConfig(output.glueDataCatalog, context) : undefined,
|
|
3387
|
-
};
|
|
3388
|
-
};
|
|
3389
|
-
const de_MetadataCatalogDetail = (output, context) => {
|
|
3390
|
-
return {
|
|
3391
|
-
catalogType: (0, smithy_client_1.expectString)(output.catalogType),
|
|
3392
|
-
partitionRegistrationOutput: output.partitionRegistrationOutput != null
|
|
3393
|
-
? de_RegistrationOutput(output.partitionRegistrationOutput, context)
|
|
3394
|
-
: undefined,
|
|
3395
|
-
tableName: (0, smithy_client_1.expectString)(output.tableName),
|
|
3396
|
-
tableRegistrationOutput: output.tableRegistrationOutput != null
|
|
3397
|
-
? de_RegistrationOutput(output.tableRegistrationOutput, context)
|
|
3398
|
-
: undefined,
|
|
3399
|
-
};
|
|
3400
|
-
};
|
|
3401
|
-
const de_MetadataCatalogDetails = (output, context) => {
|
|
3402
|
-
const retVal = (output || [])
|
|
3403
|
-
.filter((e) => e != null)
|
|
3404
|
-
.map((entry) => {
|
|
3405
|
-
if (entry === null) {
|
|
3406
|
-
return null;
|
|
3407
|
-
}
|
|
3408
|
-
return de_MetadataCatalogDetail(entry, context);
|
|
3409
|
-
});
|
|
3410
|
-
return retVal;
|
|
3411
|
-
};
|
|
3412
|
-
const de_OAuth2CustomParameter = (output, context) => {
|
|
3413
|
-
return {
|
|
3414
|
-
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
3415
|
-
? de_ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
3416
|
-
: undefined,
|
|
3417
|
-
description: (0, smithy_client_1.expectString)(output.description),
|
|
3418
|
-
isRequired: (0, smithy_client_1.expectBoolean)(output.isRequired),
|
|
3419
|
-
isSensitiveField: (0, smithy_client_1.expectBoolean)(output.isSensitiveField),
|
|
3420
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
3421
|
-
label: (0, smithy_client_1.expectString)(output.label),
|
|
3422
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
3423
|
-
};
|
|
3424
|
-
};
|
|
3425
|
-
const de_OAuth2CustomPropertiesList = (output, context) => {
|
|
3426
|
-
const retVal = (output || [])
|
|
3427
|
-
.filter((e) => e != null)
|
|
3428
|
-
.map((entry) => {
|
|
3429
|
-
if (entry === null) {
|
|
3430
|
-
return null;
|
|
3431
|
-
}
|
|
3432
|
-
return de_OAuth2CustomParameter(entry, context);
|
|
3433
|
-
});
|
|
3434
|
-
return retVal;
|
|
3435
|
-
};
|
|
3436
|
-
const de_OAuth2Defaults = (output, context) => {
|
|
3437
|
-
return {
|
|
3438
|
-
authCodeUrls: output.authCodeUrls != null ? de_AuthCodeUrlList(output.authCodeUrls, context) : undefined,
|
|
3439
|
-
oauth2CustomProperties: output.oauth2CustomProperties != null
|
|
3440
|
-
? de_OAuth2CustomPropertiesList(output.oauth2CustomProperties, context)
|
|
3441
|
-
: undefined,
|
|
3442
|
-
oauth2GrantTypesSupported: output.oauth2GrantTypesSupported != null
|
|
3443
|
-
? de_OAuth2GrantTypeSupportedList(output.oauth2GrantTypesSupported, context)
|
|
3444
|
-
: undefined,
|
|
3445
|
-
oauthScopes: output.oauthScopes != null ? de_OAuthScopeList(output.oauthScopes, context) : undefined,
|
|
3446
|
-
tokenUrls: output.tokenUrls != null ? de_TokenUrlList(output.tokenUrls, context) : undefined,
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
const de_OAuth2GrantTypeSupportedList = (output, context) => {
|
|
3450
|
-
const retVal = (output || [])
|
|
3451
|
-
.filter((e) => e != null)
|
|
3452
|
-
.map((entry) => {
|
|
3453
|
-
if (entry === null) {
|
|
3454
|
-
return null;
|
|
3455
|
-
}
|
|
3456
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3457
|
-
});
|
|
3458
|
-
return retVal;
|
|
3459
|
-
};
|
|
3460
|
-
const de_OAuth2Properties = (output, context) => {
|
|
3461
|
-
return {
|
|
3462
|
-
oAuth2GrantType: (0, smithy_client_1.expectString)(output.oAuth2GrantType),
|
|
3463
|
-
tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
|
|
3464
|
-
tokenUrlCustomProperties: output.tokenUrlCustomProperties != null
|
|
3465
|
-
? de_TokenUrlCustomProperties(output.tokenUrlCustomProperties, context)
|
|
3466
|
-
: undefined,
|
|
3467
|
-
};
|
|
3468
|
-
};
|
|
3469
|
-
const de_OAuthProperties = (output, context) => {
|
|
3470
|
-
return {
|
|
3471
|
-
authCodeUrl: (0, smithy_client_1.expectString)(output.authCodeUrl),
|
|
3472
|
-
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3473
|
-
tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
|
|
3474
|
-
};
|
|
3475
|
-
};
|
|
3476
|
-
const de_OAuthScopeList = (output, context) => {
|
|
3477
|
-
const retVal = (output || [])
|
|
3478
|
-
.filter((e) => e != null)
|
|
3479
|
-
.map((entry) => {
|
|
3480
|
-
if (entry === null) {
|
|
3481
|
-
return null;
|
|
3482
|
-
}
|
|
3483
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3484
|
-
});
|
|
3485
|
-
return retVal;
|
|
3486
|
-
};
|
|
3487
|
-
const de_PardotConnectorProfileProperties = (output, context) => {
|
|
3488
|
-
return {
|
|
3489
|
-
businessUnitId: (0, smithy_client_1.expectString)(output.businessUnitId),
|
|
3490
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3491
|
-
isSandboxEnvironment: (0, smithy_client_1.expectBoolean)(output.isSandboxEnvironment),
|
|
3492
|
-
};
|
|
3493
|
-
};
|
|
3494
|
-
const de_PardotMetadata = (output, context) => {
|
|
3495
|
-
return {};
|
|
3496
|
-
};
|
|
3497
|
-
const de_PardotSourceProperties = (output, context) => {
|
|
3498
|
-
return {
|
|
3499
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3500
|
-
};
|
|
3501
|
-
};
|
|
3502
|
-
const de_PathPrefixHierarchy = (output, context) => {
|
|
3503
|
-
const retVal = (output || [])
|
|
3504
|
-
.filter((e) => e != null)
|
|
3505
|
-
.map((entry) => {
|
|
3506
|
-
if (entry === null) {
|
|
3507
|
-
return null;
|
|
3508
|
-
}
|
|
3509
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1873
|
+
return de_FlowDefinition(entry, context);
|
|
3510
1874
|
});
|
|
3511
1875
|
return retVal;
|
|
3512
1876
|
};
|
|
3513
|
-
const de_PrefixConfig = (output, context) => {
|
|
3514
|
-
return {
|
|
3515
|
-
pathPrefixHierarchy: output.pathPrefixHierarchy != null ? de_PathPrefixHierarchy(output.pathPrefixHierarchy, context) : undefined,
|
|
3516
|
-
prefixFormat: (0, smithy_client_1.expectString)(output.prefixFormat),
|
|
3517
|
-
prefixType: (0, smithy_client_1.expectString)(output.prefixType),
|
|
3518
|
-
};
|
|
3519
|
-
};
|
|
3520
|
-
const de_PrivateConnectionProvisioningState = (output, context) => {
|
|
3521
|
-
return {
|
|
3522
|
-
failureCause: (0, smithy_client_1.expectString)(output.failureCause),
|
|
3523
|
-
failureMessage: (0, smithy_client_1.expectString)(output.failureMessage),
|
|
3524
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3525
|
-
};
|
|
3526
|
-
};
|
|
3527
|
-
const de_ProfilePropertiesMap = (output, context) => {
|
|
3528
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3529
|
-
if (value === null) {
|
|
3530
|
-
return acc;
|
|
3531
|
-
}
|
|
3532
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3533
|
-
return acc;
|
|
3534
|
-
}, {});
|
|
3535
|
-
};
|
|
3536
1877
|
const de_Range = (output, context) => {
|
|
3537
|
-
return {
|
|
3538
|
-
maximum:
|
|
3539
|
-
minimum:
|
|
3540
|
-
};
|
|
3541
|
-
};
|
|
3542
|
-
const de_RedshiftConnectorProfileProperties = (output, context) => {
|
|
3543
|
-
return {
|
|
3544
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3545
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3546
|
-
clusterIdentifier: (0, smithy_client_1.expectString)(output.clusterIdentifier),
|
|
3547
|
-
dataApiRoleArn: (0, smithy_client_1.expectString)(output.dataApiRoleArn),
|
|
3548
|
-
databaseName: (0, smithy_client_1.expectString)(output.databaseName),
|
|
3549
|
-
databaseUrl: (0, smithy_client_1.expectString)(output.databaseUrl),
|
|
3550
|
-
isRedshiftServerless: (0, smithy_client_1.expectBoolean)(output.isRedshiftServerless),
|
|
3551
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3552
|
-
workgroupName: (0, smithy_client_1.expectString)(output.workgroupName),
|
|
3553
|
-
};
|
|
3554
|
-
};
|
|
3555
|
-
const de_RedshiftDestinationProperties = (output, context) => {
|
|
3556
|
-
return {
|
|
3557
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3558
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3559
|
-
intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
|
|
3560
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3561
|
-
};
|
|
3562
|
-
};
|
|
3563
|
-
const de_RedshiftMetadata = (output, context) => {
|
|
3564
|
-
return {};
|
|
3565
|
-
};
|
|
3566
|
-
const de_RegionList = (output, context) => {
|
|
3567
|
-
const retVal = (output || [])
|
|
3568
|
-
.filter((e) => e != null)
|
|
3569
|
-
.map((entry) => {
|
|
3570
|
-
if (entry === null) {
|
|
3571
|
-
return null;
|
|
3572
|
-
}
|
|
3573
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3574
|
-
});
|
|
3575
|
-
return retVal;
|
|
3576
|
-
};
|
|
3577
|
-
const de_RegistrationOutput = (output, context) => {
|
|
3578
|
-
return {
|
|
3579
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3580
|
-
result: (0, smithy_client_1.expectString)(output.result),
|
|
3581
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
3582
|
-
};
|
|
3583
|
-
};
|
|
3584
|
-
const de_S3DestinationProperties = (output, context) => {
|
|
3585
|
-
return {
|
|
3586
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3587
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3588
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig != null ? de_S3OutputFormatConfig(output.s3OutputFormatConfig, context) : undefined,
|
|
3589
|
-
};
|
|
3590
|
-
};
|
|
3591
|
-
const de_S3InputFormatConfig = (output, context) => {
|
|
3592
|
-
return {
|
|
3593
|
-
s3InputFileType: (0, smithy_client_1.expectString)(output.s3InputFileType),
|
|
3594
|
-
};
|
|
3595
|
-
};
|
|
3596
|
-
const de_S3Metadata = (output, context) => {
|
|
3597
|
-
return {};
|
|
3598
|
-
};
|
|
3599
|
-
const de_S3OutputFormatConfig = (output, context) => {
|
|
3600
|
-
return {
|
|
3601
|
-
aggregationConfig: output.aggregationConfig != null ? de_AggregationConfig(output.aggregationConfig, context) : undefined,
|
|
3602
|
-
fileType: (0, smithy_client_1.expectString)(output.fileType),
|
|
3603
|
-
prefixConfig: output.prefixConfig != null ? de_PrefixConfig(output.prefixConfig, context) : undefined,
|
|
3604
|
-
preserveSourceDataTyping: (0, smithy_client_1.expectBoolean)(output.preserveSourceDataTyping),
|
|
3605
|
-
};
|
|
3606
|
-
};
|
|
3607
|
-
const de_S3SourceProperties = (output, context) => {
|
|
3608
|
-
return {
|
|
3609
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3610
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3611
|
-
s3InputFormatConfig: output.s3InputFormatConfig != null ? de_S3InputFormatConfig(output.s3InputFormatConfig, context) : undefined,
|
|
3612
|
-
};
|
|
3613
|
-
};
|
|
3614
|
-
const de_SalesforceConnectorProfileProperties = (output, context) => {
|
|
3615
|
-
return {
|
|
3616
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3617
|
-
isSandboxEnvironment: (0, smithy_client_1.expectBoolean)(output.isSandboxEnvironment),
|
|
3618
|
-
usePrivateLinkForMetadataAndAuthorization: (0, smithy_client_1.expectBoolean)(output.usePrivateLinkForMetadataAndAuthorization),
|
|
3619
|
-
};
|
|
3620
|
-
};
|
|
3621
|
-
const de_SalesforceDataTransferApiList = (output, context) => {
|
|
3622
|
-
const retVal = (output || [])
|
|
3623
|
-
.filter((e) => e != null)
|
|
3624
|
-
.map((entry) => {
|
|
3625
|
-
if (entry === null) {
|
|
3626
|
-
return null;
|
|
3627
|
-
}
|
|
3628
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1878
|
+
return (0, smithy_client_1.take)(output, {
|
|
1879
|
+
maximum: smithy_client_1.limitedParseDouble,
|
|
1880
|
+
minimum: smithy_client_1.limitedParseDouble,
|
|
3629
1881
|
});
|
|
3630
|
-
return retVal;
|
|
3631
|
-
};
|
|
3632
|
-
const de_SalesforceDestinationProperties = (output, context) => {
|
|
3633
|
-
return {
|
|
3634
|
-
dataTransferApi: (0, smithy_client_1.expectString)(output.dataTransferApi),
|
|
3635
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3636
|
-
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3637
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3638
|
-
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
3639
|
-
};
|
|
3640
|
-
};
|
|
3641
|
-
const de_SalesforceMetadata = (output, context) => {
|
|
3642
|
-
return {
|
|
3643
|
-
dataTransferApis: output.dataTransferApis != null ? de_SalesforceDataTransferApiList(output.dataTransferApis, context) : undefined,
|
|
3644
|
-
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3645
|
-
};
|
|
3646
|
-
};
|
|
3647
|
-
const de_SalesforceSourceProperties = (output, context) => {
|
|
3648
|
-
return {
|
|
3649
|
-
dataTransferApi: (0, smithy_client_1.expectString)(output.dataTransferApi),
|
|
3650
|
-
enableDynamicFieldUpdate: (0, smithy_client_1.expectBoolean)(output.enableDynamicFieldUpdate),
|
|
3651
|
-
includeDeletedRecords: (0, smithy_client_1.expectBoolean)(output.includeDeletedRecords),
|
|
3652
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3653
|
-
};
|
|
3654
|
-
};
|
|
3655
|
-
const de_SAPODataConnectorProfileProperties = (output, context) => {
|
|
3656
|
-
return {
|
|
3657
|
-
applicationHostUrl: (0, smithy_client_1.expectString)(output.applicationHostUrl),
|
|
3658
|
-
applicationServicePath: (0, smithy_client_1.expectString)(output.applicationServicePath),
|
|
3659
|
-
clientNumber: (0, smithy_client_1.expectString)(output.clientNumber),
|
|
3660
|
-
logonLanguage: (0, smithy_client_1.expectString)(output.logonLanguage),
|
|
3661
|
-
oAuthProperties: output.oAuthProperties != null ? de_OAuthProperties(output.oAuthProperties, context) : undefined,
|
|
3662
|
-
portNumber: (0, smithy_client_1.expectInt32)(output.portNumber),
|
|
3663
|
-
privateLinkServiceName: (0, smithy_client_1.expectString)(output.privateLinkServiceName),
|
|
3664
|
-
};
|
|
3665
|
-
};
|
|
3666
|
-
const de_SAPODataDestinationProperties = (output, context) => {
|
|
3667
|
-
return {
|
|
3668
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3669
|
-
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3670
|
-
objectPath: (0, smithy_client_1.expectString)(output.objectPath),
|
|
3671
|
-
successResponseHandlingConfig: output.successResponseHandlingConfig != null
|
|
3672
|
-
? de_SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
|
|
3673
|
-
: undefined,
|
|
3674
|
-
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
3675
|
-
};
|
|
3676
|
-
};
|
|
3677
|
-
const de_SAPODataMetadata = (output, context) => {
|
|
3678
|
-
return {};
|
|
3679
|
-
};
|
|
3680
|
-
const de_SAPODataSourceProperties = (output, context) => {
|
|
3681
|
-
return {
|
|
3682
|
-
objectPath: (0, smithy_client_1.expectString)(output.objectPath),
|
|
3683
|
-
};
|
|
3684
1882
|
};
|
|
3685
1883
|
const de_ScheduledTriggerProperties = (output, context) => {
|
|
3686
|
-
return {
|
|
3687
|
-
dataPullMode:
|
|
3688
|
-
firstExecutionFrom:
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
scheduleExpression: (0, smithy_client_1.expectString)(output.scheduleExpression),
|
|
3696
|
-
scheduleOffset: (0, smithy_client_1.expectLong)(output.scheduleOffset),
|
|
3697
|
-
scheduleStartTime: output.scheduleStartTime != null
|
|
3698
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.scheduleStartTime)))
|
|
3699
|
-
: undefined,
|
|
3700
|
-
timezone: (0, smithy_client_1.expectString)(output.timezone),
|
|
3701
|
-
};
|
|
3702
|
-
};
|
|
3703
|
-
const de_SchedulingFrequencyTypeList = (output, context) => {
|
|
3704
|
-
const retVal = (output || [])
|
|
3705
|
-
.filter((e) => e != null)
|
|
3706
|
-
.map((entry) => {
|
|
3707
|
-
if (entry === null) {
|
|
3708
|
-
return null;
|
|
3709
|
-
}
|
|
3710
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3711
|
-
});
|
|
3712
|
-
return retVal;
|
|
3713
|
-
};
|
|
3714
|
-
const de_ServiceNowConnectorProfileProperties = (output, context) => {
|
|
3715
|
-
return {
|
|
3716
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3717
|
-
};
|
|
3718
|
-
};
|
|
3719
|
-
const de_ServiceNowMetadata = (output, context) => {
|
|
3720
|
-
return {};
|
|
3721
|
-
};
|
|
3722
|
-
const de_ServiceNowSourceProperties = (output, context) => {
|
|
3723
|
-
return {
|
|
3724
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3725
|
-
};
|
|
3726
|
-
};
|
|
3727
|
-
const de_SingularConnectorProfileProperties = (output, context) => {
|
|
3728
|
-
return {};
|
|
3729
|
-
};
|
|
3730
|
-
const de_SingularMetadata = (output, context) => {
|
|
3731
|
-
return {};
|
|
3732
|
-
};
|
|
3733
|
-
const de_SingularSourceProperties = (output, context) => {
|
|
3734
|
-
return {
|
|
3735
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3736
|
-
};
|
|
3737
|
-
};
|
|
3738
|
-
const de_SlackConnectorProfileProperties = (output, context) => {
|
|
3739
|
-
return {
|
|
3740
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3741
|
-
};
|
|
3742
|
-
};
|
|
3743
|
-
const de_SlackMetadata = (output, context) => {
|
|
3744
|
-
return {
|
|
3745
|
-
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3746
|
-
};
|
|
3747
|
-
};
|
|
3748
|
-
const de_SlackSourceProperties = (output, context) => {
|
|
3749
|
-
return {
|
|
3750
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3751
|
-
};
|
|
3752
|
-
};
|
|
3753
|
-
const de_SnowflakeConnectorProfileProperties = (output, context) => {
|
|
3754
|
-
return {
|
|
3755
|
-
accountName: (0, smithy_client_1.expectString)(output.accountName),
|
|
3756
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3757
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3758
|
-
privateLinkServiceName: (0, smithy_client_1.expectString)(output.privateLinkServiceName),
|
|
3759
|
-
region: (0, smithy_client_1.expectString)(output.region),
|
|
3760
|
-
stage: (0, smithy_client_1.expectString)(output.stage),
|
|
3761
|
-
warehouse: (0, smithy_client_1.expectString)(output.warehouse),
|
|
3762
|
-
};
|
|
3763
|
-
};
|
|
3764
|
-
const de_SnowflakeDestinationProperties = (output, context) => {
|
|
3765
|
-
return {
|
|
3766
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3767
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
3768
|
-
intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
|
|
3769
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3770
|
-
};
|
|
3771
|
-
};
|
|
3772
|
-
const de_SnowflakeMetadata = (output, context) => {
|
|
3773
|
-
return {
|
|
3774
|
-
supportedRegions: output.supportedRegions != null ? de_RegionList(output.supportedRegions, context) : undefined,
|
|
3775
|
-
};
|
|
3776
|
-
};
|
|
3777
|
-
const de_SourceConnectorProperties = (output, context) => {
|
|
3778
|
-
return {
|
|
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,
|
|
3796
|
-
};
|
|
3797
|
-
};
|
|
3798
|
-
const de_SourceFieldProperties = (output, context) => {
|
|
3799
|
-
return {
|
|
3800
|
-
isQueryable: (0, smithy_client_1.expectBoolean)(output.isQueryable),
|
|
3801
|
-
isRetrievable: (0, smithy_client_1.expectBoolean)(output.isRetrievable),
|
|
3802
|
-
isTimestampFieldForIncrementalQueries: (0, smithy_client_1.expectBoolean)(output.isTimestampFieldForIncrementalQueries),
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
const de_SourceFields = (output, context) => {
|
|
3806
|
-
const retVal = (output || [])
|
|
3807
|
-
.filter((e) => e != null)
|
|
3808
|
-
.map((entry) => {
|
|
3809
|
-
if (entry === null) {
|
|
3810
|
-
return null;
|
|
3811
|
-
}
|
|
3812
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3813
|
-
});
|
|
3814
|
-
return retVal;
|
|
3815
|
-
};
|
|
3816
|
-
const de_SourceFlowConfig = (output, context) => {
|
|
3817
|
-
return {
|
|
3818
|
-
apiVersion: (0, smithy_client_1.expectString)(output.apiVersion),
|
|
3819
|
-
connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
|
|
3820
|
-
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
3821
|
-
incrementalPullConfig: output.incrementalPullConfig != null
|
|
3822
|
-
? de_IncrementalPullConfig(output.incrementalPullConfig, context)
|
|
3823
|
-
: undefined,
|
|
3824
|
-
sourceConnectorProperties: output.sourceConnectorProperties != null
|
|
3825
|
-
? de_SourceConnectorProperties(output.sourceConnectorProperties, context)
|
|
3826
|
-
: undefined,
|
|
3827
|
-
};
|
|
3828
|
-
};
|
|
3829
|
-
const de_SuccessResponseHandlingConfig = (output, context) => {
|
|
3830
|
-
return {
|
|
3831
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3832
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3833
|
-
};
|
|
3834
|
-
};
|
|
3835
|
-
const de_SupportedApiVersionList = (output, context) => {
|
|
3836
|
-
const retVal = (output || [])
|
|
3837
|
-
.filter((e) => e != null)
|
|
3838
|
-
.map((entry) => {
|
|
3839
|
-
if (entry === null) {
|
|
3840
|
-
return null;
|
|
3841
|
-
}
|
|
3842
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1884
|
+
return (0, smithy_client_1.take)(output, {
|
|
1885
|
+
dataPullMode: smithy_client_1.expectString,
|
|
1886
|
+
firstExecutionFrom: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1887
|
+
flowErrorDeactivationThreshold: smithy_client_1.expectInt32,
|
|
1888
|
+
scheduleEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1889
|
+
scheduleExpression: smithy_client_1.expectString,
|
|
1890
|
+
scheduleOffset: smithy_client_1.expectLong,
|
|
1891
|
+
scheduleStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1892
|
+
timezone: smithy_client_1.expectString,
|
|
3843
1893
|
});
|
|
3844
|
-
return retVal;
|
|
3845
1894
|
};
|
|
3846
1895
|
const de_SupportedFieldTypeDetails = (output, context) => {
|
|
3847
|
-
return {
|
|
3848
|
-
v1:
|
|
3849
|
-
};
|
|
3850
|
-
};
|
|
3851
|
-
const de_SupportedOperatorList = (output, context) => {
|
|
3852
|
-
const retVal = (output || [])
|
|
3853
|
-
.filter((e) => e != null)
|
|
3854
|
-
.map((entry) => {
|
|
3855
|
-
if (entry === null) {
|
|
3856
|
-
return null;
|
|
3857
|
-
}
|
|
3858
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3859
|
-
});
|
|
3860
|
-
return retVal;
|
|
3861
|
-
};
|
|
3862
|
-
const de_SupportedValueList = (output, context) => {
|
|
3863
|
-
const retVal = (output || [])
|
|
3864
|
-
.filter((e) => e != null)
|
|
3865
|
-
.map((entry) => {
|
|
3866
|
-
if (entry === null) {
|
|
3867
|
-
return null;
|
|
3868
|
-
}
|
|
3869
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3870
|
-
});
|
|
3871
|
-
return retVal;
|
|
3872
|
-
};
|
|
3873
|
-
const de_SupportedWriteOperationList = (output, context) => {
|
|
3874
|
-
const retVal = (output || [])
|
|
3875
|
-
.filter((e) => e != null)
|
|
3876
|
-
.map((entry) => {
|
|
3877
|
-
if (entry === null) {
|
|
3878
|
-
return null;
|
|
3879
|
-
}
|
|
3880
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3881
|
-
});
|
|
3882
|
-
return retVal;
|
|
3883
|
-
};
|
|
3884
|
-
const de_TagMap = (output, context) => {
|
|
3885
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3886
|
-
if (value === null) {
|
|
3887
|
-
return acc;
|
|
3888
|
-
}
|
|
3889
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3890
|
-
return acc;
|
|
3891
|
-
}, {});
|
|
3892
|
-
};
|
|
3893
|
-
const de_Task = (output, context) => {
|
|
3894
|
-
return {
|
|
3895
|
-
connectorOperator: output.connectorOperator != null ? de_ConnectorOperator(output.connectorOperator, context) : undefined,
|
|
3896
|
-
destinationField: (0, smithy_client_1.expectString)(output.destinationField),
|
|
3897
|
-
sourceFields: output.sourceFields != null ? de_SourceFields(output.sourceFields, context) : undefined,
|
|
3898
|
-
taskProperties: output.taskProperties != null ? de_TaskPropertiesMap(output.taskProperties, context) : undefined,
|
|
3899
|
-
taskType: (0, smithy_client_1.expectString)(output.taskType),
|
|
3900
|
-
};
|
|
3901
|
-
};
|
|
3902
|
-
const de_TaskPropertiesMap = (output, context) => {
|
|
3903
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3904
|
-
if (value === null) {
|
|
3905
|
-
return acc;
|
|
3906
|
-
}
|
|
3907
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3908
|
-
return acc;
|
|
3909
|
-
}, {});
|
|
3910
|
-
};
|
|
3911
|
-
const de_Tasks = (output, context) => {
|
|
3912
|
-
const retVal = (output || [])
|
|
3913
|
-
.filter((e) => e != null)
|
|
3914
|
-
.map((entry) => {
|
|
3915
|
-
if (entry === null) {
|
|
3916
|
-
return null;
|
|
3917
|
-
}
|
|
3918
|
-
return de_Task(entry, context);
|
|
3919
|
-
});
|
|
3920
|
-
return retVal;
|
|
3921
|
-
};
|
|
3922
|
-
const de_TokenUrlCustomProperties = (output, context) => {
|
|
3923
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3924
|
-
if (value === null) {
|
|
3925
|
-
return acc;
|
|
3926
|
-
}
|
|
3927
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3928
|
-
return acc;
|
|
3929
|
-
}, {});
|
|
3930
|
-
};
|
|
3931
|
-
const de_TokenUrlList = (output, context) => {
|
|
3932
|
-
const retVal = (output || [])
|
|
3933
|
-
.filter((e) => e != null)
|
|
3934
|
-
.map((entry) => {
|
|
3935
|
-
if (entry === null) {
|
|
3936
|
-
return null;
|
|
3937
|
-
}
|
|
3938
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1896
|
+
return (0, smithy_client_1.take)(output, {
|
|
1897
|
+
v1: (_) => de_FieldTypeDetails(_, context),
|
|
3939
1898
|
});
|
|
3940
|
-
return retVal;
|
|
3941
|
-
};
|
|
3942
|
-
const de_TrendmicroConnectorProfileProperties = (output, context) => {
|
|
3943
|
-
return {};
|
|
3944
|
-
};
|
|
3945
|
-
const de_TrendmicroMetadata = (output, context) => {
|
|
3946
|
-
return {};
|
|
3947
|
-
};
|
|
3948
|
-
const de_TrendmicroSourceProperties = (output, context) => {
|
|
3949
|
-
return {
|
|
3950
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
3951
|
-
};
|
|
3952
1899
|
};
|
|
3953
1900
|
const de_TriggerConfig = (output, context) => {
|
|
3954
|
-
return {
|
|
3955
|
-
triggerProperties:
|
|
3956
|
-
triggerType:
|
|
3957
|
-
};
|
|
1901
|
+
return (0, smithy_client_1.take)(output, {
|
|
1902
|
+
triggerProperties: (_) => de_TriggerProperties(_, context),
|
|
1903
|
+
triggerType: smithy_client_1.expectString,
|
|
1904
|
+
});
|
|
3958
1905
|
};
|
|
3959
1906
|
const de_TriggerProperties = (output, context) => {
|
|
3960
|
-
return {
|
|
3961
|
-
Scheduled:
|
|
3962
|
-
};
|
|
3963
|
-
};
|
|
3964
|
-
const de_TriggerTypeList = (output, context) => {
|
|
3965
|
-
const retVal = (output || [])
|
|
3966
|
-
.filter((e) => e != null)
|
|
3967
|
-
.map((entry) => {
|
|
3968
|
-
if (entry === null) {
|
|
3969
|
-
return null;
|
|
3970
|
-
}
|
|
3971
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1907
|
+
return (0, smithy_client_1.take)(output, {
|
|
1908
|
+
Scheduled: (_) => de_ScheduledTriggerProperties(_, context),
|
|
3972
1909
|
});
|
|
3973
|
-
return retVal;
|
|
3974
|
-
};
|
|
3975
|
-
const de_UpsolverDestinationProperties = (output, context) => {
|
|
3976
|
-
return {
|
|
3977
|
-
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
3978
|
-
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3979
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
3980
|
-
? de_UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
3981
|
-
: undefined,
|
|
3982
|
-
};
|
|
3983
|
-
};
|
|
3984
|
-
const de_UpsolverMetadata = (output, context) => {
|
|
3985
|
-
return {};
|
|
3986
|
-
};
|
|
3987
|
-
const de_UpsolverS3OutputFormatConfig = (output, context) => {
|
|
3988
|
-
return {
|
|
3989
|
-
aggregationConfig: output.aggregationConfig != null ? de_AggregationConfig(output.aggregationConfig, context) : undefined,
|
|
3990
|
-
fileType: (0, smithy_client_1.expectString)(output.fileType),
|
|
3991
|
-
prefixConfig: output.prefixConfig != null ? de_PrefixConfig(output.prefixConfig, context) : undefined,
|
|
3992
|
-
};
|
|
3993
|
-
};
|
|
3994
|
-
const de_VeevaConnectorProfileProperties = (output, context) => {
|
|
3995
|
-
return {
|
|
3996
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
3997
|
-
};
|
|
3998
|
-
};
|
|
3999
|
-
const de_VeevaMetadata = (output, context) => {
|
|
4000
|
-
return {};
|
|
4001
|
-
};
|
|
4002
|
-
const de_VeevaSourceProperties = (output, context) => {
|
|
4003
|
-
return {
|
|
4004
|
-
documentType: (0, smithy_client_1.expectString)(output.documentType),
|
|
4005
|
-
includeAllVersions: (0, smithy_client_1.expectBoolean)(output.includeAllVersions),
|
|
4006
|
-
includeRenditions: (0, smithy_client_1.expectBoolean)(output.includeRenditions),
|
|
4007
|
-
includeSourceFiles: (0, smithy_client_1.expectBoolean)(output.includeSourceFiles),
|
|
4008
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
4009
|
-
};
|
|
4010
|
-
};
|
|
4011
|
-
const de_ZendeskConnectorProfileProperties = (output, context) => {
|
|
4012
|
-
return {
|
|
4013
|
-
instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
|
|
4014
|
-
};
|
|
4015
|
-
};
|
|
4016
|
-
const de_ZendeskDestinationProperties = (output, context) => {
|
|
4017
|
-
return {
|
|
4018
|
-
errorHandlingConfig: output.errorHandlingConfig != null ? de_ErrorHandlingConfig(output.errorHandlingConfig, context) : undefined,
|
|
4019
|
-
idFieldNames: output.idFieldNames != null ? de_IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4020
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
4021
|
-
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
4022
|
-
};
|
|
4023
|
-
};
|
|
4024
|
-
const de_ZendeskMetadata = (output, context) => {
|
|
4025
|
-
return {
|
|
4026
|
-
oAuthScopes: output.oAuthScopes != null ? de_OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4027
|
-
};
|
|
4028
|
-
};
|
|
4029
|
-
const de_ZendeskSourceProperties = (output, context) => {
|
|
4030
|
-
return {
|
|
4031
|
-
object: (0, smithy_client_1.expectString)(output.object),
|
|
4032
|
-
};
|
|
4033
1910
|
};
|
|
4034
1911
|
const deserializeMetadata = (output) => ({
|
|
4035
1912
|
httpStatusCode: output.statusCode,
|