@aws-sdk/client-appflow 3.121.0 → 3.127.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +534 -815
- package/dist-es/protocols/Aws_restJson1.js +377 -658
- package/package.json +26 -26
|
@@ -14,13 +14,9 @@ export var serializeAws_restJson1CreateConnectorProfileCommand = function (input
|
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
16
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/create-connector-profile";
|
|
17
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.connectionMode
|
|
18
|
-
input.connectionMode !== null && { connectionMode: input.connectionMode })), (input.connectorLabel !== undefined &&
|
|
19
|
-
input.connectorLabel !== null && { connectorLabel: input.connectorLabel })), (input.connectorProfileConfig !== undefined &&
|
|
20
|
-
input.connectorProfileConfig !== null && {
|
|
17
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.connectionMode != null && { connectionMode: input.connectionMode })), (input.connectorLabel != null && { connectorLabel: input.connectorLabel })), (input.connectorProfileConfig != null && {
|
|
21
18
|
connectorProfileConfig: serializeAws_restJson1ConnectorProfileConfig(input.connectorProfileConfig, context),
|
|
22
|
-
})), (input.connectorProfileName
|
|
23
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })), (input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType })), (input.kmsArn !== undefined && input.kmsArn !== null && { kmsArn: input.kmsArn })));
|
|
19
|
+
})), (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })), (input.connectorType != null && { connectorType: input.connectorType })), (input.kmsArn != null && { kmsArn: input.kmsArn })));
|
|
24
20
|
return [2, new __HttpRequest({
|
|
25
21
|
protocol: protocol,
|
|
26
22
|
hostname: hostname,
|
|
@@ -44,15 +40,11 @@ export var serializeAws_restJson1CreateFlowCommand = function (input, context) {
|
|
|
44
40
|
"content-type": "application/json",
|
|
45
41
|
};
|
|
46
42
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/create-flow";
|
|
47
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
48
|
-
input.destinationFlowConfigList !== null && {
|
|
43
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.destinationFlowConfigList != null && {
|
|
49
44
|
destinationFlowConfigList: serializeAws_restJson1DestinationFlowConfigList(input.destinationFlowConfigList, context),
|
|
50
|
-
})), (input.flowName
|
|
51
|
-
input.sourceFlowConfig !== null && {
|
|
45
|
+
})), (input.flowName != null && { flowName: input.flowName })), (input.kmsArn != null && { kmsArn: input.kmsArn })), (input.sourceFlowConfig != null && {
|
|
52
46
|
sourceFlowConfig: serializeAws_restJson1SourceFlowConfig(input.sourceFlowConfig, context),
|
|
53
|
-
})), (input.tags
|
|
54
|
-
input.tasks !== null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) })), (input.triggerConfig !== undefined &&
|
|
55
|
-
input.triggerConfig !== null && {
|
|
47
|
+
})), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.tasks != null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) })), (input.triggerConfig != null && {
|
|
56
48
|
triggerConfig: serializeAws_restJson1TriggerConfig(input.triggerConfig, context),
|
|
57
49
|
})));
|
|
58
50
|
return [2, new __HttpRequest({
|
|
@@ -78,8 +70,7 @@ export var serializeAws_restJson1DeleteConnectorProfileCommand = function (input
|
|
|
78
70
|
"content-type": "application/json",
|
|
79
71
|
};
|
|
80
72
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-connector-profile";
|
|
81
|
-
body = JSON.stringify(__assign(__assign({}, (input.connectorProfileName
|
|
82
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })), (input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete })));
|
|
73
|
+
body = JSON.stringify(__assign(__assign({}, (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })), (input.forceDelete != null && { forceDelete: input.forceDelete })));
|
|
83
74
|
return [2, new __HttpRequest({
|
|
84
75
|
protocol: protocol,
|
|
85
76
|
hostname: hostname,
|
|
@@ -103,7 +94,7 @@ export var serializeAws_restJson1DeleteFlowCommand = function (input, context) {
|
|
|
103
94
|
"content-type": "application/json",
|
|
104
95
|
};
|
|
105
96
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-flow";
|
|
106
|
-
body = JSON.stringify(__assign(__assign({}, (input.flowName
|
|
97
|
+
body = JSON.stringify(__assign(__assign({}, (input.flowName != null && { flowName: input.flowName })), (input.forceDelete != null && { forceDelete: input.forceDelete })));
|
|
107
98
|
return [2, new __HttpRequest({
|
|
108
99
|
protocol: protocol,
|
|
109
100
|
hostname: hostname,
|
|
@@ -127,8 +118,7 @@ export var serializeAws_restJson1DescribeConnectorCommand = function (input, con
|
|
|
127
118
|
"content-type": "application/json",
|
|
128
119
|
};
|
|
129
120
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-connector";
|
|
130
|
-
body = JSON.stringify(__assign(__assign({}, (input.connectorLabel
|
|
131
|
-
input.connectorLabel !== null && { connectorLabel: input.connectorLabel })), (input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType })));
|
|
121
|
+
body = JSON.stringify(__assign(__assign({}, (input.connectorLabel != null && { connectorLabel: input.connectorLabel })), (input.connectorType != null && { connectorType: input.connectorType })));
|
|
132
122
|
return [2, new __HttpRequest({
|
|
133
123
|
protocol: protocol,
|
|
134
124
|
hostname: hostname,
|
|
@@ -152,9 +142,7 @@ export var serializeAws_restJson1DescribeConnectorEntityCommand = function (inpu
|
|
|
152
142
|
"content-type": "application/json",
|
|
153
143
|
};
|
|
154
144
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-connector-entity";
|
|
155
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.apiVersion
|
|
156
|
-
input.connectorEntityName !== null && { connectorEntityName: input.connectorEntityName })), (input.connectorProfileName !== undefined &&
|
|
157
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })), (input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType })));
|
|
145
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.apiVersion != null && { apiVersion: input.apiVersion })), (input.connectorEntityName != null && { connectorEntityName: input.connectorEntityName })), (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })), (input.connectorType != null && { connectorType: input.connectorType })));
|
|
158
146
|
return [2, new __HttpRequest({
|
|
159
147
|
protocol: protocol,
|
|
160
148
|
hostname: hostname,
|
|
@@ -178,11 +166,9 @@ export var serializeAws_restJson1DescribeConnectorProfilesCommand = function (in
|
|
|
178
166
|
"content-type": "application/json",
|
|
179
167
|
};
|
|
180
168
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-connector-profiles";
|
|
181
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.connectorLabel
|
|
182
|
-
input.connectorLabel !== null && { connectorLabel: input.connectorLabel })), (input.connectorProfileNames !== undefined &&
|
|
183
|
-
input.connectorProfileNames !== null && {
|
|
169
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.connectorLabel != null && { connectorLabel: input.connectorLabel })), (input.connectorProfileNames != null && {
|
|
184
170
|
connectorProfileNames: serializeAws_restJson1ConnectorProfileNameList(input.connectorProfileNames, context),
|
|
185
|
-
})), (input.connectorType
|
|
171
|
+
})), (input.connectorType != null && { connectorType: input.connectorType })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })));
|
|
186
172
|
return [2, new __HttpRequest({
|
|
187
173
|
protocol: protocol,
|
|
188
174
|
hostname: hostname,
|
|
@@ -206,10 +192,9 @@ export var serializeAws_restJson1DescribeConnectorsCommand = function (input, co
|
|
|
206
192
|
"content-type": "application/json",
|
|
207
193
|
};
|
|
208
194
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-connectors";
|
|
209
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.connectorTypes
|
|
210
|
-
input.connectorTypes !== null && {
|
|
195
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.connectorTypes != null && {
|
|
211
196
|
connectorTypes: serializeAws_restJson1ConnectorTypeList(input.connectorTypes, context),
|
|
212
|
-
})), (input.maxResults
|
|
197
|
+
})), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })));
|
|
213
198
|
return [2, new __HttpRequest({
|
|
214
199
|
protocol: protocol,
|
|
215
200
|
hostname: hostname,
|
|
@@ -233,7 +218,7 @@ export var serializeAws_restJson1DescribeFlowCommand = function (input, context)
|
|
|
233
218
|
"content-type": "application/json",
|
|
234
219
|
};
|
|
235
220
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-flow";
|
|
236
|
-
body = JSON.stringify(__assign({}, (input.flowName
|
|
221
|
+
body = JSON.stringify(__assign({}, (input.flowName != null && { flowName: input.flowName })));
|
|
237
222
|
return [2, new __HttpRequest({
|
|
238
223
|
protocol: protocol,
|
|
239
224
|
hostname: hostname,
|
|
@@ -257,7 +242,7 @@ export var serializeAws_restJson1DescribeFlowExecutionRecordsCommand = function
|
|
|
257
242
|
"content-type": "application/json",
|
|
258
243
|
};
|
|
259
244
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-flow-execution-records";
|
|
260
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.flowName
|
|
245
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.flowName != null && { flowName: input.flowName })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })));
|
|
261
246
|
return [2, new __HttpRequest({
|
|
262
247
|
protocol: protocol,
|
|
263
248
|
hostname: hostname,
|
|
@@ -281,8 +266,7 @@ export var serializeAws_restJson1ListConnectorEntitiesCommand = function (input,
|
|
|
281
266
|
"content-type": "application/json",
|
|
282
267
|
};
|
|
283
268
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-connector-entities";
|
|
284
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.apiVersion
|
|
285
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })), (input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType })), (input.entitiesPath !== undefined && input.entitiesPath !== null && { entitiesPath: input.entitiesPath })));
|
|
269
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.apiVersion != null && { apiVersion: input.apiVersion })), (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })), (input.connectorType != null && { connectorType: input.connectorType })), (input.entitiesPath != null && { entitiesPath: input.entitiesPath })));
|
|
286
270
|
return [2, new __HttpRequest({
|
|
287
271
|
protocol: protocol,
|
|
288
272
|
hostname: hostname,
|
|
@@ -306,7 +290,7 @@ export var serializeAws_restJson1ListConnectorsCommand = function (input, contex
|
|
|
306
290
|
"content-type": "application/json",
|
|
307
291
|
};
|
|
308
292
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-connectors";
|
|
309
|
-
body = JSON.stringify(__assign(__assign({}, (input.maxResults
|
|
293
|
+
body = JSON.stringify(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })));
|
|
310
294
|
return [2, new __HttpRequest({
|
|
311
295
|
protocol: protocol,
|
|
312
296
|
hostname: hostname,
|
|
@@ -330,7 +314,7 @@ export var serializeAws_restJson1ListFlowsCommand = function (input, context) {
|
|
|
330
314
|
"content-type": "application/json",
|
|
331
315
|
};
|
|
332
316
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-flows";
|
|
333
|
-
body = JSON.stringify(__assign(__assign({}, (input.maxResults
|
|
317
|
+
body = JSON.stringify(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })));
|
|
334
318
|
return [2, new __HttpRequest({
|
|
335
319
|
protocol: protocol,
|
|
336
320
|
hostname: hostname,
|
|
@@ -385,12 +369,9 @@ export var serializeAws_restJson1RegisterConnectorCommand = function (input, con
|
|
|
385
369
|
"content-type": "application/json",
|
|
386
370
|
};
|
|
387
371
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/register-connector";
|
|
388
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.connectorLabel
|
|
389
|
-
input.connectorLabel !== null && { connectorLabel: input.connectorLabel })), (input.connectorProvisioningConfig !== undefined &&
|
|
390
|
-
input.connectorProvisioningConfig !== null && {
|
|
372
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.connectorLabel != null && { connectorLabel: input.connectorLabel })), (input.connectorProvisioningConfig != null && {
|
|
391
373
|
connectorProvisioningConfig: serializeAws_restJson1ConnectorProvisioningConfig(input.connectorProvisioningConfig, context),
|
|
392
|
-
})), (input.connectorProvisioningType
|
|
393
|
-
input.connectorProvisioningType !== null && { connectorProvisioningType: input.connectorProvisioningType })), (input.description !== undefined && input.description !== null && { description: input.description })));
|
|
374
|
+
})), (input.connectorProvisioningType != null && { connectorProvisioningType: input.connectorProvisioningType })), (input.description != null && { description: input.description })));
|
|
394
375
|
return [2, new __HttpRequest({
|
|
395
376
|
protocol: protocol,
|
|
396
377
|
hostname: hostname,
|
|
@@ -414,7 +395,7 @@ export var serializeAws_restJson1StartFlowCommand = function (input, context) {
|
|
|
414
395
|
"content-type": "application/json",
|
|
415
396
|
};
|
|
416
397
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/start-flow";
|
|
417
|
-
body = JSON.stringify(__assign({}, (input.flowName
|
|
398
|
+
body = JSON.stringify(__assign({}, (input.flowName != null && { flowName: input.flowName })));
|
|
418
399
|
return [2, new __HttpRequest({
|
|
419
400
|
protocol: protocol,
|
|
420
401
|
hostname: hostname,
|
|
@@ -438,7 +419,7 @@ export var serializeAws_restJson1StopFlowCommand = function (input, context) { r
|
|
|
438
419
|
"content-type": "application/json",
|
|
439
420
|
};
|
|
440
421
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/stop-flow";
|
|
441
|
-
body = JSON.stringify(__assign({}, (input.flowName
|
|
422
|
+
body = JSON.stringify(__assign({}, (input.flowName != null && { flowName: input.flowName })));
|
|
442
423
|
return [2, new __HttpRequest({
|
|
443
424
|
protocol: protocol,
|
|
444
425
|
hostname: hostname,
|
|
@@ -472,7 +453,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
472
453
|
else {
|
|
473
454
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
474
455
|
}
|
|
475
|
-
body = JSON.stringify(__assign({}, (input.tags
|
|
456
|
+
body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
|
|
476
457
|
return [2, new __HttpRequest({
|
|
477
458
|
protocol: protocol,
|
|
478
459
|
hostname: hostname,
|
|
@@ -496,8 +477,7 @@ export var serializeAws_restJson1UnregisterConnectorCommand = function (input, c
|
|
|
496
477
|
"content-type": "application/json",
|
|
497
478
|
};
|
|
498
479
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/unregister-connector";
|
|
499
|
-
body = JSON.stringify(__assign(__assign({}, (input.connectorLabel
|
|
500
|
-
input.connectorLabel !== null && { connectorLabel: input.connectorLabel })), (input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete })));
|
|
480
|
+
body = JSON.stringify(__assign(__assign({}, (input.connectorLabel != null && { connectorLabel: input.connectorLabel })), (input.forceDelete != null && { forceDelete: input.forceDelete })));
|
|
501
481
|
return [2, new __HttpRequest({
|
|
502
482
|
protocol: protocol,
|
|
503
483
|
hostname: hostname,
|
|
@@ -554,12 +534,9 @@ export var serializeAws_restJson1UpdateConnectorProfileCommand = function (input
|
|
|
554
534
|
"content-type": "application/json",
|
|
555
535
|
};
|
|
556
536
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/update-connector-profile";
|
|
557
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.connectionMode
|
|
558
|
-
input.connectionMode !== null && { connectionMode: input.connectionMode })), (input.connectorProfileConfig !== undefined &&
|
|
559
|
-
input.connectorProfileConfig !== null && {
|
|
537
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.connectionMode != null && { connectionMode: input.connectionMode })), (input.connectorProfileConfig != null && {
|
|
560
538
|
connectorProfileConfig: serializeAws_restJson1ConnectorProfileConfig(input.connectorProfileConfig, context),
|
|
561
|
-
})), (input.connectorProfileName
|
|
562
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })));
|
|
539
|
+
})), (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })));
|
|
563
540
|
return [2, new __HttpRequest({
|
|
564
541
|
protocol: protocol,
|
|
565
542
|
hostname: hostname,
|
|
@@ -583,15 +560,11 @@ export var serializeAws_restJson1UpdateFlowCommand = function (input, context) {
|
|
|
583
560
|
"content-type": "application/json",
|
|
584
561
|
};
|
|
585
562
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/update-flow";
|
|
586
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
587
|
-
input.destinationFlowConfigList !== null && {
|
|
563
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.destinationFlowConfigList != null && {
|
|
588
564
|
destinationFlowConfigList: serializeAws_restJson1DestinationFlowConfigList(input.destinationFlowConfigList, context),
|
|
589
|
-
})), (input.flowName
|
|
590
|
-
input.sourceFlowConfig !== null && {
|
|
565
|
+
})), (input.flowName != null && { flowName: input.flowName })), (input.sourceFlowConfig != null && {
|
|
591
566
|
sourceFlowConfig: serializeAws_restJson1SourceFlowConfig(input.sourceFlowConfig, context),
|
|
592
|
-
})), (input.tasks
|
|
593
|
-
input.tasks !== null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) })), (input.triggerConfig !== undefined &&
|
|
594
|
-
input.triggerConfig !== null && {
|
|
567
|
+
})), (input.tasks != null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) })), (input.triggerConfig != null && {
|
|
595
568
|
triggerConfig: serializeAws_restJson1TriggerConfig(input.triggerConfig, context),
|
|
596
569
|
})));
|
|
597
570
|
return [2, new __HttpRequest({
|
|
@@ -2303,91 +2276,68 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
|
|
|
2303
2276
|
});
|
|
2304
2277
|
}); };
|
|
2305
2278
|
var serializeAws_restJson1AggregationConfig = function (input, context) {
|
|
2306
|
-
return __assign({}, (input.aggregationType
|
|
2307
|
-
input.aggregationType !== null && { aggregationType: input.aggregationType }));
|
|
2279
|
+
return __assign({}, (input.aggregationType != null && { aggregationType: input.aggregationType }));
|
|
2308
2280
|
};
|
|
2309
2281
|
var serializeAws_restJson1AmplitudeConnectorProfileCredentials = function (input, context) {
|
|
2310
|
-
return __assign(__assign({}, (input.apiKey
|
|
2282
|
+
return __assign(__assign({}, (input.apiKey != null && { apiKey: input.apiKey })), (input.secretKey != null && { secretKey: input.secretKey }));
|
|
2311
2283
|
};
|
|
2312
2284
|
var serializeAws_restJson1AmplitudeConnectorProfileProperties = function (input, context) {
|
|
2313
2285
|
return {};
|
|
2314
2286
|
};
|
|
2315
2287
|
var serializeAws_restJson1AmplitudeSourceProperties = function (input, context) {
|
|
2316
|
-
return __assign({}, (input.object
|
|
2288
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2317
2289
|
};
|
|
2318
2290
|
var serializeAws_restJson1ApiKeyCredentials = function (input, context) {
|
|
2319
|
-
return __assign(__assign({}, (input.apiKey
|
|
2291
|
+
return __assign(__assign({}, (input.apiKey != null && { apiKey: input.apiKey })), (input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }));
|
|
2320
2292
|
};
|
|
2321
2293
|
var serializeAws_restJson1BasicAuthCredentials = function (input, context) {
|
|
2322
|
-
return __assign(__assign({}, (input.password
|
|
2294
|
+
return __assign(__assign({}, (input.password != null && { password: input.password })), (input.username != null && { username: input.username }));
|
|
2323
2295
|
};
|
|
2324
2296
|
var serializeAws_restJson1ConnectorOAuthRequest = function (input, context) {
|
|
2325
|
-
return __assign(__assign({}, (input.authCode
|
|
2297
|
+
return __assign(__assign({}, (input.authCode != null && { authCode: input.authCode })), (input.redirectUri != null && { redirectUri: input.redirectUri }));
|
|
2326
2298
|
};
|
|
2327
2299
|
var serializeAws_restJson1ConnectorOperator = function (input, context) {
|
|
2328
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude
|
|
2329
|
-
input.CustomConnector !== null && { CustomConnector: input.CustomConnector })), (input.Datadog !== undefined && input.Datadog !== null && { Datadog: input.Datadog })), (input.Dynatrace !== undefined && input.Dynatrace !== null && { Dynatrace: input.Dynatrace })), (input.GoogleAnalytics !== undefined &&
|
|
2330
|
-
input.GoogleAnalytics !== null && { GoogleAnalytics: input.GoogleAnalytics })), (input.InforNexus !== undefined && input.InforNexus !== null && { InforNexus: input.InforNexus })), (input.Marketo !== undefined && input.Marketo !== null && { Marketo: input.Marketo })), (input.S3 !== undefined && input.S3 !== null && { S3: input.S3 })), (input.SAPOData !== undefined && input.SAPOData !== null && { SAPOData: input.SAPOData })), (input.Salesforce !== undefined && input.Salesforce !== null && { Salesforce: input.Salesforce })), (input.ServiceNow !== undefined && input.ServiceNow !== null && { ServiceNow: input.ServiceNow })), (input.Singular !== undefined && input.Singular !== null && { Singular: input.Singular })), (input.Slack !== undefined && input.Slack !== null && { Slack: input.Slack })), (input.Trendmicro !== undefined && input.Trendmicro !== null && { Trendmicro: input.Trendmicro })), (input.Veeva !== undefined && input.Veeva !== null && { Veeva: input.Veeva })), (input.Zendesk !== undefined && input.Zendesk !== null && { Zendesk: input.Zendesk }));
|
|
2300
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude != null && { Amplitude: input.Amplitude })), (input.CustomConnector != null && { CustomConnector: input.CustomConnector })), (input.Datadog != null && { Datadog: input.Datadog })), (input.Dynatrace != null && { Dynatrace: input.Dynatrace })), (input.GoogleAnalytics != null && { GoogleAnalytics: input.GoogleAnalytics })), (input.InforNexus != null && { InforNexus: input.InforNexus })), (input.Marketo != null && { Marketo: input.Marketo })), (input.S3 != null && { S3: input.S3 })), (input.SAPOData != null && { SAPOData: input.SAPOData })), (input.Salesforce != null && { Salesforce: input.Salesforce })), (input.ServiceNow != null && { ServiceNow: input.ServiceNow })), (input.Singular != null && { Singular: input.Singular })), (input.Slack != null && { Slack: input.Slack })), (input.Trendmicro != null && { Trendmicro: input.Trendmicro })), (input.Veeva != null && { Veeva: input.Veeva })), (input.Zendesk != null && { Zendesk: input.Zendesk }));
|
|
2331
2301
|
};
|
|
2332
2302
|
var serializeAws_restJson1ConnectorProfileConfig = function (input, context) {
|
|
2333
|
-
return __assign(__assign({}, (input.connectorProfileCredentials
|
|
2334
|
-
input.connectorProfileCredentials !== null && {
|
|
2303
|
+
return __assign(__assign({}, (input.connectorProfileCredentials != null && {
|
|
2335
2304
|
connectorProfileCredentials: serializeAws_restJson1ConnectorProfileCredentials(input.connectorProfileCredentials, context),
|
|
2336
|
-
})), (input.connectorProfileProperties
|
|
2337
|
-
input.connectorProfileProperties !== null && {
|
|
2305
|
+
})), (input.connectorProfileProperties != null && {
|
|
2338
2306
|
connectorProfileProperties: serializeAws_restJson1ConnectorProfileProperties(input.connectorProfileProperties, context),
|
|
2339
2307
|
}));
|
|
2340
2308
|
};
|
|
2341
2309
|
var serializeAws_restJson1ConnectorProfileCredentials = function (input, context) {
|
|
2342
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude
|
|
2343
|
-
input.Amplitude !== null && {
|
|
2310
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude != null && {
|
|
2344
2311
|
Amplitude: serializeAws_restJson1AmplitudeConnectorProfileCredentials(input.Amplitude, context),
|
|
2345
|
-
})), (input.CustomConnector
|
|
2346
|
-
input.CustomConnector !== null && {
|
|
2312
|
+
})), (input.CustomConnector != null && {
|
|
2347
2313
|
CustomConnector: serializeAws_restJson1CustomConnectorProfileCredentials(input.CustomConnector, context),
|
|
2348
|
-
})), (input.Datadog
|
|
2349
|
-
input.Datadog !== null && {
|
|
2314
|
+
})), (input.Datadog != null && {
|
|
2350
2315
|
Datadog: serializeAws_restJson1DatadogConnectorProfileCredentials(input.Datadog, context),
|
|
2351
|
-
})), (input.Dynatrace
|
|
2352
|
-
input.Dynatrace !== null && {
|
|
2316
|
+
})), (input.Dynatrace != null && {
|
|
2353
2317
|
Dynatrace: serializeAws_restJson1DynatraceConnectorProfileCredentials(input.Dynatrace, context),
|
|
2354
|
-
})), (input.GoogleAnalytics
|
|
2355
|
-
input.GoogleAnalytics !== null && {
|
|
2318
|
+
})), (input.GoogleAnalytics != null && {
|
|
2356
2319
|
GoogleAnalytics: serializeAws_restJson1GoogleAnalyticsConnectorProfileCredentials(input.GoogleAnalytics, context),
|
|
2357
|
-
})), (input.Honeycode
|
|
2358
|
-
input.Honeycode !== null && {
|
|
2320
|
+
})), (input.Honeycode != null && {
|
|
2359
2321
|
Honeycode: serializeAws_restJson1HoneycodeConnectorProfileCredentials(input.Honeycode, context),
|
|
2360
|
-
})), (input.InforNexus
|
|
2361
|
-
input.InforNexus !== null && {
|
|
2322
|
+
})), (input.InforNexus != null && {
|
|
2362
2323
|
InforNexus: serializeAws_restJson1InforNexusConnectorProfileCredentials(input.InforNexus, context),
|
|
2363
|
-
})), (input.Marketo
|
|
2364
|
-
input.Marketo !== null && {
|
|
2324
|
+
})), (input.Marketo != null && {
|
|
2365
2325
|
Marketo: serializeAws_restJson1MarketoConnectorProfileCredentials(input.Marketo, context),
|
|
2366
|
-
})), (input.Redshift
|
|
2367
|
-
input.Redshift !== null && {
|
|
2326
|
+
})), (input.Redshift != null && {
|
|
2368
2327
|
Redshift: serializeAws_restJson1RedshiftConnectorProfileCredentials(input.Redshift, context),
|
|
2369
|
-
})), (input.SAPOData
|
|
2370
|
-
input.SAPOData !== null && {
|
|
2328
|
+
})), (input.SAPOData != null && {
|
|
2371
2329
|
SAPOData: serializeAws_restJson1SAPODataConnectorProfileCredentials(input.SAPOData, context),
|
|
2372
|
-
})), (input.Salesforce
|
|
2373
|
-
input.Salesforce !== null && {
|
|
2330
|
+
})), (input.Salesforce != null && {
|
|
2374
2331
|
Salesforce: serializeAws_restJson1SalesforceConnectorProfileCredentials(input.Salesforce, context),
|
|
2375
|
-
})), (input.ServiceNow
|
|
2376
|
-
input.ServiceNow !== null && {
|
|
2332
|
+
})), (input.ServiceNow != null && {
|
|
2377
2333
|
ServiceNow: serializeAws_restJson1ServiceNowConnectorProfileCredentials(input.ServiceNow, context),
|
|
2378
|
-
})), (input.Singular
|
|
2379
|
-
input.Singular !== null && {
|
|
2334
|
+
})), (input.Singular != null && {
|
|
2380
2335
|
Singular: serializeAws_restJson1SingularConnectorProfileCredentials(input.Singular, context),
|
|
2381
|
-
})), (input.Slack
|
|
2382
|
-
input.Slack !== null && { Slack: serializeAws_restJson1SlackConnectorProfileCredentials(input.Slack, context) })), (input.Snowflake !== undefined &&
|
|
2383
|
-
input.Snowflake !== null && {
|
|
2336
|
+
})), (input.Slack != null && { Slack: serializeAws_restJson1SlackConnectorProfileCredentials(input.Slack, context) })), (input.Snowflake != null && {
|
|
2384
2337
|
Snowflake: serializeAws_restJson1SnowflakeConnectorProfileCredentials(input.Snowflake, context),
|
|
2385
|
-
})), (input.Trendmicro
|
|
2386
|
-
input.Trendmicro !== null && {
|
|
2338
|
+
})), (input.Trendmicro != null && {
|
|
2387
2339
|
Trendmicro: serializeAws_restJson1TrendmicroConnectorProfileCredentials(input.Trendmicro, context),
|
|
2388
|
-
})), (input.Veeva
|
|
2389
|
-
input.Veeva !== null && { Veeva: serializeAws_restJson1VeevaConnectorProfileCredentials(input.Veeva, context) })), (input.Zendesk !== undefined &&
|
|
2390
|
-
input.Zendesk !== null && {
|
|
2340
|
+
})), (input.Veeva != null && { Veeva: serializeAws_restJson1VeevaConnectorProfileCredentials(input.Veeva, context) })), (input.Zendesk != null && {
|
|
2391
2341
|
Zendesk: serializeAws_restJson1ZendeskConnectorProfileCredentials(input.Zendesk, context),
|
|
2392
2342
|
}));
|
|
2393
2343
|
};
|
|
@@ -2402,61 +2352,42 @@ var serializeAws_restJson1ConnectorProfileNameList = function (input, context) {
|
|
|
2402
2352
|
});
|
|
2403
2353
|
};
|
|
2404
2354
|
var serializeAws_restJson1ConnectorProfileProperties = function (input, context) {
|
|
2405
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude
|
|
2406
|
-
input.Amplitude !== null && {
|
|
2355
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude != null && {
|
|
2407
2356
|
Amplitude: serializeAws_restJson1AmplitudeConnectorProfileProperties(input.Amplitude, context),
|
|
2408
|
-
})), (input.CustomConnector
|
|
2409
|
-
input.CustomConnector !== null && {
|
|
2357
|
+
})), (input.CustomConnector != null && {
|
|
2410
2358
|
CustomConnector: serializeAws_restJson1CustomConnectorProfileProperties(input.CustomConnector, context),
|
|
2411
|
-
})), (input.Datadog
|
|
2412
|
-
input.Datadog !== null && {
|
|
2359
|
+
})), (input.Datadog != null && {
|
|
2413
2360
|
Datadog: serializeAws_restJson1DatadogConnectorProfileProperties(input.Datadog, context),
|
|
2414
|
-
})), (input.Dynatrace
|
|
2415
|
-
input.Dynatrace !== null && {
|
|
2361
|
+
})), (input.Dynatrace != null && {
|
|
2416
2362
|
Dynatrace: serializeAws_restJson1DynatraceConnectorProfileProperties(input.Dynatrace, context),
|
|
2417
|
-
})), (input.GoogleAnalytics
|
|
2418
|
-
input.GoogleAnalytics !== null && {
|
|
2363
|
+
})), (input.GoogleAnalytics != null && {
|
|
2419
2364
|
GoogleAnalytics: serializeAws_restJson1GoogleAnalyticsConnectorProfileProperties(input.GoogleAnalytics, context),
|
|
2420
|
-
})), (input.Honeycode
|
|
2421
|
-
input.Honeycode !== null && {
|
|
2365
|
+
})), (input.Honeycode != null && {
|
|
2422
2366
|
Honeycode: serializeAws_restJson1HoneycodeConnectorProfileProperties(input.Honeycode, context),
|
|
2423
|
-
})), (input.InforNexus
|
|
2424
|
-
input.InforNexus !== null && {
|
|
2367
|
+
})), (input.InforNexus != null && {
|
|
2425
2368
|
InforNexus: serializeAws_restJson1InforNexusConnectorProfileProperties(input.InforNexus, context),
|
|
2426
|
-
})), (input.Marketo
|
|
2427
|
-
input.Marketo !== null && {
|
|
2369
|
+
})), (input.Marketo != null && {
|
|
2428
2370
|
Marketo: serializeAws_restJson1MarketoConnectorProfileProperties(input.Marketo, context),
|
|
2429
|
-
})), (input.Redshift
|
|
2430
|
-
input.Redshift !== null && {
|
|
2371
|
+
})), (input.Redshift != null && {
|
|
2431
2372
|
Redshift: serializeAws_restJson1RedshiftConnectorProfileProperties(input.Redshift, context),
|
|
2432
|
-
})), (input.SAPOData
|
|
2433
|
-
input.SAPOData !== null && {
|
|
2373
|
+
})), (input.SAPOData != null && {
|
|
2434
2374
|
SAPOData: serializeAws_restJson1SAPODataConnectorProfileProperties(input.SAPOData, context),
|
|
2435
|
-
})), (input.Salesforce
|
|
2436
|
-
input.Salesforce !== null && {
|
|
2375
|
+
})), (input.Salesforce != null && {
|
|
2437
2376
|
Salesforce: serializeAws_restJson1SalesforceConnectorProfileProperties(input.Salesforce, context),
|
|
2438
|
-
})), (input.ServiceNow
|
|
2439
|
-
input.ServiceNow !== null && {
|
|
2377
|
+
})), (input.ServiceNow != null && {
|
|
2440
2378
|
ServiceNow: serializeAws_restJson1ServiceNowConnectorProfileProperties(input.ServiceNow, context),
|
|
2441
|
-
})), (input.Singular
|
|
2442
|
-
input.Singular !== null && {
|
|
2379
|
+
})), (input.Singular != null && {
|
|
2443
2380
|
Singular: serializeAws_restJson1SingularConnectorProfileProperties(input.Singular, context),
|
|
2444
|
-
})), (input.Slack
|
|
2445
|
-
input.Slack !== null && { Slack: serializeAws_restJson1SlackConnectorProfileProperties(input.Slack, context) })), (input.Snowflake !== undefined &&
|
|
2446
|
-
input.Snowflake !== null && {
|
|
2381
|
+
})), (input.Slack != null && { Slack: serializeAws_restJson1SlackConnectorProfileProperties(input.Slack, context) })), (input.Snowflake != null && {
|
|
2447
2382
|
Snowflake: serializeAws_restJson1SnowflakeConnectorProfileProperties(input.Snowflake, context),
|
|
2448
|
-
})), (input.Trendmicro
|
|
2449
|
-
input.Trendmicro !== null && {
|
|
2383
|
+
})), (input.Trendmicro != null && {
|
|
2450
2384
|
Trendmicro: serializeAws_restJson1TrendmicroConnectorProfileProperties(input.Trendmicro, context),
|
|
2451
|
-
})), (input.Veeva
|
|
2452
|
-
input.Veeva !== null && { Veeva: serializeAws_restJson1VeevaConnectorProfileProperties(input.Veeva, context) })), (input.Zendesk !== undefined &&
|
|
2453
|
-
input.Zendesk !== null && {
|
|
2385
|
+
})), (input.Veeva != null && { Veeva: serializeAws_restJson1VeevaConnectorProfileProperties(input.Veeva, context) })), (input.Zendesk != null && {
|
|
2454
2386
|
Zendesk: serializeAws_restJson1ZendeskConnectorProfileProperties(input.Zendesk, context),
|
|
2455
2387
|
}));
|
|
2456
2388
|
};
|
|
2457
2389
|
var serializeAws_restJson1ConnectorProvisioningConfig = function (input, context) {
|
|
2458
|
-
return __assign({}, (input.lambda
|
|
2459
|
-
input.lambda !== null && {
|
|
2390
|
+
return __assign({}, (input.lambda != null && {
|
|
2460
2391
|
lambda: serializeAws_restJson1LambdaConnectorProvisioningConfig(input.lambda, context),
|
|
2461
2392
|
}));
|
|
2462
2393
|
};
|
|
@@ -2481,51 +2412,36 @@ var serializeAws_restJson1CredentialsMap = function (input, context) {
|
|
|
2481
2412
|
}, {});
|
|
2482
2413
|
};
|
|
2483
2414
|
var serializeAws_restJson1CustomAuthCredentials = function (input, context) {
|
|
2484
|
-
return __assign(__assign({}, (input.credentialsMap
|
|
2485
|
-
input.credentialsMap !== null && {
|
|
2415
|
+
return __assign(__assign({}, (input.credentialsMap != null && {
|
|
2486
2416
|
credentialsMap: serializeAws_restJson1CredentialsMap(input.credentialsMap, context),
|
|
2487
|
-
})), (input.customAuthenticationType
|
|
2488
|
-
input.customAuthenticationType !== null && { customAuthenticationType: input.customAuthenticationType }));
|
|
2417
|
+
})), (input.customAuthenticationType != null && { customAuthenticationType: input.customAuthenticationType }));
|
|
2489
2418
|
};
|
|
2490
2419
|
var serializeAws_restJson1CustomConnectorDestinationProperties = function (input, context) {
|
|
2491
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.customProperties
|
|
2492
|
-
input.customProperties !== null && {
|
|
2420
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.customProperties != null && {
|
|
2493
2421
|
customProperties: serializeAws_restJson1CustomProperties(input.customProperties, context),
|
|
2494
|
-
})), (input.entityName
|
|
2495
|
-
input.errorHandlingConfig !== null && {
|
|
2422
|
+
})), (input.entityName != null && { entityName: input.entityName })), (input.errorHandlingConfig != null && {
|
|
2496
2423
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2497
|
-
})), (input.idFieldNames
|
|
2498
|
-
input.idFieldNames !== null && {
|
|
2424
|
+
})), (input.idFieldNames != null && {
|
|
2499
2425
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2500
|
-
})), (input.writeOperationType
|
|
2501
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }));
|
|
2426
|
+
})), (input.writeOperationType != null && { writeOperationType: input.writeOperationType }));
|
|
2502
2427
|
};
|
|
2503
2428
|
var serializeAws_restJson1CustomConnectorProfileCredentials = function (input, context) {
|
|
2504
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.apiKey
|
|
2505
|
-
input.apiKey !== null && { apiKey: serializeAws_restJson1ApiKeyCredentials(input.apiKey, context) })), (input.authenticationType !== undefined &&
|
|
2506
|
-
input.authenticationType !== null && { authenticationType: input.authenticationType })), (input.basic !== undefined &&
|
|
2507
|
-
input.basic !== null && { basic: serializeAws_restJson1BasicAuthCredentials(input.basic, context) })), (input.custom !== undefined &&
|
|
2508
|
-
input.custom !== null && { custom: serializeAws_restJson1CustomAuthCredentials(input.custom, context) })), (input.oauth2 !== undefined &&
|
|
2509
|
-
input.oauth2 !== null && { oauth2: serializeAws_restJson1OAuth2Credentials(input.oauth2, context) }));
|
|
2429
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.apiKey != null && { apiKey: serializeAws_restJson1ApiKeyCredentials(input.apiKey, context) })), (input.authenticationType != null && { authenticationType: input.authenticationType })), (input.basic != null && { basic: serializeAws_restJson1BasicAuthCredentials(input.basic, context) })), (input.custom != null && { custom: serializeAws_restJson1CustomAuthCredentials(input.custom, context) })), (input.oauth2 != null && { oauth2: serializeAws_restJson1OAuth2Credentials(input.oauth2, context) }));
|
|
2510
2430
|
};
|
|
2511
2431
|
var serializeAws_restJson1CustomConnectorProfileProperties = function (input, context) {
|
|
2512
|
-
return __assign(__assign({}, (input.oAuth2Properties
|
|
2513
|
-
input.oAuth2Properties !== null && {
|
|
2432
|
+
return __assign(__assign({}, (input.oAuth2Properties != null && {
|
|
2514
2433
|
oAuth2Properties: serializeAws_restJson1OAuth2Properties(input.oAuth2Properties, context),
|
|
2515
|
-
})), (input.profileProperties
|
|
2516
|
-
input.profileProperties !== null && {
|
|
2434
|
+
})), (input.profileProperties != null && {
|
|
2517
2435
|
profileProperties: serializeAws_restJson1ProfilePropertiesMap(input.profileProperties, context),
|
|
2518
2436
|
}));
|
|
2519
2437
|
};
|
|
2520
2438
|
var serializeAws_restJson1CustomConnectorSourceProperties = function (input, context) {
|
|
2521
|
-
return __assign(__assign({}, (input.customProperties
|
|
2522
|
-
input.customProperties !== null && {
|
|
2439
|
+
return __assign(__assign({}, (input.customProperties != null && {
|
|
2523
2440
|
customProperties: serializeAws_restJson1CustomProperties(input.customProperties, context),
|
|
2524
|
-
})), (input.entityName
|
|
2441
|
+
})), (input.entityName != null && { entityName: input.entityName }));
|
|
2525
2442
|
};
|
|
2526
2443
|
var serializeAws_restJson1CustomerProfilesDestinationProperties = function (input, context) {
|
|
2527
|
-
return __assign(__assign({}, (input.domainName
|
|
2528
|
-
input.objectTypeName !== null && { objectTypeName: input.objectTypeName }));
|
|
2444
|
+
return __assign(__assign({}, (input.domainName != null && { domainName: input.domainName })), (input.objectTypeName != null && { objectTypeName: input.objectTypeName }));
|
|
2529
2445
|
};
|
|
2530
2446
|
var serializeAws_restJson1CustomProperties = function (input, context) {
|
|
2531
2447
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -2538,59 +2454,43 @@ var serializeAws_restJson1CustomProperties = function (input, context) {
|
|
|
2538
2454
|
}, {});
|
|
2539
2455
|
};
|
|
2540
2456
|
var serializeAws_restJson1DatadogConnectorProfileCredentials = function (input, context) {
|
|
2541
|
-
return __assign(__assign({}, (input.apiKey
|
|
2542
|
-
input.applicationKey !== null && { applicationKey: input.applicationKey }));
|
|
2457
|
+
return __assign(__assign({}, (input.apiKey != null && { apiKey: input.apiKey })), (input.applicationKey != null && { applicationKey: input.applicationKey }));
|
|
2543
2458
|
};
|
|
2544
2459
|
var serializeAws_restJson1DatadogConnectorProfileProperties = function (input, context) {
|
|
2545
|
-
return __assign({}, (input.instanceUrl
|
|
2460
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
2546
2461
|
};
|
|
2547
2462
|
var serializeAws_restJson1DatadogSourceProperties = function (input, context) {
|
|
2548
|
-
return __assign({}, (input.object
|
|
2463
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2549
2464
|
};
|
|
2550
2465
|
var serializeAws_restJson1DestinationConnectorProperties = function (input, context) {
|
|
2551
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomConnector
|
|
2552
|
-
input.CustomConnector !== null && {
|
|
2466
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomConnector != null && {
|
|
2553
2467
|
CustomConnector: serializeAws_restJson1CustomConnectorDestinationProperties(input.CustomConnector, context),
|
|
2554
|
-
})), (input.CustomerProfiles
|
|
2555
|
-
input.CustomerProfiles !== null && {
|
|
2468
|
+
})), (input.CustomerProfiles != null && {
|
|
2556
2469
|
CustomerProfiles: serializeAws_restJson1CustomerProfilesDestinationProperties(input.CustomerProfiles, context),
|
|
2557
|
-
})), (input.EventBridge
|
|
2558
|
-
input.EventBridge !== null && {
|
|
2470
|
+
})), (input.EventBridge != null && {
|
|
2559
2471
|
EventBridge: serializeAws_restJson1EventBridgeDestinationProperties(input.EventBridge, context),
|
|
2560
|
-
})), (input.Honeycode
|
|
2561
|
-
input.Honeycode !== null && {
|
|
2472
|
+
})), (input.Honeycode != null && {
|
|
2562
2473
|
Honeycode: serializeAws_restJson1HoneycodeDestinationProperties(input.Honeycode, context),
|
|
2563
|
-
})), (input.LookoutMetrics
|
|
2564
|
-
input.LookoutMetrics !== null && {
|
|
2474
|
+
})), (input.LookoutMetrics != null && {
|
|
2565
2475
|
LookoutMetrics: serializeAws_restJson1LookoutMetricsDestinationProperties(input.LookoutMetrics, context),
|
|
2566
|
-
})), (input.Marketo
|
|
2567
|
-
input.Marketo !== null && {
|
|
2476
|
+
})), (input.Marketo != null && {
|
|
2568
2477
|
Marketo: serializeAws_restJson1MarketoDestinationProperties(input.Marketo, context),
|
|
2569
|
-
})), (input.Redshift
|
|
2570
|
-
input.Redshift !== null && {
|
|
2478
|
+
})), (input.Redshift != null && {
|
|
2571
2479
|
Redshift: serializeAws_restJson1RedshiftDestinationProperties(input.Redshift, context),
|
|
2572
|
-
})), (input.S3
|
|
2573
|
-
input.S3 !== null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) })), (input.SAPOData !== undefined &&
|
|
2574
|
-
input.SAPOData !== null && {
|
|
2480
|
+
})), (input.S3 != null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) })), (input.SAPOData != null && {
|
|
2575
2481
|
SAPOData: serializeAws_restJson1SAPODataDestinationProperties(input.SAPOData, context),
|
|
2576
|
-
})), (input.Salesforce
|
|
2577
|
-
input.Salesforce !== null && {
|
|
2482
|
+
})), (input.Salesforce != null && {
|
|
2578
2483
|
Salesforce: serializeAws_restJson1SalesforceDestinationProperties(input.Salesforce, context),
|
|
2579
|
-
})), (input.Snowflake
|
|
2580
|
-
input.Snowflake !== null && {
|
|
2484
|
+
})), (input.Snowflake != null && {
|
|
2581
2485
|
Snowflake: serializeAws_restJson1SnowflakeDestinationProperties(input.Snowflake, context),
|
|
2582
|
-
})), (input.Upsolver
|
|
2583
|
-
input.Upsolver !== null && {
|
|
2486
|
+
})), (input.Upsolver != null && {
|
|
2584
2487
|
Upsolver: serializeAws_restJson1UpsolverDestinationProperties(input.Upsolver, context),
|
|
2585
|
-
})), (input.Zendesk
|
|
2586
|
-
input.Zendesk !== null && {
|
|
2488
|
+
})), (input.Zendesk != null && {
|
|
2587
2489
|
Zendesk: serializeAws_restJson1ZendeskDestinationProperties(input.Zendesk, context),
|
|
2588
2490
|
}));
|
|
2589
2491
|
};
|
|
2590
2492
|
var serializeAws_restJson1DestinationFlowConfig = function (input, context) {
|
|
2591
|
-
return __assign(__assign(__assign(__assign({}, (input.apiVersion
|
|
2592
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })), (input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType })), (input.destinationConnectorProperties !== undefined &&
|
|
2593
|
-
input.destinationConnectorProperties !== null && {
|
|
2493
|
+
return __assign(__assign(__assign(__assign({}, (input.apiVersion != null && { apiVersion: input.apiVersion })), (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })), (input.connectorType != null && { connectorType: input.connectorType })), (input.destinationConnectorProperties != null && {
|
|
2594
2494
|
destinationConnectorProperties: serializeAws_restJson1DestinationConnectorProperties(input.destinationConnectorProperties, context),
|
|
2595
2495
|
}));
|
|
2596
2496
|
};
|
|
@@ -2605,50 +2505,47 @@ var serializeAws_restJson1DestinationFlowConfigList = function (input, context)
|
|
|
2605
2505
|
});
|
|
2606
2506
|
};
|
|
2607
2507
|
var serializeAws_restJson1DynatraceConnectorProfileCredentials = function (input, context) {
|
|
2608
|
-
return __assign({}, (input.apiToken
|
|
2508
|
+
return __assign({}, (input.apiToken != null && { apiToken: input.apiToken }));
|
|
2609
2509
|
};
|
|
2610
2510
|
var serializeAws_restJson1DynatraceConnectorProfileProperties = function (input, context) {
|
|
2611
|
-
return __assign({}, (input.instanceUrl
|
|
2511
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
2612
2512
|
};
|
|
2613
2513
|
var serializeAws_restJson1DynatraceSourceProperties = function (input, context) {
|
|
2614
|
-
return __assign({}, (input.object
|
|
2514
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2615
2515
|
};
|
|
2616
2516
|
var serializeAws_restJson1ErrorHandlingConfig = function (input, context) {
|
|
2617
|
-
return __assign(__assign(__assign({}, (input.bucketName
|
|
2618
|
-
|
|
2517
|
+
return __assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.failOnFirstDestinationError != null && {
|
|
2518
|
+
failOnFirstDestinationError: input.failOnFirstDestinationError,
|
|
2519
|
+
}));
|
|
2619
2520
|
};
|
|
2620
2521
|
var serializeAws_restJson1EventBridgeDestinationProperties = function (input, context) {
|
|
2621
|
-
return __assign(__assign({}, (input.errorHandlingConfig
|
|
2622
|
-
input.errorHandlingConfig !== null && {
|
|
2522
|
+
return __assign(__assign({}, (input.errorHandlingConfig != null && {
|
|
2623
2523
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2624
|
-
})), (input.object
|
|
2524
|
+
})), (input.object != null && { object: input.object }));
|
|
2625
2525
|
};
|
|
2626
2526
|
var serializeAws_restJson1GoogleAnalyticsConnectorProfileCredentials = function (input, context) {
|
|
2627
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken
|
|
2628
|
-
input.oAuthRequest !== null && {
|
|
2527
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientId != null && { clientId: input.clientId })), (input.clientSecret != null && { clientSecret: input.clientSecret })), (input.oAuthRequest != null && {
|
|
2629
2528
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2630
|
-
})), (input.refreshToken
|
|
2529
|
+
})), (input.refreshToken != null && { refreshToken: input.refreshToken }));
|
|
2631
2530
|
};
|
|
2632
2531
|
var serializeAws_restJson1GoogleAnalyticsConnectorProfileProperties = function (input, context) {
|
|
2633
2532
|
return {};
|
|
2634
2533
|
};
|
|
2635
2534
|
var serializeAws_restJson1GoogleAnalyticsSourceProperties = function (input, context) {
|
|
2636
|
-
return __assign({}, (input.object
|
|
2535
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2637
2536
|
};
|
|
2638
2537
|
var serializeAws_restJson1HoneycodeConnectorProfileCredentials = function (input, context) {
|
|
2639
|
-
return __assign(__assign(__assign({}, (input.accessToken
|
|
2640
|
-
input.oAuthRequest !== null && {
|
|
2538
|
+
return __assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.oAuthRequest != null && {
|
|
2641
2539
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2642
|
-
})), (input.refreshToken
|
|
2540
|
+
})), (input.refreshToken != null && { refreshToken: input.refreshToken }));
|
|
2643
2541
|
};
|
|
2644
2542
|
var serializeAws_restJson1HoneycodeConnectorProfileProperties = function (input, context) {
|
|
2645
2543
|
return {};
|
|
2646
2544
|
};
|
|
2647
2545
|
var serializeAws_restJson1HoneycodeDestinationProperties = function (input, context) {
|
|
2648
|
-
return __assign(__assign({}, (input.errorHandlingConfig
|
|
2649
|
-
input.errorHandlingConfig !== null && {
|
|
2546
|
+
return __assign(__assign({}, (input.errorHandlingConfig != null && {
|
|
2650
2547
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2651
|
-
})), (input.object
|
|
2548
|
+
})), (input.object != null && { object: input.object }));
|
|
2652
2549
|
};
|
|
2653
2550
|
var serializeAws_restJson1IdFieldNameList = function (input, context) {
|
|
2654
2551
|
return input
|
|
@@ -2661,65 +2558,56 @@ var serializeAws_restJson1IdFieldNameList = function (input, context) {
|
|
|
2661
2558
|
});
|
|
2662
2559
|
};
|
|
2663
2560
|
var serializeAws_restJson1IncrementalPullConfig = function (input, context) {
|
|
2664
|
-
return __assign({}, (input.datetimeTypeFieldName
|
|
2665
|
-
input.datetimeTypeFieldName !== null && { datetimeTypeFieldName: input.datetimeTypeFieldName }));
|
|
2561
|
+
return __assign({}, (input.datetimeTypeFieldName != null && { datetimeTypeFieldName: input.datetimeTypeFieldName }));
|
|
2666
2562
|
};
|
|
2667
2563
|
var serializeAws_restJson1InforNexusConnectorProfileCredentials = function (input, context) {
|
|
2668
|
-
return __assign(__assign(__assign(__assign({}, (input.accessKeyId
|
|
2669
|
-
input.secretAccessKey !== null && { secretAccessKey: input.secretAccessKey })), (input.userId !== undefined && input.userId !== null && { userId: input.userId }));
|
|
2564
|
+
return __assign(__assign(__assign(__assign({}, (input.accessKeyId != null && { accessKeyId: input.accessKeyId })), (input.datakey != null && { datakey: input.datakey })), (input.secretAccessKey != null && { secretAccessKey: input.secretAccessKey })), (input.userId != null && { userId: input.userId }));
|
|
2670
2565
|
};
|
|
2671
2566
|
var serializeAws_restJson1InforNexusConnectorProfileProperties = function (input, context) {
|
|
2672
|
-
return __assign({}, (input.instanceUrl
|
|
2567
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
2673
2568
|
};
|
|
2674
2569
|
var serializeAws_restJson1InforNexusSourceProperties = function (input, context) {
|
|
2675
|
-
return __assign({}, (input.object
|
|
2570
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2676
2571
|
};
|
|
2677
2572
|
var serializeAws_restJson1LambdaConnectorProvisioningConfig = function (input, context) {
|
|
2678
|
-
return __assign({}, (input.lambdaArn
|
|
2573
|
+
return __assign({}, (input.lambdaArn != null && { lambdaArn: input.lambdaArn }));
|
|
2679
2574
|
};
|
|
2680
2575
|
var serializeAws_restJson1LookoutMetricsDestinationProperties = function (input, context) {
|
|
2681
2576
|
return {};
|
|
2682
2577
|
};
|
|
2683
2578
|
var serializeAws_restJson1MarketoConnectorProfileCredentials = function (input, context) {
|
|
2684
|
-
return __assign(__assign(__assign(__assign({}, (input.accessToken
|
|
2685
|
-
input.oAuthRequest !== null && {
|
|
2579
|
+
return __assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientId != null && { clientId: input.clientId })), (input.clientSecret != null && { clientSecret: input.clientSecret })), (input.oAuthRequest != null && {
|
|
2686
2580
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2687
2581
|
}));
|
|
2688
2582
|
};
|
|
2689
2583
|
var serializeAws_restJson1MarketoConnectorProfileProperties = function (input, context) {
|
|
2690
|
-
return __assign({}, (input.instanceUrl
|
|
2584
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
2691
2585
|
};
|
|
2692
2586
|
var serializeAws_restJson1MarketoDestinationProperties = function (input, context) {
|
|
2693
|
-
return __assign(__assign({}, (input.errorHandlingConfig
|
|
2694
|
-
input.errorHandlingConfig !== null && {
|
|
2587
|
+
return __assign(__assign({}, (input.errorHandlingConfig != null && {
|
|
2695
2588
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2696
|
-
})), (input.object
|
|
2589
|
+
})), (input.object != null && { object: input.object }));
|
|
2697
2590
|
};
|
|
2698
2591
|
var serializeAws_restJson1MarketoSourceProperties = function (input, context) {
|
|
2699
|
-
return __assign({}, (input.object
|
|
2592
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2700
2593
|
};
|
|
2701
2594
|
var serializeAws_restJson1OAuth2Credentials = function (input, context) {
|
|
2702
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken
|
|
2703
|
-
input.oAuthRequest !== null && {
|
|
2595
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientId != null && { clientId: input.clientId })), (input.clientSecret != null && { clientSecret: input.clientSecret })), (input.oAuthRequest != null && {
|
|
2704
2596
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2705
|
-
})), (input.refreshToken
|
|
2597
|
+
})), (input.refreshToken != null && { refreshToken: input.refreshToken }));
|
|
2706
2598
|
};
|
|
2707
2599
|
var serializeAws_restJson1OAuth2Properties = function (input, context) {
|
|
2708
|
-
return __assign(__assign(__assign({}, (input.oAuth2GrantType
|
|
2709
|
-
input.oAuth2GrantType !== null && { oAuth2GrantType: input.oAuth2GrantType })), (input.tokenUrl !== undefined && input.tokenUrl !== null && { tokenUrl: input.tokenUrl })), (input.tokenUrlCustomProperties !== undefined &&
|
|
2710
|
-
input.tokenUrlCustomProperties !== null && {
|
|
2600
|
+
return __assign(__assign(__assign({}, (input.oAuth2GrantType != null && { oAuth2GrantType: input.oAuth2GrantType })), (input.tokenUrl != null && { tokenUrl: input.tokenUrl })), (input.tokenUrlCustomProperties != null && {
|
|
2711
2601
|
tokenUrlCustomProperties: serializeAws_restJson1TokenUrlCustomProperties(input.tokenUrlCustomProperties, context),
|
|
2712
2602
|
}));
|
|
2713
2603
|
};
|
|
2714
2604
|
var serializeAws_restJson1OAuthCredentials = function (input, context) {
|
|
2715
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken
|
|
2716
|
-
input.oAuthRequest !== null && {
|
|
2605
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientId != null && { clientId: input.clientId })), (input.clientSecret != null && { clientSecret: input.clientSecret })), (input.oAuthRequest != null && {
|
|
2717
2606
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2718
|
-
})), (input.refreshToken
|
|
2607
|
+
})), (input.refreshToken != null && { refreshToken: input.refreshToken }));
|
|
2719
2608
|
};
|
|
2720
2609
|
var serializeAws_restJson1OAuthProperties = function (input, context) {
|
|
2721
|
-
return __assign(__assign(__assign({}, (input.authCodeUrl
|
|
2722
|
-
input.oAuthScopes !== null && { oAuthScopes: serializeAws_restJson1OAuthScopeList(input.oAuthScopes, context) })), (input.tokenUrl !== undefined && input.tokenUrl !== null && { tokenUrl: input.tokenUrl }));
|
|
2610
|
+
return __assign(__assign(__assign({}, (input.authCodeUrl != null && { authCodeUrl: input.authCodeUrl })), (input.oAuthScopes != null && { oAuthScopes: serializeAws_restJson1OAuthScopeList(input.oAuthScopes, context) })), (input.tokenUrl != null && { tokenUrl: input.tokenUrl }));
|
|
2723
2611
|
};
|
|
2724
2612
|
var serializeAws_restJson1OAuthScopeList = function (input, context) {
|
|
2725
2613
|
return input
|
|
@@ -2732,7 +2620,7 @@ var serializeAws_restJson1OAuthScopeList = function (input, context) {
|
|
|
2732
2620
|
});
|
|
2733
2621
|
};
|
|
2734
2622
|
var serializeAws_restJson1PrefixConfig = function (input, context) {
|
|
2735
|
-
return __assign(__assign({}, (input.prefixFormat
|
|
2623
|
+
return __assign(__assign({}, (input.prefixFormat != null && { prefixFormat: input.prefixFormat })), (input.prefixType != null && { prefixType: input.prefixType }));
|
|
2736
2624
|
};
|
|
2737
2625
|
var serializeAws_restJson1ProfilePropertiesMap = function (input, context) {
|
|
2738
2626
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -2745,193 +2633,147 @@ var serializeAws_restJson1ProfilePropertiesMap = function (input, context) {
|
|
|
2745
2633
|
}, {});
|
|
2746
2634
|
};
|
|
2747
2635
|
var serializeAws_restJson1RedshiftConnectorProfileCredentials = function (input, context) {
|
|
2748
|
-
return __assign(__assign({}, (input.password
|
|
2636
|
+
return __assign(__assign({}, (input.password != null && { password: input.password })), (input.username != null && { username: input.username }));
|
|
2749
2637
|
};
|
|
2750
2638
|
var serializeAws_restJson1RedshiftConnectorProfileProperties = function (input, context) {
|
|
2751
|
-
return __assign(__assign(__assign(__assign({}, (input.bucketName
|
|
2639
|
+
return __assign(__assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.databaseUrl != null && { databaseUrl: input.databaseUrl })), (input.roleArn != null && { roleArn: input.roleArn }));
|
|
2752
2640
|
};
|
|
2753
2641
|
var serializeAws_restJson1RedshiftDestinationProperties = function (input, context) {
|
|
2754
|
-
return __assign(__assign(__assign(__assign({}, (input.bucketPrefix
|
|
2755
|
-
input.errorHandlingConfig !== null && {
|
|
2642
|
+
return __assign(__assign(__assign(__assign({}, (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.errorHandlingConfig != null && {
|
|
2756
2643
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2757
|
-
})), (input.intermediateBucketName
|
|
2758
|
-
input.intermediateBucketName !== null && { intermediateBucketName: input.intermediateBucketName })), (input.object !== undefined && input.object !== null && { object: input.object }));
|
|
2644
|
+
})), (input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName })), (input.object != null && { object: input.object }));
|
|
2759
2645
|
};
|
|
2760
2646
|
var serializeAws_restJson1S3DestinationProperties = function (input, context) {
|
|
2761
|
-
return __assign(__assign(__assign({}, (input.bucketName
|
|
2762
|
-
input.s3OutputFormatConfig !== null && {
|
|
2647
|
+
return __assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.s3OutputFormatConfig != null && {
|
|
2763
2648
|
s3OutputFormatConfig: serializeAws_restJson1S3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2764
2649
|
}));
|
|
2765
2650
|
};
|
|
2766
2651
|
var serializeAws_restJson1S3InputFormatConfig = function (input, context) {
|
|
2767
|
-
return __assign({}, (input.s3InputFileType
|
|
2768
|
-
input.s3InputFileType !== null && { s3InputFileType: input.s3InputFileType }));
|
|
2652
|
+
return __assign({}, (input.s3InputFileType != null && { s3InputFileType: input.s3InputFileType }));
|
|
2769
2653
|
};
|
|
2770
2654
|
var serializeAws_restJson1S3OutputFormatConfig = function (input, context) {
|
|
2771
|
-
return __assign(__assign(__assign(__assign({}, (input.aggregationConfig
|
|
2772
|
-
input.aggregationConfig !== null && {
|
|
2655
|
+
return __assign(__assign(__assign(__assign({}, (input.aggregationConfig != null && {
|
|
2773
2656
|
aggregationConfig: serializeAws_restJson1AggregationConfig(input.aggregationConfig, context),
|
|
2774
|
-
})), (input.fileType
|
|
2775
|
-
|
|
2776
|
-
|
|
2657
|
+
})), (input.fileType != null && { fileType: input.fileType })), (input.prefixConfig != null && {
|
|
2658
|
+
prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context),
|
|
2659
|
+
})), (input.preserveSourceDataTyping != null && { preserveSourceDataTyping: input.preserveSourceDataTyping }));
|
|
2777
2660
|
};
|
|
2778
2661
|
var serializeAws_restJson1S3SourceProperties = function (input, context) {
|
|
2779
|
-
return __assign(__assign(__assign({}, (input.bucketName
|
|
2780
|
-
input.s3InputFormatConfig !== null && {
|
|
2662
|
+
return __assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.s3InputFormatConfig != null && {
|
|
2781
2663
|
s3InputFormatConfig: serializeAws_restJson1S3InputFormatConfig(input.s3InputFormatConfig, context),
|
|
2782
2664
|
}));
|
|
2783
2665
|
};
|
|
2784
2666
|
var serializeAws_restJson1SalesforceConnectorProfileCredentials = function (input, context) {
|
|
2785
|
-
return __assign(__assign(__assign(__assign({}, (input.accessToken
|
|
2786
|
-
input.clientCredentialsArn !== null && { clientCredentialsArn: input.clientCredentialsArn })), (input.oAuthRequest !== undefined &&
|
|
2787
|
-
input.oAuthRequest !== null && {
|
|
2667
|
+
return __assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientCredentialsArn != null && { clientCredentialsArn: input.clientCredentialsArn })), (input.oAuthRequest != null && {
|
|
2788
2668
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2789
|
-
})), (input.refreshToken
|
|
2669
|
+
})), (input.refreshToken != null && { refreshToken: input.refreshToken }));
|
|
2790
2670
|
};
|
|
2791
2671
|
var serializeAws_restJson1SalesforceConnectorProfileProperties = function (input, context) {
|
|
2792
|
-
return __assign(__assign({}, (input.instanceUrl
|
|
2793
|
-
input.isSandboxEnvironment !== null && { isSandboxEnvironment: input.isSandboxEnvironment }));
|
|
2672
|
+
return __assign(__assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl })), (input.isSandboxEnvironment != null && { isSandboxEnvironment: input.isSandboxEnvironment }));
|
|
2794
2673
|
};
|
|
2795
2674
|
var serializeAws_restJson1SalesforceDestinationProperties = function (input, context) {
|
|
2796
|
-
return __assign(__assign(__assign(__assign({}, (input.errorHandlingConfig
|
|
2797
|
-
input.errorHandlingConfig !== null && {
|
|
2675
|
+
return __assign(__assign(__assign(__assign({}, (input.errorHandlingConfig != null && {
|
|
2798
2676
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2799
|
-
})), (input.idFieldNames
|
|
2800
|
-
input.idFieldNames !== null && {
|
|
2677
|
+
})), (input.idFieldNames != null && {
|
|
2801
2678
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2802
|
-
})), (input.object
|
|
2803
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }));
|
|
2679
|
+
})), (input.object != null && { object: input.object })), (input.writeOperationType != null && { writeOperationType: input.writeOperationType }));
|
|
2804
2680
|
};
|
|
2805
2681
|
var serializeAws_restJson1SalesforceSourceProperties = function (input, context) {
|
|
2806
|
-
return __assign(__assign(__assign({}, (input.enableDynamicFieldUpdate
|
|
2807
|
-
input.enableDynamicFieldUpdate !== null && { enableDynamicFieldUpdate: input.enableDynamicFieldUpdate })), (input.includeDeletedRecords !== undefined &&
|
|
2808
|
-
input.includeDeletedRecords !== null && { includeDeletedRecords: input.includeDeletedRecords })), (input.object !== undefined && input.object !== null && { object: input.object }));
|
|
2682
|
+
return __assign(__assign(__assign({}, (input.enableDynamicFieldUpdate != null && { enableDynamicFieldUpdate: input.enableDynamicFieldUpdate })), (input.includeDeletedRecords != null && { includeDeletedRecords: input.includeDeletedRecords })), (input.object != null && { object: input.object }));
|
|
2809
2683
|
};
|
|
2810
2684
|
var serializeAws_restJson1SAPODataConnectorProfileCredentials = function (input, context) {
|
|
2811
|
-
return __assign(__assign({}, (input.basicAuthCredentials
|
|
2812
|
-
input.basicAuthCredentials !== null && {
|
|
2685
|
+
return __assign(__assign({}, (input.basicAuthCredentials != null && {
|
|
2813
2686
|
basicAuthCredentials: serializeAws_restJson1BasicAuthCredentials(input.basicAuthCredentials, context),
|
|
2814
|
-
})), (input.oAuthCredentials
|
|
2815
|
-
input.oAuthCredentials !== null && {
|
|
2687
|
+
})), (input.oAuthCredentials != null && {
|
|
2816
2688
|
oAuthCredentials: serializeAws_restJson1OAuthCredentials(input.oAuthCredentials, context),
|
|
2817
2689
|
}));
|
|
2818
2690
|
};
|
|
2819
2691
|
var serializeAws_restJson1SAPODataConnectorProfileProperties = function (input, context) {
|
|
2820
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationHostUrl
|
|
2821
|
-
input.applicationHostUrl !== null && { applicationHostUrl: input.applicationHostUrl })), (input.applicationServicePath !== undefined &&
|
|
2822
|
-
input.applicationServicePath !== null && { applicationServicePath: input.applicationServicePath })), (input.clientNumber !== undefined && input.clientNumber !== null && { clientNumber: input.clientNumber })), (input.logonLanguage !== undefined && input.logonLanguage !== null && { logonLanguage: input.logonLanguage })), (input.oAuthProperties !== undefined &&
|
|
2823
|
-
input.oAuthProperties !== null && {
|
|
2692
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationHostUrl != null && { applicationHostUrl: input.applicationHostUrl })), (input.applicationServicePath != null && { applicationServicePath: input.applicationServicePath })), (input.clientNumber != null && { clientNumber: input.clientNumber })), (input.logonLanguage != null && { logonLanguage: input.logonLanguage })), (input.oAuthProperties != null && {
|
|
2824
2693
|
oAuthProperties: serializeAws_restJson1OAuthProperties(input.oAuthProperties, context),
|
|
2825
|
-
})), (input.portNumber
|
|
2826
|
-
input.privateLinkServiceName !== null && { privateLinkServiceName: input.privateLinkServiceName }));
|
|
2694
|
+
})), (input.portNumber != null && { portNumber: input.portNumber })), (input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName }));
|
|
2827
2695
|
};
|
|
2828
2696
|
var serializeAws_restJson1SAPODataDestinationProperties = function (input, context) {
|
|
2829
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.errorHandlingConfig
|
|
2830
|
-
input.errorHandlingConfig !== null && {
|
|
2697
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.errorHandlingConfig != null && {
|
|
2831
2698
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2832
|
-
})), (input.idFieldNames
|
|
2833
|
-
input.idFieldNames !== null && {
|
|
2699
|
+
})), (input.idFieldNames != null && {
|
|
2834
2700
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2835
|
-
})), (input.objectPath
|
|
2836
|
-
input.successResponseHandlingConfig !== null && {
|
|
2701
|
+
})), (input.objectPath != null && { objectPath: input.objectPath })), (input.successResponseHandlingConfig != null && {
|
|
2837
2702
|
successResponseHandlingConfig: serializeAws_restJson1SuccessResponseHandlingConfig(input.successResponseHandlingConfig, context),
|
|
2838
|
-
})), (input.writeOperationType
|
|
2839
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }));
|
|
2703
|
+
})), (input.writeOperationType != null && { writeOperationType: input.writeOperationType }));
|
|
2840
2704
|
};
|
|
2841
2705
|
var serializeAws_restJson1SAPODataSourceProperties = function (input, context) {
|
|
2842
|
-
return __assign({}, (input.objectPath
|
|
2706
|
+
return __assign({}, (input.objectPath != null && { objectPath: input.objectPath }));
|
|
2843
2707
|
};
|
|
2844
2708
|
var serializeAws_restJson1ScheduledTriggerProperties = function (input, context) {
|
|
2845
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataPullMode
|
|
2846
|
-
input.firstExecutionFrom !== null && {
|
|
2709
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataPullMode != null && { dataPullMode: input.dataPullMode })), (input.firstExecutionFrom != null && {
|
|
2847
2710
|
firstExecutionFrom: Math.round(input.firstExecutionFrom.getTime() / 1000),
|
|
2848
|
-
})), (input.flowErrorDeactivationThreshold
|
|
2849
|
-
input.flowErrorDeactivationThreshold !== null && {
|
|
2711
|
+
})), (input.flowErrorDeactivationThreshold != null && {
|
|
2850
2712
|
flowErrorDeactivationThreshold: input.flowErrorDeactivationThreshold,
|
|
2851
|
-
})), (input.scheduleEndTime
|
|
2852
|
-
input.scheduleEndTime !== null && { scheduleEndTime: Math.round(input.scheduleEndTime.getTime() / 1000) })), (input.scheduleExpression !== undefined &&
|
|
2853
|
-
input.scheduleExpression !== null && { scheduleExpression: input.scheduleExpression })), (input.scheduleOffset !== undefined &&
|
|
2854
|
-
input.scheduleOffset !== null && { scheduleOffset: input.scheduleOffset })), (input.scheduleStartTime !== undefined &&
|
|
2855
|
-
input.scheduleStartTime !== null && { scheduleStartTime: Math.round(input.scheduleStartTime.getTime() / 1000) })), (input.timezone !== undefined && input.timezone !== null && { timezone: input.timezone }));
|
|
2713
|
+
})), (input.scheduleEndTime != null && { scheduleEndTime: Math.round(input.scheduleEndTime.getTime() / 1000) })), (input.scheduleExpression != null && { scheduleExpression: input.scheduleExpression })), (input.scheduleOffset != null && { scheduleOffset: input.scheduleOffset })), (input.scheduleStartTime != null && { scheduleStartTime: Math.round(input.scheduleStartTime.getTime() / 1000) })), (input.timezone != null && { timezone: input.timezone }));
|
|
2856
2714
|
};
|
|
2857
2715
|
var serializeAws_restJson1ServiceNowConnectorProfileCredentials = function (input, context) {
|
|
2858
|
-
return __assign(__assign({}, (input.password
|
|
2716
|
+
return __assign(__assign({}, (input.password != null && { password: input.password })), (input.username != null && { username: input.username }));
|
|
2859
2717
|
};
|
|
2860
2718
|
var serializeAws_restJson1ServiceNowConnectorProfileProperties = function (input, context) {
|
|
2861
|
-
return __assign({}, (input.instanceUrl
|
|
2719
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
2862
2720
|
};
|
|
2863
2721
|
var serializeAws_restJson1ServiceNowSourceProperties = function (input, context) {
|
|
2864
|
-
return __assign({}, (input.object
|
|
2722
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2865
2723
|
};
|
|
2866
2724
|
var serializeAws_restJson1SingularConnectorProfileCredentials = function (input, context) {
|
|
2867
|
-
return __assign({}, (input.apiKey
|
|
2725
|
+
return __assign({}, (input.apiKey != null && { apiKey: input.apiKey }));
|
|
2868
2726
|
};
|
|
2869
2727
|
var serializeAws_restJson1SingularConnectorProfileProperties = function (input, context) {
|
|
2870
2728
|
return {};
|
|
2871
2729
|
};
|
|
2872
2730
|
var serializeAws_restJson1SingularSourceProperties = function (input, context) {
|
|
2873
|
-
return __assign({}, (input.object
|
|
2731
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2874
2732
|
};
|
|
2875
2733
|
var serializeAws_restJson1SlackConnectorProfileCredentials = function (input, context) {
|
|
2876
|
-
return __assign(__assign(__assign(__assign({}, (input.accessToken
|
|
2877
|
-
input.oAuthRequest !== null && {
|
|
2734
|
+
return __assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientId != null && { clientId: input.clientId })), (input.clientSecret != null && { clientSecret: input.clientSecret })), (input.oAuthRequest != null && {
|
|
2878
2735
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2879
2736
|
}));
|
|
2880
2737
|
};
|
|
2881
2738
|
var serializeAws_restJson1SlackConnectorProfileProperties = function (input, context) {
|
|
2882
|
-
return __assign({}, (input.instanceUrl
|
|
2739
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
2883
2740
|
};
|
|
2884
2741
|
var serializeAws_restJson1SlackSourceProperties = function (input, context) {
|
|
2885
|
-
return __assign({}, (input.object
|
|
2742
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
2886
2743
|
};
|
|
2887
2744
|
var serializeAws_restJson1SnowflakeConnectorProfileCredentials = function (input, context) {
|
|
2888
|
-
return __assign(__assign({}, (input.password
|
|
2745
|
+
return __assign(__assign({}, (input.password != null && { password: input.password })), (input.username != null && { username: input.username }));
|
|
2889
2746
|
};
|
|
2890
2747
|
var serializeAws_restJson1SnowflakeConnectorProfileProperties = function (input, context) {
|
|
2891
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.accountName
|
|
2892
|
-
input.privateLinkServiceName !== null && { privateLinkServiceName: input.privateLinkServiceName })), (input.region !== undefined && input.region !== null && { region: input.region })), (input.stage !== undefined && input.stage !== null && { stage: input.stage })), (input.warehouse !== undefined && input.warehouse !== null && { warehouse: input.warehouse }));
|
|
2748
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.accountName != null && { accountName: input.accountName })), (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName })), (input.region != null && { region: input.region })), (input.stage != null && { stage: input.stage })), (input.warehouse != null && { warehouse: input.warehouse }));
|
|
2893
2749
|
};
|
|
2894
2750
|
var serializeAws_restJson1SnowflakeDestinationProperties = function (input, context) {
|
|
2895
|
-
return __assign(__assign(__assign(__assign({}, (input.bucketPrefix
|
|
2896
|
-
input.errorHandlingConfig !== null && {
|
|
2751
|
+
return __assign(__assign(__assign(__assign({}, (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.errorHandlingConfig != null && {
|
|
2897
2752
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2898
|
-
})), (input.intermediateBucketName
|
|
2899
|
-
input.intermediateBucketName !== null && { intermediateBucketName: input.intermediateBucketName })), (input.object !== undefined && input.object !== null && { object: input.object }));
|
|
2753
|
+
})), (input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName })), (input.object != null && { object: input.object }));
|
|
2900
2754
|
};
|
|
2901
2755
|
var serializeAws_restJson1SourceConnectorProperties = function (input, context) {
|
|
2902
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude
|
|
2903
|
-
input.Amplitude !== null && {
|
|
2756
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Amplitude != null && {
|
|
2904
2757
|
Amplitude: serializeAws_restJson1AmplitudeSourceProperties(input.Amplitude, context),
|
|
2905
|
-
})), (input.CustomConnector
|
|
2906
|
-
input.CustomConnector !== null && {
|
|
2758
|
+
})), (input.CustomConnector != null && {
|
|
2907
2759
|
CustomConnector: serializeAws_restJson1CustomConnectorSourceProperties(input.CustomConnector, context),
|
|
2908
|
-
})), (input.Datadog
|
|
2909
|
-
input.Datadog !== null && { Datadog: serializeAws_restJson1DatadogSourceProperties(input.Datadog, context) })), (input.Dynatrace !== undefined &&
|
|
2910
|
-
input.Dynatrace !== null && {
|
|
2760
|
+
})), (input.Datadog != null && { Datadog: serializeAws_restJson1DatadogSourceProperties(input.Datadog, context) })), (input.Dynatrace != null && {
|
|
2911
2761
|
Dynatrace: serializeAws_restJson1DynatraceSourceProperties(input.Dynatrace, context),
|
|
2912
|
-
})), (input.GoogleAnalytics
|
|
2913
|
-
input.GoogleAnalytics !== null && {
|
|
2762
|
+
})), (input.GoogleAnalytics != null && {
|
|
2914
2763
|
GoogleAnalytics: serializeAws_restJson1GoogleAnalyticsSourceProperties(input.GoogleAnalytics, context),
|
|
2915
|
-
})), (input.InforNexus
|
|
2916
|
-
input.InforNexus !== null && {
|
|
2764
|
+
})), (input.InforNexus != null && {
|
|
2917
2765
|
InforNexus: serializeAws_restJson1InforNexusSourceProperties(input.InforNexus, context),
|
|
2918
|
-
})), (input.Marketo
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
input.SAPOData !== null && { SAPOData: serializeAws_restJson1SAPODataSourceProperties(input.SAPOData, context) })), (input.Salesforce !== undefined &&
|
|
2922
|
-
input.Salesforce !== null && {
|
|
2766
|
+
})), (input.Marketo != null && { Marketo: serializeAws_restJson1MarketoSourceProperties(input.Marketo, context) })), (input.S3 != null && { S3: serializeAws_restJson1S3SourceProperties(input.S3, context) })), (input.SAPOData != null && {
|
|
2767
|
+
SAPOData: serializeAws_restJson1SAPODataSourceProperties(input.SAPOData, context),
|
|
2768
|
+
})), (input.Salesforce != null && {
|
|
2923
2769
|
Salesforce: serializeAws_restJson1SalesforceSourceProperties(input.Salesforce, context),
|
|
2924
|
-
})), (input.ServiceNow
|
|
2925
|
-
input.ServiceNow !== null && {
|
|
2770
|
+
})), (input.ServiceNow != null && {
|
|
2926
2771
|
ServiceNow: serializeAws_restJson1ServiceNowSourceProperties(input.ServiceNow, context),
|
|
2927
|
-
})), (input.Singular
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
input.Trendmicro !== null && {
|
|
2772
|
+
})), (input.Singular != null && {
|
|
2773
|
+
Singular: serializeAws_restJson1SingularSourceProperties(input.Singular, context),
|
|
2774
|
+
})), (input.Slack != null && { Slack: serializeAws_restJson1SlackSourceProperties(input.Slack, context) })), (input.Trendmicro != null && {
|
|
2931
2775
|
Trendmicro: serializeAws_restJson1TrendmicroSourceProperties(input.Trendmicro, context),
|
|
2932
|
-
})), (input.Veeva
|
|
2933
|
-
input.Veeva !== null && { Veeva: serializeAws_restJson1VeevaSourceProperties(input.Veeva, context) })), (input.Zendesk !== undefined &&
|
|
2934
|
-
input.Zendesk !== null && { Zendesk: serializeAws_restJson1ZendeskSourceProperties(input.Zendesk, context) }));
|
|
2776
|
+
})), (input.Veeva != null && { Veeva: serializeAws_restJson1VeevaSourceProperties(input.Veeva, context) })), (input.Zendesk != null && { Zendesk: serializeAws_restJson1ZendeskSourceProperties(input.Zendesk, context) }));
|
|
2935
2777
|
};
|
|
2936
2778
|
var serializeAws_restJson1SourceFields = function (input, context) {
|
|
2937
2779
|
return input
|
|
@@ -2944,17 +2786,14 @@ var serializeAws_restJson1SourceFields = function (input, context) {
|
|
|
2944
2786
|
});
|
|
2945
2787
|
};
|
|
2946
2788
|
var serializeAws_restJson1SourceFlowConfig = function (input, context) {
|
|
2947
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.apiVersion
|
|
2948
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName })), (input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType })), (input.incrementalPullConfig !== undefined &&
|
|
2949
|
-
input.incrementalPullConfig !== null && {
|
|
2789
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.apiVersion != null && { apiVersion: input.apiVersion })), (input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName })), (input.connectorType != null && { connectorType: input.connectorType })), (input.incrementalPullConfig != null && {
|
|
2950
2790
|
incrementalPullConfig: serializeAws_restJson1IncrementalPullConfig(input.incrementalPullConfig, context),
|
|
2951
|
-
})), (input.sourceConnectorProperties
|
|
2952
|
-
input.sourceConnectorProperties !== null && {
|
|
2791
|
+
})), (input.sourceConnectorProperties != null && {
|
|
2953
2792
|
sourceConnectorProperties: serializeAws_restJson1SourceConnectorProperties(input.sourceConnectorProperties, context),
|
|
2954
2793
|
}));
|
|
2955
2794
|
};
|
|
2956
2795
|
var serializeAws_restJson1SuccessResponseHandlingConfig = function (input, context) {
|
|
2957
|
-
return __assign(__assign({}, (input.bucketName
|
|
2796
|
+
return __assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }));
|
|
2958
2797
|
};
|
|
2959
2798
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
2960
2799
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -2967,15 +2806,13 @@ var serializeAws_restJson1TagMap = function (input, context) {
|
|
|
2967
2806
|
}, {});
|
|
2968
2807
|
};
|
|
2969
2808
|
var serializeAws_restJson1Task = function (input, context) {
|
|
2970
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.connectorOperator
|
|
2971
|
-
input.connectorOperator !== null && {
|
|
2809
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.connectorOperator != null && {
|
|
2972
2810
|
connectorOperator: serializeAws_restJson1ConnectorOperator(input.connectorOperator, context),
|
|
2973
|
-
})), (input.destinationField
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
input.taskProperties !== null && {
|
|
2811
|
+
})), (input.destinationField != null && { destinationField: input.destinationField })), (input.sourceFields != null && {
|
|
2812
|
+
sourceFields: serializeAws_restJson1SourceFields(input.sourceFields, context),
|
|
2813
|
+
})), (input.taskProperties != null && {
|
|
2977
2814
|
taskProperties: serializeAws_restJson1TaskPropertiesMap(input.taskProperties, context),
|
|
2978
|
-
})), (input.taskType
|
|
2815
|
+
})), (input.taskType != null && { taskType: input.taskType }));
|
|
2979
2816
|
};
|
|
2980
2817
|
var serializeAws_restJson1TaskPropertiesMap = function (input, context) {
|
|
2981
2818
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3008,72 +2845,62 @@ var serializeAws_restJson1TokenUrlCustomProperties = function (input, context) {
|
|
|
3008
2845
|
}, {});
|
|
3009
2846
|
};
|
|
3010
2847
|
var serializeAws_restJson1TrendmicroConnectorProfileCredentials = function (input, context) {
|
|
3011
|
-
return __assign({}, (input.apiSecretKey
|
|
2848
|
+
return __assign({}, (input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }));
|
|
3012
2849
|
};
|
|
3013
2850
|
var serializeAws_restJson1TrendmicroConnectorProfileProperties = function (input, context) {
|
|
3014
2851
|
return {};
|
|
3015
2852
|
};
|
|
3016
2853
|
var serializeAws_restJson1TrendmicroSourceProperties = function (input, context) {
|
|
3017
|
-
return __assign({}, (input.object
|
|
2854
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
3018
2855
|
};
|
|
3019
2856
|
var serializeAws_restJson1TriggerConfig = function (input, context) {
|
|
3020
|
-
return __assign(__assign({}, (input.triggerProperties
|
|
3021
|
-
input.triggerProperties !== null && {
|
|
2857
|
+
return __assign(__assign({}, (input.triggerProperties != null && {
|
|
3022
2858
|
triggerProperties: serializeAws_restJson1TriggerProperties(input.triggerProperties, context),
|
|
3023
|
-
})), (input.triggerType
|
|
2859
|
+
})), (input.triggerType != null && { triggerType: input.triggerType }));
|
|
3024
2860
|
};
|
|
3025
2861
|
var serializeAws_restJson1TriggerProperties = function (input, context) {
|
|
3026
|
-
return __assign({}, (input.Scheduled
|
|
3027
|
-
input.Scheduled !== null && {
|
|
2862
|
+
return __assign({}, (input.Scheduled != null && {
|
|
3028
2863
|
Scheduled: serializeAws_restJson1ScheduledTriggerProperties(input.Scheduled, context),
|
|
3029
2864
|
}));
|
|
3030
2865
|
};
|
|
3031
2866
|
var serializeAws_restJson1UpsolverDestinationProperties = function (input, context) {
|
|
3032
|
-
return __assign(__assign(__assign({}, (input.bucketName
|
|
3033
|
-
input.s3OutputFormatConfig !== null && {
|
|
2867
|
+
return __assign(__assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix })), (input.s3OutputFormatConfig != null && {
|
|
3034
2868
|
s3OutputFormatConfig: serializeAws_restJson1UpsolverS3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
3035
2869
|
}));
|
|
3036
2870
|
};
|
|
3037
2871
|
var serializeAws_restJson1UpsolverS3OutputFormatConfig = function (input, context) {
|
|
3038
|
-
return __assign(__assign(__assign({}, (input.aggregationConfig
|
|
3039
|
-
input.aggregationConfig !== null && {
|
|
2872
|
+
return __assign(__assign(__assign({}, (input.aggregationConfig != null && {
|
|
3040
2873
|
aggregationConfig: serializeAws_restJson1AggregationConfig(input.aggregationConfig, context),
|
|
3041
|
-
})), (input.fileType
|
|
3042
|
-
|
|
2874
|
+
})), (input.fileType != null && { fileType: input.fileType })), (input.prefixConfig != null && {
|
|
2875
|
+
prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context),
|
|
2876
|
+
}));
|
|
3043
2877
|
};
|
|
3044
2878
|
var serializeAws_restJson1VeevaConnectorProfileCredentials = function (input, context) {
|
|
3045
|
-
return __assign(__assign({}, (input.password
|
|
2879
|
+
return __assign(__assign({}, (input.password != null && { password: input.password })), (input.username != null && { username: input.username }));
|
|
3046
2880
|
};
|
|
3047
2881
|
var serializeAws_restJson1VeevaConnectorProfileProperties = function (input, context) {
|
|
3048
|
-
return __assign({}, (input.instanceUrl
|
|
2882
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
3049
2883
|
};
|
|
3050
2884
|
var serializeAws_restJson1VeevaSourceProperties = function (input, context) {
|
|
3051
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.documentType
|
|
3052
|
-
input.includeAllVersions !== null && { includeAllVersions: input.includeAllVersions })), (input.includeRenditions !== undefined &&
|
|
3053
|
-
input.includeRenditions !== null && { includeRenditions: input.includeRenditions })), (input.includeSourceFiles !== undefined &&
|
|
3054
|
-
input.includeSourceFiles !== null && { includeSourceFiles: input.includeSourceFiles })), (input.object !== undefined && input.object !== null && { object: input.object }));
|
|
2885
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.documentType != null && { documentType: input.documentType })), (input.includeAllVersions != null && { includeAllVersions: input.includeAllVersions })), (input.includeRenditions != null && { includeRenditions: input.includeRenditions })), (input.includeSourceFiles != null && { includeSourceFiles: input.includeSourceFiles })), (input.object != null && { object: input.object }));
|
|
3055
2886
|
};
|
|
3056
2887
|
var serializeAws_restJson1ZendeskConnectorProfileCredentials = function (input, context) {
|
|
3057
|
-
return __assign(__assign(__assign(__assign({}, (input.accessToken
|
|
3058
|
-
input.oAuthRequest !== null && {
|
|
2888
|
+
return __assign(__assign(__assign(__assign({}, (input.accessToken != null && { accessToken: input.accessToken })), (input.clientId != null && { clientId: input.clientId })), (input.clientSecret != null && { clientSecret: input.clientSecret })), (input.oAuthRequest != null && {
|
|
3059
2889
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
3060
2890
|
}));
|
|
3061
2891
|
};
|
|
3062
2892
|
var serializeAws_restJson1ZendeskConnectorProfileProperties = function (input, context) {
|
|
3063
|
-
return __assign({}, (input.instanceUrl
|
|
2893
|
+
return __assign({}, (input.instanceUrl != null && { instanceUrl: input.instanceUrl }));
|
|
3064
2894
|
};
|
|
3065
2895
|
var serializeAws_restJson1ZendeskDestinationProperties = function (input, context) {
|
|
3066
|
-
return __assign(__assign(__assign(__assign({}, (input.errorHandlingConfig
|
|
3067
|
-
input.errorHandlingConfig !== null && {
|
|
2896
|
+
return __assign(__assign(__assign(__assign({}, (input.errorHandlingConfig != null && {
|
|
3068
2897
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
3069
|
-
})), (input.idFieldNames
|
|
3070
|
-
input.idFieldNames !== null && {
|
|
2898
|
+
})), (input.idFieldNames != null && {
|
|
3071
2899
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
3072
|
-
})), (input.object
|
|
3073
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }));
|
|
2900
|
+
})), (input.object != null && { object: input.object })), (input.writeOperationType != null && { writeOperationType: input.writeOperationType }));
|
|
3074
2901
|
};
|
|
3075
2902
|
var serializeAws_restJson1ZendeskSourceProperties = function (input, context) {
|
|
3076
|
-
return __assign({}, (input.object
|
|
2903
|
+
return __assign({}, (input.object != null && { object: input.object }));
|
|
3077
2904
|
};
|
|
3078
2905
|
var deserializeAws_restJson1AggregationConfig = function (output, context) {
|
|
3079
2906
|
return {
|
|
@@ -3104,21 +2931,21 @@ var deserializeAws_restJson1AuthCodeUrlList = function (output, context) {
|
|
|
3104
2931
|
};
|
|
3105
2932
|
var deserializeAws_restJson1AuthenticationConfig = function (output, context) {
|
|
3106
2933
|
return {
|
|
3107
|
-
customAuthConfigs: output.customAuthConfigs
|
|
2934
|
+
customAuthConfigs: output.customAuthConfigs != null
|
|
3108
2935
|
? deserializeAws_restJson1CustomAuthConfigList(output.customAuthConfigs, context)
|
|
3109
2936
|
: undefined,
|
|
3110
2937
|
isApiKeyAuthSupported: __expectBoolean(output.isApiKeyAuthSupported),
|
|
3111
2938
|
isBasicAuthSupported: __expectBoolean(output.isBasicAuthSupported),
|
|
3112
2939
|
isCustomAuthSupported: __expectBoolean(output.isCustomAuthSupported),
|
|
3113
2940
|
isOAuth2Supported: __expectBoolean(output.isOAuth2Supported),
|
|
3114
|
-
oAuth2Defaults: output.oAuth2Defaults
|
|
2941
|
+
oAuth2Defaults: output.oAuth2Defaults != null
|
|
3115
2942
|
? deserializeAws_restJson1OAuth2Defaults(output.oAuth2Defaults, context)
|
|
3116
2943
|
: undefined,
|
|
3117
2944
|
};
|
|
3118
2945
|
};
|
|
3119
2946
|
var deserializeAws_restJson1AuthParameter = function (output, context) {
|
|
3120
2947
|
return {
|
|
3121
|
-
connectorSuppliedValues: output.connectorSuppliedValues
|
|
2948
|
+
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
3122
2949
|
? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
3123
2950
|
: undefined,
|
|
3124
2951
|
description: __expectString(output.description),
|
|
@@ -3141,7 +2968,7 @@ var deserializeAws_restJson1AuthParameterList = function (output, context) {
|
|
|
3141
2968
|
};
|
|
3142
2969
|
var deserializeAws_restJson1ConnectorConfiguration = function (output, context) {
|
|
3143
2970
|
return {
|
|
3144
|
-
authenticationConfig: output.authenticationConfig
|
|
2971
|
+
authenticationConfig: output.authenticationConfig != null
|
|
3145
2972
|
? deserializeAws_restJson1AuthenticationConfig(output.authenticationConfig, context)
|
|
3146
2973
|
: undefined,
|
|
3147
2974
|
canUseAsDestination: __expectBoolean(output.canUseAsDestination),
|
|
@@ -3149,19 +2976,19 @@ var deserializeAws_restJson1ConnectorConfiguration = function (output, context)
|
|
|
3149
2976
|
connectorArn: __expectString(output.connectorArn),
|
|
3150
2977
|
connectorDescription: __expectString(output.connectorDescription),
|
|
3151
2978
|
connectorLabel: __expectString(output.connectorLabel),
|
|
3152
|
-
connectorMetadata: output.connectorMetadata
|
|
2979
|
+
connectorMetadata: output.connectorMetadata != null
|
|
3153
2980
|
? deserializeAws_restJson1ConnectorMetadata(output.connectorMetadata, context)
|
|
3154
2981
|
: undefined,
|
|
3155
|
-
connectorModes: output.connectorModes
|
|
2982
|
+
connectorModes: output.connectorModes != null
|
|
3156
2983
|
? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
|
|
3157
2984
|
: undefined,
|
|
3158
2985
|
connectorName: __expectString(output.connectorName),
|
|
3159
2986
|
connectorOwner: __expectString(output.connectorOwner),
|
|
3160
|
-
connectorProvisioningConfig: output.connectorProvisioningConfig
|
|
2987
|
+
connectorProvisioningConfig: output.connectorProvisioningConfig != null
|
|
3161
2988
|
? deserializeAws_restJson1ConnectorProvisioningConfig(output.connectorProvisioningConfig, context)
|
|
3162
2989
|
: undefined,
|
|
3163
2990
|
connectorProvisioningType: __expectString(output.connectorProvisioningType),
|
|
3164
|
-
connectorRuntimeSettings: output.connectorRuntimeSettings
|
|
2991
|
+
connectorRuntimeSettings: output.connectorRuntimeSettings != null
|
|
3165
2992
|
? deserializeAws_restJson1ConnectorRuntimeSettingList(output.connectorRuntimeSettings, context)
|
|
3166
2993
|
: undefined,
|
|
3167
2994
|
connectorType: __expectString(output.connectorType),
|
|
@@ -3169,26 +2996,26 @@ var deserializeAws_restJson1ConnectorConfiguration = function (output, context)
|
|
|
3169
2996
|
isPrivateLinkEnabled: __expectBoolean(output.isPrivateLinkEnabled),
|
|
3170
2997
|
isPrivateLinkEndpointUrlRequired: __expectBoolean(output.isPrivateLinkEndpointUrlRequired),
|
|
3171
2998
|
logoURL: __expectString(output.logoURL),
|
|
3172
|
-
registeredAt: output.registeredAt
|
|
2999
|
+
registeredAt: output.registeredAt != null
|
|
3173
3000
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registeredAt)))
|
|
3174
3001
|
: undefined,
|
|
3175
3002
|
registeredBy: __expectString(output.registeredBy),
|
|
3176
|
-
supportedApiVersions: output.supportedApiVersions
|
|
3003
|
+
supportedApiVersions: output.supportedApiVersions != null
|
|
3177
3004
|
? deserializeAws_restJson1SupportedApiVersionList(output.supportedApiVersions, context)
|
|
3178
3005
|
: undefined,
|
|
3179
|
-
supportedDestinationConnectors: output.supportedDestinationConnectors
|
|
3006
|
+
supportedDestinationConnectors: output.supportedDestinationConnectors != null
|
|
3180
3007
|
? deserializeAws_restJson1ConnectorTypeList(output.supportedDestinationConnectors, context)
|
|
3181
3008
|
: undefined,
|
|
3182
|
-
supportedOperators: output.supportedOperators
|
|
3009
|
+
supportedOperators: output.supportedOperators != null
|
|
3183
3010
|
? deserializeAws_restJson1SupportedOperatorList(output.supportedOperators, context)
|
|
3184
3011
|
: undefined,
|
|
3185
|
-
supportedSchedulingFrequencies: output.supportedSchedulingFrequencies
|
|
3012
|
+
supportedSchedulingFrequencies: output.supportedSchedulingFrequencies != null
|
|
3186
3013
|
? deserializeAws_restJson1SchedulingFrequencyTypeList(output.supportedSchedulingFrequencies, context)
|
|
3187
3014
|
: undefined,
|
|
3188
|
-
supportedTriggerTypes: output.supportedTriggerTypes
|
|
3015
|
+
supportedTriggerTypes: output.supportedTriggerTypes != null
|
|
3189
3016
|
? deserializeAws_restJson1TriggerTypeList(output.supportedTriggerTypes, context)
|
|
3190
3017
|
: undefined,
|
|
3191
|
-
supportedWriteOperations: output.supportedWriteOperations
|
|
3018
|
+
supportedWriteOperations: output.supportedWriteOperations != null
|
|
3192
3019
|
? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
3193
3020
|
: undefined,
|
|
3194
3021
|
};
|
|
@@ -3208,7 +3035,7 @@ var deserializeAws_restJson1ConnectorDetail = function (output, context) {
|
|
|
3208
3035
|
applicationType: __expectString(output.applicationType),
|
|
3209
3036
|
connectorDescription: __expectString(output.connectorDescription),
|
|
3210
3037
|
connectorLabel: __expectString(output.connectorLabel),
|
|
3211
|
-
connectorModes: output.connectorModes
|
|
3038
|
+
connectorModes: output.connectorModes != null
|
|
3212
3039
|
? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
|
|
3213
3040
|
: undefined,
|
|
3214
3041
|
connectorName: __expectString(output.connectorName),
|
|
@@ -3216,7 +3043,7 @@ var deserializeAws_restJson1ConnectorDetail = function (output, context) {
|
|
|
3216
3043
|
connectorProvisioningType: __expectString(output.connectorProvisioningType),
|
|
3217
3044
|
connectorType: __expectString(output.connectorType),
|
|
3218
3045
|
connectorVersion: __expectString(output.connectorVersion),
|
|
3219
|
-
registeredAt: output.registeredAt
|
|
3046
|
+
registeredAt: output.registeredAt != null
|
|
3220
3047
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registeredAt)))
|
|
3221
3048
|
: undefined,
|
|
3222
3049
|
registeredBy: __expectString(output.registeredBy),
|
|
@@ -3231,12 +3058,12 @@ var deserializeAws_restJson1ConnectorEntity = function (output, context) {
|
|
|
3231
3058
|
};
|
|
3232
3059
|
var deserializeAws_restJson1ConnectorEntityField = function (output, context) {
|
|
3233
3060
|
return {
|
|
3234
|
-
customProperties: output.customProperties
|
|
3061
|
+
customProperties: output.customProperties != null
|
|
3235
3062
|
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3236
3063
|
: undefined,
|
|
3237
3064
|
defaultValue: __expectString(output.defaultValue),
|
|
3238
3065
|
description: __expectString(output.description),
|
|
3239
|
-
destinationProperties: output.destinationProperties
|
|
3066
|
+
destinationProperties: output.destinationProperties != null
|
|
3240
3067
|
? deserializeAws_restJson1DestinationFieldProperties(output.destinationProperties, context)
|
|
3241
3068
|
: undefined,
|
|
3242
3069
|
identifier: __expectString(output.identifier),
|
|
@@ -3244,10 +3071,10 @@ var deserializeAws_restJson1ConnectorEntityField = function (output, context) {
|
|
|
3244
3071
|
isPrimaryKey: __expectBoolean(output.isPrimaryKey),
|
|
3245
3072
|
label: __expectString(output.label),
|
|
3246
3073
|
parentIdentifier: __expectString(output.parentIdentifier),
|
|
3247
|
-
sourceProperties: output.sourceProperties
|
|
3074
|
+
sourceProperties: output.sourceProperties != null
|
|
3248
3075
|
? deserializeAws_restJson1SourceFieldProperties(output.sourceProperties, context)
|
|
3249
3076
|
: undefined,
|
|
3250
|
-
supportedFieldTypeDetails: output.supportedFieldTypeDetails
|
|
3077
|
+
supportedFieldTypeDetails: output.supportedFieldTypeDetails != null
|
|
3251
3078
|
? deserializeAws_restJson1SupportedFieldTypeDetails(output.supportedFieldTypeDetails, context)
|
|
3252
3079
|
: undefined,
|
|
3253
3080
|
};
|
|
@@ -3297,69 +3124,31 @@ var deserializeAws_restJson1ConnectorList = function (output, context) {
|
|
|
3297
3124
|
};
|
|
3298
3125
|
var deserializeAws_restJson1ConnectorMetadata = function (output, context) {
|
|
3299
3126
|
return {
|
|
3300
|
-
Amplitude: output.Amplitude
|
|
3301
|
-
|
|
3302
|
-
: undefined,
|
|
3303
|
-
CustomerProfiles: output.CustomerProfiles !== undefined && output.CustomerProfiles !== null
|
|
3127
|
+
Amplitude: output.Amplitude != null ? deserializeAws_restJson1AmplitudeMetadata(output.Amplitude, context) : undefined,
|
|
3128
|
+
CustomerProfiles: output.CustomerProfiles != null
|
|
3304
3129
|
? deserializeAws_restJson1CustomerProfilesMetadata(output.CustomerProfiles, context)
|
|
3305
3130
|
: undefined,
|
|
3306
|
-
Datadog: output.Datadog
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
? deserializeAws_restJson1DynatraceMetadata(output.Dynatrace, context)
|
|
3311
|
-
: undefined,
|
|
3312
|
-
EventBridge: output.EventBridge !== undefined && output.EventBridge !== null
|
|
3313
|
-
? deserializeAws_restJson1EventBridgeMetadata(output.EventBridge, context)
|
|
3314
|
-
: undefined,
|
|
3315
|
-
GoogleAnalytics: output.GoogleAnalytics !== undefined && output.GoogleAnalytics !== null
|
|
3131
|
+
Datadog: output.Datadog != null ? deserializeAws_restJson1DatadogMetadata(output.Datadog, context) : undefined,
|
|
3132
|
+
Dynatrace: output.Dynatrace != null ? deserializeAws_restJson1DynatraceMetadata(output.Dynatrace, context) : undefined,
|
|
3133
|
+
EventBridge: output.EventBridge != null ? deserializeAws_restJson1EventBridgeMetadata(output.EventBridge, context) : undefined,
|
|
3134
|
+
GoogleAnalytics: output.GoogleAnalytics != null
|
|
3316
3135
|
? deserializeAws_restJson1GoogleAnalyticsMetadata(output.GoogleAnalytics, context)
|
|
3317
3136
|
: undefined,
|
|
3318
|
-
Honeycode: output.Honeycode
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
3334
|
-
? deserializeAws_restJson1SAPODataMetadata(output.SAPOData, context)
|
|
3335
|
-
: undefined,
|
|
3336
|
-
Salesforce: output.Salesforce !== undefined && output.Salesforce !== null
|
|
3337
|
-
? deserializeAws_restJson1SalesforceMetadata(output.Salesforce, context)
|
|
3338
|
-
: undefined,
|
|
3339
|
-
ServiceNow: output.ServiceNow !== undefined && output.ServiceNow !== null
|
|
3340
|
-
? deserializeAws_restJson1ServiceNowMetadata(output.ServiceNow, context)
|
|
3341
|
-
: undefined,
|
|
3342
|
-
Singular: output.Singular !== undefined && output.Singular !== null
|
|
3343
|
-
? deserializeAws_restJson1SingularMetadata(output.Singular, context)
|
|
3344
|
-
: undefined,
|
|
3345
|
-
Slack: output.Slack !== undefined && output.Slack !== null
|
|
3346
|
-
? deserializeAws_restJson1SlackMetadata(output.Slack, context)
|
|
3347
|
-
: undefined,
|
|
3348
|
-
Snowflake: output.Snowflake !== undefined && output.Snowflake !== null
|
|
3349
|
-
? deserializeAws_restJson1SnowflakeMetadata(output.Snowflake, context)
|
|
3350
|
-
: undefined,
|
|
3351
|
-
Trendmicro: output.Trendmicro !== undefined && output.Trendmicro !== null
|
|
3352
|
-
? deserializeAws_restJson1TrendmicroMetadata(output.Trendmicro, context)
|
|
3353
|
-
: undefined,
|
|
3354
|
-
Upsolver: output.Upsolver !== undefined && output.Upsolver !== null
|
|
3355
|
-
? deserializeAws_restJson1UpsolverMetadata(output.Upsolver, context)
|
|
3356
|
-
: undefined,
|
|
3357
|
-
Veeva: output.Veeva !== undefined && output.Veeva !== null
|
|
3358
|
-
? deserializeAws_restJson1VeevaMetadata(output.Veeva, context)
|
|
3359
|
-
: undefined,
|
|
3360
|
-
Zendesk: output.Zendesk !== undefined && output.Zendesk !== null
|
|
3361
|
-
? deserializeAws_restJson1ZendeskMetadata(output.Zendesk, context)
|
|
3362
|
-
: undefined,
|
|
3137
|
+
Honeycode: output.Honeycode != null ? deserializeAws_restJson1HoneycodeMetadata(output.Honeycode, context) : undefined,
|
|
3138
|
+
InforNexus: output.InforNexus != null ? deserializeAws_restJson1InforNexusMetadata(output.InforNexus, context) : undefined,
|
|
3139
|
+
Marketo: output.Marketo != null ? deserializeAws_restJson1MarketoMetadata(output.Marketo, context) : undefined,
|
|
3140
|
+
Redshift: output.Redshift != null ? deserializeAws_restJson1RedshiftMetadata(output.Redshift, context) : undefined,
|
|
3141
|
+
S3: output.S3 != null ? deserializeAws_restJson1S3Metadata(output.S3, context) : undefined,
|
|
3142
|
+
SAPOData: output.SAPOData != null ? deserializeAws_restJson1SAPODataMetadata(output.SAPOData, context) : undefined,
|
|
3143
|
+
Salesforce: output.Salesforce != null ? deserializeAws_restJson1SalesforceMetadata(output.Salesforce, context) : undefined,
|
|
3144
|
+
ServiceNow: output.ServiceNow != null ? deserializeAws_restJson1ServiceNowMetadata(output.ServiceNow, context) : undefined,
|
|
3145
|
+
Singular: output.Singular != null ? deserializeAws_restJson1SingularMetadata(output.Singular, context) : undefined,
|
|
3146
|
+
Slack: output.Slack != null ? deserializeAws_restJson1SlackMetadata(output.Slack, context) : undefined,
|
|
3147
|
+
Snowflake: output.Snowflake != null ? deserializeAws_restJson1SnowflakeMetadata(output.Snowflake, context) : undefined,
|
|
3148
|
+
Trendmicro: output.Trendmicro != null ? deserializeAws_restJson1TrendmicroMetadata(output.Trendmicro, context) : undefined,
|
|
3149
|
+
Upsolver: output.Upsolver != null ? deserializeAws_restJson1UpsolverMetadata(output.Upsolver, context) : undefined,
|
|
3150
|
+
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaMetadata(output.Veeva, context) : undefined,
|
|
3151
|
+
Zendesk: output.Zendesk != null ? deserializeAws_restJson1ZendeskMetadata(output.Zendesk, context) : undefined,
|
|
3363
3152
|
};
|
|
3364
3153
|
};
|
|
3365
3154
|
var deserializeAws_restJson1ConnectorModeList = function (output, context) {
|
|
@@ -3399,18 +3188,16 @@ var deserializeAws_restJson1ConnectorProfile = function (output, context) {
|
|
|
3399
3188
|
connectorLabel: __expectString(output.connectorLabel),
|
|
3400
3189
|
connectorProfileArn: __expectString(output.connectorProfileArn),
|
|
3401
3190
|
connectorProfileName: __expectString(output.connectorProfileName),
|
|
3402
|
-
connectorProfileProperties: output.connectorProfileProperties
|
|
3191
|
+
connectorProfileProperties: output.connectorProfileProperties != null
|
|
3403
3192
|
? deserializeAws_restJson1ConnectorProfileProperties(output.connectorProfileProperties, context)
|
|
3404
3193
|
: undefined,
|
|
3405
3194
|
connectorType: __expectString(output.connectorType),
|
|
3406
|
-
createdAt: output.createdAt
|
|
3407
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
3408
|
-
: undefined,
|
|
3195
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
3409
3196
|
credentialsArn: __expectString(output.credentialsArn),
|
|
3410
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
3197
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3411
3198
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
3412
3199
|
: undefined,
|
|
3413
|
-
privateConnectionProvisioningState: output.privateConnectionProvisioningState
|
|
3200
|
+
privateConnectionProvisioningState: output.privateConnectionProvisioningState != null
|
|
3414
3201
|
? deserializeAws_restJson1PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
|
|
3415
3202
|
: undefined,
|
|
3416
3203
|
};
|
|
@@ -3428,72 +3215,68 @@ var deserializeAws_restJson1ConnectorProfileDetailList = function (output, conte
|
|
|
3428
3215
|
};
|
|
3429
3216
|
var deserializeAws_restJson1ConnectorProfileProperties = function (output, context) {
|
|
3430
3217
|
return {
|
|
3431
|
-
Amplitude: output.Amplitude
|
|
3218
|
+
Amplitude: output.Amplitude != null
|
|
3432
3219
|
? deserializeAws_restJson1AmplitudeConnectorProfileProperties(output.Amplitude, context)
|
|
3433
3220
|
: undefined,
|
|
3434
|
-
CustomConnector: output.CustomConnector
|
|
3221
|
+
CustomConnector: output.CustomConnector != null
|
|
3435
3222
|
? deserializeAws_restJson1CustomConnectorProfileProperties(output.CustomConnector, context)
|
|
3436
3223
|
: undefined,
|
|
3437
|
-
Datadog: output.Datadog
|
|
3224
|
+
Datadog: output.Datadog != null
|
|
3438
3225
|
? deserializeAws_restJson1DatadogConnectorProfileProperties(output.Datadog, context)
|
|
3439
3226
|
: undefined,
|
|
3440
|
-
Dynatrace: output.Dynatrace
|
|
3227
|
+
Dynatrace: output.Dynatrace != null
|
|
3441
3228
|
? deserializeAws_restJson1DynatraceConnectorProfileProperties(output.Dynatrace, context)
|
|
3442
3229
|
: undefined,
|
|
3443
|
-
GoogleAnalytics: output.GoogleAnalytics
|
|
3230
|
+
GoogleAnalytics: output.GoogleAnalytics != null
|
|
3444
3231
|
? deserializeAws_restJson1GoogleAnalyticsConnectorProfileProperties(output.GoogleAnalytics, context)
|
|
3445
3232
|
: undefined,
|
|
3446
|
-
Honeycode: output.Honeycode
|
|
3233
|
+
Honeycode: output.Honeycode != null
|
|
3447
3234
|
? deserializeAws_restJson1HoneycodeConnectorProfileProperties(output.Honeycode, context)
|
|
3448
3235
|
: undefined,
|
|
3449
|
-
InforNexus: output.InforNexus
|
|
3236
|
+
InforNexus: output.InforNexus != null
|
|
3450
3237
|
? deserializeAws_restJson1InforNexusConnectorProfileProperties(output.InforNexus, context)
|
|
3451
3238
|
: undefined,
|
|
3452
|
-
Marketo: output.Marketo
|
|
3239
|
+
Marketo: output.Marketo != null
|
|
3453
3240
|
? deserializeAws_restJson1MarketoConnectorProfileProperties(output.Marketo, context)
|
|
3454
3241
|
: undefined,
|
|
3455
|
-
Redshift: output.Redshift
|
|
3242
|
+
Redshift: output.Redshift != null
|
|
3456
3243
|
? deserializeAws_restJson1RedshiftConnectorProfileProperties(output.Redshift, context)
|
|
3457
3244
|
: undefined,
|
|
3458
|
-
SAPOData: output.SAPOData
|
|
3245
|
+
SAPOData: output.SAPOData != null
|
|
3459
3246
|
? deserializeAws_restJson1SAPODataConnectorProfileProperties(output.SAPOData, context)
|
|
3460
3247
|
: undefined,
|
|
3461
|
-
Salesforce: output.Salesforce
|
|
3248
|
+
Salesforce: output.Salesforce != null
|
|
3462
3249
|
? deserializeAws_restJson1SalesforceConnectorProfileProperties(output.Salesforce, context)
|
|
3463
3250
|
: undefined,
|
|
3464
|
-
ServiceNow: output.ServiceNow
|
|
3251
|
+
ServiceNow: output.ServiceNow != null
|
|
3465
3252
|
? deserializeAws_restJson1ServiceNowConnectorProfileProperties(output.ServiceNow, context)
|
|
3466
3253
|
: undefined,
|
|
3467
|
-
Singular: output.Singular
|
|
3254
|
+
Singular: output.Singular != null
|
|
3468
3255
|
? deserializeAws_restJson1SingularConnectorProfileProperties(output.Singular, context)
|
|
3469
3256
|
: undefined,
|
|
3470
|
-
Slack: output.Slack
|
|
3471
|
-
|
|
3472
|
-
: undefined,
|
|
3473
|
-
Snowflake: output.Snowflake !== undefined && output.Snowflake !== null
|
|
3257
|
+
Slack: output.Slack != null ? deserializeAws_restJson1SlackConnectorProfileProperties(output.Slack, context) : undefined,
|
|
3258
|
+
Snowflake: output.Snowflake != null
|
|
3474
3259
|
? deserializeAws_restJson1SnowflakeConnectorProfileProperties(output.Snowflake, context)
|
|
3475
3260
|
: undefined,
|
|
3476
|
-
Trendmicro: output.Trendmicro
|
|
3261
|
+
Trendmicro: output.Trendmicro != null
|
|
3477
3262
|
? deserializeAws_restJson1TrendmicroConnectorProfileProperties(output.Trendmicro, context)
|
|
3478
3263
|
: undefined,
|
|
3479
|
-
Veeva: output.Veeva
|
|
3480
|
-
|
|
3481
|
-
: undefined,
|
|
3482
|
-
Zendesk: output.Zendesk !== undefined && output.Zendesk !== null
|
|
3264
|
+
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaConnectorProfileProperties(output.Veeva, context) : undefined,
|
|
3265
|
+
Zendesk: output.Zendesk != null
|
|
3483
3266
|
? deserializeAws_restJson1ZendeskConnectorProfileProperties(output.Zendesk, context)
|
|
3484
3267
|
: undefined,
|
|
3485
3268
|
};
|
|
3486
3269
|
};
|
|
3487
3270
|
var deserializeAws_restJson1ConnectorProvisioningConfig = function (output, context) {
|
|
3488
3271
|
return {
|
|
3489
|
-
lambda: output.lambda
|
|
3272
|
+
lambda: output.lambda != null
|
|
3490
3273
|
? deserializeAws_restJson1LambdaConnectorProvisioningConfig(output.lambda, context)
|
|
3491
3274
|
: undefined,
|
|
3492
3275
|
};
|
|
3493
3276
|
};
|
|
3494
3277
|
var deserializeAws_restJson1ConnectorRuntimeSetting = function (output, context) {
|
|
3495
3278
|
return {
|
|
3496
|
-
connectorSuppliedValueOptions: output.connectorSuppliedValueOptions
|
|
3279
|
+
connectorSuppliedValueOptions: output.connectorSuppliedValueOptions != null
|
|
3497
3280
|
? deserializeAws_restJson1ConnectorSuppliedValueOptionList(output.connectorSuppliedValueOptions, context)
|
|
3498
3281
|
: undefined,
|
|
3499
3282
|
dataType: __expectString(output.dataType),
|
|
@@ -3550,7 +3333,7 @@ var deserializeAws_restJson1ConnectorTypeList = function (output, context) {
|
|
|
3550
3333
|
};
|
|
3551
3334
|
var deserializeAws_restJson1CustomAuthConfig = function (output, context) {
|
|
3552
3335
|
return {
|
|
3553
|
-
authParameters: output.authParameters
|
|
3336
|
+
authParameters: output.authParameters != null
|
|
3554
3337
|
? deserializeAws_restJson1AuthParameterList(output.authParameters, context)
|
|
3555
3338
|
: undefined,
|
|
3556
3339
|
customAuthenticationType: __expectString(output.customAuthenticationType),
|
|
@@ -3569,32 +3352,30 @@ var deserializeAws_restJson1CustomAuthConfigList = function (output, context) {
|
|
|
3569
3352
|
};
|
|
3570
3353
|
var deserializeAws_restJson1CustomConnectorDestinationProperties = function (output, context) {
|
|
3571
3354
|
return {
|
|
3572
|
-
customProperties: output.customProperties
|
|
3355
|
+
customProperties: output.customProperties != null
|
|
3573
3356
|
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3574
3357
|
: undefined,
|
|
3575
3358
|
entityName: __expectString(output.entityName),
|
|
3576
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3359
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3577
3360
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3578
3361
|
: undefined,
|
|
3579
|
-
idFieldNames: output.idFieldNames
|
|
3580
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
3581
|
-
: undefined,
|
|
3362
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3582
3363
|
writeOperationType: __expectString(output.writeOperationType),
|
|
3583
3364
|
};
|
|
3584
3365
|
};
|
|
3585
3366
|
var deserializeAws_restJson1CustomConnectorProfileProperties = function (output, context) {
|
|
3586
3367
|
return {
|
|
3587
|
-
oAuth2Properties: output.oAuth2Properties
|
|
3368
|
+
oAuth2Properties: output.oAuth2Properties != null
|
|
3588
3369
|
? deserializeAws_restJson1OAuth2Properties(output.oAuth2Properties, context)
|
|
3589
3370
|
: undefined,
|
|
3590
|
-
profileProperties: output.profileProperties
|
|
3371
|
+
profileProperties: output.profileProperties != null
|
|
3591
3372
|
? deserializeAws_restJson1ProfilePropertiesMap(output.profileProperties, context)
|
|
3592
3373
|
: undefined,
|
|
3593
3374
|
};
|
|
3594
3375
|
};
|
|
3595
3376
|
var deserializeAws_restJson1CustomConnectorSourceProperties = function (output, context) {
|
|
3596
3377
|
return {
|
|
3597
|
-
customProperties: output.customProperties
|
|
3378
|
+
customProperties: output.customProperties != null
|
|
3598
3379
|
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3599
3380
|
: undefined,
|
|
3600
3381
|
entityName: __expectString(output.entityName),
|
|
@@ -3634,43 +3415,41 @@ var deserializeAws_restJson1DatadogSourceProperties = function (output, context)
|
|
|
3634
3415
|
};
|
|
3635
3416
|
var deserializeAws_restJson1DestinationConnectorProperties = function (output, context) {
|
|
3636
3417
|
return {
|
|
3637
|
-
CustomConnector: output.CustomConnector
|
|
3418
|
+
CustomConnector: output.CustomConnector != null
|
|
3638
3419
|
? deserializeAws_restJson1CustomConnectorDestinationProperties(output.CustomConnector, context)
|
|
3639
3420
|
: undefined,
|
|
3640
|
-
CustomerProfiles: output.CustomerProfiles
|
|
3421
|
+
CustomerProfiles: output.CustomerProfiles != null
|
|
3641
3422
|
? deserializeAws_restJson1CustomerProfilesDestinationProperties(output.CustomerProfiles, context)
|
|
3642
3423
|
: undefined,
|
|
3643
|
-
EventBridge: output.EventBridge
|
|
3424
|
+
EventBridge: output.EventBridge != null
|
|
3644
3425
|
? deserializeAws_restJson1EventBridgeDestinationProperties(output.EventBridge, context)
|
|
3645
3426
|
: undefined,
|
|
3646
|
-
Honeycode: output.Honeycode
|
|
3427
|
+
Honeycode: output.Honeycode != null
|
|
3647
3428
|
? deserializeAws_restJson1HoneycodeDestinationProperties(output.Honeycode, context)
|
|
3648
3429
|
: undefined,
|
|
3649
|
-
LookoutMetrics: output.LookoutMetrics
|
|
3430
|
+
LookoutMetrics: output.LookoutMetrics != null
|
|
3650
3431
|
? deserializeAws_restJson1LookoutMetricsDestinationProperties(output.LookoutMetrics, context)
|
|
3651
3432
|
: undefined,
|
|
3652
|
-
Marketo: output.Marketo
|
|
3433
|
+
Marketo: output.Marketo != null
|
|
3653
3434
|
? deserializeAws_restJson1MarketoDestinationProperties(output.Marketo, context)
|
|
3654
3435
|
: undefined,
|
|
3655
|
-
Redshift: output.Redshift
|
|
3436
|
+
Redshift: output.Redshift != null
|
|
3656
3437
|
? deserializeAws_restJson1RedshiftDestinationProperties(output.Redshift, context)
|
|
3657
3438
|
: undefined,
|
|
3658
|
-
S3: output.S3
|
|
3659
|
-
|
|
3660
|
-
: undefined,
|
|
3661
|
-
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
3439
|
+
S3: output.S3 != null ? deserializeAws_restJson1S3DestinationProperties(output.S3, context) : undefined,
|
|
3440
|
+
SAPOData: output.SAPOData != null
|
|
3662
3441
|
? deserializeAws_restJson1SAPODataDestinationProperties(output.SAPOData, context)
|
|
3663
3442
|
: undefined,
|
|
3664
|
-
Salesforce: output.Salesforce
|
|
3443
|
+
Salesforce: output.Salesforce != null
|
|
3665
3444
|
? deserializeAws_restJson1SalesforceDestinationProperties(output.Salesforce, context)
|
|
3666
3445
|
: undefined,
|
|
3667
|
-
Snowflake: output.Snowflake
|
|
3446
|
+
Snowflake: output.Snowflake != null
|
|
3668
3447
|
? deserializeAws_restJson1SnowflakeDestinationProperties(output.Snowflake, context)
|
|
3669
3448
|
: undefined,
|
|
3670
|
-
Upsolver: output.Upsolver
|
|
3449
|
+
Upsolver: output.Upsolver != null
|
|
3671
3450
|
? deserializeAws_restJson1UpsolverDestinationProperties(output.Upsolver, context)
|
|
3672
3451
|
: undefined,
|
|
3673
|
-
Zendesk: output.Zendesk
|
|
3452
|
+
Zendesk: output.Zendesk != null
|
|
3674
3453
|
? deserializeAws_restJson1ZendeskDestinationProperties(output.Zendesk, context)
|
|
3675
3454
|
: undefined,
|
|
3676
3455
|
};
|
|
@@ -3682,7 +3461,7 @@ var deserializeAws_restJson1DestinationFieldProperties = function (output, conte
|
|
|
3682
3461
|
isNullable: __expectBoolean(output.isNullable),
|
|
3683
3462
|
isUpdatable: __expectBoolean(output.isUpdatable),
|
|
3684
3463
|
isUpsertable: __expectBoolean(output.isUpsertable),
|
|
3685
|
-
supportedWriteOperations: output.supportedWriteOperations
|
|
3464
|
+
supportedWriteOperations: output.supportedWriteOperations != null
|
|
3686
3465
|
? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
3687
3466
|
: undefined,
|
|
3688
3467
|
};
|
|
@@ -3692,7 +3471,7 @@ var deserializeAws_restJson1DestinationFlowConfig = function (output, context) {
|
|
|
3692
3471
|
apiVersion: __expectString(output.apiVersion),
|
|
3693
3472
|
connectorProfileName: __expectString(output.connectorProfileName),
|
|
3694
3473
|
connectorType: __expectString(output.connectorType),
|
|
3695
|
-
destinationConnectorProperties: output.destinationConnectorProperties
|
|
3474
|
+
destinationConnectorProperties: output.destinationConnectorProperties != null
|
|
3696
3475
|
? deserializeAws_restJson1DestinationConnectorProperties(output.destinationConnectorProperties, context)
|
|
3697
3476
|
: undefined,
|
|
3698
3477
|
};
|
|
@@ -3736,7 +3515,7 @@ var deserializeAws_restJson1ErrorInfo = function (output, context) {
|
|
|
3736
3515
|
};
|
|
3737
3516
|
var deserializeAws_restJson1EventBridgeDestinationProperties = function (output, context) {
|
|
3738
3517
|
return {
|
|
3739
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3518
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3740
3519
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3741
3520
|
: undefined,
|
|
3742
3521
|
object: __expectString(output.object),
|
|
@@ -3749,56 +3528,48 @@ var deserializeAws_restJson1ExecutionDetails = function (output, context) {
|
|
|
3749
3528
|
return {
|
|
3750
3529
|
mostRecentExecutionMessage: __expectString(output.mostRecentExecutionMessage),
|
|
3751
3530
|
mostRecentExecutionStatus: __expectString(output.mostRecentExecutionStatus),
|
|
3752
|
-
mostRecentExecutionTime: output.mostRecentExecutionTime
|
|
3531
|
+
mostRecentExecutionTime: output.mostRecentExecutionTime != null
|
|
3753
3532
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.mostRecentExecutionTime)))
|
|
3754
3533
|
: undefined,
|
|
3755
3534
|
};
|
|
3756
3535
|
};
|
|
3757
3536
|
var deserializeAws_restJson1ExecutionRecord = function (output, context) {
|
|
3758
3537
|
return {
|
|
3759
|
-
dataPullEndTime: output.dataPullEndTime
|
|
3538
|
+
dataPullEndTime: output.dataPullEndTime != null
|
|
3760
3539
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.dataPullEndTime)))
|
|
3761
3540
|
: undefined,
|
|
3762
|
-
dataPullStartTime: output.dataPullStartTime
|
|
3541
|
+
dataPullStartTime: output.dataPullStartTime != null
|
|
3763
3542
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.dataPullStartTime)))
|
|
3764
3543
|
: undefined,
|
|
3765
3544
|
executionId: __expectString(output.executionId),
|
|
3766
|
-
executionResult: output.executionResult
|
|
3545
|
+
executionResult: output.executionResult != null
|
|
3767
3546
|
? deserializeAws_restJson1ExecutionResult(output.executionResult, context)
|
|
3768
3547
|
: undefined,
|
|
3769
3548
|
executionStatus: __expectString(output.executionStatus),
|
|
3770
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
3549
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3771
3550
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
3772
3551
|
: undefined,
|
|
3773
|
-
startedAt: output.startedAt
|
|
3774
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
|
|
3775
|
-
: undefined,
|
|
3552
|
+
startedAt: output.startedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt))) : undefined,
|
|
3776
3553
|
};
|
|
3777
3554
|
};
|
|
3778
3555
|
var deserializeAws_restJson1ExecutionResult = function (output, context) {
|
|
3779
3556
|
return {
|
|
3780
3557
|
bytesProcessed: __expectLong(output.bytesProcessed),
|
|
3781
3558
|
bytesWritten: __expectLong(output.bytesWritten),
|
|
3782
|
-
errorInfo: output.errorInfo
|
|
3783
|
-
? deserializeAws_restJson1ErrorInfo(output.errorInfo, context)
|
|
3784
|
-
: undefined,
|
|
3559
|
+
errorInfo: output.errorInfo != null ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context) : undefined,
|
|
3785
3560
|
recordsProcessed: __expectLong(output.recordsProcessed),
|
|
3786
3561
|
};
|
|
3787
3562
|
};
|
|
3788
3563
|
var deserializeAws_restJson1FieldTypeDetails = function (output, context) {
|
|
3789
3564
|
return {
|
|
3790
|
-
fieldLengthRange: output.fieldLengthRange
|
|
3791
|
-
? deserializeAws_restJson1Range(output.fieldLengthRange, context)
|
|
3792
|
-
: undefined,
|
|
3565
|
+
fieldLengthRange: output.fieldLengthRange != null ? deserializeAws_restJson1Range(output.fieldLengthRange, context) : undefined,
|
|
3793
3566
|
fieldType: __expectString(output.fieldType),
|
|
3794
|
-
fieldValueRange: output.fieldValueRange
|
|
3795
|
-
|
|
3796
|
-
: undefined,
|
|
3797
|
-
filterOperators: output.filterOperators !== undefined && output.filterOperators !== null
|
|
3567
|
+
fieldValueRange: output.fieldValueRange != null ? deserializeAws_restJson1Range(output.fieldValueRange, context) : undefined,
|
|
3568
|
+
filterOperators: output.filterOperators != null
|
|
3798
3569
|
? deserializeAws_restJson1FilterOperatorList(output.filterOperators, context)
|
|
3799
3570
|
: undefined,
|
|
3800
3571
|
supportedDateFormat: __expectString(output.supportedDateFormat),
|
|
3801
|
-
supportedValues: output.supportedValues
|
|
3572
|
+
supportedValues: output.supportedValues != null
|
|
3802
3573
|
? deserializeAws_restJson1SupportedValueList(output.supportedValues, context)
|
|
3803
3574
|
: undefined,
|
|
3804
3575
|
valueRegexPattern: __expectString(output.valueRegexPattern),
|
|
@@ -3817,9 +3588,7 @@ var deserializeAws_restJson1FilterOperatorList = function (output, context) {
|
|
|
3817
3588
|
};
|
|
3818
3589
|
var deserializeAws_restJson1FlowDefinition = function (output, context) {
|
|
3819
3590
|
return {
|
|
3820
|
-
createdAt: output.createdAt
|
|
3821
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
3822
|
-
: undefined,
|
|
3591
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
3823
3592
|
createdBy: __expectString(output.createdBy),
|
|
3824
3593
|
description: __expectString(output.description),
|
|
3825
3594
|
destinationConnectorLabel: __expectString(output.destinationConnectorLabel),
|
|
@@ -3827,18 +3596,16 @@ var deserializeAws_restJson1FlowDefinition = function (output, context) {
|
|
|
3827
3596
|
flowArn: __expectString(output.flowArn),
|
|
3828
3597
|
flowName: __expectString(output.flowName),
|
|
3829
3598
|
flowStatus: __expectString(output.flowStatus),
|
|
3830
|
-
lastRunExecutionDetails: output.lastRunExecutionDetails
|
|
3599
|
+
lastRunExecutionDetails: output.lastRunExecutionDetails != null
|
|
3831
3600
|
? deserializeAws_restJson1ExecutionDetails(output.lastRunExecutionDetails, context)
|
|
3832
3601
|
: undefined,
|
|
3833
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
3602
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3834
3603
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
3835
3604
|
: undefined,
|
|
3836
3605
|
lastUpdatedBy: __expectString(output.lastUpdatedBy),
|
|
3837
3606
|
sourceConnectorLabel: __expectString(output.sourceConnectorLabel),
|
|
3838
3607
|
sourceConnectorType: __expectString(output.sourceConnectorType),
|
|
3839
|
-
tags: output.tags
|
|
3840
|
-
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3841
|
-
: undefined,
|
|
3608
|
+
tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
|
|
3842
3609
|
triggerType: __expectString(output.triggerType),
|
|
3843
3610
|
};
|
|
3844
3611
|
};
|
|
@@ -3869,9 +3636,7 @@ var deserializeAws_restJson1GoogleAnalyticsConnectorProfileProperties = function
|
|
|
3869
3636
|
};
|
|
3870
3637
|
var deserializeAws_restJson1GoogleAnalyticsMetadata = function (output, context) {
|
|
3871
3638
|
return {
|
|
3872
|
-
oAuthScopes: output.oAuthScopes
|
|
3873
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
3874
|
-
: undefined,
|
|
3639
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3875
3640
|
};
|
|
3876
3641
|
};
|
|
3877
3642
|
var deserializeAws_restJson1GoogleAnalyticsSourceProperties = function (output, context) {
|
|
@@ -3884,7 +3649,7 @@ var deserializeAws_restJson1HoneycodeConnectorProfileProperties = function (outp
|
|
|
3884
3649
|
};
|
|
3885
3650
|
var deserializeAws_restJson1HoneycodeDestinationProperties = function (output, context) {
|
|
3886
3651
|
return {
|
|
3887
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3652
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3888
3653
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3889
3654
|
: undefined,
|
|
3890
3655
|
object: __expectString(output.object),
|
|
@@ -3892,9 +3657,7 @@ var deserializeAws_restJson1HoneycodeDestinationProperties = function (output, c
|
|
|
3892
3657
|
};
|
|
3893
3658
|
var deserializeAws_restJson1HoneycodeMetadata = function (output, context) {
|
|
3894
3659
|
return {
|
|
3895
|
-
oAuthScopes: output.oAuthScopes
|
|
3896
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
3897
|
-
: undefined,
|
|
3660
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3898
3661
|
};
|
|
3899
3662
|
};
|
|
3900
3663
|
var deserializeAws_restJson1IdFieldNameList = function (output, context) {
|
|
@@ -3941,7 +3704,7 @@ var deserializeAws_restJson1MarketoConnectorProfileProperties = function (output
|
|
|
3941
3704
|
};
|
|
3942
3705
|
var deserializeAws_restJson1MarketoDestinationProperties = function (output, context) {
|
|
3943
3706
|
return {
|
|
3944
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3707
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3945
3708
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3946
3709
|
: undefined,
|
|
3947
3710
|
object: __expectString(output.object),
|
|
@@ -3957,7 +3720,7 @@ var deserializeAws_restJson1MarketoSourceProperties = function (output, context)
|
|
|
3957
3720
|
};
|
|
3958
3721
|
var deserializeAws_restJson1OAuth2CustomParameter = function (output, context) {
|
|
3959
3722
|
return {
|
|
3960
|
-
connectorSuppliedValues: output.connectorSuppliedValues
|
|
3723
|
+
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
3961
3724
|
? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
3962
3725
|
: undefined,
|
|
3963
3726
|
description: __expectString(output.description),
|
|
@@ -3981,21 +3744,15 @@ var deserializeAws_restJson1OAuth2CustomPropertiesList = function (output, conte
|
|
|
3981
3744
|
};
|
|
3982
3745
|
var deserializeAws_restJson1OAuth2Defaults = function (output, context) {
|
|
3983
3746
|
return {
|
|
3984
|
-
authCodeUrls: output.authCodeUrls
|
|
3985
|
-
|
|
3986
|
-
: undefined,
|
|
3987
|
-
oauth2CustomProperties: output.oauth2CustomProperties !== undefined && output.oauth2CustomProperties !== null
|
|
3747
|
+
authCodeUrls: output.authCodeUrls != null ? deserializeAws_restJson1AuthCodeUrlList(output.authCodeUrls, context) : undefined,
|
|
3748
|
+
oauth2CustomProperties: output.oauth2CustomProperties != null
|
|
3988
3749
|
? deserializeAws_restJson1OAuth2CustomPropertiesList(output.oauth2CustomProperties, context)
|
|
3989
3750
|
: undefined,
|
|
3990
|
-
oauth2GrantTypesSupported: output.oauth2GrantTypesSupported
|
|
3751
|
+
oauth2GrantTypesSupported: output.oauth2GrantTypesSupported != null
|
|
3991
3752
|
? deserializeAws_restJson1OAuth2GrantTypeSupportedList(output.oauth2GrantTypesSupported, context)
|
|
3992
3753
|
: undefined,
|
|
3993
|
-
oauthScopes: output.oauthScopes
|
|
3994
|
-
|
|
3995
|
-
: undefined,
|
|
3996
|
-
tokenUrls: output.tokenUrls !== undefined && output.tokenUrls !== null
|
|
3997
|
-
? deserializeAws_restJson1TokenUrlList(output.tokenUrls, context)
|
|
3998
|
-
: undefined,
|
|
3754
|
+
oauthScopes: output.oauthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oauthScopes, context) : undefined,
|
|
3755
|
+
tokenUrls: output.tokenUrls != null ? deserializeAws_restJson1TokenUrlList(output.tokenUrls, context) : undefined,
|
|
3999
3756
|
};
|
|
4000
3757
|
};
|
|
4001
3758
|
var deserializeAws_restJson1OAuth2GrantTypeSupportedList = function (output, context) {
|
|
@@ -4013,7 +3770,7 @@ var deserializeAws_restJson1OAuth2Properties = function (output, context) {
|
|
|
4013
3770
|
return {
|
|
4014
3771
|
oAuth2GrantType: __expectString(output.oAuth2GrantType),
|
|
4015
3772
|
tokenUrl: __expectString(output.tokenUrl),
|
|
4016
|
-
tokenUrlCustomProperties: output.tokenUrlCustomProperties
|
|
3773
|
+
tokenUrlCustomProperties: output.tokenUrlCustomProperties != null
|
|
4017
3774
|
? deserializeAws_restJson1TokenUrlCustomProperties(output.tokenUrlCustomProperties, context)
|
|
4018
3775
|
: undefined,
|
|
4019
3776
|
};
|
|
@@ -4021,9 +3778,7 @@ var deserializeAws_restJson1OAuth2Properties = function (output, context) {
|
|
|
4021
3778
|
var deserializeAws_restJson1OAuthProperties = function (output, context) {
|
|
4022
3779
|
return {
|
|
4023
3780
|
authCodeUrl: __expectString(output.authCodeUrl),
|
|
4024
|
-
oAuthScopes: output.oAuthScopes
|
|
4025
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4026
|
-
: undefined,
|
|
3781
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4027
3782
|
tokenUrl: __expectString(output.tokenUrl),
|
|
4028
3783
|
};
|
|
4029
3784
|
};
|
|
@@ -4078,7 +3833,7 @@ var deserializeAws_restJson1RedshiftConnectorProfileProperties = function (outpu
|
|
|
4078
3833
|
var deserializeAws_restJson1RedshiftDestinationProperties = function (output, context) {
|
|
4079
3834
|
return {
|
|
4080
3835
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4081
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3836
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4082
3837
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4083
3838
|
: undefined,
|
|
4084
3839
|
intermediateBucketName: __expectString(output.intermediateBucketName),
|
|
@@ -4103,7 +3858,7 @@ var deserializeAws_restJson1S3DestinationProperties = function (output, context)
|
|
|
4103
3858
|
return {
|
|
4104
3859
|
bucketName: __expectString(output.bucketName),
|
|
4105
3860
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4106
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig
|
|
3861
|
+
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
4107
3862
|
? deserializeAws_restJson1S3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
4108
3863
|
: undefined,
|
|
4109
3864
|
};
|
|
@@ -4118,13 +3873,11 @@ var deserializeAws_restJson1S3Metadata = function (output, context) {
|
|
|
4118
3873
|
};
|
|
4119
3874
|
var deserializeAws_restJson1S3OutputFormatConfig = function (output, context) {
|
|
4120
3875
|
return {
|
|
4121
|
-
aggregationConfig: output.aggregationConfig
|
|
3876
|
+
aggregationConfig: output.aggregationConfig != null
|
|
4122
3877
|
? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
|
|
4123
3878
|
: undefined,
|
|
4124
3879
|
fileType: __expectString(output.fileType),
|
|
4125
|
-
prefixConfig: output.prefixConfig
|
|
4126
|
-
? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
|
|
4127
|
-
: undefined,
|
|
3880
|
+
prefixConfig: output.prefixConfig != null ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context) : undefined,
|
|
4128
3881
|
preserveSourceDataTyping: __expectBoolean(output.preserveSourceDataTyping),
|
|
4129
3882
|
};
|
|
4130
3883
|
};
|
|
@@ -4132,7 +3885,7 @@ var deserializeAws_restJson1S3SourceProperties = function (output, context) {
|
|
|
4132
3885
|
return {
|
|
4133
3886
|
bucketName: __expectString(output.bucketName),
|
|
4134
3887
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4135
|
-
s3InputFormatConfig: output.s3InputFormatConfig
|
|
3888
|
+
s3InputFormatConfig: output.s3InputFormatConfig != null
|
|
4136
3889
|
? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
|
|
4137
3890
|
: undefined,
|
|
4138
3891
|
};
|
|
@@ -4145,21 +3898,17 @@ var deserializeAws_restJson1SalesforceConnectorProfileProperties = function (out
|
|
|
4145
3898
|
};
|
|
4146
3899
|
var deserializeAws_restJson1SalesforceDestinationProperties = function (output, context) {
|
|
4147
3900
|
return {
|
|
4148
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3901
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4149
3902
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4150
3903
|
: undefined,
|
|
4151
|
-
idFieldNames: output.idFieldNames
|
|
4152
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4153
|
-
: undefined,
|
|
3904
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4154
3905
|
object: __expectString(output.object),
|
|
4155
3906
|
writeOperationType: __expectString(output.writeOperationType),
|
|
4156
3907
|
};
|
|
4157
3908
|
};
|
|
4158
3909
|
var deserializeAws_restJson1SalesforceMetadata = function (output, context) {
|
|
4159
3910
|
return {
|
|
4160
|
-
oAuthScopes: output.oAuthScopes
|
|
4161
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4162
|
-
: undefined,
|
|
3911
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4163
3912
|
};
|
|
4164
3913
|
};
|
|
4165
3914
|
var deserializeAws_restJson1SalesforceSourceProperties = function (output, context) {
|
|
@@ -4175,7 +3924,7 @@ var deserializeAws_restJson1SAPODataConnectorProfileProperties = function (outpu
|
|
|
4175
3924
|
applicationServicePath: __expectString(output.applicationServicePath),
|
|
4176
3925
|
clientNumber: __expectString(output.clientNumber),
|
|
4177
3926
|
logonLanguage: __expectString(output.logonLanguage),
|
|
4178
|
-
oAuthProperties: output.oAuthProperties
|
|
3927
|
+
oAuthProperties: output.oAuthProperties != null
|
|
4179
3928
|
? deserializeAws_restJson1OAuthProperties(output.oAuthProperties, context)
|
|
4180
3929
|
: undefined,
|
|
4181
3930
|
portNumber: __expectInt32(output.portNumber),
|
|
@@ -4184,14 +3933,12 @@ var deserializeAws_restJson1SAPODataConnectorProfileProperties = function (outpu
|
|
|
4184
3933
|
};
|
|
4185
3934
|
var deserializeAws_restJson1SAPODataDestinationProperties = function (output, context) {
|
|
4186
3935
|
return {
|
|
4187
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3936
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4188
3937
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4189
3938
|
: undefined,
|
|
4190
|
-
idFieldNames: output.idFieldNames
|
|
4191
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4192
|
-
: undefined,
|
|
3939
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4193
3940
|
objectPath: __expectString(output.objectPath),
|
|
4194
|
-
successResponseHandlingConfig: output.successResponseHandlingConfig
|
|
3941
|
+
successResponseHandlingConfig: output.successResponseHandlingConfig != null
|
|
4195
3942
|
? deserializeAws_restJson1SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
|
|
4196
3943
|
: undefined,
|
|
4197
3944
|
writeOperationType: __expectString(output.writeOperationType),
|
|
@@ -4208,16 +3955,16 @@ var deserializeAws_restJson1SAPODataSourceProperties = function (output, context
|
|
|
4208
3955
|
var deserializeAws_restJson1ScheduledTriggerProperties = function (output, context) {
|
|
4209
3956
|
return {
|
|
4210
3957
|
dataPullMode: __expectString(output.dataPullMode),
|
|
4211
|
-
firstExecutionFrom: output.firstExecutionFrom
|
|
3958
|
+
firstExecutionFrom: output.firstExecutionFrom != null
|
|
4212
3959
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.firstExecutionFrom)))
|
|
4213
3960
|
: undefined,
|
|
4214
3961
|
flowErrorDeactivationThreshold: __expectInt32(output.flowErrorDeactivationThreshold),
|
|
4215
|
-
scheduleEndTime: output.scheduleEndTime
|
|
3962
|
+
scheduleEndTime: output.scheduleEndTime != null
|
|
4216
3963
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.scheduleEndTime)))
|
|
4217
3964
|
: undefined,
|
|
4218
3965
|
scheduleExpression: __expectString(output.scheduleExpression),
|
|
4219
3966
|
scheduleOffset: __expectLong(output.scheduleOffset),
|
|
4220
|
-
scheduleStartTime: output.scheduleStartTime
|
|
3967
|
+
scheduleStartTime: output.scheduleStartTime != null
|
|
4221
3968
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.scheduleStartTime)))
|
|
4222
3969
|
: undefined,
|
|
4223
3970
|
timezone: __expectString(output.timezone),
|
|
@@ -4265,9 +4012,7 @@ var deserializeAws_restJson1SlackConnectorProfileProperties = function (output,
|
|
|
4265
4012
|
};
|
|
4266
4013
|
var deserializeAws_restJson1SlackMetadata = function (output, context) {
|
|
4267
4014
|
return {
|
|
4268
|
-
oAuthScopes: output.oAuthScopes
|
|
4269
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4270
|
-
: undefined,
|
|
4015
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4271
4016
|
};
|
|
4272
4017
|
};
|
|
4273
4018
|
var deserializeAws_restJson1SlackSourceProperties = function (output, context) {
|
|
@@ -4289,7 +4034,7 @@ var deserializeAws_restJson1SnowflakeConnectorProfileProperties = function (outp
|
|
|
4289
4034
|
var deserializeAws_restJson1SnowflakeDestinationProperties = function (output, context) {
|
|
4290
4035
|
return {
|
|
4291
4036
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4292
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
4037
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4293
4038
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4294
4039
|
: undefined,
|
|
4295
4040
|
intermediateBucketName: __expectString(output.intermediateBucketName),
|
|
@@ -4298,61 +4043,45 @@ var deserializeAws_restJson1SnowflakeDestinationProperties = function (output, c
|
|
|
4298
4043
|
};
|
|
4299
4044
|
var deserializeAws_restJson1SnowflakeMetadata = function (output, context) {
|
|
4300
4045
|
return {
|
|
4301
|
-
supportedRegions: output.supportedRegions
|
|
4046
|
+
supportedRegions: output.supportedRegions != null
|
|
4302
4047
|
? deserializeAws_restJson1RegionList(output.supportedRegions, context)
|
|
4303
4048
|
: undefined,
|
|
4304
4049
|
};
|
|
4305
4050
|
};
|
|
4306
4051
|
var deserializeAws_restJson1SourceConnectorProperties = function (output, context) {
|
|
4307
4052
|
return {
|
|
4308
|
-
Amplitude: output.Amplitude
|
|
4053
|
+
Amplitude: output.Amplitude != null
|
|
4309
4054
|
? deserializeAws_restJson1AmplitudeSourceProperties(output.Amplitude, context)
|
|
4310
4055
|
: undefined,
|
|
4311
|
-
CustomConnector: output.CustomConnector
|
|
4056
|
+
CustomConnector: output.CustomConnector != null
|
|
4312
4057
|
? deserializeAws_restJson1CustomConnectorSourceProperties(output.CustomConnector, context)
|
|
4313
4058
|
: undefined,
|
|
4314
|
-
Datadog: output.Datadog
|
|
4315
|
-
|
|
4316
|
-
: undefined,
|
|
4317
|
-
Dynatrace: output.Dynatrace !== undefined && output.Dynatrace !== null
|
|
4059
|
+
Datadog: output.Datadog != null ? deserializeAws_restJson1DatadogSourceProperties(output.Datadog, context) : undefined,
|
|
4060
|
+
Dynatrace: output.Dynatrace != null
|
|
4318
4061
|
? deserializeAws_restJson1DynatraceSourceProperties(output.Dynatrace, context)
|
|
4319
4062
|
: undefined,
|
|
4320
|
-
GoogleAnalytics: output.GoogleAnalytics
|
|
4063
|
+
GoogleAnalytics: output.GoogleAnalytics != null
|
|
4321
4064
|
? deserializeAws_restJson1GoogleAnalyticsSourceProperties(output.GoogleAnalytics, context)
|
|
4322
4065
|
: undefined,
|
|
4323
|
-
InforNexus: output.InforNexus
|
|
4066
|
+
InforNexus: output.InforNexus != null
|
|
4324
4067
|
? deserializeAws_restJson1InforNexusSourceProperties(output.InforNexus, context)
|
|
4325
4068
|
: undefined,
|
|
4326
|
-
Marketo: output.Marketo
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
? deserializeAws_restJson1S3SourceProperties(output.S3, context)
|
|
4331
|
-
: undefined,
|
|
4332
|
-
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
4333
|
-
? deserializeAws_restJson1SAPODataSourceProperties(output.SAPOData, context)
|
|
4334
|
-
: undefined,
|
|
4335
|
-
Salesforce: output.Salesforce !== undefined && output.Salesforce !== null
|
|
4069
|
+
Marketo: output.Marketo != null ? deserializeAws_restJson1MarketoSourceProperties(output.Marketo, context) : undefined,
|
|
4070
|
+
S3: output.S3 != null ? deserializeAws_restJson1S3SourceProperties(output.S3, context) : undefined,
|
|
4071
|
+
SAPOData: output.SAPOData != null ? deserializeAws_restJson1SAPODataSourceProperties(output.SAPOData, context) : undefined,
|
|
4072
|
+
Salesforce: output.Salesforce != null
|
|
4336
4073
|
? deserializeAws_restJson1SalesforceSourceProperties(output.Salesforce, context)
|
|
4337
4074
|
: undefined,
|
|
4338
|
-
ServiceNow: output.ServiceNow
|
|
4075
|
+
ServiceNow: output.ServiceNow != null
|
|
4339
4076
|
? deserializeAws_restJson1ServiceNowSourceProperties(output.ServiceNow, context)
|
|
4340
4077
|
: undefined,
|
|
4341
|
-
Singular: output.Singular
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
Slack: output.Slack !== undefined && output.Slack !== null
|
|
4345
|
-
? deserializeAws_restJson1SlackSourceProperties(output.Slack, context)
|
|
4346
|
-
: undefined,
|
|
4347
|
-
Trendmicro: output.Trendmicro !== undefined && output.Trendmicro !== null
|
|
4078
|
+
Singular: output.Singular != null ? deserializeAws_restJson1SingularSourceProperties(output.Singular, context) : undefined,
|
|
4079
|
+
Slack: output.Slack != null ? deserializeAws_restJson1SlackSourceProperties(output.Slack, context) : undefined,
|
|
4080
|
+
Trendmicro: output.Trendmicro != null
|
|
4348
4081
|
? deserializeAws_restJson1TrendmicroSourceProperties(output.Trendmicro, context)
|
|
4349
4082
|
: undefined,
|
|
4350
|
-
Veeva: output.Veeva
|
|
4351
|
-
|
|
4352
|
-
: undefined,
|
|
4353
|
-
Zendesk: output.Zendesk !== undefined && output.Zendesk !== null
|
|
4354
|
-
? deserializeAws_restJson1ZendeskSourceProperties(output.Zendesk, context)
|
|
4355
|
-
: undefined,
|
|
4083
|
+
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaSourceProperties(output.Veeva, context) : undefined,
|
|
4084
|
+
Zendesk: output.Zendesk != null ? deserializeAws_restJson1ZendeskSourceProperties(output.Zendesk, context) : undefined,
|
|
4356
4085
|
};
|
|
4357
4086
|
};
|
|
4358
4087
|
var deserializeAws_restJson1SourceFieldProperties = function (output, context) {
|
|
@@ -4378,10 +4107,10 @@ var deserializeAws_restJson1SourceFlowConfig = function (output, context) {
|
|
|
4378
4107
|
apiVersion: __expectString(output.apiVersion),
|
|
4379
4108
|
connectorProfileName: __expectString(output.connectorProfileName),
|
|
4380
4109
|
connectorType: __expectString(output.connectorType),
|
|
4381
|
-
incrementalPullConfig: output.incrementalPullConfig
|
|
4110
|
+
incrementalPullConfig: output.incrementalPullConfig != null
|
|
4382
4111
|
? deserializeAws_restJson1IncrementalPullConfig(output.incrementalPullConfig, context)
|
|
4383
4112
|
: undefined,
|
|
4384
|
-
sourceConnectorProperties: output.sourceConnectorProperties
|
|
4113
|
+
sourceConnectorProperties: output.sourceConnectorProperties != null
|
|
4385
4114
|
? deserializeAws_restJson1SourceConnectorProperties(output.sourceConnectorProperties, context)
|
|
4386
4115
|
: undefined,
|
|
4387
4116
|
};
|
|
@@ -4405,9 +4134,7 @@ var deserializeAws_restJson1SupportedApiVersionList = function (output, context)
|
|
|
4405
4134
|
};
|
|
4406
4135
|
var deserializeAws_restJson1SupportedFieldTypeDetails = function (output, context) {
|
|
4407
4136
|
return {
|
|
4408
|
-
v1: output.v1
|
|
4409
|
-
? deserializeAws_restJson1FieldTypeDetails(output.v1, context)
|
|
4410
|
-
: undefined,
|
|
4137
|
+
v1: output.v1 != null ? deserializeAws_restJson1FieldTypeDetails(output.v1, context) : undefined,
|
|
4411
4138
|
};
|
|
4412
4139
|
};
|
|
4413
4140
|
var deserializeAws_restJson1SupportedOperatorList = function (output, context) {
|
|
@@ -4455,14 +4182,12 @@ var deserializeAws_restJson1TagMap = function (output, context) {
|
|
|
4455
4182
|
};
|
|
4456
4183
|
var deserializeAws_restJson1Task = function (output, context) {
|
|
4457
4184
|
return {
|
|
4458
|
-
connectorOperator: output.connectorOperator
|
|
4185
|
+
connectorOperator: output.connectorOperator != null
|
|
4459
4186
|
? deserializeAws_restJson1ConnectorOperator(output.connectorOperator, context)
|
|
4460
4187
|
: undefined,
|
|
4461
4188
|
destinationField: __expectString(output.destinationField),
|
|
4462
|
-
sourceFields: output.sourceFields
|
|
4463
|
-
|
|
4464
|
-
: undefined,
|
|
4465
|
-
taskProperties: output.taskProperties !== undefined && output.taskProperties !== null
|
|
4189
|
+
sourceFields: output.sourceFields != null ? deserializeAws_restJson1SourceFields(output.sourceFields, context) : undefined,
|
|
4190
|
+
taskProperties: output.taskProperties != null
|
|
4466
4191
|
? deserializeAws_restJson1TaskPropertiesMap(output.taskProperties, context)
|
|
4467
4192
|
: undefined,
|
|
4468
4193
|
taskType: __expectString(output.taskType),
|
|
@@ -4523,7 +4248,7 @@ var deserializeAws_restJson1TrendmicroSourceProperties = function (output, conte
|
|
|
4523
4248
|
};
|
|
4524
4249
|
var deserializeAws_restJson1TriggerConfig = function (output, context) {
|
|
4525
4250
|
return {
|
|
4526
|
-
triggerProperties: output.triggerProperties
|
|
4251
|
+
triggerProperties: output.triggerProperties != null
|
|
4527
4252
|
? deserializeAws_restJson1TriggerProperties(output.triggerProperties, context)
|
|
4528
4253
|
: undefined,
|
|
4529
4254
|
triggerType: __expectString(output.triggerType),
|
|
@@ -4531,7 +4256,7 @@ var deserializeAws_restJson1TriggerConfig = function (output, context) {
|
|
|
4531
4256
|
};
|
|
4532
4257
|
var deserializeAws_restJson1TriggerProperties = function (output, context) {
|
|
4533
4258
|
return {
|
|
4534
|
-
Scheduled: output.Scheduled
|
|
4259
|
+
Scheduled: output.Scheduled != null
|
|
4535
4260
|
? deserializeAws_restJson1ScheduledTriggerProperties(output.Scheduled, context)
|
|
4536
4261
|
: undefined,
|
|
4537
4262
|
};
|
|
@@ -4551,7 +4276,7 @@ var deserializeAws_restJson1UpsolverDestinationProperties = function (output, co
|
|
|
4551
4276
|
return {
|
|
4552
4277
|
bucketName: __expectString(output.bucketName),
|
|
4553
4278
|
bucketPrefix: __expectString(output.bucketPrefix),
|
|
4554
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig
|
|
4279
|
+
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
4555
4280
|
? deserializeAws_restJson1UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
4556
4281
|
: undefined,
|
|
4557
4282
|
};
|
|
@@ -4561,13 +4286,11 @@ var deserializeAws_restJson1UpsolverMetadata = function (output, context) {
|
|
|
4561
4286
|
};
|
|
4562
4287
|
var deserializeAws_restJson1UpsolverS3OutputFormatConfig = function (output, context) {
|
|
4563
4288
|
return {
|
|
4564
|
-
aggregationConfig: output.aggregationConfig
|
|
4289
|
+
aggregationConfig: output.aggregationConfig != null
|
|
4565
4290
|
? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
|
|
4566
4291
|
: undefined,
|
|
4567
4292
|
fileType: __expectString(output.fileType),
|
|
4568
|
-
prefixConfig: output.prefixConfig
|
|
4569
|
-
? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
|
|
4570
|
-
: undefined,
|
|
4293
|
+
prefixConfig: output.prefixConfig != null ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context) : undefined,
|
|
4571
4294
|
};
|
|
4572
4295
|
};
|
|
4573
4296
|
var deserializeAws_restJson1VeevaConnectorProfileProperties = function (output, context) {
|
|
@@ -4594,21 +4317,17 @@ var deserializeAws_restJson1ZendeskConnectorProfileProperties = function (output
|
|
|
4594
4317
|
};
|
|
4595
4318
|
var deserializeAws_restJson1ZendeskDestinationProperties = function (output, context) {
|
|
4596
4319
|
return {
|
|
4597
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
4320
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4598
4321
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4599
4322
|
: undefined,
|
|
4600
|
-
idFieldNames: output.idFieldNames
|
|
4601
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4602
|
-
: undefined,
|
|
4323
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4603
4324
|
object: __expectString(output.object),
|
|
4604
4325
|
writeOperationType: __expectString(output.writeOperationType),
|
|
4605
4326
|
};
|
|
4606
4327
|
};
|
|
4607
4328
|
var deserializeAws_restJson1ZendeskMetadata = function (output, context) {
|
|
4608
4329
|
return {
|
|
4609
|
-
oAuthScopes: output.oAuthScopes
|
|
4610
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4611
|
-
: undefined,
|
|
4330
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4612
4331
|
};
|
|
4613
4332
|
};
|
|
4614
4333
|
var deserializeAws_restJson1ZendeskSourceProperties = function (output, context) {
|