@aws-sdk/client-kendra 3.82.0 → 3.90.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 +31 -0
- package/README.md +2 -0
- package/dist-cjs/models/models_0.js +42 -29
- package/dist-cjs/pagination/ListFaqsPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupsOlderThanOrderingIdPaginator.js +36 -0
- package/dist-cjs/pagination/ListQuerySuggestionsBlockListsPaginator.js +36 -0
- package/dist-cjs/pagination/ListThesauriPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +190 -0
- package/dist-es/models/models_0.js +27 -16
- package/dist-es/pagination/ListFaqsPaginator.js +75 -0
- package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +75 -0
- package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +75 -0
- package/dist-es/pagination/ListThesauriPaginator.js +75 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +174 -3
- package/dist-types/models/models_0.d.ts +334 -148
- package/dist-types/pagination/ListFaqsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +4 -0
- package/dist-types/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListThesauriPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -51
- package/dist-types/ts3.4/pagination/ListFaqsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListThesauriPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,37 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-kendra:** Amazon Kendra now provides a data source connector for Jira. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html ([37c9777](https://github.com/aws/aws-sdk-js-v3/commit/37c9777fa7b6cd71a024f399fe99016d3960a719))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **client-kendra:** AWS Kendra now supports hierarchical facets for a query. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/filtering.html ([d1a2c61](https://github.com/aws/aws-sdk-js-v3/commit/d1a2c61cca0122412de7c69a35260c370e74bc36))
|
|
31
|
+
* **codegen:** add codegen indicator comment to all generated files ([#3592](https://github.com/aws/aws-sdk-js-v3/issues/3592)) ([567a530](https://github.com/aws/aws-sdk-js-v3/commit/567a5304232fcc1f9db3fd3df545054de8336b4b))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
6
37
|
# [3.82.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.81.0...v3.82.0) (2022-05-02)
|
|
7
38
|
|
|
8
39
|
**Note:** Version bump only for package @aws-sdk/client-kendra
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HierarchicalPrincipal = exports.ContentType = exports.Principal = exports.PrincipalType = exports.ReadAccessType = exports.CustomDocumentEnrichmentConfiguration = exports.HookConfiguration = exports.InlineCustomDocumentEnrichmentConfiguration = exports.DocumentAttributeTarget = exports.DocumentAttributeCondition = exports.ConditionOperator = exports.BatchGetDocumentStatusResponse = exports.BatchGetDocumentStatusResponseError = exports.Status = exports.DocumentStatus = exports.BatchGetDocumentStatusRequest = exports.DocumentInfo = exports.ConflictException = exports.BatchDeleteDocumentResponse = exports.BatchDeleteDocumentResponseFailedDocument = exports.ErrorCode = exports.BatchDeleteDocumentRequest = exports.DataSourceSyncJobMetricTarget = exports.AuthenticationConfiguration = exports.BasicAuthenticationConfiguration = exports.DocumentAttribute = exports.DocumentAttributeValue = exports.AssociatePersonasToEntitiesResponse = exports.AssociatePersonasToEntitiesRequest = exports.EntityPersonaConfiguration = exports.Persona = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistException = exports.InternalServerException = exports.AssociateEntitiesToExperienceResponse = exports.FailedEntity = exports.AssociateEntitiesToExperienceRequest = exports.EntityConfiguration = exports.EntityType = exports.AdditionalResultAttribute = exports.AdditionalResultAttributeValueType = exports.AdditionalResultAttributeValue = exports.TextWithHighlights = exports.Highlight = exports.HighlightType = exports.AclConfiguration = exports.AccessDeniedException = exports.AccessControlListConfiguration = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.QueryRequest = exports.AttributeFilter = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.ResourceInUseException = exports.
|
|
4
|
+
exports.SalesforceConfiguration = exports.SalesforceStandardObjectConfiguration = exports.SalesforceStandardObjectName = exports.SalesforceStandardObjectAttachmentConfiguration = exports.SalesforceKnowledgeArticleConfiguration = exports.SalesforceStandardKnowledgeArticleTypeConfiguration = exports.SalesforceKnowledgeArticleState = exports.SalesforceCustomKnowledgeArticleTypeConfiguration = exports.SalesforceChatterFeedConfiguration = exports.SalesforceChatterFeedIncludeFilterType = exports.S3DataSourceConfiguration = exports.DocumentsMetadataConfiguration = exports.QuipConfiguration = exports.OneDriveConfiguration = exports.OneDriveUsers = exports.JiraConfiguration = exports.IssueSubEntity = exports.GoogleDriveConfiguration = exports.FsxConfiguration = exports.FsxFileSystemType = exports.DatabaseConfiguration = exports.SqlConfiguration = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConnectionConfiguration = exports.ColumnConfiguration = exports.ConfluenceConfiguration = exports.ConfluenceVersion = exports.ConfluenceSpaceConfiguration = exports.ConfluenceSpaceToIndexFieldMapping = exports.ConfluenceSpaceFieldName = exports.ConfluencePageConfiguration = exports.ConfluencePageToIndexFieldMapping = exports.ConfluencePageFieldName = exports.ConfluenceBlogConfiguration = exports.ConfluenceBlogToIndexFieldMapping = exports.ConfluenceBlogFieldName = exports.ConfluenceAttachmentConfiguration = exports.ConfluenceAttachmentToIndexFieldMapping = exports.ConfluenceAttachmentFieldName = exports.BoxConfiguration = exports.DataSourceVpcConfiguration = exports.DataSourceToIndexFieldMapping = exports.ClearQuerySuggestionsRequest = exports.ServiceQuotaExceededException = exports.BatchPutDocumentResponse = exports.BatchPutDocumentResponseFailedDocument = exports.BatchPutDocumentRequest = exports.Document = exports.S3Path = void 0;
|
|
5
|
+
exports.DeletePrincipalMappingRequest = exports.DeleteIndexRequest = exports.DeleteFaqRequest = exports.DeleteExperienceResponse = exports.DeleteExperienceRequest = exports.DeleteDataSourceRequest = exports.CreateThesaurusResponse = exports.CreateThesaurusRequest = exports.CreateQuerySuggestionsBlockListResponse = exports.CreateQuerySuggestionsBlockListRequest = exports.CreateIndexResponse = exports.CreateIndexRequest = exports.UserTokenConfiguration = exports.JwtTokenTypeConfiguration = exports.KeyLocation = exports.JsonTokenTypeConfiguration = exports.UserGroupResolutionConfiguration = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.ServerSideEncryptionConfiguration = exports.IndexEdition = exports.CreateFaqResponse = exports.CreateFaqRequest = exports.FaqFileFormat = exports.CreateExperienceResponse = exports.CreateExperienceRequest = exports.ExperienceConfiguration = exports.UserIdentityConfiguration = exports.ContentSourceConfiguration = exports.CreateDataSourceResponse = exports.CreateDataSourceRequest = exports.DataSourceType = exports.Tag = exports.DataSourceConfiguration = exports.WorkDocsConfiguration = exports.WebCrawlerConfiguration = exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SlackConfiguration = exports.SlackEntity = exports.SharePointConfiguration = exports.SharePointVersion = exports.ServiceNowConfiguration = exports.ServiceNowBuildVersionType = exports.ServiceNowServiceCatalogConfiguration = exports.ServiceNowKnowledgeArticleConfiguration = exports.ServiceNowAuthenticationType = void 0;
|
|
6
|
+
exports.Interval = exports.GetQuerySuggestionsResponse = exports.Suggestion = exports.SuggestionValue = exports.SuggestionTextWithHighlights = exports.SuggestionHighlight = exports.GetQuerySuggestionsRequest = exports.DisassociatePersonasFromEntitiesResponse = exports.DisassociatePersonasFromEntitiesRequest = exports.DisassociateEntitiesFromExperienceResponse = exports.DisassociateEntitiesFromExperienceRequest = exports.DescribeThesaurusResponse = exports.ThesaurusStatus = exports.DescribeThesaurusRequest = exports.DescribeQuerySuggestionsConfigResponse = exports.QuerySuggestionsStatus = exports.Mode = exports.DescribeQuerySuggestionsConfigRequest = exports.DescribeQuerySuggestionsBlockListResponse = exports.QuerySuggestionsBlockListStatus = exports.DescribeQuerySuggestionsBlockListRequest = exports.DescribePrincipalMappingResponse = exports.GroupOrderingIdSummary = exports.PrincipalMappingStatus = exports.DescribePrincipalMappingRequest = exports.DescribeIndexResponse = exports.IndexStatus = exports.IndexStatistics = exports.TextDocumentStatistics = exports.FaqStatistics = exports.DocumentMetadataConfiguration = exports.DocumentAttributeValueType = exports.Search = exports.Relevance = exports.Order = exports.CapacityUnitsConfiguration = exports.DescribeIndexRequest = exports.DescribeFaqResponse = exports.FaqStatus = exports.DescribeFaqRequest = exports.DescribeExperienceResponse = exports.ExperienceStatus = exports.ExperienceEndpoint = exports.EndpointType = exports.DescribeExperienceRequest = exports.DescribeDataSourceResponse = exports.DataSourceStatus = exports.DescribeDataSourceRequest = exports.DeleteThesaurusRequest = exports.DeleteQuerySuggestionsBlockListRequest = void 0;
|
|
7
|
+
exports.SpellCorrectionConfiguration = exports.SortingConfiguration = exports.SortOrder = exports.QueryResultType = exports.DocumentRelevanceConfiguration = exports.PutPrincipalMappingRequest = exports.GroupMembers = exports.MemberUser = exports.MemberGroup = exports.ListThesauriResponse = exports.ThesaurusSummary = exports.ListThesauriRequest = exports.ResourceUnavailableException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListQuerySuggestionsBlockListsResponse = exports.QuerySuggestionsBlockListSummary = exports.ListQuerySuggestionsBlockListsRequest = exports.ListIndicesResponse = exports.IndexConfigurationSummary = exports.ListIndicesRequest = exports.ListGroupsOlderThanOrderingIdResponse = exports.GroupSummary = exports.ListGroupsOlderThanOrderingIdRequest = exports.ListFaqsResponse = exports.FaqSummary = exports.ListFaqsRequest = exports.ListExperiencesResponse = exports.ExperiencesSummary = exports.ListExperiencesRequest = exports.ListExperienceEntitiesResponse = exports.ExperienceEntitiesSummary = exports.EntityDisplayData = exports.ListExperienceEntitiesRequest = exports.ListEntityPersonasResponse = exports.PersonasSummary = exports.ListEntityPersonasRequest = exports.ListDataSourceSyncJobsResponse = exports.DataSourceSyncJob = exports.DataSourceSyncJobMetrics = exports.ListDataSourceSyncJobsRequest = exports.DataSourceSyncJobStatus = exports.ListDataSourcesResponse = exports.DataSourceSummary = exports.ListDataSourcesRequest = exports.InvalidRequestException = exports.GetSnapshotsResponse = exports.TimeRange = exports.GetSnapshotsRequest = exports.MetricType = void 0;
|
|
8
|
+
exports.QueryRequest = exports.QueryResult = exports.AttributeFilter = exports.FacetResult = exports.DocumentAttributeValueCountPair = exports.Facet = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.ResourceInUseException = exports.Warning = exports.WarningCode = exports.SpellCorrectedQuery = exports.Correction = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.UserContext = exports.DataSourceGroup = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const KendraServiceException_1 = require("./KendraServiceException");
|
|
11
11
|
var AccessControlListConfiguration;
|
|
@@ -596,6 +596,18 @@ var GoogleDriveConfiguration;
|
|
|
596
596
|
...obj,
|
|
597
597
|
});
|
|
598
598
|
})(GoogleDriveConfiguration = exports.GoogleDriveConfiguration || (exports.GoogleDriveConfiguration = {}));
|
|
599
|
+
var IssueSubEntity;
|
|
600
|
+
(function (IssueSubEntity) {
|
|
601
|
+
IssueSubEntity["ATTACHMENTS"] = "ATTACHMENTS";
|
|
602
|
+
IssueSubEntity["COMMENTS"] = "COMMENTS";
|
|
603
|
+
IssueSubEntity["WORKLOGS"] = "WORKLOGS";
|
|
604
|
+
})(IssueSubEntity = exports.IssueSubEntity || (exports.IssueSubEntity = {}));
|
|
605
|
+
var JiraConfiguration;
|
|
606
|
+
(function (JiraConfiguration) {
|
|
607
|
+
JiraConfiguration.filterSensitiveLog = (obj) => ({
|
|
608
|
+
...obj,
|
|
609
|
+
});
|
|
610
|
+
})(JiraConfiguration = exports.JiraConfiguration || (exports.JiraConfiguration = {}));
|
|
599
611
|
var OneDriveUsers;
|
|
600
612
|
(function (OneDriveUsers) {
|
|
601
613
|
OneDriveUsers.filterSensitiveLog = (obj) => ({
|
|
@@ -814,6 +826,7 @@ var DataSourceType;
|
|
|
814
826
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
815
827
|
DataSourceType["FSX"] = "FSX";
|
|
816
828
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
829
|
+
DataSourceType["JIRA"] = "JIRA";
|
|
817
830
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
818
831
|
DataSourceType["QUIP"] = "QUIP";
|
|
819
832
|
DataSourceType["S3"] = "S3";
|
|
@@ -1636,12 +1649,6 @@ var DocumentRelevanceConfiguration;
|
|
|
1636
1649
|
...obj,
|
|
1637
1650
|
});
|
|
1638
1651
|
})(DocumentRelevanceConfiguration = exports.DocumentRelevanceConfiguration || (exports.DocumentRelevanceConfiguration = {}));
|
|
1639
|
-
var Facet;
|
|
1640
|
-
(function (Facet) {
|
|
1641
|
-
Facet.filterSensitiveLog = (obj) => ({
|
|
1642
|
-
...obj,
|
|
1643
|
-
});
|
|
1644
|
-
})(Facet = exports.Facet || (exports.Facet = {}));
|
|
1645
1652
|
var QueryResultType;
|
|
1646
1653
|
(function (QueryResultType) {
|
|
1647
1654
|
QueryResultType["ANSWER"] = "ANSWER";
|
|
@@ -1677,18 +1684,6 @@ var UserContext;
|
|
|
1677
1684
|
...obj,
|
|
1678
1685
|
});
|
|
1679
1686
|
})(UserContext = exports.UserContext || (exports.UserContext = {}));
|
|
1680
|
-
var DocumentAttributeValueCountPair;
|
|
1681
|
-
(function (DocumentAttributeValueCountPair) {
|
|
1682
|
-
DocumentAttributeValueCountPair.filterSensitiveLog = (obj) => ({
|
|
1683
|
-
...obj,
|
|
1684
|
-
});
|
|
1685
|
-
})(DocumentAttributeValueCountPair = exports.DocumentAttributeValueCountPair || (exports.DocumentAttributeValueCountPair = {}));
|
|
1686
|
-
var FacetResult;
|
|
1687
|
-
(function (FacetResult) {
|
|
1688
|
-
FacetResult.filterSensitiveLog = (obj) => ({
|
|
1689
|
-
...obj,
|
|
1690
|
-
});
|
|
1691
|
-
})(FacetResult = exports.FacetResult || (exports.FacetResult = {}));
|
|
1692
1687
|
var ScoreConfidence;
|
|
1693
1688
|
(function (ScoreConfidence) {
|
|
1694
1689
|
ScoreConfidence["HIGH"] = "HIGH";
|
|
@@ -1731,12 +1726,6 @@ var Warning;
|
|
|
1731
1726
|
...obj,
|
|
1732
1727
|
});
|
|
1733
1728
|
})(Warning = exports.Warning || (exports.Warning = {}));
|
|
1734
|
-
var QueryResult;
|
|
1735
|
-
(function (QueryResult) {
|
|
1736
|
-
QueryResult.filterSensitiveLog = (obj) => ({
|
|
1737
|
-
...obj,
|
|
1738
|
-
});
|
|
1739
|
-
})(QueryResult = exports.QueryResult || (exports.QueryResult = {}));
|
|
1740
1729
|
class ResourceInUseException extends KendraServiceException_1.KendraServiceException {
|
|
1741
1730
|
constructor(opts) {
|
|
1742
1731
|
super({
|
|
@@ -1852,12 +1841,36 @@ var UpdateThesaurusRequest;
|
|
|
1852
1841
|
...obj,
|
|
1853
1842
|
});
|
|
1854
1843
|
})(UpdateThesaurusRequest = exports.UpdateThesaurusRequest || (exports.UpdateThesaurusRequest = {}));
|
|
1844
|
+
var Facet;
|
|
1845
|
+
(function (Facet) {
|
|
1846
|
+
Facet.filterSensitiveLog = (obj) => ({
|
|
1847
|
+
...obj,
|
|
1848
|
+
});
|
|
1849
|
+
})(Facet = exports.Facet || (exports.Facet = {}));
|
|
1850
|
+
var DocumentAttributeValueCountPair;
|
|
1851
|
+
(function (DocumentAttributeValueCountPair) {
|
|
1852
|
+
DocumentAttributeValueCountPair.filterSensitiveLog = (obj) => ({
|
|
1853
|
+
...obj,
|
|
1854
|
+
});
|
|
1855
|
+
})(DocumentAttributeValueCountPair = exports.DocumentAttributeValueCountPair || (exports.DocumentAttributeValueCountPair = {}));
|
|
1856
|
+
var FacetResult;
|
|
1857
|
+
(function (FacetResult) {
|
|
1858
|
+
FacetResult.filterSensitiveLog = (obj) => ({
|
|
1859
|
+
...obj,
|
|
1860
|
+
});
|
|
1861
|
+
})(FacetResult = exports.FacetResult || (exports.FacetResult = {}));
|
|
1855
1862
|
var AttributeFilter;
|
|
1856
1863
|
(function (AttributeFilter) {
|
|
1857
1864
|
AttributeFilter.filterSensitiveLog = (obj) => ({
|
|
1858
1865
|
...obj,
|
|
1859
1866
|
});
|
|
1860
1867
|
})(AttributeFilter = exports.AttributeFilter || (exports.AttributeFilter = {}));
|
|
1868
|
+
var QueryResult;
|
|
1869
|
+
(function (QueryResult) {
|
|
1870
|
+
QueryResult.filterSensitiveLog = (obj) => ({
|
|
1871
|
+
...obj,
|
|
1872
|
+
});
|
|
1873
|
+
})(QueryResult = exports.QueryResult || (exports.QueryResult = {}));
|
|
1861
1874
|
var QueryRequest;
|
|
1862
1875
|
(function (QueryRequest) {
|
|
1863
1876
|
QueryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListFaqs = void 0;
|
|
4
|
+
const ListFaqsCommand_1 = require("../commands/ListFaqsCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListFaqsCommand_1.ListFaqsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listFaqs(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListFaqs(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListFaqs = paginateListFaqs;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListGroupsOlderThanOrderingId = void 0;
|
|
4
|
+
const ListGroupsOlderThanOrderingIdCommand_1 = require("../commands/ListGroupsOlderThanOrderingIdCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListGroupsOlderThanOrderingIdCommand_1.ListGroupsOlderThanOrderingIdCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listGroupsOlderThanOrderingId(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListGroupsOlderThanOrderingId(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListGroupsOlderThanOrderingId = paginateListGroupsOlderThanOrderingId;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListQuerySuggestionsBlockLists = void 0;
|
|
4
|
+
const ListQuerySuggestionsBlockListsCommand_1 = require("../commands/ListQuerySuggestionsBlockListsCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListQuerySuggestionsBlockListsCommand_1.ListQuerySuggestionsBlockListsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listQuerySuggestionsBlockLists(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListQuerySuggestionsBlockLists(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListQuerySuggestionsBlockLists = paginateListQuerySuggestionsBlockLists;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListThesauri = void 0;
|
|
4
|
+
const ListThesauriCommand_1 = require("../commands/ListThesauriCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListThesauriCommand_1.ListThesauriCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listThesauri(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListThesauri(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListThesauri = paginateListThesauri;
|
|
@@ -8,4 +8,8 @@ tslib_1.__exportStar(require("./ListDataSourcesPaginator"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./ListEntityPersonasPaginator"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListExperienceEntitiesPaginator"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./ListExperiencesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListFaqsPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListGroupsOlderThanOrderingIdPaginator"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./ListIndicesPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListQuerySuggestionsBlockListsPaginator"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListThesauriPaginator"), exports);
|
|
@@ -3973,6 +3973,10 @@ const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
|
3973
3973
|
input.GoogleDriveConfiguration !== null && {
|
|
3974
3974
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
3975
3975
|
}),
|
|
3976
|
+
...(input.JiraConfiguration !== undefined &&
|
|
3977
|
+
input.JiraConfiguration !== null && {
|
|
3978
|
+
JiraConfiguration: serializeAws_json1_1JiraConfiguration(input.JiraConfiguration, context),
|
|
3979
|
+
}),
|
|
3976
3980
|
...(input.OneDriveConfiguration !== undefined &&
|
|
3977
3981
|
input.OneDriveConfiguration !== null && {
|
|
3978
3982
|
OneDriveConfiguration: serializeAws_json1_1OneDriveConfiguration(input.OneDriveConfiguration, context),
|
|
@@ -4459,6 +4463,9 @@ const serializeAws_json1_1Facet = (input, context) => {
|
|
|
4459
4463
|
return {
|
|
4460
4464
|
...(input.DocumentAttributeKey !== undefined &&
|
|
4461
4465
|
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey }),
|
|
4466
|
+
...(input.Facets !== undefined &&
|
|
4467
|
+
input.Facets !== null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) }),
|
|
4468
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
4462
4469
|
};
|
|
4463
4470
|
};
|
|
4464
4471
|
const serializeAws_json1_1FacetList = (input, context) => {
|
|
@@ -4633,6 +4640,86 @@ const serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = (inp
|
|
|
4633
4640
|
return serializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration(entry, context);
|
|
4634
4641
|
});
|
|
4635
4642
|
};
|
|
4643
|
+
const serializeAws_json1_1IssueSubEntityFilter = (input, context) => {
|
|
4644
|
+
return input
|
|
4645
|
+
.filter((e) => e != null)
|
|
4646
|
+
.map((entry) => {
|
|
4647
|
+
if (entry === null) {
|
|
4648
|
+
return null;
|
|
4649
|
+
}
|
|
4650
|
+
return entry;
|
|
4651
|
+
});
|
|
4652
|
+
};
|
|
4653
|
+
const serializeAws_json1_1IssueType = (input, context) => {
|
|
4654
|
+
return input
|
|
4655
|
+
.filter((e) => e != null)
|
|
4656
|
+
.map((entry) => {
|
|
4657
|
+
if (entry === null) {
|
|
4658
|
+
return null;
|
|
4659
|
+
}
|
|
4660
|
+
return entry;
|
|
4661
|
+
});
|
|
4662
|
+
};
|
|
4663
|
+
const serializeAws_json1_1JiraConfiguration = (input, context) => {
|
|
4664
|
+
return {
|
|
4665
|
+
...(input.AttachmentFieldMappings !== undefined &&
|
|
4666
|
+
input.AttachmentFieldMappings !== null && {
|
|
4667
|
+
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
4668
|
+
}),
|
|
4669
|
+
...(input.CommentFieldMappings !== undefined &&
|
|
4670
|
+
input.CommentFieldMappings !== null && {
|
|
4671
|
+
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
4672
|
+
}),
|
|
4673
|
+
...(input.ExclusionPatterns !== undefined &&
|
|
4674
|
+
input.ExclusionPatterns !== null && {
|
|
4675
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4676
|
+
}),
|
|
4677
|
+
...(input.InclusionPatterns !== undefined &&
|
|
4678
|
+
input.InclusionPatterns !== null && {
|
|
4679
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4680
|
+
}),
|
|
4681
|
+
...(input.IssueFieldMappings !== undefined &&
|
|
4682
|
+
input.IssueFieldMappings !== null && {
|
|
4683
|
+
IssueFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.IssueFieldMappings, context),
|
|
4684
|
+
}),
|
|
4685
|
+
...(input.IssueSubEntityFilter !== undefined &&
|
|
4686
|
+
input.IssueSubEntityFilter !== null && {
|
|
4687
|
+
IssueSubEntityFilter: serializeAws_json1_1IssueSubEntityFilter(input.IssueSubEntityFilter, context),
|
|
4688
|
+
}),
|
|
4689
|
+
...(input.IssueType !== undefined &&
|
|
4690
|
+
input.IssueType !== null && { IssueType: serializeAws_json1_1IssueType(input.IssueType, context) }),
|
|
4691
|
+
...(input.JiraAccountUrl !== undefined &&
|
|
4692
|
+
input.JiraAccountUrl !== null && { JiraAccountUrl: input.JiraAccountUrl }),
|
|
4693
|
+
...(input.Project !== undefined &&
|
|
4694
|
+
input.Project !== null && { Project: serializeAws_json1_1Project(input.Project, context) }),
|
|
4695
|
+
...(input.ProjectFieldMappings !== undefined &&
|
|
4696
|
+
input.ProjectFieldMappings !== null && {
|
|
4697
|
+
ProjectFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ProjectFieldMappings, context),
|
|
4698
|
+
}),
|
|
4699
|
+
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
4700
|
+
...(input.Status !== undefined &&
|
|
4701
|
+
input.Status !== null && { Status: serializeAws_json1_1JiraStatus(input.Status, context) }),
|
|
4702
|
+
...(input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog }),
|
|
4703
|
+
...(input.VpcConfiguration !== undefined &&
|
|
4704
|
+
input.VpcConfiguration !== null && {
|
|
4705
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4706
|
+
}),
|
|
4707
|
+
...(input.WorkLogFieldMappings !== undefined &&
|
|
4708
|
+
input.WorkLogFieldMappings !== null && {
|
|
4709
|
+
WorkLogFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WorkLogFieldMappings, context),
|
|
4710
|
+
}),
|
|
4711
|
+
};
|
|
4712
|
+
};
|
|
4713
|
+
const serializeAws_json1_1JiraStatus = (input, context) => {
|
|
4714
|
+
return input
|
|
4715
|
+
.filter((e) => e != null)
|
|
4716
|
+
.map((entry) => {
|
|
4717
|
+
if (entry === null) {
|
|
4718
|
+
return null;
|
|
4719
|
+
}
|
|
4720
|
+
return entry;
|
|
4721
|
+
});
|
|
4722
|
+
};
|
|
4636
4723
|
const serializeAws_json1_1JsonTokenTypeConfiguration = (input, context) => {
|
|
4637
4724
|
return {
|
|
4638
4725
|
...(input.GroupAttributeField !== undefined &&
|
|
@@ -4843,6 +4930,16 @@ const serializeAws_json1_1PrivateChannelFilter = (input, context) => {
|
|
|
4843
4930
|
return entry;
|
|
4844
4931
|
});
|
|
4845
4932
|
};
|
|
4933
|
+
const serializeAws_json1_1Project = (input, context) => {
|
|
4934
|
+
return input
|
|
4935
|
+
.filter((e) => e != null)
|
|
4936
|
+
.map((entry) => {
|
|
4937
|
+
if (entry === null) {
|
|
4938
|
+
return null;
|
|
4939
|
+
}
|
|
4940
|
+
return entry;
|
|
4941
|
+
});
|
|
4942
|
+
};
|
|
4846
4943
|
const serializeAws_json1_1ProxyConfiguration = (input, context) => {
|
|
4847
4944
|
return {
|
|
4848
4945
|
...(input.Credentials !== undefined && input.Credentials !== null && { Credentials: input.Credentials }),
|
|
@@ -6204,6 +6301,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
6204
6301
|
GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
|
|
6205
6302
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
6206
6303
|
: undefined,
|
|
6304
|
+
JiraConfiguration: output.JiraConfiguration !== undefined && output.JiraConfiguration !== null
|
|
6305
|
+
? deserializeAws_json1_1JiraConfiguration(output.JiraConfiguration, context)
|
|
6306
|
+
: undefined,
|
|
6207
6307
|
OneDriveConfiguration: output.OneDriveConfiguration !== undefined && output.OneDriveConfiguration !== null
|
|
6208
6308
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6209
6309
|
: undefined,
|
|
@@ -6610,6 +6710,9 @@ const deserializeAws_json1_1DocumentAttributeValueCountPair = (output, context)
|
|
|
6610
6710
|
DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
|
|
6611
6711
|
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
6612
6712
|
: undefined,
|
|
6713
|
+
FacetResults: output.FacetResults !== undefined && output.FacetResults !== null
|
|
6714
|
+
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
6715
|
+
: undefined,
|
|
6613
6716
|
};
|
|
6614
6717
|
};
|
|
6615
6718
|
const deserializeAws_json1_1DocumentAttributeValueCountPairList = (output, context) => {
|
|
@@ -7054,6 +7157,82 @@ const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
|
7054
7157
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7055
7158
|
};
|
|
7056
7159
|
};
|
|
7160
|
+
const deserializeAws_json1_1IssueSubEntityFilter = (output, context) => {
|
|
7161
|
+
const retVal = (output || [])
|
|
7162
|
+
.filter((e) => e != null)
|
|
7163
|
+
.map((entry) => {
|
|
7164
|
+
if (entry === null) {
|
|
7165
|
+
return null;
|
|
7166
|
+
}
|
|
7167
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7168
|
+
});
|
|
7169
|
+
return retVal;
|
|
7170
|
+
};
|
|
7171
|
+
const deserializeAws_json1_1IssueType = (output, context) => {
|
|
7172
|
+
const retVal = (output || [])
|
|
7173
|
+
.filter((e) => e != null)
|
|
7174
|
+
.map((entry) => {
|
|
7175
|
+
if (entry === null) {
|
|
7176
|
+
return null;
|
|
7177
|
+
}
|
|
7178
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7179
|
+
});
|
|
7180
|
+
return retVal;
|
|
7181
|
+
};
|
|
7182
|
+
const deserializeAws_json1_1JiraConfiguration = (output, context) => {
|
|
7183
|
+
return {
|
|
7184
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
7185
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
7186
|
+
: undefined,
|
|
7187
|
+
CommentFieldMappings: output.CommentFieldMappings !== undefined && output.CommentFieldMappings !== null
|
|
7188
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
7189
|
+
: undefined,
|
|
7190
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7191
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7192
|
+
: undefined,
|
|
7193
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7194
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7195
|
+
: undefined,
|
|
7196
|
+
IssueFieldMappings: output.IssueFieldMappings !== undefined && output.IssueFieldMappings !== null
|
|
7197
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.IssueFieldMappings, context)
|
|
7198
|
+
: undefined,
|
|
7199
|
+
IssueSubEntityFilter: output.IssueSubEntityFilter !== undefined && output.IssueSubEntityFilter !== null
|
|
7200
|
+
? deserializeAws_json1_1IssueSubEntityFilter(output.IssueSubEntityFilter, context)
|
|
7201
|
+
: undefined,
|
|
7202
|
+
IssueType: output.IssueType !== undefined && output.IssueType !== null
|
|
7203
|
+
? deserializeAws_json1_1IssueType(output.IssueType, context)
|
|
7204
|
+
: undefined,
|
|
7205
|
+
JiraAccountUrl: (0, smithy_client_1.expectString)(output.JiraAccountUrl),
|
|
7206
|
+
Project: output.Project !== undefined && output.Project !== null
|
|
7207
|
+
? deserializeAws_json1_1Project(output.Project, context)
|
|
7208
|
+
: undefined,
|
|
7209
|
+
ProjectFieldMappings: output.ProjectFieldMappings !== undefined && output.ProjectFieldMappings !== null
|
|
7210
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ProjectFieldMappings, context)
|
|
7211
|
+
: undefined,
|
|
7212
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7213
|
+
Status: output.Status !== undefined && output.Status !== null
|
|
7214
|
+
? deserializeAws_json1_1JiraStatus(output.Status, context)
|
|
7215
|
+
: undefined,
|
|
7216
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
7217
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7218
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7219
|
+
: undefined,
|
|
7220
|
+
WorkLogFieldMappings: output.WorkLogFieldMappings !== undefined && output.WorkLogFieldMappings !== null
|
|
7221
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WorkLogFieldMappings, context)
|
|
7222
|
+
: undefined,
|
|
7223
|
+
};
|
|
7224
|
+
};
|
|
7225
|
+
const deserializeAws_json1_1JiraStatus = (output, context) => {
|
|
7226
|
+
const retVal = (output || [])
|
|
7227
|
+
.filter((e) => e != null)
|
|
7228
|
+
.map((entry) => {
|
|
7229
|
+
if (entry === null) {
|
|
7230
|
+
return null;
|
|
7231
|
+
}
|
|
7232
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7233
|
+
});
|
|
7234
|
+
return retVal;
|
|
7235
|
+
};
|
|
7057
7236
|
const deserializeAws_json1_1JsonTokenTypeConfiguration = (output, context) => {
|
|
7058
7237
|
return {
|
|
7059
7238
|
GroupAttributeField: (0, smithy_client_1.expectString)(output.GroupAttributeField),
|
|
@@ -7243,6 +7422,17 @@ const deserializeAws_json1_1PrivateChannelFilter = (output, context) => {
|
|
|
7243
7422
|
});
|
|
7244
7423
|
return retVal;
|
|
7245
7424
|
};
|
|
7425
|
+
const deserializeAws_json1_1Project = (output, context) => {
|
|
7426
|
+
const retVal = (output || [])
|
|
7427
|
+
.filter((e) => e != null)
|
|
7428
|
+
.map((entry) => {
|
|
7429
|
+
if (entry === null) {
|
|
7430
|
+
return null;
|
|
7431
|
+
}
|
|
7432
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7433
|
+
});
|
|
7434
|
+
return retVal;
|
|
7435
|
+
};
|
|
7246
7436
|
const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
|
|
7247
7437
|
return {
|
|
7248
7438
|
Credentials: (0, smithy_client_1.expectString)(output.Credentials),
|