@aws-sdk/client-appflow 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +537 -815
- package/dist-es/protocols/Aws_restJson1.js +380 -658
- package/package.json +26 -26
|
@@ -13,18 +13,14 @@ const serializeAws_restJson1CreateConnectorProfileCommand = async (input, contex
|
|
|
13
13
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/create-connector-profile";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify({
|
|
16
|
-
...(input.connectionMode
|
|
17
|
-
|
|
18
|
-
...(input.
|
|
19
|
-
input.connectorLabel !== null && { connectorLabel: input.connectorLabel }),
|
|
20
|
-
...(input.connectorProfileConfig !== undefined &&
|
|
21
|
-
input.connectorProfileConfig !== null && {
|
|
16
|
+
...(input.connectionMode != null && { connectionMode: input.connectionMode }),
|
|
17
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
18
|
+
...(input.connectorProfileConfig != null && {
|
|
22
19
|
connectorProfileConfig: serializeAws_restJson1ConnectorProfileConfig(input.connectorProfileConfig, context),
|
|
23
20
|
}),
|
|
24
|
-
...(input.connectorProfileName
|
|
25
|
-
|
|
26
|
-
...(input.
|
|
27
|
-
...(input.kmsArn !== undefined && input.kmsArn !== null && { kmsArn: input.kmsArn }),
|
|
21
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
22
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
23
|
+
...(input.kmsArn != null && { kmsArn: input.kmsArn }),
|
|
28
24
|
});
|
|
29
25
|
return new protocol_http_1.HttpRequest({
|
|
30
26
|
protocol,
|
|
@@ -45,22 +41,18 @@ const serializeAws_restJson1CreateFlowCommand = async (input, context) => {
|
|
|
45
41
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/create-flow";
|
|
46
42
|
let body;
|
|
47
43
|
body = JSON.stringify({
|
|
48
|
-
...(input.description
|
|
49
|
-
...(input.destinationFlowConfigList
|
|
50
|
-
input.destinationFlowConfigList !== null && {
|
|
44
|
+
...(input.description != null && { description: input.description }),
|
|
45
|
+
...(input.destinationFlowConfigList != null && {
|
|
51
46
|
destinationFlowConfigList: serializeAws_restJson1DestinationFlowConfigList(input.destinationFlowConfigList, context),
|
|
52
47
|
}),
|
|
53
|
-
...(input.flowName
|
|
54
|
-
...(input.kmsArn
|
|
55
|
-
...(input.sourceFlowConfig
|
|
56
|
-
input.sourceFlowConfig !== null && {
|
|
48
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
49
|
+
...(input.kmsArn != null && { kmsArn: input.kmsArn }),
|
|
50
|
+
...(input.sourceFlowConfig != null && {
|
|
57
51
|
sourceFlowConfig: serializeAws_restJson1SourceFlowConfig(input.sourceFlowConfig, context),
|
|
58
52
|
}),
|
|
59
|
-
...(input.tags
|
|
60
|
-
...(input.tasks
|
|
61
|
-
|
|
62
|
-
...(input.triggerConfig !== undefined &&
|
|
63
|
-
input.triggerConfig !== null && {
|
|
53
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
54
|
+
...(input.tasks != null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) }),
|
|
55
|
+
...(input.triggerConfig != null && {
|
|
64
56
|
triggerConfig: serializeAws_restJson1TriggerConfig(input.triggerConfig, context),
|
|
65
57
|
}),
|
|
66
58
|
});
|
|
@@ -83,9 +75,8 @@ const serializeAws_restJson1DeleteConnectorProfileCommand = async (input, contex
|
|
|
83
75
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/delete-connector-profile";
|
|
84
76
|
let body;
|
|
85
77
|
body = JSON.stringify({
|
|
86
|
-
...(input.connectorProfileName
|
|
87
|
-
|
|
88
|
-
...(input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete }),
|
|
78
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
79
|
+
...(input.forceDelete != null && { forceDelete: input.forceDelete }),
|
|
89
80
|
});
|
|
90
81
|
return new protocol_http_1.HttpRequest({
|
|
91
82
|
protocol,
|
|
@@ -106,8 +97,8 @@ const serializeAws_restJson1DeleteFlowCommand = async (input, context) => {
|
|
|
106
97
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/delete-flow";
|
|
107
98
|
let body;
|
|
108
99
|
body = JSON.stringify({
|
|
109
|
-
...(input.flowName
|
|
110
|
-
...(input.forceDelete
|
|
100
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
101
|
+
...(input.forceDelete != null && { forceDelete: input.forceDelete }),
|
|
111
102
|
});
|
|
112
103
|
return new protocol_http_1.HttpRequest({
|
|
113
104
|
protocol,
|
|
@@ -128,9 +119,8 @@ const serializeAws_restJson1DescribeConnectorCommand = async (input, context) =>
|
|
|
128
119
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connector";
|
|
129
120
|
let body;
|
|
130
121
|
body = JSON.stringify({
|
|
131
|
-
...(input.connectorLabel
|
|
132
|
-
|
|
133
|
-
...(input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType }),
|
|
122
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
123
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
134
124
|
});
|
|
135
125
|
return new protocol_http_1.HttpRequest({
|
|
136
126
|
protocol,
|
|
@@ -151,12 +141,10 @@ const serializeAws_restJson1DescribeConnectorEntityCommand = async (input, conte
|
|
|
151
141
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connector-entity";
|
|
152
142
|
let body;
|
|
153
143
|
body = JSON.stringify({
|
|
154
|
-
...(input.apiVersion
|
|
155
|
-
...(input.connectorEntityName
|
|
156
|
-
|
|
157
|
-
...(input.
|
|
158
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName }),
|
|
159
|
-
...(input.connectorType !== undefined && input.connectorType !== null && { connectorType: input.connectorType }),
|
|
144
|
+
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
145
|
+
...(input.connectorEntityName != null && { connectorEntityName: input.connectorEntityName }),
|
|
146
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
147
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
160
148
|
});
|
|
161
149
|
return new protocol_http_1.HttpRequest({
|
|
162
150
|
protocol,
|
|
@@ -177,15 +165,13 @@ const serializeAws_restJson1DescribeConnectorProfilesCommand = async (input, con
|
|
|
177
165
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connector-profiles";
|
|
178
166
|
let body;
|
|
179
167
|
body = JSON.stringify({
|
|
180
|
-
...(input.connectorLabel
|
|
181
|
-
|
|
182
|
-
...(input.connectorProfileNames !== undefined &&
|
|
183
|
-
input.connectorProfileNames !== null && {
|
|
168
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
169
|
+
...(input.connectorProfileNames != null && {
|
|
184
170
|
connectorProfileNames: serializeAws_restJson1ConnectorProfileNameList(input.connectorProfileNames, context),
|
|
185
171
|
}),
|
|
186
|
-
...(input.connectorType
|
|
187
|
-
...(input.maxResults
|
|
188
|
-
...(input.nextToken
|
|
172
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
173
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
174
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
189
175
|
});
|
|
190
176
|
return new protocol_http_1.HttpRequest({
|
|
191
177
|
protocol,
|
|
@@ -206,12 +192,11 @@ const serializeAws_restJson1DescribeConnectorsCommand = async (input, context) =
|
|
|
206
192
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describe-connectors";
|
|
207
193
|
let body;
|
|
208
194
|
body = JSON.stringify({
|
|
209
|
-
...(input.connectorTypes
|
|
210
|
-
input.connectorTypes !== null && {
|
|
195
|
+
...(input.connectorTypes != null && {
|
|
211
196
|
connectorTypes: serializeAws_restJson1ConnectorTypeList(input.connectorTypes, context),
|
|
212
197
|
}),
|
|
213
|
-
...(input.maxResults
|
|
214
|
-
...(input.nextToken
|
|
198
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
199
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
215
200
|
});
|
|
216
201
|
return new protocol_http_1.HttpRequest({
|
|
217
202
|
protocol,
|
|
@@ -232,7 +217,7 @@ const serializeAws_restJson1DescribeFlowCommand = async (input, context) => {
|
|
|
232
217
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describe-flow";
|
|
233
218
|
let body;
|
|
234
219
|
body = JSON.stringify({
|
|
235
|
-
...(input.flowName
|
|
220
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
236
221
|
});
|
|
237
222
|
return new protocol_http_1.HttpRequest({
|
|
238
223
|
protocol,
|
|
@@ -253,9 +238,9 @@ const serializeAws_restJson1DescribeFlowExecutionRecordsCommand = async (input,
|
|
|
253
238
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/describe-flow-execution-records";
|
|
254
239
|
let body;
|
|
255
240
|
body = JSON.stringify({
|
|
256
|
-
...(input.flowName
|
|
257
|
-
...(input.maxResults
|
|
258
|
-
...(input.nextToken
|
|
241
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
242
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
243
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
259
244
|
});
|
|
260
245
|
return new protocol_http_1.HttpRequest({
|
|
261
246
|
protocol,
|
|
@@ -276,11 +261,10 @@ const serializeAws_restJson1ListConnectorEntitiesCommand = async (input, context
|
|
|
276
261
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/list-connector-entities";
|
|
277
262
|
let body;
|
|
278
263
|
body = JSON.stringify({
|
|
279
|
-
...(input.apiVersion
|
|
280
|
-
...(input.connectorProfileName
|
|
281
|
-
|
|
282
|
-
...(input.
|
|
283
|
-
...(input.entitiesPath !== undefined && input.entitiesPath !== null && { entitiesPath: input.entitiesPath }),
|
|
264
|
+
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
265
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
266
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
267
|
+
...(input.entitiesPath != null && { entitiesPath: input.entitiesPath }),
|
|
284
268
|
});
|
|
285
269
|
return new protocol_http_1.HttpRequest({
|
|
286
270
|
protocol,
|
|
@@ -301,8 +285,8 @@ const serializeAws_restJson1ListConnectorsCommand = async (input, context) => {
|
|
|
301
285
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/list-connectors";
|
|
302
286
|
let body;
|
|
303
287
|
body = JSON.stringify({
|
|
304
|
-
...(input.maxResults
|
|
305
|
-
...(input.nextToken
|
|
288
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
289
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
306
290
|
});
|
|
307
291
|
return new protocol_http_1.HttpRequest({
|
|
308
292
|
protocol,
|
|
@@ -323,8 +307,8 @@ const serializeAws_restJson1ListFlowsCommand = async (input, context) => {
|
|
|
323
307
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/list-flows";
|
|
324
308
|
let body;
|
|
325
309
|
body = JSON.stringify({
|
|
326
|
-
...(input.maxResults
|
|
327
|
-
...(input.nextToken
|
|
310
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
311
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
328
312
|
});
|
|
329
313
|
return new protocol_http_1.HttpRequest({
|
|
330
314
|
protocol,
|
|
@@ -371,15 +355,12 @@ const serializeAws_restJson1RegisterConnectorCommand = async (input, context) =>
|
|
|
371
355
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/register-connector";
|
|
372
356
|
let body;
|
|
373
357
|
body = JSON.stringify({
|
|
374
|
-
...(input.connectorLabel
|
|
375
|
-
|
|
376
|
-
...(input.connectorProvisioningConfig !== undefined &&
|
|
377
|
-
input.connectorProvisioningConfig !== null && {
|
|
358
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
359
|
+
...(input.connectorProvisioningConfig != null && {
|
|
378
360
|
connectorProvisioningConfig: serializeAws_restJson1ConnectorProvisioningConfig(input.connectorProvisioningConfig, context),
|
|
379
361
|
}),
|
|
380
|
-
...(input.connectorProvisioningType
|
|
381
|
-
|
|
382
|
-
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
362
|
+
...(input.connectorProvisioningType != null && { connectorProvisioningType: input.connectorProvisioningType }),
|
|
363
|
+
...(input.description != null && { description: input.description }),
|
|
383
364
|
});
|
|
384
365
|
return new protocol_http_1.HttpRequest({
|
|
385
366
|
protocol,
|
|
@@ -400,7 +381,7 @@ const serializeAws_restJson1StartFlowCommand = async (input, context) => {
|
|
|
400
381
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/start-flow";
|
|
401
382
|
let body;
|
|
402
383
|
body = JSON.stringify({
|
|
403
|
-
...(input.flowName
|
|
384
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
404
385
|
});
|
|
405
386
|
return new protocol_http_1.HttpRequest({
|
|
406
387
|
protocol,
|
|
@@ -421,7 +402,7 @@ const serializeAws_restJson1StopFlowCommand = async (input, context) => {
|
|
|
421
402
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/stop-flow";
|
|
422
403
|
let body;
|
|
423
404
|
body = JSON.stringify({
|
|
424
|
-
...(input.flowName
|
|
405
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
425
406
|
});
|
|
426
407
|
return new protocol_http_1.HttpRequest({
|
|
427
408
|
protocol,
|
|
@@ -452,7 +433,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
452
433
|
}
|
|
453
434
|
let body;
|
|
454
435
|
body = JSON.stringify({
|
|
455
|
-
...(input.tags
|
|
436
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
456
437
|
});
|
|
457
438
|
return new protocol_http_1.HttpRequest({
|
|
458
439
|
protocol,
|
|
@@ -473,9 +454,8 @@ const serializeAws_restJson1UnregisterConnectorCommand = async (input, context)
|
|
|
473
454
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/unregister-connector";
|
|
474
455
|
let body;
|
|
475
456
|
body = JSON.stringify({
|
|
476
|
-
...(input.connectorLabel
|
|
477
|
-
|
|
478
|
-
...(input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete }),
|
|
457
|
+
...(input.connectorLabel != null && { connectorLabel: input.connectorLabel }),
|
|
458
|
+
...(input.forceDelete != null && { forceDelete: input.forceDelete }),
|
|
479
459
|
});
|
|
480
460
|
return new protocol_http_1.HttpRequest({
|
|
481
461
|
protocol,
|
|
@@ -526,14 +506,11 @@ const serializeAws_restJson1UpdateConnectorProfileCommand = async (input, contex
|
|
|
526
506
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/update-connector-profile";
|
|
527
507
|
let body;
|
|
528
508
|
body = JSON.stringify({
|
|
529
|
-
...(input.connectionMode
|
|
530
|
-
|
|
531
|
-
...(input.connectorProfileConfig !== undefined &&
|
|
532
|
-
input.connectorProfileConfig !== null && {
|
|
509
|
+
...(input.connectionMode != null && { connectionMode: input.connectionMode }),
|
|
510
|
+
...(input.connectorProfileConfig != null && {
|
|
533
511
|
connectorProfileConfig: serializeAws_restJson1ConnectorProfileConfig(input.connectorProfileConfig, context),
|
|
534
512
|
}),
|
|
535
|
-
...(input.connectorProfileName
|
|
536
|
-
input.connectorProfileName !== null && { connectorProfileName: input.connectorProfileName }),
|
|
513
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
537
514
|
});
|
|
538
515
|
return new protocol_http_1.HttpRequest({
|
|
539
516
|
protocol,
|
|
@@ -554,20 +531,16 @@ const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
|
|
|
554
531
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/update-flow";
|
|
555
532
|
let body;
|
|
556
533
|
body = JSON.stringify({
|
|
557
|
-
...(input.description
|
|
558
|
-
...(input.destinationFlowConfigList
|
|
559
|
-
input.destinationFlowConfigList !== null && {
|
|
534
|
+
...(input.description != null && { description: input.description }),
|
|
535
|
+
...(input.destinationFlowConfigList != null && {
|
|
560
536
|
destinationFlowConfigList: serializeAws_restJson1DestinationFlowConfigList(input.destinationFlowConfigList, context),
|
|
561
537
|
}),
|
|
562
|
-
...(input.flowName
|
|
563
|
-
...(input.sourceFlowConfig
|
|
564
|
-
input.sourceFlowConfig !== null && {
|
|
538
|
+
...(input.flowName != null && { flowName: input.flowName }),
|
|
539
|
+
...(input.sourceFlowConfig != null && {
|
|
565
540
|
sourceFlowConfig: serializeAws_restJson1SourceFlowConfig(input.sourceFlowConfig, context),
|
|
566
541
|
}),
|
|
567
|
-
...(input.tasks
|
|
568
|
-
|
|
569
|
-
...(input.triggerConfig !== undefined &&
|
|
570
|
-
input.triggerConfig !== null && {
|
|
542
|
+
...(input.tasks != null && { tasks: serializeAws_restJson1Tasks(input.tasks, context) }),
|
|
543
|
+
...(input.triggerConfig != null && {
|
|
571
544
|
triggerConfig: serializeAws_restJson1TriggerConfig(input.triggerConfig, context),
|
|
572
545
|
}),
|
|
573
546
|
});
|
|
@@ -1809,14 +1782,13 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
1809
1782
|
};
|
|
1810
1783
|
const serializeAws_restJson1AggregationConfig = (input, context) => {
|
|
1811
1784
|
return {
|
|
1812
|
-
...(input.aggregationType
|
|
1813
|
-
input.aggregationType !== null && { aggregationType: input.aggregationType }),
|
|
1785
|
+
...(input.aggregationType != null && { aggregationType: input.aggregationType }),
|
|
1814
1786
|
};
|
|
1815
1787
|
};
|
|
1816
1788
|
const serializeAws_restJson1AmplitudeConnectorProfileCredentials = (input, context) => {
|
|
1817
1789
|
return {
|
|
1818
|
-
...(input.apiKey
|
|
1819
|
-
...(input.secretKey
|
|
1790
|
+
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
1791
|
+
...(input.secretKey != null && { secretKey: input.secretKey }),
|
|
1820
1792
|
};
|
|
1821
1793
|
};
|
|
1822
1794
|
const serializeAws_restJson1AmplitudeConnectorProfileProperties = (input, context) => {
|
|
@@ -1824,129 +1796,107 @@ const serializeAws_restJson1AmplitudeConnectorProfileProperties = (input, contex
|
|
|
1824
1796
|
};
|
|
1825
1797
|
const serializeAws_restJson1AmplitudeSourceProperties = (input, context) => {
|
|
1826
1798
|
return {
|
|
1827
|
-
...(input.object
|
|
1799
|
+
...(input.object != null && { object: input.object }),
|
|
1828
1800
|
};
|
|
1829
1801
|
};
|
|
1830
1802
|
const serializeAws_restJson1ApiKeyCredentials = (input, context) => {
|
|
1831
1803
|
return {
|
|
1832
|
-
...(input.apiKey
|
|
1833
|
-
...(input.apiSecretKey
|
|
1804
|
+
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
1805
|
+
...(input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }),
|
|
1834
1806
|
};
|
|
1835
1807
|
};
|
|
1836
1808
|
const serializeAws_restJson1BasicAuthCredentials = (input, context) => {
|
|
1837
1809
|
return {
|
|
1838
|
-
...(input.password
|
|
1839
|
-
...(input.username
|
|
1810
|
+
...(input.password != null && { password: input.password }),
|
|
1811
|
+
...(input.username != null && { username: input.username }),
|
|
1840
1812
|
};
|
|
1841
1813
|
};
|
|
1842
1814
|
const serializeAws_restJson1ConnectorOAuthRequest = (input, context) => {
|
|
1843
1815
|
return {
|
|
1844
|
-
...(input.authCode
|
|
1845
|
-
...(input.redirectUri
|
|
1816
|
+
...(input.authCode != null && { authCode: input.authCode }),
|
|
1817
|
+
...(input.redirectUri != null && { redirectUri: input.redirectUri }),
|
|
1846
1818
|
};
|
|
1847
1819
|
};
|
|
1848
1820
|
const serializeAws_restJson1ConnectorOperator = (input, context) => {
|
|
1849
1821
|
return {
|
|
1850
|
-
...(input.Amplitude
|
|
1851
|
-
...(input.CustomConnector
|
|
1852
|
-
|
|
1853
|
-
...(input.
|
|
1854
|
-
...(input.
|
|
1855
|
-
...(input.
|
|
1856
|
-
|
|
1857
|
-
...(input.
|
|
1858
|
-
...(input.
|
|
1859
|
-
...(input.
|
|
1860
|
-
...(input.
|
|
1861
|
-
...(input.
|
|
1862
|
-
...(input.
|
|
1863
|
-
...(input.
|
|
1864
|
-
...(input.
|
|
1865
|
-
...(input.
|
|
1866
|
-
...(input.Veeva !== undefined && input.Veeva !== null && { Veeva: input.Veeva }),
|
|
1867
|
-
...(input.Zendesk !== undefined && input.Zendesk !== null && { Zendesk: input.Zendesk }),
|
|
1822
|
+
...(input.Amplitude != null && { Amplitude: input.Amplitude }),
|
|
1823
|
+
...(input.CustomConnector != null && { CustomConnector: input.CustomConnector }),
|
|
1824
|
+
...(input.Datadog != null && { Datadog: input.Datadog }),
|
|
1825
|
+
...(input.Dynatrace != null && { Dynatrace: input.Dynatrace }),
|
|
1826
|
+
...(input.GoogleAnalytics != null && { GoogleAnalytics: input.GoogleAnalytics }),
|
|
1827
|
+
...(input.InforNexus != null && { InforNexus: input.InforNexus }),
|
|
1828
|
+
...(input.Marketo != null && { Marketo: input.Marketo }),
|
|
1829
|
+
...(input.S3 != null && { S3: input.S3 }),
|
|
1830
|
+
...(input.SAPOData != null && { SAPOData: input.SAPOData }),
|
|
1831
|
+
...(input.Salesforce != null && { Salesforce: input.Salesforce }),
|
|
1832
|
+
...(input.ServiceNow != null && { ServiceNow: input.ServiceNow }),
|
|
1833
|
+
...(input.Singular != null && { Singular: input.Singular }),
|
|
1834
|
+
...(input.Slack != null && { Slack: input.Slack }),
|
|
1835
|
+
...(input.Trendmicro != null && { Trendmicro: input.Trendmicro }),
|
|
1836
|
+
...(input.Veeva != null && { Veeva: input.Veeva }),
|
|
1837
|
+
...(input.Zendesk != null && { Zendesk: input.Zendesk }),
|
|
1868
1838
|
};
|
|
1869
1839
|
};
|
|
1870
1840
|
const serializeAws_restJson1ConnectorProfileConfig = (input, context) => {
|
|
1871
1841
|
return {
|
|
1872
|
-
...(input.connectorProfileCredentials
|
|
1873
|
-
input.connectorProfileCredentials !== null && {
|
|
1842
|
+
...(input.connectorProfileCredentials != null && {
|
|
1874
1843
|
connectorProfileCredentials: serializeAws_restJson1ConnectorProfileCredentials(input.connectorProfileCredentials, context),
|
|
1875
1844
|
}),
|
|
1876
|
-
...(input.connectorProfileProperties
|
|
1877
|
-
input.connectorProfileProperties !== null && {
|
|
1845
|
+
...(input.connectorProfileProperties != null && {
|
|
1878
1846
|
connectorProfileProperties: serializeAws_restJson1ConnectorProfileProperties(input.connectorProfileProperties, context),
|
|
1879
1847
|
}),
|
|
1880
1848
|
};
|
|
1881
1849
|
};
|
|
1882
1850
|
const serializeAws_restJson1ConnectorProfileCredentials = (input, context) => {
|
|
1883
1851
|
return {
|
|
1884
|
-
...(input.Amplitude
|
|
1885
|
-
input.Amplitude !== null && {
|
|
1852
|
+
...(input.Amplitude != null && {
|
|
1886
1853
|
Amplitude: serializeAws_restJson1AmplitudeConnectorProfileCredentials(input.Amplitude, context),
|
|
1887
1854
|
}),
|
|
1888
|
-
...(input.CustomConnector
|
|
1889
|
-
input.CustomConnector !== null && {
|
|
1855
|
+
...(input.CustomConnector != null && {
|
|
1890
1856
|
CustomConnector: serializeAws_restJson1CustomConnectorProfileCredentials(input.CustomConnector, context),
|
|
1891
1857
|
}),
|
|
1892
|
-
...(input.Datadog
|
|
1893
|
-
input.Datadog !== null && {
|
|
1858
|
+
...(input.Datadog != null && {
|
|
1894
1859
|
Datadog: serializeAws_restJson1DatadogConnectorProfileCredentials(input.Datadog, context),
|
|
1895
1860
|
}),
|
|
1896
|
-
...(input.Dynatrace
|
|
1897
|
-
input.Dynatrace !== null && {
|
|
1861
|
+
...(input.Dynatrace != null && {
|
|
1898
1862
|
Dynatrace: serializeAws_restJson1DynatraceConnectorProfileCredentials(input.Dynatrace, context),
|
|
1899
1863
|
}),
|
|
1900
|
-
...(input.GoogleAnalytics
|
|
1901
|
-
input.GoogleAnalytics !== null && {
|
|
1864
|
+
...(input.GoogleAnalytics != null && {
|
|
1902
1865
|
GoogleAnalytics: serializeAws_restJson1GoogleAnalyticsConnectorProfileCredentials(input.GoogleAnalytics, context),
|
|
1903
1866
|
}),
|
|
1904
|
-
...(input.Honeycode
|
|
1905
|
-
input.Honeycode !== null && {
|
|
1867
|
+
...(input.Honeycode != null && {
|
|
1906
1868
|
Honeycode: serializeAws_restJson1HoneycodeConnectorProfileCredentials(input.Honeycode, context),
|
|
1907
1869
|
}),
|
|
1908
|
-
...(input.InforNexus
|
|
1909
|
-
input.InforNexus !== null && {
|
|
1870
|
+
...(input.InforNexus != null && {
|
|
1910
1871
|
InforNexus: serializeAws_restJson1InforNexusConnectorProfileCredentials(input.InforNexus, context),
|
|
1911
1872
|
}),
|
|
1912
|
-
...(input.Marketo
|
|
1913
|
-
input.Marketo !== null && {
|
|
1873
|
+
...(input.Marketo != null && {
|
|
1914
1874
|
Marketo: serializeAws_restJson1MarketoConnectorProfileCredentials(input.Marketo, context),
|
|
1915
1875
|
}),
|
|
1916
|
-
...(input.Redshift
|
|
1917
|
-
input.Redshift !== null && {
|
|
1876
|
+
...(input.Redshift != null && {
|
|
1918
1877
|
Redshift: serializeAws_restJson1RedshiftConnectorProfileCredentials(input.Redshift, context),
|
|
1919
1878
|
}),
|
|
1920
|
-
...(input.SAPOData
|
|
1921
|
-
input.SAPOData !== null && {
|
|
1879
|
+
...(input.SAPOData != null && {
|
|
1922
1880
|
SAPOData: serializeAws_restJson1SAPODataConnectorProfileCredentials(input.SAPOData, context),
|
|
1923
1881
|
}),
|
|
1924
|
-
...(input.Salesforce
|
|
1925
|
-
input.Salesforce !== null && {
|
|
1882
|
+
...(input.Salesforce != null && {
|
|
1926
1883
|
Salesforce: serializeAws_restJson1SalesforceConnectorProfileCredentials(input.Salesforce, context),
|
|
1927
1884
|
}),
|
|
1928
|
-
...(input.ServiceNow
|
|
1929
|
-
input.ServiceNow !== null && {
|
|
1885
|
+
...(input.ServiceNow != null && {
|
|
1930
1886
|
ServiceNow: serializeAws_restJson1ServiceNowConnectorProfileCredentials(input.ServiceNow, context),
|
|
1931
1887
|
}),
|
|
1932
|
-
...(input.Singular
|
|
1933
|
-
input.Singular !== null && {
|
|
1888
|
+
...(input.Singular != null && {
|
|
1934
1889
|
Singular: serializeAws_restJson1SingularConnectorProfileCredentials(input.Singular, context),
|
|
1935
1890
|
}),
|
|
1936
|
-
...(input.Slack
|
|
1937
|
-
|
|
1938
|
-
...(input.Snowflake !== undefined &&
|
|
1939
|
-
input.Snowflake !== null && {
|
|
1891
|
+
...(input.Slack != null && { Slack: serializeAws_restJson1SlackConnectorProfileCredentials(input.Slack, context) }),
|
|
1892
|
+
...(input.Snowflake != null && {
|
|
1940
1893
|
Snowflake: serializeAws_restJson1SnowflakeConnectorProfileCredentials(input.Snowflake, context),
|
|
1941
1894
|
}),
|
|
1942
|
-
...(input.Trendmicro
|
|
1943
|
-
input.Trendmicro !== null && {
|
|
1895
|
+
...(input.Trendmicro != null && {
|
|
1944
1896
|
Trendmicro: serializeAws_restJson1TrendmicroConnectorProfileCredentials(input.Trendmicro, context),
|
|
1945
1897
|
}),
|
|
1946
|
-
...(input.Veeva
|
|
1947
|
-
|
|
1948
|
-
...(input.Zendesk !== undefined &&
|
|
1949
|
-
input.Zendesk !== null && {
|
|
1898
|
+
...(input.Veeva != null && { Veeva: serializeAws_restJson1VeevaConnectorProfileCredentials(input.Veeva, context) }),
|
|
1899
|
+
...(input.Zendesk != null && {
|
|
1950
1900
|
Zendesk: serializeAws_restJson1ZendeskConnectorProfileCredentials(input.Zendesk, context),
|
|
1951
1901
|
}),
|
|
1952
1902
|
};
|
|
@@ -1963,80 +1913,61 @@ const serializeAws_restJson1ConnectorProfileNameList = (input, context) => {
|
|
|
1963
1913
|
};
|
|
1964
1914
|
const serializeAws_restJson1ConnectorProfileProperties = (input, context) => {
|
|
1965
1915
|
return {
|
|
1966
|
-
...(input.Amplitude
|
|
1967
|
-
input.Amplitude !== null && {
|
|
1916
|
+
...(input.Amplitude != null && {
|
|
1968
1917
|
Amplitude: serializeAws_restJson1AmplitudeConnectorProfileProperties(input.Amplitude, context),
|
|
1969
1918
|
}),
|
|
1970
|
-
...(input.CustomConnector
|
|
1971
|
-
input.CustomConnector !== null && {
|
|
1919
|
+
...(input.CustomConnector != null && {
|
|
1972
1920
|
CustomConnector: serializeAws_restJson1CustomConnectorProfileProperties(input.CustomConnector, context),
|
|
1973
1921
|
}),
|
|
1974
|
-
...(input.Datadog
|
|
1975
|
-
input.Datadog !== null && {
|
|
1922
|
+
...(input.Datadog != null && {
|
|
1976
1923
|
Datadog: serializeAws_restJson1DatadogConnectorProfileProperties(input.Datadog, context),
|
|
1977
1924
|
}),
|
|
1978
|
-
...(input.Dynatrace
|
|
1979
|
-
input.Dynatrace !== null && {
|
|
1925
|
+
...(input.Dynatrace != null && {
|
|
1980
1926
|
Dynatrace: serializeAws_restJson1DynatraceConnectorProfileProperties(input.Dynatrace, context),
|
|
1981
1927
|
}),
|
|
1982
|
-
...(input.GoogleAnalytics
|
|
1983
|
-
input.GoogleAnalytics !== null && {
|
|
1928
|
+
...(input.GoogleAnalytics != null && {
|
|
1984
1929
|
GoogleAnalytics: serializeAws_restJson1GoogleAnalyticsConnectorProfileProperties(input.GoogleAnalytics, context),
|
|
1985
1930
|
}),
|
|
1986
|
-
...(input.Honeycode
|
|
1987
|
-
input.Honeycode !== null && {
|
|
1931
|
+
...(input.Honeycode != null && {
|
|
1988
1932
|
Honeycode: serializeAws_restJson1HoneycodeConnectorProfileProperties(input.Honeycode, context),
|
|
1989
1933
|
}),
|
|
1990
|
-
...(input.InforNexus
|
|
1991
|
-
input.InforNexus !== null && {
|
|
1934
|
+
...(input.InforNexus != null && {
|
|
1992
1935
|
InforNexus: serializeAws_restJson1InforNexusConnectorProfileProperties(input.InforNexus, context),
|
|
1993
1936
|
}),
|
|
1994
|
-
...(input.Marketo
|
|
1995
|
-
input.Marketo !== null && {
|
|
1937
|
+
...(input.Marketo != null && {
|
|
1996
1938
|
Marketo: serializeAws_restJson1MarketoConnectorProfileProperties(input.Marketo, context),
|
|
1997
1939
|
}),
|
|
1998
|
-
...(input.Redshift
|
|
1999
|
-
input.Redshift !== null && {
|
|
1940
|
+
...(input.Redshift != null && {
|
|
2000
1941
|
Redshift: serializeAws_restJson1RedshiftConnectorProfileProperties(input.Redshift, context),
|
|
2001
1942
|
}),
|
|
2002
|
-
...(input.SAPOData
|
|
2003
|
-
input.SAPOData !== null && {
|
|
1943
|
+
...(input.SAPOData != null && {
|
|
2004
1944
|
SAPOData: serializeAws_restJson1SAPODataConnectorProfileProperties(input.SAPOData, context),
|
|
2005
1945
|
}),
|
|
2006
|
-
...(input.Salesforce
|
|
2007
|
-
input.Salesforce !== null && {
|
|
1946
|
+
...(input.Salesforce != null && {
|
|
2008
1947
|
Salesforce: serializeAws_restJson1SalesforceConnectorProfileProperties(input.Salesforce, context),
|
|
2009
1948
|
}),
|
|
2010
|
-
...(input.ServiceNow
|
|
2011
|
-
input.ServiceNow !== null && {
|
|
1949
|
+
...(input.ServiceNow != null && {
|
|
2012
1950
|
ServiceNow: serializeAws_restJson1ServiceNowConnectorProfileProperties(input.ServiceNow, context),
|
|
2013
1951
|
}),
|
|
2014
|
-
...(input.Singular
|
|
2015
|
-
input.Singular !== null && {
|
|
1952
|
+
...(input.Singular != null && {
|
|
2016
1953
|
Singular: serializeAws_restJson1SingularConnectorProfileProperties(input.Singular, context),
|
|
2017
1954
|
}),
|
|
2018
|
-
...(input.Slack
|
|
2019
|
-
|
|
2020
|
-
...(input.Snowflake !== undefined &&
|
|
2021
|
-
input.Snowflake !== null && {
|
|
1955
|
+
...(input.Slack != null && { Slack: serializeAws_restJson1SlackConnectorProfileProperties(input.Slack, context) }),
|
|
1956
|
+
...(input.Snowflake != null && {
|
|
2022
1957
|
Snowflake: serializeAws_restJson1SnowflakeConnectorProfileProperties(input.Snowflake, context),
|
|
2023
1958
|
}),
|
|
2024
|
-
...(input.Trendmicro
|
|
2025
|
-
input.Trendmicro !== null && {
|
|
1959
|
+
...(input.Trendmicro != null && {
|
|
2026
1960
|
Trendmicro: serializeAws_restJson1TrendmicroConnectorProfileProperties(input.Trendmicro, context),
|
|
2027
1961
|
}),
|
|
2028
|
-
...(input.Veeva
|
|
2029
|
-
|
|
2030
|
-
...(input.Zendesk !== undefined &&
|
|
2031
|
-
input.Zendesk !== null && {
|
|
1962
|
+
...(input.Veeva != null && { Veeva: serializeAws_restJson1VeevaConnectorProfileProperties(input.Veeva, context) }),
|
|
1963
|
+
...(input.Zendesk != null && {
|
|
2032
1964
|
Zendesk: serializeAws_restJson1ZendeskConnectorProfileProperties(input.Zendesk, context),
|
|
2033
1965
|
}),
|
|
2034
1966
|
};
|
|
2035
1967
|
};
|
|
2036
1968
|
const serializeAws_restJson1ConnectorProvisioningConfig = (input, context) => {
|
|
2037
1969
|
return {
|
|
2038
|
-
...(input.lambda
|
|
2039
|
-
input.lambda !== null && {
|
|
1970
|
+
...(input.lambda != null && {
|
|
2040
1971
|
lambda: serializeAws_restJson1LambdaConnectorProvisioningConfig(input.lambda, context),
|
|
2041
1972
|
}),
|
|
2042
1973
|
};
|
|
@@ -2064,73 +1995,58 @@ const serializeAws_restJson1CredentialsMap = (input, context) => {
|
|
|
2064
1995
|
};
|
|
2065
1996
|
const serializeAws_restJson1CustomAuthCredentials = (input, context) => {
|
|
2066
1997
|
return {
|
|
2067
|
-
...(input.credentialsMap
|
|
2068
|
-
input.credentialsMap !== null && {
|
|
1998
|
+
...(input.credentialsMap != null && {
|
|
2069
1999
|
credentialsMap: serializeAws_restJson1CredentialsMap(input.credentialsMap, context),
|
|
2070
2000
|
}),
|
|
2071
|
-
...(input.customAuthenticationType
|
|
2072
|
-
input.customAuthenticationType !== null && { customAuthenticationType: input.customAuthenticationType }),
|
|
2001
|
+
...(input.customAuthenticationType != null && { customAuthenticationType: input.customAuthenticationType }),
|
|
2073
2002
|
};
|
|
2074
2003
|
};
|
|
2075
2004
|
const serializeAws_restJson1CustomConnectorDestinationProperties = (input, context) => {
|
|
2076
2005
|
return {
|
|
2077
|
-
...(input.customProperties
|
|
2078
|
-
input.customProperties !== null && {
|
|
2006
|
+
...(input.customProperties != null && {
|
|
2079
2007
|
customProperties: serializeAws_restJson1CustomProperties(input.customProperties, context),
|
|
2080
2008
|
}),
|
|
2081
|
-
...(input.entityName
|
|
2082
|
-
...(input.errorHandlingConfig
|
|
2083
|
-
input.errorHandlingConfig !== null && {
|
|
2009
|
+
...(input.entityName != null && { entityName: input.entityName }),
|
|
2010
|
+
...(input.errorHandlingConfig != null && {
|
|
2084
2011
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2085
2012
|
}),
|
|
2086
|
-
...(input.idFieldNames
|
|
2087
|
-
input.idFieldNames !== null && {
|
|
2013
|
+
...(input.idFieldNames != null && {
|
|
2088
2014
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2089
2015
|
}),
|
|
2090
|
-
...(input.writeOperationType
|
|
2091
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }),
|
|
2016
|
+
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2092
2017
|
};
|
|
2093
2018
|
};
|
|
2094
2019
|
const serializeAws_restJson1CustomConnectorProfileCredentials = (input, context) => {
|
|
2095
2020
|
return {
|
|
2096
|
-
...(input.apiKey
|
|
2097
|
-
|
|
2098
|
-
...(input.
|
|
2099
|
-
|
|
2100
|
-
...(input.
|
|
2101
|
-
input.basic !== null && { basic: serializeAws_restJson1BasicAuthCredentials(input.basic, context) }),
|
|
2102
|
-
...(input.custom !== undefined &&
|
|
2103
|
-
input.custom !== null && { custom: serializeAws_restJson1CustomAuthCredentials(input.custom, context) }),
|
|
2104
|
-
...(input.oauth2 !== undefined &&
|
|
2105
|
-
input.oauth2 !== null && { oauth2: serializeAws_restJson1OAuth2Credentials(input.oauth2, context) }),
|
|
2021
|
+
...(input.apiKey != null && { apiKey: serializeAws_restJson1ApiKeyCredentials(input.apiKey, context) }),
|
|
2022
|
+
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
2023
|
+
...(input.basic != null && { basic: serializeAws_restJson1BasicAuthCredentials(input.basic, context) }),
|
|
2024
|
+
...(input.custom != null && { custom: serializeAws_restJson1CustomAuthCredentials(input.custom, context) }),
|
|
2025
|
+
...(input.oauth2 != null && { oauth2: serializeAws_restJson1OAuth2Credentials(input.oauth2, context) }),
|
|
2106
2026
|
};
|
|
2107
2027
|
};
|
|
2108
2028
|
const serializeAws_restJson1CustomConnectorProfileProperties = (input, context) => {
|
|
2109
2029
|
return {
|
|
2110
|
-
...(input.oAuth2Properties
|
|
2111
|
-
input.oAuth2Properties !== null && {
|
|
2030
|
+
...(input.oAuth2Properties != null && {
|
|
2112
2031
|
oAuth2Properties: serializeAws_restJson1OAuth2Properties(input.oAuth2Properties, context),
|
|
2113
2032
|
}),
|
|
2114
|
-
...(input.profileProperties
|
|
2115
|
-
input.profileProperties !== null && {
|
|
2033
|
+
...(input.profileProperties != null && {
|
|
2116
2034
|
profileProperties: serializeAws_restJson1ProfilePropertiesMap(input.profileProperties, context),
|
|
2117
2035
|
}),
|
|
2118
2036
|
};
|
|
2119
2037
|
};
|
|
2120
2038
|
const serializeAws_restJson1CustomConnectorSourceProperties = (input, context) => {
|
|
2121
2039
|
return {
|
|
2122
|
-
...(input.customProperties
|
|
2123
|
-
input.customProperties !== null && {
|
|
2040
|
+
...(input.customProperties != null && {
|
|
2124
2041
|
customProperties: serializeAws_restJson1CustomProperties(input.customProperties, context),
|
|
2125
2042
|
}),
|
|
2126
|
-
...(input.entityName
|
|
2043
|
+
...(input.entityName != null && { entityName: input.entityName }),
|
|
2127
2044
|
};
|
|
2128
2045
|
};
|
|
2129
2046
|
const serializeAws_restJson1CustomerProfilesDestinationProperties = (input, context) => {
|
|
2130
2047
|
return {
|
|
2131
|
-
...(input.domainName
|
|
2132
|
-
...(input.objectTypeName
|
|
2133
|
-
input.objectTypeName !== null && { objectTypeName: input.objectTypeName }),
|
|
2048
|
+
...(input.domainName != null && { domainName: input.domainName }),
|
|
2049
|
+
...(input.objectTypeName != null && { objectTypeName: input.objectTypeName }),
|
|
2134
2050
|
};
|
|
2135
2051
|
};
|
|
2136
2052
|
const serializeAws_restJson1CustomProperties = (input, context) => {
|
|
@@ -2146,83 +2062,67 @@ const serializeAws_restJson1CustomProperties = (input, context) => {
|
|
|
2146
2062
|
};
|
|
2147
2063
|
const serializeAws_restJson1DatadogConnectorProfileCredentials = (input, context) => {
|
|
2148
2064
|
return {
|
|
2149
|
-
...(input.apiKey
|
|
2150
|
-
...(input.applicationKey
|
|
2151
|
-
input.applicationKey !== null && { applicationKey: input.applicationKey }),
|
|
2065
|
+
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
2066
|
+
...(input.applicationKey != null && { applicationKey: input.applicationKey }),
|
|
2152
2067
|
};
|
|
2153
2068
|
};
|
|
2154
2069
|
const serializeAws_restJson1DatadogConnectorProfileProperties = (input, context) => {
|
|
2155
2070
|
return {
|
|
2156
|
-
...(input.instanceUrl
|
|
2071
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2157
2072
|
};
|
|
2158
2073
|
};
|
|
2159
2074
|
const serializeAws_restJson1DatadogSourceProperties = (input, context) => {
|
|
2160
2075
|
return {
|
|
2161
|
-
...(input.object
|
|
2076
|
+
...(input.object != null && { object: input.object }),
|
|
2162
2077
|
};
|
|
2163
2078
|
};
|
|
2164
2079
|
const serializeAws_restJson1DestinationConnectorProperties = (input, context) => {
|
|
2165
2080
|
return {
|
|
2166
|
-
...(input.CustomConnector
|
|
2167
|
-
input.CustomConnector !== null && {
|
|
2081
|
+
...(input.CustomConnector != null && {
|
|
2168
2082
|
CustomConnector: serializeAws_restJson1CustomConnectorDestinationProperties(input.CustomConnector, context),
|
|
2169
2083
|
}),
|
|
2170
|
-
...(input.CustomerProfiles
|
|
2171
|
-
input.CustomerProfiles !== null && {
|
|
2084
|
+
...(input.CustomerProfiles != null && {
|
|
2172
2085
|
CustomerProfiles: serializeAws_restJson1CustomerProfilesDestinationProperties(input.CustomerProfiles, context),
|
|
2173
2086
|
}),
|
|
2174
|
-
...(input.EventBridge
|
|
2175
|
-
input.EventBridge !== null && {
|
|
2087
|
+
...(input.EventBridge != null && {
|
|
2176
2088
|
EventBridge: serializeAws_restJson1EventBridgeDestinationProperties(input.EventBridge, context),
|
|
2177
2089
|
}),
|
|
2178
|
-
...(input.Honeycode
|
|
2179
|
-
input.Honeycode !== null && {
|
|
2090
|
+
...(input.Honeycode != null && {
|
|
2180
2091
|
Honeycode: serializeAws_restJson1HoneycodeDestinationProperties(input.Honeycode, context),
|
|
2181
2092
|
}),
|
|
2182
|
-
...(input.LookoutMetrics
|
|
2183
|
-
input.LookoutMetrics !== null && {
|
|
2093
|
+
...(input.LookoutMetrics != null && {
|
|
2184
2094
|
LookoutMetrics: serializeAws_restJson1LookoutMetricsDestinationProperties(input.LookoutMetrics, context),
|
|
2185
2095
|
}),
|
|
2186
|
-
...(input.Marketo
|
|
2187
|
-
input.Marketo !== null && {
|
|
2096
|
+
...(input.Marketo != null && {
|
|
2188
2097
|
Marketo: serializeAws_restJson1MarketoDestinationProperties(input.Marketo, context),
|
|
2189
2098
|
}),
|
|
2190
|
-
...(input.Redshift
|
|
2191
|
-
input.Redshift !== null && {
|
|
2099
|
+
...(input.Redshift != null && {
|
|
2192
2100
|
Redshift: serializeAws_restJson1RedshiftDestinationProperties(input.Redshift, context),
|
|
2193
2101
|
}),
|
|
2194
|
-
...(input.S3
|
|
2195
|
-
|
|
2196
|
-
...(input.SAPOData !== undefined &&
|
|
2197
|
-
input.SAPOData !== null && {
|
|
2102
|
+
...(input.S3 != null && { S3: serializeAws_restJson1S3DestinationProperties(input.S3, context) }),
|
|
2103
|
+
...(input.SAPOData != null && {
|
|
2198
2104
|
SAPOData: serializeAws_restJson1SAPODataDestinationProperties(input.SAPOData, context),
|
|
2199
2105
|
}),
|
|
2200
|
-
...(input.Salesforce
|
|
2201
|
-
input.Salesforce !== null && {
|
|
2106
|
+
...(input.Salesforce != null && {
|
|
2202
2107
|
Salesforce: serializeAws_restJson1SalesforceDestinationProperties(input.Salesforce, context),
|
|
2203
2108
|
}),
|
|
2204
|
-
...(input.Snowflake
|
|
2205
|
-
input.Snowflake !== null && {
|
|
2109
|
+
...(input.Snowflake != null && {
|
|
2206
2110
|
Snowflake: serializeAws_restJson1SnowflakeDestinationProperties(input.Snowflake, context),
|
|
2207
2111
|
}),
|
|
2208
|
-
...(input.Upsolver
|
|
2209
|
-
input.Upsolver !== null && {
|
|
2112
|
+
...(input.Upsolver != null && {
|
|
2210
2113
|
Upsolver: serializeAws_restJson1UpsolverDestinationProperties(input.Upsolver, context),
|
|
2211
2114
|
}),
|
|
2212
|
-
...(input.Zendesk
|
|
2213
|
-
input.Zendesk !== null && {
|
|
2115
|
+
...(input.Zendesk != null && {
|
|
2214
2116
|
Zendesk: serializeAws_restJson1ZendeskDestinationProperties(input.Zendesk, context),
|
|
2215
2117
|
}),
|
|
2216
2118
|
};
|
|
2217
2119
|
};
|
|
2218
2120
|
const serializeAws_restJson1DestinationFlowConfig = (input, context) => {
|
|
2219
2121
|
return {
|
|
2220
|
-
...(input.apiVersion
|
|
2221
|
-
...(input.connectorProfileName
|
|
2222
|
-
|
|
2223
|
-
...(input.
|
|
2224
|
-
...(input.destinationConnectorProperties !== undefined &&
|
|
2225
|
-
input.destinationConnectorProperties !== null && {
|
|
2122
|
+
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
2123
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
2124
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
2125
|
+
...(input.destinationConnectorProperties != null && {
|
|
2226
2126
|
destinationConnectorProperties: serializeAws_restJson1DestinationConnectorProperties(input.destinationConnectorProperties, context),
|
|
2227
2127
|
}),
|
|
2228
2128
|
};
|
|
@@ -2239,46 +2139,45 @@ const serializeAws_restJson1DestinationFlowConfigList = (input, context) => {
|
|
|
2239
2139
|
};
|
|
2240
2140
|
const serializeAws_restJson1DynatraceConnectorProfileCredentials = (input, context) => {
|
|
2241
2141
|
return {
|
|
2242
|
-
...(input.apiToken
|
|
2142
|
+
...(input.apiToken != null && { apiToken: input.apiToken }),
|
|
2243
2143
|
};
|
|
2244
2144
|
};
|
|
2245
2145
|
const serializeAws_restJson1DynatraceConnectorProfileProperties = (input, context) => {
|
|
2246
2146
|
return {
|
|
2247
|
-
...(input.instanceUrl
|
|
2147
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2248
2148
|
};
|
|
2249
2149
|
};
|
|
2250
2150
|
const serializeAws_restJson1DynatraceSourceProperties = (input, context) => {
|
|
2251
2151
|
return {
|
|
2252
|
-
...(input.object
|
|
2152
|
+
...(input.object != null && { object: input.object }),
|
|
2253
2153
|
};
|
|
2254
2154
|
};
|
|
2255
2155
|
const serializeAws_restJson1ErrorHandlingConfig = (input, context) => {
|
|
2256
2156
|
return {
|
|
2257
|
-
...(input.bucketName
|
|
2258
|
-
...(input.bucketPrefix
|
|
2259
|
-
...(input.failOnFirstDestinationError
|
|
2260
|
-
|
|
2157
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2158
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2159
|
+
...(input.failOnFirstDestinationError != null && {
|
|
2160
|
+
failOnFirstDestinationError: input.failOnFirstDestinationError,
|
|
2161
|
+
}),
|
|
2261
2162
|
};
|
|
2262
2163
|
};
|
|
2263
2164
|
const serializeAws_restJson1EventBridgeDestinationProperties = (input, context) => {
|
|
2264
2165
|
return {
|
|
2265
|
-
...(input.errorHandlingConfig
|
|
2266
|
-
input.errorHandlingConfig !== null && {
|
|
2166
|
+
...(input.errorHandlingConfig != null && {
|
|
2267
2167
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2268
2168
|
}),
|
|
2269
|
-
...(input.object
|
|
2169
|
+
...(input.object != null && { object: input.object }),
|
|
2270
2170
|
};
|
|
2271
2171
|
};
|
|
2272
2172
|
const serializeAws_restJson1GoogleAnalyticsConnectorProfileCredentials = (input, context) => {
|
|
2273
2173
|
return {
|
|
2274
|
-
...(input.accessToken
|
|
2275
|
-
...(input.clientId
|
|
2276
|
-
...(input.clientSecret
|
|
2277
|
-
...(input.oAuthRequest
|
|
2278
|
-
input.oAuthRequest !== null && {
|
|
2174
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2175
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
2176
|
+
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2177
|
+
...(input.oAuthRequest != null && {
|
|
2279
2178
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2280
2179
|
}),
|
|
2281
|
-
...(input.refreshToken
|
|
2180
|
+
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2282
2181
|
};
|
|
2283
2182
|
};
|
|
2284
2183
|
const serializeAws_restJson1GoogleAnalyticsConnectorProfileProperties = (input, context) => {
|
|
@@ -2286,17 +2185,16 @@ const serializeAws_restJson1GoogleAnalyticsConnectorProfileProperties = (input,
|
|
|
2286
2185
|
};
|
|
2287
2186
|
const serializeAws_restJson1GoogleAnalyticsSourceProperties = (input, context) => {
|
|
2288
2187
|
return {
|
|
2289
|
-
...(input.object
|
|
2188
|
+
...(input.object != null && { object: input.object }),
|
|
2290
2189
|
};
|
|
2291
2190
|
};
|
|
2292
2191
|
const serializeAws_restJson1HoneycodeConnectorProfileCredentials = (input, context) => {
|
|
2293
2192
|
return {
|
|
2294
|
-
...(input.accessToken
|
|
2295
|
-
...(input.oAuthRequest
|
|
2296
|
-
input.oAuthRequest !== null && {
|
|
2193
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2194
|
+
...(input.oAuthRequest != null && {
|
|
2297
2195
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2298
2196
|
}),
|
|
2299
|
-
...(input.refreshToken
|
|
2197
|
+
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2300
2198
|
};
|
|
2301
2199
|
};
|
|
2302
2200
|
const serializeAws_restJson1HoneycodeConnectorProfileProperties = (input, context) => {
|
|
@@ -2304,11 +2202,10 @@ const serializeAws_restJson1HoneycodeConnectorProfileProperties = (input, contex
|
|
|
2304
2202
|
};
|
|
2305
2203
|
const serializeAws_restJson1HoneycodeDestinationProperties = (input, context) => {
|
|
2306
2204
|
return {
|
|
2307
|
-
...(input.errorHandlingConfig
|
|
2308
|
-
input.errorHandlingConfig !== null && {
|
|
2205
|
+
...(input.errorHandlingConfig != null && {
|
|
2309
2206
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2310
2207
|
}),
|
|
2311
|
-
...(input.object
|
|
2208
|
+
...(input.object != null && { object: input.object }),
|
|
2312
2209
|
};
|
|
2313
2210
|
};
|
|
2314
2211
|
const serializeAws_restJson1IdFieldNameList = (input, context) => {
|
|
@@ -2323,32 +2220,30 @@ const serializeAws_restJson1IdFieldNameList = (input, context) => {
|
|
|
2323
2220
|
};
|
|
2324
2221
|
const serializeAws_restJson1IncrementalPullConfig = (input, context) => {
|
|
2325
2222
|
return {
|
|
2326
|
-
...(input.datetimeTypeFieldName
|
|
2327
|
-
input.datetimeTypeFieldName !== null && { datetimeTypeFieldName: input.datetimeTypeFieldName }),
|
|
2223
|
+
...(input.datetimeTypeFieldName != null && { datetimeTypeFieldName: input.datetimeTypeFieldName }),
|
|
2328
2224
|
};
|
|
2329
2225
|
};
|
|
2330
2226
|
const serializeAws_restJson1InforNexusConnectorProfileCredentials = (input, context) => {
|
|
2331
2227
|
return {
|
|
2332
|
-
...(input.accessKeyId
|
|
2333
|
-
...(input.datakey
|
|
2334
|
-
...(input.secretAccessKey
|
|
2335
|
-
|
|
2336
|
-
...(input.userId !== undefined && input.userId !== null && { userId: input.userId }),
|
|
2228
|
+
...(input.accessKeyId != null && { accessKeyId: input.accessKeyId }),
|
|
2229
|
+
...(input.datakey != null && { datakey: input.datakey }),
|
|
2230
|
+
...(input.secretAccessKey != null && { secretAccessKey: input.secretAccessKey }),
|
|
2231
|
+
...(input.userId != null && { userId: input.userId }),
|
|
2337
2232
|
};
|
|
2338
2233
|
};
|
|
2339
2234
|
const serializeAws_restJson1InforNexusConnectorProfileProperties = (input, context) => {
|
|
2340
2235
|
return {
|
|
2341
|
-
...(input.instanceUrl
|
|
2236
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2342
2237
|
};
|
|
2343
2238
|
};
|
|
2344
2239
|
const serializeAws_restJson1InforNexusSourceProperties = (input, context) => {
|
|
2345
2240
|
return {
|
|
2346
|
-
...(input.object
|
|
2241
|
+
...(input.object != null && { object: input.object }),
|
|
2347
2242
|
};
|
|
2348
2243
|
};
|
|
2349
2244
|
const serializeAws_restJson1LambdaConnectorProvisioningConfig = (input, context) => {
|
|
2350
2245
|
return {
|
|
2351
|
-
...(input.lambdaArn
|
|
2246
|
+
...(input.lambdaArn != null && { lambdaArn: input.lambdaArn }),
|
|
2352
2247
|
};
|
|
2353
2248
|
};
|
|
2354
2249
|
const serializeAws_restJson1LookoutMetricsDestinationProperties = (input, context) => {
|
|
@@ -2356,75 +2251,68 @@ const serializeAws_restJson1LookoutMetricsDestinationProperties = (input, contex
|
|
|
2356
2251
|
};
|
|
2357
2252
|
const serializeAws_restJson1MarketoConnectorProfileCredentials = (input, context) => {
|
|
2358
2253
|
return {
|
|
2359
|
-
...(input.accessToken
|
|
2360
|
-
...(input.clientId
|
|
2361
|
-
...(input.clientSecret
|
|
2362
|
-
...(input.oAuthRequest
|
|
2363
|
-
input.oAuthRequest !== null && {
|
|
2254
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2255
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
2256
|
+
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2257
|
+
...(input.oAuthRequest != null && {
|
|
2364
2258
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2365
2259
|
}),
|
|
2366
2260
|
};
|
|
2367
2261
|
};
|
|
2368
2262
|
const serializeAws_restJson1MarketoConnectorProfileProperties = (input, context) => {
|
|
2369
2263
|
return {
|
|
2370
|
-
...(input.instanceUrl
|
|
2264
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2371
2265
|
};
|
|
2372
2266
|
};
|
|
2373
2267
|
const serializeAws_restJson1MarketoDestinationProperties = (input, context) => {
|
|
2374
2268
|
return {
|
|
2375
|
-
...(input.errorHandlingConfig
|
|
2376
|
-
input.errorHandlingConfig !== null && {
|
|
2269
|
+
...(input.errorHandlingConfig != null && {
|
|
2377
2270
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2378
2271
|
}),
|
|
2379
|
-
...(input.object
|
|
2272
|
+
...(input.object != null && { object: input.object }),
|
|
2380
2273
|
};
|
|
2381
2274
|
};
|
|
2382
2275
|
const serializeAws_restJson1MarketoSourceProperties = (input, context) => {
|
|
2383
2276
|
return {
|
|
2384
|
-
...(input.object
|
|
2277
|
+
...(input.object != null && { object: input.object }),
|
|
2385
2278
|
};
|
|
2386
2279
|
};
|
|
2387
2280
|
const serializeAws_restJson1OAuth2Credentials = (input, context) => {
|
|
2388
2281
|
return {
|
|
2389
|
-
...(input.accessToken
|
|
2390
|
-
...(input.clientId
|
|
2391
|
-
...(input.clientSecret
|
|
2392
|
-
...(input.oAuthRequest
|
|
2393
|
-
input.oAuthRequest !== null && {
|
|
2282
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2283
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
2284
|
+
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2285
|
+
...(input.oAuthRequest != null && {
|
|
2394
2286
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2395
2287
|
}),
|
|
2396
|
-
...(input.refreshToken
|
|
2288
|
+
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2397
2289
|
};
|
|
2398
2290
|
};
|
|
2399
2291
|
const serializeAws_restJson1OAuth2Properties = (input, context) => {
|
|
2400
2292
|
return {
|
|
2401
|
-
...(input.oAuth2GrantType
|
|
2402
|
-
|
|
2403
|
-
...(input.
|
|
2404
|
-
...(input.tokenUrlCustomProperties !== undefined &&
|
|
2405
|
-
input.tokenUrlCustomProperties !== null && {
|
|
2293
|
+
...(input.oAuth2GrantType != null && { oAuth2GrantType: input.oAuth2GrantType }),
|
|
2294
|
+
...(input.tokenUrl != null && { tokenUrl: input.tokenUrl }),
|
|
2295
|
+
...(input.tokenUrlCustomProperties != null && {
|
|
2406
2296
|
tokenUrlCustomProperties: serializeAws_restJson1TokenUrlCustomProperties(input.tokenUrlCustomProperties, context),
|
|
2407
2297
|
}),
|
|
2408
2298
|
};
|
|
2409
2299
|
};
|
|
2410
2300
|
const serializeAws_restJson1OAuthCredentials = (input, context) => {
|
|
2411
2301
|
return {
|
|
2412
|
-
...(input.accessToken
|
|
2413
|
-
...(input.clientId
|
|
2414
|
-
...(input.clientSecret
|
|
2415
|
-
...(input.oAuthRequest
|
|
2416
|
-
input.oAuthRequest !== null && {
|
|
2302
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2303
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
2304
|
+
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2305
|
+
...(input.oAuthRequest != null && {
|
|
2417
2306
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2418
2307
|
}),
|
|
2419
|
-
...(input.refreshToken
|
|
2308
|
+
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2420
2309
|
};
|
|
2421
2310
|
};
|
|
2422
2311
|
const serializeAws_restJson1OAuthProperties = (input, context) => {
|
|
2423
2312
|
return {
|
|
2424
|
-
...(input.authCodeUrl
|
|
2425
|
-
...(input.oAuthScopes
|
|
2426
|
-
|
|
2427
|
-
...(input.tokenUrl !== undefined && input.tokenUrl !== null && { tokenUrl: input.tokenUrl }),
|
|
2313
|
+
...(input.authCodeUrl != null && { authCodeUrl: input.authCodeUrl }),
|
|
2314
|
+
...(input.oAuthScopes != null && { oAuthScopes: serializeAws_restJson1OAuthScopeList(input.oAuthScopes, context) }),
|
|
2315
|
+
...(input.tokenUrl != null && { tokenUrl: input.tokenUrl }),
|
|
2428
2316
|
};
|
|
2429
2317
|
};
|
|
2430
2318
|
const serializeAws_restJson1OAuthScopeList = (input, context) => {
|
|
@@ -2439,8 +2327,8 @@ const serializeAws_restJson1OAuthScopeList = (input, context) => {
|
|
|
2439
2327
|
};
|
|
2440
2328
|
const serializeAws_restJson1PrefixConfig = (input, context) => {
|
|
2441
2329
|
return {
|
|
2442
|
-
...(input.prefixFormat
|
|
2443
|
-
...(input.prefixType
|
|
2330
|
+
...(input.prefixFormat != null && { prefixFormat: input.prefixFormat }),
|
|
2331
|
+
...(input.prefixType != null && { prefixType: input.prefixType }),
|
|
2444
2332
|
};
|
|
2445
2333
|
};
|
|
2446
2334
|
const serializeAws_restJson1ProfilePropertiesMap = (input, context) => {
|
|
@@ -2456,206 +2344,176 @@ const serializeAws_restJson1ProfilePropertiesMap = (input, context) => {
|
|
|
2456
2344
|
};
|
|
2457
2345
|
const serializeAws_restJson1RedshiftConnectorProfileCredentials = (input, context) => {
|
|
2458
2346
|
return {
|
|
2459
|
-
...(input.password
|
|
2460
|
-
...(input.username
|
|
2347
|
+
...(input.password != null && { password: input.password }),
|
|
2348
|
+
...(input.username != null && { username: input.username }),
|
|
2461
2349
|
};
|
|
2462
2350
|
};
|
|
2463
2351
|
const serializeAws_restJson1RedshiftConnectorProfileProperties = (input, context) => {
|
|
2464
2352
|
return {
|
|
2465
|
-
...(input.bucketName
|
|
2466
|
-
...(input.bucketPrefix
|
|
2467
|
-
...(input.databaseUrl
|
|
2468
|
-
...(input.roleArn
|
|
2353
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2354
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2355
|
+
...(input.databaseUrl != null && { databaseUrl: input.databaseUrl }),
|
|
2356
|
+
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2469
2357
|
};
|
|
2470
2358
|
};
|
|
2471
2359
|
const serializeAws_restJson1RedshiftDestinationProperties = (input, context) => {
|
|
2472
2360
|
return {
|
|
2473
|
-
...(input.bucketPrefix
|
|
2474
|
-
...(input.errorHandlingConfig
|
|
2475
|
-
input.errorHandlingConfig !== null && {
|
|
2361
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2362
|
+
...(input.errorHandlingConfig != null && {
|
|
2476
2363
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2477
2364
|
}),
|
|
2478
|
-
...(input.intermediateBucketName
|
|
2479
|
-
|
|
2480
|
-
...(input.object !== undefined && input.object !== null && { object: input.object }),
|
|
2365
|
+
...(input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName }),
|
|
2366
|
+
...(input.object != null && { object: input.object }),
|
|
2481
2367
|
};
|
|
2482
2368
|
};
|
|
2483
2369
|
const serializeAws_restJson1S3DestinationProperties = (input, context) => {
|
|
2484
2370
|
return {
|
|
2485
|
-
...(input.bucketName
|
|
2486
|
-
...(input.bucketPrefix
|
|
2487
|
-
...(input.s3OutputFormatConfig
|
|
2488
|
-
input.s3OutputFormatConfig !== null && {
|
|
2371
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2372
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2373
|
+
...(input.s3OutputFormatConfig != null && {
|
|
2489
2374
|
s3OutputFormatConfig: serializeAws_restJson1S3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2490
2375
|
}),
|
|
2491
2376
|
};
|
|
2492
2377
|
};
|
|
2493
2378
|
const serializeAws_restJson1S3InputFormatConfig = (input, context) => {
|
|
2494
2379
|
return {
|
|
2495
|
-
...(input.s3InputFileType
|
|
2496
|
-
input.s3InputFileType !== null && { s3InputFileType: input.s3InputFileType }),
|
|
2380
|
+
...(input.s3InputFileType != null && { s3InputFileType: input.s3InputFileType }),
|
|
2497
2381
|
};
|
|
2498
2382
|
};
|
|
2499
2383
|
const serializeAws_restJson1S3OutputFormatConfig = (input, context) => {
|
|
2500
2384
|
return {
|
|
2501
|
-
...(input.aggregationConfig
|
|
2502
|
-
input.aggregationConfig !== null && {
|
|
2385
|
+
...(input.aggregationConfig != null && {
|
|
2503
2386
|
aggregationConfig: serializeAws_restJson1AggregationConfig(input.aggregationConfig, context),
|
|
2504
2387
|
}),
|
|
2505
|
-
...(input.fileType
|
|
2506
|
-
...(input.prefixConfig
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2388
|
+
...(input.fileType != null && { fileType: input.fileType }),
|
|
2389
|
+
...(input.prefixConfig != null && {
|
|
2390
|
+
prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context),
|
|
2391
|
+
}),
|
|
2392
|
+
...(input.preserveSourceDataTyping != null && { preserveSourceDataTyping: input.preserveSourceDataTyping }),
|
|
2510
2393
|
};
|
|
2511
2394
|
};
|
|
2512
2395
|
const serializeAws_restJson1S3SourceProperties = (input, context) => {
|
|
2513
2396
|
return {
|
|
2514
|
-
...(input.bucketName
|
|
2515
|
-
...(input.bucketPrefix
|
|
2516
|
-
...(input.s3InputFormatConfig
|
|
2517
|
-
input.s3InputFormatConfig !== null && {
|
|
2397
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2398
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2399
|
+
...(input.s3InputFormatConfig != null && {
|
|
2518
2400
|
s3InputFormatConfig: serializeAws_restJson1S3InputFormatConfig(input.s3InputFormatConfig, context),
|
|
2519
2401
|
}),
|
|
2520
2402
|
};
|
|
2521
2403
|
};
|
|
2522
2404
|
const serializeAws_restJson1SalesforceConnectorProfileCredentials = (input, context) => {
|
|
2523
2405
|
return {
|
|
2524
|
-
...(input.accessToken
|
|
2525
|
-
...(input.clientCredentialsArn
|
|
2526
|
-
|
|
2527
|
-
...(input.oAuthRequest !== undefined &&
|
|
2528
|
-
input.oAuthRequest !== null && {
|
|
2406
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2407
|
+
...(input.clientCredentialsArn != null && { clientCredentialsArn: input.clientCredentialsArn }),
|
|
2408
|
+
...(input.oAuthRequest != null && {
|
|
2529
2409
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2530
2410
|
}),
|
|
2531
|
-
...(input.refreshToken
|
|
2411
|
+
...(input.refreshToken != null && { refreshToken: input.refreshToken }),
|
|
2532
2412
|
};
|
|
2533
2413
|
};
|
|
2534
2414
|
const serializeAws_restJson1SalesforceConnectorProfileProperties = (input, context) => {
|
|
2535
2415
|
return {
|
|
2536
|
-
...(input.instanceUrl
|
|
2537
|
-
...(input.isSandboxEnvironment
|
|
2538
|
-
input.isSandboxEnvironment !== null && { isSandboxEnvironment: input.isSandboxEnvironment }),
|
|
2416
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2417
|
+
...(input.isSandboxEnvironment != null && { isSandboxEnvironment: input.isSandboxEnvironment }),
|
|
2539
2418
|
};
|
|
2540
2419
|
};
|
|
2541
2420
|
const serializeAws_restJson1SalesforceDestinationProperties = (input, context) => {
|
|
2542
2421
|
return {
|
|
2543
|
-
...(input.errorHandlingConfig
|
|
2544
|
-
input.errorHandlingConfig !== null && {
|
|
2422
|
+
...(input.errorHandlingConfig != null && {
|
|
2545
2423
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2546
2424
|
}),
|
|
2547
|
-
...(input.idFieldNames
|
|
2548
|
-
input.idFieldNames !== null && {
|
|
2425
|
+
...(input.idFieldNames != null && {
|
|
2549
2426
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2550
2427
|
}),
|
|
2551
|
-
...(input.object
|
|
2552
|
-
...(input.writeOperationType
|
|
2553
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }),
|
|
2428
|
+
...(input.object != null && { object: input.object }),
|
|
2429
|
+
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2554
2430
|
};
|
|
2555
2431
|
};
|
|
2556
2432
|
const serializeAws_restJson1SalesforceSourceProperties = (input, context) => {
|
|
2557
2433
|
return {
|
|
2558
|
-
...(input.enableDynamicFieldUpdate
|
|
2559
|
-
|
|
2560
|
-
...(input.
|
|
2561
|
-
input.includeDeletedRecords !== null && { includeDeletedRecords: input.includeDeletedRecords }),
|
|
2562
|
-
...(input.object !== undefined && input.object !== null && { object: input.object }),
|
|
2434
|
+
...(input.enableDynamicFieldUpdate != null && { enableDynamicFieldUpdate: input.enableDynamicFieldUpdate }),
|
|
2435
|
+
...(input.includeDeletedRecords != null && { includeDeletedRecords: input.includeDeletedRecords }),
|
|
2436
|
+
...(input.object != null && { object: input.object }),
|
|
2563
2437
|
};
|
|
2564
2438
|
};
|
|
2565
2439
|
const serializeAws_restJson1SAPODataConnectorProfileCredentials = (input, context) => {
|
|
2566
2440
|
return {
|
|
2567
|
-
...(input.basicAuthCredentials
|
|
2568
|
-
input.basicAuthCredentials !== null && {
|
|
2441
|
+
...(input.basicAuthCredentials != null && {
|
|
2569
2442
|
basicAuthCredentials: serializeAws_restJson1BasicAuthCredentials(input.basicAuthCredentials, context),
|
|
2570
2443
|
}),
|
|
2571
|
-
...(input.oAuthCredentials
|
|
2572
|
-
input.oAuthCredentials !== null && {
|
|
2444
|
+
...(input.oAuthCredentials != null && {
|
|
2573
2445
|
oAuthCredentials: serializeAws_restJson1OAuthCredentials(input.oAuthCredentials, context),
|
|
2574
2446
|
}),
|
|
2575
2447
|
};
|
|
2576
2448
|
};
|
|
2577
2449
|
const serializeAws_restJson1SAPODataConnectorProfileProperties = (input, context) => {
|
|
2578
2450
|
return {
|
|
2579
|
-
...(input.applicationHostUrl
|
|
2580
|
-
|
|
2581
|
-
...(input.
|
|
2582
|
-
|
|
2583
|
-
...(input.
|
|
2584
|
-
...(input.logonLanguage !== undefined && input.logonLanguage !== null && { logonLanguage: input.logonLanguage }),
|
|
2585
|
-
...(input.oAuthProperties !== undefined &&
|
|
2586
|
-
input.oAuthProperties !== null && {
|
|
2451
|
+
...(input.applicationHostUrl != null && { applicationHostUrl: input.applicationHostUrl }),
|
|
2452
|
+
...(input.applicationServicePath != null && { applicationServicePath: input.applicationServicePath }),
|
|
2453
|
+
...(input.clientNumber != null && { clientNumber: input.clientNumber }),
|
|
2454
|
+
...(input.logonLanguage != null && { logonLanguage: input.logonLanguage }),
|
|
2455
|
+
...(input.oAuthProperties != null && {
|
|
2587
2456
|
oAuthProperties: serializeAws_restJson1OAuthProperties(input.oAuthProperties, context),
|
|
2588
2457
|
}),
|
|
2589
|
-
...(input.portNumber
|
|
2590
|
-
...(input.privateLinkServiceName
|
|
2591
|
-
input.privateLinkServiceName !== null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
2458
|
+
...(input.portNumber != null && { portNumber: input.portNumber }),
|
|
2459
|
+
...(input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
2592
2460
|
};
|
|
2593
2461
|
};
|
|
2594
2462
|
const serializeAws_restJson1SAPODataDestinationProperties = (input, context) => {
|
|
2595
2463
|
return {
|
|
2596
|
-
...(input.errorHandlingConfig
|
|
2597
|
-
input.errorHandlingConfig !== null && {
|
|
2464
|
+
...(input.errorHandlingConfig != null && {
|
|
2598
2465
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2599
2466
|
}),
|
|
2600
|
-
...(input.idFieldNames
|
|
2601
|
-
input.idFieldNames !== null && {
|
|
2467
|
+
...(input.idFieldNames != null && {
|
|
2602
2468
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2603
2469
|
}),
|
|
2604
|
-
...(input.objectPath
|
|
2605
|
-
...(input.successResponseHandlingConfig
|
|
2606
|
-
input.successResponseHandlingConfig !== null && {
|
|
2470
|
+
...(input.objectPath != null && { objectPath: input.objectPath }),
|
|
2471
|
+
...(input.successResponseHandlingConfig != null && {
|
|
2607
2472
|
successResponseHandlingConfig: serializeAws_restJson1SuccessResponseHandlingConfig(input.successResponseHandlingConfig, context),
|
|
2608
2473
|
}),
|
|
2609
|
-
...(input.writeOperationType
|
|
2610
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }),
|
|
2474
|
+
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2611
2475
|
};
|
|
2612
2476
|
};
|
|
2613
2477
|
const serializeAws_restJson1SAPODataSourceProperties = (input, context) => {
|
|
2614
2478
|
return {
|
|
2615
|
-
...(input.objectPath
|
|
2479
|
+
...(input.objectPath != null && { objectPath: input.objectPath }),
|
|
2616
2480
|
};
|
|
2617
2481
|
};
|
|
2618
2482
|
const serializeAws_restJson1ScheduledTriggerProperties = (input, context) => {
|
|
2619
2483
|
return {
|
|
2620
|
-
...(input.dataPullMode
|
|
2621
|
-
...(input.firstExecutionFrom
|
|
2622
|
-
input.firstExecutionFrom !== null && {
|
|
2484
|
+
...(input.dataPullMode != null && { dataPullMode: input.dataPullMode }),
|
|
2485
|
+
...(input.firstExecutionFrom != null && {
|
|
2623
2486
|
firstExecutionFrom: Math.round(input.firstExecutionFrom.getTime() / 1000),
|
|
2624
2487
|
}),
|
|
2625
|
-
...(input.flowErrorDeactivationThreshold
|
|
2626
|
-
input.flowErrorDeactivationThreshold !== null && {
|
|
2488
|
+
...(input.flowErrorDeactivationThreshold != null && {
|
|
2627
2489
|
flowErrorDeactivationThreshold: input.flowErrorDeactivationThreshold,
|
|
2628
2490
|
}),
|
|
2629
|
-
...(input.scheduleEndTime
|
|
2630
|
-
|
|
2631
|
-
...(input.
|
|
2632
|
-
|
|
2633
|
-
...(input.
|
|
2634
|
-
input.scheduleOffset !== null && { scheduleOffset: input.scheduleOffset }),
|
|
2635
|
-
...(input.scheduleStartTime !== undefined &&
|
|
2636
|
-
input.scheduleStartTime !== null && { scheduleStartTime: Math.round(input.scheduleStartTime.getTime() / 1000) }),
|
|
2637
|
-
...(input.timezone !== undefined && input.timezone !== null && { timezone: input.timezone }),
|
|
2491
|
+
...(input.scheduleEndTime != null && { scheduleEndTime: Math.round(input.scheduleEndTime.getTime() / 1000) }),
|
|
2492
|
+
...(input.scheduleExpression != null && { scheduleExpression: input.scheduleExpression }),
|
|
2493
|
+
...(input.scheduleOffset != null && { scheduleOffset: input.scheduleOffset }),
|
|
2494
|
+
...(input.scheduleStartTime != null && { scheduleStartTime: Math.round(input.scheduleStartTime.getTime() / 1000) }),
|
|
2495
|
+
...(input.timezone != null && { timezone: input.timezone }),
|
|
2638
2496
|
};
|
|
2639
2497
|
};
|
|
2640
2498
|
const serializeAws_restJson1ServiceNowConnectorProfileCredentials = (input, context) => {
|
|
2641
2499
|
return {
|
|
2642
|
-
...(input.password
|
|
2643
|
-
...(input.username
|
|
2500
|
+
...(input.password != null && { password: input.password }),
|
|
2501
|
+
...(input.username != null && { username: input.username }),
|
|
2644
2502
|
};
|
|
2645
2503
|
};
|
|
2646
2504
|
const serializeAws_restJson1ServiceNowConnectorProfileProperties = (input, context) => {
|
|
2647
2505
|
return {
|
|
2648
|
-
...(input.instanceUrl
|
|
2506
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2649
2507
|
};
|
|
2650
2508
|
};
|
|
2651
2509
|
const serializeAws_restJson1ServiceNowSourceProperties = (input, context) => {
|
|
2652
2510
|
return {
|
|
2653
|
-
...(input.object
|
|
2511
|
+
...(input.object != null && { object: input.object }),
|
|
2654
2512
|
};
|
|
2655
2513
|
};
|
|
2656
2514
|
const serializeAws_restJson1SingularConnectorProfileCredentials = (input, context) => {
|
|
2657
2515
|
return {
|
|
2658
|
-
...(input.apiKey
|
|
2516
|
+
...(input.apiKey != null && { apiKey: input.apiKey }),
|
|
2659
2517
|
};
|
|
2660
2518
|
};
|
|
2661
2519
|
const serializeAws_restJson1SingularConnectorProfileProperties = (input, context) => {
|
|
@@ -2663,110 +2521,94 @@ const serializeAws_restJson1SingularConnectorProfileProperties = (input, context
|
|
|
2663
2521
|
};
|
|
2664
2522
|
const serializeAws_restJson1SingularSourceProperties = (input, context) => {
|
|
2665
2523
|
return {
|
|
2666
|
-
...(input.object
|
|
2524
|
+
...(input.object != null && { object: input.object }),
|
|
2667
2525
|
};
|
|
2668
2526
|
};
|
|
2669
2527
|
const serializeAws_restJson1SlackConnectorProfileCredentials = (input, context) => {
|
|
2670
2528
|
return {
|
|
2671
|
-
...(input.accessToken
|
|
2672
|
-
...(input.clientId
|
|
2673
|
-
...(input.clientSecret
|
|
2674
|
-
...(input.oAuthRequest
|
|
2675
|
-
input.oAuthRequest !== null && {
|
|
2529
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2530
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
2531
|
+
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2532
|
+
...(input.oAuthRequest != null && {
|
|
2676
2533
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2677
2534
|
}),
|
|
2678
2535
|
};
|
|
2679
2536
|
};
|
|
2680
2537
|
const serializeAws_restJson1SlackConnectorProfileProperties = (input, context) => {
|
|
2681
2538
|
return {
|
|
2682
|
-
...(input.instanceUrl
|
|
2539
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2683
2540
|
};
|
|
2684
2541
|
};
|
|
2685
2542
|
const serializeAws_restJson1SlackSourceProperties = (input, context) => {
|
|
2686
2543
|
return {
|
|
2687
|
-
...(input.object
|
|
2544
|
+
...(input.object != null && { object: input.object }),
|
|
2688
2545
|
};
|
|
2689
2546
|
};
|
|
2690
2547
|
const serializeAws_restJson1SnowflakeConnectorProfileCredentials = (input, context) => {
|
|
2691
2548
|
return {
|
|
2692
|
-
...(input.password
|
|
2693
|
-
...(input.username
|
|
2549
|
+
...(input.password != null && { password: input.password }),
|
|
2550
|
+
...(input.username != null && { username: input.username }),
|
|
2694
2551
|
};
|
|
2695
2552
|
};
|
|
2696
2553
|
const serializeAws_restJson1SnowflakeConnectorProfileProperties = (input, context) => {
|
|
2697
2554
|
return {
|
|
2698
|
-
...(input.accountName
|
|
2699
|
-
...(input.bucketName
|
|
2700
|
-
...(input.bucketPrefix
|
|
2701
|
-
...(input.privateLinkServiceName
|
|
2702
|
-
|
|
2703
|
-
...(input.
|
|
2704
|
-
...(input.
|
|
2705
|
-
...(input.warehouse !== undefined && input.warehouse !== null && { warehouse: input.warehouse }),
|
|
2555
|
+
...(input.accountName != null && { accountName: input.accountName }),
|
|
2556
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2557
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2558
|
+
...(input.privateLinkServiceName != null && { privateLinkServiceName: input.privateLinkServiceName }),
|
|
2559
|
+
...(input.region != null && { region: input.region }),
|
|
2560
|
+
...(input.stage != null && { stage: input.stage }),
|
|
2561
|
+
...(input.warehouse != null && { warehouse: input.warehouse }),
|
|
2706
2562
|
};
|
|
2707
2563
|
};
|
|
2708
2564
|
const serializeAws_restJson1SnowflakeDestinationProperties = (input, context) => {
|
|
2709
2565
|
return {
|
|
2710
|
-
...(input.bucketPrefix
|
|
2711
|
-
...(input.errorHandlingConfig
|
|
2712
|
-
input.errorHandlingConfig !== null && {
|
|
2566
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2567
|
+
...(input.errorHandlingConfig != null && {
|
|
2713
2568
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2714
2569
|
}),
|
|
2715
|
-
...(input.intermediateBucketName
|
|
2716
|
-
|
|
2717
|
-
...(input.object !== undefined && input.object !== null && { object: input.object }),
|
|
2570
|
+
...(input.intermediateBucketName != null && { intermediateBucketName: input.intermediateBucketName }),
|
|
2571
|
+
...(input.object != null && { object: input.object }),
|
|
2718
2572
|
};
|
|
2719
2573
|
};
|
|
2720
2574
|
const serializeAws_restJson1SourceConnectorProperties = (input, context) => {
|
|
2721
2575
|
return {
|
|
2722
|
-
...(input.Amplitude
|
|
2723
|
-
input.Amplitude !== null && {
|
|
2576
|
+
...(input.Amplitude != null && {
|
|
2724
2577
|
Amplitude: serializeAws_restJson1AmplitudeSourceProperties(input.Amplitude, context),
|
|
2725
2578
|
}),
|
|
2726
|
-
...(input.CustomConnector
|
|
2727
|
-
input.CustomConnector !== null && {
|
|
2579
|
+
...(input.CustomConnector != null && {
|
|
2728
2580
|
CustomConnector: serializeAws_restJson1CustomConnectorSourceProperties(input.CustomConnector, context),
|
|
2729
2581
|
}),
|
|
2730
|
-
...(input.Datadog
|
|
2731
|
-
|
|
2732
|
-
...(input.Dynatrace !== undefined &&
|
|
2733
|
-
input.Dynatrace !== null && {
|
|
2582
|
+
...(input.Datadog != null && { Datadog: serializeAws_restJson1DatadogSourceProperties(input.Datadog, context) }),
|
|
2583
|
+
...(input.Dynatrace != null && {
|
|
2734
2584
|
Dynatrace: serializeAws_restJson1DynatraceSourceProperties(input.Dynatrace, context),
|
|
2735
2585
|
}),
|
|
2736
|
-
...(input.GoogleAnalytics
|
|
2737
|
-
input.GoogleAnalytics !== null && {
|
|
2586
|
+
...(input.GoogleAnalytics != null && {
|
|
2738
2587
|
GoogleAnalytics: serializeAws_restJson1GoogleAnalyticsSourceProperties(input.GoogleAnalytics, context),
|
|
2739
2588
|
}),
|
|
2740
|
-
...(input.InforNexus
|
|
2741
|
-
input.InforNexus !== null && {
|
|
2589
|
+
...(input.InforNexus != null && {
|
|
2742
2590
|
InforNexus: serializeAws_restJson1InforNexusSourceProperties(input.InforNexus, context),
|
|
2743
2591
|
}),
|
|
2744
|
-
...(input.Marketo
|
|
2745
|
-
|
|
2746
|
-
...(input.
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
...(input.Salesforce !== undefined &&
|
|
2751
|
-
input.Salesforce !== null && {
|
|
2592
|
+
...(input.Marketo != null && { Marketo: serializeAws_restJson1MarketoSourceProperties(input.Marketo, context) }),
|
|
2593
|
+
...(input.S3 != null && { S3: serializeAws_restJson1S3SourceProperties(input.S3, context) }),
|
|
2594
|
+
...(input.SAPOData != null && {
|
|
2595
|
+
SAPOData: serializeAws_restJson1SAPODataSourceProperties(input.SAPOData, context),
|
|
2596
|
+
}),
|
|
2597
|
+
...(input.Salesforce != null && {
|
|
2752
2598
|
Salesforce: serializeAws_restJson1SalesforceSourceProperties(input.Salesforce, context),
|
|
2753
2599
|
}),
|
|
2754
|
-
...(input.ServiceNow
|
|
2755
|
-
input.ServiceNow !== null && {
|
|
2600
|
+
...(input.ServiceNow != null && {
|
|
2756
2601
|
ServiceNow: serializeAws_restJson1ServiceNowSourceProperties(input.ServiceNow, context),
|
|
2757
2602
|
}),
|
|
2758
|
-
...(input.Singular
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
...(input.Trendmicro
|
|
2763
|
-
input.Trendmicro !== null && {
|
|
2603
|
+
...(input.Singular != null && {
|
|
2604
|
+
Singular: serializeAws_restJson1SingularSourceProperties(input.Singular, context),
|
|
2605
|
+
}),
|
|
2606
|
+
...(input.Slack != null && { Slack: serializeAws_restJson1SlackSourceProperties(input.Slack, context) }),
|
|
2607
|
+
...(input.Trendmicro != null && {
|
|
2764
2608
|
Trendmicro: serializeAws_restJson1TrendmicroSourceProperties(input.Trendmicro, context),
|
|
2765
2609
|
}),
|
|
2766
|
-
...(input.Veeva
|
|
2767
|
-
|
|
2768
|
-
...(input.Zendesk !== undefined &&
|
|
2769
|
-
input.Zendesk !== null && { Zendesk: serializeAws_restJson1ZendeskSourceProperties(input.Zendesk, context) }),
|
|
2610
|
+
...(input.Veeva != null && { Veeva: serializeAws_restJson1VeevaSourceProperties(input.Veeva, context) }),
|
|
2611
|
+
...(input.Zendesk != null && { Zendesk: serializeAws_restJson1ZendeskSourceProperties(input.Zendesk, context) }),
|
|
2770
2612
|
};
|
|
2771
2613
|
};
|
|
2772
2614
|
const serializeAws_restJson1SourceFields = (input, context) => {
|
|
@@ -2781,24 +2623,21 @@ const serializeAws_restJson1SourceFields = (input, context) => {
|
|
|
2781
2623
|
};
|
|
2782
2624
|
const serializeAws_restJson1SourceFlowConfig = (input, context) => {
|
|
2783
2625
|
return {
|
|
2784
|
-
...(input.apiVersion
|
|
2785
|
-
...(input.connectorProfileName
|
|
2786
|
-
|
|
2787
|
-
...(input.
|
|
2788
|
-
...(input.incrementalPullConfig !== undefined &&
|
|
2789
|
-
input.incrementalPullConfig !== null && {
|
|
2626
|
+
...(input.apiVersion != null && { apiVersion: input.apiVersion }),
|
|
2627
|
+
...(input.connectorProfileName != null && { connectorProfileName: input.connectorProfileName }),
|
|
2628
|
+
...(input.connectorType != null && { connectorType: input.connectorType }),
|
|
2629
|
+
...(input.incrementalPullConfig != null && {
|
|
2790
2630
|
incrementalPullConfig: serializeAws_restJson1IncrementalPullConfig(input.incrementalPullConfig, context),
|
|
2791
2631
|
}),
|
|
2792
|
-
...(input.sourceConnectorProperties
|
|
2793
|
-
input.sourceConnectorProperties !== null && {
|
|
2632
|
+
...(input.sourceConnectorProperties != null && {
|
|
2794
2633
|
sourceConnectorProperties: serializeAws_restJson1SourceConnectorProperties(input.sourceConnectorProperties, context),
|
|
2795
2634
|
}),
|
|
2796
2635
|
};
|
|
2797
2636
|
};
|
|
2798
2637
|
const serializeAws_restJson1SuccessResponseHandlingConfig = (input, context) => {
|
|
2799
2638
|
return {
|
|
2800
|
-
...(input.bucketName
|
|
2801
|
-
...(input.bucketPrefix
|
|
2639
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2640
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2802
2641
|
};
|
|
2803
2642
|
};
|
|
2804
2643
|
const serializeAws_restJson1TagMap = (input, context) => {
|
|
@@ -2814,19 +2653,17 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2814
2653
|
};
|
|
2815
2654
|
const serializeAws_restJson1Task = (input, context) => {
|
|
2816
2655
|
return {
|
|
2817
|
-
...(input.connectorOperator
|
|
2818
|
-
input.connectorOperator !== null && {
|
|
2656
|
+
...(input.connectorOperator != null && {
|
|
2819
2657
|
connectorOperator: serializeAws_restJson1ConnectorOperator(input.connectorOperator, context),
|
|
2820
2658
|
}),
|
|
2821
|
-
...(input.destinationField
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
...(input.taskProperties
|
|
2826
|
-
input.taskProperties !== null && {
|
|
2659
|
+
...(input.destinationField != null && { destinationField: input.destinationField }),
|
|
2660
|
+
...(input.sourceFields != null && {
|
|
2661
|
+
sourceFields: serializeAws_restJson1SourceFields(input.sourceFields, context),
|
|
2662
|
+
}),
|
|
2663
|
+
...(input.taskProperties != null && {
|
|
2827
2664
|
taskProperties: serializeAws_restJson1TaskPropertiesMap(input.taskProperties, context),
|
|
2828
2665
|
}),
|
|
2829
|
-
...(input.taskType
|
|
2666
|
+
...(input.taskType != null && { taskType: input.taskType }),
|
|
2830
2667
|
};
|
|
2831
2668
|
};
|
|
2832
2669
|
const serializeAws_restJson1TaskPropertiesMap = (input, context) => {
|
|
@@ -2863,7 +2700,7 @@ const serializeAws_restJson1TokenUrlCustomProperties = (input, context) => {
|
|
|
2863
2700
|
};
|
|
2864
2701
|
const serializeAws_restJson1TrendmicroConnectorProfileCredentials = (input, context) => {
|
|
2865
2702
|
return {
|
|
2866
|
-
...(input.apiSecretKey
|
|
2703
|
+
...(input.apiSecretKey != null && { apiSecretKey: input.apiSecretKey }),
|
|
2867
2704
|
};
|
|
2868
2705
|
};
|
|
2869
2706
|
const serializeAws_restJson1TrendmicroConnectorProfileProperties = (input, context) => {
|
|
@@ -2871,104 +2708,94 @@ const serializeAws_restJson1TrendmicroConnectorProfileProperties = (input, conte
|
|
|
2871
2708
|
};
|
|
2872
2709
|
const serializeAws_restJson1TrendmicroSourceProperties = (input, context) => {
|
|
2873
2710
|
return {
|
|
2874
|
-
...(input.object
|
|
2711
|
+
...(input.object != null && { object: input.object }),
|
|
2875
2712
|
};
|
|
2876
2713
|
};
|
|
2877
2714
|
const serializeAws_restJson1TriggerConfig = (input, context) => {
|
|
2878
2715
|
return {
|
|
2879
|
-
...(input.triggerProperties
|
|
2880
|
-
input.triggerProperties !== null && {
|
|
2716
|
+
...(input.triggerProperties != null && {
|
|
2881
2717
|
triggerProperties: serializeAws_restJson1TriggerProperties(input.triggerProperties, context),
|
|
2882
2718
|
}),
|
|
2883
|
-
...(input.triggerType
|
|
2719
|
+
...(input.triggerType != null && { triggerType: input.triggerType }),
|
|
2884
2720
|
};
|
|
2885
2721
|
};
|
|
2886
2722
|
const serializeAws_restJson1TriggerProperties = (input, context) => {
|
|
2887
2723
|
return {
|
|
2888
|
-
...(input.Scheduled
|
|
2889
|
-
input.Scheduled !== null && {
|
|
2724
|
+
...(input.Scheduled != null && {
|
|
2890
2725
|
Scheduled: serializeAws_restJson1ScheduledTriggerProperties(input.Scheduled, context),
|
|
2891
2726
|
}),
|
|
2892
2727
|
};
|
|
2893
2728
|
};
|
|
2894
2729
|
const serializeAws_restJson1UpsolverDestinationProperties = (input, context) => {
|
|
2895
2730
|
return {
|
|
2896
|
-
...(input.bucketName
|
|
2897
|
-
...(input.bucketPrefix
|
|
2898
|
-
...(input.s3OutputFormatConfig
|
|
2899
|
-
input.s3OutputFormatConfig !== null && {
|
|
2731
|
+
...(input.bucketName != null && { bucketName: input.bucketName }),
|
|
2732
|
+
...(input.bucketPrefix != null && { bucketPrefix: input.bucketPrefix }),
|
|
2733
|
+
...(input.s3OutputFormatConfig != null && {
|
|
2900
2734
|
s3OutputFormatConfig: serializeAws_restJson1UpsolverS3OutputFormatConfig(input.s3OutputFormatConfig, context),
|
|
2901
2735
|
}),
|
|
2902
2736
|
};
|
|
2903
2737
|
};
|
|
2904
2738
|
const serializeAws_restJson1UpsolverS3OutputFormatConfig = (input, context) => {
|
|
2905
2739
|
return {
|
|
2906
|
-
...(input.aggregationConfig
|
|
2907
|
-
input.aggregationConfig !== null && {
|
|
2740
|
+
...(input.aggregationConfig != null && {
|
|
2908
2741
|
aggregationConfig: serializeAws_restJson1AggregationConfig(input.aggregationConfig, context),
|
|
2909
2742
|
}),
|
|
2910
|
-
...(input.fileType
|
|
2911
|
-
...(input.prefixConfig
|
|
2912
|
-
|
|
2743
|
+
...(input.fileType != null && { fileType: input.fileType }),
|
|
2744
|
+
...(input.prefixConfig != null && {
|
|
2745
|
+
prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context),
|
|
2746
|
+
}),
|
|
2913
2747
|
};
|
|
2914
2748
|
};
|
|
2915
2749
|
const serializeAws_restJson1VeevaConnectorProfileCredentials = (input, context) => {
|
|
2916
2750
|
return {
|
|
2917
|
-
...(input.password
|
|
2918
|
-
...(input.username
|
|
2751
|
+
...(input.password != null && { password: input.password }),
|
|
2752
|
+
...(input.username != null && { username: input.username }),
|
|
2919
2753
|
};
|
|
2920
2754
|
};
|
|
2921
2755
|
const serializeAws_restJson1VeevaConnectorProfileProperties = (input, context) => {
|
|
2922
2756
|
return {
|
|
2923
|
-
...(input.instanceUrl
|
|
2757
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2924
2758
|
};
|
|
2925
2759
|
};
|
|
2926
2760
|
const serializeAws_restJson1VeevaSourceProperties = (input, context) => {
|
|
2927
2761
|
return {
|
|
2928
|
-
...(input.documentType
|
|
2929
|
-
...(input.includeAllVersions
|
|
2930
|
-
|
|
2931
|
-
...(input.
|
|
2932
|
-
|
|
2933
|
-
...(input.includeSourceFiles !== undefined &&
|
|
2934
|
-
input.includeSourceFiles !== null && { includeSourceFiles: input.includeSourceFiles }),
|
|
2935
|
-
...(input.object !== undefined && input.object !== null && { object: input.object }),
|
|
2762
|
+
...(input.documentType != null && { documentType: input.documentType }),
|
|
2763
|
+
...(input.includeAllVersions != null && { includeAllVersions: input.includeAllVersions }),
|
|
2764
|
+
...(input.includeRenditions != null && { includeRenditions: input.includeRenditions }),
|
|
2765
|
+
...(input.includeSourceFiles != null && { includeSourceFiles: input.includeSourceFiles }),
|
|
2766
|
+
...(input.object != null && { object: input.object }),
|
|
2936
2767
|
};
|
|
2937
2768
|
};
|
|
2938
2769
|
const serializeAws_restJson1ZendeskConnectorProfileCredentials = (input, context) => {
|
|
2939
2770
|
return {
|
|
2940
|
-
...(input.accessToken
|
|
2941
|
-
...(input.clientId
|
|
2942
|
-
...(input.clientSecret
|
|
2943
|
-
...(input.oAuthRequest
|
|
2944
|
-
input.oAuthRequest !== null && {
|
|
2771
|
+
...(input.accessToken != null && { accessToken: input.accessToken }),
|
|
2772
|
+
...(input.clientId != null && { clientId: input.clientId }),
|
|
2773
|
+
...(input.clientSecret != null && { clientSecret: input.clientSecret }),
|
|
2774
|
+
...(input.oAuthRequest != null && {
|
|
2945
2775
|
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
|
|
2946
2776
|
}),
|
|
2947
2777
|
};
|
|
2948
2778
|
};
|
|
2949
2779
|
const serializeAws_restJson1ZendeskConnectorProfileProperties = (input, context) => {
|
|
2950
2780
|
return {
|
|
2951
|
-
...(input.instanceUrl
|
|
2781
|
+
...(input.instanceUrl != null && { instanceUrl: input.instanceUrl }),
|
|
2952
2782
|
};
|
|
2953
2783
|
};
|
|
2954
2784
|
const serializeAws_restJson1ZendeskDestinationProperties = (input, context) => {
|
|
2955
2785
|
return {
|
|
2956
|
-
...(input.errorHandlingConfig
|
|
2957
|
-
input.errorHandlingConfig !== null && {
|
|
2786
|
+
...(input.errorHandlingConfig != null && {
|
|
2958
2787
|
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
|
|
2959
2788
|
}),
|
|
2960
|
-
...(input.idFieldNames
|
|
2961
|
-
input.idFieldNames !== null && {
|
|
2789
|
+
...(input.idFieldNames != null && {
|
|
2962
2790
|
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
|
|
2963
2791
|
}),
|
|
2964
|
-
...(input.object
|
|
2965
|
-
...(input.writeOperationType
|
|
2966
|
-
input.writeOperationType !== null && { writeOperationType: input.writeOperationType }),
|
|
2792
|
+
...(input.object != null && { object: input.object }),
|
|
2793
|
+
...(input.writeOperationType != null && { writeOperationType: input.writeOperationType }),
|
|
2967
2794
|
};
|
|
2968
2795
|
};
|
|
2969
2796
|
const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
|
|
2970
2797
|
return {
|
|
2971
|
-
...(input.object
|
|
2798
|
+
...(input.object != null && { object: input.object }),
|
|
2972
2799
|
};
|
|
2973
2800
|
};
|
|
2974
2801
|
const deserializeAws_restJson1AggregationConfig = (output, context) => {
|
|
@@ -3000,21 +2827,21 @@ const deserializeAws_restJson1AuthCodeUrlList = (output, context) => {
|
|
|
3000
2827
|
};
|
|
3001
2828
|
const deserializeAws_restJson1AuthenticationConfig = (output, context) => {
|
|
3002
2829
|
return {
|
|
3003
|
-
customAuthConfigs: output.customAuthConfigs
|
|
2830
|
+
customAuthConfigs: output.customAuthConfigs != null
|
|
3004
2831
|
? deserializeAws_restJson1CustomAuthConfigList(output.customAuthConfigs, context)
|
|
3005
2832
|
: undefined,
|
|
3006
2833
|
isApiKeyAuthSupported: (0, smithy_client_1.expectBoolean)(output.isApiKeyAuthSupported),
|
|
3007
2834
|
isBasicAuthSupported: (0, smithy_client_1.expectBoolean)(output.isBasicAuthSupported),
|
|
3008
2835
|
isCustomAuthSupported: (0, smithy_client_1.expectBoolean)(output.isCustomAuthSupported),
|
|
3009
2836
|
isOAuth2Supported: (0, smithy_client_1.expectBoolean)(output.isOAuth2Supported),
|
|
3010
|
-
oAuth2Defaults: output.oAuth2Defaults
|
|
2837
|
+
oAuth2Defaults: output.oAuth2Defaults != null
|
|
3011
2838
|
? deserializeAws_restJson1OAuth2Defaults(output.oAuth2Defaults, context)
|
|
3012
2839
|
: undefined,
|
|
3013
2840
|
};
|
|
3014
2841
|
};
|
|
3015
2842
|
const deserializeAws_restJson1AuthParameter = (output, context) => {
|
|
3016
2843
|
return {
|
|
3017
|
-
connectorSuppliedValues: output.connectorSuppliedValues
|
|
2844
|
+
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
3018
2845
|
? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
3019
2846
|
: undefined,
|
|
3020
2847
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
@@ -3037,7 +2864,7 @@ const deserializeAws_restJson1AuthParameterList = (output, context) => {
|
|
|
3037
2864
|
};
|
|
3038
2865
|
const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
|
|
3039
2866
|
return {
|
|
3040
|
-
authenticationConfig: output.authenticationConfig
|
|
2867
|
+
authenticationConfig: output.authenticationConfig != null
|
|
3041
2868
|
? deserializeAws_restJson1AuthenticationConfig(output.authenticationConfig, context)
|
|
3042
2869
|
: undefined,
|
|
3043
2870
|
canUseAsDestination: (0, smithy_client_1.expectBoolean)(output.canUseAsDestination),
|
|
@@ -3045,19 +2872,19 @@ const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
|
|
|
3045
2872
|
connectorArn: (0, smithy_client_1.expectString)(output.connectorArn),
|
|
3046
2873
|
connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
|
|
3047
2874
|
connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
|
|
3048
|
-
connectorMetadata: output.connectorMetadata
|
|
2875
|
+
connectorMetadata: output.connectorMetadata != null
|
|
3049
2876
|
? deserializeAws_restJson1ConnectorMetadata(output.connectorMetadata, context)
|
|
3050
2877
|
: undefined,
|
|
3051
|
-
connectorModes: output.connectorModes
|
|
2878
|
+
connectorModes: output.connectorModes != null
|
|
3052
2879
|
? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
|
|
3053
2880
|
: undefined,
|
|
3054
2881
|
connectorName: (0, smithy_client_1.expectString)(output.connectorName),
|
|
3055
2882
|
connectorOwner: (0, smithy_client_1.expectString)(output.connectorOwner),
|
|
3056
|
-
connectorProvisioningConfig: output.connectorProvisioningConfig
|
|
2883
|
+
connectorProvisioningConfig: output.connectorProvisioningConfig != null
|
|
3057
2884
|
? deserializeAws_restJson1ConnectorProvisioningConfig(output.connectorProvisioningConfig, context)
|
|
3058
2885
|
: undefined,
|
|
3059
2886
|
connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
|
|
3060
|
-
connectorRuntimeSettings: output.connectorRuntimeSettings
|
|
2887
|
+
connectorRuntimeSettings: output.connectorRuntimeSettings != null
|
|
3061
2888
|
? deserializeAws_restJson1ConnectorRuntimeSettingList(output.connectorRuntimeSettings, context)
|
|
3062
2889
|
: undefined,
|
|
3063
2890
|
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
@@ -3065,26 +2892,26 @@ const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
|
|
|
3065
2892
|
isPrivateLinkEnabled: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEnabled),
|
|
3066
2893
|
isPrivateLinkEndpointUrlRequired: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEndpointUrlRequired),
|
|
3067
2894
|
logoURL: (0, smithy_client_1.expectString)(output.logoURL),
|
|
3068
|
-
registeredAt: output.registeredAt
|
|
2895
|
+
registeredAt: output.registeredAt != null
|
|
3069
2896
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
|
|
3070
2897
|
: undefined,
|
|
3071
2898
|
registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
|
|
3072
|
-
supportedApiVersions: output.supportedApiVersions
|
|
2899
|
+
supportedApiVersions: output.supportedApiVersions != null
|
|
3073
2900
|
? deserializeAws_restJson1SupportedApiVersionList(output.supportedApiVersions, context)
|
|
3074
2901
|
: undefined,
|
|
3075
|
-
supportedDestinationConnectors: output.supportedDestinationConnectors
|
|
2902
|
+
supportedDestinationConnectors: output.supportedDestinationConnectors != null
|
|
3076
2903
|
? deserializeAws_restJson1ConnectorTypeList(output.supportedDestinationConnectors, context)
|
|
3077
2904
|
: undefined,
|
|
3078
|
-
supportedOperators: output.supportedOperators
|
|
2905
|
+
supportedOperators: output.supportedOperators != null
|
|
3079
2906
|
? deserializeAws_restJson1SupportedOperatorList(output.supportedOperators, context)
|
|
3080
2907
|
: undefined,
|
|
3081
|
-
supportedSchedulingFrequencies: output.supportedSchedulingFrequencies
|
|
2908
|
+
supportedSchedulingFrequencies: output.supportedSchedulingFrequencies != null
|
|
3082
2909
|
? deserializeAws_restJson1SchedulingFrequencyTypeList(output.supportedSchedulingFrequencies, context)
|
|
3083
2910
|
: undefined,
|
|
3084
|
-
supportedTriggerTypes: output.supportedTriggerTypes
|
|
2911
|
+
supportedTriggerTypes: output.supportedTriggerTypes != null
|
|
3085
2912
|
? deserializeAws_restJson1TriggerTypeList(output.supportedTriggerTypes, context)
|
|
3086
2913
|
: undefined,
|
|
3087
|
-
supportedWriteOperations: output.supportedWriteOperations
|
|
2914
|
+
supportedWriteOperations: output.supportedWriteOperations != null
|
|
3088
2915
|
? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
3089
2916
|
: undefined,
|
|
3090
2917
|
};
|
|
@@ -3105,7 +2932,7 @@ const deserializeAws_restJson1ConnectorDetail = (output, context) => {
|
|
|
3105
2932
|
applicationType: (0, smithy_client_1.expectString)(output.applicationType),
|
|
3106
2933
|
connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
|
|
3107
2934
|
connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
|
|
3108
|
-
connectorModes: output.connectorModes
|
|
2935
|
+
connectorModes: output.connectorModes != null
|
|
3109
2936
|
? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
|
|
3110
2937
|
: undefined,
|
|
3111
2938
|
connectorName: (0, smithy_client_1.expectString)(output.connectorName),
|
|
@@ -3113,7 +2940,7 @@ const deserializeAws_restJson1ConnectorDetail = (output, context) => {
|
|
|
3113
2940
|
connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
|
|
3114
2941
|
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
3115
2942
|
connectorVersion: (0, smithy_client_1.expectString)(output.connectorVersion),
|
|
3116
|
-
registeredAt: output.registeredAt
|
|
2943
|
+
registeredAt: output.registeredAt != null
|
|
3117
2944
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
|
|
3118
2945
|
: undefined,
|
|
3119
2946
|
registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
|
|
@@ -3128,12 +2955,12 @@ const deserializeAws_restJson1ConnectorEntity = (output, context) => {
|
|
|
3128
2955
|
};
|
|
3129
2956
|
const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
|
|
3130
2957
|
return {
|
|
3131
|
-
customProperties: output.customProperties
|
|
2958
|
+
customProperties: output.customProperties != null
|
|
3132
2959
|
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3133
2960
|
: undefined,
|
|
3134
2961
|
defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
|
|
3135
2962
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3136
|
-
destinationProperties: output.destinationProperties
|
|
2963
|
+
destinationProperties: output.destinationProperties != null
|
|
3137
2964
|
? deserializeAws_restJson1DestinationFieldProperties(output.destinationProperties, context)
|
|
3138
2965
|
: undefined,
|
|
3139
2966
|
identifier: (0, smithy_client_1.expectString)(output.identifier),
|
|
@@ -3141,10 +2968,10 @@ const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
|
|
|
3141
2968
|
isPrimaryKey: (0, smithy_client_1.expectBoolean)(output.isPrimaryKey),
|
|
3142
2969
|
label: (0, smithy_client_1.expectString)(output.label),
|
|
3143
2970
|
parentIdentifier: (0, smithy_client_1.expectString)(output.parentIdentifier),
|
|
3144
|
-
sourceProperties: output.sourceProperties
|
|
2971
|
+
sourceProperties: output.sourceProperties != null
|
|
3145
2972
|
? deserializeAws_restJson1SourceFieldProperties(output.sourceProperties, context)
|
|
3146
2973
|
: undefined,
|
|
3147
|
-
supportedFieldTypeDetails: output.supportedFieldTypeDetails
|
|
2974
|
+
supportedFieldTypeDetails: output.supportedFieldTypeDetails != null
|
|
3148
2975
|
? deserializeAws_restJson1SupportedFieldTypeDetails(output.supportedFieldTypeDetails, context)
|
|
3149
2976
|
: undefined,
|
|
3150
2977
|
};
|
|
@@ -3195,69 +3022,31 @@ const deserializeAws_restJson1ConnectorList = (output, context) => {
|
|
|
3195
3022
|
};
|
|
3196
3023
|
const deserializeAws_restJson1ConnectorMetadata = (output, context) => {
|
|
3197
3024
|
return {
|
|
3198
|
-
Amplitude: output.Amplitude
|
|
3199
|
-
|
|
3200
|
-
: undefined,
|
|
3201
|
-
CustomerProfiles: output.CustomerProfiles !== undefined && output.CustomerProfiles !== null
|
|
3025
|
+
Amplitude: output.Amplitude != null ? deserializeAws_restJson1AmplitudeMetadata(output.Amplitude, context) : undefined,
|
|
3026
|
+
CustomerProfiles: output.CustomerProfiles != null
|
|
3202
3027
|
? deserializeAws_restJson1CustomerProfilesMetadata(output.CustomerProfiles, context)
|
|
3203
3028
|
: undefined,
|
|
3204
|
-
Datadog: output.Datadog
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
? deserializeAws_restJson1DynatraceMetadata(output.Dynatrace, context)
|
|
3209
|
-
: undefined,
|
|
3210
|
-
EventBridge: output.EventBridge !== undefined && output.EventBridge !== null
|
|
3211
|
-
? deserializeAws_restJson1EventBridgeMetadata(output.EventBridge, context)
|
|
3212
|
-
: undefined,
|
|
3213
|
-
GoogleAnalytics: output.GoogleAnalytics !== undefined && output.GoogleAnalytics !== null
|
|
3029
|
+
Datadog: output.Datadog != null ? deserializeAws_restJson1DatadogMetadata(output.Datadog, context) : undefined,
|
|
3030
|
+
Dynatrace: output.Dynatrace != null ? deserializeAws_restJson1DynatraceMetadata(output.Dynatrace, context) : undefined,
|
|
3031
|
+
EventBridge: output.EventBridge != null ? deserializeAws_restJson1EventBridgeMetadata(output.EventBridge, context) : undefined,
|
|
3032
|
+
GoogleAnalytics: output.GoogleAnalytics != null
|
|
3214
3033
|
? deserializeAws_restJson1GoogleAnalyticsMetadata(output.GoogleAnalytics, context)
|
|
3215
3034
|
: undefined,
|
|
3216
|
-
Honeycode: output.Honeycode
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
3232
|
-
? deserializeAws_restJson1SAPODataMetadata(output.SAPOData, context)
|
|
3233
|
-
: undefined,
|
|
3234
|
-
Salesforce: output.Salesforce !== undefined && output.Salesforce !== null
|
|
3235
|
-
? deserializeAws_restJson1SalesforceMetadata(output.Salesforce, context)
|
|
3236
|
-
: undefined,
|
|
3237
|
-
ServiceNow: output.ServiceNow !== undefined && output.ServiceNow !== null
|
|
3238
|
-
? deserializeAws_restJson1ServiceNowMetadata(output.ServiceNow, context)
|
|
3239
|
-
: undefined,
|
|
3240
|
-
Singular: output.Singular !== undefined && output.Singular !== null
|
|
3241
|
-
? deserializeAws_restJson1SingularMetadata(output.Singular, context)
|
|
3242
|
-
: undefined,
|
|
3243
|
-
Slack: output.Slack !== undefined && output.Slack !== null
|
|
3244
|
-
? deserializeAws_restJson1SlackMetadata(output.Slack, context)
|
|
3245
|
-
: undefined,
|
|
3246
|
-
Snowflake: output.Snowflake !== undefined && output.Snowflake !== null
|
|
3247
|
-
? deserializeAws_restJson1SnowflakeMetadata(output.Snowflake, context)
|
|
3248
|
-
: undefined,
|
|
3249
|
-
Trendmicro: output.Trendmicro !== undefined && output.Trendmicro !== null
|
|
3250
|
-
? deserializeAws_restJson1TrendmicroMetadata(output.Trendmicro, context)
|
|
3251
|
-
: undefined,
|
|
3252
|
-
Upsolver: output.Upsolver !== undefined && output.Upsolver !== null
|
|
3253
|
-
? deserializeAws_restJson1UpsolverMetadata(output.Upsolver, context)
|
|
3254
|
-
: undefined,
|
|
3255
|
-
Veeva: output.Veeva !== undefined && output.Veeva !== null
|
|
3256
|
-
? deserializeAws_restJson1VeevaMetadata(output.Veeva, context)
|
|
3257
|
-
: undefined,
|
|
3258
|
-
Zendesk: output.Zendesk !== undefined && output.Zendesk !== null
|
|
3259
|
-
? deserializeAws_restJson1ZendeskMetadata(output.Zendesk, context)
|
|
3260
|
-
: undefined,
|
|
3035
|
+
Honeycode: output.Honeycode != null ? deserializeAws_restJson1HoneycodeMetadata(output.Honeycode, context) : undefined,
|
|
3036
|
+
InforNexus: output.InforNexus != null ? deserializeAws_restJson1InforNexusMetadata(output.InforNexus, context) : undefined,
|
|
3037
|
+
Marketo: output.Marketo != null ? deserializeAws_restJson1MarketoMetadata(output.Marketo, context) : undefined,
|
|
3038
|
+
Redshift: output.Redshift != null ? deserializeAws_restJson1RedshiftMetadata(output.Redshift, context) : undefined,
|
|
3039
|
+
S3: output.S3 != null ? deserializeAws_restJson1S3Metadata(output.S3, context) : undefined,
|
|
3040
|
+
SAPOData: output.SAPOData != null ? deserializeAws_restJson1SAPODataMetadata(output.SAPOData, context) : undefined,
|
|
3041
|
+
Salesforce: output.Salesforce != null ? deserializeAws_restJson1SalesforceMetadata(output.Salesforce, context) : undefined,
|
|
3042
|
+
ServiceNow: output.ServiceNow != null ? deserializeAws_restJson1ServiceNowMetadata(output.ServiceNow, context) : undefined,
|
|
3043
|
+
Singular: output.Singular != null ? deserializeAws_restJson1SingularMetadata(output.Singular, context) : undefined,
|
|
3044
|
+
Slack: output.Slack != null ? deserializeAws_restJson1SlackMetadata(output.Slack, context) : undefined,
|
|
3045
|
+
Snowflake: output.Snowflake != null ? deserializeAws_restJson1SnowflakeMetadata(output.Snowflake, context) : undefined,
|
|
3046
|
+
Trendmicro: output.Trendmicro != null ? deserializeAws_restJson1TrendmicroMetadata(output.Trendmicro, context) : undefined,
|
|
3047
|
+
Upsolver: output.Upsolver != null ? deserializeAws_restJson1UpsolverMetadata(output.Upsolver, context) : undefined,
|
|
3048
|
+
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaMetadata(output.Veeva, context) : undefined,
|
|
3049
|
+
Zendesk: output.Zendesk != null ? deserializeAws_restJson1ZendeskMetadata(output.Zendesk, context) : undefined,
|
|
3261
3050
|
};
|
|
3262
3051
|
};
|
|
3263
3052
|
const deserializeAws_restJson1ConnectorModeList = (output, context) => {
|
|
@@ -3297,18 +3086,16 @@ const deserializeAws_restJson1ConnectorProfile = (output, context) => {
|
|
|
3297
3086
|
connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
|
|
3298
3087
|
connectorProfileArn: (0, smithy_client_1.expectString)(output.connectorProfileArn),
|
|
3299
3088
|
connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
|
|
3300
|
-
connectorProfileProperties: output.connectorProfileProperties
|
|
3089
|
+
connectorProfileProperties: output.connectorProfileProperties != null
|
|
3301
3090
|
? deserializeAws_restJson1ConnectorProfileProperties(output.connectorProfileProperties, context)
|
|
3302
3091
|
: undefined,
|
|
3303
3092
|
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
3304
|
-
createdAt: output.createdAt
|
|
3305
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3306
|
-
: undefined,
|
|
3093
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
|
3307
3094
|
credentialsArn: (0, smithy_client_1.expectString)(output.credentialsArn),
|
|
3308
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
3095
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3309
3096
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
3310
3097
|
: undefined,
|
|
3311
|
-
privateConnectionProvisioningState: output.privateConnectionProvisioningState
|
|
3098
|
+
privateConnectionProvisioningState: output.privateConnectionProvisioningState != null
|
|
3312
3099
|
? deserializeAws_restJson1PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
|
|
3313
3100
|
: undefined,
|
|
3314
3101
|
};
|
|
@@ -3326,72 +3113,68 @@ const deserializeAws_restJson1ConnectorProfileDetailList = (output, context) =>
|
|
|
3326
3113
|
};
|
|
3327
3114
|
const deserializeAws_restJson1ConnectorProfileProperties = (output, context) => {
|
|
3328
3115
|
return {
|
|
3329
|
-
Amplitude: output.Amplitude
|
|
3116
|
+
Amplitude: output.Amplitude != null
|
|
3330
3117
|
? deserializeAws_restJson1AmplitudeConnectorProfileProperties(output.Amplitude, context)
|
|
3331
3118
|
: undefined,
|
|
3332
|
-
CustomConnector: output.CustomConnector
|
|
3119
|
+
CustomConnector: output.CustomConnector != null
|
|
3333
3120
|
? deserializeAws_restJson1CustomConnectorProfileProperties(output.CustomConnector, context)
|
|
3334
3121
|
: undefined,
|
|
3335
|
-
Datadog: output.Datadog
|
|
3122
|
+
Datadog: output.Datadog != null
|
|
3336
3123
|
? deserializeAws_restJson1DatadogConnectorProfileProperties(output.Datadog, context)
|
|
3337
3124
|
: undefined,
|
|
3338
|
-
Dynatrace: output.Dynatrace
|
|
3125
|
+
Dynatrace: output.Dynatrace != null
|
|
3339
3126
|
? deserializeAws_restJson1DynatraceConnectorProfileProperties(output.Dynatrace, context)
|
|
3340
3127
|
: undefined,
|
|
3341
|
-
GoogleAnalytics: output.GoogleAnalytics
|
|
3128
|
+
GoogleAnalytics: output.GoogleAnalytics != null
|
|
3342
3129
|
? deserializeAws_restJson1GoogleAnalyticsConnectorProfileProperties(output.GoogleAnalytics, context)
|
|
3343
3130
|
: undefined,
|
|
3344
|
-
Honeycode: output.Honeycode
|
|
3131
|
+
Honeycode: output.Honeycode != null
|
|
3345
3132
|
? deserializeAws_restJson1HoneycodeConnectorProfileProperties(output.Honeycode, context)
|
|
3346
3133
|
: undefined,
|
|
3347
|
-
InforNexus: output.InforNexus
|
|
3134
|
+
InforNexus: output.InforNexus != null
|
|
3348
3135
|
? deserializeAws_restJson1InforNexusConnectorProfileProperties(output.InforNexus, context)
|
|
3349
3136
|
: undefined,
|
|
3350
|
-
Marketo: output.Marketo
|
|
3137
|
+
Marketo: output.Marketo != null
|
|
3351
3138
|
? deserializeAws_restJson1MarketoConnectorProfileProperties(output.Marketo, context)
|
|
3352
3139
|
: undefined,
|
|
3353
|
-
Redshift: output.Redshift
|
|
3140
|
+
Redshift: output.Redshift != null
|
|
3354
3141
|
? deserializeAws_restJson1RedshiftConnectorProfileProperties(output.Redshift, context)
|
|
3355
3142
|
: undefined,
|
|
3356
|
-
SAPOData: output.SAPOData
|
|
3143
|
+
SAPOData: output.SAPOData != null
|
|
3357
3144
|
? deserializeAws_restJson1SAPODataConnectorProfileProperties(output.SAPOData, context)
|
|
3358
3145
|
: undefined,
|
|
3359
|
-
Salesforce: output.Salesforce
|
|
3146
|
+
Salesforce: output.Salesforce != null
|
|
3360
3147
|
? deserializeAws_restJson1SalesforceConnectorProfileProperties(output.Salesforce, context)
|
|
3361
3148
|
: undefined,
|
|
3362
|
-
ServiceNow: output.ServiceNow
|
|
3149
|
+
ServiceNow: output.ServiceNow != null
|
|
3363
3150
|
? deserializeAws_restJson1ServiceNowConnectorProfileProperties(output.ServiceNow, context)
|
|
3364
3151
|
: undefined,
|
|
3365
|
-
Singular: output.Singular
|
|
3152
|
+
Singular: output.Singular != null
|
|
3366
3153
|
? deserializeAws_restJson1SingularConnectorProfileProperties(output.Singular, context)
|
|
3367
3154
|
: undefined,
|
|
3368
|
-
Slack: output.Slack
|
|
3369
|
-
|
|
3370
|
-
: undefined,
|
|
3371
|
-
Snowflake: output.Snowflake !== undefined && output.Snowflake !== null
|
|
3155
|
+
Slack: output.Slack != null ? deserializeAws_restJson1SlackConnectorProfileProperties(output.Slack, context) : undefined,
|
|
3156
|
+
Snowflake: output.Snowflake != null
|
|
3372
3157
|
? deserializeAws_restJson1SnowflakeConnectorProfileProperties(output.Snowflake, context)
|
|
3373
3158
|
: undefined,
|
|
3374
|
-
Trendmicro: output.Trendmicro
|
|
3159
|
+
Trendmicro: output.Trendmicro != null
|
|
3375
3160
|
? deserializeAws_restJson1TrendmicroConnectorProfileProperties(output.Trendmicro, context)
|
|
3376
3161
|
: undefined,
|
|
3377
|
-
Veeva: output.Veeva
|
|
3378
|
-
|
|
3379
|
-
: undefined,
|
|
3380
|
-
Zendesk: output.Zendesk !== undefined && output.Zendesk !== null
|
|
3162
|
+
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaConnectorProfileProperties(output.Veeva, context) : undefined,
|
|
3163
|
+
Zendesk: output.Zendesk != null
|
|
3381
3164
|
? deserializeAws_restJson1ZendeskConnectorProfileProperties(output.Zendesk, context)
|
|
3382
3165
|
: undefined,
|
|
3383
3166
|
};
|
|
3384
3167
|
};
|
|
3385
3168
|
const deserializeAws_restJson1ConnectorProvisioningConfig = (output, context) => {
|
|
3386
3169
|
return {
|
|
3387
|
-
lambda: output.lambda
|
|
3170
|
+
lambda: output.lambda != null
|
|
3388
3171
|
? deserializeAws_restJson1LambdaConnectorProvisioningConfig(output.lambda, context)
|
|
3389
3172
|
: undefined,
|
|
3390
3173
|
};
|
|
3391
3174
|
};
|
|
3392
3175
|
const deserializeAws_restJson1ConnectorRuntimeSetting = (output, context) => {
|
|
3393
3176
|
return {
|
|
3394
|
-
connectorSuppliedValueOptions: output.connectorSuppliedValueOptions
|
|
3177
|
+
connectorSuppliedValueOptions: output.connectorSuppliedValueOptions != null
|
|
3395
3178
|
? deserializeAws_restJson1ConnectorSuppliedValueOptionList(output.connectorSuppliedValueOptions, context)
|
|
3396
3179
|
: undefined,
|
|
3397
3180
|
dataType: (0, smithy_client_1.expectString)(output.dataType),
|
|
@@ -3448,7 +3231,7 @@ const deserializeAws_restJson1ConnectorTypeList = (output, context) => {
|
|
|
3448
3231
|
};
|
|
3449
3232
|
const deserializeAws_restJson1CustomAuthConfig = (output, context) => {
|
|
3450
3233
|
return {
|
|
3451
|
-
authParameters: output.authParameters
|
|
3234
|
+
authParameters: output.authParameters != null
|
|
3452
3235
|
? deserializeAws_restJson1AuthParameterList(output.authParameters, context)
|
|
3453
3236
|
: undefined,
|
|
3454
3237
|
customAuthenticationType: (0, smithy_client_1.expectString)(output.customAuthenticationType),
|
|
@@ -3467,32 +3250,30 @@ const deserializeAws_restJson1CustomAuthConfigList = (output, context) => {
|
|
|
3467
3250
|
};
|
|
3468
3251
|
const deserializeAws_restJson1CustomConnectorDestinationProperties = (output, context) => {
|
|
3469
3252
|
return {
|
|
3470
|
-
customProperties: output.customProperties
|
|
3253
|
+
customProperties: output.customProperties != null
|
|
3471
3254
|
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3472
3255
|
: undefined,
|
|
3473
3256
|
entityName: (0, smithy_client_1.expectString)(output.entityName),
|
|
3474
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3257
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3475
3258
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3476
3259
|
: undefined,
|
|
3477
|
-
idFieldNames: output.idFieldNames
|
|
3478
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
3479
|
-
: undefined,
|
|
3260
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
3480
3261
|
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
3481
3262
|
};
|
|
3482
3263
|
};
|
|
3483
3264
|
const deserializeAws_restJson1CustomConnectorProfileProperties = (output, context) => {
|
|
3484
3265
|
return {
|
|
3485
|
-
oAuth2Properties: output.oAuth2Properties
|
|
3266
|
+
oAuth2Properties: output.oAuth2Properties != null
|
|
3486
3267
|
? deserializeAws_restJson1OAuth2Properties(output.oAuth2Properties, context)
|
|
3487
3268
|
: undefined,
|
|
3488
|
-
profileProperties: output.profileProperties
|
|
3269
|
+
profileProperties: output.profileProperties != null
|
|
3489
3270
|
? deserializeAws_restJson1ProfilePropertiesMap(output.profileProperties, context)
|
|
3490
3271
|
: undefined,
|
|
3491
3272
|
};
|
|
3492
3273
|
};
|
|
3493
3274
|
const deserializeAws_restJson1CustomConnectorSourceProperties = (output, context) => {
|
|
3494
3275
|
return {
|
|
3495
|
-
customProperties: output.customProperties
|
|
3276
|
+
customProperties: output.customProperties != null
|
|
3496
3277
|
? deserializeAws_restJson1CustomProperties(output.customProperties, context)
|
|
3497
3278
|
: undefined,
|
|
3498
3279
|
entityName: (0, smithy_client_1.expectString)(output.entityName),
|
|
@@ -3533,43 +3314,41 @@ const deserializeAws_restJson1DatadogSourceProperties = (output, context) => {
|
|
|
3533
3314
|
};
|
|
3534
3315
|
const deserializeAws_restJson1DestinationConnectorProperties = (output, context) => {
|
|
3535
3316
|
return {
|
|
3536
|
-
CustomConnector: output.CustomConnector
|
|
3317
|
+
CustomConnector: output.CustomConnector != null
|
|
3537
3318
|
? deserializeAws_restJson1CustomConnectorDestinationProperties(output.CustomConnector, context)
|
|
3538
3319
|
: undefined,
|
|
3539
|
-
CustomerProfiles: output.CustomerProfiles
|
|
3320
|
+
CustomerProfiles: output.CustomerProfiles != null
|
|
3540
3321
|
? deserializeAws_restJson1CustomerProfilesDestinationProperties(output.CustomerProfiles, context)
|
|
3541
3322
|
: undefined,
|
|
3542
|
-
EventBridge: output.EventBridge
|
|
3323
|
+
EventBridge: output.EventBridge != null
|
|
3543
3324
|
? deserializeAws_restJson1EventBridgeDestinationProperties(output.EventBridge, context)
|
|
3544
3325
|
: undefined,
|
|
3545
|
-
Honeycode: output.Honeycode
|
|
3326
|
+
Honeycode: output.Honeycode != null
|
|
3546
3327
|
? deserializeAws_restJson1HoneycodeDestinationProperties(output.Honeycode, context)
|
|
3547
3328
|
: undefined,
|
|
3548
|
-
LookoutMetrics: output.LookoutMetrics
|
|
3329
|
+
LookoutMetrics: output.LookoutMetrics != null
|
|
3549
3330
|
? deserializeAws_restJson1LookoutMetricsDestinationProperties(output.LookoutMetrics, context)
|
|
3550
3331
|
: undefined,
|
|
3551
|
-
Marketo: output.Marketo
|
|
3332
|
+
Marketo: output.Marketo != null
|
|
3552
3333
|
? deserializeAws_restJson1MarketoDestinationProperties(output.Marketo, context)
|
|
3553
3334
|
: undefined,
|
|
3554
|
-
Redshift: output.Redshift
|
|
3335
|
+
Redshift: output.Redshift != null
|
|
3555
3336
|
? deserializeAws_restJson1RedshiftDestinationProperties(output.Redshift, context)
|
|
3556
3337
|
: undefined,
|
|
3557
|
-
S3: output.S3
|
|
3558
|
-
|
|
3559
|
-
: undefined,
|
|
3560
|
-
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
3338
|
+
S3: output.S3 != null ? deserializeAws_restJson1S3DestinationProperties(output.S3, context) : undefined,
|
|
3339
|
+
SAPOData: output.SAPOData != null
|
|
3561
3340
|
? deserializeAws_restJson1SAPODataDestinationProperties(output.SAPOData, context)
|
|
3562
3341
|
: undefined,
|
|
3563
|
-
Salesforce: output.Salesforce
|
|
3342
|
+
Salesforce: output.Salesforce != null
|
|
3564
3343
|
? deserializeAws_restJson1SalesforceDestinationProperties(output.Salesforce, context)
|
|
3565
3344
|
: undefined,
|
|
3566
|
-
Snowflake: output.Snowflake
|
|
3345
|
+
Snowflake: output.Snowflake != null
|
|
3567
3346
|
? deserializeAws_restJson1SnowflakeDestinationProperties(output.Snowflake, context)
|
|
3568
3347
|
: undefined,
|
|
3569
|
-
Upsolver: output.Upsolver
|
|
3348
|
+
Upsolver: output.Upsolver != null
|
|
3570
3349
|
? deserializeAws_restJson1UpsolverDestinationProperties(output.Upsolver, context)
|
|
3571
3350
|
: undefined,
|
|
3572
|
-
Zendesk: output.Zendesk
|
|
3351
|
+
Zendesk: output.Zendesk != null
|
|
3573
3352
|
? deserializeAws_restJson1ZendeskDestinationProperties(output.Zendesk, context)
|
|
3574
3353
|
: undefined,
|
|
3575
3354
|
};
|
|
@@ -3581,7 +3360,7 @@ const deserializeAws_restJson1DestinationFieldProperties = (output, context) =>
|
|
|
3581
3360
|
isNullable: (0, smithy_client_1.expectBoolean)(output.isNullable),
|
|
3582
3361
|
isUpdatable: (0, smithy_client_1.expectBoolean)(output.isUpdatable),
|
|
3583
3362
|
isUpsertable: (0, smithy_client_1.expectBoolean)(output.isUpsertable),
|
|
3584
|
-
supportedWriteOperations: output.supportedWriteOperations
|
|
3363
|
+
supportedWriteOperations: output.supportedWriteOperations != null
|
|
3585
3364
|
? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
|
|
3586
3365
|
: undefined,
|
|
3587
3366
|
};
|
|
@@ -3591,7 +3370,7 @@ const deserializeAws_restJson1DestinationFlowConfig = (output, context) => {
|
|
|
3591
3370
|
apiVersion: (0, smithy_client_1.expectString)(output.apiVersion),
|
|
3592
3371
|
connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
|
|
3593
3372
|
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
3594
|
-
destinationConnectorProperties: output.destinationConnectorProperties
|
|
3373
|
+
destinationConnectorProperties: output.destinationConnectorProperties != null
|
|
3595
3374
|
? deserializeAws_restJson1DestinationConnectorProperties(output.destinationConnectorProperties, context)
|
|
3596
3375
|
: undefined,
|
|
3597
3376
|
};
|
|
@@ -3635,7 +3414,7 @@ const deserializeAws_restJson1ErrorInfo = (output, context) => {
|
|
|
3635
3414
|
};
|
|
3636
3415
|
const deserializeAws_restJson1EventBridgeDestinationProperties = (output, context) => {
|
|
3637
3416
|
return {
|
|
3638
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3417
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3639
3418
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3640
3419
|
: undefined,
|
|
3641
3420
|
object: (0, smithy_client_1.expectString)(output.object),
|
|
@@ -3648,56 +3427,48 @@ const deserializeAws_restJson1ExecutionDetails = (output, context) => {
|
|
|
3648
3427
|
return {
|
|
3649
3428
|
mostRecentExecutionMessage: (0, smithy_client_1.expectString)(output.mostRecentExecutionMessage),
|
|
3650
3429
|
mostRecentExecutionStatus: (0, smithy_client_1.expectString)(output.mostRecentExecutionStatus),
|
|
3651
|
-
mostRecentExecutionTime: output.mostRecentExecutionTime
|
|
3430
|
+
mostRecentExecutionTime: output.mostRecentExecutionTime != null
|
|
3652
3431
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.mostRecentExecutionTime)))
|
|
3653
3432
|
: undefined,
|
|
3654
3433
|
};
|
|
3655
3434
|
};
|
|
3656
3435
|
const deserializeAws_restJson1ExecutionRecord = (output, context) => {
|
|
3657
3436
|
return {
|
|
3658
|
-
dataPullEndTime: output.dataPullEndTime
|
|
3437
|
+
dataPullEndTime: output.dataPullEndTime != null
|
|
3659
3438
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.dataPullEndTime)))
|
|
3660
3439
|
: undefined,
|
|
3661
|
-
dataPullStartTime: output.dataPullStartTime
|
|
3440
|
+
dataPullStartTime: output.dataPullStartTime != null
|
|
3662
3441
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.dataPullStartTime)))
|
|
3663
3442
|
: undefined,
|
|
3664
3443
|
executionId: (0, smithy_client_1.expectString)(output.executionId),
|
|
3665
|
-
executionResult: output.executionResult
|
|
3444
|
+
executionResult: output.executionResult != null
|
|
3666
3445
|
? deserializeAws_restJson1ExecutionResult(output.executionResult, context)
|
|
3667
3446
|
: undefined,
|
|
3668
3447
|
executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
|
|
3669
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
3448
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3670
3449
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
3671
3450
|
: undefined,
|
|
3672
|
-
startedAt: output.startedAt
|
|
3673
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
|
|
3674
|
-
: undefined,
|
|
3451
|
+
startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt))) : undefined,
|
|
3675
3452
|
};
|
|
3676
3453
|
};
|
|
3677
3454
|
const deserializeAws_restJson1ExecutionResult = (output, context) => {
|
|
3678
3455
|
return {
|
|
3679
3456
|
bytesProcessed: (0, smithy_client_1.expectLong)(output.bytesProcessed),
|
|
3680
3457
|
bytesWritten: (0, smithy_client_1.expectLong)(output.bytesWritten),
|
|
3681
|
-
errorInfo: output.errorInfo
|
|
3682
|
-
? deserializeAws_restJson1ErrorInfo(output.errorInfo, context)
|
|
3683
|
-
: undefined,
|
|
3458
|
+
errorInfo: output.errorInfo != null ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context) : undefined,
|
|
3684
3459
|
recordsProcessed: (0, smithy_client_1.expectLong)(output.recordsProcessed),
|
|
3685
3460
|
};
|
|
3686
3461
|
};
|
|
3687
3462
|
const deserializeAws_restJson1FieldTypeDetails = (output, context) => {
|
|
3688
3463
|
return {
|
|
3689
|
-
fieldLengthRange: output.fieldLengthRange
|
|
3690
|
-
? deserializeAws_restJson1Range(output.fieldLengthRange, context)
|
|
3691
|
-
: undefined,
|
|
3464
|
+
fieldLengthRange: output.fieldLengthRange != null ? deserializeAws_restJson1Range(output.fieldLengthRange, context) : undefined,
|
|
3692
3465
|
fieldType: (0, smithy_client_1.expectString)(output.fieldType),
|
|
3693
|
-
fieldValueRange: output.fieldValueRange
|
|
3694
|
-
|
|
3695
|
-
: undefined,
|
|
3696
|
-
filterOperators: output.filterOperators !== undefined && output.filterOperators !== null
|
|
3466
|
+
fieldValueRange: output.fieldValueRange != null ? deserializeAws_restJson1Range(output.fieldValueRange, context) : undefined,
|
|
3467
|
+
filterOperators: output.filterOperators != null
|
|
3697
3468
|
? deserializeAws_restJson1FilterOperatorList(output.filterOperators, context)
|
|
3698
3469
|
: undefined,
|
|
3699
3470
|
supportedDateFormat: (0, smithy_client_1.expectString)(output.supportedDateFormat),
|
|
3700
|
-
supportedValues: output.supportedValues
|
|
3471
|
+
supportedValues: output.supportedValues != null
|
|
3701
3472
|
? deserializeAws_restJson1SupportedValueList(output.supportedValues, context)
|
|
3702
3473
|
: undefined,
|
|
3703
3474
|
valueRegexPattern: (0, smithy_client_1.expectString)(output.valueRegexPattern),
|
|
@@ -3716,9 +3487,7 @@ const deserializeAws_restJson1FilterOperatorList = (output, context) => {
|
|
|
3716
3487
|
};
|
|
3717
3488
|
const deserializeAws_restJson1FlowDefinition = (output, context) => {
|
|
3718
3489
|
return {
|
|
3719
|
-
createdAt: output.createdAt
|
|
3720
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3721
|
-
: undefined,
|
|
3490
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
|
3722
3491
|
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
3723
3492
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3724
3493
|
destinationConnectorLabel: (0, smithy_client_1.expectString)(output.destinationConnectorLabel),
|
|
@@ -3726,18 +3495,16 @@ const deserializeAws_restJson1FlowDefinition = (output, context) => {
|
|
|
3726
3495
|
flowArn: (0, smithy_client_1.expectString)(output.flowArn),
|
|
3727
3496
|
flowName: (0, smithy_client_1.expectString)(output.flowName),
|
|
3728
3497
|
flowStatus: (0, smithy_client_1.expectString)(output.flowStatus),
|
|
3729
|
-
lastRunExecutionDetails: output.lastRunExecutionDetails
|
|
3498
|
+
lastRunExecutionDetails: output.lastRunExecutionDetails != null
|
|
3730
3499
|
? deserializeAws_restJson1ExecutionDetails(output.lastRunExecutionDetails, context)
|
|
3731
3500
|
: undefined,
|
|
3732
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
3501
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
3733
3502
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
3734
3503
|
: undefined,
|
|
3735
3504
|
lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
|
|
3736
3505
|
sourceConnectorLabel: (0, smithy_client_1.expectString)(output.sourceConnectorLabel),
|
|
3737
3506
|
sourceConnectorType: (0, smithy_client_1.expectString)(output.sourceConnectorType),
|
|
3738
|
-
tags: output.tags
|
|
3739
|
-
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
3740
|
-
: undefined,
|
|
3507
|
+
tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
|
|
3741
3508
|
triggerType: (0, smithy_client_1.expectString)(output.triggerType),
|
|
3742
3509
|
};
|
|
3743
3510
|
};
|
|
@@ -3768,9 +3535,7 @@ const deserializeAws_restJson1GoogleAnalyticsConnectorProfileProperties = (outpu
|
|
|
3768
3535
|
};
|
|
3769
3536
|
const deserializeAws_restJson1GoogleAnalyticsMetadata = (output, context) => {
|
|
3770
3537
|
return {
|
|
3771
|
-
oAuthScopes: output.oAuthScopes
|
|
3772
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
3773
|
-
: undefined,
|
|
3538
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3774
3539
|
};
|
|
3775
3540
|
};
|
|
3776
3541
|
const deserializeAws_restJson1GoogleAnalyticsSourceProperties = (output, context) => {
|
|
@@ -3783,7 +3548,7 @@ const deserializeAws_restJson1HoneycodeConnectorProfileProperties = (output, con
|
|
|
3783
3548
|
};
|
|
3784
3549
|
const deserializeAws_restJson1HoneycodeDestinationProperties = (output, context) => {
|
|
3785
3550
|
return {
|
|
3786
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3551
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3787
3552
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3788
3553
|
: undefined,
|
|
3789
3554
|
object: (0, smithy_client_1.expectString)(output.object),
|
|
@@ -3791,9 +3556,7 @@ const deserializeAws_restJson1HoneycodeDestinationProperties = (output, context)
|
|
|
3791
3556
|
};
|
|
3792
3557
|
const deserializeAws_restJson1HoneycodeMetadata = (output, context) => {
|
|
3793
3558
|
return {
|
|
3794
|
-
oAuthScopes: output.oAuthScopes
|
|
3795
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
3796
|
-
: undefined,
|
|
3559
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3797
3560
|
};
|
|
3798
3561
|
};
|
|
3799
3562
|
const deserializeAws_restJson1IdFieldNameList = (output, context) => {
|
|
@@ -3840,7 +3603,7 @@ const deserializeAws_restJson1MarketoConnectorProfileProperties = (output, conte
|
|
|
3840
3603
|
};
|
|
3841
3604
|
const deserializeAws_restJson1MarketoDestinationProperties = (output, context) => {
|
|
3842
3605
|
return {
|
|
3843
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3606
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3844
3607
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3845
3608
|
: undefined,
|
|
3846
3609
|
object: (0, smithy_client_1.expectString)(output.object),
|
|
@@ -3856,7 +3619,7 @@ const deserializeAws_restJson1MarketoSourceProperties = (output, context) => {
|
|
|
3856
3619
|
};
|
|
3857
3620
|
const deserializeAws_restJson1OAuth2CustomParameter = (output, context) => {
|
|
3858
3621
|
return {
|
|
3859
|
-
connectorSuppliedValues: output.connectorSuppliedValues
|
|
3622
|
+
connectorSuppliedValues: output.connectorSuppliedValues != null
|
|
3860
3623
|
? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
|
|
3861
3624
|
: undefined,
|
|
3862
3625
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
@@ -3880,21 +3643,15 @@ const deserializeAws_restJson1OAuth2CustomPropertiesList = (output, context) =>
|
|
|
3880
3643
|
};
|
|
3881
3644
|
const deserializeAws_restJson1OAuth2Defaults = (output, context) => {
|
|
3882
3645
|
return {
|
|
3883
|
-
authCodeUrls: output.authCodeUrls
|
|
3884
|
-
|
|
3885
|
-
: undefined,
|
|
3886
|
-
oauth2CustomProperties: output.oauth2CustomProperties !== undefined && output.oauth2CustomProperties !== null
|
|
3646
|
+
authCodeUrls: output.authCodeUrls != null ? deserializeAws_restJson1AuthCodeUrlList(output.authCodeUrls, context) : undefined,
|
|
3647
|
+
oauth2CustomProperties: output.oauth2CustomProperties != null
|
|
3887
3648
|
? deserializeAws_restJson1OAuth2CustomPropertiesList(output.oauth2CustomProperties, context)
|
|
3888
3649
|
: undefined,
|
|
3889
|
-
oauth2GrantTypesSupported: output.oauth2GrantTypesSupported
|
|
3650
|
+
oauth2GrantTypesSupported: output.oauth2GrantTypesSupported != null
|
|
3890
3651
|
? deserializeAws_restJson1OAuth2GrantTypeSupportedList(output.oauth2GrantTypesSupported, context)
|
|
3891
3652
|
: undefined,
|
|
3892
|
-
oauthScopes: output.oauthScopes
|
|
3893
|
-
|
|
3894
|
-
: undefined,
|
|
3895
|
-
tokenUrls: output.tokenUrls !== undefined && output.tokenUrls !== null
|
|
3896
|
-
? deserializeAws_restJson1TokenUrlList(output.tokenUrls, context)
|
|
3897
|
-
: undefined,
|
|
3653
|
+
oauthScopes: output.oauthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oauthScopes, context) : undefined,
|
|
3654
|
+
tokenUrls: output.tokenUrls != null ? deserializeAws_restJson1TokenUrlList(output.tokenUrls, context) : undefined,
|
|
3898
3655
|
};
|
|
3899
3656
|
};
|
|
3900
3657
|
const deserializeAws_restJson1OAuth2GrantTypeSupportedList = (output, context) => {
|
|
@@ -3912,7 +3669,7 @@ const deserializeAws_restJson1OAuth2Properties = (output, context) => {
|
|
|
3912
3669
|
return {
|
|
3913
3670
|
oAuth2GrantType: (0, smithy_client_1.expectString)(output.oAuth2GrantType),
|
|
3914
3671
|
tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
|
|
3915
|
-
tokenUrlCustomProperties: output.tokenUrlCustomProperties
|
|
3672
|
+
tokenUrlCustomProperties: output.tokenUrlCustomProperties != null
|
|
3916
3673
|
? deserializeAws_restJson1TokenUrlCustomProperties(output.tokenUrlCustomProperties, context)
|
|
3917
3674
|
: undefined,
|
|
3918
3675
|
};
|
|
@@ -3920,9 +3677,7 @@ const deserializeAws_restJson1OAuth2Properties = (output, context) => {
|
|
|
3920
3677
|
const deserializeAws_restJson1OAuthProperties = (output, context) => {
|
|
3921
3678
|
return {
|
|
3922
3679
|
authCodeUrl: (0, smithy_client_1.expectString)(output.authCodeUrl),
|
|
3923
|
-
oAuthScopes: output.oAuthScopes
|
|
3924
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
3925
|
-
: undefined,
|
|
3680
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
3926
3681
|
tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
|
|
3927
3682
|
};
|
|
3928
3683
|
};
|
|
@@ -3978,7 +3733,7 @@ const deserializeAws_restJson1RedshiftConnectorProfileProperties = (output, cont
|
|
|
3978
3733
|
const deserializeAws_restJson1RedshiftDestinationProperties = (output, context) => {
|
|
3979
3734
|
return {
|
|
3980
3735
|
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
3981
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3736
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
3982
3737
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
3983
3738
|
: undefined,
|
|
3984
3739
|
intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
|
|
@@ -4003,7 +3758,7 @@ const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
|
|
|
4003
3758
|
return {
|
|
4004
3759
|
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
4005
3760
|
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
4006
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig
|
|
3761
|
+
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
4007
3762
|
? deserializeAws_restJson1S3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
4008
3763
|
: undefined,
|
|
4009
3764
|
};
|
|
@@ -4018,13 +3773,11 @@ const deserializeAws_restJson1S3Metadata = (output, context) => {
|
|
|
4018
3773
|
};
|
|
4019
3774
|
const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
|
|
4020
3775
|
return {
|
|
4021
|
-
aggregationConfig: output.aggregationConfig
|
|
3776
|
+
aggregationConfig: output.aggregationConfig != null
|
|
4022
3777
|
? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
|
|
4023
3778
|
: undefined,
|
|
4024
3779
|
fileType: (0, smithy_client_1.expectString)(output.fileType),
|
|
4025
|
-
prefixConfig: output.prefixConfig
|
|
4026
|
-
? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
|
|
4027
|
-
: undefined,
|
|
3780
|
+
prefixConfig: output.prefixConfig != null ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context) : undefined,
|
|
4028
3781
|
preserveSourceDataTyping: (0, smithy_client_1.expectBoolean)(output.preserveSourceDataTyping),
|
|
4029
3782
|
};
|
|
4030
3783
|
};
|
|
@@ -4032,7 +3785,7 @@ const deserializeAws_restJson1S3SourceProperties = (output, context) => {
|
|
|
4032
3785
|
return {
|
|
4033
3786
|
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
4034
3787
|
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
4035
|
-
s3InputFormatConfig: output.s3InputFormatConfig
|
|
3788
|
+
s3InputFormatConfig: output.s3InputFormatConfig != null
|
|
4036
3789
|
? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
|
|
4037
3790
|
: undefined,
|
|
4038
3791
|
};
|
|
@@ -4045,21 +3798,17 @@ const deserializeAws_restJson1SalesforceConnectorProfileProperties = (output, co
|
|
|
4045
3798
|
};
|
|
4046
3799
|
const deserializeAws_restJson1SalesforceDestinationProperties = (output, context) => {
|
|
4047
3800
|
return {
|
|
4048
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3801
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4049
3802
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4050
3803
|
: undefined,
|
|
4051
|
-
idFieldNames: output.idFieldNames
|
|
4052
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4053
|
-
: undefined,
|
|
3804
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4054
3805
|
object: (0, smithy_client_1.expectString)(output.object),
|
|
4055
3806
|
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
4056
3807
|
};
|
|
4057
3808
|
};
|
|
4058
3809
|
const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
|
|
4059
3810
|
return {
|
|
4060
|
-
oAuthScopes: output.oAuthScopes
|
|
4061
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4062
|
-
: undefined,
|
|
3811
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4063
3812
|
};
|
|
4064
3813
|
};
|
|
4065
3814
|
const deserializeAws_restJson1SalesforceSourceProperties = (output, context) => {
|
|
@@ -4075,7 +3824,7 @@ const deserializeAws_restJson1SAPODataConnectorProfileProperties = (output, cont
|
|
|
4075
3824
|
applicationServicePath: (0, smithy_client_1.expectString)(output.applicationServicePath),
|
|
4076
3825
|
clientNumber: (0, smithy_client_1.expectString)(output.clientNumber),
|
|
4077
3826
|
logonLanguage: (0, smithy_client_1.expectString)(output.logonLanguage),
|
|
4078
|
-
oAuthProperties: output.oAuthProperties
|
|
3827
|
+
oAuthProperties: output.oAuthProperties != null
|
|
4079
3828
|
? deserializeAws_restJson1OAuthProperties(output.oAuthProperties, context)
|
|
4080
3829
|
: undefined,
|
|
4081
3830
|
portNumber: (0, smithy_client_1.expectInt32)(output.portNumber),
|
|
@@ -4084,14 +3833,12 @@ const deserializeAws_restJson1SAPODataConnectorProfileProperties = (output, cont
|
|
|
4084
3833
|
};
|
|
4085
3834
|
const deserializeAws_restJson1SAPODataDestinationProperties = (output, context) => {
|
|
4086
3835
|
return {
|
|
4087
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3836
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4088
3837
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4089
3838
|
: undefined,
|
|
4090
|
-
idFieldNames: output.idFieldNames
|
|
4091
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4092
|
-
: undefined,
|
|
3839
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4093
3840
|
objectPath: (0, smithy_client_1.expectString)(output.objectPath),
|
|
4094
|
-
successResponseHandlingConfig: output.successResponseHandlingConfig
|
|
3841
|
+
successResponseHandlingConfig: output.successResponseHandlingConfig != null
|
|
4095
3842
|
? deserializeAws_restJson1SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
|
|
4096
3843
|
: undefined,
|
|
4097
3844
|
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
@@ -4108,16 +3855,16 @@ const deserializeAws_restJson1SAPODataSourceProperties = (output, context) => {
|
|
|
4108
3855
|
const deserializeAws_restJson1ScheduledTriggerProperties = (output, context) => {
|
|
4109
3856
|
return {
|
|
4110
3857
|
dataPullMode: (0, smithy_client_1.expectString)(output.dataPullMode),
|
|
4111
|
-
firstExecutionFrom: output.firstExecutionFrom
|
|
3858
|
+
firstExecutionFrom: output.firstExecutionFrom != null
|
|
4112
3859
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstExecutionFrom)))
|
|
4113
3860
|
: undefined,
|
|
4114
3861
|
flowErrorDeactivationThreshold: (0, smithy_client_1.expectInt32)(output.flowErrorDeactivationThreshold),
|
|
4115
|
-
scheduleEndTime: output.scheduleEndTime
|
|
3862
|
+
scheduleEndTime: output.scheduleEndTime != null
|
|
4116
3863
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.scheduleEndTime)))
|
|
4117
3864
|
: undefined,
|
|
4118
3865
|
scheduleExpression: (0, smithy_client_1.expectString)(output.scheduleExpression),
|
|
4119
3866
|
scheduleOffset: (0, smithy_client_1.expectLong)(output.scheduleOffset),
|
|
4120
|
-
scheduleStartTime: output.scheduleStartTime
|
|
3867
|
+
scheduleStartTime: output.scheduleStartTime != null
|
|
4121
3868
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.scheduleStartTime)))
|
|
4122
3869
|
: undefined,
|
|
4123
3870
|
timezone: (0, smithy_client_1.expectString)(output.timezone),
|
|
@@ -4165,9 +3912,7 @@ const deserializeAws_restJson1SlackConnectorProfileProperties = (output, context
|
|
|
4165
3912
|
};
|
|
4166
3913
|
const deserializeAws_restJson1SlackMetadata = (output, context) => {
|
|
4167
3914
|
return {
|
|
4168
|
-
oAuthScopes: output.oAuthScopes
|
|
4169
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4170
|
-
: undefined,
|
|
3915
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4171
3916
|
};
|
|
4172
3917
|
};
|
|
4173
3918
|
const deserializeAws_restJson1SlackSourceProperties = (output, context) => {
|
|
@@ -4189,7 +3934,7 @@ const deserializeAws_restJson1SnowflakeConnectorProfileProperties = (output, con
|
|
|
4189
3934
|
const deserializeAws_restJson1SnowflakeDestinationProperties = (output, context) => {
|
|
4190
3935
|
return {
|
|
4191
3936
|
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
4192
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
3937
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4193
3938
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4194
3939
|
: undefined,
|
|
4195
3940
|
intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
|
|
@@ -4198,61 +3943,45 @@ const deserializeAws_restJson1SnowflakeDestinationProperties = (output, context)
|
|
|
4198
3943
|
};
|
|
4199
3944
|
const deserializeAws_restJson1SnowflakeMetadata = (output, context) => {
|
|
4200
3945
|
return {
|
|
4201
|
-
supportedRegions: output.supportedRegions
|
|
3946
|
+
supportedRegions: output.supportedRegions != null
|
|
4202
3947
|
? deserializeAws_restJson1RegionList(output.supportedRegions, context)
|
|
4203
3948
|
: undefined,
|
|
4204
3949
|
};
|
|
4205
3950
|
};
|
|
4206
3951
|
const deserializeAws_restJson1SourceConnectorProperties = (output, context) => {
|
|
4207
3952
|
return {
|
|
4208
|
-
Amplitude: output.Amplitude
|
|
3953
|
+
Amplitude: output.Amplitude != null
|
|
4209
3954
|
? deserializeAws_restJson1AmplitudeSourceProperties(output.Amplitude, context)
|
|
4210
3955
|
: undefined,
|
|
4211
|
-
CustomConnector: output.CustomConnector
|
|
3956
|
+
CustomConnector: output.CustomConnector != null
|
|
4212
3957
|
? deserializeAws_restJson1CustomConnectorSourceProperties(output.CustomConnector, context)
|
|
4213
3958
|
: undefined,
|
|
4214
|
-
Datadog: output.Datadog
|
|
4215
|
-
|
|
4216
|
-
: undefined,
|
|
4217
|
-
Dynatrace: output.Dynatrace !== undefined && output.Dynatrace !== null
|
|
3959
|
+
Datadog: output.Datadog != null ? deserializeAws_restJson1DatadogSourceProperties(output.Datadog, context) : undefined,
|
|
3960
|
+
Dynatrace: output.Dynatrace != null
|
|
4218
3961
|
? deserializeAws_restJson1DynatraceSourceProperties(output.Dynatrace, context)
|
|
4219
3962
|
: undefined,
|
|
4220
|
-
GoogleAnalytics: output.GoogleAnalytics
|
|
3963
|
+
GoogleAnalytics: output.GoogleAnalytics != null
|
|
4221
3964
|
? deserializeAws_restJson1GoogleAnalyticsSourceProperties(output.GoogleAnalytics, context)
|
|
4222
3965
|
: undefined,
|
|
4223
|
-
InforNexus: output.InforNexus
|
|
3966
|
+
InforNexus: output.InforNexus != null
|
|
4224
3967
|
? deserializeAws_restJson1InforNexusSourceProperties(output.InforNexus, context)
|
|
4225
3968
|
: undefined,
|
|
4226
|
-
Marketo: output.Marketo
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
? deserializeAws_restJson1S3SourceProperties(output.S3, context)
|
|
4231
|
-
: undefined,
|
|
4232
|
-
SAPOData: output.SAPOData !== undefined && output.SAPOData !== null
|
|
4233
|
-
? deserializeAws_restJson1SAPODataSourceProperties(output.SAPOData, context)
|
|
4234
|
-
: undefined,
|
|
4235
|
-
Salesforce: output.Salesforce !== undefined && output.Salesforce !== null
|
|
3969
|
+
Marketo: output.Marketo != null ? deserializeAws_restJson1MarketoSourceProperties(output.Marketo, context) : undefined,
|
|
3970
|
+
S3: output.S3 != null ? deserializeAws_restJson1S3SourceProperties(output.S3, context) : undefined,
|
|
3971
|
+
SAPOData: output.SAPOData != null ? deserializeAws_restJson1SAPODataSourceProperties(output.SAPOData, context) : undefined,
|
|
3972
|
+
Salesforce: output.Salesforce != null
|
|
4236
3973
|
? deserializeAws_restJson1SalesforceSourceProperties(output.Salesforce, context)
|
|
4237
3974
|
: undefined,
|
|
4238
|
-
ServiceNow: output.ServiceNow
|
|
3975
|
+
ServiceNow: output.ServiceNow != null
|
|
4239
3976
|
? deserializeAws_restJson1ServiceNowSourceProperties(output.ServiceNow, context)
|
|
4240
3977
|
: undefined,
|
|
4241
|
-
Singular: output.Singular
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
Slack: output.Slack !== undefined && output.Slack !== null
|
|
4245
|
-
? deserializeAws_restJson1SlackSourceProperties(output.Slack, context)
|
|
4246
|
-
: undefined,
|
|
4247
|
-
Trendmicro: output.Trendmicro !== undefined && output.Trendmicro !== null
|
|
3978
|
+
Singular: output.Singular != null ? deserializeAws_restJson1SingularSourceProperties(output.Singular, context) : undefined,
|
|
3979
|
+
Slack: output.Slack != null ? deserializeAws_restJson1SlackSourceProperties(output.Slack, context) : undefined,
|
|
3980
|
+
Trendmicro: output.Trendmicro != null
|
|
4248
3981
|
? deserializeAws_restJson1TrendmicroSourceProperties(output.Trendmicro, context)
|
|
4249
3982
|
: undefined,
|
|
4250
|
-
Veeva: output.Veeva
|
|
4251
|
-
|
|
4252
|
-
: undefined,
|
|
4253
|
-
Zendesk: output.Zendesk !== undefined && output.Zendesk !== null
|
|
4254
|
-
? deserializeAws_restJson1ZendeskSourceProperties(output.Zendesk, context)
|
|
4255
|
-
: undefined,
|
|
3983
|
+
Veeva: output.Veeva != null ? deserializeAws_restJson1VeevaSourceProperties(output.Veeva, context) : undefined,
|
|
3984
|
+
Zendesk: output.Zendesk != null ? deserializeAws_restJson1ZendeskSourceProperties(output.Zendesk, context) : undefined,
|
|
4256
3985
|
};
|
|
4257
3986
|
};
|
|
4258
3987
|
const deserializeAws_restJson1SourceFieldProperties = (output, context) => {
|
|
@@ -4278,10 +4007,10 @@ const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
|
|
|
4278
4007
|
apiVersion: (0, smithy_client_1.expectString)(output.apiVersion),
|
|
4279
4008
|
connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
|
|
4280
4009
|
connectorType: (0, smithy_client_1.expectString)(output.connectorType),
|
|
4281
|
-
incrementalPullConfig: output.incrementalPullConfig
|
|
4010
|
+
incrementalPullConfig: output.incrementalPullConfig != null
|
|
4282
4011
|
? deserializeAws_restJson1IncrementalPullConfig(output.incrementalPullConfig, context)
|
|
4283
4012
|
: undefined,
|
|
4284
|
-
sourceConnectorProperties: output.sourceConnectorProperties
|
|
4013
|
+
sourceConnectorProperties: output.sourceConnectorProperties != null
|
|
4285
4014
|
? deserializeAws_restJson1SourceConnectorProperties(output.sourceConnectorProperties, context)
|
|
4286
4015
|
: undefined,
|
|
4287
4016
|
};
|
|
@@ -4305,9 +4034,7 @@ const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
|
|
|
4305
4034
|
};
|
|
4306
4035
|
const deserializeAws_restJson1SupportedFieldTypeDetails = (output, context) => {
|
|
4307
4036
|
return {
|
|
4308
|
-
v1: output.v1
|
|
4309
|
-
? deserializeAws_restJson1FieldTypeDetails(output.v1, context)
|
|
4310
|
-
: undefined,
|
|
4037
|
+
v1: output.v1 != null ? deserializeAws_restJson1FieldTypeDetails(output.v1, context) : undefined,
|
|
4311
4038
|
};
|
|
4312
4039
|
};
|
|
4313
4040
|
const deserializeAws_restJson1SupportedOperatorList = (output, context) => {
|
|
@@ -4356,14 +4083,12 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4356
4083
|
};
|
|
4357
4084
|
const deserializeAws_restJson1Task = (output, context) => {
|
|
4358
4085
|
return {
|
|
4359
|
-
connectorOperator: output.connectorOperator
|
|
4086
|
+
connectorOperator: output.connectorOperator != null
|
|
4360
4087
|
? deserializeAws_restJson1ConnectorOperator(output.connectorOperator, context)
|
|
4361
4088
|
: undefined,
|
|
4362
4089
|
destinationField: (0, smithy_client_1.expectString)(output.destinationField),
|
|
4363
|
-
sourceFields: output.sourceFields
|
|
4364
|
-
|
|
4365
|
-
: undefined,
|
|
4366
|
-
taskProperties: output.taskProperties !== undefined && output.taskProperties !== null
|
|
4090
|
+
sourceFields: output.sourceFields != null ? deserializeAws_restJson1SourceFields(output.sourceFields, context) : undefined,
|
|
4091
|
+
taskProperties: output.taskProperties != null
|
|
4367
4092
|
? deserializeAws_restJson1TaskPropertiesMap(output.taskProperties, context)
|
|
4368
4093
|
: undefined,
|
|
4369
4094
|
taskType: (0, smithy_client_1.expectString)(output.taskType),
|
|
@@ -4426,7 +4151,7 @@ const deserializeAws_restJson1TrendmicroSourceProperties = (output, context) =>
|
|
|
4426
4151
|
};
|
|
4427
4152
|
const deserializeAws_restJson1TriggerConfig = (output, context) => {
|
|
4428
4153
|
return {
|
|
4429
|
-
triggerProperties: output.triggerProperties
|
|
4154
|
+
triggerProperties: output.triggerProperties != null
|
|
4430
4155
|
? deserializeAws_restJson1TriggerProperties(output.triggerProperties, context)
|
|
4431
4156
|
: undefined,
|
|
4432
4157
|
triggerType: (0, smithy_client_1.expectString)(output.triggerType),
|
|
@@ -4434,7 +4159,7 @@ const deserializeAws_restJson1TriggerConfig = (output, context) => {
|
|
|
4434
4159
|
};
|
|
4435
4160
|
const deserializeAws_restJson1TriggerProperties = (output, context) => {
|
|
4436
4161
|
return {
|
|
4437
|
-
Scheduled: output.Scheduled
|
|
4162
|
+
Scheduled: output.Scheduled != null
|
|
4438
4163
|
? deserializeAws_restJson1ScheduledTriggerProperties(output.Scheduled, context)
|
|
4439
4164
|
: undefined,
|
|
4440
4165
|
};
|
|
@@ -4454,7 +4179,7 @@ const deserializeAws_restJson1UpsolverDestinationProperties = (output, context)
|
|
|
4454
4179
|
return {
|
|
4455
4180
|
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
4456
4181
|
bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
|
|
4457
|
-
s3OutputFormatConfig: output.s3OutputFormatConfig
|
|
4182
|
+
s3OutputFormatConfig: output.s3OutputFormatConfig != null
|
|
4458
4183
|
? deserializeAws_restJson1UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
|
|
4459
4184
|
: undefined,
|
|
4460
4185
|
};
|
|
@@ -4464,13 +4189,11 @@ const deserializeAws_restJson1UpsolverMetadata = (output, context) => {
|
|
|
4464
4189
|
};
|
|
4465
4190
|
const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) => {
|
|
4466
4191
|
return {
|
|
4467
|
-
aggregationConfig: output.aggregationConfig
|
|
4192
|
+
aggregationConfig: output.aggregationConfig != null
|
|
4468
4193
|
? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
|
|
4469
4194
|
: undefined,
|
|
4470
4195
|
fileType: (0, smithy_client_1.expectString)(output.fileType),
|
|
4471
|
-
prefixConfig: output.prefixConfig
|
|
4472
|
-
? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
|
|
4473
|
-
: undefined,
|
|
4196
|
+
prefixConfig: output.prefixConfig != null ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context) : undefined,
|
|
4474
4197
|
};
|
|
4475
4198
|
};
|
|
4476
4199
|
const deserializeAws_restJson1VeevaConnectorProfileProperties = (output, context) => {
|
|
@@ -4497,21 +4220,17 @@ const deserializeAws_restJson1ZendeskConnectorProfileProperties = (output, conte
|
|
|
4497
4220
|
};
|
|
4498
4221
|
const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) => {
|
|
4499
4222
|
return {
|
|
4500
|
-
errorHandlingConfig: output.errorHandlingConfig
|
|
4223
|
+
errorHandlingConfig: output.errorHandlingConfig != null
|
|
4501
4224
|
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
|
|
4502
4225
|
: undefined,
|
|
4503
|
-
idFieldNames: output.idFieldNames
|
|
4504
|
-
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
|
|
4505
|
-
: undefined,
|
|
4226
|
+
idFieldNames: output.idFieldNames != null ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context) : undefined,
|
|
4506
4227
|
object: (0, smithy_client_1.expectString)(output.object),
|
|
4507
4228
|
writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
|
|
4508
4229
|
};
|
|
4509
4230
|
};
|
|
4510
4231
|
const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
|
|
4511
4232
|
return {
|
|
4512
|
-
oAuthScopes: output.oAuthScopes
|
|
4513
|
-
? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
|
|
4514
|
-
: undefined,
|
|
4233
|
+
oAuthScopes: output.oAuthScopes != null ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context) : undefined,
|
|
4515
4234
|
};
|
|
4516
4235
|
};
|
|
4517
4236
|
const deserializeAws_restJson1ZendeskSourceProperties = (output, context) => {
|
|
@@ -4550,6 +4269,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
4550
4269
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
4551
4270
|
const sanitizeErrorCode = (rawValue) => {
|
|
4552
4271
|
let cleanValue = rawValue;
|
|
4272
|
+
if (typeof cleanValue === "number") {
|
|
4273
|
+
cleanValue = cleanValue.toString();
|
|
4274
|
+
}
|
|
4553
4275
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4554
4276
|
cleanValue = cleanValue.split(":")[0];
|
|
4555
4277
|
}
|