@aws-sdk/client-kendra 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/KendraClient.js +13 -13
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +3 -3
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +3 -3
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +3 -3
- package/dist-cjs/commands/BatchPutDocumentCommand.js +3 -3
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +3 -3
- package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
- package/dist-cjs/commands/CreateExperienceCommand.js +3 -3
- package/dist-cjs/commands/CreateFaqCommand.js +3 -3
- package/dist-cjs/commands/CreateIndexCommand.js +3 -3
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/CreateThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
- package/dist-cjs/commands/DeleteExperienceCommand.js +3 -3
- package/dist-cjs/commands/DeleteFaqCommand.js +3 -3
- package/dist-cjs/commands/DeleteIndexCommand.js +3 -3
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/DeleteThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataSourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeExperienceCommand.js +3 -3
- package/dist-cjs/commands/DescribeFaqCommand.js +3 -3
- package/dist-cjs/commands/DescribeIndexCommand.js +3 -3
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +3 -3
- package/dist-cjs/commands/GetSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityPersonasCommand.js +3 -3
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +3 -3
- package/dist-cjs/commands/ListExperiencesCommand.js +3 -3
- package/dist-cjs/commands/ListFaqsCommand.js +3 -3
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
- package/dist-cjs/commands/ListIndicesCommand.js +3 -3
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListThesauriCommand.js +3 -3
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/QueryCommand.js +3 -3
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +3 -3
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +3 -3
- package/dist-cjs/commands/SubmitFeedbackCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateExperienceCommand.js +3 -3
- package/dist-cjs/commands/UpdateIndexCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateThesaurusCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +18 -4
- package/dist-cjs/protocols/Aws_json1_1.js +592 -447
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Kendra.js +55 -55
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/pagination/GetSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSourcesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityPersonasPaginator.js +4 -4
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +4 -4
- package/dist-es/pagination/ListExperiencesPaginator.js +4 -4
- package/dist-es/pagination/ListIndicesPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +130 -1
- package/dist-types/models/models_0.d.ts +359 -213
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDataSourcesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDataSourcesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDataSources.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDataSources.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDataSources(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityPersonasCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityPersonasCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEntityPersonas.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEntityPersonas.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEntityPersonas(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListExperienceEntitiesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListExperienceEntitiesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listExperienceEntities.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listExperienceEntities.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateListExperienceEntities(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListExperiencesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListExperiencesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listExperiences.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listExperiences.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListExperiences(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListIndicesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListIndicesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listIndices.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listIndices.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListIndices(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -4873,7 +4873,7 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
|
4873
4873
|
}));
|
|
4874
4874
|
};
|
|
4875
4875
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
4876
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfluenceConfiguration !== undefined &&
|
|
4876
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfluenceConfiguration !== undefined &&
|
|
4877
4877
|
input.ConfluenceConfiguration !== null && {
|
|
4878
4878
|
ConfluenceConfiguration: serializeAws_json1_1ConfluenceConfiguration(input.ConfluenceConfiguration, context),
|
|
4879
4879
|
})), (input.DatabaseConfiguration !== undefined &&
|
|
@@ -4900,6 +4900,9 @@ var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
|
4900
4900
|
})), (input.SharePointConfiguration !== undefined &&
|
|
4901
4901
|
input.SharePointConfiguration !== null && {
|
|
4902
4902
|
SharePointConfiguration: serializeAws_json1_1SharePointConfiguration(input.SharePointConfiguration, context),
|
|
4903
|
+
})), (input.SlackConfiguration !== undefined &&
|
|
4904
|
+
input.SlackConfiguration !== null && {
|
|
4905
|
+
SlackConfiguration: serializeAws_json1_1SlackConfiguration(input.SlackConfiguration, context),
|
|
4903
4906
|
})), (input.WebCrawlerConfiguration !== undefined &&
|
|
4904
4907
|
input.WebCrawlerConfiguration !== null && {
|
|
4905
4908
|
WebCrawlerConfiguration: serializeAws_json1_1WebCrawlerConfiguration(input.WebCrawlerConfiguration, context),
|
|
@@ -5486,9 +5489,29 @@ var serializeAws_json1_1PrincipalList = function (input, context) {
|
|
|
5486
5489
|
return serializeAws_json1_1Principal(entry, context);
|
|
5487
5490
|
});
|
|
5488
5491
|
};
|
|
5492
|
+
var serializeAws_json1_1PrivateChannelFilter = function (input, context) {
|
|
5493
|
+
return input
|
|
5494
|
+
.filter(function (e) { return e != null; })
|
|
5495
|
+
.map(function (entry) {
|
|
5496
|
+
if (entry === null) {
|
|
5497
|
+
return null;
|
|
5498
|
+
}
|
|
5499
|
+
return entry;
|
|
5500
|
+
});
|
|
5501
|
+
};
|
|
5489
5502
|
var serializeAws_json1_1ProxyConfiguration = function (input, context) {
|
|
5490
5503
|
return __assign(__assign(__assign({}, (input.Credentials !== undefined && input.Credentials !== null && { Credentials: input.Credentials })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
|
|
5491
5504
|
};
|
|
5505
|
+
var serializeAws_json1_1PublicChannelFilter = function (input, context) {
|
|
5506
|
+
return input
|
|
5507
|
+
.filter(function (e) { return e != null; })
|
|
5508
|
+
.map(function (entry) {
|
|
5509
|
+
if (entry === null) {
|
|
5510
|
+
return null;
|
|
5511
|
+
}
|
|
5512
|
+
return entry;
|
|
5513
|
+
});
|
|
5514
|
+
};
|
|
5492
5515
|
var serializeAws_json1_1PutPrincipalMappingRequest = function (input, context) {
|
|
5493
5516
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId })), (input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId })), (input.GroupMembers !== undefined &&
|
|
5494
5517
|
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 }));
|
|
@@ -5790,6 +5813,44 @@ var serializeAws_json1_1SiteMapsList = function (input, context) {
|
|
|
5790
5813
|
return entry;
|
|
5791
5814
|
});
|
|
5792
5815
|
};
|
|
5816
|
+
var serializeAws_json1_1SlackConfiguration = function (input, context) {
|
|
5817
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlBotMessage !== undefined &&
|
|
5818
|
+
input.CrawlBotMessage !== null && { CrawlBotMessage: input.CrawlBotMessage })), (input.ExcludeArchived !== undefined &&
|
|
5819
|
+
input.ExcludeArchived !== null && { ExcludeArchived: input.ExcludeArchived })), (input.ExclusionPatterns !== undefined &&
|
|
5820
|
+
input.ExclusionPatterns !== null && {
|
|
5821
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5822
|
+
})), (input.FieldMappings !== undefined &&
|
|
5823
|
+
input.FieldMappings !== null && {
|
|
5824
|
+
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5825
|
+
})), (input.InclusionPatterns !== undefined &&
|
|
5826
|
+
input.InclusionPatterns !== null && {
|
|
5827
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5828
|
+
})), (input.LookBackPeriod !== undefined &&
|
|
5829
|
+
input.LookBackPeriod !== null && { LookBackPeriod: input.LookBackPeriod })), (input.PrivateChannelFilter !== undefined &&
|
|
5830
|
+
input.PrivateChannelFilter !== null && {
|
|
5831
|
+
PrivateChannelFilter: serializeAws_json1_1PrivateChannelFilter(input.PrivateChannelFilter, context),
|
|
5832
|
+
})), (input.PublicChannelFilter !== undefined &&
|
|
5833
|
+
input.PublicChannelFilter !== null && {
|
|
5834
|
+
PublicChannelFilter: serializeAws_json1_1PublicChannelFilter(input.PublicChannelFilter, context),
|
|
5835
|
+
})), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.SinceCrawlDate !== undefined &&
|
|
5836
|
+
input.SinceCrawlDate !== null && { SinceCrawlDate: input.SinceCrawlDate })), (input.SlackEntityList !== undefined &&
|
|
5837
|
+
input.SlackEntityList !== null && {
|
|
5838
|
+
SlackEntityList: serializeAws_json1_1SlackEntityList(input.SlackEntityList, context),
|
|
5839
|
+
})), (input.TeamId !== undefined && input.TeamId !== null && { TeamId: input.TeamId })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
5840
|
+
input.VpcConfiguration !== null && {
|
|
5841
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5842
|
+
}));
|
|
5843
|
+
};
|
|
5844
|
+
var serializeAws_json1_1SlackEntityList = function (input, context) {
|
|
5845
|
+
return input
|
|
5846
|
+
.filter(function (e) { return e != null; })
|
|
5847
|
+
.map(function (entry) {
|
|
5848
|
+
if (entry === null) {
|
|
5849
|
+
return null;
|
|
5850
|
+
}
|
|
5851
|
+
return entry;
|
|
5852
|
+
});
|
|
5853
|
+
};
|
|
5793
5854
|
var serializeAws_json1_1SortingConfiguration = function (input, context) {
|
|
5794
5855
|
return __assign(__assign({}, (input.DocumentAttributeKey !== undefined &&
|
|
5795
5856
|
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
@@ -6489,6 +6550,9 @@ var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
|
6489
6550
|
SharePointConfiguration: output.SharePointConfiguration !== undefined && output.SharePointConfiguration !== null
|
|
6490
6551
|
? deserializeAws_json1_1SharePointConfiguration(output.SharePointConfiguration, context)
|
|
6491
6552
|
: undefined,
|
|
6553
|
+
SlackConfiguration: output.SlackConfiguration !== undefined && output.SlackConfiguration !== null
|
|
6554
|
+
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6555
|
+
: undefined,
|
|
6492
6556
|
WebCrawlerConfiguration: output.WebCrawlerConfiguration !== undefined && output.WebCrawlerConfiguration !== null
|
|
6493
6557
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
6494
6558
|
: undefined,
|
|
@@ -7485,6 +7549,17 @@ var deserializeAws_json1_1PersonasSummaryList = function (output, context) {
|
|
|
7485
7549
|
});
|
|
7486
7550
|
return retVal;
|
|
7487
7551
|
};
|
|
7552
|
+
var deserializeAws_json1_1PrivateChannelFilter = function (output, context) {
|
|
7553
|
+
var retVal = (output || [])
|
|
7554
|
+
.filter(function (e) { return e != null; })
|
|
7555
|
+
.map(function (entry) {
|
|
7556
|
+
if (entry === null) {
|
|
7557
|
+
return null;
|
|
7558
|
+
}
|
|
7559
|
+
return __expectString(entry);
|
|
7560
|
+
});
|
|
7561
|
+
return retVal;
|
|
7562
|
+
};
|
|
7488
7563
|
var deserializeAws_json1_1ProxyConfiguration = function (output, context) {
|
|
7489
7564
|
return {
|
|
7490
7565
|
Credentials: __expectString(output.Credentials),
|
|
@@ -7492,6 +7567,17 @@ var deserializeAws_json1_1ProxyConfiguration = function (output, context) {
|
|
|
7492
7567
|
Port: __expectInt32(output.Port),
|
|
7493
7568
|
};
|
|
7494
7569
|
};
|
|
7570
|
+
var deserializeAws_json1_1PublicChannelFilter = function (output, context) {
|
|
7571
|
+
var retVal = (output || [])
|
|
7572
|
+
.filter(function (e) { return e != null; })
|
|
7573
|
+
.map(function (entry) {
|
|
7574
|
+
if (entry === null) {
|
|
7575
|
+
return null;
|
|
7576
|
+
}
|
|
7577
|
+
return __expectString(entry);
|
|
7578
|
+
});
|
|
7579
|
+
return retVal;
|
|
7580
|
+
};
|
|
7495
7581
|
var deserializeAws_json1_1QueryResult = function (output, context) {
|
|
7496
7582
|
return {
|
|
7497
7583
|
FacetResults: output.FacetResults !== undefined && output.FacetResults !== null
|
|
@@ -7918,6 +8004,49 @@ var deserializeAws_json1_1SiteMapsList = function (output, context) {
|
|
|
7918
8004
|
});
|
|
7919
8005
|
return retVal;
|
|
7920
8006
|
};
|
|
8007
|
+
var deserializeAws_json1_1SlackConfiguration = function (output, context) {
|
|
8008
|
+
return {
|
|
8009
|
+
CrawlBotMessage: __expectBoolean(output.CrawlBotMessage),
|
|
8010
|
+
ExcludeArchived: __expectBoolean(output.ExcludeArchived),
|
|
8011
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
8012
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8013
|
+
: undefined,
|
|
8014
|
+
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
8015
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8016
|
+
: undefined,
|
|
8017
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
8018
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8019
|
+
: undefined,
|
|
8020
|
+
LookBackPeriod: __expectInt32(output.LookBackPeriod),
|
|
8021
|
+
PrivateChannelFilter: output.PrivateChannelFilter !== undefined && output.PrivateChannelFilter !== null
|
|
8022
|
+
? deserializeAws_json1_1PrivateChannelFilter(output.PrivateChannelFilter, context)
|
|
8023
|
+
: undefined,
|
|
8024
|
+
PublicChannelFilter: output.PublicChannelFilter !== undefined && output.PublicChannelFilter !== null
|
|
8025
|
+
? deserializeAws_json1_1PublicChannelFilter(output.PublicChannelFilter, context)
|
|
8026
|
+
: undefined,
|
|
8027
|
+
SecretArn: __expectString(output.SecretArn),
|
|
8028
|
+
SinceCrawlDate: __expectString(output.SinceCrawlDate),
|
|
8029
|
+
SlackEntityList: output.SlackEntityList !== undefined && output.SlackEntityList !== null
|
|
8030
|
+
? deserializeAws_json1_1SlackEntityList(output.SlackEntityList, context)
|
|
8031
|
+
: undefined,
|
|
8032
|
+
TeamId: __expectString(output.TeamId),
|
|
8033
|
+
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
8034
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
8035
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8036
|
+
: undefined,
|
|
8037
|
+
};
|
|
8038
|
+
};
|
|
8039
|
+
var deserializeAws_json1_1SlackEntityList = function (output, context) {
|
|
8040
|
+
var retVal = (output || [])
|
|
8041
|
+
.filter(function (e) { return e != null; })
|
|
8042
|
+
.map(function (entry) {
|
|
8043
|
+
if (entry === null) {
|
|
8044
|
+
return null;
|
|
8045
|
+
}
|
|
8046
|
+
return __expectString(entry);
|
|
8047
|
+
});
|
|
8048
|
+
return retVal;
|
|
8049
|
+
};
|
|
7921
8050
|
var deserializeAws_json1_1SnapshotsDataHeaderFields = function (output, context) {
|
|
7922
8051
|
var retVal = (output || [])
|
|
7923
8052
|
.filter(function (e) { return e != null; })
|