@aws-sdk/client-kendra 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 +32 -0
- package/dist-cjs/Kendra.js +75 -0
- package/dist-cjs/commands/CreateAccessControlConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteAccessControlConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeAccessControlConfigurationCommand.js +36 -0
- package/dist-cjs/commands/ListAccessControlConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/QueryCommand.js +2 -1
- package/dist-cjs/commands/UpdateAccessControlConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +72 -12
- package/dist-cjs/models/models_1.js +9 -0
- package/dist-cjs/pagination/ListAccessControlConfigurationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1355 -1396
- package/dist-es/Kendra.js +75 -0
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +39 -0
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +39 -0
- package/dist-es/commands/QueryCommand.js +2 -1
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +44 -4
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/pagination/ListAccessControlConfigurationsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1150 -1116
- package/dist-types/Kendra.d.ts +99 -11
- package/dist-types/KendraClient.d.ts +7 -2
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +59 -0
- package/dist-types/commands/CreateFaqCommand.d.ts +1 -1
- package/dist-types/commands/CreateIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +38 -0
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +38 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +38 -0
- package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -3
- package/dist-types/commands/QueryCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +54 -0
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +411 -271
- package/dist-types/models/models_1.d.ts +95 -0
- package/dist-types/pagination/ListAccessControlConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/Kendra.d.ts +25 -0
- package/dist-types/ts3.4/KendraClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateAccessControlConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAccessControlConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccessControlConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccessControlConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +125 -32
- package/dist-types/ts3.4/models/models_1.d.ts +33 -0
- package/dist-types/ts3.4/pagination/ListAccessControlConfigurationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +15 -0
- package/package.json +26 -26
|
@@ -70,6 +70,17 @@ export var serializeAws_json1_1ClearQuerySuggestionsCommand = function (input, c
|
|
|
70
70
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
71
71
|
});
|
|
72
72
|
}); };
|
|
73
|
+
export var serializeAws_json1_1CreateAccessControlConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
74
|
+
var headers, body;
|
|
75
|
+
return __generator(this, function (_a) {
|
|
76
|
+
headers = {
|
|
77
|
+
"content-type": "application/x-amz-json-1.1",
|
|
78
|
+
"x-amz-target": "AWSKendraFrontendService.CreateAccessControlConfiguration",
|
|
79
|
+
};
|
|
80
|
+
body = JSON.stringify(serializeAws_json1_1CreateAccessControlConfigurationRequest(input, context));
|
|
81
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
82
|
+
});
|
|
83
|
+
}); };
|
|
73
84
|
export var serializeAws_json1_1CreateDataSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
74
85
|
var headers, body;
|
|
75
86
|
return __generator(this, function (_a) {
|
|
@@ -136,6 +147,17 @@ export var serializeAws_json1_1CreateThesaurusCommand = function (input, context
|
|
|
136
147
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
137
148
|
});
|
|
138
149
|
}); };
|
|
150
|
+
export var serializeAws_json1_1DeleteAccessControlConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
151
|
+
var headers, body;
|
|
152
|
+
return __generator(this, function (_a) {
|
|
153
|
+
headers = {
|
|
154
|
+
"content-type": "application/x-amz-json-1.1",
|
|
155
|
+
"x-amz-target": "AWSKendraFrontendService.DeleteAccessControlConfiguration",
|
|
156
|
+
};
|
|
157
|
+
body = JSON.stringify(serializeAws_json1_1DeleteAccessControlConfigurationRequest(input, context));
|
|
158
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
159
|
+
});
|
|
160
|
+
}); };
|
|
139
161
|
export var serializeAws_json1_1DeleteDataSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
140
162
|
var headers, body;
|
|
141
163
|
return __generator(this, function (_a) {
|
|
@@ -213,6 +235,17 @@ export var serializeAws_json1_1DeleteThesaurusCommand = function (input, context
|
|
|
213
235
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
214
236
|
});
|
|
215
237
|
}); };
|
|
238
|
+
export var serializeAws_json1_1DescribeAccessControlConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
239
|
+
var headers, body;
|
|
240
|
+
return __generator(this, function (_a) {
|
|
241
|
+
headers = {
|
|
242
|
+
"content-type": "application/x-amz-json-1.1",
|
|
243
|
+
"x-amz-target": "AWSKendraFrontendService.DescribeAccessControlConfiguration",
|
|
244
|
+
};
|
|
245
|
+
body = JSON.stringify(serializeAws_json1_1DescribeAccessControlConfigurationRequest(input, context));
|
|
246
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
247
|
+
});
|
|
248
|
+
}); };
|
|
216
249
|
export var serializeAws_json1_1DescribeDataSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
217
250
|
var headers, body;
|
|
218
251
|
return __generator(this, function (_a) {
|
|
@@ -345,6 +378,17 @@ export var serializeAws_json1_1GetSnapshotsCommand = function (input, context) {
|
|
|
345
378
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
346
379
|
});
|
|
347
380
|
}); };
|
|
381
|
+
export var serializeAws_json1_1ListAccessControlConfigurationsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
382
|
+
var headers, body;
|
|
383
|
+
return __generator(this, function (_a) {
|
|
384
|
+
headers = {
|
|
385
|
+
"content-type": "application/x-amz-json-1.1",
|
|
386
|
+
"x-amz-target": "AWSKendraFrontendService.ListAccessControlConfigurations",
|
|
387
|
+
};
|
|
388
|
+
body = JSON.stringify(serializeAws_json1_1ListAccessControlConfigurationsRequest(input, context));
|
|
389
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
390
|
+
});
|
|
391
|
+
}); };
|
|
348
392
|
export var serializeAws_json1_1ListDataSourcesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
349
393
|
var headers, body;
|
|
350
394
|
return __generator(this, function (_a) {
|
|
@@ -543,6 +587,17 @@ export var serializeAws_json1_1UntagResourceCommand = function (input, context)
|
|
|
543
587
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
544
588
|
});
|
|
545
589
|
}); };
|
|
590
|
+
export var serializeAws_json1_1UpdateAccessControlConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
591
|
+
var headers, body;
|
|
592
|
+
return __generator(this, function (_a) {
|
|
593
|
+
headers = {
|
|
594
|
+
"content-type": "application/x-amz-json-1.1",
|
|
595
|
+
"x-amz-target": "AWSKendraFrontendService.UpdateAccessControlConfiguration",
|
|
596
|
+
};
|
|
597
|
+
body = JSON.stringify(serializeAws_json1_1UpdateAccessControlConfigurationRequest(input, context));
|
|
598
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
599
|
+
});
|
|
600
|
+
}); };
|
|
546
601
|
export var serializeAws_json1_1UpdateDataSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
547
602
|
var headers, body;
|
|
548
603
|
return __generator(this, function (_a) {
|
|
@@ -1039,6 +1094,81 @@ var deserializeAws_json1_1ClearQuerySuggestionsCommandError = function (output,
|
|
|
1039
1094
|
}
|
|
1040
1095
|
});
|
|
1041
1096
|
}); };
|
|
1097
|
+
export var deserializeAws_json1_1CreateAccessControlConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1098
|
+
var data, contents, response;
|
|
1099
|
+
return __generator(this, function (_a) {
|
|
1100
|
+
switch (_a.label) {
|
|
1101
|
+
case 0:
|
|
1102
|
+
if (output.statusCode >= 300) {
|
|
1103
|
+
return [2, deserializeAws_json1_1CreateAccessControlConfigurationCommandError(output, context)];
|
|
1104
|
+
}
|
|
1105
|
+
return [4, parseBody(output.body, context)];
|
|
1106
|
+
case 1:
|
|
1107
|
+
data = _a.sent();
|
|
1108
|
+
contents = {};
|
|
1109
|
+
contents = deserializeAws_json1_1CreateAccessControlConfigurationResponse(data, context);
|
|
1110
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1111
|
+
return [2, Promise.resolve(response)];
|
|
1112
|
+
}
|
|
1113
|
+
});
|
|
1114
|
+
}); };
|
|
1115
|
+
var deserializeAws_json1_1CreateAccessControlConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1116
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1117
|
+
var _c;
|
|
1118
|
+
return __generator(this, function (_d) {
|
|
1119
|
+
switch (_d.label) {
|
|
1120
|
+
case 0:
|
|
1121
|
+
_a = [__assign({}, output)];
|
|
1122
|
+
_c = {};
|
|
1123
|
+
return [4, parseBody(output.body, context)];
|
|
1124
|
+
case 1:
|
|
1125
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1126
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1127
|
+
_b = errorCode;
|
|
1128
|
+
switch (_b) {
|
|
1129
|
+
case "AccessDeniedException": return [3, 2];
|
|
1130
|
+
case "com.amazonaws.kendra#AccessDeniedException": return [3, 2];
|
|
1131
|
+
case "ConflictException": return [3, 4];
|
|
1132
|
+
case "com.amazonaws.kendra#ConflictException": return [3, 4];
|
|
1133
|
+
case "InternalServerException": return [3, 6];
|
|
1134
|
+
case "com.amazonaws.kendra#InternalServerException": return [3, 6];
|
|
1135
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
1136
|
+
case "com.amazonaws.kendra#ResourceNotFoundException": return [3, 8];
|
|
1137
|
+
case "ServiceQuotaExceededException": return [3, 10];
|
|
1138
|
+
case "com.amazonaws.kendra#ServiceQuotaExceededException": return [3, 10];
|
|
1139
|
+
case "ThrottlingException": return [3, 12];
|
|
1140
|
+
case "com.amazonaws.kendra#ThrottlingException": return [3, 12];
|
|
1141
|
+
case "ValidationException": return [3, 14];
|
|
1142
|
+
case "com.amazonaws.kendra#ValidationException": return [3, 14];
|
|
1143
|
+
}
|
|
1144
|
+
return [3, 16];
|
|
1145
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1146
|
+
case 3: throw _d.sent();
|
|
1147
|
+
case 4: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
1148
|
+
case 5: throw _d.sent();
|
|
1149
|
+
case 6: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1150
|
+
case 7: throw _d.sent();
|
|
1151
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1152
|
+
case 9: throw _d.sent();
|
|
1153
|
+
case 10: return [4, deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
1154
|
+
case 11: throw _d.sent();
|
|
1155
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1156
|
+
case 13: throw _d.sent();
|
|
1157
|
+
case 14: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1158
|
+
case 15: throw _d.sent();
|
|
1159
|
+
case 16:
|
|
1160
|
+
parsedBody = parsedOutput.body;
|
|
1161
|
+
$metadata = deserializeMetadata(output);
|
|
1162
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1163
|
+
response = new __BaseException({
|
|
1164
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1165
|
+
$fault: "client",
|
|
1166
|
+
$metadata: $metadata,
|
|
1167
|
+
});
|
|
1168
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1169
|
+
}
|
|
1170
|
+
});
|
|
1171
|
+
}); };
|
|
1042
1172
|
export var deserializeAws_json1_1CreateDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1043
1173
|
var data, contents, response;
|
|
1044
1174
|
return __generator(this, function (_a) {
|
|
@@ -1493,6 +1623,77 @@ var deserializeAws_json1_1CreateThesaurusCommandError = function (output, contex
|
|
|
1493
1623
|
}
|
|
1494
1624
|
});
|
|
1495
1625
|
}); };
|
|
1626
|
+
export var deserializeAws_json1_1DeleteAccessControlConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1627
|
+
var data, contents, response;
|
|
1628
|
+
return __generator(this, function (_a) {
|
|
1629
|
+
switch (_a.label) {
|
|
1630
|
+
case 0:
|
|
1631
|
+
if (output.statusCode >= 300) {
|
|
1632
|
+
return [2, deserializeAws_json1_1DeleteAccessControlConfigurationCommandError(output, context)];
|
|
1633
|
+
}
|
|
1634
|
+
return [4, parseBody(output.body, context)];
|
|
1635
|
+
case 1:
|
|
1636
|
+
data = _a.sent();
|
|
1637
|
+
contents = {};
|
|
1638
|
+
contents = deserializeAws_json1_1DeleteAccessControlConfigurationResponse(data, context);
|
|
1639
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1640
|
+
return [2, Promise.resolve(response)];
|
|
1641
|
+
}
|
|
1642
|
+
});
|
|
1643
|
+
}); };
|
|
1644
|
+
var deserializeAws_json1_1DeleteAccessControlConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1645
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1646
|
+
var _c;
|
|
1647
|
+
return __generator(this, function (_d) {
|
|
1648
|
+
switch (_d.label) {
|
|
1649
|
+
case 0:
|
|
1650
|
+
_a = [__assign({}, output)];
|
|
1651
|
+
_c = {};
|
|
1652
|
+
return [4, parseBody(output.body, context)];
|
|
1653
|
+
case 1:
|
|
1654
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1655
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1656
|
+
_b = errorCode;
|
|
1657
|
+
switch (_b) {
|
|
1658
|
+
case "AccessDeniedException": return [3, 2];
|
|
1659
|
+
case "com.amazonaws.kendra#AccessDeniedException": return [3, 2];
|
|
1660
|
+
case "ConflictException": return [3, 4];
|
|
1661
|
+
case "com.amazonaws.kendra#ConflictException": return [3, 4];
|
|
1662
|
+
case "InternalServerException": return [3, 6];
|
|
1663
|
+
case "com.amazonaws.kendra#InternalServerException": return [3, 6];
|
|
1664
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
1665
|
+
case "com.amazonaws.kendra#ResourceNotFoundException": return [3, 8];
|
|
1666
|
+
case "ThrottlingException": return [3, 10];
|
|
1667
|
+
case "com.amazonaws.kendra#ThrottlingException": return [3, 10];
|
|
1668
|
+
case "ValidationException": return [3, 12];
|
|
1669
|
+
case "com.amazonaws.kendra#ValidationException": return [3, 12];
|
|
1670
|
+
}
|
|
1671
|
+
return [3, 14];
|
|
1672
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1673
|
+
case 3: throw _d.sent();
|
|
1674
|
+
case 4: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
1675
|
+
case 5: throw _d.sent();
|
|
1676
|
+
case 6: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1677
|
+
case 7: throw _d.sent();
|
|
1678
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1679
|
+
case 9: throw _d.sent();
|
|
1680
|
+
case 10: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1681
|
+
case 11: throw _d.sent();
|
|
1682
|
+
case 12: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1683
|
+
case 13: throw _d.sent();
|
|
1684
|
+
case 14:
|
|
1685
|
+
parsedBody = parsedOutput.body;
|
|
1686
|
+
$metadata = deserializeMetadata(output);
|
|
1687
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1688
|
+
response = new __BaseException({
|
|
1689
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1690
|
+
$fault: "client",
|
|
1691
|
+
$metadata: $metadata,
|
|
1692
|
+
});
|
|
1693
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1694
|
+
}
|
|
1695
|
+
});
|
|
1696
|
+
}); };
|
|
1496
1697
|
export var deserializeAws_json1_1DeleteDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1497
1698
|
var response;
|
|
1498
1699
|
return __generator(this, function (_a) {
|
|
@@ -1990,6 +2191,73 @@ var deserializeAws_json1_1DeleteThesaurusCommandError = function (output, contex
|
|
|
1990
2191
|
}
|
|
1991
2192
|
});
|
|
1992
2193
|
}); };
|
|
2194
|
+
export var deserializeAws_json1_1DescribeAccessControlConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2195
|
+
var data, contents, response;
|
|
2196
|
+
return __generator(this, function (_a) {
|
|
2197
|
+
switch (_a.label) {
|
|
2198
|
+
case 0:
|
|
2199
|
+
if (output.statusCode >= 300) {
|
|
2200
|
+
return [2, deserializeAws_json1_1DescribeAccessControlConfigurationCommandError(output, context)];
|
|
2201
|
+
}
|
|
2202
|
+
return [4, parseBody(output.body, context)];
|
|
2203
|
+
case 1:
|
|
2204
|
+
data = _a.sent();
|
|
2205
|
+
contents = {};
|
|
2206
|
+
contents = deserializeAws_json1_1DescribeAccessControlConfigurationResponse(data, context);
|
|
2207
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2208
|
+
return [2, Promise.resolve(response)];
|
|
2209
|
+
}
|
|
2210
|
+
});
|
|
2211
|
+
}); };
|
|
2212
|
+
var deserializeAws_json1_1DescribeAccessControlConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2213
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2214
|
+
var _c;
|
|
2215
|
+
return __generator(this, function (_d) {
|
|
2216
|
+
switch (_d.label) {
|
|
2217
|
+
case 0:
|
|
2218
|
+
_a = [__assign({}, output)];
|
|
2219
|
+
_c = {};
|
|
2220
|
+
return [4, parseBody(output.body, context)];
|
|
2221
|
+
case 1:
|
|
2222
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2223
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2224
|
+
_b = errorCode;
|
|
2225
|
+
switch (_b) {
|
|
2226
|
+
case "AccessDeniedException": return [3, 2];
|
|
2227
|
+
case "com.amazonaws.kendra#AccessDeniedException": return [3, 2];
|
|
2228
|
+
case "InternalServerException": return [3, 4];
|
|
2229
|
+
case "com.amazonaws.kendra#InternalServerException": return [3, 4];
|
|
2230
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
2231
|
+
case "com.amazonaws.kendra#ResourceNotFoundException": return [3, 6];
|
|
2232
|
+
case "ThrottlingException": return [3, 8];
|
|
2233
|
+
case "com.amazonaws.kendra#ThrottlingException": return [3, 8];
|
|
2234
|
+
case "ValidationException": return [3, 10];
|
|
2235
|
+
case "com.amazonaws.kendra#ValidationException": return [3, 10];
|
|
2236
|
+
}
|
|
2237
|
+
return [3, 12];
|
|
2238
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2239
|
+
case 3: throw _d.sent();
|
|
2240
|
+
case 4: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2241
|
+
case 5: throw _d.sent();
|
|
2242
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2243
|
+
case 7: throw _d.sent();
|
|
2244
|
+
case 8: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2245
|
+
case 9: throw _d.sent();
|
|
2246
|
+
case 10: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2247
|
+
case 11: throw _d.sent();
|
|
2248
|
+
case 12:
|
|
2249
|
+
parsedBody = parsedOutput.body;
|
|
2250
|
+
$metadata = deserializeMetadata(output);
|
|
2251
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2252
|
+
response = new __BaseException({
|
|
2253
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2254
|
+
$fault: "client",
|
|
2255
|
+
$metadata: $metadata,
|
|
2256
|
+
});
|
|
2257
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2258
|
+
}
|
|
2259
|
+
});
|
|
2260
|
+
}); };
|
|
1993
2261
|
export var deserializeAws_json1_1DescribeDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1994
2262
|
var data, contents, response;
|
|
1995
2263
|
return __generator(this, function (_a) {
|
|
@@ -2707,22 +2975,85 @@ var deserializeAws_json1_1GetQuerySuggestionsCommandError = function (output, co
|
|
|
2707
2975
|
case "ValidationException": return [3, 14];
|
|
2708
2976
|
case "com.amazonaws.kendra#ValidationException": return [3, 14];
|
|
2709
2977
|
}
|
|
2710
|
-
return [3, 16];
|
|
2978
|
+
return [3, 16];
|
|
2979
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2980
|
+
case 3: throw _d.sent();
|
|
2981
|
+
case 4: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
2982
|
+
case 5: throw _d.sent();
|
|
2983
|
+
case 6: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2984
|
+
case 7: throw _d.sent();
|
|
2985
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2986
|
+
case 9: throw _d.sent();
|
|
2987
|
+
case 10: return [4, deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
2988
|
+
case 11: throw _d.sent();
|
|
2989
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2990
|
+
case 13: throw _d.sent();
|
|
2991
|
+
case 14: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2992
|
+
case 15: throw _d.sent();
|
|
2993
|
+
case 16:
|
|
2994
|
+
parsedBody = parsedOutput.body;
|
|
2995
|
+
$metadata = deserializeMetadata(output);
|
|
2996
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2997
|
+
response = new __BaseException({
|
|
2998
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2999
|
+
$fault: "client",
|
|
3000
|
+
$metadata: $metadata,
|
|
3001
|
+
});
|
|
3002
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3003
|
+
}
|
|
3004
|
+
});
|
|
3005
|
+
}); };
|
|
3006
|
+
export var deserializeAws_json1_1GetSnapshotsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3007
|
+
var data, contents, response;
|
|
3008
|
+
return __generator(this, function (_a) {
|
|
3009
|
+
switch (_a.label) {
|
|
3010
|
+
case 0:
|
|
3011
|
+
if (output.statusCode >= 300) {
|
|
3012
|
+
return [2, deserializeAws_json1_1GetSnapshotsCommandError(output, context)];
|
|
3013
|
+
}
|
|
3014
|
+
return [4, parseBody(output.body, context)];
|
|
3015
|
+
case 1:
|
|
3016
|
+
data = _a.sent();
|
|
3017
|
+
contents = {};
|
|
3018
|
+
contents = deserializeAws_json1_1GetSnapshotsResponse(data, context);
|
|
3019
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
3020
|
+
return [2, Promise.resolve(response)];
|
|
3021
|
+
}
|
|
3022
|
+
});
|
|
3023
|
+
}); };
|
|
3024
|
+
var deserializeAws_json1_1GetSnapshotsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3025
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3026
|
+
var _c;
|
|
3027
|
+
return __generator(this, function (_d) {
|
|
3028
|
+
switch (_d.label) {
|
|
3029
|
+
case 0:
|
|
3030
|
+
_a = [__assign({}, output)];
|
|
3031
|
+
_c = {};
|
|
3032
|
+
return [4, parseBody(output.body, context)];
|
|
3033
|
+
case 1:
|
|
3034
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3035
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3036
|
+
_b = errorCode;
|
|
3037
|
+
switch (_b) {
|
|
3038
|
+
case "AccessDeniedException": return [3, 2];
|
|
3039
|
+
case "com.amazonaws.kendra#AccessDeniedException": return [3, 2];
|
|
3040
|
+
case "InternalServerException": return [3, 4];
|
|
3041
|
+
case "com.amazonaws.kendra#InternalServerException": return [3, 4];
|
|
3042
|
+
case "InvalidRequestException": return [3, 6];
|
|
3043
|
+
case "com.amazonaws.kendra#InvalidRequestException": return [3, 6];
|
|
3044
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
3045
|
+
case "com.amazonaws.kendra#ResourceNotFoundException": return [3, 8];
|
|
3046
|
+
}
|
|
3047
|
+
return [3, 10];
|
|
2711
3048
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2712
3049
|
case 3: throw _d.sent();
|
|
2713
|
-
case 4: return [4,
|
|
3050
|
+
case 4: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2714
3051
|
case 5: throw _d.sent();
|
|
2715
|
-
case 6: return [4,
|
|
3052
|
+
case 6: return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
2716
3053
|
case 7: throw _d.sent();
|
|
2717
3054
|
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2718
3055
|
case 9: throw _d.sent();
|
|
2719
|
-
case 10:
|
|
2720
|
-
case 11: throw _d.sent();
|
|
2721
|
-
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2722
|
-
case 13: throw _d.sent();
|
|
2723
|
-
case 14: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2724
|
-
case 15: throw _d.sent();
|
|
2725
|
-
case 16:
|
|
3056
|
+
case 10:
|
|
2726
3057
|
parsedBody = parsedOutput.body;
|
|
2727
3058
|
$metadata = deserializeMetadata(output);
|
|
2728
3059
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -2735,25 +3066,25 @@ var deserializeAws_json1_1GetQuerySuggestionsCommandError = function (output, co
|
|
|
2735
3066
|
}
|
|
2736
3067
|
});
|
|
2737
3068
|
}); };
|
|
2738
|
-
export var
|
|
3069
|
+
export var deserializeAws_json1_1ListAccessControlConfigurationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2739
3070
|
var data, contents, response;
|
|
2740
3071
|
return __generator(this, function (_a) {
|
|
2741
3072
|
switch (_a.label) {
|
|
2742
3073
|
case 0:
|
|
2743
3074
|
if (output.statusCode >= 300) {
|
|
2744
|
-
return [2,
|
|
3075
|
+
return [2, deserializeAws_json1_1ListAccessControlConfigurationsCommandError(output, context)];
|
|
2745
3076
|
}
|
|
2746
3077
|
return [4, parseBody(output.body, context)];
|
|
2747
3078
|
case 1:
|
|
2748
3079
|
data = _a.sent();
|
|
2749
3080
|
contents = {};
|
|
2750
|
-
contents =
|
|
3081
|
+
contents = deserializeAws_json1_1ListAccessControlConfigurationsResponse(data, context);
|
|
2751
3082
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2752
3083
|
return [2, Promise.resolve(response)];
|
|
2753
3084
|
}
|
|
2754
3085
|
});
|
|
2755
3086
|
}); };
|
|
2756
|
-
var
|
|
3087
|
+
var deserializeAws_json1_1ListAccessControlConfigurationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2757
3088
|
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2758
3089
|
var _c;
|
|
2759
3090
|
return __generator(this, function (_d) {
|
|
@@ -2771,21 +3102,25 @@ var deserializeAws_json1_1GetSnapshotsCommandError = function (output, context)
|
|
|
2771
3102
|
case "com.amazonaws.kendra#AccessDeniedException": return [3, 2];
|
|
2772
3103
|
case "InternalServerException": return [3, 4];
|
|
2773
3104
|
case "com.amazonaws.kendra#InternalServerException": return [3, 4];
|
|
2774
|
-
case "
|
|
2775
|
-
case "com.amazonaws.kendra#
|
|
2776
|
-
case "
|
|
2777
|
-
case "com.amazonaws.kendra#
|
|
3105
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
3106
|
+
case "com.amazonaws.kendra#ResourceNotFoundException": return [3, 6];
|
|
3107
|
+
case "ThrottlingException": return [3, 8];
|
|
3108
|
+
case "com.amazonaws.kendra#ThrottlingException": return [3, 8];
|
|
3109
|
+
case "ValidationException": return [3, 10];
|
|
3110
|
+
case "com.amazonaws.kendra#ValidationException": return [3, 10];
|
|
2778
3111
|
}
|
|
2779
|
-
return [3,
|
|
3112
|
+
return [3, 12];
|
|
2780
3113
|
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2781
3114
|
case 3: throw _d.sent();
|
|
2782
3115
|
case 4: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2783
3116
|
case 5: throw _d.sent();
|
|
2784
|
-
case 6: return [4,
|
|
3117
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2785
3118
|
case 7: throw _d.sent();
|
|
2786
|
-
case 8: return [4,
|
|
3119
|
+
case 8: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2787
3120
|
case 9: throw _d.sent();
|
|
2788
|
-
case 10:
|
|
3121
|
+
case 10: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
3122
|
+
case 11: throw _d.sent();
|
|
3123
|
+
case 12:
|
|
2789
3124
|
parsedBody = parsedOutput.body;
|
|
2790
3125
|
$metadata = deserializeMetadata(output);
|
|
2791
3126
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -4036,6 +4371,81 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
4036
4371
|
}
|
|
4037
4372
|
});
|
|
4038
4373
|
}); };
|
|
4374
|
+
export var deserializeAws_json1_1UpdateAccessControlConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4375
|
+
var data, contents, response;
|
|
4376
|
+
return __generator(this, function (_a) {
|
|
4377
|
+
switch (_a.label) {
|
|
4378
|
+
case 0:
|
|
4379
|
+
if (output.statusCode >= 300) {
|
|
4380
|
+
return [2, deserializeAws_json1_1UpdateAccessControlConfigurationCommandError(output, context)];
|
|
4381
|
+
}
|
|
4382
|
+
return [4, parseBody(output.body, context)];
|
|
4383
|
+
case 1:
|
|
4384
|
+
data = _a.sent();
|
|
4385
|
+
contents = {};
|
|
4386
|
+
contents = deserializeAws_json1_1UpdateAccessControlConfigurationResponse(data, context);
|
|
4387
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4388
|
+
return [2, Promise.resolve(response)];
|
|
4389
|
+
}
|
|
4390
|
+
});
|
|
4391
|
+
}); };
|
|
4392
|
+
var deserializeAws_json1_1UpdateAccessControlConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4393
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4394
|
+
var _c;
|
|
4395
|
+
return __generator(this, function (_d) {
|
|
4396
|
+
switch (_d.label) {
|
|
4397
|
+
case 0:
|
|
4398
|
+
_a = [__assign({}, output)];
|
|
4399
|
+
_c = {};
|
|
4400
|
+
return [4, parseBody(output.body, context)];
|
|
4401
|
+
case 1:
|
|
4402
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4403
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4404
|
+
_b = errorCode;
|
|
4405
|
+
switch (_b) {
|
|
4406
|
+
case "AccessDeniedException": return [3, 2];
|
|
4407
|
+
case "com.amazonaws.kendra#AccessDeniedException": return [3, 2];
|
|
4408
|
+
case "ConflictException": return [3, 4];
|
|
4409
|
+
case "com.amazonaws.kendra#ConflictException": return [3, 4];
|
|
4410
|
+
case "InternalServerException": return [3, 6];
|
|
4411
|
+
case "com.amazonaws.kendra#InternalServerException": return [3, 6];
|
|
4412
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
4413
|
+
case "com.amazonaws.kendra#ResourceNotFoundException": return [3, 8];
|
|
4414
|
+
case "ServiceQuotaExceededException": return [3, 10];
|
|
4415
|
+
case "com.amazonaws.kendra#ServiceQuotaExceededException": return [3, 10];
|
|
4416
|
+
case "ThrottlingException": return [3, 12];
|
|
4417
|
+
case "com.amazonaws.kendra#ThrottlingException": return [3, 12];
|
|
4418
|
+
case "ValidationException": return [3, 14];
|
|
4419
|
+
case "com.amazonaws.kendra#ValidationException": return [3, 14];
|
|
4420
|
+
}
|
|
4421
|
+
return [3, 16];
|
|
4422
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
4423
|
+
case 3: throw _d.sent();
|
|
4424
|
+
case 4: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
4425
|
+
case 5: throw _d.sent();
|
|
4426
|
+
case 6: return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
4427
|
+
case 7: throw _d.sent();
|
|
4428
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
4429
|
+
case 9: throw _d.sent();
|
|
4430
|
+
case 10: return [4, deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
4431
|
+
case 11: throw _d.sent();
|
|
4432
|
+
case 12: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
4433
|
+
case 13: throw _d.sent();
|
|
4434
|
+
case 14: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
4435
|
+
case 15: throw _d.sent();
|
|
4436
|
+
case 16:
|
|
4437
|
+
parsedBody = parsedOutput.body;
|
|
4438
|
+
$metadata = deserializeMetadata(output);
|
|
4439
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4440
|
+
response = new __BaseException({
|
|
4441
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4442
|
+
$fault: "client",
|
|
4443
|
+
$metadata: $metadata,
|
|
4444
|
+
});
|
|
4445
|
+
throw __decorateServiceException(response, parsedBody);
|
|
4446
|
+
}
|
|
4447
|
+
});
|
|
4448
|
+
}); };
|
|
4039
4449
|
export var deserializeAws_json1_1UpdateDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4040
4450
|
var response;
|
|
4041
4451
|
return __generator(this, function (_a) {
|
|
@@ -4566,41 +4976,30 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
4566
4976
|
});
|
|
4567
4977
|
}); };
|
|
4568
4978
|
var serializeAws_json1_1AccessControlListConfiguration = function (input, context) {
|
|
4569
|
-
return __assign({}, (input.KeyPath
|
|
4979
|
+
return __assign({}, (input.KeyPath != null && { KeyPath: input.KeyPath }));
|
|
4570
4980
|
};
|
|
4571
4981
|
var serializeAws_json1_1AclConfiguration = function (input, context) {
|
|
4572
|
-
return __assign({}, (input.AllowedGroupsColumnName
|
|
4573
|
-
input.AllowedGroupsColumnName !== null && { AllowedGroupsColumnName: input.AllowedGroupsColumnName }));
|
|
4982
|
+
return __assign({}, (input.AllowedGroupsColumnName != null && { AllowedGroupsColumnName: input.AllowedGroupsColumnName }));
|
|
4574
4983
|
};
|
|
4575
4984
|
var serializeAws_json1_1AlfrescoConfiguration = function (input, context) {
|
|
4576
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlogFieldMappings
|
|
4577
|
-
input.BlogFieldMappings !== null && {
|
|
4985
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlogFieldMappings != null && {
|
|
4578
4986
|
BlogFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.BlogFieldMappings, context),
|
|
4579
|
-
})), (input.CrawlComments
|
|
4580
|
-
input.CrawlSystemFolders !== null && { CrawlSystemFolders: input.CrawlSystemFolders })), (input.DocumentLibraryFieldMappings !== undefined &&
|
|
4581
|
-
input.DocumentLibraryFieldMappings !== null && {
|
|
4987
|
+
})), (input.CrawlComments != null && { CrawlComments: input.CrawlComments })), (input.CrawlSystemFolders != null && { CrawlSystemFolders: input.CrawlSystemFolders })), (input.DocumentLibraryFieldMappings != null && {
|
|
4582
4988
|
DocumentLibraryFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.DocumentLibraryFieldMappings, context),
|
|
4583
|
-
})), (input.EntityFilter
|
|
4584
|
-
input.EntityFilter !== null && { EntityFilter: serializeAws_json1_1EntityFilter(input.EntityFilter, context) })), (input.ExclusionPatterns !== undefined &&
|
|
4585
|
-
input.ExclusionPatterns !== null && {
|
|
4989
|
+
})), (input.EntityFilter != null && { EntityFilter: serializeAws_json1_1EntityFilter(input.EntityFilter, context) })), (input.ExclusionPatterns != null && {
|
|
4586
4990
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4587
|
-
})), (input.InclusionPatterns
|
|
4588
|
-
input.InclusionPatterns !== null && {
|
|
4991
|
+
})), (input.InclusionPatterns != null && {
|
|
4589
4992
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4590
|
-
})), (input.SecretArn
|
|
4591
|
-
input.SslCertificateS3Path !== null && {
|
|
4993
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SiteId != null && { SiteId: input.SiteId })), (input.SiteUrl != null && { SiteUrl: input.SiteUrl })), (input.SslCertificateS3Path != null && {
|
|
4592
4994
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
4593
|
-
})), (input.VpcConfiguration
|
|
4594
|
-
input.VpcConfiguration !== null && {
|
|
4995
|
+
})), (input.VpcConfiguration != null && {
|
|
4595
4996
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4596
|
-
})), (input.WikiFieldMappings
|
|
4597
|
-
input.WikiFieldMappings !== null && {
|
|
4997
|
+
})), (input.WikiFieldMappings != null && {
|
|
4598
4998
|
WikiFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WikiFieldMappings, context),
|
|
4599
4999
|
}));
|
|
4600
5000
|
};
|
|
4601
5001
|
var serializeAws_json1_1AssociateEntitiesToExperienceRequest = function (input, context) {
|
|
4602
|
-
return __assign(__assign(__assign({}, (input.EntityList
|
|
4603
|
-
input.EntityList !== null && { EntityList: serializeAws_json1_1AssociateEntityList(input.EntityList, context) })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }));
|
|
5002
|
+
return __assign(__assign(__assign({}, (input.EntityList != null && { EntityList: serializeAws_json1_1AssociateEntityList(input.EntityList, context) })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4604
5003
|
};
|
|
4605
5004
|
var serializeAws_json1_1AssociateEntityList = function (input, context) {
|
|
4606
5005
|
return input
|
|
@@ -4613,29 +5012,24 @@ var serializeAws_json1_1AssociateEntityList = function (input, context) {
|
|
|
4613
5012
|
});
|
|
4614
5013
|
};
|
|
4615
5014
|
var serializeAws_json1_1AssociatePersonasToEntitiesRequest = function (input, context) {
|
|
4616
|
-
return __assign(__assign(__assign({}, (input.Id
|
|
4617
|
-
input.Personas !== null && {
|
|
5015
|
+
return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Personas != null && {
|
|
4618
5016
|
Personas: serializeAws_json1_1EntityPersonaConfigurationList(input.Personas, context),
|
|
4619
5017
|
}));
|
|
4620
5018
|
};
|
|
4621
5019
|
var serializeAws_json1_1AttributeFilter = function (input, context) {
|
|
4622
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AndAllFilters
|
|
4623
|
-
input.AndAllFilters !== null && {
|
|
5020
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AndAllFilters != null && {
|
|
4624
5021
|
AndAllFilters: serializeAws_json1_1AttributeFilterList(input.AndAllFilters, context),
|
|
4625
|
-
})), (input.ContainsAll
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
input.
|
|
5022
|
+
})), (input.ContainsAll != null && {
|
|
5023
|
+
ContainsAll: serializeAws_json1_1DocumentAttribute(input.ContainsAll, context),
|
|
5024
|
+
})), (input.ContainsAny != null && {
|
|
5025
|
+
ContainsAny: serializeAws_json1_1DocumentAttribute(input.ContainsAny, context),
|
|
5026
|
+
})), (input.EqualsTo != null && { EqualsTo: serializeAws_json1_1DocumentAttribute(input.EqualsTo, context) })), (input.GreaterThan != null && {
|
|
5027
|
+
GreaterThan: serializeAws_json1_1DocumentAttribute(input.GreaterThan, context),
|
|
5028
|
+
})), (input.GreaterThanOrEquals != null && {
|
|
4631
5029
|
GreaterThanOrEquals: serializeAws_json1_1DocumentAttribute(input.GreaterThanOrEquals, context),
|
|
4632
|
-
})), (input.LessThan
|
|
4633
|
-
input.LessThan !== null && { LessThan: serializeAws_json1_1DocumentAttribute(input.LessThan, context) })), (input.LessThanOrEquals !== undefined &&
|
|
4634
|
-
input.LessThanOrEquals !== null && {
|
|
5030
|
+
})), (input.LessThan != null && { LessThan: serializeAws_json1_1DocumentAttribute(input.LessThan, context) })), (input.LessThanOrEquals != null && {
|
|
4635
5031
|
LessThanOrEquals: serializeAws_json1_1DocumentAttribute(input.LessThanOrEquals, context),
|
|
4636
|
-
})), (input.NotFilter
|
|
4637
|
-
input.NotFilter !== null && { NotFilter: serializeAws_json1_1AttributeFilter(input.NotFilter, context) })), (input.OrAllFilters !== undefined &&
|
|
4638
|
-
input.OrAllFilters !== null && {
|
|
5032
|
+
})), (input.NotFilter != null && { NotFilter: serializeAws_json1_1AttributeFilter(input.NotFilter, context) })), (input.OrAllFilters != null && {
|
|
4639
5033
|
OrAllFilters: serializeAws_json1_1AttributeFilterList(input.OrAllFilters, context),
|
|
4640
5034
|
}));
|
|
4641
5035
|
};
|
|
@@ -4650,13 +5044,12 @@ var serializeAws_json1_1AttributeFilterList = function (input, context) {
|
|
|
4650
5044
|
});
|
|
4651
5045
|
};
|
|
4652
5046
|
var serializeAws_json1_1AuthenticationConfiguration = function (input, context) {
|
|
4653
|
-
return __assign({}, (input.BasicAuthentication
|
|
4654
|
-
input.BasicAuthentication !== null && {
|
|
5047
|
+
return __assign({}, (input.BasicAuthentication != null && {
|
|
4655
5048
|
BasicAuthentication: serializeAws_json1_1BasicAuthenticationConfigurationList(input.BasicAuthentication, context),
|
|
4656
5049
|
}));
|
|
4657
5050
|
};
|
|
4658
5051
|
var serializeAws_json1_1BasicAuthenticationConfiguration = function (input, context) {
|
|
4659
|
-
return __assign(__assign(__assign({}, (input.Credentials
|
|
5052
|
+
return __assign(__assign(__assign({}, (input.Credentials != null && { Credentials: input.Credentials })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
4660
5053
|
};
|
|
4661
5054
|
var serializeAws_json1_1BasicAuthenticationConfigurationList = function (input, context) {
|
|
4662
5055
|
return input
|
|
@@ -4669,55 +5062,41 @@ var serializeAws_json1_1BasicAuthenticationConfigurationList = function (input,
|
|
|
4669
5062
|
});
|
|
4670
5063
|
};
|
|
4671
5064
|
var serializeAws_json1_1BatchDeleteDocumentRequest = function (input, context) {
|
|
4672
|
-
return __assign(__assign(__assign({}, (input.DataSourceSyncJobMetricTarget
|
|
4673
|
-
input.DataSourceSyncJobMetricTarget !== null && {
|
|
5065
|
+
return __assign(__assign(__assign({}, (input.DataSourceSyncJobMetricTarget != null && {
|
|
4674
5066
|
DataSourceSyncJobMetricTarget: serializeAws_json1_1DataSourceSyncJobMetricTarget(input.DataSourceSyncJobMetricTarget, context),
|
|
4675
|
-
})), (input.DocumentIdList
|
|
4676
|
-
input.DocumentIdList !== null && {
|
|
5067
|
+
})), (input.DocumentIdList != null && {
|
|
4677
5068
|
DocumentIdList: serializeAws_json1_1DocumentIdList(input.DocumentIdList, context),
|
|
4678
|
-
})), (input.IndexId
|
|
5069
|
+
})), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4679
5070
|
};
|
|
4680
5071
|
var serializeAws_json1_1BatchGetDocumentStatusRequest = function (input, context) {
|
|
4681
|
-
return __assign(__assign({}, (input.DocumentInfoList
|
|
4682
|
-
input.DocumentInfoList !== null && {
|
|
5072
|
+
return __assign(__assign({}, (input.DocumentInfoList != null && {
|
|
4683
5073
|
DocumentInfoList: serializeAws_json1_1DocumentInfoList(input.DocumentInfoList, context),
|
|
4684
|
-
})), (input.IndexId
|
|
5074
|
+
})), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4685
5075
|
};
|
|
4686
5076
|
var serializeAws_json1_1BatchPutDocumentRequest = function (input, context) {
|
|
4687
|
-
return __assign(__assign(__assign(__assign({}, (input.CustomDocumentEnrichmentConfiguration
|
|
4688
|
-
input.CustomDocumentEnrichmentConfiguration !== null && {
|
|
5077
|
+
return __assign(__assign(__assign(__assign({}, (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
4689
5078
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
4690
|
-
})), (input.Documents
|
|
4691
|
-
input.Documents !== null && { Documents: serializeAws_json1_1DocumentList(input.Documents, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
5079
|
+
})), (input.Documents != null && { Documents: serializeAws_json1_1DocumentList(input.Documents, context) })), (input.IndexId != null && { IndexId: input.IndexId })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
4692
5080
|
};
|
|
4693
5081
|
var serializeAws_json1_1BoxConfiguration = function (input, context) {
|
|
4694
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommentFieldMappings
|
|
4695
|
-
input.CommentFieldMappings !== null && {
|
|
5082
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommentFieldMappings != null && {
|
|
4696
5083
|
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
4697
|
-
})), (input.CrawlComments
|
|
4698
|
-
input.ExclusionPatterns !== null && {
|
|
5084
|
+
})), (input.CrawlComments != null && { CrawlComments: input.CrawlComments })), (input.CrawlTasks != null && { CrawlTasks: input.CrawlTasks })), (input.CrawlWebLinks != null && { CrawlWebLinks: input.CrawlWebLinks })), (input.EnterpriseId != null && { EnterpriseId: input.EnterpriseId })), (input.ExclusionPatterns != null && {
|
|
4699
5085
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4700
|
-
})), (input.FileFieldMappings
|
|
4701
|
-
input.FileFieldMappings !== null && {
|
|
5086
|
+
})), (input.FileFieldMappings != null && {
|
|
4702
5087
|
FileFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FileFieldMappings, context),
|
|
4703
|
-
})), (input.InclusionPatterns
|
|
4704
|
-
input.InclusionPatterns !== null && {
|
|
5088
|
+
})), (input.InclusionPatterns != null && {
|
|
4705
5089
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4706
|
-
})), (input.SecretArn
|
|
4707
|
-
input.TaskFieldMappings !== null && {
|
|
5090
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.TaskFieldMappings != null && {
|
|
4708
5091
|
TaskFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.TaskFieldMappings, context),
|
|
4709
|
-
})), (input.UseChangeLog
|
|
4710
|
-
input.VpcConfiguration !== null && {
|
|
5092
|
+
})), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
4711
5093
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4712
|
-
})), (input.WebLinkFieldMappings
|
|
4713
|
-
input.WebLinkFieldMappings !== null && {
|
|
5094
|
+
})), (input.WebLinkFieldMappings != null && {
|
|
4714
5095
|
WebLinkFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WebLinkFieldMappings, context),
|
|
4715
5096
|
}));
|
|
4716
5097
|
};
|
|
4717
5098
|
var serializeAws_json1_1CapacityUnitsConfiguration = function (input, context) {
|
|
4718
|
-
return __assign(__assign({}, (input.QueryCapacityUnits
|
|
4719
|
-
input.QueryCapacityUnits !== null && { QueryCapacityUnits: input.QueryCapacityUnits })), (input.StorageCapacityUnits !== undefined &&
|
|
4720
|
-
input.StorageCapacityUnits !== null && { StorageCapacityUnits: input.StorageCapacityUnits }));
|
|
5099
|
+
return __assign(__assign({}, (input.QueryCapacityUnits != null && { QueryCapacityUnits: input.QueryCapacityUnits })), (input.StorageCapacityUnits != null && { StorageCapacityUnits: input.StorageCapacityUnits }));
|
|
4721
5100
|
};
|
|
4722
5101
|
var serializeAws_json1_1ChangeDetectingColumns = function (input, context) {
|
|
4723
5102
|
return input
|
|
@@ -4730,11 +5109,10 @@ var serializeAws_json1_1ChangeDetectingColumns = function (input, context) {
|
|
|
4730
5109
|
});
|
|
4731
5110
|
};
|
|
4732
5111
|
var serializeAws_json1_1ClearQuerySuggestionsRequest = function (input, context) {
|
|
4733
|
-
return __assign({}, (input.IndexId
|
|
5112
|
+
return __assign({}, (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4734
5113
|
};
|
|
4735
5114
|
var serializeAws_json1_1ClickFeedback = function (input, context) {
|
|
4736
|
-
return __assign(__assign({}, (input.ClickTime
|
|
4737
|
-
input.ClickTime !== null && { ClickTime: Math.round(input.ClickTime.getTime() / 1000) })), (input.ResultId !== undefined && input.ResultId !== null && { ResultId: input.ResultId }));
|
|
5115
|
+
return __assign(__assign({}, (input.ClickTime != null && { ClickTime: Math.round(input.ClickTime.getTime() / 1000) })), (input.ResultId != null && { ResultId: input.ResultId }));
|
|
4738
5116
|
};
|
|
4739
5117
|
var serializeAws_json1_1ClickFeedbackList = function (input, context) {
|
|
4740
5118
|
return input
|
|
@@ -4747,23 +5125,16 @@ var serializeAws_json1_1ClickFeedbackList = function (input, context) {
|
|
|
4747
5125
|
});
|
|
4748
5126
|
};
|
|
4749
5127
|
var serializeAws_json1_1ColumnConfiguration = function (input, context) {
|
|
4750
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ChangeDetectingColumns
|
|
4751
|
-
input.ChangeDetectingColumns !== null && {
|
|
5128
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ChangeDetectingColumns != null && {
|
|
4752
5129
|
ChangeDetectingColumns: serializeAws_json1_1ChangeDetectingColumns(input.ChangeDetectingColumns, context),
|
|
4753
|
-
})), (input.DocumentDataColumnName
|
|
4754
|
-
input.DocumentDataColumnName !== null && { DocumentDataColumnName: input.DocumentDataColumnName })), (input.DocumentIdColumnName !== undefined &&
|
|
4755
|
-
input.DocumentIdColumnName !== null && { DocumentIdColumnName: input.DocumentIdColumnName })), (input.DocumentTitleColumnName !== undefined &&
|
|
4756
|
-
input.DocumentTitleColumnName !== null && { DocumentTitleColumnName: input.DocumentTitleColumnName })), (input.FieldMappings !== undefined &&
|
|
4757
|
-
input.FieldMappings !== null && {
|
|
5130
|
+
})), (input.DocumentDataColumnName != null && { DocumentDataColumnName: input.DocumentDataColumnName })), (input.DocumentIdColumnName != null && { DocumentIdColumnName: input.DocumentIdColumnName })), (input.DocumentTitleColumnName != null && { DocumentTitleColumnName: input.DocumentTitleColumnName })), (input.FieldMappings != null && {
|
|
4758
5131
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
4759
5132
|
}));
|
|
4760
5133
|
};
|
|
4761
5134
|
var serializeAws_json1_1ConfluenceAttachmentConfiguration = function (input, context) {
|
|
4762
|
-
return __assign(__assign({}, (input.AttachmentFieldMappings
|
|
4763
|
-
input.AttachmentFieldMappings !== null && {
|
|
5135
|
+
return __assign(__assign({}, (input.AttachmentFieldMappings != null && {
|
|
4764
5136
|
AttachmentFieldMappings: serializeAws_json1_1ConfluenceAttachmentFieldMappingsList(input.AttachmentFieldMappings, context),
|
|
4765
|
-
})), (input.CrawlAttachments
|
|
4766
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments }));
|
|
5137
|
+
})), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments }));
|
|
4767
5138
|
};
|
|
4768
5139
|
var serializeAws_json1_1ConfluenceAttachmentFieldMappingsList = function (input, context) {
|
|
4769
5140
|
return input
|
|
@@ -4776,14 +5147,10 @@ var serializeAws_json1_1ConfluenceAttachmentFieldMappingsList = function (input,
|
|
|
4776
5147
|
});
|
|
4777
5148
|
};
|
|
4778
5149
|
var serializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = function (input, context) {
|
|
4779
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4780
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4781
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4782
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
5150
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4783
5151
|
};
|
|
4784
5152
|
var serializeAws_json1_1ConfluenceBlogConfiguration = function (input, context) {
|
|
4785
|
-
return __assign({}, (input.BlogFieldMappings
|
|
4786
|
-
input.BlogFieldMappings !== null && {
|
|
5153
|
+
return __assign({}, (input.BlogFieldMappings != null && {
|
|
4787
5154
|
BlogFieldMappings: serializeAws_json1_1ConfluenceBlogFieldMappingsList(input.BlogFieldMappings, context),
|
|
4788
5155
|
}));
|
|
4789
5156
|
};
|
|
@@ -4798,38 +5165,27 @@ var serializeAws_json1_1ConfluenceBlogFieldMappingsList = function (input, conte
|
|
|
4798
5165
|
});
|
|
4799
5166
|
};
|
|
4800
5167
|
var serializeAws_json1_1ConfluenceBlogToIndexFieldMapping = function (input, context) {
|
|
4801
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4802
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4803
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4804
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
5168
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4805
5169
|
};
|
|
4806
5170
|
var serializeAws_json1_1ConfluenceConfiguration = function (input, context) {
|
|
4807
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentConfiguration
|
|
4808
|
-
input.AttachmentConfiguration !== null && {
|
|
5171
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentConfiguration != null && {
|
|
4809
5172
|
AttachmentConfiguration: serializeAws_json1_1ConfluenceAttachmentConfiguration(input.AttachmentConfiguration, context),
|
|
4810
|
-
})), (input.BlogConfiguration
|
|
4811
|
-
input.BlogConfiguration !== null && {
|
|
5173
|
+
})), (input.BlogConfiguration != null && {
|
|
4812
5174
|
BlogConfiguration: serializeAws_json1_1ConfluenceBlogConfiguration(input.BlogConfiguration, context),
|
|
4813
|
-
})), (input.ExclusionPatterns
|
|
4814
|
-
input.ExclusionPatterns !== null && {
|
|
5175
|
+
})), (input.ExclusionPatterns != null && {
|
|
4815
5176
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4816
|
-
})), (input.InclusionPatterns
|
|
4817
|
-
input.InclusionPatterns !== null && {
|
|
5177
|
+
})), (input.InclusionPatterns != null && {
|
|
4818
5178
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4819
|
-
})), (input.PageConfiguration
|
|
4820
|
-
input.PageConfiguration !== null && {
|
|
5179
|
+
})), (input.PageConfiguration != null && {
|
|
4821
5180
|
PageConfiguration: serializeAws_json1_1ConfluencePageConfiguration(input.PageConfiguration, context),
|
|
4822
|
-
})), (input.SecretArn
|
|
4823
|
-
input.SpaceConfiguration !== null && {
|
|
5181
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServerUrl != null && { ServerUrl: input.ServerUrl })), (input.SpaceConfiguration != null && {
|
|
4824
5182
|
SpaceConfiguration: serializeAws_json1_1ConfluenceSpaceConfiguration(input.SpaceConfiguration, context),
|
|
4825
|
-
})), (input.Version
|
|
4826
|
-
input.VpcConfiguration !== null && {
|
|
5183
|
+
})), (input.Version != null && { Version: input.Version })), (input.VpcConfiguration != null && {
|
|
4827
5184
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4828
5185
|
}));
|
|
4829
5186
|
};
|
|
4830
5187
|
var serializeAws_json1_1ConfluencePageConfiguration = function (input, context) {
|
|
4831
|
-
return __assign({}, (input.PageFieldMappings
|
|
4832
|
-
input.PageFieldMappings !== null && {
|
|
5188
|
+
return __assign({}, (input.PageFieldMappings != null && {
|
|
4833
5189
|
PageFieldMappings: serializeAws_json1_1ConfluencePageFieldMappingsList(input.PageFieldMappings, context),
|
|
4834
5190
|
}));
|
|
4835
5191
|
};
|
|
@@ -4844,22 +5200,14 @@ var serializeAws_json1_1ConfluencePageFieldMappingsList = function (input, conte
|
|
|
4844
5200
|
});
|
|
4845
5201
|
};
|
|
4846
5202
|
var serializeAws_json1_1ConfluencePageToIndexFieldMapping = function (input, context) {
|
|
4847
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4848
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4849
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4850
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
5203
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4851
5204
|
};
|
|
4852
5205
|
var serializeAws_json1_1ConfluenceSpaceConfiguration = function (input, context) {
|
|
4853
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CrawlArchivedSpaces
|
|
4854
|
-
input.CrawlArchivedSpaces !== null && { CrawlArchivedSpaces: input.CrawlArchivedSpaces })), (input.CrawlPersonalSpaces !== undefined &&
|
|
4855
|
-
input.CrawlPersonalSpaces !== null && { CrawlPersonalSpaces: input.CrawlPersonalSpaces })), (input.ExcludeSpaces !== undefined &&
|
|
4856
|
-
input.ExcludeSpaces !== null && {
|
|
5206
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CrawlArchivedSpaces != null && { CrawlArchivedSpaces: input.CrawlArchivedSpaces })), (input.CrawlPersonalSpaces != null && { CrawlPersonalSpaces: input.CrawlPersonalSpaces })), (input.ExcludeSpaces != null && {
|
|
4857
5207
|
ExcludeSpaces: serializeAws_json1_1ConfluenceSpaceList(input.ExcludeSpaces, context),
|
|
4858
|
-
})), (input.IncludeSpaces
|
|
4859
|
-
input.IncludeSpaces !== null && {
|
|
5208
|
+
})), (input.IncludeSpaces != null && {
|
|
4860
5209
|
IncludeSpaces: serializeAws_json1_1ConfluenceSpaceList(input.IncludeSpaces, context),
|
|
4861
|
-
})), (input.SpaceFieldMappings
|
|
4862
|
-
input.SpaceFieldMappings !== null && {
|
|
5210
|
+
})), (input.SpaceFieldMappings != null && {
|
|
4863
5211
|
SpaceFieldMappings: serializeAws_json1_1ConfluenceSpaceFieldMappingsList(input.SpaceFieldMappings, context),
|
|
4864
5212
|
}));
|
|
4865
5213
|
};
|
|
@@ -4884,155 +5232,121 @@ var serializeAws_json1_1ConfluenceSpaceList = function (input, context) {
|
|
|
4884
5232
|
});
|
|
4885
5233
|
};
|
|
4886
5234
|
var serializeAws_json1_1ConfluenceSpaceToIndexFieldMapping = function (input, context) {
|
|
4887
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4888
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4889
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4890
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
5235
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4891
5236
|
};
|
|
4892
5237
|
var serializeAws_json1_1ConnectionConfiguration = function (input, context) {
|
|
4893
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseHost
|
|
5238
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseHost != null && { DatabaseHost: input.DatabaseHost })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.DatabasePort != null && { DatabasePort: input.DatabasePort })), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.TableName != null && { TableName: input.TableName }));
|
|
4894
5239
|
};
|
|
4895
5240
|
var serializeAws_json1_1ContentSourceConfiguration = function (input, context) {
|
|
4896
|
-
return __assign(__assign(__assign({}, (input.DataSourceIds
|
|
4897
|
-
input.DataSourceIds !== null && {
|
|
5241
|
+
return __assign(__assign(__assign({}, (input.DataSourceIds != null && {
|
|
4898
5242
|
DataSourceIds: serializeAws_json1_1DataSourceIdList(input.DataSourceIds, context),
|
|
4899
|
-
})), (input.DirectPutContent
|
|
4900
|
-
|
|
4901
|
-
|
|
5243
|
+
})), (input.DirectPutContent != null && { DirectPutContent: input.DirectPutContent })), (input.FaqIds != null && { FaqIds: serializeAws_json1_1FaqIdsList(input.FaqIds, context) }));
|
|
5244
|
+
};
|
|
5245
|
+
var serializeAws_json1_1CreateAccessControlConfigurationRequest = function (input, context) {
|
|
5246
|
+
var _a;
|
|
5247
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList != null && {
|
|
5248
|
+
AccessControlList: serializeAws_json1_1PrincipalList(input.AccessControlList, context),
|
|
5249
|
+
})), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Description != null && { Description: input.Description })), (input.HierarchicalAccessControlList != null && {
|
|
5250
|
+
HierarchicalAccessControlList: serializeAws_json1_1HierarchicalPrincipalList(input.HierarchicalAccessControlList, context),
|
|
5251
|
+
})), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name }));
|
|
4902
5252
|
};
|
|
4903
5253
|
var serializeAws_json1_1CreateDataSourceRequest = function (input, context) {
|
|
4904
5254
|
var _a;
|
|
4905
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration
|
|
4906
|
-
input.Configuration !== null && {
|
|
5255
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration != null && {
|
|
4907
5256
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
4908
|
-
})), (input.CustomDocumentEnrichmentConfiguration
|
|
4909
|
-
input.CustomDocumentEnrichmentConfiguration !== null && {
|
|
5257
|
+
})), (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
4910
5258
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
4911
|
-
})), (input.Description
|
|
5259
|
+
})), (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Schedule != null && { Schedule: input.Schedule })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
4912
5260
|
};
|
|
4913
5261
|
var serializeAws_json1_1CreateExperienceRequest = function (input, context) {
|
|
4914
5262
|
var _a;
|
|
4915
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration
|
|
4916
|
-
input.Configuration !== null && {
|
|
5263
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration != null && {
|
|
4917
5264
|
Configuration: serializeAws_json1_1ExperienceConfiguration(input.Configuration, context),
|
|
4918
|
-
})), (input.Description
|
|
5265
|
+
})), (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
4919
5266
|
};
|
|
4920
5267
|
var serializeAws_json1_1CreateFaqRequest = function (input, context) {
|
|
4921
5268
|
var _a;
|
|
4922
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4923
|
-
input.S3Path !== null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5269
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.FileFormat != null && { FileFormat: input.FileFormat })), (input.IndexId != null && { IndexId: input.IndexId })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.S3Path != null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4924
5270
|
};
|
|
4925
5271
|
var serializeAws_json1_1CreateIndexRequest = function (input, context) {
|
|
4926
5272
|
var _a;
|
|
4927
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4928
|
-
input.ServerSideEncryptionConfiguration !== null && {
|
|
5273
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.Edition != null && { Edition: input.Edition })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.ServerSideEncryptionConfiguration != null && {
|
|
4929
5274
|
ServerSideEncryptionConfiguration: serializeAws_json1_1ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context),
|
|
4930
|
-
})), (input.Tags
|
|
4931
|
-
input.UserContextPolicy !== null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration !== undefined &&
|
|
4932
|
-
input.UserGroupResolutionConfiguration !== null && {
|
|
5275
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.UserContextPolicy != null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration != null && {
|
|
4933
5276
|
UserGroupResolutionConfiguration: serializeAws_json1_1UserGroupResolutionConfiguration(input.UserGroupResolutionConfiguration, context),
|
|
4934
|
-
})), (input.UserTokenConfigurations
|
|
4935
|
-
input.UserTokenConfigurations !== null && {
|
|
5277
|
+
})), (input.UserTokenConfigurations != null && {
|
|
4936
5278
|
UserTokenConfigurations: serializeAws_json1_1UserTokenConfigurationList(input.UserTokenConfigurations, context),
|
|
4937
5279
|
}));
|
|
4938
5280
|
};
|
|
4939
5281
|
var serializeAws_json1_1CreateQuerySuggestionsBlockListRequest = function (input, context) {
|
|
4940
5282
|
var _a;
|
|
4941
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4942
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5283
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4943
5284
|
};
|
|
4944
5285
|
var serializeAws_json1_1CreateThesaurusRequest = function (input, context) {
|
|
4945
5286
|
var _a;
|
|
4946
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4947
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5287
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4948
5288
|
};
|
|
4949
5289
|
var serializeAws_json1_1CustomDocumentEnrichmentConfiguration = function (input, context) {
|
|
4950
|
-
return __assign(__assign(__assign(__assign({}, (input.InlineConfigurations
|
|
4951
|
-
input.InlineConfigurations !== null && {
|
|
5290
|
+
return __assign(__assign(__assign(__assign({}, (input.InlineConfigurations != null && {
|
|
4952
5291
|
InlineConfigurations: serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList(input.InlineConfigurations, context),
|
|
4953
|
-
})), (input.PostExtractionHookConfiguration
|
|
4954
|
-
input.PostExtractionHookConfiguration !== null && {
|
|
5292
|
+
})), (input.PostExtractionHookConfiguration != null && {
|
|
4955
5293
|
PostExtractionHookConfiguration: serializeAws_json1_1HookConfiguration(input.PostExtractionHookConfiguration, context),
|
|
4956
|
-
})), (input.PreExtractionHookConfiguration
|
|
4957
|
-
input.PreExtractionHookConfiguration !== null && {
|
|
5294
|
+
})), (input.PreExtractionHookConfiguration != null && {
|
|
4958
5295
|
PreExtractionHookConfiguration: serializeAws_json1_1HookConfiguration(input.PreExtractionHookConfiguration, context),
|
|
4959
|
-
})), (input.RoleArn
|
|
5296
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
4960
5297
|
};
|
|
4961
5298
|
var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
4962
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AclConfiguration
|
|
4963
|
-
input.AclConfiguration !== null && {
|
|
5299
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AclConfiguration != null && {
|
|
4964
5300
|
AclConfiguration: serializeAws_json1_1AclConfiguration(input.AclConfiguration, context),
|
|
4965
|
-
})), (input.ColumnConfiguration
|
|
4966
|
-
input.ColumnConfiguration !== null && {
|
|
5301
|
+
})), (input.ColumnConfiguration != null && {
|
|
4967
5302
|
ColumnConfiguration: serializeAws_json1_1ColumnConfiguration(input.ColumnConfiguration, context),
|
|
4968
|
-
})), (input.ConnectionConfiguration
|
|
4969
|
-
input.ConnectionConfiguration !== null && {
|
|
5303
|
+
})), (input.ConnectionConfiguration != null && {
|
|
4970
5304
|
ConnectionConfiguration: serializeAws_json1_1ConnectionConfiguration(input.ConnectionConfiguration, context),
|
|
4971
|
-
})), (input.DatabaseEngineType
|
|
4972
|
-
input.DatabaseEngineType !== null && { DatabaseEngineType: input.DatabaseEngineType })), (input.SqlConfiguration !== undefined &&
|
|
4973
|
-
input.SqlConfiguration !== null && {
|
|
5305
|
+
})), (input.DatabaseEngineType != null && { DatabaseEngineType: input.DatabaseEngineType })), (input.SqlConfiguration != null && {
|
|
4974
5306
|
SqlConfiguration: serializeAws_json1_1SqlConfiguration(input.SqlConfiguration, context),
|
|
4975
|
-
})), (input.VpcConfiguration
|
|
4976
|
-
input.VpcConfiguration !== null && {
|
|
5307
|
+
})), (input.VpcConfiguration != null && {
|
|
4977
5308
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4978
5309
|
}));
|
|
4979
5310
|
};
|
|
4980
5311
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
4981
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlfrescoConfiguration
|
|
4982
|
-
input.AlfrescoConfiguration !== null && {
|
|
5312
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlfrescoConfiguration != null && {
|
|
4983
5313
|
AlfrescoConfiguration: serializeAws_json1_1AlfrescoConfiguration(input.AlfrescoConfiguration, context),
|
|
4984
|
-
})), (input.BoxConfiguration
|
|
4985
|
-
input.BoxConfiguration !== null && {
|
|
5314
|
+
})), (input.BoxConfiguration != null && {
|
|
4986
5315
|
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
4987
|
-
})), (input.ConfluenceConfiguration
|
|
4988
|
-
input.ConfluenceConfiguration !== null && {
|
|
5316
|
+
})), (input.ConfluenceConfiguration != null && {
|
|
4989
5317
|
ConfluenceConfiguration: serializeAws_json1_1ConfluenceConfiguration(input.ConfluenceConfiguration, context),
|
|
4990
|
-
})), (input.DatabaseConfiguration
|
|
4991
|
-
input.DatabaseConfiguration !== null && {
|
|
5318
|
+
})), (input.DatabaseConfiguration != null && {
|
|
4992
5319
|
DatabaseConfiguration: serializeAws_json1_1DatabaseConfiguration(input.DatabaseConfiguration, context),
|
|
4993
|
-
})), (input.FsxConfiguration
|
|
4994
|
-
input.FsxConfiguration !== null && {
|
|
5320
|
+
})), (input.FsxConfiguration != null && {
|
|
4995
5321
|
FsxConfiguration: serializeAws_json1_1FsxConfiguration(input.FsxConfiguration, context),
|
|
4996
|
-
})), (input.GitHubConfiguration
|
|
4997
|
-
input.GitHubConfiguration !== null && {
|
|
5322
|
+
})), (input.GitHubConfiguration != null && {
|
|
4998
5323
|
GitHubConfiguration: serializeAws_json1_1GitHubConfiguration(input.GitHubConfiguration, context),
|
|
4999
|
-
})), (input.GoogleDriveConfiguration
|
|
5000
|
-
input.GoogleDriveConfiguration !== null && {
|
|
5324
|
+
})), (input.GoogleDriveConfiguration != null && {
|
|
5001
5325
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
5002
|
-
})), (input.JiraConfiguration
|
|
5003
|
-
input.JiraConfiguration !== null && {
|
|
5326
|
+
})), (input.JiraConfiguration != null && {
|
|
5004
5327
|
JiraConfiguration: serializeAws_json1_1JiraConfiguration(input.JiraConfiguration, context),
|
|
5005
|
-
})), (input.OneDriveConfiguration
|
|
5006
|
-
input.OneDriveConfiguration !== null && {
|
|
5328
|
+
})), (input.OneDriveConfiguration != null && {
|
|
5007
5329
|
OneDriveConfiguration: serializeAws_json1_1OneDriveConfiguration(input.OneDriveConfiguration, context),
|
|
5008
|
-
})), (input.QuipConfiguration
|
|
5009
|
-
input.QuipConfiguration !== null && {
|
|
5330
|
+
})), (input.QuipConfiguration != null && {
|
|
5010
5331
|
QuipConfiguration: serializeAws_json1_1QuipConfiguration(input.QuipConfiguration, context),
|
|
5011
|
-
})), (input.S3Configuration
|
|
5012
|
-
input.S3Configuration !== null && {
|
|
5332
|
+
})), (input.S3Configuration != null && {
|
|
5013
5333
|
S3Configuration: serializeAws_json1_1S3DataSourceConfiguration(input.S3Configuration, context),
|
|
5014
|
-
})), (input.SalesforceConfiguration
|
|
5015
|
-
input.SalesforceConfiguration !== null && {
|
|
5334
|
+
})), (input.SalesforceConfiguration != null && {
|
|
5016
5335
|
SalesforceConfiguration: serializeAws_json1_1SalesforceConfiguration(input.SalesforceConfiguration, context),
|
|
5017
|
-
})), (input.ServiceNowConfiguration
|
|
5018
|
-
input.ServiceNowConfiguration !== null && {
|
|
5336
|
+
})), (input.ServiceNowConfiguration != null && {
|
|
5019
5337
|
ServiceNowConfiguration: serializeAws_json1_1ServiceNowConfiguration(input.ServiceNowConfiguration, context),
|
|
5020
|
-
})), (input.SharePointConfiguration
|
|
5021
|
-
input.SharePointConfiguration !== null && {
|
|
5338
|
+
})), (input.SharePointConfiguration != null && {
|
|
5022
5339
|
SharePointConfiguration: serializeAws_json1_1SharePointConfiguration(input.SharePointConfiguration, context),
|
|
5023
|
-
})), (input.SlackConfiguration
|
|
5024
|
-
input.SlackConfiguration !== null && {
|
|
5340
|
+
})), (input.SlackConfiguration != null && {
|
|
5025
5341
|
SlackConfiguration: serializeAws_json1_1SlackConfiguration(input.SlackConfiguration, context),
|
|
5026
|
-
})), (input.WebCrawlerConfiguration
|
|
5027
|
-
input.WebCrawlerConfiguration !== null && {
|
|
5342
|
+
})), (input.WebCrawlerConfiguration != null && {
|
|
5028
5343
|
WebCrawlerConfiguration: serializeAws_json1_1WebCrawlerConfiguration(input.WebCrawlerConfiguration, context),
|
|
5029
|
-
})), (input.WorkDocsConfiguration
|
|
5030
|
-
input.WorkDocsConfiguration !== null && {
|
|
5344
|
+
})), (input.WorkDocsConfiguration != null && {
|
|
5031
5345
|
WorkDocsConfiguration: serializeAws_json1_1WorkDocsConfiguration(input.WorkDocsConfiguration, context),
|
|
5032
5346
|
}));
|
|
5033
5347
|
};
|
|
5034
5348
|
var serializeAws_json1_1DataSourceGroup = function (input, context) {
|
|
5035
|
-
return __assign(__assign({}, (input.DataSourceId
|
|
5349
|
+
return __assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId }));
|
|
5036
5350
|
};
|
|
5037
5351
|
var serializeAws_json1_1DataSourceGroups = function (input, context) {
|
|
5038
5352
|
return input
|
|
@@ -5065,14 +5379,10 @@ var serializeAws_json1_1DataSourceInclusionsExclusionsStrings = function (input,
|
|
|
5065
5379
|
});
|
|
5066
5380
|
};
|
|
5067
5381
|
var serializeAws_json1_1DataSourceSyncJobMetricTarget = function (input, context) {
|
|
5068
|
-
return __assign(__assign({}, (input.DataSourceId
|
|
5069
|
-
input.DataSourceSyncJobId !== null && { DataSourceSyncJobId: input.DataSourceSyncJobId }));
|
|
5382
|
+
return __assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.DataSourceSyncJobId != null && { DataSourceSyncJobId: input.DataSourceSyncJobId }));
|
|
5070
5383
|
};
|
|
5071
5384
|
var serializeAws_json1_1DataSourceToIndexFieldMapping = function (input, context) {
|
|
5072
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
5073
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
5074
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
5075
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
5385
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
5076
5386
|
};
|
|
5077
5387
|
var serializeAws_json1_1DataSourceToIndexFieldMappingList = function (input, context) {
|
|
5078
5388
|
return input
|
|
@@ -5085,62 +5395,65 @@ var serializeAws_json1_1DataSourceToIndexFieldMappingList = function (input, con
|
|
|
5085
5395
|
});
|
|
5086
5396
|
};
|
|
5087
5397
|
var serializeAws_json1_1DataSourceVpcConfiguration = function (input, context) {
|
|
5088
|
-
return __assign(__assign({}, (input.SecurityGroupIds
|
|
5089
|
-
input.SecurityGroupIds !== null && {
|
|
5398
|
+
return __assign(__assign({}, (input.SecurityGroupIds != null && {
|
|
5090
5399
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
5091
|
-
})), (input.SubnetIds
|
|
5092
|
-
|
|
5400
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
5401
|
+
};
|
|
5402
|
+
var serializeAws_json1_1DeleteAccessControlConfigurationRequest = function (input, context) {
|
|
5403
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5093
5404
|
};
|
|
5094
5405
|
var serializeAws_json1_1DeleteDataSourceRequest = function (input, context) {
|
|
5095
|
-
return __assign(__assign({}, (input.Id
|
|
5406
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5096
5407
|
};
|
|
5097
5408
|
var serializeAws_json1_1DeleteExperienceRequest = function (input, context) {
|
|
5098
|
-
return __assign(__assign({}, (input.Id
|
|
5409
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5099
5410
|
};
|
|
5100
5411
|
var serializeAws_json1_1DeleteFaqRequest = function (input, context) {
|
|
5101
|
-
return __assign(__assign({}, (input.Id
|
|
5412
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5102
5413
|
};
|
|
5103
5414
|
var serializeAws_json1_1DeleteIndexRequest = function (input, context) {
|
|
5104
|
-
return __assign({}, (input.Id
|
|
5415
|
+
return __assign({}, (input.Id != null && { Id: input.Id }));
|
|
5105
5416
|
};
|
|
5106
5417
|
var serializeAws_json1_1DeletePrincipalMappingRequest = function (input, context) {
|
|
5107
|
-
return __assign(__assign(__assign(__assign({}, (input.DataSourceId
|
|
5418
|
+
return __assign(__assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId })), (input.IndexId != null && { IndexId: input.IndexId })), (input.OrderingId != null && { OrderingId: input.OrderingId }));
|
|
5108
5419
|
};
|
|
5109
5420
|
var serializeAws_json1_1DeleteQuerySuggestionsBlockListRequest = function (input, context) {
|
|
5110
|
-
return __assign(__assign({}, (input.Id
|
|
5421
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5111
5422
|
};
|
|
5112
5423
|
var serializeAws_json1_1DeleteThesaurusRequest = function (input, context) {
|
|
5113
|
-
return __assign(__assign({}, (input.Id
|
|
5424
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5425
|
+
};
|
|
5426
|
+
var serializeAws_json1_1DescribeAccessControlConfigurationRequest = function (input, context) {
|
|
5427
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5114
5428
|
};
|
|
5115
5429
|
var serializeAws_json1_1DescribeDataSourceRequest = function (input, context) {
|
|
5116
|
-
return __assign(__assign({}, (input.Id
|
|
5430
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5117
5431
|
};
|
|
5118
5432
|
var serializeAws_json1_1DescribeExperienceRequest = function (input, context) {
|
|
5119
|
-
return __assign(__assign({}, (input.Id
|
|
5433
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5120
5434
|
};
|
|
5121
5435
|
var serializeAws_json1_1DescribeFaqRequest = function (input, context) {
|
|
5122
|
-
return __assign(__assign({}, (input.Id
|
|
5436
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5123
5437
|
};
|
|
5124
5438
|
var serializeAws_json1_1DescribeIndexRequest = function (input, context) {
|
|
5125
|
-
return __assign({}, (input.Id
|
|
5439
|
+
return __assign({}, (input.Id != null && { Id: input.Id }));
|
|
5126
5440
|
};
|
|
5127
5441
|
var serializeAws_json1_1DescribePrincipalMappingRequest = function (input, context) {
|
|
5128
|
-
return __assign(__assign(__assign({}, (input.DataSourceId
|
|
5442
|
+
return __assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5129
5443
|
};
|
|
5130
5444
|
var serializeAws_json1_1DescribeQuerySuggestionsBlockListRequest = function (input, context) {
|
|
5131
|
-
return __assign(__assign({}, (input.Id
|
|
5445
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5132
5446
|
};
|
|
5133
5447
|
var serializeAws_json1_1DescribeQuerySuggestionsConfigRequest = function (input, context) {
|
|
5134
|
-
return __assign({}, (input.IndexId
|
|
5448
|
+
return __assign({}, (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5135
5449
|
};
|
|
5136
5450
|
var serializeAws_json1_1DescribeThesaurusRequest = function (input, context) {
|
|
5137
|
-
return __assign(__assign({}, (input.Id
|
|
5451
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5138
5452
|
};
|
|
5139
5453
|
var serializeAws_json1_1DisassociateEntitiesFromExperienceRequest = function (input, context) {
|
|
5140
|
-
return __assign(__assign(__assign({}, (input.EntityList
|
|
5141
|
-
input.EntityList !== null && {
|
|
5454
|
+
return __assign(__assign(__assign({}, (input.EntityList != null && {
|
|
5142
5455
|
EntityList: serializeAws_json1_1DisassociateEntityList(input.EntityList, context),
|
|
5143
|
-
})), (input.Id
|
|
5456
|
+
})), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5144
5457
|
};
|
|
5145
5458
|
var serializeAws_json1_1DisassociateEntityList = function (input, context) {
|
|
5146
5459
|
return input
|
|
@@ -5153,34 +5466,28 @@ var serializeAws_json1_1DisassociateEntityList = function (input, context) {
|
|
|
5153
5466
|
});
|
|
5154
5467
|
};
|
|
5155
5468
|
var serializeAws_json1_1DisassociatePersonasFromEntitiesRequest = function (input, context) {
|
|
5156
|
-
return __assign(__assign(__assign({}, (input.EntityIds
|
|
5157
|
-
input.EntityIds !== null && { EntityIds: serializeAws_json1_1EntityIdsList(input.EntityIds, context) })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }));
|
|
5469
|
+
return __assign(__assign(__assign({}, (input.EntityIds != null && { EntityIds: serializeAws_json1_1EntityIdsList(input.EntityIds, context) })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5158
5470
|
};
|
|
5159
5471
|
var serializeAws_json1_1Document = function (input, context) {
|
|
5160
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
5161
|
-
input.
|
|
5472
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlConfigurationId != null && {
|
|
5473
|
+
AccessControlConfigurationId: input.AccessControlConfigurationId,
|
|
5474
|
+
})), (input.AccessControlList != null && {
|
|
5162
5475
|
AccessControlList: serializeAws_json1_1PrincipalList(input.AccessControlList, context),
|
|
5163
|
-
})), (input.Attributes
|
|
5164
|
-
input.Attributes !== null && {
|
|
5476
|
+
})), (input.Attributes != null && {
|
|
5165
5477
|
Attributes: serializeAws_json1_1DocumentAttributeList(input.Attributes, context),
|
|
5166
|
-
})), (input.Blob
|
|
5167
|
-
input.HierarchicalAccessControlList !== null && {
|
|
5478
|
+
})), (input.Blob != null && { Blob: context.base64Encoder(input.Blob) })), (input.ContentType != null && { ContentType: input.ContentType })), (input.HierarchicalAccessControlList != null && {
|
|
5168
5479
|
HierarchicalAccessControlList: serializeAws_json1_1HierarchicalPrincipalList(input.HierarchicalAccessControlList, context),
|
|
5169
|
-
})), (input.Id
|
|
5170
|
-
input.S3Path !== null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Title !== undefined && input.Title !== null && { Title: input.Title }));
|
|
5480
|
+
})), (input.Id != null && { Id: input.Id })), (input.S3Path != null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Title != null && { Title: input.Title }));
|
|
5171
5481
|
};
|
|
5172
5482
|
var serializeAws_json1_1DocumentAttribute = function (input, context) {
|
|
5173
|
-
return __assign(__assign({}, (input.Key
|
|
5174
|
-
input.Value !== null && { Value: serializeAws_json1_1DocumentAttributeValue(input.Value, context) }));
|
|
5483
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: serializeAws_json1_1DocumentAttributeValue(input.Value, context) }));
|
|
5175
5484
|
};
|
|
5176
5485
|
var serializeAws_json1_1DocumentAttributeCondition = function (input, context) {
|
|
5177
|
-
return __assign(__assign(__assign({}, (input.ConditionDocumentAttributeKey
|
|
5178
|
-
input.ConditionDocumentAttributeKey !== null && {
|
|
5486
|
+
return __assign(__assign(__assign({}, (input.ConditionDocumentAttributeKey != null && {
|
|
5179
5487
|
ConditionDocumentAttributeKey: input.ConditionDocumentAttributeKey,
|
|
5180
|
-
})), (input.ConditionOnValue
|
|
5181
|
-
input.ConditionOnValue !== null && {
|
|
5488
|
+
})), (input.ConditionOnValue != null && {
|
|
5182
5489
|
ConditionOnValue: serializeAws_json1_1DocumentAttributeValue(input.ConditionOnValue, context),
|
|
5183
|
-
})), (input.Operator
|
|
5490
|
+
})), (input.Operator != null && { Operator: input.Operator }));
|
|
5184
5491
|
};
|
|
5185
5492
|
var serializeAws_json1_1DocumentAttributeKeyList = function (input, context) {
|
|
5186
5493
|
return input
|
|
@@ -5213,21 +5520,16 @@ var serializeAws_json1_1DocumentAttributeStringListValue = function (input, cont
|
|
|
5213
5520
|
});
|
|
5214
5521
|
};
|
|
5215
5522
|
var serializeAws_json1_1DocumentAttributeTarget = function (input, context) {
|
|
5216
|
-
return __assign(__assign(__assign({}, (input.TargetDocumentAttributeKey
|
|
5217
|
-
input.TargetDocumentAttributeKey !== null && { TargetDocumentAttributeKey: input.TargetDocumentAttributeKey })), (input.TargetDocumentAttributeValue !== undefined &&
|
|
5218
|
-
input.TargetDocumentAttributeValue !== null && {
|
|
5523
|
+
return __assign(__assign(__assign({}, (input.TargetDocumentAttributeKey != null && { TargetDocumentAttributeKey: input.TargetDocumentAttributeKey })), (input.TargetDocumentAttributeValue != null && {
|
|
5219
5524
|
TargetDocumentAttributeValue: serializeAws_json1_1DocumentAttributeValue(input.TargetDocumentAttributeValue, context),
|
|
5220
|
-
})), (input.TargetDocumentAttributeValueDeletion
|
|
5221
|
-
input.TargetDocumentAttributeValueDeletion !== null && {
|
|
5525
|
+
})), (input.TargetDocumentAttributeValueDeletion != null && {
|
|
5222
5526
|
TargetDocumentAttributeValueDeletion: input.TargetDocumentAttributeValueDeletion,
|
|
5223
5527
|
}));
|
|
5224
5528
|
};
|
|
5225
5529
|
var serializeAws_json1_1DocumentAttributeValue = function (input, context) {
|
|
5226
|
-
return __assign(__assign(__assign(__assign({}, (input.DateValue
|
|
5227
|
-
input.DateValue !== null && { DateValue: Math.round(input.DateValue.getTime() / 1000) })), (input.LongValue !== undefined && input.LongValue !== null && { LongValue: input.LongValue })), (input.StringListValue !== undefined &&
|
|
5228
|
-
input.StringListValue !== null && {
|
|
5530
|
+
return __assign(__assign(__assign(__assign({}, (input.DateValue != null && { DateValue: Math.round(input.DateValue.getTime() / 1000) })), (input.LongValue != null && { LongValue: input.LongValue })), (input.StringListValue != null && {
|
|
5229
5531
|
StringListValue: serializeAws_json1_1DocumentAttributeStringListValue(input.StringListValue, context),
|
|
5230
|
-
})), (input.StringValue
|
|
5532
|
+
})), (input.StringValue != null && { StringValue: input.StringValue }));
|
|
5231
5533
|
};
|
|
5232
5534
|
var serializeAws_json1_1DocumentIdList = function (input, context) {
|
|
5233
5535
|
return input
|
|
@@ -5240,10 +5542,9 @@ var serializeAws_json1_1DocumentIdList = function (input, context) {
|
|
|
5240
5542
|
});
|
|
5241
5543
|
};
|
|
5242
5544
|
var serializeAws_json1_1DocumentInfo = function (input, context) {
|
|
5243
|
-
return __assign(__assign({}, (input.Attributes
|
|
5244
|
-
input.Attributes !== null && {
|
|
5545
|
+
return __assign(__assign({}, (input.Attributes != null && {
|
|
5245
5546
|
Attributes: serializeAws_json1_1DocumentAttributeList(input.Attributes, context),
|
|
5246
|
-
})), (input.DocumentId
|
|
5547
|
+
})), (input.DocumentId != null && { DocumentId: input.DocumentId }));
|
|
5247
5548
|
};
|
|
5248
5549
|
var serializeAws_json1_1DocumentInfoList = function (input, context) {
|
|
5249
5550
|
return input
|
|
@@ -5266,9 +5567,7 @@ var serializeAws_json1_1DocumentList = function (input, context) {
|
|
|
5266
5567
|
});
|
|
5267
5568
|
};
|
|
5268
5569
|
var serializeAws_json1_1DocumentMetadataConfiguration = function (input, context) {
|
|
5269
|
-
return __assign(__assign(__assign(__assign({}, (input.Name
|
|
5270
|
-
input.Relevance !== null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) })), (input.Search !== undefined &&
|
|
5271
|
-
input.Search !== null && { Search: serializeAws_json1_1Search(input.Search, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
5570
|
+
return __assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Relevance != null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) })), (input.Search != null && { Search: serializeAws_json1_1Search(input.Search, context) })), (input.Type != null && { Type: input.Type }));
|
|
5272
5571
|
};
|
|
5273
5572
|
var serializeAws_json1_1DocumentMetadataConfigurationList = function (input, context) {
|
|
5274
5573
|
return input
|
|
@@ -5281,8 +5580,7 @@ var serializeAws_json1_1DocumentMetadataConfigurationList = function (input, con
|
|
|
5281
5580
|
});
|
|
5282
5581
|
};
|
|
5283
5582
|
var serializeAws_json1_1DocumentRelevanceConfiguration = function (input, context) {
|
|
5284
|
-
return __assign(__assign({}, (input.Name
|
|
5285
|
-
input.Relevance !== null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) }));
|
|
5583
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Relevance != null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) }));
|
|
5286
5584
|
};
|
|
5287
5585
|
var serializeAws_json1_1DocumentRelevanceOverrideConfigurationList = function (input, context) {
|
|
5288
5586
|
return input
|
|
@@ -5295,10 +5593,10 @@ var serializeAws_json1_1DocumentRelevanceOverrideConfigurationList = function (i
|
|
|
5295
5593
|
});
|
|
5296
5594
|
};
|
|
5297
5595
|
var serializeAws_json1_1DocumentsMetadataConfiguration = function (input, context) {
|
|
5298
|
-
return __assign({}, (input.S3Prefix
|
|
5596
|
+
return __assign({}, (input.S3Prefix != null && { S3Prefix: input.S3Prefix }));
|
|
5299
5597
|
};
|
|
5300
5598
|
var serializeAws_json1_1EntityConfiguration = function (input, context) {
|
|
5301
|
-
return __assign(__assign({}, (input.EntityId
|
|
5599
|
+
return __assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.EntityType != null && { EntityType: input.EntityType }));
|
|
5302
5600
|
};
|
|
5303
5601
|
var serializeAws_json1_1EntityFilter = function (input, context) {
|
|
5304
5602
|
return input
|
|
@@ -5321,7 +5619,7 @@ var serializeAws_json1_1EntityIdsList = function (input, context) {
|
|
|
5321
5619
|
});
|
|
5322
5620
|
};
|
|
5323
5621
|
var serializeAws_json1_1EntityPersonaConfiguration = function (input, context) {
|
|
5324
|
-
return __assign(__assign({}, (input.EntityId
|
|
5622
|
+
return __assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.Persona != null && { Persona: input.Persona }));
|
|
5325
5623
|
};
|
|
5326
5624
|
var serializeAws_json1_1EntityPersonaConfigurationList = function (input, context) {
|
|
5327
5625
|
return input
|
|
@@ -5364,18 +5662,14 @@ var serializeAws_json1_1ExcludeUserAccountsList = function (input, context) {
|
|
|
5364
5662
|
});
|
|
5365
5663
|
};
|
|
5366
5664
|
var serializeAws_json1_1ExperienceConfiguration = function (input, context) {
|
|
5367
|
-
return __assign(__assign({}, (input.ContentSourceConfiguration
|
|
5368
|
-
input.ContentSourceConfiguration !== null && {
|
|
5665
|
+
return __assign(__assign({}, (input.ContentSourceConfiguration != null && {
|
|
5369
5666
|
ContentSourceConfiguration: serializeAws_json1_1ContentSourceConfiguration(input.ContentSourceConfiguration, context),
|
|
5370
|
-
})), (input.UserIdentityConfiguration
|
|
5371
|
-
input.UserIdentityConfiguration !== null && {
|
|
5667
|
+
})), (input.UserIdentityConfiguration != null && {
|
|
5372
5668
|
UserIdentityConfiguration: serializeAws_json1_1UserIdentityConfiguration(input.UserIdentityConfiguration, context),
|
|
5373
5669
|
}));
|
|
5374
5670
|
};
|
|
5375
5671
|
var serializeAws_json1_1Facet = function (input, context) {
|
|
5376
|
-
return __assign(__assign(__assign({}, (input.DocumentAttributeKey
|
|
5377
|
-
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.Facets !== undefined &&
|
|
5378
|
-
input.Facets !== null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }));
|
|
5672
|
+
return __assign(__assign(__assign({}, (input.DocumentAttributeKey != null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.Facets != null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults }));
|
|
5379
5673
|
};
|
|
5380
5674
|
var serializeAws_json1_1FacetList = function (input, context) {
|
|
5381
5675
|
return input
|
|
@@ -5408,125 +5702,87 @@ var serializeAws_json1_1FolderIdList = function (input, context) {
|
|
|
5408
5702
|
});
|
|
5409
5703
|
};
|
|
5410
5704
|
var serializeAws_json1_1FsxConfiguration = function (input, context) {
|
|
5411
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionPatterns
|
|
5412
|
-
input.ExclusionPatterns !== null && {
|
|
5705
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionPatterns != null && {
|
|
5413
5706
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5414
|
-
})), (input.FieldMappings
|
|
5415
|
-
input.FieldMappings !== null && {
|
|
5707
|
+
})), (input.FieldMappings != null && {
|
|
5416
5708
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5417
|
-
})), (input.FileSystemId
|
|
5418
|
-
input.FileSystemType !== null && { FileSystemType: input.FileSystemType })), (input.InclusionPatterns !== undefined &&
|
|
5419
|
-
input.InclusionPatterns !== null && {
|
|
5709
|
+
})), (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.FileSystemType != null && { FileSystemType: input.FileSystemType })), (input.InclusionPatterns != null && {
|
|
5420
5710
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5421
|
-
})), (input.SecretArn
|
|
5422
|
-
input.VpcConfiguration !== null && {
|
|
5711
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.VpcConfiguration != null && {
|
|
5423
5712
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5424
5713
|
}));
|
|
5425
5714
|
};
|
|
5426
5715
|
var serializeAws_json1_1GetQuerySuggestionsRequest = function (input, context) {
|
|
5427
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5428
|
-
input.MaxSuggestionsCount !== null && { MaxSuggestionsCount: input.MaxSuggestionsCount })), (input.QueryText !== undefined && input.QueryText !== null && { QueryText: input.QueryText }));
|
|
5716
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxSuggestionsCount != null && { MaxSuggestionsCount: input.MaxSuggestionsCount })), (input.QueryText != null && { QueryText: input.QueryText }));
|
|
5429
5717
|
};
|
|
5430
5718
|
var serializeAws_json1_1GetSnapshotsRequest = function (input, context) {
|
|
5431
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.IndexId
|
|
5719
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.Interval != null && { Interval: input.Interval })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.MetricType != null && { MetricType: input.MetricType })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5432
5720
|
};
|
|
5433
5721
|
var serializeAws_json1_1GitHubConfiguration = function (input, context) {
|
|
5434
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionFileNamePatterns
|
|
5435
|
-
input.ExclusionFileNamePatterns !== null && {
|
|
5722
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionFileNamePatterns != null && {
|
|
5436
5723
|
ExclusionFileNamePatterns: serializeAws_json1_1StringList(input.ExclusionFileNamePatterns, context),
|
|
5437
|
-
})), (input.ExclusionFileTypePatterns
|
|
5438
|
-
input.ExclusionFileTypePatterns !== null && {
|
|
5724
|
+
})), (input.ExclusionFileTypePatterns != null && {
|
|
5439
5725
|
ExclusionFileTypePatterns: serializeAws_json1_1StringList(input.ExclusionFileTypePatterns, context),
|
|
5440
|
-
})), (input.ExclusionFolderNamePatterns
|
|
5441
|
-
input.ExclusionFolderNamePatterns !== null && {
|
|
5726
|
+
})), (input.ExclusionFolderNamePatterns != null && {
|
|
5442
5727
|
ExclusionFolderNamePatterns: serializeAws_json1_1StringList(input.ExclusionFolderNamePatterns, context),
|
|
5443
|
-
})), (input.GitHubCommitConfigurationFieldMappings
|
|
5444
|
-
input.GitHubCommitConfigurationFieldMappings !== null && {
|
|
5728
|
+
})), (input.GitHubCommitConfigurationFieldMappings != null && {
|
|
5445
5729
|
GitHubCommitConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubCommitConfigurationFieldMappings, context),
|
|
5446
|
-
})), (input.GitHubDocumentCrawlProperties
|
|
5447
|
-
input.GitHubDocumentCrawlProperties !== null && {
|
|
5730
|
+
})), (input.GitHubDocumentCrawlProperties != null && {
|
|
5448
5731
|
GitHubDocumentCrawlProperties: serializeAws_json1_1GitHubDocumentCrawlProperties(input.GitHubDocumentCrawlProperties, context),
|
|
5449
|
-
})), (input.GitHubIssueAttachmentConfigurationFieldMappings
|
|
5450
|
-
input.GitHubIssueAttachmentConfigurationFieldMappings !== null && {
|
|
5732
|
+
})), (input.GitHubIssueAttachmentConfigurationFieldMappings != null && {
|
|
5451
5733
|
GitHubIssueAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueAttachmentConfigurationFieldMappings, context),
|
|
5452
|
-
})), (input.GitHubIssueCommentConfigurationFieldMappings
|
|
5453
|
-
input.GitHubIssueCommentConfigurationFieldMappings !== null && {
|
|
5734
|
+
})), (input.GitHubIssueCommentConfigurationFieldMappings != null && {
|
|
5454
5735
|
GitHubIssueCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueCommentConfigurationFieldMappings, context),
|
|
5455
|
-
})), (input.GitHubIssueDocumentConfigurationFieldMappings
|
|
5456
|
-
input.GitHubIssueDocumentConfigurationFieldMappings !== null && {
|
|
5736
|
+
})), (input.GitHubIssueDocumentConfigurationFieldMappings != null && {
|
|
5457
5737
|
GitHubIssueDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueDocumentConfigurationFieldMappings, context),
|
|
5458
|
-
})), (input.GitHubPullRequestCommentConfigurationFieldMappings
|
|
5459
|
-
input.GitHubPullRequestCommentConfigurationFieldMappings !== null && {
|
|
5738
|
+
})), (input.GitHubPullRequestCommentConfigurationFieldMappings != null && {
|
|
5460
5739
|
GitHubPullRequestCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestCommentConfigurationFieldMappings, context),
|
|
5461
|
-
})), (input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings
|
|
5462
|
-
input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null && {
|
|
5740
|
+
})), (input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings != null && {
|
|
5463
5741
|
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context),
|
|
5464
|
-
})), (input.GitHubPullRequestDocumentConfigurationFieldMappings
|
|
5465
|
-
input.GitHubPullRequestDocumentConfigurationFieldMappings !== null && {
|
|
5742
|
+
})), (input.GitHubPullRequestDocumentConfigurationFieldMappings != null && {
|
|
5466
5743
|
GitHubPullRequestDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentConfigurationFieldMappings, context),
|
|
5467
|
-
})), (input.GitHubRepositoryConfigurationFieldMappings
|
|
5468
|
-
input.GitHubRepositoryConfigurationFieldMappings !== null && {
|
|
5744
|
+
})), (input.GitHubRepositoryConfigurationFieldMappings != null && {
|
|
5469
5745
|
GitHubRepositoryConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubRepositoryConfigurationFieldMappings, context),
|
|
5470
|
-
})), (input.InclusionFileNamePatterns
|
|
5471
|
-
input.InclusionFileNamePatterns !== null && {
|
|
5746
|
+
})), (input.InclusionFileNamePatterns != null && {
|
|
5472
5747
|
InclusionFileNamePatterns: serializeAws_json1_1StringList(input.InclusionFileNamePatterns, context),
|
|
5473
|
-
})), (input.InclusionFileTypePatterns
|
|
5474
|
-
input.InclusionFileTypePatterns !== null && {
|
|
5748
|
+
})), (input.InclusionFileTypePatterns != null && {
|
|
5475
5749
|
InclusionFileTypePatterns: serializeAws_json1_1StringList(input.InclusionFileTypePatterns, context),
|
|
5476
|
-
})), (input.InclusionFolderNamePatterns
|
|
5477
|
-
input.InclusionFolderNamePatterns !== null && {
|
|
5750
|
+
})), (input.InclusionFolderNamePatterns != null && {
|
|
5478
5751
|
InclusionFolderNamePatterns: serializeAws_json1_1StringList(input.InclusionFolderNamePatterns, context),
|
|
5479
|
-
})), (input.OnPremiseConfiguration
|
|
5480
|
-
input.OnPremiseConfiguration !== null && {
|
|
5752
|
+
})), (input.OnPremiseConfiguration != null && {
|
|
5481
5753
|
OnPremiseConfiguration: serializeAws_json1_1OnPremiseConfiguration(input.OnPremiseConfiguration, context),
|
|
5482
|
-
})), (input.RepositoryFilter
|
|
5483
|
-
input.RepositoryFilter !== null && {
|
|
5754
|
+
})), (input.RepositoryFilter != null && {
|
|
5484
5755
|
RepositoryFilter: serializeAws_json1_1RepositoryNames(input.RepositoryFilter, context),
|
|
5485
|
-
})), (input.SaaSConfiguration
|
|
5486
|
-
input.SaaSConfiguration !== null && {
|
|
5756
|
+
})), (input.SaaSConfiguration != null && {
|
|
5487
5757
|
SaaSConfiguration: serializeAws_json1_1SaaSConfiguration(input.SaaSConfiguration, context),
|
|
5488
|
-
})), (input.SecretArn
|
|
5489
|
-
input.VpcConfiguration !== null && {
|
|
5758
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.Type != null && { Type: input.Type })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
5490
5759
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5491
5760
|
}));
|
|
5492
5761
|
};
|
|
5493
5762
|
var serializeAws_json1_1GitHubDocumentCrawlProperties = function (input, context) {
|
|
5494
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlIssue
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
input.CrawlPullRequest !== null && { CrawlPullRequest: input.CrawlPullRequest })), (input.CrawlPullRequestComment !== undefined &&
|
|
5498
|
-
input.CrawlPullRequestComment !== null && { CrawlPullRequestComment: input.CrawlPullRequestComment })), (input.CrawlPullRequestCommentAttachment !== undefined &&
|
|
5499
|
-
input.CrawlPullRequestCommentAttachment !== null && {
|
|
5763
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlIssue != null && { CrawlIssue: input.CrawlIssue })), (input.CrawlIssueComment != null && { CrawlIssueComment: input.CrawlIssueComment })), (input.CrawlIssueCommentAttachment != null && {
|
|
5764
|
+
CrawlIssueCommentAttachment: input.CrawlIssueCommentAttachment,
|
|
5765
|
+
})), (input.CrawlPullRequest != null && { CrawlPullRequest: input.CrawlPullRequest })), (input.CrawlPullRequestComment != null && { CrawlPullRequestComment: input.CrawlPullRequestComment })), (input.CrawlPullRequestCommentAttachment != null && {
|
|
5500
5766
|
CrawlPullRequestCommentAttachment: input.CrawlPullRequestCommentAttachment,
|
|
5501
|
-
})), (input.CrawlRepositoryDocuments
|
|
5502
|
-
input.CrawlRepositoryDocuments !== null && { CrawlRepositoryDocuments: input.CrawlRepositoryDocuments }));
|
|
5767
|
+
})), (input.CrawlRepositoryDocuments != null && { CrawlRepositoryDocuments: input.CrawlRepositoryDocuments }));
|
|
5503
5768
|
};
|
|
5504
5769
|
var serializeAws_json1_1GoogleDriveConfiguration = function (input, context) {
|
|
5505
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExcludeMimeTypes
|
|
5506
|
-
input.ExcludeMimeTypes !== null && {
|
|
5770
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExcludeMimeTypes != null && {
|
|
5507
5771
|
ExcludeMimeTypes: serializeAws_json1_1ExcludeMimeTypesList(input.ExcludeMimeTypes, context),
|
|
5508
|
-
})), (input.ExcludeSharedDrives
|
|
5509
|
-
input.ExcludeSharedDrives !== null && {
|
|
5772
|
+
})), (input.ExcludeSharedDrives != null && {
|
|
5510
5773
|
ExcludeSharedDrives: serializeAws_json1_1ExcludeSharedDrivesList(input.ExcludeSharedDrives, context),
|
|
5511
|
-
})), (input.ExcludeUserAccounts
|
|
5512
|
-
input.ExcludeUserAccounts !== null && {
|
|
5774
|
+
})), (input.ExcludeUserAccounts != null && {
|
|
5513
5775
|
ExcludeUserAccounts: serializeAws_json1_1ExcludeUserAccountsList(input.ExcludeUserAccounts, context),
|
|
5514
|
-
})), (input.ExclusionPatterns
|
|
5515
|
-
input.ExclusionPatterns !== null && {
|
|
5776
|
+
})), (input.ExclusionPatterns != null && {
|
|
5516
5777
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5517
|
-
})), (input.FieldMappings
|
|
5518
|
-
input.FieldMappings !== null && {
|
|
5778
|
+
})), (input.FieldMappings != null && {
|
|
5519
5779
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5520
|
-
})), (input.InclusionPatterns
|
|
5521
|
-
input.InclusionPatterns !== null && {
|
|
5780
|
+
})), (input.InclusionPatterns != null && {
|
|
5522
5781
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5523
|
-
})), (input.SecretArn
|
|
5782
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn }));
|
|
5524
5783
|
};
|
|
5525
5784
|
var serializeAws_json1_1GroupMembers = function (input, context) {
|
|
5526
|
-
return __assign(__assign(__assign({}, (input.MemberGroups
|
|
5527
|
-
input.MemberGroups !== null && { MemberGroups: serializeAws_json1_1MemberGroups(input.MemberGroups, context) })), (input.MemberUsers !== undefined &&
|
|
5528
|
-
input.MemberUsers !== null && { MemberUsers: serializeAws_json1_1MemberUsers(input.MemberUsers, context) })), (input.S3PathforGroupMembers !== undefined &&
|
|
5529
|
-
input.S3PathforGroupMembers !== null && {
|
|
5785
|
+
return __assign(__assign(__assign({}, (input.MemberGroups != null && { MemberGroups: serializeAws_json1_1MemberGroups(input.MemberGroups, context) })), (input.MemberUsers != null && { MemberUsers: serializeAws_json1_1MemberUsers(input.MemberUsers, context) })), (input.S3PathforGroupMembers != null && {
|
|
5530
5786
|
S3PathforGroupMembers: serializeAws_json1_1S3Path(input.S3PathforGroupMembers, context),
|
|
5531
5787
|
}));
|
|
5532
5788
|
};
|
|
@@ -5541,8 +5797,7 @@ var serializeAws_json1_1Groups = function (input, context) {
|
|
|
5541
5797
|
});
|
|
5542
5798
|
};
|
|
5543
5799
|
var serializeAws_json1_1HierarchicalPrincipal = function (input, context) {
|
|
5544
|
-
return __assign({}, (input.PrincipalList
|
|
5545
|
-
input.PrincipalList !== null && {
|
|
5800
|
+
return __assign({}, (input.PrincipalList != null && {
|
|
5546
5801
|
PrincipalList: serializeAws_json1_1PrincipalList(input.PrincipalList, context),
|
|
5547
5802
|
}));
|
|
5548
5803
|
};
|
|
@@ -5557,18 +5812,14 @@ var serializeAws_json1_1HierarchicalPrincipalList = function (input, context) {
|
|
|
5557
5812
|
});
|
|
5558
5813
|
};
|
|
5559
5814
|
var serializeAws_json1_1HookConfiguration = function (input, context) {
|
|
5560
|
-
return __assign(__assign(__assign({}, (input.InvocationCondition
|
|
5561
|
-
input.InvocationCondition !== null && {
|
|
5815
|
+
return __assign(__assign(__assign({}, (input.InvocationCondition != null && {
|
|
5562
5816
|
InvocationCondition: serializeAws_json1_1DocumentAttributeCondition(input.InvocationCondition, context),
|
|
5563
|
-
})), (input.LambdaArn
|
|
5817
|
+
})), (input.LambdaArn != null && { LambdaArn: input.LambdaArn })), (input.S3Bucket != null && { S3Bucket: input.S3Bucket }));
|
|
5564
5818
|
};
|
|
5565
5819
|
var serializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration = function (input, context) {
|
|
5566
|
-
return __assign(__assign(__assign({}, (input.Condition
|
|
5567
|
-
input.Condition !== null && {
|
|
5820
|
+
return __assign(__assign(__assign({}, (input.Condition != null && {
|
|
5568
5821
|
Condition: serializeAws_json1_1DocumentAttributeCondition(input.Condition, context),
|
|
5569
|
-
})), (input.DocumentContentDeletion
|
|
5570
|
-
input.DocumentContentDeletion !== null && { DocumentContentDeletion: input.DocumentContentDeletion })), (input.Target !== undefined &&
|
|
5571
|
-
input.Target !== null && { Target: serializeAws_json1_1DocumentAttributeTarget(input.Target, context) }));
|
|
5822
|
+
})), (input.DocumentContentDeletion != null && { DocumentContentDeletion: input.DocumentContentDeletion })), (input.Target != null && { Target: serializeAws_json1_1DocumentAttributeTarget(input.Target, context) }));
|
|
5572
5823
|
};
|
|
5573
5824
|
var serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = function (input, context) {
|
|
5574
5825
|
return input
|
|
@@ -5601,36 +5852,23 @@ var serializeAws_json1_1IssueType = function (input, context) {
|
|
|
5601
5852
|
});
|
|
5602
5853
|
};
|
|
5603
5854
|
var serializeAws_json1_1JiraConfiguration = function (input, context) {
|
|
5604
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings
|
|
5605
|
-
input.AttachmentFieldMappings !== null && {
|
|
5855
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings != null && {
|
|
5606
5856
|
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
5607
|
-
})), (input.CommentFieldMappings
|
|
5608
|
-
input.CommentFieldMappings !== null && {
|
|
5857
|
+
})), (input.CommentFieldMappings != null && {
|
|
5609
5858
|
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
5610
|
-
})), (input.ExclusionPatterns
|
|
5611
|
-
input.ExclusionPatterns !== null && {
|
|
5859
|
+
})), (input.ExclusionPatterns != null && {
|
|
5612
5860
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5613
|
-
})), (input.InclusionPatterns
|
|
5614
|
-
input.InclusionPatterns !== null && {
|
|
5861
|
+
})), (input.InclusionPatterns != null && {
|
|
5615
5862
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5616
|
-
})), (input.IssueFieldMappings
|
|
5617
|
-
input.IssueFieldMappings !== null && {
|
|
5863
|
+
})), (input.IssueFieldMappings != null && {
|
|
5618
5864
|
IssueFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.IssueFieldMappings, context),
|
|
5619
|
-
})), (input.IssueSubEntityFilter
|
|
5620
|
-
input.IssueSubEntityFilter !== null && {
|
|
5865
|
+
})), (input.IssueSubEntityFilter != null && {
|
|
5621
5866
|
IssueSubEntityFilter: serializeAws_json1_1IssueSubEntityFilter(input.IssueSubEntityFilter, context),
|
|
5622
|
-
})), (input.IssueType
|
|
5623
|
-
input.IssueType !== null && { IssueType: serializeAws_json1_1IssueType(input.IssueType, context) })), (input.JiraAccountUrl !== undefined &&
|
|
5624
|
-
input.JiraAccountUrl !== null && { JiraAccountUrl: input.JiraAccountUrl })), (input.Project !== undefined &&
|
|
5625
|
-
input.Project !== null && { Project: serializeAws_json1_1Project(input.Project, context) })), (input.ProjectFieldMappings !== undefined &&
|
|
5626
|
-
input.ProjectFieldMappings !== null && {
|
|
5867
|
+
})), (input.IssueType != null && { IssueType: serializeAws_json1_1IssueType(input.IssueType, context) })), (input.JiraAccountUrl != null && { JiraAccountUrl: input.JiraAccountUrl })), (input.Project != null && { Project: serializeAws_json1_1Project(input.Project, context) })), (input.ProjectFieldMappings != null && {
|
|
5627
5868
|
ProjectFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ProjectFieldMappings, context),
|
|
5628
|
-
})), (input.SecretArn
|
|
5629
|
-
input.Status !== null && { Status: serializeAws_json1_1JiraStatus(input.Status, context) })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
5630
|
-
input.VpcConfiguration !== null && {
|
|
5869
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.Status != null && { Status: serializeAws_json1_1JiraStatus(input.Status, context) })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
5631
5870
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5632
|
-
})), (input.WorkLogFieldMappings
|
|
5633
|
-
input.WorkLogFieldMappings !== null && {
|
|
5871
|
+
})), (input.WorkLogFieldMappings != null && {
|
|
5634
5872
|
WorkLogFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WorkLogFieldMappings, context),
|
|
5635
5873
|
}));
|
|
5636
5874
|
};
|
|
@@ -5645,54 +5883,51 @@ var serializeAws_json1_1JiraStatus = function (input, context) {
|
|
|
5645
5883
|
});
|
|
5646
5884
|
};
|
|
5647
5885
|
var serializeAws_json1_1JsonTokenTypeConfiguration = function (input, context) {
|
|
5648
|
-
return __assign(__assign({}, (input.GroupAttributeField
|
|
5649
|
-
input.GroupAttributeField !== null && { GroupAttributeField: input.GroupAttributeField })), (input.UserNameAttributeField !== undefined &&
|
|
5650
|
-
input.UserNameAttributeField !== null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5886
|
+
return __assign(__assign({}, (input.GroupAttributeField != null && { GroupAttributeField: input.GroupAttributeField })), (input.UserNameAttributeField != null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5651
5887
|
};
|
|
5652
5888
|
var serializeAws_json1_1JwtTokenTypeConfiguration = function (input, context) {
|
|
5653
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClaimRegex
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5889
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClaimRegex != null && { ClaimRegex: input.ClaimRegex })), (input.GroupAttributeField != null && { GroupAttributeField: input.GroupAttributeField })), (input.Issuer != null && { Issuer: input.Issuer })), (input.KeyLocation != null && { KeyLocation: input.KeyLocation })), (input.SecretManagerArn != null && { SecretManagerArn: input.SecretManagerArn })), (input.URL != null && { URL: input.URL })), (input.UserNameAttributeField != null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5890
|
+
};
|
|
5891
|
+
var serializeAws_json1_1ListAccessControlConfigurationsRequest = function (input, context) {
|
|
5892
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5657
5893
|
};
|
|
5658
5894
|
var serializeAws_json1_1ListDataSourcesRequest = function (input, context) {
|
|
5659
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5895
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5660
5896
|
};
|
|
5661
5897
|
var serializeAws_json1_1ListDataSourceSyncJobsRequest = function (input, context) {
|
|
5662
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Id
|
|
5663
|
-
input.StartTimeFilter !== null && {
|
|
5898
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StartTimeFilter != null && {
|
|
5664
5899
|
StartTimeFilter: serializeAws_json1_1TimeRange(input.StartTimeFilter, context),
|
|
5665
|
-
})), (input.StatusFilter
|
|
5900
|
+
})), (input.StatusFilter != null && { StatusFilter: input.StatusFilter }));
|
|
5666
5901
|
};
|
|
5667
5902
|
var serializeAws_json1_1ListEntityPersonasRequest = function (input, context) {
|
|
5668
|
-
return __assign(__assign(__assign(__assign({}, (input.Id
|
|
5903
|
+
return __assign(__assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5669
5904
|
};
|
|
5670
5905
|
var serializeAws_json1_1ListExperienceEntitiesRequest = function (input, context) {
|
|
5671
|
-
return __assign(__assign(__assign({}, (input.Id
|
|
5906
|
+
return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5672
5907
|
};
|
|
5673
5908
|
var serializeAws_json1_1ListExperiencesRequest = function (input, context) {
|
|
5674
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5909
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5675
5910
|
};
|
|
5676
5911
|
var serializeAws_json1_1ListFaqsRequest = function (input, context) {
|
|
5677
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5912
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5678
5913
|
};
|
|
5679
5914
|
var serializeAws_json1_1ListGroupsOlderThanOrderingIdRequest = function (input, context) {
|
|
5680
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId
|
|
5915
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrderingId != null && { OrderingId: input.OrderingId }));
|
|
5681
5916
|
};
|
|
5682
5917
|
var serializeAws_json1_1ListIndicesRequest = function (input, context) {
|
|
5683
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5918
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5684
5919
|
};
|
|
5685
5920
|
var serializeAws_json1_1ListQuerySuggestionsBlockListsRequest = function (input, context) {
|
|
5686
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5921
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5687
5922
|
};
|
|
5688
5923
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
5689
|
-
return __assign({}, (input.ResourceARN
|
|
5924
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
5690
5925
|
};
|
|
5691
5926
|
var serializeAws_json1_1ListThesauriRequest = function (input, context) {
|
|
5692
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5927
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5693
5928
|
};
|
|
5694
5929
|
var serializeAws_json1_1MemberGroup = function (input, context) {
|
|
5695
|
-
return __assign(__assign({}, (input.DataSourceId
|
|
5930
|
+
return __assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId }));
|
|
5696
5931
|
};
|
|
5697
5932
|
var serializeAws_json1_1MemberGroups = function (input, context) {
|
|
5698
5933
|
return input
|
|
@@ -5705,7 +5940,7 @@ var serializeAws_json1_1MemberGroups = function (input, context) {
|
|
|
5705
5940
|
});
|
|
5706
5941
|
};
|
|
5707
5942
|
var serializeAws_json1_1MemberUser = function (input, context) {
|
|
5708
|
-
return __assign({}, (input.UserId
|
|
5943
|
+
return __assign({}, (input.UserId != null && { UserId: input.UserId }));
|
|
5709
5944
|
};
|
|
5710
5945
|
var serializeAws_json1_1MemberUsers = function (input, context) {
|
|
5711
5946
|
return input
|
|
@@ -5718,20 +5953,15 @@ var serializeAws_json1_1MemberUsers = function (input, context) {
|
|
|
5718
5953
|
});
|
|
5719
5954
|
};
|
|
5720
5955
|
var serializeAws_json1_1OneDriveConfiguration = function (input, context) {
|
|
5721
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DisableLocalGroups
|
|
5722
|
-
input.DisableLocalGroups !== null && { DisableLocalGroups: input.DisableLocalGroups })), (input.ExclusionPatterns !== undefined &&
|
|
5723
|
-
input.ExclusionPatterns !== null && {
|
|
5956
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.ExclusionPatterns != null && {
|
|
5724
5957
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5725
|
-
})), (input.FieldMappings
|
|
5726
|
-
input.FieldMappings !== null && {
|
|
5958
|
+
})), (input.FieldMappings != null && {
|
|
5727
5959
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5728
|
-
})), (input.InclusionPatterns
|
|
5729
|
-
input.InclusionPatterns !== null && {
|
|
5960
|
+
})), (input.InclusionPatterns != null && {
|
|
5730
5961
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5731
|
-
})), (input.OneDriveUsers
|
|
5732
|
-
input.OneDriveUsers !== null && {
|
|
5962
|
+
})), (input.OneDriveUsers != null && {
|
|
5733
5963
|
OneDriveUsers: serializeAws_json1_1OneDriveUsers(input.OneDriveUsers, context),
|
|
5734
|
-
})), (input.SecretArn
|
|
5964
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.TenantDomain != null && { TenantDomain: input.TenantDomain }));
|
|
5735
5965
|
};
|
|
5736
5966
|
var serializeAws_json1_1OneDriveUserList = function (input, context) {
|
|
5737
5967
|
return input
|
|
@@ -5744,23 +5974,19 @@ var serializeAws_json1_1OneDriveUserList = function (input, context) {
|
|
|
5744
5974
|
});
|
|
5745
5975
|
};
|
|
5746
5976
|
var serializeAws_json1_1OneDriveUsers = function (input, context) {
|
|
5747
|
-
return __assign(__assign({}, (input.OneDriveUserList
|
|
5748
|
-
input.OneDriveUserList !== null && {
|
|
5977
|
+
return __assign(__assign({}, (input.OneDriveUserList != null && {
|
|
5749
5978
|
OneDriveUserList: serializeAws_json1_1OneDriveUserList(input.OneDriveUserList, context),
|
|
5750
|
-
})), (input.OneDriveUserS3Path
|
|
5751
|
-
input.OneDriveUserS3Path !== null && {
|
|
5979
|
+
})), (input.OneDriveUserS3Path != null && {
|
|
5752
5980
|
OneDriveUserS3Path: serializeAws_json1_1S3Path(input.OneDriveUserS3Path, context),
|
|
5753
5981
|
}));
|
|
5754
5982
|
};
|
|
5755
5983
|
var serializeAws_json1_1OnPremiseConfiguration = function (input, context) {
|
|
5756
|
-
return __assign(__assign(__assign({}, (input.HostUrl
|
|
5757
|
-
input.OrganizationName !== null && { OrganizationName: input.OrganizationName })), (input.SslCertificateS3Path !== undefined &&
|
|
5758
|
-
input.SslCertificateS3Path !== null && {
|
|
5984
|
+
return __assign(__assign(__assign({}, (input.HostUrl != null && { HostUrl: input.HostUrl })), (input.OrganizationName != null && { OrganizationName: input.OrganizationName })), (input.SslCertificateS3Path != null && {
|
|
5759
5985
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
5760
5986
|
}));
|
|
5761
5987
|
};
|
|
5762
5988
|
var serializeAws_json1_1Principal = function (input, context) {
|
|
5763
|
-
return __assign(__assign(__assign(__assign({}, (input.Access
|
|
5989
|
+
return __assign(__assign(__assign(__assign({}, (input.Access != null && { Access: input.Access })), (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type }));
|
|
5764
5990
|
};
|
|
5765
5991
|
var serializeAws_json1_1PrincipalList = function (input, context) {
|
|
5766
5992
|
return input
|
|
@@ -5793,7 +6019,7 @@ var serializeAws_json1_1Project = function (input, context) {
|
|
|
5793
6019
|
});
|
|
5794
6020
|
};
|
|
5795
6021
|
var serializeAws_json1_1ProxyConfiguration = function (input, context) {
|
|
5796
|
-
return __assign(__assign(__assign({}, (input.Credentials
|
|
6022
|
+
return __assign(__assign(__assign({}, (input.Credentials != null && { Credentials: input.Credentials })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
5797
6023
|
};
|
|
5798
6024
|
var serializeAws_json1_1PublicChannelFilter = function (input, context) {
|
|
5799
6025
|
return input
|
|
@@ -5806,64 +6032,43 @@ var serializeAws_json1_1PublicChannelFilter = function (input, context) {
|
|
|
5806
6032
|
});
|
|
5807
6033
|
};
|
|
5808
6034
|
var serializeAws_json1_1PutPrincipalMappingRequest = function (input, context) {
|
|
5809
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId
|
|
5810
|
-
input.GroupMembers !== null && { GroupMembers: serializeAws_json1_1GroupMembers(input.GroupMembers, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.OrderingId !== undefined && input.OrderingId !== null && { OrderingId: input.OrderingId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
6035
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId })), (input.GroupMembers != null && { GroupMembers: serializeAws_json1_1GroupMembers(input.GroupMembers, context) })), (input.IndexId != null && { IndexId: input.IndexId })), (input.OrderingId != null && { OrderingId: input.OrderingId })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
5811
6036
|
};
|
|
5812
6037
|
var serializeAws_json1_1QueryRequest = function (input, context) {
|
|
5813
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeFilter
|
|
5814
|
-
input.AttributeFilter !== null && {
|
|
6038
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeFilter != null && {
|
|
5815
6039
|
AttributeFilter: serializeAws_json1_1AttributeFilter(input.AttributeFilter, context),
|
|
5816
|
-
})), (input.DocumentRelevanceOverrideConfigurations
|
|
5817
|
-
input.DocumentRelevanceOverrideConfigurations !== null && {
|
|
6040
|
+
})), (input.DocumentRelevanceOverrideConfigurations != null && {
|
|
5818
6041
|
DocumentRelevanceOverrideConfigurations: serializeAws_json1_1DocumentRelevanceOverrideConfigurationList(input.DocumentRelevanceOverrideConfigurations, context),
|
|
5819
|
-
})), (input.Facets
|
|
5820
|
-
input.Facets !== null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.PageNumber !== undefined && input.PageNumber !== null && { PageNumber: input.PageNumber })), (input.PageSize !== undefined && input.PageSize !== null && { PageSize: input.PageSize })), (input.QueryResultTypeFilter !== undefined &&
|
|
5821
|
-
input.QueryResultTypeFilter !== null && { QueryResultTypeFilter: input.QueryResultTypeFilter })), (input.QueryText !== undefined && input.QueryText !== null && { QueryText: input.QueryText })), (input.RequestedDocumentAttributes !== undefined &&
|
|
5822
|
-
input.RequestedDocumentAttributes !== null && {
|
|
6042
|
+
})), (input.Facets != null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.IndexId != null && { IndexId: input.IndexId })), (input.PageNumber != null && { PageNumber: input.PageNumber })), (input.PageSize != null && { PageSize: input.PageSize })), (input.QueryResultTypeFilter != null && { QueryResultTypeFilter: input.QueryResultTypeFilter })), (input.QueryText != null && { QueryText: input.QueryText })), (input.RequestedDocumentAttributes != null && {
|
|
5823
6043
|
RequestedDocumentAttributes: serializeAws_json1_1DocumentAttributeKeyList(input.RequestedDocumentAttributes, context),
|
|
5824
|
-
})), (input.SortingConfiguration
|
|
5825
|
-
input.SortingConfiguration !== null && {
|
|
6044
|
+
})), (input.SortingConfiguration != null && {
|
|
5826
6045
|
SortingConfiguration: serializeAws_json1_1SortingConfiguration(input.SortingConfiguration, context),
|
|
5827
|
-
})), (input.SpellCorrectionConfiguration
|
|
5828
|
-
input.SpellCorrectionConfiguration !== null && {
|
|
6046
|
+
})), (input.SpellCorrectionConfiguration != null && {
|
|
5829
6047
|
SpellCorrectionConfiguration: serializeAws_json1_1SpellCorrectionConfiguration(input.SpellCorrectionConfiguration, context),
|
|
5830
|
-
})), (input.UserContext
|
|
5831
|
-
input.UserContext !== null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) })), (input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }));
|
|
6048
|
+
})), (input.UserContext != null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) })), (input.VisitorId != null && { VisitorId: input.VisitorId }));
|
|
5832
6049
|
};
|
|
5833
6050
|
var serializeAws_json1_1QuipConfiguration = function (input, context) {
|
|
5834
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings
|
|
5835
|
-
input.AttachmentFieldMappings !== null && {
|
|
6051
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings != null && {
|
|
5836
6052
|
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
5837
|
-
})), (input.CrawlAttachments
|
|
5838
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.CrawlChatRooms !== undefined &&
|
|
5839
|
-
input.CrawlChatRooms !== null && { CrawlChatRooms: input.CrawlChatRooms })), (input.CrawlFileComments !== undefined &&
|
|
5840
|
-
input.CrawlFileComments !== null && { CrawlFileComments: input.CrawlFileComments })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.ExclusionPatterns !== undefined &&
|
|
5841
|
-
input.ExclusionPatterns !== null && {
|
|
6053
|
+
})), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.CrawlChatRooms != null && { CrawlChatRooms: input.CrawlChatRooms })), (input.CrawlFileComments != null && { CrawlFileComments: input.CrawlFileComments })), (input.Domain != null && { Domain: input.Domain })), (input.ExclusionPatterns != null && {
|
|
5842
6054
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5843
|
-
})), (input.FolderIds
|
|
5844
|
-
input.FolderIds !== null && { FolderIds: serializeAws_json1_1FolderIdList(input.FolderIds, context) })), (input.InclusionPatterns !== undefined &&
|
|
5845
|
-
input.InclusionPatterns !== null && {
|
|
6055
|
+
})), (input.FolderIds != null && { FolderIds: serializeAws_json1_1FolderIdList(input.FolderIds, context) })), (input.InclusionPatterns != null && {
|
|
5846
6056
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5847
|
-
})), (input.MessageFieldMappings
|
|
5848
|
-
input.MessageFieldMappings !== null && {
|
|
6057
|
+
})), (input.MessageFieldMappings != null && {
|
|
5849
6058
|
MessageFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.MessageFieldMappings, context),
|
|
5850
|
-
})), (input.SecretArn
|
|
5851
|
-
input.ThreadFieldMappings !== null && {
|
|
6059
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ThreadFieldMappings != null && {
|
|
5852
6060
|
ThreadFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ThreadFieldMappings, context),
|
|
5853
|
-
})), (input.VpcConfiguration
|
|
5854
|
-
input.VpcConfiguration !== null && {
|
|
6061
|
+
})), (input.VpcConfiguration != null && {
|
|
5855
6062
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5856
6063
|
}));
|
|
5857
6064
|
};
|
|
5858
6065
|
var serializeAws_json1_1Relevance = function (input, context) {
|
|
5859
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
5860
|
-
input.ValueImportanceMap !== null && {
|
|
6066
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Duration != null && { Duration: input.Duration })), (input.Freshness != null && { Freshness: input.Freshness })), (input.Importance != null && { Importance: input.Importance })), (input.RankOrder != null && { RankOrder: input.RankOrder })), (input.ValueImportanceMap != null && {
|
|
5861
6067
|
ValueImportanceMap: serializeAws_json1_1ValueImportanceMap(input.ValueImportanceMap, context),
|
|
5862
6068
|
}));
|
|
5863
6069
|
};
|
|
5864
6070
|
var serializeAws_json1_1RelevanceFeedback = function (input, context) {
|
|
5865
|
-
return __assign(__assign({}, (input.RelevanceValue
|
|
5866
|
-
input.RelevanceValue !== null && { RelevanceValue: input.RelevanceValue })), (input.ResultId !== undefined && input.ResultId !== null && { ResultId: input.ResultId }));
|
|
6071
|
+
return __assign(__assign({}, (input.RelevanceValue != null && { RelevanceValue: input.RelevanceValue })), (input.ResultId != null && { ResultId: input.ResultId }));
|
|
5867
6072
|
};
|
|
5868
6073
|
var serializeAws_json1_1RelevanceFeedbackList = function (input, context) {
|
|
5869
6074
|
return input
|
|
@@ -5886,38 +6091,28 @@ var serializeAws_json1_1RepositoryNames = function (input, context) {
|
|
|
5886
6091
|
});
|
|
5887
6092
|
};
|
|
5888
6093
|
var serializeAws_json1_1S3DataSourceConfiguration = function (input, context) {
|
|
5889
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlListConfiguration
|
|
5890
|
-
input.AccessControlListConfiguration !== null && {
|
|
6094
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlListConfiguration != null && {
|
|
5891
6095
|
AccessControlListConfiguration: serializeAws_json1_1AccessControlListConfiguration(input.AccessControlListConfiguration, context),
|
|
5892
|
-
})), (input.BucketName
|
|
5893
|
-
input.DocumentsMetadataConfiguration !== null && {
|
|
6096
|
+
})), (input.BucketName != null && { BucketName: input.BucketName })), (input.DocumentsMetadataConfiguration != null && {
|
|
5894
6097
|
DocumentsMetadataConfiguration: serializeAws_json1_1DocumentsMetadataConfiguration(input.DocumentsMetadataConfiguration, context),
|
|
5895
|
-
})), (input.ExclusionPatterns
|
|
5896
|
-
input.ExclusionPatterns !== null && {
|
|
6098
|
+
})), (input.ExclusionPatterns != null && {
|
|
5897
6099
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5898
|
-
})), (input.InclusionPatterns
|
|
5899
|
-
input.InclusionPatterns !== null && {
|
|
6100
|
+
})), (input.InclusionPatterns != null && {
|
|
5900
6101
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5901
|
-
})), (input.InclusionPrefixes
|
|
5902
|
-
input.InclusionPrefixes !== null && {
|
|
6102
|
+
})), (input.InclusionPrefixes != null && {
|
|
5903
6103
|
InclusionPrefixes: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPrefixes, context),
|
|
5904
6104
|
}));
|
|
5905
6105
|
};
|
|
5906
6106
|
var serializeAws_json1_1S3Path = function (input, context) {
|
|
5907
|
-
return __assign(__assign({}, (input.Bucket
|
|
6107
|
+
return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
|
|
5908
6108
|
};
|
|
5909
6109
|
var serializeAws_json1_1SaaSConfiguration = function (input, context) {
|
|
5910
|
-
return __assign(__assign({}, (input.HostUrl
|
|
5911
|
-
input.OrganizationName !== null && { OrganizationName: input.OrganizationName }));
|
|
6110
|
+
return __assign(__assign({}, (input.HostUrl != null && { HostUrl: input.HostUrl })), (input.OrganizationName != null && { OrganizationName: input.OrganizationName }));
|
|
5912
6111
|
};
|
|
5913
6112
|
var serializeAws_json1_1SalesforceChatterFeedConfiguration = function (input, context) {
|
|
5914
|
-
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
5915
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
5916
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
5917
|
-
input.FieldMappings !== null && {
|
|
6113
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
5918
6114
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5919
|
-
})), (input.IncludeFilterTypes
|
|
5920
|
-
input.IncludeFilterTypes !== null && {
|
|
6115
|
+
})), (input.IncludeFilterTypes != null && {
|
|
5921
6116
|
IncludeFilterTypes: serializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes(input.IncludeFilterTypes, context),
|
|
5922
6117
|
}));
|
|
5923
6118
|
};
|
|
@@ -5932,34 +6127,24 @@ var serializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = function (inpu
|
|
|
5932
6127
|
});
|
|
5933
6128
|
};
|
|
5934
6129
|
var serializeAws_json1_1SalesforceConfiguration = function (input, context) {
|
|
5935
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChatterFeedConfiguration
|
|
5936
|
-
input.ChatterFeedConfiguration !== null && {
|
|
6130
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChatterFeedConfiguration != null && {
|
|
5937
6131
|
ChatterFeedConfiguration: serializeAws_json1_1SalesforceChatterFeedConfiguration(input.ChatterFeedConfiguration, context),
|
|
5938
|
-
})), (input.CrawlAttachments
|
|
5939
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.ExcludeAttachmentFilePatterns !== undefined &&
|
|
5940
|
-
input.ExcludeAttachmentFilePatterns !== null && {
|
|
6132
|
+
})), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.ExcludeAttachmentFilePatterns != null && {
|
|
5941
6133
|
ExcludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExcludeAttachmentFilePatterns, context),
|
|
5942
|
-
})), (input.IncludeAttachmentFilePatterns
|
|
5943
|
-
input.IncludeAttachmentFilePatterns !== null && {
|
|
6134
|
+
})), (input.IncludeAttachmentFilePatterns != null && {
|
|
5944
6135
|
IncludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.IncludeAttachmentFilePatterns, context),
|
|
5945
|
-
})), (input.KnowledgeArticleConfiguration
|
|
5946
|
-
input.KnowledgeArticleConfiguration !== null && {
|
|
6136
|
+
})), (input.KnowledgeArticleConfiguration != null && {
|
|
5947
6137
|
KnowledgeArticleConfiguration: serializeAws_json1_1SalesforceKnowledgeArticleConfiguration(input.KnowledgeArticleConfiguration, context),
|
|
5948
|
-
})), (input.SecretArn
|
|
5949
|
-
input.StandardObjectAttachmentConfiguration !== null && {
|
|
6138
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServerUrl != null && { ServerUrl: input.ServerUrl })), (input.StandardObjectAttachmentConfiguration != null && {
|
|
5950
6139
|
StandardObjectAttachmentConfiguration: serializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(input.StandardObjectAttachmentConfiguration, context),
|
|
5951
|
-
})), (input.StandardObjectConfigurations
|
|
5952
|
-
input.StandardObjectConfigurations !== null && {
|
|
6140
|
+
})), (input.StandardObjectConfigurations != null && {
|
|
5953
6141
|
StandardObjectConfigurations: serializeAws_json1_1SalesforceStandardObjectConfigurationList(input.StandardObjectConfigurations, context),
|
|
5954
6142
|
}));
|
|
5955
6143
|
};
|
|
5956
6144
|
var serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = function (input, context) {
|
|
5957
|
-
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
5958
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
5959
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
5960
|
-
input.FieldMappings !== null && {
|
|
6145
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
5961
6146
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5962
|
-
})), (input.Name
|
|
6147
|
+
})), (input.Name != null && { Name: input.Name }));
|
|
5963
6148
|
};
|
|
5964
6149
|
var serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList = function (input, context) {
|
|
5965
6150
|
return input
|
|
@@ -5972,14 +6157,11 @@ var serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList =
|
|
|
5972
6157
|
});
|
|
5973
6158
|
};
|
|
5974
6159
|
var serializeAws_json1_1SalesforceKnowledgeArticleConfiguration = function (input, context) {
|
|
5975
|
-
return __assign(__assign(__assign({}, (input.CustomKnowledgeArticleTypeConfigurations
|
|
5976
|
-
input.CustomKnowledgeArticleTypeConfigurations !== null && {
|
|
6160
|
+
return __assign(__assign(__assign({}, (input.CustomKnowledgeArticleTypeConfigurations != null && {
|
|
5977
6161
|
CustomKnowledgeArticleTypeConfigurations: serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList(input.CustomKnowledgeArticleTypeConfigurations, context),
|
|
5978
|
-
})), (input.IncludedStates
|
|
5979
|
-
input.IncludedStates !== null && {
|
|
6162
|
+
})), (input.IncludedStates != null && {
|
|
5980
6163
|
IncludedStates: serializeAws_json1_1SalesforceKnowledgeArticleStateList(input.IncludedStates, context),
|
|
5981
|
-
})), (input.StandardKnowledgeArticleTypeConfiguration
|
|
5982
|
-
input.StandardKnowledgeArticleTypeConfiguration !== null && {
|
|
6164
|
+
})), (input.StandardKnowledgeArticleTypeConfiguration != null && {
|
|
5983
6165
|
StandardKnowledgeArticleTypeConfiguration: serializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration(input.StandardKnowledgeArticleTypeConfiguration, context),
|
|
5984
6166
|
}));
|
|
5985
6167
|
};
|
|
@@ -5994,27 +6176,19 @@ var serializeAws_json1_1SalesforceKnowledgeArticleStateList = function (input, c
|
|
|
5994
6176
|
});
|
|
5995
6177
|
};
|
|
5996
6178
|
var serializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration = function (input, context) {
|
|
5997
|
-
return __assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
5998
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
5999
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
6000
|
-
input.FieldMappings !== null && {
|
|
6179
|
+
return __assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
6001
6180
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6002
6181
|
}));
|
|
6003
6182
|
};
|
|
6004
6183
|
var serializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = function (input, context) {
|
|
6005
|
-
return __assign(__assign({}, (input.DocumentTitleFieldName
|
|
6006
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
6007
|
-
input.FieldMappings !== null && {
|
|
6184
|
+
return __assign(__assign({}, (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
6008
6185
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6009
6186
|
}));
|
|
6010
6187
|
};
|
|
6011
6188
|
var serializeAws_json1_1SalesforceStandardObjectConfiguration = function (input, context) {
|
|
6012
|
-
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
6013
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
6014
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
6015
|
-
input.FieldMappings !== null && {
|
|
6189
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
6016
6190
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6017
|
-
})), (input.Name
|
|
6191
|
+
})), (input.Name != null && { Name: input.Name }));
|
|
6018
6192
|
};
|
|
6019
6193
|
var serializeAws_json1_1SalesforceStandardObjectConfigurationList = function (input, context) {
|
|
6020
6194
|
return input
|
|
@@ -6027,7 +6201,7 @@ var serializeAws_json1_1SalesforceStandardObjectConfigurationList = function (in
|
|
|
6027
6201
|
});
|
|
6028
6202
|
};
|
|
6029
6203
|
var serializeAws_json1_1Search = function (input, context) {
|
|
6030
|
-
return __assign(__assign(__assign(__assign({}, (input.Displayable
|
|
6204
|
+
return __assign(__assign(__assign(__assign({}, (input.Displayable != null && { Displayable: input.Displayable })), (input.Facetable != null && { Facetable: input.Facetable })), (input.Searchable != null && { Searchable: input.Searchable })), (input.Sortable != null && { Sortable: input.Sortable }));
|
|
6031
6205
|
};
|
|
6032
6206
|
var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
6033
6207
|
return input
|
|
@@ -6040,9 +6214,7 @@ var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
|
6040
6214
|
});
|
|
6041
6215
|
};
|
|
6042
6216
|
var serializeAws_json1_1SeedUrlConfiguration = function (input, context) {
|
|
6043
|
-
return __assign(__assign({}, (input.SeedUrls
|
|
6044
|
-
input.SeedUrls !== null && { SeedUrls: serializeAws_json1_1SeedUrlList(input.SeedUrls, context) })), (input.WebCrawlerMode !== undefined &&
|
|
6045
|
-
input.WebCrawlerMode !== null && { WebCrawlerMode: input.WebCrawlerMode }));
|
|
6217
|
+
return __assign(__assign({}, (input.SeedUrls != null && { SeedUrls: serializeAws_json1_1SeedUrlList(input.SeedUrls, context) })), (input.WebCrawlerMode != null && { WebCrawlerMode: input.WebCrawlerMode }));
|
|
6046
6218
|
};
|
|
6047
6219
|
var serializeAws_json1_1SeedUrlList = function (input, context) {
|
|
6048
6220
|
return input
|
|
@@ -6055,69 +6227,43 @@ var serializeAws_json1_1SeedUrlList = function (input, context) {
|
|
|
6055
6227
|
});
|
|
6056
6228
|
};
|
|
6057
6229
|
var serializeAws_json1_1ServerSideEncryptionConfiguration = function (input, context) {
|
|
6058
|
-
return __assign({}, (input.KmsKeyId
|
|
6230
|
+
return __assign({}, (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
|
|
6059
6231
|
};
|
|
6060
6232
|
var serializeAws_json1_1ServiceNowConfiguration = function (input, context) {
|
|
6061
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
6062
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.HostUrl !== undefined && input.HostUrl !== null && { HostUrl: input.HostUrl })), (input.KnowledgeArticleConfiguration !== undefined &&
|
|
6063
|
-
input.KnowledgeArticleConfiguration !== null && {
|
|
6233
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.HostUrl != null && { HostUrl: input.HostUrl })), (input.KnowledgeArticleConfiguration != null && {
|
|
6064
6234
|
KnowledgeArticleConfiguration: serializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(input.KnowledgeArticleConfiguration, context),
|
|
6065
|
-
})), (input.SecretArn
|
|
6066
|
-
input.ServiceCatalogConfiguration !== null && {
|
|
6235
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServiceCatalogConfiguration != null && {
|
|
6067
6236
|
ServiceCatalogConfiguration: serializeAws_json1_1ServiceNowServiceCatalogConfiguration(input.ServiceCatalogConfiguration, context),
|
|
6068
|
-
})), (input.ServiceNowBuildVersion
|
|
6069
|
-
input.ServiceNowBuildVersion !== null && { ServiceNowBuildVersion: input.ServiceNowBuildVersion }));
|
|
6237
|
+
})), (input.ServiceNowBuildVersion != null && { ServiceNowBuildVersion: input.ServiceNowBuildVersion }));
|
|
6070
6238
|
};
|
|
6071
6239
|
var serializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = function (input, context) {
|
|
6072
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments
|
|
6073
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName !== undefined &&
|
|
6074
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
6075
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns !== undefined &&
|
|
6076
|
-
input.ExcludeAttachmentFilePatterns !== null && {
|
|
6240
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns != null && {
|
|
6077
6241
|
ExcludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExcludeAttachmentFilePatterns, context),
|
|
6078
|
-
})), (input.FieldMappings
|
|
6079
|
-
input.FieldMappings !== null && {
|
|
6242
|
+
})), (input.FieldMappings != null && {
|
|
6080
6243
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6081
|
-
})), (input.FilterQuery
|
|
6082
|
-
input.IncludeAttachmentFilePatterns !== null && {
|
|
6244
|
+
})), (input.FilterQuery != null && { FilterQuery: input.FilterQuery })), (input.IncludeAttachmentFilePatterns != null && {
|
|
6083
6245
|
IncludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.IncludeAttachmentFilePatterns, context),
|
|
6084
6246
|
}));
|
|
6085
6247
|
};
|
|
6086
6248
|
var serializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (input, context) {
|
|
6087
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments
|
|
6088
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName !== undefined &&
|
|
6089
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
6090
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns !== undefined &&
|
|
6091
|
-
input.ExcludeAttachmentFilePatterns !== null && {
|
|
6249
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns != null && {
|
|
6092
6250
|
ExcludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExcludeAttachmentFilePatterns, context),
|
|
6093
|
-
})), (input.FieldMappings
|
|
6094
|
-
input.FieldMappings !== null && {
|
|
6251
|
+
})), (input.FieldMappings != null && {
|
|
6095
6252
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6096
|
-
})), (input.IncludeAttachmentFilePatterns
|
|
6097
|
-
input.IncludeAttachmentFilePatterns !== null && {
|
|
6253
|
+
})), (input.IncludeAttachmentFilePatterns != null && {
|
|
6098
6254
|
IncludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.IncludeAttachmentFilePatterns, context),
|
|
6099
6255
|
}));
|
|
6100
6256
|
};
|
|
6101
6257
|
var serializeAws_json1_1SharePointConfiguration = function (input, context) {
|
|
6102
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments
|
|
6103
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups !== undefined &&
|
|
6104
|
-
input.DisableLocalGroups !== null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName !== undefined &&
|
|
6105
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns !== undefined &&
|
|
6106
|
-
input.ExclusionPatterns !== null && {
|
|
6258
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
|
|
6107
6259
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6108
|
-
})), (input.FieldMappings
|
|
6109
|
-
input.FieldMappings !== null && {
|
|
6260
|
+
})), (input.FieldMappings != null && {
|
|
6110
6261
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6111
|
-
})), (input.InclusionPatterns
|
|
6112
|
-
input.InclusionPatterns !== null && {
|
|
6262
|
+
})), (input.InclusionPatterns != null && {
|
|
6113
6263
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6114
|
-
})), (input.SecretArn
|
|
6115
|
-
input.SharePointVersion !== null && { SharePointVersion: input.SharePointVersion })), (input.SslCertificateS3Path !== undefined &&
|
|
6116
|
-
input.SslCertificateS3Path !== null && {
|
|
6264
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SharePointVersion != null && { SharePointVersion: input.SharePointVersion })), (input.SslCertificateS3Path != null && {
|
|
6117
6265
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
6118
|
-
})), (input.Urls
|
|
6119
|
-
input.Urls !== null && { Urls: serializeAws_json1_1SharePointUrlList(input.Urls, context) })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
6120
|
-
input.VpcConfiguration !== null && {
|
|
6266
|
+
})), (input.Urls != null && { Urls: serializeAws_json1_1SharePointUrlList(input.Urls, context) })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
6121
6267
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6122
6268
|
}));
|
|
6123
6269
|
};
|
|
@@ -6132,8 +6278,7 @@ var serializeAws_json1_1SharePointUrlList = function (input, context) {
|
|
|
6132
6278
|
});
|
|
6133
6279
|
};
|
|
6134
6280
|
var serializeAws_json1_1SiteMapsConfiguration = function (input, context) {
|
|
6135
|
-
return __assign({}, (input.SiteMaps
|
|
6136
|
-
input.SiteMaps !== null && { SiteMaps: serializeAws_json1_1SiteMapsList(input.SiteMaps, context) }));
|
|
6281
|
+
return __assign({}, (input.SiteMaps != null && { SiteMaps: serializeAws_json1_1SiteMapsList(input.SiteMaps, context) }));
|
|
6137
6282
|
};
|
|
6138
6283
|
var serializeAws_json1_1SiteMapsList = function (input, context) {
|
|
6139
6284
|
return input
|
|
@@ -6146,30 +6291,19 @@ var serializeAws_json1_1SiteMapsList = function (input, context) {
|
|
|
6146
6291
|
});
|
|
6147
6292
|
};
|
|
6148
6293
|
var serializeAws_json1_1SlackConfiguration = function (input, context) {
|
|
6149
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlBotMessage
|
|
6150
|
-
input.CrawlBotMessage !== null && { CrawlBotMessage: input.CrawlBotMessage })), (input.ExcludeArchived !== undefined &&
|
|
6151
|
-
input.ExcludeArchived !== null && { ExcludeArchived: input.ExcludeArchived })), (input.ExclusionPatterns !== undefined &&
|
|
6152
|
-
input.ExclusionPatterns !== null && {
|
|
6294
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlBotMessage != null && { CrawlBotMessage: input.CrawlBotMessage })), (input.ExcludeArchived != null && { ExcludeArchived: input.ExcludeArchived })), (input.ExclusionPatterns != null && {
|
|
6153
6295
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6154
|
-
})), (input.FieldMappings
|
|
6155
|
-
input.FieldMappings !== null && {
|
|
6296
|
+
})), (input.FieldMappings != null && {
|
|
6156
6297
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6157
|
-
})), (input.InclusionPatterns
|
|
6158
|
-
input.InclusionPatterns !== null && {
|
|
6298
|
+
})), (input.InclusionPatterns != null && {
|
|
6159
6299
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6160
|
-
})), (input.LookBackPeriod
|
|
6161
|
-
input.LookBackPeriod !== null && { LookBackPeriod: input.LookBackPeriod })), (input.PrivateChannelFilter !== undefined &&
|
|
6162
|
-
input.PrivateChannelFilter !== null && {
|
|
6300
|
+
})), (input.LookBackPeriod != null && { LookBackPeriod: input.LookBackPeriod })), (input.PrivateChannelFilter != null && {
|
|
6163
6301
|
PrivateChannelFilter: serializeAws_json1_1PrivateChannelFilter(input.PrivateChannelFilter, context),
|
|
6164
|
-
})), (input.PublicChannelFilter
|
|
6165
|
-
input.PublicChannelFilter !== null && {
|
|
6302
|
+
})), (input.PublicChannelFilter != null && {
|
|
6166
6303
|
PublicChannelFilter: serializeAws_json1_1PublicChannelFilter(input.PublicChannelFilter, context),
|
|
6167
|
-
})), (input.SecretArn
|
|
6168
|
-
input.SinceCrawlDate !== null && { SinceCrawlDate: input.SinceCrawlDate })), (input.SlackEntityList !== undefined &&
|
|
6169
|
-
input.SlackEntityList !== null && {
|
|
6304
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SinceCrawlDate != null && { SinceCrawlDate: input.SinceCrawlDate })), (input.SlackEntityList != null && {
|
|
6170
6305
|
SlackEntityList: serializeAws_json1_1SlackEntityList(input.SlackEntityList, context),
|
|
6171
|
-
})), (input.TeamId
|
|
6172
|
-
input.VpcConfiguration !== null && {
|
|
6306
|
+
})), (input.TeamId != null && { TeamId: input.TeamId })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
6173
6307
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6174
6308
|
}));
|
|
6175
6309
|
};
|
|
@@ -6184,26 +6318,23 @@ var serializeAws_json1_1SlackEntityList = function (input, context) {
|
|
|
6184
6318
|
});
|
|
6185
6319
|
};
|
|
6186
6320
|
var serializeAws_json1_1SortingConfiguration = function (input, context) {
|
|
6187
|
-
return __assign(__assign({}, (input.DocumentAttributeKey
|
|
6188
|
-
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
6321
|
+
return __assign(__assign({}, (input.DocumentAttributeKey != null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
|
|
6189
6322
|
};
|
|
6190
6323
|
var serializeAws_json1_1SpellCorrectionConfiguration = function (input, context) {
|
|
6191
|
-
return __assign({}, (input.IncludeQuerySpellCheckSuggestions
|
|
6192
|
-
input.IncludeQuerySpellCheckSuggestions !== null && {
|
|
6324
|
+
return __assign({}, (input.IncludeQuerySpellCheckSuggestions != null && {
|
|
6193
6325
|
IncludeQuerySpellCheckSuggestions: input.IncludeQuerySpellCheckSuggestions,
|
|
6194
6326
|
}));
|
|
6195
6327
|
};
|
|
6196
6328
|
var serializeAws_json1_1SqlConfiguration = function (input, context) {
|
|
6197
|
-
return __assign({}, (input.QueryIdentifiersEnclosingOption
|
|
6198
|
-
input.QueryIdentifiersEnclosingOption !== null && {
|
|
6329
|
+
return __assign({}, (input.QueryIdentifiersEnclosingOption != null && {
|
|
6199
6330
|
QueryIdentifiersEnclosingOption: input.QueryIdentifiersEnclosingOption,
|
|
6200
6331
|
}));
|
|
6201
6332
|
};
|
|
6202
6333
|
var serializeAws_json1_1StartDataSourceSyncJobRequest = function (input, context) {
|
|
6203
|
-
return __assign(__assign({}, (input.Id
|
|
6334
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
6204
6335
|
};
|
|
6205
6336
|
var serializeAws_json1_1StopDataSourceSyncJobRequest = function (input, context) {
|
|
6206
|
-
return __assign(__assign({}, (input.Id
|
|
6337
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
6207
6338
|
};
|
|
6208
6339
|
var serializeAws_json1_1StringList = function (input, context) {
|
|
6209
6340
|
return input
|
|
@@ -6216,11 +6347,9 @@ var serializeAws_json1_1StringList = function (input, context) {
|
|
|
6216
6347
|
});
|
|
6217
6348
|
};
|
|
6218
6349
|
var serializeAws_json1_1SubmitFeedbackRequest = function (input, context) {
|
|
6219
|
-
return __assign(__assign(__assign(__assign({}, (input.ClickFeedbackItems
|
|
6220
|
-
input.ClickFeedbackItems !== null && {
|
|
6350
|
+
return __assign(__assign(__assign(__assign({}, (input.ClickFeedbackItems != null && {
|
|
6221
6351
|
ClickFeedbackItems: serializeAws_json1_1ClickFeedbackList(input.ClickFeedbackItems, context),
|
|
6222
|
-
})), (input.IndexId
|
|
6223
|
-
input.RelevanceFeedbackItems !== null && {
|
|
6352
|
+
})), (input.IndexId != null && { IndexId: input.IndexId })), (input.QueryId != null && { QueryId: input.QueryId })), (input.RelevanceFeedbackItems != null && {
|
|
6224
6353
|
RelevanceFeedbackItems: serializeAws_json1_1RelevanceFeedbackList(input.RelevanceFeedbackItems, context),
|
|
6225
6354
|
}));
|
|
6226
6355
|
};
|
|
@@ -6235,7 +6364,7 @@ var serializeAws_json1_1SubnetIdList = function (input, context) {
|
|
|
6235
6364
|
});
|
|
6236
6365
|
};
|
|
6237
6366
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
6238
|
-
return __assign(__assign({}, (input.Key
|
|
6367
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
6239
6368
|
};
|
|
6240
6369
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
6241
6370
|
return input
|
|
@@ -6258,99 +6387,81 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
6258
6387
|
});
|
|
6259
6388
|
};
|
|
6260
6389
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
6261
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6390
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
6262
6391
|
};
|
|
6263
6392
|
var serializeAws_json1_1TimeRange = function (input, context) {
|
|
6264
|
-
return __assign(__assign({}, (input.EndTime
|
|
6265
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.StartTime !== undefined &&
|
|
6266
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
6393
|
+
return __assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
6267
6394
|
};
|
|
6268
6395
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
6269
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6270
|
-
|
|
6396
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
6397
|
+
};
|
|
6398
|
+
var serializeAws_json1_1UpdateAccessControlConfigurationRequest = function (input, context) {
|
|
6399
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList != null && {
|
|
6400
|
+
AccessControlList: serializeAws_json1_1PrincipalList(input.AccessControlList, context),
|
|
6401
|
+
})), (input.Description != null && { Description: input.Description })), (input.HierarchicalAccessControlList != null && {
|
|
6402
|
+
HierarchicalAccessControlList: serializeAws_json1_1HierarchicalPrincipalList(input.HierarchicalAccessControlList, context),
|
|
6403
|
+
})), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name }));
|
|
6271
6404
|
};
|
|
6272
6405
|
var serializeAws_json1_1UpdateDataSourceRequest = function (input, context) {
|
|
6273
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
6274
|
-
input.Configuration !== null && {
|
|
6406
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
6275
6407
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
6276
|
-
})), (input.CustomDocumentEnrichmentConfiguration
|
|
6277
|
-
input.CustomDocumentEnrichmentConfiguration !== null && {
|
|
6408
|
+
})), (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
6278
6409
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
6279
|
-
})), (input.Description
|
|
6410
|
+
})), (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Schedule != null && { Schedule: input.Schedule }));
|
|
6280
6411
|
};
|
|
6281
6412
|
var serializeAws_json1_1UpdateExperienceRequest = function (input, context) {
|
|
6282
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
6283
|
-
input.Configuration !== null && {
|
|
6413
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
6284
6414
|
Configuration: serializeAws_json1_1ExperienceConfiguration(input.Configuration, context),
|
|
6285
|
-
})), (input.Description
|
|
6415
|
+
})), (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
6286
6416
|
};
|
|
6287
6417
|
var serializeAws_json1_1UpdateIndexRequest = function (input, context) {
|
|
6288
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CapacityUnits
|
|
6289
|
-
input.CapacityUnits !== null && {
|
|
6418
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CapacityUnits != null && {
|
|
6290
6419
|
CapacityUnits: serializeAws_json1_1CapacityUnitsConfiguration(input.CapacityUnits, context),
|
|
6291
|
-
})), (input.Description
|
|
6292
|
-
input.DocumentMetadataConfigurationUpdates !== null && {
|
|
6420
|
+
})), (input.Description != null && { Description: input.Description })), (input.DocumentMetadataConfigurationUpdates != null && {
|
|
6293
6421
|
DocumentMetadataConfigurationUpdates: serializeAws_json1_1DocumentMetadataConfigurationList(input.DocumentMetadataConfigurationUpdates, context),
|
|
6294
|
-
})), (input.Id
|
|
6295
|
-
input.UserContextPolicy !== null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration !== undefined &&
|
|
6296
|
-
input.UserGroupResolutionConfiguration !== null && {
|
|
6422
|
+
})), (input.Id != null && { Id: input.Id })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.UserContextPolicy != null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration != null && {
|
|
6297
6423
|
UserGroupResolutionConfiguration: serializeAws_json1_1UserGroupResolutionConfiguration(input.UserGroupResolutionConfiguration, context),
|
|
6298
|
-
})), (input.UserTokenConfigurations
|
|
6299
|
-
input.UserTokenConfigurations !== null && {
|
|
6424
|
+
})), (input.UserTokenConfigurations != null && {
|
|
6300
6425
|
UserTokenConfigurations: serializeAws_json1_1UserTokenConfigurationList(input.UserTokenConfigurations, context),
|
|
6301
6426
|
}));
|
|
6302
6427
|
};
|
|
6303
6428
|
var serializeAws_json1_1UpdateQuerySuggestionsBlockListRequest = function (input, context) {
|
|
6304
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6305
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6429
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6306
6430
|
};
|
|
6307
6431
|
var serializeAws_json1_1UpdateQuerySuggestionsConfigRequest = function (input, context) {
|
|
6308
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IncludeQueriesWithoutUserInformation
|
|
6309
|
-
input.IncludeQueriesWithoutUserInformation !== null && {
|
|
6432
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IncludeQueriesWithoutUserInformation != null && {
|
|
6310
6433
|
IncludeQueriesWithoutUserInformation: input.IncludeQueriesWithoutUserInformation,
|
|
6311
|
-
})), (input.IndexId
|
|
6312
|
-
input.MinimumNumberOfQueryingUsers !== null && {
|
|
6434
|
+
})), (input.IndexId != null && { IndexId: input.IndexId })), (input.MinimumNumberOfQueryingUsers != null && {
|
|
6313
6435
|
MinimumNumberOfQueryingUsers: input.MinimumNumberOfQueryingUsers,
|
|
6314
|
-
})), (input.MinimumQueryCount
|
|
6315
|
-
input.MinimumQueryCount !== null && { MinimumQueryCount: input.MinimumQueryCount })), (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.QueryLogLookBackWindowInDays !== undefined &&
|
|
6316
|
-
input.QueryLogLookBackWindowInDays !== null && {
|
|
6436
|
+
})), (input.MinimumQueryCount != null && { MinimumQueryCount: input.MinimumQueryCount })), (input.Mode != null && { Mode: input.Mode })), (input.QueryLogLookBackWindowInDays != null && {
|
|
6317
6437
|
QueryLogLookBackWindowInDays: input.QueryLogLookBackWindowInDays,
|
|
6318
6438
|
}));
|
|
6319
6439
|
};
|
|
6320
6440
|
var serializeAws_json1_1UpdateThesaurusRequest = function (input, context) {
|
|
6321
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6322
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6441
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6323
6442
|
};
|
|
6324
6443
|
var serializeAws_json1_1Urls = function (input, context) {
|
|
6325
|
-
return __assign(__assign({}, (input.SeedUrlConfiguration
|
|
6326
|
-
input.SeedUrlConfiguration !== null && {
|
|
6444
|
+
return __assign(__assign({}, (input.SeedUrlConfiguration != null && {
|
|
6327
6445
|
SeedUrlConfiguration: serializeAws_json1_1SeedUrlConfiguration(input.SeedUrlConfiguration, context),
|
|
6328
|
-
})), (input.SiteMapsConfiguration
|
|
6329
|
-
input.SiteMapsConfiguration !== null && {
|
|
6446
|
+
})), (input.SiteMapsConfiguration != null && {
|
|
6330
6447
|
SiteMapsConfiguration: serializeAws_json1_1SiteMapsConfiguration(input.SiteMapsConfiguration, context),
|
|
6331
6448
|
}));
|
|
6332
6449
|
};
|
|
6333
6450
|
var serializeAws_json1_1UserContext = function (input, context) {
|
|
6334
|
-
return __assign(__assign(__assign(__assign({}, (input.DataSourceGroups
|
|
6335
|
-
input.DataSourceGroups !== null && {
|
|
6451
|
+
return __assign(__assign(__assign(__assign({}, (input.DataSourceGroups != null && {
|
|
6336
6452
|
DataSourceGroups: serializeAws_json1_1DataSourceGroups(input.DataSourceGroups, context),
|
|
6337
|
-
})), (input.Groups
|
|
6338
|
-
input.Groups !== null && { Groups: serializeAws_json1_1Groups(input.Groups, context) })), (input.Token !== undefined && input.Token !== null && { Token: input.Token })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
6453
|
+
})), (input.Groups != null && { Groups: serializeAws_json1_1Groups(input.Groups, context) })), (input.Token != null && { Token: input.Token })), (input.UserId != null && { UserId: input.UserId }));
|
|
6339
6454
|
};
|
|
6340
6455
|
var serializeAws_json1_1UserGroupResolutionConfiguration = function (input, context) {
|
|
6341
|
-
return __assign({}, (input.UserGroupResolutionMode
|
|
6342
|
-
input.UserGroupResolutionMode !== null && { UserGroupResolutionMode: input.UserGroupResolutionMode }));
|
|
6456
|
+
return __assign({}, (input.UserGroupResolutionMode != null && { UserGroupResolutionMode: input.UserGroupResolutionMode }));
|
|
6343
6457
|
};
|
|
6344
6458
|
var serializeAws_json1_1UserIdentityConfiguration = function (input, context) {
|
|
6345
|
-
return __assign({}, (input.IdentityAttributeName
|
|
6346
|
-
input.IdentityAttributeName !== null && { IdentityAttributeName: input.IdentityAttributeName }));
|
|
6459
|
+
return __assign({}, (input.IdentityAttributeName != null && { IdentityAttributeName: input.IdentityAttributeName }));
|
|
6347
6460
|
};
|
|
6348
6461
|
var serializeAws_json1_1UserTokenConfiguration = function (input, context) {
|
|
6349
|
-
return __assign(__assign({}, (input.JsonTokenTypeConfiguration
|
|
6350
|
-
input.JsonTokenTypeConfiguration !== null && {
|
|
6462
|
+
return __assign(__assign({}, (input.JsonTokenTypeConfiguration != null && {
|
|
6351
6463
|
JsonTokenTypeConfiguration: serializeAws_json1_1JsonTokenTypeConfiguration(input.JsonTokenTypeConfiguration, context),
|
|
6352
|
-
})), (input.JwtTokenTypeConfiguration
|
|
6353
|
-
input.JwtTokenTypeConfiguration !== null && {
|
|
6464
|
+
})), (input.JwtTokenTypeConfiguration != null && {
|
|
6354
6465
|
JwtTokenTypeConfiguration: serializeAws_json1_1JwtTokenTypeConfiguration(input.JwtTokenTypeConfiguration, context),
|
|
6355
6466
|
}));
|
|
6356
6467
|
};
|
|
@@ -6375,37 +6486,42 @@ var serializeAws_json1_1ValueImportanceMap = function (input, context) {
|
|
|
6375
6486
|
}, {});
|
|
6376
6487
|
};
|
|
6377
6488
|
var serializeAws_json1_1WebCrawlerConfiguration = function (input, context) {
|
|
6378
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration
|
|
6379
|
-
input.AuthenticationConfiguration !== null && {
|
|
6489
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration != null && {
|
|
6380
6490
|
AuthenticationConfiguration: serializeAws_json1_1AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
6381
|
-
})), (input.CrawlDepth
|
|
6382
|
-
input.MaxContentSizePerPageInMegaBytes !== null && {
|
|
6491
|
+
})), (input.CrawlDepth != null && { CrawlDepth: input.CrawlDepth })), (input.MaxContentSizePerPageInMegaBytes != null && {
|
|
6383
6492
|
MaxContentSizePerPageInMegaBytes: __serializeFloat(input.MaxContentSizePerPageInMegaBytes),
|
|
6384
|
-
})), (input.MaxLinksPerPage
|
|
6385
|
-
input.MaxLinksPerPage !== null && { MaxLinksPerPage: input.MaxLinksPerPage })), (input.MaxUrlsPerMinuteCrawlRate !== undefined &&
|
|
6386
|
-
input.MaxUrlsPerMinuteCrawlRate !== null && { MaxUrlsPerMinuteCrawlRate: input.MaxUrlsPerMinuteCrawlRate })), (input.ProxyConfiguration !== undefined &&
|
|
6387
|
-
input.ProxyConfiguration !== null && {
|
|
6493
|
+
})), (input.MaxLinksPerPage != null && { MaxLinksPerPage: input.MaxLinksPerPage })), (input.MaxUrlsPerMinuteCrawlRate != null && { MaxUrlsPerMinuteCrawlRate: input.MaxUrlsPerMinuteCrawlRate })), (input.ProxyConfiguration != null && {
|
|
6388
6494
|
ProxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.ProxyConfiguration, context),
|
|
6389
|
-
})), (input.UrlExclusionPatterns
|
|
6390
|
-
input.UrlExclusionPatterns !== null && {
|
|
6495
|
+
})), (input.UrlExclusionPatterns != null && {
|
|
6391
6496
|
UrlExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.UrlExclusionPatterns, context),
|
|
6392
|
-
})), (input.UrlInclusionPatterns
|
|
6393
|
-
input.UrlInclusionPatterns !== null && {
|
|
6497
|
+
})), (input.UrlInclusionPatterns != null && {
|
|
6394
6498
|
UrlInclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.UrlInclusionPatterns, context),
|
|
6395
|
-
})), (input.Urls
|
|
6499
|
+
})), (input.Urls != null && { Urls: serializeAws_json1_1Urls(input.Urls, context) }));
|
|
6396
6500
|
};
|
|
6397
6501
|
var serializeAws_json1_1WorkDocsConfiguration = function (input, context) {
|
|
6398
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlComments
|
|
6399
|
-
input.ExclusionPatterns !== null && {
|
|
6502
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlComments != null && { CrawlComments: input.CrawlComments })), (input.ExclusionPatterns != null && {
|
|
6400
6503
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6401
|
-
})), (input.FieldMappings
|
|
6402
|
-
input.FieldMappings !== null && {
|
|
6504
|
+
})), (input.FieldMappings != null && {
|
|
6403
6505
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6404
|
-
})), (input.InclusionPatterns
|
|
6405
|
-
input.InclusionPatterns !== null && {
|
|
6506
|
+
})), (input.InclusionPatterns != null && {
|
|
6406
6507
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6407
|
-
})), (input.OrganizationId
|
|
6408
|
-
|
|
6508
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog }));
|
|
6509
|
+
};
|
|
6510
|
+
var deserializeAws_json1_1AccessControlConfigurationSummary = function (output, context) {
|
|
6511
|
+
return {
|
|
6512
|
+
Id: __expectString(output.Id),
|
|
6513
|
+
};
|
|
6514
|
+
};
|
|
6515
|
+
var deserializeAws_json1_1AccessControlConfigurationSummaryList = function (output, context) {
|
|
6516
|
+
var retVal = (output || [])
|
|
6517
|
+
.filter(function (e) { return e != null; })
|
|
6518
|
+
.map(function (entry) {
|
|
6519
|
+
if (entry === null) {
|
|
6520
|
+
return null;
|
|
6521
|
+
}
|
|
6522
|
+
return deserializeAws_json1_1AccessControlConfigurationSummary(entry, context);
|
|
6523
|
+
});
|
|
6524
|
+
return retVal;
|
|
6409
6525
|
};
|
|
6410
6526
|
var deserializeAws_json1_1AccessControlListConfiguration = function (output, context) {
|
|
6411
6527
|
return {
|
|
@@ -6425,9 +6541,7 @@ var deserializeAws_json1_1AclConfiguration = function (output, context) {
|
|
|
6425
6541
|
var deserializeAws_json1_1AdditionalResultAttribute = function (output, context) {
|
|
6426
6542
|
return {
|
|
6427
6543
|
Key: __expectString(output.Key),
|
|
6428
|
-
Value: output.Value
|
|
6429
|
-
? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context)
|
|
6430
|
-
: undefined,
|
|
6544
|
+
Value: output.Value != null ? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context) : undefined,
|
|
6431
6545
|
ValueType: __expectString(output.ValueType),
|
|
6432
6546
|
};
|
|
6433
6547
|
};
|
|
@@ -6444,40 +6558,38 @@ var deserializeAws_json1_1AdditionalResultAttributeList = function (output, cont
|
|
|
6444
6558
|
};
|
|
6445
6559
|
var deserializeAws_json1_1AdditionalResultAttributeValue = function (output, context) {
|
|
6446
6560
|
return {
|
|
6447
|
-
TextWithHighlightsValue: output.TextWithHighlightsValue
|
|
6561
|
+
TextWithHighlightsValue: output.TextWithHighlightsValue != null
|
|
6448
6562
|
? deserializeAws_json1_1TextWithHighlights(output.TextWithHighlightsValue, context)
|
|
6449
6563
|
: undefined,
|
|
6450
6564
|
};
|
|
6451
6565
|
};
|
|
6452
6566
|
var deserializeAws_json1_1AlfrescoConfiguration = function (output, context) {
|
|
6453
6567
|
return {
|
|
6454
|
-
BlogFieldMappings: output.BlogFieldMappings
|
|
6568
|
+
BlogFieldMappings: output.BlogFieldMappings != null
|
|
6455
6569
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.BlogFieldMappings, context)
|
|
6456
6570
|
: undefined,
|
|
6457
6571
|
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
6458
6572
|
CrawlSystemFolders: __expectBoolean(output.CrawlSystemFolders),
|
|
6459
|
-
DocumentLibraryFieldMappings: output.DocumentLibraryFieldMappings
|
|
6573
|
+
DocumentLibraryFieldMappings: output.DocumentLibraryFieldMappings != null
|
|
6460
6574
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.DocumentLibraryFieldMappings, context)
|
|
6461
6575
|
: undefined,
|
|
6462
|
-
EntityFilter: output.EntityFilter
|
|
6463
|
-
|
|
6464
|
-
: undefined,
|
|
6465
|
-
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
6576
|
+
EntityFilter: output.EntityFilter != null ? deserializeAws_json1_1EntityFilter(output.EntityFilter, context) : undefined,
|
|
6577
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
6466
6578
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6467
6579
|
: undefined,
|
|
6468
|
-
InclusionPatterns: output.InclusionPatterns
|
|
6580
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
6469
6581
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6470
6582
|
: undefined,
|
|
6471
6583
|
SecretArn: __expectString(output.SecretArn),
|
|
6472
6584
|
SiteId: __expectString(output.SiteId),
|
|
6473
6585
|
SiteUrl: __expectString(output.SiteUrl),
|
|
6474
|
-
SslCertificateS3Path: output.SslCertificateS3Path
|
|
6586
|
+
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
6475
6587
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
6476
6588
|
: undefined,
|
|
6477
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6589
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6478
6590
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6479
6591
|
: undefined,
|
|
6480
|
-
WikiFieldMappings: output.WikiFieldMappings
|
|
6592
|
+
WikiFieldMappings: output.WikiFieldMappings != null
|
|
6481
6593
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WikiFieldMappings, context)
|
|
6482
6594
|
: undefined,
|
|
6483
6595
|
};
|
|
@@ -6495,21 +6607,21 @@ var deserializeAws_json1_1AssociateEntitiesToExperienceFailedEntityList = functi
|
|
|
6495
6607
|
};
|
|
6496
6608
|
var deserializeAws_json1_1AssociateEntitiesToExperienceResponse = function (output, context) {
|
|
6497
6609
|
return {
|
|
6498
|
-
FailedEntityList: output.FailedEntityList
|
|
6610
|
+
FailedEntityList: output.FailedEntityList != null
|
|
6499
6611
|
? deserializeAws_json1_1AssociateEntitiesToExperienceFailedEntityList(output.FailedEntityList, context)
|
|
6500
6612
|
: undefined,
|
|
6501
6613
|
};
|
|
6502
6614
|
};
|
|
6503
6615
|
var deserializeAws_json1_1AssociatePersonasToEntitiesResponse = function (output, context) {
|
|
6504
6616
|
return {
|
|
6505
|
-
FailedEntityList: output.FailedEntityList
|
|
6617
|
+
FailedEntityList: output.FailedEntityList != null
|
|
6506
6618
|
? deserializeAws_json1_1FailedEntityList(output.FailedEntityList, context)
|
|
6507
6619
|
: undefined,
|
|
6508
6620
|
};
|
|
6509
6621
|
};
|
|
6510
6622
|
var deserializeAws_json1_1AuthenticationConfiguration = function (output, context) {
|
|
6511
6623
|
return {
|
|
6512
|
-
BasicAuthentication: output.BasicAuthentication
|
|
6624
|
+
BasicAuthentication: output.BasicAuthentication != null
|
|
6513
6625
|
? deserializeAws_json1_1BasicAuthenticationConfigurationList(output.BasicAuthentication, context)
|
|
6514
6626
|
: undefined,
|
|
6515
6627
|
};
|
|
@@ -6534,7 +6646,7 @@ var deserializeAws_json1_1BasicAuthenticationConfigurationList = function (outpu
|
|
|
6534
6646
|
};
|
|
6535
6647
|
var deserializeAws_json1_1BatchDeleteDocumentResponse = function (output, context) {
|
|
6536
6648
|
return {
|
|
6537
|
-
FailedDocuments: output.FailedDocuments
|
|
6649
|
+
FailedDocuments: output.FailedDocuments != null
|
|
6538
6650
|
? deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments(output.FailedDocuments, context)
|
|
6539
6651
|
: undefined,
|
|
6540
6652
|
};
|
|
@@ -6559,10 +6671,10 @@ var deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments = function
|
|
|
6559
6671
|
};
|
|
6560
6672
|
var deserializeAws_json1_1BatchGetDocumentStatusResponse = function (output, context) {
|
|
6561
6673
|
return {
|
|
6562
|
-
DocumentStatusList: output.DocumentStatusList
|
|
6674
|
+
DocumentStatusList: output.DocumentStatusList != null
|
|
6563
6675
|
? deserializeAws_json1_1DocumentStatusList(output.DocumentStatusList, context)
|
|
6564
6676
|
: undefined,
|
|
6565
|
-
Errors: output.Errors
|
|
6677
|
+
Errors: output.Errors != null
|
|
6566
6678
|
? deserializeAws_json1_1BatchGetDocumentStatusResponseErrors(output.Errors, context)
|
|
6567
6679
|
: undefined,
|
|
6568
6680
|
};
|
|
@@ -6587,7 +6699,7 @@ var deserializeAws_json1_1BatchGetDocumentStatusResponseErrors = function (outpu
|
|
|
6587
6699
|
};
|
|
6588
6700
|
var deserializeAws_json1_1BatchPutDocumentResponse = function (output, context) {
|
|
6589
6701
|
return {
|
|
6590
|
-
FailedDocuments: output.FailedDocuments
|
|
6702
|
+
FailedDocuments: output.FailedDocuments != null
|
|
6591
6703
|
? deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments(output.FailedDocuments, context)
|
|
6592
6704
|
: undefined,
|
|
6593
6705
|
};
|
|
@@ -6612,31 +6724,31 @@ var deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = function (ou
|
|
|
6612
6724
|
};
|
|
6613
6725
|
var deserializeAws_json1_1BoxConfiguration = function (output, context) {
|
|
6614
6726
|
return {
|
|
6615
|
-
CommentFieldMappings: output.CommentFieldMappings
|
|
6727
|
+
CommentFieldMappings: output.CommentFieldMappings != null
|
|
6616
6728
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
6617
6729
|
: undefined,
|
|
6618
6730
|
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
6619
6731
|
CrawlTasks: __expectBoolean(output.CrawlTasks),
|
|
6620
6732
|
CrawlWebLinks: __expectBoolean(output.CrawlWebLinks),
|
|
6621
6733
|
EnterpriseId: __expectString(output.EnterpriseId),
|
|
6622
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
6734
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
6623
6735
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6624
6736
|
: undefined,
|
|
6625
|
-
FileFieldMappings: output.FileFieldMappings
|
|
6737
|
+
FileFieldMappings: output.FileFieldMappings != null
|
|
6626
6738
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FileFieldMappings, context)
|
|
6627
6739
|
: undefined,
|
|
6628
|
-
InclusionPatterns: output.InclusionPatterns
|
|
6740
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
6629
6741
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6630
6742
|
: undefined,
|
|
6631
6743
|
SecretArn: __expectString(output.SecretArn),
|
|
6632
|
-
TaskFieldMappings: output.TaskFieldMappings
|
|
6744
|
+
TaskFieldMappings: output.TaskFieldMappings != null
|
|
6633
6745
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.TaskFieldMappings, context)
|
|
6634
6746
|
: undefined,
|
|
6635
6747
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
6636
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6748
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6637
6749
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6638
6750
|
: undefined,
|
|
6639
|
-
WebLinkFieldMappings: output.WebLinkFieldMappings
|
|
6751
|
+
WebLinkFieldMappings: output.WebLinkFieldMappings != null
|
|
6640
6752
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WebLinkFieldMappings, context)
|
|
6641
6753
|
: undefined,
|
|
6642
6754
|
};
|
|
@@ -6660,13 +6772,13 @@ var deserializeAws_json1_1ChangeDetectingColumns = function (output, context) {
|
|
|
6660
6772
|
};
|
|
6661
6773
|
var deserializeAws_json1_1ColumnConfiguration = function (output, context) {
|
|
6662
6774
|
return {
|
|
6663
|
-
ChangeDetectingColumns: output.ChangeDetectingColumns
|
|
6775
|
+
ChangeDetectingColumns: output.ChangeDetectingColumns != null
|
|
6664
6776
|
? deserializeAws_json1_1ChangeDetectingColumns(output.ChangeDetectingColumns, context)
|
|
6665
6777
|
: undefined,
|
|
6666
6778
|
DocumentDataColumnName: __expectString(output.DocumentDataColumnName),
|
|
6667
6779
|
DocumentIdColumnName: __expectString(output.DocumentIdColumnName),
|
|
6668
6780
|
DocumentTitleColumnName: __expectString(output.DocumentTitleColumnName),
|
|
6669
|
-
FieldMappings: output.FieldMappings
|
|
6781
|
+
FieldMappings: output.FieldMappings != null
|
|
6670
6782
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
6671
6783
|
: undefined,
|
|
6672
6784
|
};
|
|
@@ -6678,7 +6790,7 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
6678
6790
|
};
|
|
6679
6791
|
var deserializeAws_json1_1ConfluenceAttachmentConfiguration = function (output, context) {
|
|
6680
6792
|
return {
|
|
6681
|
-
AttachmentFieldMappings: output.AttachmentFieldMappings
|
|
6793
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings != null
|
|
6682
6794
|
? deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList(output.AttachmentFieldMappings, context)
|
|
6683
6795
|
: undefined,
|
|
6684
6796
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
@@ -6704,7 +6816,7 @@ var deserializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = function (ou
|
|
|
6704
6816
|
};
|
|
6705
6817
|
var deserializeAws_json1_1ConfluenceBlogConfiguration = function (output, context) {
|
|
6706
6818
|
return {
|
|
6707
|
-
BlogFieldMappings: output.BlogFieldMappings
|
|
6819
|
+
BlogFieldMappings: output.BlogFieldMappings != null
|
|
6708
6820
|
? deserializeAws_json1_1ConfluenceBlogFieldMappingsList(output.BlogFieldMappings, context)
|
|
6709
6821
|
: undefined,
|
|
6710
6822
|
};
|
|
@@ -6729,35 +6841,35 @@ var deserializeAws_json1_1ConfluenceBlogToIndexFieldMapping = function (output,
|
|
|
6729
6841
|
};
|
|
6730
6842
|
var deserializeAws_json1_1ConfluenceConfiguration = function (output, context) {
|
|
6731
6843
|
return {
|
|
6732
|
-
AttachmentConfiguration: output.AttachmentConfiguration
|
|
6844
|
+
AttachmentConfiguration: output.AttachmentConfiguration != null
|
|
6733
6845
|
? deserializeAws_json1_1ConfluenceAttachmentConfiguration(output.AttachmentConfiguration, context)
|
|
6734
6846
|
: undefined,
|
|
6735
|
-
BlogConfiguration: output.BlogConfiguration
|
|
6847
|
+
BlogConfiguration: output.BlogConfiguration != null
|
|
6736
6848
|
? deserializeAws_json1_1ConfluenceBlogConfiguration(output.BlogConfiguration, context)
|
|
6737
6849
|
: undefined,
|
|
6738
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
6850
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
6739
6851
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6740
6852
|
: undefined,
|
|
6741
|
-
InclusionPatterns: output.InclusionPatterns
|
|
6853
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
6742
6854
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6743
6855
|
: undefined,
|
|
6744
|
-
PageConfiguration: output.PageConfiguration
|
|
6856
|
+
PageConfiguration: output.PageConfiguration != null
|
|
6745
6857
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
6746
6858
|
: undefined,
|
|
6747
6859
|
SecretArn: __expectString(output.SecretArn),
|
|
6748
6860
|
ServerUrl: __expectString(output.ServerUrl),
|
|
6749
|
-
SpaceConfiguration: output.SpaceConfiguration
|
|
6861
|
+
SpaceConfiguration: output.SpaceConfiguration != null
|
|
6750
6862
|
? deserializeAws_json1_1ConfluenceSpaceConfiguration(output.SpaceConfiguration, context)
|
|
6751
6863
|
: undefined,
|
|
6752
6864
|
Version: __expectString(output.Version),
|
|
6753
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6865
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6754
6866
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6755
6867
|
: undefined,
|
|
6756
6868
|
};
|
|
6757
6869
|
};
|
|
6758
6870
|
var deserializeAws_json1_1ConfluencePageConfiguration = function (output, context) {
|
|
6759
6871
|
return {
|
|
6760
|
-
PageFieldMappings: output.PageFieldMappings
|
|
6872
|
+
PageFieldMappings: output.PageFieldMappings != null
|
|
6761
6873
|
? deserializeAws_json1_1ConfluencePageFieldMappingsList(output.PageFieldMappings, context)
|
|
6762
6874
|
: undefined,
|
|
6763
6875
|
};
|
|
@@ -6784,13 +6896,13 @@ var deserializeAws_json1_1ConfluenceSpaceConfiguration = function (output, conte
|
|
|
6784
6896
|
return {
|
|
6785
6897
|
CrawlArchivedSpaces: __expectBoolean(output.CrawlArchivedSpaces),
|
|
6786
6898
|
CrawlPersonalSpaces: __expectBoolean(output.CrawlPersonalSpaces),
|
|
6787
|
-
ExcludeSpaces: output.ExcludeSpaces
|
|
6899
|
+
ExcludeSpaces: output.ExcludeSpaces != null
|
|
6788
6900
|
? deserializeAws_json1_1ConfluenceSpaceList(output.ExcludeSpaces, context)
|
|
6789
6901
|
: undefined,
|
|
6790
|
-
IncludeSpaces: output.IncludeSpaces
|
|
6902
|
+
IncludeSpaces: output.IncludeSpaces != null
|
|
6791
6903
|
? deserializeAws_json1_1ConfluenceSpaceList(output.IncludeSpaces, context)
|
|
6792
6904
|
: undefined,
|
|
6793
|
-
SpaceFieldMappings: output.SpaceFieldMappings
|
|
6905
|
+
SpaceFieldMappings: output.SpaceFieldMappings != null
|
|
6794
6906
|
? deserializeAws_json1_1ConfluenceSpaceFieldMappingsList(output.SpaceFieldMappings, context)
|
|
6795
6907
|
: undefined,
|
|
6796
6908
|
};
|
|
@@ -6835,13 +6947,9 @@ var deserializeAws_json1_1ConnectionConfiguration = function (output, context) {
|
|
|
6835
6947
|
};
|
|
6836
6948
|
var deserializeAws_json1_1ContentSourceConfiguration = function (output, context) {
|
|
6837
6949
|
return {
|
|
6838
|
-
DataSourceIds: output.DataSourceIds
|
|
6839
|
-
? deserializeAws_json1_1DataSourceIdList(output.DataSourceIds, context)
|
|
6840
|
-
: undefined,
|
|
6950
|
+
DataSourceIds: output.DataSourceIds != null ? deserializeAws_json1_1DataSourceIdList(output.DataSourceIds, context) : undefined,
|
|
6841
6951
|
DirectPutContent: __expectBoolean(output.DirectPutContent),
|
|
6842
|
-
FaqIds: output.FaqIds
|
|
6843
|
-
? deserializeAws_json1_1FaqIdsList(output.FaqIds, context)
|
|
6844
|
-
: undefined,
|
|
6952
|
+
FaqIds: output.FaqIds != null ? deserializeAws_json1_1FaqIdsList(output.FaqIds, context) : undefined,
|
|
6845
6953
|
};
|
|
6846
6954
|
};
|
|
6847
6955
|
var deserializeAws_json1_1Correction = function (output, context) {
|
|
@@ -6863,6 +6971,11 @@ var deserializeAws_json1_1CorrectionList = function (output, context) {
|
|
|
6863
6971
|
});
|
|
6864
6972
|
return retVal;
|
|
6865
6973
|
};
|
|
6974
|
+
var deserializeAws_json1_1CreateAccessControlConfigurationResponse = function (output, context) {
|
|
6975
|
+
return {
|
|
6976
|
+
Id: __expectString(output.Id),
|
|
6977
|
+
};
|
|
6978
|
+
};
|
|
6866
6979
|
var deserializeAws_json1_1CreateDataSourceResponse = function (output, context) {
|
|
6867
6980
|
return {
|
|
6868
6981
|
Id: __expectString(output.Id),
|
|
@@ -6895,13 +7008,13 @@ var deserializeAws_json1_1CreateThesaurusResponse = function (output, context) {
|
|
|
6895
7008
|
};
|
|
6896
7009
|
var deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = function (output, context) {
|
|
6897
7010
|
return {
|
|
6898
|
-
InlineConfigurations: output.InlineConfigurations
|
|
7011
|
+
InlineConfigurations: output.InlineConfigurations != null
|
|
6899
7012
|
? deserializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList(output.InlineConfigurations, context)
|
|
6900
7013
|
: undefined,
|
|
6901
|
-
PostExtractionHookConfiguration: output.PostExtractionHookConfiguration
|
|
7014
|
+
PostExtractionHookConfiguration: output.PostExtractionHookConfiguration != null
|
|
6902
7015
|
? deserializeAws_json1_1HookConfiguration(output.PostExtractionHookConfiguration, context)
|
|
6903
7016
|
: undefined,
|
|
6904
|
-
PreExtractionHookConfiguration: output.PreExtractionHookConfiguration
|
|
7017
|
+
PreExtractionHookConfiguration: output.PreExtractionHookConfiguration != null
|
|
6905
7018
|
? deserializeAws_json1_1HookConfiguration(output.PreExtractionHookConfiguration, context)
|
|
6906
7019
|
: undefined,
|
|
6907
7020
|
RoleArn: __expectString(output.RoleArn),
|
|
@@ -6909,75 +7022,75 @@ var deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = function (outp
|
|
|
6909
7022
|
};
|
|
6910
7023
|
var deserializeAws_json1_1DatabaseConfiguration = function (output, context) {
|
|
6911
7024
|
return {
|
|
6912
|
-
AclConfiguration: output.AclConfiguration
|
|
7025
|
+
AclConfiguration: output.AclConfiguration != null
|
|
6913
7026
|
? deserializeAws_json1_1AclConfiguration(output.AclConfiguration, context)
|
|
6914
7027
|
: undefined,
|
|
6915
|
-
ColumnConfiguration: output.ColumnConfiguration
|
|
7028
|
+
ColumnConfiguration: output.ColumnConfiguration != null
|
|
6916
7029
|
? deserializeAws_json1_1ColumnConfiguration(output.ColumnConfiguration, context)
|
|
6917
7030
|
: undefined,
|
|
6918
|
-
ConnectionConfiguration: output.ConnectionConfiguration
|
|
7031
|
+
ConnectionConfiguration: output.ConnectionConfiguration != null
|
|
6919
7032
|
? deserializeAws_json1_1ConnectionConfiguration(output.ConnectionConfiguration, context)
|
|
6920
7033
|
: undefined,
|
|
6921
7034
|
DatabaseEngineType: __expectString(output.DatabaseEngineType),
|
|
6922
|
-
SqlConfiguration: output.SqlConfiguration
|
|
7035
|
+
SqlConfiguration: output.SqlConfiguration != null
|
|
6923
7036
|
? deserializeAws_json1_1SqlConfiguration(output.SqlConfiguration, context)
|
|
6924
7037
|
: undefined,
|
|
6925
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7038
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6926
7039
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6927
7040
|
: undefined,
|
|
6928
7041
|
};
|
|
6929
7042
|
};
|
|
6930
7043
|
var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
6931
7044
|
return {
|
|
6932
|
-
AlfrescoConfiguration: output.AlfrescoConfiguration
|
|
7045
|
+
AlfrescoConfiguration: output.AlfrescoConfiguration != null
|
|
6933
7046
|
? deserializeAws_json1_1AlfrescoConfiguration(output.AlfrescoConfiguration, context)
|
|
6934
7047
|
: undefined,
|
|
6935
|
-
BoxConfiguration: output.BoxConfiguration
|
|
7048
|
+
BoxConfiguration: output.BoxConfiguration != null
|
|
6936
7049
|
? deserializeAws_json1_1BoxConfiguration(output.BoxConfiguration, context)
|
|
6937
7050
|
: undefined,
|
|
6938
|
-
ConfluenceConfiguration: output.ConfluenceConfiguration
|
|
7051
|
+
ConfluenceConfiguration: output.ConfluenceConfiguration != null
|
|
6939
7052
|
? deserializeAws_json1_1ConfluenceConfiguration(output.ConfluenceConfiguration, context)
|
|
6940
7053
|
: undefined,
|
|
6941
|
-
DatabaseConfiguration: output.DatabaseConfiguration
|
|
7054
|
+
DatabaseConfiguration: output.DatabaseConfiguration != null
|
|
6942
7055
|
? deserializeAws_json1_1DatabaseConfiguration(output.DatabaseConfiguration, context)
|
|
6943
7056
|
: undefined,
|
|
6944
|
-
FsxConfiguration: output.FsxConfiguration
|
|
7057
|
+
FsxConfiguration: output.FsxConfiguration != null
|
|
6945
7058
|
? deserializeAws_json1_1FsxConfiguration(output.FsxConfiguration, context)
|
|
6946
7059
|
: undefined,
|
|
6947
|
-
GitHubConfiguration: output.GitHubConfiguration
|
|
7060
|
+
GitHubConfiguration: output.GitHubConfiguration != null
|
|
6948
7061
|
? deserializeAws_json1_1GitHubConfiguration(output.GitHubConfiguration, context)
|
|
6949
7062
|
: undefined,
|
|
6950
|
-
GoogleDriveConfiguration: output.GoogleDriveConfiguration
|
|
7063
|
+
GoogleDriveConfiguration: output.GoogleDriveConfiguration != null
|
|
6951
7064
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
6952
7065
|
: undefined,
|
|
6953
|
-
JiraConfiguration: output.JiraConfiguration
|
|
7066
|
+
JiraConfiguration: output.JiraConfiguration != null
|
|
6954
7067
|
? deserializeAws_json1_1JiraConfiguration(output.JiraConfiguration, context)
|
|
6955
7068
|
: undefined,
|
|
6956
|
-
OneDriveConfiguration: output.OneDriveConfiguration
|
|
7069
|
+
OneDriveConfiguration: output.OneDriveConfiguration != null
|
|
6957
7070
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6958
7071
|
: undefined,
|
|
6959
|
-
QuipConfiguration: output.QuipConfiguration
|
|
7072
|
+
QuipConfiguration: output.QuipConfiguration != null
|
|
6960
7073
|
? deserializeAws_json1_1QuipConfiguration(output.QuipConfiguration, context)
|
|
6961
7074
|
: undefined,
|
|
6962
|
-
S3Configuration: output.S3Configuration
|
|
7075
|
+
S3Configuration: output.S3Configuration != null
|
|
6963
7076
|
? deserializeAws_json1_1S3DataSourceConfiguration(output.S3Configuration, context)
|
|
6964
7077
|
: undefined,
|
|
6965
|
-
SalesforceConfiguration: output.SalesforceConfiguration
|
|
7078
|
+
SalesforceConfiguration: output.SalesforceConfiguration != null
|
|
6966
7079
|
? deserializeAws_json1_1SalesforceConfiguration(output.SalesforceConfiguration, context)
|
|
6967
7080
|
: undefined,
|
|
6968
|
-
ServiceNowConfiguration: output.ServiceNowConfiguration
|
|
7081
|
+
ServiceNowConfiguration: output.ServiceNowConfiguration != null
|
|
6969
7082
|
? deserializeAws_json1_1ServiceNowConfiguration(output.ServiceNowConfiguration, context)
|
|
6970
7083
|
: undefined,
|
|
6971
|
-
SharePointConfiguration: output.SharePointConfiguration
|
|
7084
|
+
SharePointConfiguration: output.SharePointConfiguration != null
|
|
6972
7085
|
? deserializeAws_json1_1SharePointConfiguration(output.SharePointConfiguration, context)
|
|
6973
7086
|
: undefined,
|
|
6974
|
-
SlackConfiguration: output.SlackConfiguration
|
|
7087
|
+
SlackConfiguration: output.SlackConfiguration != null
|
|
6975
7088
|
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6976
7089
|
: undefined,
|
|
6977
|
-
WebCrawlerConfiguration: output.WebCrawlerConfiguration
|
|
7090
|
+
WebCrawlerConfiguration: output.WebCrawlerConfiguration != null
|
|
6978
7091
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
6979
7092
|
: undefined,
|
|
6980
|
-
WorkDocsConfiguration: output.WorkDocsConfiguration
|
|
7093
|
+
WorkDocsConfiguration: output.WorkDocsConfiguration != null
|
|
6981
7094
|
? deserializeAws_json1_1WorkDocsConfiguration(output.WorkDocsConfiguration, context)
|
|
6982
7095
|
: undefined,
|
|
6983
7096
|
};
|
|
@@ -7006,17 +7119,13 @@ var deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = function (outp
|
|
|
7006
7119
|
};
|
|
7007
7120
|
var deserializeAws_json1_1DataSourceSummary = function (output, context) {
|
|
7008
7121
|
return {
|
|
7009
|
-
CreatedAt: output.CreatedAt
|
|
7010
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7011
|
-
: undefined,
|
|
7122
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7012
7123
|
Id: __expectString(output.Id),
|
|
7013
7124
|
LanguageCode: __expectString(output.LanguageCode),
|
|
7014
7125
|
Name: __expectString(output.Name),
|
|
7015
7126
|
Status: __expectString(output.Status),
|
|
7016
7127
|
Type: __expectString(output.Type),
|
|
7017
|
-
UpdatedAt: output.UpdatedAt
|
|
7018
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7019
|
-
: undefined,
|
|
7128
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7020
7129
|
};
|
|
7021
7130
|
};
|
|
7022
7131
|
var deserializeAws_json1_1DataSourceSummaryList = function (output, context) {
|
|
@@ -7033,18 +7142,12 @@ var deserializeAws_json1_1DataSourceSummaryList = function (output, context) {
|
|
|
7033
7142
|
var deserializeAws_json1_1DataSourceSyncJob = function (output, context) {
|
|
7034
7143
|
return {
|
|
7035
7144
|
DataSourceErrorCode: __expectString(output.DataSourceErrorCode),
|
|
7036
|
-
EndTime: output.EndTime
|
|
7037
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
7038
|
-
: undefined,
|
|
7145
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
7039
7146
|
ErrorCode: __expectString(output.ErrorCode),
|
|
7040
7147
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7041
7148
|
ExecutionId: __expectString(output.ExecutionId),
|
|
7042
|
-
Metrics: output.Metrics
|
|
7043
|
-
|
|
7044
|
-
: undefined,
|
|
7045
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
7046
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
7047
|
-
: undefined,
|
|
7149
|
+
Metrics: output.Metrics != null ? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context) : undefined,
|
|
7150
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
7048
7151
|
Status: __expectString(output.Status),
|
|
7049
7152
|
};
|
|
7050
7153
|
};
|
|
@@ -7088,27 +7191,38 @@ var deserializeAws_json1_1DataSourceToIndexFieldMappingList = function (output,
|
|
|
7088
7191
|
};
|
|
7089
7192
|
var deserializeAws_json1_1DataSourceVpcConfiguration = function (output, context) {
|
|
7090
7193
|
return {
|
|
7091
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
7194
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
7092
7195
|
? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
|
|
7093
7196
|
: undefined,
|
|
7094
|
-
SubnetIds: output.SubnetIds
|
|
7095
|
-
? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
|
|
7096
|
-
: undefined,
|
|
7197
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
7097
7198
|
};
|
|
7098
7199
|
};
|
|
7200
|
+
var deserializeAws_json1_1DeleteAccessControlConfigurationResponse = function (output, context) {
|
|
7201
|
+
return {};
|
|
7202
|
+
};
|
|
7099
7203
|
var deserializeAws_json1_1DeleteExperienceResponse = function (output, context) {
|
|
7100
7204
|
return {};
|
|
7101
7205
|
};
|
|
7206
|
+
var deserializeAws_json1_1DescribeAccessControlConfigurationResponse = function (output, context) {
|
|
7207
|
+
return {
|
|
7208
|
+
AccessControlList: output.AccessControlList != null
|
|
7209
|
+
? deserializeAws_json1_1PrincipalList(output.AccessControlList, context)
|
|
7210
|
+
: undefined,
|
|
7211
|
+
Description: __expectString(output.Description),
|
|
7212
|
+
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7213
|
+
HierarchicalAccessControlList: output.HierarchicalAccessControlList != null
|
|
7214
|
+
? deserializeAws_json1_1HierarchicalPrincipalList(output.HierarchicalAccessControlList, context)
|
|
7215
|
+
: undefined,
|
|
7216
|
+
Name: __expectString(output.Name),
|
|
7217
|
+
};
|
|
7218
|
+
};
|
|
7102
7219
|
var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context) {
|
|
7103
7220
|
return {
|
|
7104
|
-
Configuration: output.Configuration
|
|
7221
|
+
Configuration: output.Configuration != null
|
|
7105
7222
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
7106
7223
|
: undefined,
|
|
7107
|
-
CreatedAt: output.CreatedAt
|
|
7108
|
-
|
|
7109
|
-
: undefined,
|
|
7110
|
-
CustomDocumentEnrichmentConfiguration: output.CustomDocumentEnrichmentConfiguration !== undefined &&
|
|
7111
|
-
output.CustomDocumentEnrichmentConfiguration !== null
|
|
7224
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7225
|
+
CustomDocumentEnrichmentConfiguration: output.CustomDocumentEnrichmentConfiguration != null
|
|
7112
7226
|
? deserializeAws_json1_1CustomDocumentEnrichmentConfiguration(output.CustomDocumentEnrichmentConfiguration, context)
|
|
7113
7227
|
: undefined,
|
|
7114
7228
|
Description: __expectString(output.Description),
|
|
@@ -7121,39 +7235,29 @@ var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context
|
|
|
7121
7235
|
Schedule: __expectString(output.Schedule),
|
|
7122
7236
|
Status: __expectString(output.Status),
|
|
7123
7237
|
Type: __expectString(output.Type),
|
|
7124
|
-
UpdatedAt: output.UpdatedAt
|
|
7125
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7126
|
-
: undefined,
|
|
7238
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7127
7239
|
};
|
|
7128
7240
|
};
|
|
7129
7241
|
var deserializeAws_json1_1DescribeExperienceResponse = function (output, context) {
|
|
7130
7242
|
return {
|
|
7131
|
-
Configuration: output.Configuration
|
|
7243
|
+
Configuration: output.Configuration != null
|
|
7132
7244
|
? deserializeAws_json1_1ExperienceConfiguration(output.Configuration, context)
|
|
7133
7245
|
: undefined,
|
|
7134
|
-
CreatedAt: output.CreatedAt
|
|
7135
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7136
|
-
: undefined,
|
|
7246
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7137
7247
|
Description: __expectString(output.Description),
|
|
7138
|
-
Endpoints: output.Endpoints
|
|
7139
|
-
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
7140
|
-
: undefined,
|
|
7248
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context) : undefined,
|
|
7141
7249
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7142
7250
|
Id: __expectString(output.Id),
|
|
7143
7251
|
IndexId: __expectString(output.IndexId),
|
|
7144
7252
|
Name: __expectString(output.Name),
|
|
7145
7253
|
RoleArn: __expectString(output.RoleArn),
|
|
7146
7254
|
Status: __expectString(output.Status),
|
|
7147
|
-
UpdatedAt: output.UpdatedAt
|
|
7148
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7149
|
-
: undefined,
|
|
7255
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7150
7256
|
};
|
|
7151
7257
|
};
|
|
7152
7258
|
var deserializeAws_json1_1DescribeFaqResponse = function (output, context) {
|
|
7153
7259
|
return {
|
|
7154
|
-
CreatedAt: output.CreatedAt
|
|
7155
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7156
|
-
: undefined,
|
|
7260
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7157
7261
|
Description: __expectString(output.Description),
|
|
7158
7262
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7159
7263
|
FileFormat: __expectString(output.FileFormat),
|
|
@@ -7162,47 +7266,39 @@ var deserializeAws_json1_1DescribeFaqResponse = function (output, context) {
|
|
|
7162
7266
|
LanguageCode: __expectString(output.LanguageCode),
|
|
7163
7267
|
Name: __expectString(output.Name),
|
|
7164
7268
|
RoleArn: __expectString(output.RoleArn),
|
|
7165
|
-
S3Path: output.S3Path
|
|
7166
|
-
? deserializeAws_json1_1S3Path(output.S3Path, context)
|
|
7167
|
-
: undefined,
|
|
7269
|
+
S3Path: output.S3Path != null ? deserializeAws_json1_1S3Path(output.S3Path, context) : undefined,
|
|
7168
7270
|
Status: __expectString(output.Status),
|
|
7169
|
-
UpdatedAt: output.UpdatedAt
|
|
7170
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7171
|
-
: undefined,
|
|
7271
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7172
7272
|
};
|
|
7173
7273
|
};
|
|
7174
7274
|
var deserializeAws_json1_1DescribeIndexResponse = function (output, context) {
|
|
7175
7275
|
return {
|
|
7176
|
-
CapacityUnits: output.CapacityUnits
|
|
7276
|
+
CapacityUnits: output.CapacityUnits != null
|
|
7177
7277
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
7178
7278
|
: undefined,
|
|
7179
|
-
CreatedAt: output.CreatedAt
|
|
7180
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7181
|
-
: undefined,
|
|
7279
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7182
7280
|
Description: __expectString(output.Description),
|
|
7183
|
-
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations
|
|
7281
|
+
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations != null
|
|
7184
7282
|
? deserializeAws_json1_1DocumentMetadataConfigurationList(output.DocumentMetadataConfigurations, context)
|
|
7185
7283
|
: undefined,
|
|
7186
7284
|
Edition: __expectString(output.Edition),
|
|
7187
7285
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7188
7286
|
Id: __expectString(output.Id),
|
|
7189
|
-
IndexStatistics: output.IndexStatistics
|
|
7287
|
+
IndexStatistics: output.IndexStatistics != null
|
|
7190
7288
|
? deserializeAws_json1_1IndexStatistics(output.IndexStatistics, context)
|
|
7191
7289
|
: undefined,
|
|
7192
7290
|
Name: __expectString(output.Name),
|
|
7193
7291
|
RoleArn: __expectString(output.RoleArn),
|
|
7194
|
-
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration
|
|
7292
|
+
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration != null
|
|
7195
7293
|
? deserializeAws_json1_1ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
7196
7294
|
: undefined,
|
|
7197
7295
|
Status: __expectString(output.Status),
|
|
7198
|
-
UpdatedAt: output.UpdatedAt
|
|
7199
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7200
|
-
: undefined,
|
|
7296
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7201
7297
|
UserContextPolicy: __expectString(output.UserContextPolicy),
|
|
7202
|
-
UserGroupResolutionConfiguration: output.UserGroupResolutionConfiguration
|
|
7298
|
+
UserGroupResolutionConfiguration: output.UserGroupResolutionConfiguration != null
|
|
7203
7299
|
? deserializeAws_json1_1UserGroupResolutionConfiguration(output.UserGroupResolutionConfiguration, context)
|
|
7204
7300
|
: undefined,
|
|
7205
|
-
UserTokenConfigurations: output.UserTokenConfigurations
|
|
7301
|
+
UserTokenConfigurations: output.UserTokenConfigurations != null
|
|
7206
7302
|
? deserializeAws_json1_1UserTokenConfigurationList(output.UserTokenConfigurations, context)
|
|
7207
7303
|
: undefined,
|
|
7208
7304
|
};
|
|
@@ -7211,7 +7307,7 @@ var deserializeAws_json1_1DescribePrincipalMappingResponse = function (output, c
|
|
|
7211
7307
|
return {
|
|
7212
7308
|
DataSourceId: __expectString(output.DataSourceId),
|
|
7213
7309
|
GroupId: __expectString(output.GroupId),
|
|
7214
|
-
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries
|
|
7310
|
+
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries != null
|
|
7215
7311
|
? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context)
|
|
7216
7312
|
: undefined,
|
|
7217
7313
|
IndexId: __expectString(output.IndexId),
|
|
@@ -7219,9 +7315,7 @@ var deserializeAws_json1_1DescribePrincipalMappingResponse = function (output, c
|
|
|
7219
7315
|
};
|
|
7220
7316
|
var deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = function (output, context) {
|
|
7221
7317
|
return {
|
|
7222
|
-
CreatedAt: output.CreatedAt
|
|
7223
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7224
|
-
: undefined,
|
|
7318
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7225
7319
|
Description: __expectString(output.Description),
|
|
7226
7320
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7227
7321
|
FileSizeBytes: __expectLong(output.FileSizeBytes),
|
|
@@ -7230,22 +7324,18 @@ var deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = function (
|
|
|
7230
7324
|
ItemCount: __expectInt32(output.ItemCount),
|
|
7231
7325
|
Name: __expectString(output.Name),
|
|
7232
7326
|
RoleArn: __expectString(output.RoleArn),
|
|
7233
|
-
SourceS3Path: output.SourceS3Path
|
|
7234
|
-
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
7235
|
-
: undefined,
|
|
7327
|
+
SourceS3Path: output.SourceS3Path != null ? deserializeAws_json1_1S3Path(output.SourceS3Path, context) : undefined,
|
|
7236
7328
|
Status: __expectString(output.Status),
|
|
7237
|
-
UpdatedAt: output.UpdatedAt
|
|
7238
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7239
|
-
: undefined,
|
|
7329
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7240
7330
|
};
|
|
7241
7331
|
};
|
|
7242
7332
|
var deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = function (output, context) {
|
|
7243
7333
|
return {
|
|
7244
7334
|
IncludeQueriesWithoutUserInformation: __expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
7245
|
-
LastClearTime: output.LastClearTime
|
|
7335
|
+
LastClearTime: output.LastClearTime != null
|
|
7246
7336
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastClearTime)))
|
|
7247
7337
|
: undefined,
|
|
7248
|
-
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime
|
|
7338
|
+
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime != null
|
|
7249
7339
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuggestionsBuildTime)))
|
|
7250
7340
|
: undefined,
|
|
7251
7341
|
MinimumNumberOfQueryingUsers: __expectInt32(output.MinimumNumberOfQueryingUsers),
|
|
@@ -7258,9 +7348,7 @@ var deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = function (out
|
|
|
7258
7348
|
};
|
|
7259
7349
|
var deserializeAws_json1_1DescribeThesaurusResponse = function (output, context) {
|
|
7260
7350
|
return {
|
|
7261
|
-
CreatedAt: output.CreatedAt
|
|
7262
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7263
|
-
: undefined,
|
|
7351
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7264
7352
|
Description: __expectString(output.Description),
|
|
7265
7353
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7266
7354
|
FileSizeBytes: __expectLong(output.FileSizeBytes),
|
|
@@ -7268,27 +7356,23 @@ var deserializeAws_json1_1DescribeThesaurusResponse = function (output, context)
|
|
|
7268
7356
|
IndexId: __expectString(output.IndexId),
|
|
7269
7357
|
Name: __expectString(output.Name),
|
|
7270
7358
|
RoleArn: __expectString(output.RoleArn),
|
|
7271
|
-
SourceS3Path: output.SourceS3Path
|
|
7272
|
-
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
7273
|
-
: undefined,
|
|
7359
|
+
SourceS3Path: output.SourceS3Path != null ? deserializeAws_json1_1S3Path(output.SourceS3Path, context) : undefined,
|
|
7274
7360
|
Status: __expectString(output.Status),
|
|
7275
7361
|
SynonymRuleCount: __expectLong(output.SynonymRuleCount),
|
|
7276
7362
|
TermCount: __expectLong(output.TermCount),
|
|
7277
|
-
UpdatedAt: output.UpdatedAt
|
|
7278
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7279
|
-
: undefined,
|
|
7363
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7280
7364
|
};
|
|
7281
7365
|
};
|
|
7282
7366
|
var deserializeAws_json1_1DisassociateEntitiesFromExperienceResponse = function (output, context) {
|
|
7283
7367
|
return {
|
|
7284
|
-
FailedEntityList: output.FailedEntityList
|
|
7368
|
+
FailedEntityList: output.FailedEntityList != null
|
|
7285
7369
|
? deserializeAws_json1_1FailedEntityList(output.FailedEntityList, context)
|
|
7286
7370
|
: undefined,
|
|
7287
7371
|
};
|
|
7288
7372
|
};
|
|
7289
7373
|
var deserializeAws_json1_1DisassociatePersonasFromEntitiesResponse = function (output, context) {
|
|
7290
7374
|
return {
|
|
7291
|
-
FailedEntityList: output.FailedEntityList
|
|
7375
|
+
FailedEntityList: output.FailedEntityList != null
|
|
7292
7376
|
? deserializeAws_json1_1FailedEntityList(output.FailedEntityList, context)
|
|
7293
7377
|
: undefined,
|
|
7294
7378
|
};
|
|
@@ -7296,15 +7380,13 @@ var deserializeAws_json1_1DisassociatePersonasFromEntitiesResponse = function (o
|
|
|
7296
7380
|
var deserializeAws_json1_1DocumentAttribute = function (output, context) {
|
|
7297
7381
|
return {
|
|
7298
7382
|
Key: __expectString(output.Key),
|
|
7299
|
-
Value: output.Value
|
|
7300
|
-
? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
|
|
7301
|
-
: undefined,
|
|
7383
|
+
Value: output.Value != null ? deserializeAws_json1_1DocumentAttributeValue(output.Value, context) : undefined,
|
|
7302
7384
|
};
|
|
7303
7385
|
};
|
|
7304
7386
|
var deserializeAws_json1_1DocumentAttributeCondition = function (output, context) {
|
|
7305
7387
|
return {
|
|
7306
7388
|
ConditionDocumentAttributeKey: __expectString(output.ConditionDocumentAttributeKey),
|
|
7307
|
-
ConditionOnValue: output.ConditionOnValue
|
|
7389
|
+
ConditionOnValue: output.ConditionOnValue != null
|
|
7308
7390
|
? deserializeAws_json1_1DocumentAttributeValue(output.ConditionOnValue, context)
|
|
7309
7391
|
: undefined,
|
|
7310
7392
|
Operator: __expectString(output.Operator),
|
|
@@ -7335,7 +7417,7 @@ var deserializeAws_json1_1DocumentAttributeStringListValue = function (output, c
|
|
|
7335
7417
|
var deserializeAws_json1_1DocumentAttributeTarget = function (output, context) {
|
|
7336
7418
|
return {
|
|
7337
7419
|
TargetDocumentAttributeKey: __expectString(output.TargetDocumentAttributeKey),
|
|
7338
|
-
TargetDocumentAttributeValue: output.TargetDocumentAttributeValue
|
|
7420
|
+
TargetDocumentAttributeValue: output.TargetDocumentAttributeValue != null
|
|
7339
7421
|
? deserializeAws_json1_1DocumentAttributeValue(output.TargetDocumentAttributeValue, context)
|
|
7340
7422
|
: undefined,
|
|
7341
7423
|
TargetDocumentAttributeValueDeletion: __expectBoolean(output.TargetDocumentAttributeValueDeletion),
|
|
@@ -7343,11 +7425,9 @@ var deserializeAws_json1_1DocumentAttributeTarget = function (output, context) {
|
|
|
7343
7425
|
};
|
|
7344
7426
|
var deserializeAws_json1_1DocumentAttributeValue = function (output, context) {
|
|
7345
7427
|
return {
|
|
7346
|
-
DateValue: output.DateValue
|
|
7347
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateValue)))
|
|
7348
|
-
: undefined,
|
|
7428
|
+
DateValue: output.DateValue != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateValue))) : undefined,
|
|
7349
7429
|
LongValue: __expectLong(output.LongValue),
|
|
7350
|
-
StringListValue: output.StringListValue
|
|
7430
|
+
StringListValue: output.StringListValue != null
|
|
7351
7431
|
? deserializeAws_json1_1DocumentAttributeStringListValue(output.StringListValue, context)
|
|
7352
7432
|
: undefined,
|
|
7353
7433
|
StringValue: __expectString(output.StringValue),
|
|
@@ -7356,12 +7436,10 @@ var deserializeAws_json1_1DocumentAttributeValue = function (output, context) {
|
|
|
7356
7436
|
var deserializeAws_json1_1DocumentAttributeValueCountPair = function (output, context) {
|
|
7357
7437
|
return {
|
|
7358
7438
|
Count: __expectInt32(output.Count),
|
|
7359
|
-
DocumentAttributeValue: output.DocumentAttributeValue
|
|
7439
|
+
DocumentAttributeValue: output.DocumentAttributeValue != null
|
|
7360
7440
|
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
7361
7441
|
: undefined,
|
|
7362
|
-
FacetResults: output.FacetResults
|
|
7363
|
-
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
7364
|
-
: undefined,
|
|
7442
|
+
FacetResults: output.FacetResults != null ? deserializeAws_json1_1FacetResultList(output.FacetResults, context) : undefined,
|
|
7365
7443
|
};
|
|
7366
7444
|
};
|
|
7367
7445
|
var deserializeAws_json1_1DocumentAttributeValueCountPairList = function (output, context) {
|
|
@@ -7378,12 +7456,8 @@ var deserializeAws_json1_1DocumentAttributeValueCountPairList = function (output
|
|
|
7378
7456
|
var deserializeAws_json1_1DocumentMetadataConfiguration = function (output, context) {
|
|
7379
7457
|
return {
|
|
7380
7458
|
Name: __expectString(output.Name),
|
|
7381
|
-
Relevance: output.Relevance
|
|
7382
|
-
|
|
7383
|
-
: undefined,
|
|
7384
|
-
Search: output.Search !== undefined && output.Search !== null
|
|
7385
|
-
? deserializeAws_json1_1Search(output.Search, context)
|
|
7386
|
-
: undefined,
|
|
7459
|
+
Relevance: output.Relevance != null ? deserializeAws_json1_1Relevance(output.Relevance, context) : undefined,
|
|
7460
|
+
Search: output.Search != null ? deserializeAws_json1_1Search(output.Search, context) : undefined,
|
|
7387
7461
|
Type: __expectString(output.Type),
|
|
7388
7462
|
};
|
|
7389
7463
|
};
|
|
@@ -7469,10 +7543,10 @@ var deserializeAws_json1_1ExcludeUserAccountsList = function (output, context) {
|
|
|
7469
7543
|
};
|
|
7470
7544
|
var deserializeAws_json1_1ExperienceConfiguration = function (output, context) {
|
|
7471
7545
|
return {
|
|
7472
|
-
ContentSourceConfiguration: output.ContentSourceConfiguration
|
|
7546
|
+
ContentSourceConfiguration: output.ContentSourceConfiguration != null
|
|
7473
7547
|
? deserializeAws_json1_1ContentSourceConfiguration(output.ContentSourceConfiguration, context)
|
|
7474
7548
|
: undefined,
|
|
7475
|
-
UserIdentityConfiguration: output.UserIdentityConfiguration
|
|
7549
|
+
UserIdentityConfiguration: output.UserIdentityConfiguration != null
|
|
7476
7550
|
? deserializeAws_json1_1UserIdentityConfiguration(output.UserIdentityConfiguration, context)
|
|
7477
7551
|
: undefined,
|
|
7478
7552
|
};
|
|
@@ -7496,9 +7570,7 @@ var deserializeAws_json1_1ExperienceEndpoints = function (output, context) {
|
|
|
7496
7570
|
};
|
|
7497
7571
|
var deserializeAws_json1_1ExperienceEntitiesSummary = function (output, context) {
|
|
7498
7572
|
return {
|
|
7499
|
-
DisplayData: output.DisplayData
|
|
7500
|
-
? deserializeAws_json1_1EntityDisplayData(output.DisplayData, context)
|
|
7501
|
-
: undefined,
|
|
7573
|
+
DisplayData: output.DisplayData != null ? deserializeAws_json1_1EntityDisplayData(output.DisplayData, context) : undefined,
|
|
7502
7574
|
EntityId: __expectString(output.EntityId),
|
|
7503
7575
|
EntityType: __expectString(output.EntityType),
|
|
7504
7576
|
};
|
|
@@ -7516,12 +7588,8 @@ var deserializeAws_json1_1ExperienceEntitiesSummaryList = function (output, cont
|
|
|
7516
7588
|
};
|
|
7517
7589
|
var deserializeAws_json1_1ExperiencesSummary = function (output, context) {
|
|
7518
7590
|
return {
|
|
7519
|
-
CreatedAt: output.CreatedAt
|
|
7520
|
-
|
|
7521
|
-
: undefined,
|
|
7522
|
-
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
7523
|
-
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
7524
|
-
: undefined,
|
|
7591
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7592
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context) : undefined,
|
|
7525
7593
|
Id: __expectString(output.Id),
|
|
7526
7594
|
Name: __expectString(output.Name),
|
|
7527
7595
|
Status: __expectString(output.Status),
|
|
@@ -7541,7 +7609,7 @@ var deserializeAws_json1_1ExperiencesSummaryList = function (output, context) {
|
|
|
7541
7609
|
var deserializeAws_json1_1FacetResult = function (output, context) {
|
|
7542
7610
|
return {
|
|
7543
7611
|
DocumentAttributeKey: __expectString(output.DocumentAttributeKey),
|
|
7544
|
-
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs
|
|
7612
|
+
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs != null
|
|
7545
7613
|
? deserializeAws_json1_1DocumentAttributeValueCountPairList(output.DocumentAttributeValueCountPairs, context)
|
|
7546
7614
|
: undefined,
|
|
7547
7615
|
DocumentAttributeValueType: __expectString(output.DocumentAttributeValueType),
|
|
@@ -7593,17 +7661,13 @@ var deserializeAws_json1_1FaqStatistics = function (output, context) {
|
|
|
7593
7661
|
};
|
|
7594
7662
|
var deserializeAws_json1_1FaqSummary = function (output, context) {
|
|
7595
7663
|
return {
|
|
7596
|
-
CreatedAt: output.CreatedAt
|
|
7597
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7598
|
-
: undefined,
|
|
7664
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7599
7665
|
FileFormat: __expectString(output.FileFormat),
|
|
7600
7666
|
Id: __expectString(output.Id),
|
|
7601
7667
|
LanguageCode: __expectString(output.LanguageCode),
|
|
7602
7668
|
Name: __expectString(output.Name),
|
|
7603
7669
|
Status: __expectString(output.Status),
|
|
7604
|
-
UpdatedAt: output.UpdatedAt
|
|
7605
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7606
|
-
: undefined,
|
|
7670
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7607
7671
|
};
|
|
7608
7672
|
};
|
|
7609
7673
|
var deserializeAws_json1_1FaqSummaryItems = function (output, context) {
|
|
@@ -7630,19 +7694,19 @@ var deserializeAws_json1_1FolderIdList = function (output, context) {
|
|
|
7630
7694
|
};
|
|
7631
7695
|
var deserializeAws_json1_1FsxConfiguration = function (output, context) {
|
|
7632
7696
|
return {
|
|
7633
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7697
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
7634
7698
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7635
7699
|
: undefined,
|
|
7636
|
-
FieldMappings: output.FieldMappings
|
|
7700
|
+
FieldMappings: output.FieldMappings != null
|
|
7637
7701
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7638
7702
|
: undefined,
|
|
7639
7703
|
FileSystemId: __expectString(output.FileSystemId),
|
|
7640
7704
|
FileSystemType: __expectString(output.FileSystemType),
|
|
7641
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7705
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
7642
7706
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7643
7707
|
: undefined,
|
|
7644
7708
|
SecretArn: __expectString(output.SecretArn),
|
|
7645
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7709
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7646
7710
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7647
7711
|
: undefined,
|
|
7648
7712
|
};
|
|
@@ -7650,93 +7714,83 @@ var deserializeAws_json1_1FsxConfiguration = function (output, context) {
|
|
|
7650
7714
|
var deserializeAws_json1_1GetQuerySuggestionsResponse = function (output, context) {
|
|
7651
7715
|
return {
|
|
7652
7716
|
QuerySuggestionsId: __expectString(output.QuerySuggestionsId),
|
|
7653
|
-
Suggestions: output.Suggestions
|
|
7654
|
-
? deserializeAws_json1_1SuggestionList(output.Suggestions, context)
|
|
7655
|
-
: undefined,
|
|
7717
|
+
Suggestions: output.Suggestions != null ? deserializeAws_json1_1SuggestionList(output.Suggestions, context) : undefined,
|
|
7656
7718
|
};
|
|
7657
7719
|
};
|
|
7658
7720
|
var deserializeAws_json1_1GetSnapshotsResponse = function (output, context) {
|
|
7659
7721
|
return {
|
|
7660
7722
|
NextToken: __expectString(output.NextToken),
|
|
7661
|
-
SnapShotTimeFilter: output.SnapShotTimeFilter
|
|
7723
|
+
SnapShotTimeFilter: output.SnapShotTimeFilter != null
|
|
7662
7724
|
? deserializeAws_json1_1TimeRange(output.SnapShotTimeFilter, context)
|
|
7663
7725
|
: undefined,
|
|
7664
|
-
SnapshotsData: output.SnapshotsData
|
|
7726
|
+
SnapshotsData: output.SnapshotsData != null
|
|
7665
7727
|
? deserializeAws_json1_1SnapshotsDataRecords(output.SnapshotsData, context)
|
|
7666
7728
|
: undefined,
|
|
7667
|
-
SnapshotsDataHeader: output.SnapshotsDataHeader
|
|
7729
|
+
SnapshotsDataHeader: output.SnapshotsDataHeader != null
|
|
7668
7730
|
? deserializeAws_json1_1SnapshotsDataHeaderFields(output.SnapshotsDataHeader, context)
|
|
7669
7731
|
: undefined,
|
|
7670
7732
|
};
|
|
7671
7733
|
};
|
|
7672
7734
|
var deserializeAws_json1_1GitHubConfiguration = function (output, context) {
|
|
7673
7735
|
return {
|
|
7674
|
-
ExclusionFileNamePatterns: output.ExclusionFileNamePatterns
|
|
7736
|
+
ExclusionFileNamePatterns: output.ExclusionFileNamePatterns != null
|
|
7675
7737
|
? deserializeAws_json1_1StringList(output.ExclusionFileNamePatterns, context)
|
|
7676
7738
|
: undefined,
|
|
7677
|
-
ExclusionFileTypePatterns: output.ExclusionFileTypePatterns
|
|
7739
|
+
ExclusionFileTypePatterns: output.ExclusionFileTypePatterns != null
|
|
7678
7740
|
? deserializeAws_json1_1StringList(output.ExclusionFileTypePatterns, context)
|
|
7679
7741
|
: undefined,
|
|
7680
|
-
ExclusionFolderNamePatterns: output.ExclusionFolderNamePatterns
|
|
7742
|
+
ExclusionFolderNamePatterns: output.ExclusionFolderNamePatterns != null
|
|
7681
7743
|
? deserializeAws_json1_1StringList(output.ExclusionFolderNamePatterns, context)
|
|
7682
7744
|
: undefined,
|
|
7683
|
-
GitHubCommitConfigurationFieldMappings: output.GitHubCommitConfigurationFieldMappings
|
|
7684
|
-
output.GitHubCommitConfigurationFieldMappings !== null
|
|
7745
|
+
GitHubCommitConfigurationFieldMappings: output.GitHubCommitConfigurationFieldMappings != null
|
|
7685
7746
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubCommitConfigurationFieldMappings, context)
|
|
7686
7747
|
: undefined,
|
|
7687
|
-
GitHubDocumentCrawlProperties: output.GitHubDocumentCrawlProperties
|
|
7748
|
+
GitHubDocumentCrawlProperties: output.GitHubDocumentCrawlProperties != null
|
|
7688
7749
|
? deserializeAws_json1_1GitHubDocumentCrawlProperties(output.GitHubDocumentCrawlProperties, context)
|
|
7689
7750
|
: undefined,
|
|
7690
|
-
GitHubIssueAttachmentConfigurationFieldMappings: output.GitHubIssueAttachmentConfigurationFieldMappings
|
|
7691
|
-
output.GitHubIssueAttachmentConfigurationFieldMappings !== null
|
|
7751
|
+
GitHubIssueAttachmentConfigurationFieldMappings: output.GitHubIssueAttachmentConfigurationFieldMappings != null
|
|
7692
7752
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueAttachmentConfigurationFieldMappings, context)
|
|
7693
7753
|
: undefined,
|
|
7694
|
-
GitHubIssueCommentConfigurationFieldMappings: output.GitHubIssueCommentConfigurationFieldMappings
|
|
7695
|
-
output.GitHubIssueCommentConfigurationFieldMappings !== null
|
|
7754
|
+
GitHubIssueCommentConfigurationFieldMappings: output.GitHubIssueCommentConfigurationFieldMappings != null
|
|
7696
7755
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueCommentConfigurationFieldMappings, context)
|
|
7697
7756
|
: undefined,
|
|
7698
|
-
GitHubIssueDocumentConfigurationFieldMappings: output.GitHubIssueDocumentConfigurationFieldMappings
|
|
7699
|
-
output.GitHubIssueDocumentConfigurationFieldMappings !== null
|
|
7757
|
+
GitHubIssueDocumentConfigurationFieldMappings: output.GitHubIssueDocumentConfigurationFieldMappings != null
|
|
7700
7758
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueDocumentConfigurationFieldMappings, context)
|
|
7701
7759
|
: undefined,
|
|
7702
|
-
GitHubPullRequestCommentConfigurationFieldMappings: output.GitHubPullRequestCommentConfigurationFieldMappings
|
|
7703
|
-
output.GitHubPullRequestCommentConfigurationFieldMappings !== null
|
|
7760
|
+
GitHubPullRequestCommentConfigurationFieldMappings: output.GitHubPullRequestCommentConfigurationFieldMappings != null
|
|
7704
7761
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestCommentConfigurationFieldMappings, context)
|
|
7705
7762
|
: undefined,
|
|
7706
|
-
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings
|
|
7707
|
-
output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null
|
|
7763
|
+
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings != null
|
|
7708
7764
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context)
|
|
7709
7765
|
: undefined,
|
|
7710
|
-
GitHubPullRequestDocumentConfigurationFieldMappings: output.GitHubPullRequestDocumentConfigurationFieldMappings
|
|
7711
|
-
output.GitHubPullRequestDocumentConfigurationFieldMappings !== null
|
|
7766
|
+
GitHubPullRequestDocumentConfigurationFieldMappings: output.GitHubPullRequestDocumentConfigurationFieldMappings != null
|
|
7712
7767
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentConfigurationFieldMappings, context)
|
|
7713
7768
|
: undefined,
|
|
7714
|
-
GitHubRepositoryConfigurationFieldMappings: output.GitHubRepositoryConfigurationFieldMappings
|
|
7715
|
-
output.GitHubRepositoryConfigurationFieldMappings !== null
|
|
7769
|
+
GitHubRepositoryConfigurationFieldMappings: output.GitHubRepositoryConfigurationFieldMappings != null
|
|
7716
7770
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubRepositoryConfigurationFieldMappings, context)
|
|
7717
7771
|
: undefined,
|
|
7718
|
-
InclusionFileNamePatterns: output.InclusionFileNamePatterns
|
|
7772
|
+
InclusionFileNamePatterns: output.InclusionFileNamePatterns != null
|
|
7719
7773
|
? deserializeAws_json1_1StringList(output.InclusionFileNamePatterns, context)
|
|
7720
7774
|
: undefined,
|
|
7721
|
-
InclusionFileTypePatterns: output.InclusionFileTypePatterns
|
|
7775
|
+
InclusionFileTypePatterns: output.InclusionFileTypePatterns != null
|
|
7722
7776
|
? deserializeAws_json1_1StringList(output.InclusionFileTypePatterns, context)
|
|
7723
7777
|
: undefined,
|
|
7724
|
-
InclusionFolderNamePatterns: output.InclusionFolderNamePatterns
|
|
7778
|
+
InclusionFolderNamePatterns: output.InclusionFolderNamePatterns != null
|
|
7725
7779
|
? deserializeAws_json1_1StringList(output.InclusionFolderNamePatterns, context)
|
|
7726
7780
|
: undefined,
|
|
7727
|
-
OnPremiseConfiguration: output.OnPremiseConfiguration
|
|
7781
|
+
OnPremiseConfiguration: output.OnPremiseConfiguration != null
|
|
7728
7782
|
? deserializeAws_json1_1OnPremiseConfiguration(output.OnPremiseConfiguration, context)
|
|
7729
7783
|
: undefined,
|
|
7730
|
-
RepositoryFilter: output.RepositoryFilter
|
|
7784
|
+
RepositoryFilter: output.RepositoryFilter != null
|
|
7731
7785
|
? deserializeAws_json1_1RepositoryNames(output.RepositoryFilter, context)
|
|
7732
7786
|
: undefined,
|
|
7733
|
-
SaaSConfiguration: output.SaaSConfiguration
|
|
7787
|
+
SaaSConfiguration: output.SaaSConfiguration != null
|
|
7734
7788
|
? deserializeAws_json1_1SaaSConfiguration(output.SaaSConfiguration, context)
|
|
7735
7789
|
: undefined,
|
|
7736
7790
|
SecretArn: __expectString(output.SecretArn),
|
|
7737
7791
|
Type: __expectString(output.Type),
|
|
7738
7792
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
7739
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7793
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7740
7794
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7741
7795
|
: undefined,
|
|
7742
7796
|
};
|
|
@@ -7754,22 +7808,22 @@ var deserializeAws_json1_1GitHubDocumentCrawlProperties = function (output, cont
|
|
|
7754
7808
|
};
|
|
7755
7809
|
var deserializeAws_json1_1GoogleDriveConfiguration = function (output, context) {
|
|
7756
7810
|
return {
|
|
7757
|
-
ExcludeMimeTypes: output.ExcludeMimeTypes
|
|
7811
|
+
ExcludeMimeTypes: output.ExcludeMimeTypes != null
|
|
7758
7812
|
? deserializeAws_json1_1ExcludeMimeTypesList(output.ExcludeMimeTypes, context)
|
|
7759
7813
|
: undefined,
|
|
7760
|
-
ExcludeSharedDrives: output.ExcludeSharedDrives
|
|
7814
|
+
ExcludeSharedDrives: output.ExcludeSharedDrives != null
|
|
7761
7815
|
? deserializeAws_json1_1ExcludeSharedDrivesList(output.ExcludeSharedDrives, context)
|
|
7762
7816
|
: undefined,
|
|
7763
|
-
ExcludeUserAccounts: output.ExcludeUserAccounts
|
|
7817
|
+
ExcludeUserAccounts: output.ExcludeUserAccounts != null
|
|
7764
7818
|
? deserializeAws_json1_1ExcludeUserAccountsList(output.ExcludeUserAccounts, context)
|
|
7765
7819
|
: undefined,
|
|
7766
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7820
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
7767
7821
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7768
7822
|
: undefined,
|
|
7769
|
-
FieldMappings: output.FieldMappings
|
|
7823
|
+
FieldMappings: output.FieldMappings != null
|
|
7770
7824
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7771
7825
|
: undefined,
|
|
7772
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7826
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
7773
7827
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7774
7828
|
: undefined,
|
|
7775
7829
|
SecretArn: __expectString(output.SecretArn),
|
|
@@ -7789,13 +7843,11 @@ var deserializeAws_json1_1GroupOrderingIdSummaries = function (output, context)
|
|
|
7789
7843
|
var deserializeAws_json1_1GroupOrderingIdSummary = function (output, context) {
|
|
7790
7844
|
return {
|
|
7791
7845
|
FailureReason: __expectString(output.FailureReason),
|
|
7792
|
-
LastUpdatedAt: output.LastUpdatedAt
|
|
7846
|
+
LastUpdatedAt: output.LastUpdatedAt != null
|
|
7793
7847
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
7794
7848
|
: undefined,
|
|
7795
7849
|
OrderingId: __expectLong(output.OrderingId),
|
|
7796
|
-
ReceivedAt: output.ReceivedAt
|
|
7797
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReceivedAt)))
|
|
7798
|
-
: undefined,
|
|
7850
|
+
ReceivedAt: output.ReceivedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReceivedAt))) : undefined,
|
|
7799
7851
|
Status: __expectString(output.Status),
|
|
7800
7852
|
};
|
|
7801
7853
|
};
|
|
@@ -7805,6 +7857,22 @@ var deserializeAws_json1_1GroupSummary = function (output, context) {
|
|
|
7805
7857
|
OrderingId: __expectLong(output.OrderingId),
|
|
7806
7858
|
};
|
|
7807
7859
|
};
|
|
7860
|
+
var deserializeAws_json1_1HierarchicalPrincipal = function (output, context) {
|
|
7861
|
+
return {
|
|
7862
|
+
PrincipalList: output.PrincipalList != null ? deserializeAws_json1_1PrincipalList(output.PrincipalList, context) : undefined,
|
|
7863
|
+
};
|
|
7864
|
+
};
|
|
7865
|
+
var deserializeAws_json1_1HierarchicalPrincipalList = function (output, context) {
|
|
7866
|
+
var retVal = (output || [])
|
|
7867
|
+
.filter(function (e) { return e != null; })
|
|
7868
|
+
.map(function (entry) {
|
|
7869
|
+
if (entry === null) {
|
|
7870
|
+
return null;
|
|
7871
|
+
}
|
|
7872
|
+
return deserializeAws_json1_1HierarchicalPrincipal(entry, context);
|
|
7873
|
+
});
|
|
7874
|
+
return retVal;
|
|
7875
|
+
};
|
|
7808
7876
|
var deserializeAws_json1_1Highlight = function (output, context) {
|
|
7809
7877
|
return {
|
|
7810
7878
|
BeginOffset: __expectInt32(output.BeginOffset),
|
|
@@ -7826,7 +7894,7 @@ var deserializeAws_json1_1HighlightList = function (output, context) {
|
|
|
7826
7894
|
};
|
|
7827
7895
|
var deserializeAws_json1_1HookConfiguration = function (output, context) {
|
|
7828
7896
|
return {
|
|
7829
|
-
InvocationCondition: output.InvocationCondition
|
|
7897
|
+
InvocationCondition: output.InvocationCondition != null
|
|
7830
7898
|
? deserializeAws_json1_1DocumentAttributeCondition(output.InvocationCondition, context)
|
|
7831
7899
|
: undefined,
|
|
7832
7900
|
LambdaArn: __expectString(output.LambdaArn),
|
|
@@ -7835,16 +7903,12 @@ var deserializeAws_json1_1HookConfiguration = function (output, context) {
|
|
|
7835
7903
|
};
|
|
7836
7904
|
var deserializeAws_json1_1IndexConfigurationSummary = function (output, context) {
|
|
7837
7905
|
return {
|
|
7838
|
-
CreatedAt: output.CreatedAt
|
|
7839
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7840
|
-
: undefined,
|
|
7906
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7841
7907
|
Edition: __expectString(output.Edition),
|
|
7842
7908
|
Id: __expectString(output.Id),
|
|
7843
7909
|
Name: __expectString(output.Name),
|
|
7844
7910
|
Status: __expectString(output.Status),
|
|
7845
|
-
UpdatedAt: output.UpdatedAt
|
|
7846
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7847
|
-
: undefined,
|
|
7911
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7848
7912
|
};
|
|
7849
7913
|
};
|
|
7850
7914
|
var deserializeAws_json1_1IndexConfigurationSummaryList = function (output, context) {
|
|
@@ -7860,23 +7924,19 @@ var deserializeAws_json1_1IndexConfigurationSummaryList = function (output, cont
|
|
|
7860
7924
|
};
|
|
7861
7925
|
var deserializeAws_json1_1IndexStatistics = function (output, context) {
|
|
7862
7926
|
return {
|
|
7863
|
-
FaqStatistics: output.FaqStatistics
|
|
7864
|
-
|
|
7865
|
-
: undefined,
|
|
7866
|
-
TextDocumentStatistics: output.TextDocumentStatistics !== undefined && output.TextDocumentStatistics !== null
|
|
7927
|
+
FaqStatistics: output.FaqStatistics != null ? deserializeAws_json1_1FaqStatistics(output.FaqStatistics, context) : undefined,
|
|
7928
|
+
TextDocumentStatistics: output.TextDocumentStatistics != null
|
|
7867
7929
|
? deserializeAws_json1_1TextDocumentStatistics(output.TextDocumentStatistics, context)
|
|
7868
7930
|
: undefined,
|
|
7869
7931
|
};
|
|
7870
7932
|
};
|
|
7871
7933
|
var deserializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration = function (output, context) {
|
|
7872
7934
|
return {
|
|
7873
|
-
Condition: output.Condition
|
|
7935
|
+
Condition: output.Condition != null
|
|
7874
7936
|
? deserializeAws_json1_1DocumentAttributeCondition(output.Condition, context)
|
|
7875
7937
|
: undefined,
|
|
7876
7938
|
DocumentContentDeletion: __expectBoolean(output.DocumentContentDeletion),
|
|
7877
|
-
Target: output.Target
|
|
7878
|
-
? deserializeAws_json1_1DocumentAttributeTarget(output.Target, context)
|
|
7879
|
-
: undefined,
|
|
7939
|
+
Target: output.Target != null ? deserializeAws_json1_1DocumentAttributeTarget(output.Target, context) : undefined,
|
|
7880
7940
|
};
|
|
7881
7941
|
};
|
|
7882
7942
|
var deserializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = function (output, context) {
|
|
@@ -7924,43 +7984,37 @@ var deserializeAws_json1_1IssueType = function (output, context) {
|
|
|
7924
7984
|
};
|
|
7925
7985
|
var deserializeAws_json1_1JiraConfiguration = function (output, context) {
|
|
7926
7986
|
return {
|
|
7927
|
-
AttachmentFieldMappings: output.AttachmentFieldMappings
|
|
7987
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings != null
|
|
7928
7988
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
7929
7989
|
: undefined,
|
|
7930
|
-
CommentFieldMappings: output.CommentFieldMappings
|
|
7990
|
+
CommentFieldMappings: output.CommentFieldMappings != null
|
|
7931
7991
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
7932
7992
|
: undefined,
|
|
7933
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7993
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
7934
7994
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7935
7995
|
: undefined,
|
|
7936
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7996
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
7937
7997
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7938
7998
|
: undefined,
|
|
7939
|
-
IssueFieldMappings: output.IssueFieldMappings
|
|
7999
|
+
IssueFieldMappings: output.IssueFieldMappings != null
|
|
7940
8000
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.IssueFieldMappings, context)
|
|
7941
8001
|
: undefined,
|
|
7942
|
-
IssueSubEntityFilter: output.IssueSubEntityFilter
|
|
8002
|
+
IssueSubEntityFilter: output.IssueSubEntityFilter != null
|
|
7943
8003
|
? deserializeAws_json1_1IssueSubEntityFilter(output.IssueSubEntityFilter, context)
|
|
7944
8004
|
: undefined,
|
|
7945
|
-
IssueType: output.IssueType
|
|
7946
|
-
? deserializeAws_json1_1IssueType(output.IssueType, context)
|
|
7947
|
-
: undefined,
|
|
8005
|
+
IssueType: output.IssueType != null ? deserializeAws_json1_1IssueType(output.IssueType, context) : undefined,
|
|
7948
8006
|
JiraAccountUrl: __expectString(output.JiraAccountUrl),
|
|
7949
|
-
Project: output.Project
|
|
7950
|
-
|
|
7951
|
-
: undefined,
|
|
7952
|
-
ProjectFieldMappings: output.ProjectFieldMappings !== undefined && output.ProjectFieldMappings !== null
|
|
8007
|
+
Project: output.Project != null ? deserializeAws_json1_1Project(output.Project, context) : undefined,
|
|
8008
|
+
ProjectFieldMappings: output.ProjectFieldMappings != null
|
|
7953
8009
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ProjectFieldMappings, context)
|
|
7954
8010
|
: undefined,
|
|
7955
8011
|
SecretArn: __expectString(output.SecretArn),
|
|
7956
|
-
Status: output.Status
|
|
7957
|
-
? deserializeAws_json1_1JiraStatus(output.Status, context)
|
|
7958
|
-
: undefined,
|
|
8012
|
+
Status: output.Status != null ? deserializeAws_json1_1JiraStatus(output.Status, context) : undefined,
|
|
7959
8013
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
7960
|
-
VpcConfiguration: output.VpcConfiguration
|
|
8014
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7961
8015
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7962
8016
|
: undefined,
|
|
7963
|
-
WorkLogFieldMappings: output.WorkLogFieldMappings
|
|
8017
|
+
WorkLogFieldMappings: output.WorkLogFieldMappings != null
|
|
7964
8018
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WorkLogFieldMappings, context)
|
|
7965
8019
|
: undefined,
|
|
7966
8020
|
};
|
|
@@ -7993,34 +8047,38 @@ var deserializeAws_json1_1JwtTokenTypeConfiguration = function (output, context)
|
|
|
7993
8047
|
UserNameAttributeField: __expectString(output.UserNameAttributeField),
|
|
7994
8048
|
};
|
|
7995
8049
|
};
|
|
8050
|
+
var deserializeAws_json1_1ListAccessControlConfigurationsResponse = function (output, context) {
|
|
8051
|
+
return {
|
|
8052
|
+
AccessControlConfigurations: output.AccessControlConfigurations != null
|
|
8053
|
+
? deserializeAws_json1_1AccessControlConfigurationSummaryList(output.AccessControlConfigurations, context)
|
|
8054
|
+
: undefined,
|
|
8055
|
+
NextToken: __expectString(output.NextToken),
|
|
8056
|
+
};
|
|
8057
|
+
};
|
|
7996
8058
|
var deserializeAws_json1_1ListDataSourcesResponse = function (output, context) {
|
|
7997
8059
|
return {
|
|
7998
8060
|
NextToken: __expectString(output.NextToken),
|
|
7999
|
-
SummaryItems: output.SummaryItems
|
|
8061
|
+
SummaryItems: output.SummaryItems != null
|
|
8000
8062
|
? deserializeAws_json1_1DataSourceSummaryList(output.SummaryItems, context)
|
|
8001
8063
|
: undefined,
|
|
8002
8064
|
};
|
|
8003
8065
|
};
|
|
8004
8066
|
var deserializeAws_json1_1ListDataSourceSyncJobsResponse = function (output, context) {
|
|
8005
8067
|
return {
|
|
8006
|
-
History: output.History
|
|
8007
|
-
? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context)
|
|
8008
|
-
: undefined,
|
|
8068
|
+
History: output.History != null ? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context) : undefined,
|
|
8009
8069
|
NextToken: __expectString(output.NextToken),
|
|
8010
8070
|
};
|
|
8011
8071
|
};
|
|
8012
8072
|
var deserializeAws_json1_1ListEntityPersonasResponse = function (output, context) {
|
|
8013
8073
|
return {
|
|
8014
8074
|
NextToken: __expectString(output.NextToken),
|
|
8015
|
-
SummaryItems: output.SummaryItems
|
|
8016
|
-
? deserializeAws_json1_1PersonasSummaryList(output.SummaryItems, context)
|
|
8017
|
-
: undefined,
|
|
8075
|
+
SummaryItems: output.SummaryItems != null ? deserializeAws_json1_1PersonasSummaryList(output.SummaryItems, context) : undefined,
|
|
8018
8076
|
};
|
|
8019
8077
|
};
|
|
8020
8078
|
var deserializeAws_json1_1ListExperienceEntitiesResponse = function (output, context) {
|
|
8021
8079
|
return {
|
|
8022
8080
|
NextToken: __expectString(output.NextToken),
|
|
8023
|
-
SummaryItems: output.SummaryItems
|
|
8081
|
+
SummaryItems: output.SummaryItems != null
|
|
8024
8082
|
? deserializeAws_json1_1ExperienceEntitiesSummaryList(output.SummaryItems, context)
|
|
8025
8083
|
: undefined,
|
|
8026
8084
|
};
|
|
@@ -8028,14 +8086,14 @@ var deserializeAws_json1_1ListExperienceEntitiesResponse = function (output, con
|
|
|
8028
8086
|
var deserializeAws_json1_1ListExperiencesResponse = function (output, context) {
|
|
8029
8087
|
return {
|
|
8030
8088
|
NextToken: __expectString(output.NextToken),
|
|
8031
|
-
SummaryItems: output.SummaryItems
|
|
8089
|
+
SummaryItems: output.SummaryItems != null
|
|
8032
8090
|
? deserializeAws_json1_1ExperiencesSummaryList(output.SummaryItems, context)
|
|
8033
8091
|
: undefined,
|
|
8034
8092
|
};
|
|
8035
8093
|
};
|
|
8036
8094
|
var deserializeAws_json1_1ListFaqsResponse = function (output, context) {
|
|
8037
8095
|
return {
|
|
8038
|
-
FaqSummaryItems: output.FaqSummaryItems
|
|
8096
|
+
FaqSummaryItems: output.FaqSummaryItems != null
|
|
8039
8097
|
? deserializeAws_json1_1FaqSummaryItems(output.FaqSummaryItems, context)
|
|
8040
8098
|
: undefined,
|
|
8041
8099
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8043,7 +8101,7 @@ var deserializeAws_json1_1ListFaqsResponse = function (output, context) {
|
|
|
8043
8101
|
};
|
|
8044
8102
|
var deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = function (output, context) {
|
|
8045
8103
|
return {
|
|
8046
|
-
GroupsSummaries: output.GroupsSummaries
|
|
8104
|
+
GroupsSummaries: output.GroupsSummaries != null
|
|
8047
8105
|
? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context)
|
|
8048
8106
|
: undefined,
|
|
8049
8107
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8051,7 +8109,7 @@ var deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = function (outp
|
|
|
8051
8109
|
};
|
|
8052
8110
|
var deserializeAws_json1_1ListIndicesResponse = function (output, context) {
|
|
8053
8111
|
return {
|
|
8054
|
-
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems
|
|
8112
|
+
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems != null
|
|
8055
8113
|
? deserializeAws_json1_1IndexConfigurationSummaryList(output.IndexConfigurationSummaryItems, context)
|
|
8056
8114
|
: undefined,
|
|
8057
8115
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8070,7 +8128,7 @@ var deserializeAws_json1_1ListOfGroupSummaries = function (output, context) {
|
|
|
8070
8128
|
};
|
|
8071
8129
|
var deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = function (output, context) {
|
|
8072
8130
|
return {
|
|
8073
|
-
BlockListSummaryItems: output.BlockListSummaryItems
|
|
8131
|
+
BlockListSummaryItems: output.BlockListSummaryItems != null
|
|
8074
8132
|
? deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems(output.BlockListSummaryItems, context)
|
|
8075
8133
|
: undefined,
|
|
8076
8134
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8078,15 +8136,13 @@ var deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = function (out
|
|
|
8078
8136
|
};
|
|
8079
8137
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
8080
8138
|
return {
|
|
8081
|
-
Tags: output.Tags
|
|
8082
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
8083
|
-
: undefined,
|
|
8139
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
8084
8140
|
};
|
|
8085
8141
|
};
|
|
8086
8142
|
var deserializeAws_json1_1ListThesauriResponse = function (output, context) {
|
|
8087
8143
|
return {
|
|
8088
8144
|
NextToken: __expectString(output.NextToken),
|
|
8089
|
-
ThesaurusSummaryItems: output.ThesaurusSummaryItems
|
|
8145
|
+
ThesaurusSummaryItems: output.ThesaurusSummaryItems != null
|
|
8090
8146
|
? deserializeAws_json1_1ThesaurusSummaryItems(output.ThesaurusSummaryItems, context)
|
|
8091
8147
|
: undefined,
|
|
8092
8148
|
};
|
|
@@ -8094,18 +8150,16 @@ var deserializeAws_json1_1ListThesauriResponse = function (output, context) {
|
|
|
8094
8150
|
var deserializeAws_json1_1OneDriveConfiguration = function (output, context) {
|
|
8095
8151
|
return {
|
|
8096
8152
|
DisableLocalGroups: __expectBoolean(output.DisableLocalGroups),
|
|
8097
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8153
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8098
8154
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8099
8155
|
: undefined,
|
|
8100
|
-
FieldMappings: output.FieldMappings
|
|
8156
|
+
FieldMappings: output.FieldMappings != null
|
|
8101
8157
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8102
8158
|
: undefined,
|
|
8103
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8159
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8104
8160
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8105
8161
|
: undefined,
|
|
8106
|
-
OneDriveUsers: output.OneDriveUsers
|
|
8107
|
-
? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context)
|
|
8108
|
-
: undefined,
|
|
8162
|
+
OneDriveUsers: output.OneDriveUsers != null ? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context) : undefined,
|
|
8109
8163
|
SecretArn: __expectString(output.SecretArn),
|
|
8110
8164
|
TenantDomain: __expectString(output.TenantDomain),
|
|
8111
8165
|
};
|
|
@@ -8123,33 +8177,27 @@ var deserializeAws_json1_1OneDriveUserList = function (output, context) {
|
|
|
8123
8177
|
};
|
|
8124
8178
|
var deserializeAws_json1_1OneDriveUsers = function (output, context) {
|
|
8125
8179
|
return {
|
|
8126
|
-
OneDriveUserList: output.OneDriveUserList
|
|
8180
|
+
OneDriveUserList: output.OneDriveUserList != null
|
|
8127
8181
|
? deserializeAws_json1_1OneDriveUserList(output.OneDriveUserList, context)
|
|
8128
8182
|
: undefined,
|
|
8129
|
-
OneDriveUserS3Path: output.OneDriveUserS3Path
|
|
8130
|
-
? deserializeAws_json1_1S3Path(output.OneDriveUserS3Path, context)
|
|
8131
|
-
: undefined,
|
|
8183
|
+
OneDriveUserS3Path: output.OneDriveUserS3Path != null ? deserializeAws_json1_1S3Path(output.OneDriveUserS3Path, context) : undefined,
|
|
8132
8184
|
};
|
|
8133
8185
|
};
|
|
8134
8186
|
var deserializeAws_json1_1OnPremiseConfiguration = function (output, context) {
|
|
8135
8187
|
return {
|
|
8136
8188
|
HostUrl: __expectString(output.HostUrl),
|
|
8137
8189
|
OrganizationName: __expectString(output.OrganizationName),
|
|
8138
|
-
SslCertificateS3Path: output.SslCertificateS3Path
|
|
8190
|
+
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
8139
8191
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
8140
8192
|
: undefined,
|
|
8141
8193
|
};
|
|
8142
8194
|
};
|
|
8143
8195
|
var deserializeAws_json1_1PersonasSummary = function (output, context) {
|
|
8144
8196
|
return {
|
|
8145
|
-
CreatedAt: output.CreatedAt
|
|
8146
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
8147
|
-
: undefined,
|
|
8197
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
8148
8198
|
EntityId: __expectString(output.EntityId),
|
|
8149
8199
|
Persona: __expectString(output.Persona),
|
|
8150
|
-
UpdatedAt: output.UpdatedAt
|
|
8151
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
8152
|
-
: undefined,
|
|
8200
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
8153
8201
|
};
|
|
8154
8202
|
};
|
|
8155
8203
|
var deserializeAws_json1_1PersonasSummaryList = function (output, context) {
|
|
@@ -8163,6 +8211,25 @@ var deserializeAws_json1_1PersonasSummaryList = function (output, context) {
|
|
|
8163
8211
|
});
|
|
8164
8212
|
return retVal;
|
|
8165
8213
|
};
|
|
8214
|
+
var deserializeAws_json1_1Principal = function (output, context) {
|
|
8215
|
+
return {
|
|
8216
|
+
Access: __expectString(output.Access),
|
|
8217
|
+
DataSourceId: __expectString(output.DataSourceId),
|
|
8218
|
+
Name: __expectString(output.Name),
|
|
8219
|
+
Type: __expectString(output.Type),
|
|
8220
|
+
};
|
|
8221
|
+
};
|
|
8222
|
+
var deserializeAws_json1_1PrincipalList = function (output, context) {
|
|
8223
|
+
var retVal = (output || [])
|
|
8224
|
+
.filter(function (e) { return e != null; })
|
|
8225
|
+
.map(function (entry) {
|
|
8226
|
+
if (entry === null) {
|
|
8227
|
+
return null;
|
|
8228
|
+
}
|
|
8229
|
+
return deserializeAws_json1_1Principal(entry, context);
|
|
8230
|
+
});
|
|
8231
|
+
return retVal;
|
|
8232
|
+
};
|
|
8166
8233
|
var deserializeAws_json1_1PrivateChannelFilter = function (output, context) {
|
|
8167
8234
|
var retVal = (output || [])
|
|
8168
8235
|
.filter(function (e) { return e != null; })
|
|
@@ -8205,41 +8272,35 @@ var deserializeAws_json1_1PublicChannelFilter = function (output, context) {
|
|
|
8205
8272
|
};
|
|
8206
8273
|
var deserializeAws_json1_1QueryResult = function (output, context) {
|
|
8207
8274
|
return {
|
|
8208
|
-
FacetResults: output.FacetResults
|
|
8209
|
-
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
8210
|
-
: undefined,
|
|
8275
|
+
FacetResults: output.FacetResults != null ? deserializeAws_json1_1FacetResultList(output.FacetResults, context) : undefined,
|
|
8211
8276
|
QueryId: __expectString(output.QueryId),
|
|
8212
|
-
ResultItems: output.ResultItems
|
|
8213
|
-
|
|
8214
|
-
: undefined,
|
|
8215
|
-
SpellCorrectedQueries: output.SpellCorrectedQueries !== undefined && output.SpellCorrectedQueries !== null
|
|
8277
|
+
ResultItems: output.ResultItems != null ? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context) : undefined,
|
|
8278
|
+
SpellCorrectedQueries: output.SpellCorrectedQueries != null
|
|
8216
8279
|
? deserializeAws_json1_1SpellCorrectedQueryList(output.SpellCorrectedQueries, context)
|
|
8217
8280
|
: undefined,
|
|
8218
8281
|
TotalNumberOfResults: __expectInt32(output.TotalNumberOfResults),
|
|
8219
|
-
Warnings: output.Warnings
|
|
8220
|
-
? deserializeAws_json1_1WarningList(output.Warnings, context)
|
|
8221
|
-
: undefined,
|
|
8282
|
+
Warnings: output.Warnings != null ? deserializeAws_json1_1WarningList(output.Warnings, context) : undefined,
|
|
8222
8283
|
};
|
|
8223
8284
|
};
|
|
8224
8285
|
var deserializeAws_json1_1QueryResultItem = function (output, context) {
|
|
8225
8286
|
return {
|
|
8226
|
-
AdditionalAttributes: output.AdditionalAttributes
|
|
8287
|
+
AdditionalAttributes: output.AdditionalAttributes != null
|
|
8227
8288
|
? deserializeAws_json1_1AdditionalResultAttributeList(output.AdditionalAttributes, context)
|
|
8228
8289
|
: undefined,
|
|
8229
|
-
DocumentAttributes: output.DocumentAttributes
|
|
8290
|
+
DocumentAttributes: output.DocumentAttributes != null
|
|
8230
8291
|
? deserializeAws_json1_1DocumentAttributeList(output.DocumentAttributes, context)
|
|
8231
8292
|
: undefined,
|
|
8232
|
-
DocumentExcerpt: output.DocumentExcerpt
|
|
8293
|
+
DocumentExcerpt: output.DocumentExcerpt != null
|
|
8233
8294
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentExcerpt, context)
|
|
8234
8295
|
: undefined,
|
|
8235
8296
|
DocumentId: __expectString(output.DocumentId),
|
|
8236
|
-
DocumentTitle: output.DocumentTitle
|
|
8297
|
+
DocumentTitle: output.DocumentTitle != null
|
|
8237
8298
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentTitle, context)
|
|
8238
8299
|
: undefined,
|
|
8239
8300
|
DocumentURI: __expectString(output.DocumentURI),
|
|
8240
8301
|
FeedbackToken: __expectString(output.FeedbackToken),
|
|
8241
8302
|
Id: __expectString(output.Id),
|
|
8242
|
-
ScoreAttributes: output.ScoreAttributes
|
|
8303
|
+
ScoreAttributes: output.ScoreAttributes != null
|
|
8243
8304
|
? deserializeAws_json1_1ScoreAttributes(output.ScoreAttributes, context)
|
|
8244
8305
|
: undefined,
|
|
8245
8306
|
Type: __expectString(output.Type),
|
|
@@ -8258,16 +8319,12 @@ var deserializeAws_json1_1QueryResultItemList = function (output, context) {
|
|
|
8258
8319
|
};
|
|
8259
8320
|
var deserializeAws_json1_1QuerySuggestionsBlockListSummary = function (output, context) {
|
|
8260
8321
|
return {
|
|
8261
|
-
CreatedAt: output.CreatedAt
|
|
8262
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
8263
|
-
: undefined,
|
|
8322
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
8264
8323
|
Id: __expectString(output.Id),
|
|
8265
8324
|
ItemCount: __expectInt32(output.ItemCount),
|
|
8266
8325
|
Name: __expectString(output.Name),
|
|
8267
8326
|
Status: __expectString(output.Status),
|
|
8268
|
-
UpdatedAt: output.UpdatedAt
|
|
8269
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
8270
|
-
: undefined,
|
|
8327
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
8271
8328
|
};
|
|
8272
8329
|
};
|
|
8273
8330
|
var deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = function (output, context) {
|
|
@@ -8283,30 +8340,28 @@ var deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = function (outp
|
|
|
8283
8340
|
};
|
|
8284
8341
|
var deserializeAws_json1_1QuipConfiguration = function (output, context) {
|
|
8285
8342
|
return {
|
|
8286
|
-
AttachmentFieldMappings: output.AttachmentFieldMappings
|
|
8343
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings != null
|
|
8287
8344
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
8288
8345
|
: undefined,
|
|
8289
8346
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8290
8347
|
CrawlChatRooms: __expectBoolean(output.CrawlChatRooms),
|
|
8291
8348
|
CrawlFileComments: __expectBoolean(output.CrawlFileComments),
|
|
8292
8349
|
Domain: __expectString(output.Domain),
|
|
8293
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8350
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8294
8351
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8295
8352
|
: undefined,
|
|
8296
|
-
FolderIds: output.FolderIds
|
|
8297
|
-
|
|
8298
|
-
: undefined,
|
|
8299
|
-
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
8353
|
+
FolderIds: output.FolderIds != null ? deserializeAws_json1_1FolderIdList(output.FolderIds, context) : undefined,
|
|
8354
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8300
8355
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8301
8356
|
: undefined,
|
|
8302
|
-
MessageFieldMappings: output.MessageFieldMappings
|
|
8357
|
+
MessageFieldMappings: output.MessageFieldMappings != null
|
|
8303
8358
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.MessageFieldMappings, context)
|
|
8304
8359
|
: undefined,
|
|
8305
8360
|
SecretArn: __expectString(output.SecretArn),
|
|
8306
|
-
ThreadFieldMappings: output.ThreadFieldMappings
|
|
8361
|
+
ThreadFieldMappings: output.ThreadFieldMappings != null
|
|
8307
8362
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ThreadFieldMappings, context)
|
|
8308
8363
|
: undefined,
|
|
8309
|
-
VpcConfiguration: output.VpcConfiguration
|
|
8364
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
8310
8365
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8311
8366
|
: undefined,
|
|
8312
8367
|
};
|
|
@@ -8317,7 +8372,7 @@ var deserializeAws_json1_1Relevance = function (output, context) {
|
|
|
8317
8372
|
Freshness: __expectBoolean(output.Freshness),
|
|
8318
8373
|
Importance: __expectInt32(output.Importance),
|
|
8319
8374
|
RankOrder: __expectString(output.RankOrder),
|
|
8320
|
-
ValueImportanceMap: output.ValueImportanceMap
|
|
8375
|
+
ValueImportanceMap: output.ValueImportanceMap != null
|
|
8321
8376
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
8322
8377
|
: undefined,
|
|
8323
8378
|
};
|
|
@@ -8355,20 +8410,20 @@ var deserializeAws_json1_1ResourceUnavailableException = function (output, conte
|
|
|
8355
8410
|
};
|
|
8356
8411
|
var deserializeAws_json1_1S3DataSourceConfiguration = function (output, context) {
|
|
8357
8412
|
return {
|
|
8358
|
-
AccessControlListConfiguration: output.AccessControlListConfiguration
|
|
8413
|
+
AccessControlListConfiguration: output.AccessControlListConfiguration != null
|
|
8359
8414
|
? deserializeAws_json1_1AccessControlListConfiguration(output.AccessControlListConfiguration, context)
|
|
8360
8415
|
: undefined,
|
|
8361
8416
|
BucketName: __expectString(output.BucketName),
|
|
8362
|
-
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration
|
|
8417
|
+
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration != null
|
|
8363
8418
|
? deserializeAws_json1_1DocumentsMetadataConfiguration(output.DocumentsMetadataConfiguration, context)
|
|
8364
8419
|
: undefined,
|
|
8365
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8420
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8366
8421
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8367
8422
|
: undefined,
|
|
8368
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8423
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8369
8424
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8370
8425
|
: undefined,
|
|
8371
|
-
InclusionPrefixes: output.InclusionPrefixes
|
|
8426
|
+
InclusionPrefixes: output.InclusionPrefixes != null
|
|
8372
8427
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPrefixes, context)
|
|
8373
8428
|
: undefined,
|
|
8374
8429
|
};
|
|
@@ -8389,10 +8444,10 @@ var deserializeAws_json1_1SalesforceChatterFeedConfiguration = function (output,
|
|
|
8389
8444
|
return {
|
|
8390
8445
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8391
8446
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8392
|
-
FieldMappings: output.FieldMappings
|
|
8447
|
+
FieldMappings: output.FieldMappings != null
|
|
8393
8448
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8394
8449
|
: undefined,
|
|
8395
|
-
IncludeFilterTypes: output.IncludeFilterTypes
|
|
8450
|
+
IncludeFilterTypes: output.IncludeFilterTypes != null
|
|
8396
8451
|
? deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes(output.IncludeFilterTypes, context)
|
|
8397
8452
|
: undefined,
|
|
8398
8453
|
};
|
|
@@ -8410,26 +8465,25 @@ var deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = function (ou
|
|
|
8410
8465
|
};
|
|
8411
8466
|
var deserializeAws_json1_1SalesforceConfiguration = function (output, context) {
|
|
8412
8467
|
return {
|
|
8413
|
-
ChatterFeedConfiguration: output.ChatterFeedConfiguration
|
|
8468
|
+
ChatterFeedConfiguration: output.ChatterFeedConfiguration != null
|
|
8414
8469
|
? deserializeAws_json1_1SalesforceChatterFeedConfiguration(output.ChatterFeedConfiguration, context)
|
|
8415
8470
|
: undefined,
|
|
8416
8471
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8417
|
-
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns
|
|
8472
|
+
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns != null
|
|
8418
8473
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
8419
8474
|
: undefined,
|
|
8420
|
-
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns
|
|
8475
|
+
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns != null
|
|
8421
8476
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
8422
8477
|
: undefined,
|
|
8423
|
-
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration
|
|
8478
|
+
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration != null
|
|
8424
8479
|
? deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
8425
8480
|
: undefined,
|
|
8426
8481
|
SecretArn: __expectString(output.SecretArn),
|
|
8427
8482
|
ServerUrl: __expectString(output.ServerUrl),
|
|
8428
|
-
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration
|
|
8429
|
-
output.StandardObjectAttachmentConfiguration !== null
|
|
8483
|
+
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration != null
|
|
8430
8484
|
? deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(output.StandardObjectAttachmentConfiguration, context)
|
|
8431
8485
|
: undefined,
|
|
8432
|
-
StandardObjectConfigurations: output.StandardObjectConfigurations
|
|
8486
|
+
StandardObjectConfigurations: output.StandardObjectConfigurations != null
|
|
8433
8487
|
? deserializeAws_json1_1SalesforceStandardObjectConfigurationList(output.StandardObjectConfigurations, context)
|
|
8434
8488
|
: undefined,
|
|
8435
8489
|
};
|
|
@@ -8438,7 +8492,7 @@ var deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = fu
|
|
|
8438
8492
|
return {
|
|
8439
8493
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8440
8494
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8441
|
-
FieldMappings: output.FieldMappings
|
|
8495
|
+
FieldMappings: output.FieldMappings != null
|
|
8442
8496
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8443
8497
|
: undefined,
|
|
8444
8498
|
Name: __expectString(output.Name),
|
|
@@ -8457,15 +8511,13 @@ var deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList
|
|
|
8457
8511
|
};
|
|
8458
8512
|
var deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration = function (output, context) {
|
|
8459
8513
|
return {
|
|
8460
|
-
CustomKnowledgeArticleTypeConfigurations: output.CustomKnowledgeArticleTypeConfigurations
|
|
8461
|
-
output.CustomKnowledgeArticleTypeConfigurations !== null
|
|
8514
|
+
CustomKnowledgeArticleTypeConfigurations: output.CustomKnowledgeArticleTypeConfigurations != null
|
|
8462
8515
|
? deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList(output.CustomKnowledgeArticleTypeConfigurations, context)
|
|
8463
8516
|
: undefined,
|
|
8464
|
-
IncludedStates: output.IncludedStates
|
|
8517
|
+
IncludedStates: output.IncludedStates != null
|
|
8465
8518
|
? deserializeAws_json1_1SalesforceKnowledgeArticleStateList(output.IncludedStates, context)
|
|
8466
8519
|
: undefined,
|
|
8467
|
-
StandardKnowledgeArticleTypeConfiguration: output.StandardKnowledgeArticleTypeConfiguration
|
|
8468
|
-
output.StandardKnowledgeArticleTypeConfiguration !== null
|
|
8520
|
+
StandardKnowledgeArticleTypeConfiguration: output.StandardKnowledgeArticleTypeConfiguration != null
|
|
8469
8521
|
? deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration(output.StandardKnowledgeArticleTypeConfiguration, context)
|
|
8470
8522
|
: undefined,
|
|
8471
8523
|
};
|
|
@@ -8485,7 +8537,7 @@ var deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration =
|
|
|
8485
8537
|
return {
|
|
8486
8538
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8487
8539
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8488
|
-
FieldMappings: output.FieldMappings
|
|
8540
|
+
FieldMappings: output.FieldMappings != null
|
|
8489
8541
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8490
8542
|
: undefined,
|
|
8491
8543
|
};
|
|
@@ -8493,7 +8545,7 @@ var deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration =
|
|
|
8493
8545
|
var deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = function (output, context) {
|
|
8494
8546
|
return {
|
|
8495
8547
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8496
|
-
FieldMappings: output.FieldMappings
|
|
8548
|
+
FieldMappings: output.FieldMappings != null
|
|
8497
8549
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8498
8550
|
: undefined,
|
|
8499
8551
|
};
|
|
@@ -8502,7 +8554,7 @@ var deserializeAws_json1_1SalesforceStandardObjectConfiguration = function (outp
|
|
|
8502
8554
|
return {
|
|
8503
8555
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8504
8556
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8505
|
-
FieldMappings: output.FieldMappings
|
|
8557
|
+
FieldMappings: output.FieldMappings != null
|
|
8506
8558
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8507
8559
|
: undefined,
|
|
8508
8560
|
Name: __expectString(output.Name),
|
|
@@ -8545,9 +8597,7 @@ var deserializeAws_json1_1SecurityGroupIdList = function (output, context) {
|
|
|
8545
8597
|
};
|
|
8546
8598
|
var deserializeAws_json1_1SeedUrlConfiguration = function (output, context) {
|
|
8547
8599
|
return {
|
|
8548
|
-
SeedUrls: output.SeedUrls
|
|
8549
|
-
? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context)
|
|
8550
|
-
: undefined,
|
|
8600
|
+
SeedUrls: output.SeedUrls != null ? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context) : undefined,
|
|
8551
8601
|
WebCrawlerMode: __expectString(output.WebCrawlerMode),
|
|
8552
8602
|
};
|
|
8553
8603
|
};
|
|
@@ -8571,11 +8621,11 @@ var deserializeAws_json1_1ServiceNowConfiguration = function (output, context) {
|
|
|
8571
8621
|
return {
|
|
8572
8622
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
8573
8623
|
HostUrl: __expectString(output.HostUrl),
|
|
8574
|
-
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration
|
|
8624
|
+
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration != null
|
|
8575
8625
|
? deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
8576
8626
|
: undefined,
|
|
8577
8627
|
SecretArn: __expectString(output.SecretArn),
|
|
8578
|
-
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration
|
|
8628
|
+
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration != null
|
|
8579
8629
|
? deserializeAws_json1_1ServiceNowServiceCatalogConfiguration(output.ServiceCatalogConfiguration, context)
|
|
8580
8630
|
: undefined,
|
|
8581
8631
|
ServiceNowBuildVersion: __expectString(output.ServiceNowBuildVersion),
|
|
@@ -8586,14 +8636,14 @@ var deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = function (ou
|
|
|
8586
8636
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8587
8637
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8588
8638
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8589
|
-
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns
|
|
8639
|
+
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns != null
|
|
8590
8640
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
8591
8641
|
: undefined,
|
|
8592
|
-
FieldMappings: output.FieldMappings
|
|
8642
|
+
FieldMappings: output.FieldMappings != null
|
|
8593
8643
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8594
8644
|
: undefined,
|
|
8595
8645
|
FilterQuery: __expectString(output.FilterQuery),
|
|
8596
|
-
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns
|
|
8646
|
+
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns != null
|
|
8597
8647
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
8598
8648
|
: undefined,
|
|
8599
8649
|
};
|
|
@@ -8603,13 +8653,13 @@ var deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (outp
|
|
|
8603
8653
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8604
8654
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8605
8655
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8606
|
-
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns
|
|
8656
|
+
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns != null
|
|
8607
8657
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
8608
8658
|
: undefined,
|
|
8609
|
-
FieldMappings: output.FieldMappings
|
|
8659
|
+
FieldMappings: output.FieldMappings != null
|
|
8610
8660
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8611
8661
|
: undefined,
|
|
8612
|
-
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns
|
|
8662
|
+
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns != null
|
|
8613
8663
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
8614
8664
|
: undefined,
|
|
8615
8665
|
};
|
|
@@ -8624,25 +8674,23 @@ var deserializeAws_json1_1SharePointConfiguration = function (output, context) {
|
|
|
8624
8674
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8625
8675
|
DisableLocalGroups: __expectBoolean(output.DisableLocalGroups),
|
|
8626
8676
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8627
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8677
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8628
8678
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8629
8679
|
: undefined,
|
|
8630
|
-
FieldMappings: output.FieldMappings
|
|
8680
|
+
FieldMappings: output.FieldMappings != null
|
|
8631
8681
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8632
8682
|
: undefined,
|
|
8633
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8683
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8634
8684
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8635
8685
|
: undefined,
|
|
8636
8686
|
SecretArn: __expectString(output.SecretArn),
|
|
8637
8687
|
SharePointVersion: __expectString(output.SharePointVersion),
|
|
8638
|
-
SslCertificateS3Path: output.SslCertificateS3Path
|
|
8688
|
+
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
8639
8689
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
8640
8690
|
: undefined,
|
|
8641
|
-
Urls: output.Urls
|
|
8642
|
-
? deserializeAws_json1_1SharePointUrlList(output.Urls, context)
|
|
8643
|
-
: undefined,
|
|
8691
|
+
Urls: output.Urls != null ? deserializeAws_json1_1SharePointUrlList(output.Urls, context) : undefined,
|
|
8644
8692
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
8645
|
-
VpcConfiguration: output.VpcConfiguration
|
|
8693
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
8646
8694
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8647
8695
|
: undefined,
|
|
8648
8696
|
};
|
|
@@ -8660,9 +8708,7 @@ var deserializeAws_json1_1SharePointUrlList = function (output, context) {
|
|
|
8660
8708
|
};
|
|
8661
8709
|
var deserializeAws_json1_1SiteMapsConfiguration = function (output, context) {
|
|
8662
8710
|
return {
|
|
8663
|
-
SiteMaps: output.SiteMaps
|
|
8664
|
-
? deserializeAws_json1_1SiteMapsList(output.SiteMaps, context)
|
|
8665
|
-
: undefined,
|
|
8711
|
+
SiteMaps: output.SiteMaps != null ? deserializeAws_json1_1SiteMapsList(output.SiteMaps, context) : undefined,
|
|
8666
8712
|
};
|
|
8667
8713
|
};
|
|
8668
8714
|
var deserializeAws_json1_1SiteMapsList = function (output, context) {
|
|
@@ -8680,30 +8726,30 @@ var deserializeAws_json1_1SlackConfiguration = function (output, context) {
|
|
|
8680
8726
|
return {
|
|
8681
8727
|
CrawlBotMessage: __expectBoolean(output.CrawlBotMessage),
|
|
8682
8728
|
ExcludeArchived: __expectBoolean(output.ExcludeArchived),
|
|
8683
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8729
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8684
8730
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8685
8731
|
: undefined,
|
|
8686
|
-
FieldMappings: output.FieldMappings
|
|
8732
|
+
FieldMappings: output.FieldMappings != null
|
|
8687
8733
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8688
8734
|
: undefined,
|
|
8689
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8735
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8690
8736
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8691
8737
|
: undefined,
|
|
8692
8738
|
LookBackPeriod: __expectInt32(output.LookBackPeriod),
|
|
8693
|
-
PrivateChannelFilter: output.PrivateChannelFilter
|
|
8739
|
+
PrivateChannelFilter: output.PrivateChannelFilter != null
|
|
8694
8740
|
? deserializeAws_json1_1PrivateChannelFilter(output.PrivateChannelFilter, context)
|
|
8695
8741
|
: undefined,
|
|
8696
|
-
PublicChannelFilter: output.PublicChannelFilter
|
|
8742
|
+
PublicChannelFilter: output.PublicChannelFilter != null
|
|
8697
8743
|
? deserializeAws_json1_1PublicChannelFilter(output.PublicChannelFilter, context)
|
|
8698
8744
|
: undefined,
|
|
8699
8745
|
SecretArn: __expectString(output.SecretArn),
|
|
8700
8746
|
SinceCrawlDate: __expectString(output.SinceCrawlDate),
|
|
8701
|
-
SlackEntityList: output.SlackEntityList
|
|
8747
|
+
SlackEntityList: output.SlackEntityList != null
|
|
8702
8748
|
? deserializeAws_json1_1SlackEntityList(output.SlackEntityList, context)
|
|
8703
8749
|
: undefined,
|
|
8704
8750
|
TeamId: __expectString(output.TeamId),
|
|
8705
8751
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
8706
|
-
VpcConfiguration: output.VpcConfiguration
|
|
8752
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
8707
8753
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8708
8754
|
: undefined,
|
|
8709
8755
|
};
|
|
@@ -8754,9 +8800,7 @@ var deserializeAws_json1_1SnapshotsDataRecords = function (output, context) {
|
|
|
8754
8800
|
};
|
|
8755
8801
|
var deserializeAws_json1_1SpellCorrectedQuery = function (output, context) {
|
|
8756
8802
|
return {
|
|
8757
|
-
Corrections: output.Corrections
|
|
8758
|
-
? deserializeAws_json1_1CorrectionList(output.Corrections, context)
|
|
8759
|
-
: undefined,
|
|
8803
|
+
Corrections: output.Corrections != null ? deserializeAws_json1_1CorrectionList(output.Corrections, context) : undefined,
|
|
8760
8804
|
SuggestedQueryText: __expectString(output.SuggestedQueryText),
|
|
8761
8805
|
};
|
|
8762
8806
|
};
|
|
@@ -8814,9 +8858,7 @@ var deserializeAws_json1_1SubnetIdList = function (output, context) {
|
|
|
8814
8858
|
var deserializeAws_json1_1Suggestion = function (output, context) {
|
|
8815
8859
|
return {
|
|
8816
8860
|
Id: __expectString(output.Id),
|
|
8817
|
-
Value: output.Value
|
|
8818
|
-
? deserializeAws_json1_1SuggestionValue(output.Value, context)
|
|
8819
|
-
: undefined,
|
|
8861
|
+
Value: output.Value != null ? deserializeAws_json1_1SuggestionValue(output.Value, context) : undefined,
|
|
8820
8862
|
};
|
|
8821
8863
|
};
|
|
8822
8864
|
var deserializeAws_json1_1SuggestionHighlight = function (output, context) {
|
|
@@ -8849,17 +8891,13 @@ var deserializeAws_json1_1SuggestionList = function (output, context) {
|
|
|
8849
8891
|
};
|
|
8850
8892
|
var deserializeAws_json1_1SuggestionTextWithHighlights = function (output, context) {
|
|
8851
8893
|
return {
|
|
8852
|
-
Highlights: output.Highlights
|
|
8853
|
-
? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context)
|
|
8854
|
-
: undefined,
|
|
8894
|
+
Highlights: output.Highlights != null ? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context) : undefined,
|
|
8855
8895
|
Text: __expectString(output.Text),
|
|
8856
8896
|
};
|
|
8857
8897
|
};
|
|
8858
8898
|
var deserializeAws_json1_1SuggestionValue = function (output, context) {
|
|
8859
8899
|
return {
|
|
8860
|
-
Text: output.Text
|
|
8861
|
-
? deserializeAws_json1_1SuggestionTextWithHighlights(output.Text, context)
|
|
8862
|
-
: undefined,
|
|
8900
|
+
Text: output.Text != null ? deserializeAws_json1_1SuggestionTextWithHighlights(output.Text, context) : undefined,
|
|
8863
8901
|
};
|
|
8864
8902
|
};
|
|
8865
8903
|
var deserializeAws_json1_1Tag = function (output, context) {
|
|
@@ -8890,23 +8928,17 @@ var deserializeAws_json1_1TextDocumentStatistics = function (output, context) {
|
|
|
8890
8928
|
};
|
|
8891
8929
|
var deserializeAws_json1_1TextWithHighlights = function (output, context) {
|
|
8892
8930
|
return {
|
|
8893
|
-
Highlights: output.Highlights
|
|
8894
|
-
? deserializeAws_json1_1HighlightList(output.Highlights, context)
|
|
8895
|
-
: undefined,
|
|
8931
|
+
Highlights: output.Highlights != null ? deserializeAws_json1_1HighlightList(output.Highlights, context) : undefined,
|
|
8896
8932
|
Text: __expectString(output.Text),
|
|
8897
8933
|
};
|
|
8898
8934
|
};
|
|
8899
8935
|
var deserializeAws_json1_1ThesaurusSummary = function (output, context) {
|
|
8900
8936
|
return {
|
|
8901
|
-
CreatedAt: output.CreatedAt
|
|
8902
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
8903
|
-
: undefined,
|
|
8937
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
8904
8938
|
Id: __expectString(output.Id),
|
|
8905
8939
|
Name: __expectString(output.Name),
|
|
8906
8940
|
Status: __expectString(output.Status),
|
|
8907
|
-
UpdatedAt: output.UpdatedAt
|
|
8908
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
8909
|
-
: undefined,
|
|
8941
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
8910
8942
|
};
|
|
8911
8943
|
};
|
|
8912
8944
|
var deserializeAws_json1_1ThesaurusSummaryItems = function (output, context) {
|
|
@@ -8927,23 +8959,22 @@ var deserializeAws_json1_1ThrottlingException = function (output, context) {
|
|
|
8927
8959
|
};
|
|
8928
8960
|
var deserializeAws_json1_1TimeRange = function (output, context) {
|
|
8929
8961
|
return {
|
|
8930
|
-
EndTime: output.EndTime
|
|
8931
|
-
|
|
8932
|
-
: undefined,
|
|
8933
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
8934
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
8935
|
-
: undefined,
|
|
8962
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
8963
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
8936
8964
|
};
|
|
8937
8965
|
};
|
|
8938
8966
|
var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
8939
8967
|
return {};
|
|
8940
8968
|
};
|
|
8969
|
+
var deserializeAws_json1_1UpdateAccessControlConfigurationResponse = function (output, context) {
|
|
8970
|
+
return {};
|
|
8971
|
+
};
|
|
8941
8972
|
var deserializeAws_json1_1Urls = function (output, context) {
|
|
8942
8973
|
return {
|
|
8943
|
-
SeedUrlConfiguration: output.SeedUrlConfiguration
|
|
8974
|
+
SeedUrlConfiguration: output.SeedUrlConfiguration != null
|
|
8944
8975
|
? deserializeAws_json1_1SeedUrlConfiguration(output.SeedUrlConfiguration, context)
|
|
8945
8976
|
: undefined,
|
|
8946
|
-
SiteMapsConfiguration: output.SiteMapsConfiguration
|
|
8977
|
+
SiteMapsConfiguration: output.SiteMapsConfiguration != null
|
|
8947
8978
|
? deserializeAws_json1_1SiteMapsConfiguration(output.SiteMapsConfiguration, context)
|
|
8948
8979
|
: undefined,
|
|
8949
8980
|
};
|
|
@@ -8960,10 +8991,10 @@ var deserializeAws_json1_1UserIdentityConfiguration = function (output, context)
|
|
|
8960
8991
|
};
|
|
8961
8992
|
var deserializeAws_json1_1UserTokenConfiguration = function (output, context) {
|
|
8962
8993
|
return {
|
|
8963
|
-
JsonTokenTypeConfiguration: output.JsonTokenTypeConfiguration
|
|
8994
|
+
JsonTokenTypeConfiguration: output.JsonTokenTypeConfiguration != null
|
|
8964
8995
|
? deserializeAws_json1_1JsonTokenTypeConfiguration(output.JsonTokenTypeConfiguration, context)
|
|
8965
8996
|
: undefined,
|
|
8966
|
-
JwtTokenTypeConfiguration: output.JwtTokenTypeConfiguration
|
|
8997
|
+
JwtTokenTypeConfiguration: output.JwtTokenTypeConfiguration != null
|
|
8967
8998
|
? deserializeAws_json1_1JwtTokenTypeConfiguration(output.JwtTokenTypeConfiguration, context)
|
|
8968
8999
|
: undefined,
|
|
8969
9000
|
};
|
|
@@ -9013,35 +9044,35 @@ var deserializeAws_json1_1WarningList = function (output, context) {
|
|
|
9013
9044
|
};
|
|
9014
9045
|
var deserializeAws_json1_1WebCrawlerConfiguration = function (output, context) {
|
|
9015
9046
|
return {
|
|
9016
|
-
AuthenticationConfiguration: output.AuthenticationConfiguration
|
|
9047
|
+
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
9017
9048
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
9018
9049
|
: undefined,
|
|
9019
9050
|
CrawlDepth: __expectInt32(output.CrawlDepth),
|
|
9020
9051
|
MaxContentSizePerPageInMegaBytes: __limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
|
|
9021
9052
|
MaxLinksPerPage: __expectInt32(output.MaxLinksPerPage),
|
|
9022
9053
|
MaxUrlsPerMinuteCrawlRate: __expectInt32(output.MaxUrlsPerMinuteCrawlRate),
|
|
9023
|
-
ProxyConfiguration: output.ProxyConfiguration
|
|
9054
|
+
ProxyConfiguration: output.ProxyConfiguration != null
|
|
9024
9055
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
9025
9056
|
: undefined,
|
|
9026
|
-
UrlExclusionPatterns: output.UrlExclusionPatterns
|
|
9057
|
+
UrlExclusionPatterns: output.UrlExclusionPatterns != null
|
|
9027
9058
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.UrlExclusionPatterns, context)
|
|
9028
9059
|
: undefined,
|
|
9029
|
-
UrlInclusionPatterns: output.UrlInclusionPatterns
|
|
9060
|
+
UrlInclusionPatterns: output.UrlInclusionPatterns != null
|
|
9030
9061
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.UrlInclusionPatterns, context)
|
|
9031
9062
|
: undefined,
|
|
9032
|
-
Urls: output.Urls
|
|
9063
|
+
Urls: output.Urls != null ? deserializeAws_json1_1Urls(output.Urls, context) : undefined,
|
|
9033
9064
|
};
|
|
9034
9065
|
};
|
|
9035
9066
|
var deserializeAws_json1_1WorkDocsConfiguration = function (output, context) {
|
|
9036
9067
|
return {
|
|
9037
9068
|
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
9038
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
9069
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
9039
9070
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
9040
9071
|
: undefined,
|
|
9041
|
-
FieldMappings: output.FieldMappings
|
|
9072
|
+
FieldMappings: output.FieldMappings != null
|
|
9042
9073
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
9043
9074
|
: undefined,
|
|
9044
|
-
InclusionPatterns: output.InclusionPatterns
|
|
9075
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
9045
9076
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
9046
9077
|
: undefined,
|
|
9047
9078
|
OrganizationId: __expectString(output.OrganizationId),
|
|
@@ -9104,6 +9135,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
9104
9135
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
9105
9136
|
var sanitizeErrorCode = function (rawValue) {
|
|
9106
9137
|
var cleanValue = rawValue;
|
|
9138
|
+
if (typeof cleanValue === "number") {
|
|
9139
|
+
cleanValue = cleanValue.toString();
|
|
9140
|
+
}
|
|
9107
9141
|
if (cleanValue.indexOf(":") >= 0) {
|
|
9108
9142
|
cleanValue = cleanValue.split(":")[0];
|
|
9109
9143
|
}
|