@aws-sdk/client-kendra 3.99.0 → 3.105.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 +30 -0
- package/dist-cjs/KendraClient.js +2 -0
- package/dist-cjs/models/models_0.js +35 -5
- package/dist-cjs/protocols/Aws_json1_1.js +267 -0
- package/dist-es/KendraClient.js +2 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/protocols/Aws_json1_1.js +229 -1
- package/dist-types/models/models_0.d.ts +296 -11
- package/dist-types/ts3.4/models/models_0.d.ts +105 -3
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-kendra:** Amazon Kendra now provides a data source connector for GitHub. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html ([66f927c](https://github.com/aws/aws-sdk-js-v3/commit/66f927cd5665d2cef62f1d3d250ddfc02f9844cf))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-kendra
|
package/dist-cjs/KendraClient.js
CHANGED
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class KendraClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -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.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;
|
|
4
|
+
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.GitHubConfiguration = exports.Type = exports.SaaSConfiguration = exports.OnPremiseConfiguration = exports.GitHubDocumentCrawlProperties = 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.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 = exports.SalesforceConfiguration = exports.SalesforceStandardObjectConfiguration = exports.SalesforceStandardObjectName = exports.SalesforceStandardObjectAttachmentConfiguration = exports.SalesforceKnowledgeArticleConfiguration = void 0;
|
|
6
|
+
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 = exports.DeletePrincipalMappingRequest = exports.DeleteIndexRequest = exports.DeleteFaqRequest = exports.DeleteExperienceResponse = exports.DeleteExperienceRequest = void 0;
|
|
7
|
+
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 = exports.Interval = exports.GetQuerySuggestionsResponse = exports.Suggestion = exports.SuggestionValue = exports.SuggestionTextWithHighlights = 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 = exports.SpellCorrectionConfiguration = exports.SortingConfiguration = exports.SortOrder = exports.QueryResultType = exports.DocumentRelevanceConfiguration = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const KendraServiceException_1 = require("./KendraServiceException");
|
|
11
11
|
var AccessControlListConfiguration;
|
|
@@ -590,6 +590,35 @@ var FsxConfiguration;
|
|
|
590
590
|
...obj,
|
|
591
591
|
});
|
|
592
592
|
})(FsxConfiguration = exports.FsxConfiguration || (exports.FsxConfiguration = {}));
|
|
593
|
+
var GitHubDocumentCrawlProperties;
|
|
594
|
+
(function (GitHubDocumentCrawlProperties) {
|
|
595
|
+
GitHubDocumentCrawlProperties.filterSensitiveLog = (obj) => ({
|
|
596
|
+
...obj,
|
|
597
|
+
});
|
|
598
|
+
})(GitHubDocumentCrawlProperties = exports.GitHubDocumentCrawlProperties || (exports.GitHubDocumentCrawlProperties = {}));
|
|
599
|
+
var OnPremiseConfiguration;
|
|
600
|
+
(function (OnPremiseConfiguration) {
|
|
601
|
+
OnPremiseConfiguration.filterSensitiveLog = (obj) => ({
|
|
602
|
+
...obj,
|
|
603
|
+
});
|
|
604
|
+
})(OnPremiseConfiguration = exports.OnPremiseConfiguration || (exports.OnPremiseConfiguration = {}));
|
|
605
|
+
var SaaSConfiguration;
|
|
606
|
+
(function (SaaSConfiguration) {
|
|
607
|
+
SaaSConfiguration.filterSensitiveLog = (obj) => ({
|
|
608
|
+
...obj,
|
|
609
|
+
});
|
|
610
|
+
})(SaaSConfiguration = exports.SaaSConfiguration || (exports.SaaSConfiguration = {}));
|
|
611
|
+
var Type;
|
|
612
|
+
(function (Type) {
|
|
613
|
+
Type["ON_PREMISE"] = "ON_PREMISE";
|
|
614
|
+
Type["SAAS"] = "SAAS";
|
|
615
|
+
})(Type = exports.Type || (exports.Type = {}));
|
|
616
|
+
var GitHubConfiguration;
|
|
617
|
+
(function (GitHubConfiguration) {
|
|
618
|
+
GitHubConfiguration.filterSensitiveLog = (obj) => ({
|
|
619
|
+
...obj,
|
|
620
|
+
});
|
|
621
|
+
})(GitHubConfiguration = exports.GitHubConfiguration || (exports.GitHubConfiguration = {}));
|
|
593
622
|
var GoogleDriveConfiguration;
|
|
594
623
|
(function (GoogleDriveConfiguration) {
|
|
595
624
|
GoogleDriveConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -825,6 +854,7 @@ var DataSourceType;
|
|
|
825
854
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
826
855
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
827
856
|
DataSourceType["FSX"] = "FSX";
|
|
857
|
+
DataSourceType["GITHUB"] = "GITHUB";
|
|
828
858
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
829
859
|
DataSourceType["JIRA"] = "JIRA";
|
|
830
860
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
@@ -3969,6 +3969,10 @@ const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
|
3969
3969
|
input.FsxConfiguration !== null && {
|
|
3970
3970
|
FsxConfiguration: serializeAws_json1_1FsxConfiguration(input.FsxConfiguration, context),
|
|
3971
3971
|
}),
|
|
3972
|
+
...(input.GitHubConfiguration !== undefined &&
|
|
3973
|
+
input.GitHubConfiguration !== null && {
|
|
3974
|
+
GitHubConfiguration: serializeAws_json1_1GitHubConfiguration(input.GitHubConfiguration, context),
|
|
3975
|
+
}),
|
|
3972
3976
|
...(input.GoogleDriveConfiguration !== undefined &&
|
|
3973
3977
|
input.GoogleDriveConfiguration !== null && {
|
|
3974
3978
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
@@ -4539,6 +4543,108 @@ const serializeAws_json1_1GetSnapshotsRequest = (input, context) => {
|
|
|
4539
4543
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4540
4544
|
};
|
|
4541
4545
|
};
|
|
4546
|
+
const serializeAws_json1_1GitHubConfiguration = (input, context) => {
|
|
4547
|
+
return {
|
|
4548
|
+
...(input.ExclusionFileNamePatterns !== undefined &&
|
|
4549
|
+
input.ExclusionFileNamePatterns !== null && {
|
|
4550
|
+
ExclusionFileNamePatterns: serializeAws_json1_1StringList(input.ExclusionFileNamePatterns, context),
|
|
4551
|
+
}),
|
|
4552
|
+
...(input.ExclusionFileTypePatterns !== undefined &&
|
|
4553
|
+
input.ExclusionFileTypePatterns !== null && {
|
|
4554
|
+
ExclusionFileTypePatterns: serializeAws_json1_1StringList(input.ExclusionFileTypePatterns, context),
|
|
4555
|
+
}),
|
|
4556
|
+
...(input.ExclusionFolderNamePatterns !== undefined &&
|
|
4557
|
+
input.ExclusionFolderNamePatterns !== null && {
|
|
4558
|
+
ExclusionFolderNamePatterns: serializeAws_json1_1StringList(input.ExclusionFolderNamePatterns, context),
|
|
4559
|
+
}),
|
|
4560
|
+
...(input.GitHubCommitConfigurationFieldMappings !== undefined &&
|
|
4561
|
+
input.GitHubCommitConfigurationFieldMappings !== null && {
|
|
4562
|
+
GitHubCommitConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubCommitConfigurationFieldMappings, context),
|
|
4563
|
+
}),
|
|
4564
|
+
...(input.GitHubDocumentCrawlProperties !== undefined &&
|
|
4565
|
+
input.GitHubDocumentCrawlProperties !== null && {
|
|
4566
|
+
GitHubDocumentCrawlProperties: serializeAws_json1_1GitHubDocumentCrawlProperties(input.GitHubDocumentCrawlProperties, context),
|
|
4567
|
+
}),
|
|
4568
|
+
...(input.GitHubIssueAttachmentConfigurationFieldMappings !== undefined &&
|
|
4569
|
+
input.GitHubIssueAttachmentConfigurationFieldMappings !== null && {
|
|
4570
|
+
GitHubIssueAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueAttachmentConfigurationFieldMappings, context),
|
|
4571
|
+
}),
|
|
4572
|
+
...(input.GitHubIssueCommentConfigurationFieldMappings !== undefined &&
|
|
4573
|
+
input.GitHubIssueCommentConfigurationFieldMappings !== null && {
|
|
4574
|
+
GitHubIssueCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueCommentConfigurationFieldMappings, context),
|
|
4575
|
+
}),
|
|
4576
|
+
...(input.GitHubIssueDocumentConfigurationFieldMappings !== undefined &&
|
|
4577
|
+
input.GitHubIssueDocumentConfigurationFieldMappings !== null && {
|
|
4578
|
+
GitHubIssueDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueDocumentConfigurationFieldMappings, context),
|
|
4579
|
+
}),
|
|
4580
|
+
...(input.GitHubPullRequestCommentConfigurationFieldMappings !== undefined &&
|
|
4581
|
+
input.GitHubPullRequestCommentConfigurationFieldMappings !== null && {
|
|
4582
|
+
GitHubPullRequestCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestCommentConfigurationFieldMappings, context),
|
|
4583
|
+
}),
|
|
4584
|
+
...(input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== undefined &&
|
|
4585
|
+
input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null && {
|
|
4586
|
+
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context),
|
|
4587
|
+
}),
|
|
4588
|
+
...(input.GitHubPullRequestDocumentConfigurationFieldMappings !== undefined &&
|
|
4589
|
+
input.GitHubPullRequestDocumentConfigurationFieldMappings !== null && {
|
|
4590
|
+
GitHubPullRequestDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentConfigurationFieldMappings, context),
|
|
4591
|
+
}),
|
|
4592
|
+
...(input.GitHubRepositoryConfigurationFieldMappings !== undefined &&
|
|
4593
|
+
input.GitHubRepositoryConfigurationFieldMappings !== null && {
|
|
4594
|
+
GitHubRepositoryConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubRepositoryConfigurationFieldMappings, context),
|
|
4595
|
+
}),
|
|
4596
|
+
...(input.InclusionFileNamePatterns !== undefined &&
|
|
4597
|
+
input.InclusionFileNamePatterns !== null && {
|
|
4598
|
+
InclusionFileNamePatterns: serializeAws_json1_1StringList(input.InclusionFileNamePatterns, context),
|
|
4599
|
+
}),
|
|
4600
|
+
...(input.InclusionFileTypePatterns !== undefined &&
|
|
4601
|
+
input.InclusionFileTypePatterns !== null && {
|
|
4602
|
+
InclusionFileTypePatterns: serializeAws_json1_1StringList(input.InclusionFileTypePatterns, context),
|
|
4603
|
+
}),
|
|
4604
|
+
...(input.InclusionFolderNamePatterns !== undefined &&
|
|
4605
|
+
input.InclusionFolderNamePatterns !== null && {
|
|
4606
|
+
InclusionFolderNamePatterns: serializeAws_json1_1StringList(input.InclusionFolderNamePatterns, context),
|
|
4607
|
+
}),
|
|
4608
|
+
...(input.OnPremiseConfiguration !== undefined &&
|
|
4609
|
+
input.OnPremiseConfiguration !== null && {
|
|
4610
|
+
OnPremiseConfiguration: serializeAws_json1_1OnPremiseConfiguration(input.OnPremiseConfiguration, context),
|
|
4611
|
+
}),
|
|
4612
|
+
...(input.RepositoryFilter !== undefined &&
|
|
4613
|
+
input.RepositoryFilter !== null && {
|
|
4614
|
+
RepositoryFilter: serializeAws_json1_1RepositoryNames(input.RepositoryFilter, context),
|
|
4615
|
+
}),
|
|
4616
|
+
...(input.SaaSConfiguration !== undefined &&
|
|
4617
|
+
input.SaaSConfiguration !== null && {
|
|
4618
|
+
SaaSConfiguration: serializeAws_json1_1SaaSConfiguration(input.SaaSConfiguration, context),
|
|
4619
|
+
}),
|
|
4620
|
+
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
4621
|
+
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
4622
|
+
...(input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog }),
|
|
4623
|
+
...(input.VpcConfiguration !== undefined &&
|
|
4624
|
+
input.VpcConfiguration !== null && {
|
|
4625
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4626
|
+
}),
|
|
4627
|
+
};
|
|
4628
|
+
};
|
|
4629
|
+
const serializeAws_json1_1GitHubDocumentCrawlProperties = (input, context) => {
|
|
4630
|
+
return {
|
|
4631
|
+
...(input.CrawlIssue !== undefined && input.CrawlIssue !== null && { CrawlIssue: input.CrawlIssue }),
|
|
4632
|
+
...(input.CrawlIssueComment !== undefined &&
|
|
4633
|
+
input.CrawlIssueComment !== null && { CrawlIssueComment: input.CrawlIssueComment }),
|
|
4634
|
+
...(input.CrawlIssueCommentAttachment !== undefined &&
|
|
4635
|
+
input.CrawlIssueCommentAttachment !== null && { CrawlIssueCommentAttachment: input.CrawlIssueCommentAttachment }),
|
|
4636
|
+
...(input.CrawlPullRequest !== undefined &&
|
|
4637
|
+
input.CrawlPullRequest !== null && { CrawlPullRequest: input.CrawlPullRequest }),
|
|
4638
|
+
...(input.CrawlPullRequestComment !== undefined &&
|
|
4639
|
+
input.CrawlPullRequestComment !== null && { CrawlPullRequestComment: input.CrawlPullRequestComment }),
|
|
4640
|
+
...(input.CrawlPullRequestCommentAttachment !== undefined &&
|
|
4641
|
+
input.CrawlPullRequestCommentAttachment !== null && {
|
|
4642
|
+
CrawlPullRequestCommentAttachment: input.CrawlPullRequestCommentAttachment,
|
|
4643
|
+
}),
|
|
4644
|
+
...(input.CrawlRepositoryDocuments !== undefined &&
|
|
4645
|
+
input.CrawlRepositoryDocuments !== null && { CrawlRepositoryDocuments: input.CrawlRepositoryDocuments }),
|
|
4646
|
+
};
|
|
4647
|
+
};
|
|
4542
4648
|
const serializeAws_json1_1GoogleDriveConfiguration = (input, context) => {
|
|
4543
4649
|
return {
|
|
4544
4650
|
...(input.ExcludeMimeTypes !== undefined &&
|
|
@@ -4902,6 +5008,17 @@ const serializeAws_json1_1OneDriveUsers = (input, context) => {
|
|
|
4902
5008
|
}),
|
|
4903
5009
|
};
|
|
4904
5010
|
};
|
|
5011
|
+
const serializeAws_json1_1OnPremiseConfiguration = (input, context) => {
|
|
5012
|
+
return {
|
|
5013
|
+
...(input.HostUrl !== undefined && input.HostUrl !== null && { HostUrl: input.HostUrl }),
|
|
5014
|
+
...(input.OrganizationName !== undefined &&
|
|
5015
|
+
input.OrganizationName !== null && { OrganizationName: input.OrganizationName }),
|
|
5016
|
+
...(input.SslCertificateS3Path !== undefined &&
|
|
5017
|
+
input.SslCertificateS3Path !== null && {
|
|
5018
|
+
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
5019
|
+
}),
|
|
5020
|
+
};
|
|
5021
|
+
};
|
|
4905
5022
|
const serializeAws_json1_1Principal = (input, context) => {
|
|
4906
5023
|
return {
|
|
4907
5024
|
...(input.Access !== undefined && input.Access !== null && { Access: input.Access }),
|
|
@@ -5070,6 +5187,16 @@ const serializeAws_json1_1RelevanceFeedbackList = (input, context) => {
|
|
|
5070
5187
|
return serializeAws_json1_1RelevanceFeedback(entry, context);
|
|
5071
5188
|
});
|
|
5072
5189
|
};
|
|
5190
|
+
const serializeAws_json1_1RepositoryNames = (input, context) => {
|
|
5191
|
+
return input
|
|
5192
|
+
.filter((e) => e != null)
|
|
5193
|
+
.map((entry) => {
|
|
5194
|
+
if (entry === null) {
|
|
5195
|
+
return null;
|
|
5196
|
+
}
|
|
5197
|
+
return entry;
|
|
5198
|
+
});
|
|
5199
|
+
};
|
|
5073
5200
|
const serializeAws_json1_1S3DataSourceConfiguration = (input, context) => {
|
|
5074
5201
|
return {
|
|
5075
5202
|
...(input.AccessControlListConfiguration !== undefined &&
|
|
@@ -5101,6 +5228,13 @@ const serializeAws_json1_1S3Path = (input, context) => {
|
|
|
5101
5228
|
...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
|
|
5102
5229
|
};
|
|
5103
5230
|
};
|
|
5231
|
+
const serializeAws_json1_1SaaSConfiguration = (input, context) => {
|
|
5232
|
+
return {
|
|
5233
|
+
...(input.HostUrl !== undefined && input.HostUrl !== null && { HostUrl: input.HostUrl }),
|
|
5234
|
+
...(input.OrganizationName !== undefined &&
|
|
5235
|
+
input.OrganizationName !== null && { OrganizationName: input.OrganizationName }),
|
|
5236
|
+
};
|
|
5237
|
+
};
|
|
5104
5238
|
const serializeAws_json1_1SalesforceChatterFeedConfiguration = (input, context) => {
|
|
5105
5239
|
return {
|
|
5106
5240
|
...(input.DocumentDataFieldName !== undefined &&
|
|
@@ -5507,6 +5641,16 @@ const serializeAws_json1_1StopDataSourceSyncJobRequest = (input, context) => {
|
|
|
5507
5641
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
5508
5642
|
};
|
|
5509
5643
|
};
|
|
5644
|
+
const serializeAws_json1_1StringList = (input, context) => {
|
|
5645
|
+
return input
|
|
5646
|
+
.filter((e) => e != null)
|
|
5647
|
+
.map((entry) => {
|
|
5648
|
+
if (entry === null) {
|
|
5649
|
+
return null;
|
|
5650
|
+
}
|
|
5651
|
+
return entry;
|
|
5652
|
+
});
|
|
5653
|
+
};
|
|
5510
5654
|
const serializeAws_json1_1SubmitFeedbackRequest = (input, context) => {
|
|
5511
5655
|
return {
|
|
5512
5656
|
...(input.ClickFeedbackItems !== undefined &&
|
|
@@ -6298,6 +6442,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
6298
6442
|
FsxConfiguration: output.FsxConfiguration !== undefined && output.FsxConfiguration !== null
|
|
6299
6443
|
? deserializeAws_json1_1FsxConfiguration(output.FsxConfiguration, context)
|
|
6300
6444
|
: undefined,
|
|
6445
|
+
GitHubConfiguration: output.GitHubConfiguration !== undefined && output.GitHubConfiguration !== null
|
|
6446
|
+
? deserializeAws_json1_1GitHubConfiguration(output.GitHubConfiguration, context)
|
|
6447
|
+
: undefined,
|
|
6301
6448
|
GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
|
|
6302
6449
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
6303
6450
|
: undefined,
|
|
@@ -7009,6 +7156,89 @@ const deserializeAws_json1_1GetSnapshotsResponse = (output, context) => {
|
|
|
7009
7156
|
: undefined,
|
|
7010
7157
|
};
|
|
7011
7158
|
};
|
|
7159
|
+
const deserializeAws_json1_1GitHubConfiguration = (output, context) => {
|
|
7160
|
+
return {
|
|
7161
|
+
ExclusionFileNamePatterns: output.ExclusionFileNamePatterns !== undefined && output.ExclusionFileNamePatterns !== null
|
|
7162
|
+
? deserializeAws_json1_1StringList(output.ExclusionFileNamePatterns, context)
|
|
7163
|
+
: undefined,
|
|
7164
|
+
ExclusionFileTypePatterns: output.ExclusionFileTypePatterns !== undefined && output.ExclusionFileTypePatterns !== null
|
|
7165
|
+
? deserializeAws_json1_1StringList(output.ExclusionFileTypePatterns, context)
|
|
7166
|
+
: undefined,
|
|
7167
|
+
ExclusionFolderNamePatterns: output.ExclusionFolderNamePatterns !== undefined && output.ExclusionFolderNamePatterns !== null
|
|
7168
|
+
? deserializeAws_json1_1StringList(output.ExclusionFolderNamePatterns, context)
|
|
7169
|
+
: undefined,
|
|
7170
|
+
GitHubCommitConfigurationFieldMappings: output.GitHubCommitConfigurationFieldMappings !== undefined &&
|
|
7171
|
+
output.GitHubCommitConfigurationFieldMappings !== null
|
|
7172
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubCommitConfigurationFieldMappings, context)
|
|
7173
|
+
: undefined,
|
|
7174
|
+
GitHubDocumentCrawlProperties: output.GitHubDocumentCrawlProperties !== undefined && output.GitHubDocumentCrawlProperties !== null
|
|
7175
|
+
? deserializeAws_json1_1GitHubDocumentCrawlProperties(output.GitHubDocumentCrawlProperties, context)
|
|
7176
|
+
: undefined,
|
|
7177
|
+
GitHubIssueAttachmentConfigurationFieldMappings: output.GitHubIssueAttachmentConfigurationFieldMappings !== undefined &&
|
|
7178
|
+
output.GitHubIssueAttachmentConfigurationFieldMappings !== null
|
|
7179
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueAttachmentConfigurationFieldMappings, context)
|
|
7180
|
+
: undefined,
|
|
7181
|
+
GitHubIssueCommentConfigurationFieldMappings: output.GitHubIssueCommentConfigurationFieldMappings !== undefined &&
|
|
7182
|
+
output.GitHubIssueCommentConfigurationFieldMappings !== null
|
|
7183
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueCommentConfigurationFieldMappings, context)
|
|
7184
|
+
: undefined,
|
|
7185
|
+
GitHubIssueDocumentConfigurationFieldMappings: output.GitHubIssueDocumentConfigurationFieldMappings !== undefined &&
|
|
7186
|
+
output.GitHubIssueDocumentConfigurationFieldMappings !== null
|
|
7187
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueDocumentConfigurationFieldMappings, context)
|
|
7188
|
+
: undefined,
|
|
7189
|
+
GitHubPullRequestCommentConfigurationFieldMappings: output.GitHubPullRequestCommentConfigurationFieldMappings !== undefined &&
|
|
7190
|
+
output.GitHubPullRequestCommentConfigurationFieldMappings !== null
|
|
7191
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestCommentConfigurationFieldMappings, context)
|
|
7192
|
+
: undefined,
|
|
7193
|
+
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== undefined &&
|
|
7194
|
+
output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null
|
|
7195
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context)
|
|
7196
|
+
: undefined,
|
|
7197
|
+
GitHubPullRequestDocumentConfigurationFieldMappings: output.GitHubPullRequestDocumentConfigurationFieldMappings !== undefined &&
|
|
7198
|
+
output.GitHubPullRequestDocumentConfigurationFieldMappings !== null
|
|
7199
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentConfigurationFieldMappings, context)
|
|
7200
|
+
: undefined,
|
|
7201
|
+
GitHubRepositoryConfigurationFieldMappings: output.GitHubRepositoryConfigurationFieldMappings !== undefined &&
|
|
7202
|
+
output.GitHubRepositoryConfigurationFieldMappings !== null
|
|
7203
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubRepositoryConfigurationFieldMappings, context)
|
|
7204
|
+
: undefined,
|
|
7205
|
+
InclusionFileNamePatterns: output.InclusionFileNamePatterns !== undefined && output.InclusionFileNamePatterns !== null
|
|
7206
|
+
? deserializeAws_json1_1StringList(output.InclusionFileNamePatterns, context)
|
|
7207
|
+
: undefined,
|
|
7208
|
+
InclusionFileTypePatterns: output.InclusionFileTypePatterns !== undefined && output.InclusionFileTypePatterns !== null
|
|
7209
|
+
? deserializeAws_json1_1StringList(output.InclusionFileTypePatterns, context)
|
|
7210
|
+
: undefined,
|
|
7211
|
+
InclusionFolderNamePatterns: output.InclusionFolderNamePatterns !== undefined && output.InclusionFolderNamePatterns !== null
|
|
7212
|
+
? deserializeAws_json1_1StringList(output.InclusionFolderNamePatterns, context)
|
|
7213
|
+
: undefined,
|
|
7214
|
+
OnPremiseConfiguration: output.OnPremiseConfiguration !== undefined && output.OnPremiseConfiguration !== null
|
|
7215
|
+
? deserializeAws_json1_1OnPremiseConfiguration(output.OnPremiseConfiguration, context)
|
|
7216
|
+
: undefined,
|
|
7217
|
+
RepositoryFilter: output.RepositoryFilter !== undefined && output.RepositoryFilter !== null
|
|
7218
|
+
? deserializeAws_json1_1RepositoryNames(output.RepositoryFilter, context)
|
|
7219
|
+
: undefined,
|
|
7220
|
+
SaaSConfiguration: output.SaaSConfiguration !== undefined && output.SaaSConfiguration !== null
|
|
7221
|
+
? deserializeAws_json1_1SaaSConfiguration(output.SaaSConfiguration, context)
|
|
7222
|
+
: undefined,
|
|
7223
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7224
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7225
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
7226
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7227
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7228
|
+
: undefined,
|
|
7229
|
+
};
|
|
7230
|
+
};
|
|
7231
|
+
const deserializeAws_json1_1GitHubDocumentCrawlProperties = (output, context) => {
|
|
7232
|
+
return {
|
|
7233
|
+
CrawlIssue: (0, smithy_client_1.expectBoolean)(output.CrawlIssue),
|
|
7234
|
+
CrawlIssueComment: (0, smithy_client_1.expectBoolean)(output.CrawlIssueComment),
|
|
7235
|
+
CrawlIssueCommentAttachment: (0, smithy_client_1.expectBoolean)(output.CrawlIssueCommentAttachment),
|
|
7236
|
+
CrawlPullRequest: (0, smithy_client_1.expectBoolean)(output.CrawlPullRequest),
|
|
7237
|
+
CrawlPullRequestComment: (0, smithy_client_1.expectBoolean)(output.CrawlPullRequestComment),
|
|
7238
|
+
CrawlPullRequestCommentAttachment: (0, smithy_client_1.expectBoolean)(output.CrawlPullRequestCommentAttachment),
|
|
7239
|
+
CrawlRepositoryDocuments: (0, smithy_client_1.expectBoolean)(output.CrawlRepositoryDocuments),
|
|
7240
|
+
};
|
|
7241
|
+
};
|
|
7012
7242
|
const deserializeAws_json1_1GoogleDriveConfiguration = (output, context) => {
|
|
7013
7243
|
return {
|
|
7014
7244
|
ExcludeMimeTypes: output.ExcludeMimeTypes !== undefined && output.ExcludeMimeTypes !== null
|
|
@@ -7388,6 +7618,15 @@ const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
|
7388
7618
|
: undefined,
|
|
7389
7619
|
};
|
|
7390
7620
|
};
|
|
7621
|
+
const deserializeAws_json1_1OnPremiseConfiguration = (output, context) => {
|
|
7622
|
+
return {
|
|
7623
|
+
HostUrl: (0, smithy_client_1.expectString)(output.HostUrl),
|
|
7624
|
+
OrganizationName: (0, smithy_client_1.expectString)(output.OrganizationName),
|
|
7625
|
+
SslCertificateS3Path: output.SslCertificateS3Path !== undefined && output.SslCertificateS3Path !== null
|
|
7626
|
+
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
7627
|
+
: undefined,
|
|
7628
|
+
};
|
|
7629
|
+
};
|
|
7391
7630
|
const deserializeAws_json1_1PersonasSummary = (output, context) => {
|
|
7392
7631
|
return {
|
|
7393
7632
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
@@ -7570,6 +7809,17 @@ const deserializeAws_json1_1Relevance = (output, context) => {
|
|
|
7570
7809
|
: undefined,
|
|
7571
7810
|
};
|
|
7572
7811
|
};
|
|
7812
|
+
const deserializeAws_json1_1RepositoryNames = (output, context) => {
|
|
7813
|
+
const retVal = (output || [])
|
|
7814
|
+
.filter((e) => e != null)
|
|
7815
|
+
.map((entry) => {
|
|
7816
|
+
if (entry === null) {
|
|
7817
|
+
return null;
|
|
7818
|
+
}
|
|
7819
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7820
|
+
});
|
|
7821
|
+
return retVal;
|
|
7822
|
+
};
|
|
7573
7823
|
const deserializeAws_json1_1ResourceAlreadyExistException = (output, context) => {
|
|
7574
7824
|
return {
|
|
7575
7825
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -7616,6 +7866,12 @@ const deserializeAws_json1_1S3Path = (output, context) => {
|
|
|
7616
7866
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
7617
7867
|
};
|
|
7618
7868
|
};
|
|
7869
|
+
const deserializeAws_json1_1SaaSConfiguration = (output, context) => {
|
|
7870
|
+
return {
|
|
7871
|
+
HostUrl: (0, smithy_client_1.expectString)(output.HostUrl),
|
|
7872
|
+
OrganizationName: (0, smithy_client_1.expectString)(output.OrganizationName),
|
|
7873
|
+
};
|
|
7874
|
+
};
|
|
7619
7875
|
const deserializeAws_json1_1SalesforceChatterFeedConfiguration = (output, context) => {
|
|
7620
7876
|
return {
|
|
7621
7877
|
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
@@ -8020,6 +8276,17 @@ const deserializeAws_json1_1Status = (output, context) => {
|
|
|
8020
8276
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
8021
8277
|
};
|
|
8022
8278
|
};
|
|
8279
|
+
const deserializeAws_json1_1StringList = (output, context) => {
|
|
8280
|
+
const retVal = (output || [])
|
|
8281
|
+
.filter((e) => e != null)
|
|
8282
|
+
.map((entry) => {
|
|
8283
|
+
if (entry === null) {
|
|
8284
|
+
return null;
|
|
8285
|
+
}
|
|
8286
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8287
|
+
});
|
|
8288
|
+
return retVal;
|
|
8289
|
+
};
|
|
8023
8290
|
const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
8024
8291
|
const retVal = (output || [])
|
|
8025
8292
|
.filter((e) => e != null)
|
package/dist-es/KendraClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var KendraClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -463,6 +463,27 @@ export var FsxConfiguration;
|
|
|
463
463
|
(function (FsxConfiguration) {
|
|
464
464
|
FsxConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
465
|
})(FsxConfiguration || (FsxConfiguration = {}));
|
|
466
|
+
export var GitHubDocumentCrawlProperties;
|
|
467
|
+
(function (GitHubDocumentCrawlProperties) {
|
|
468
|
+
GitHubDocumentCrawlProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
469
|
+
})(GitHubDocumentCrawlProperties || (GitHubDocumentCrawlProperties = {}));
|
|
470
|
+
export var OnPremiseConfiguration;
|
|
471
|
+
(function (OnPremiseConfiguration) {
|
|
472
|
+
OnPremiseConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
473
|
+
})(OnPremiseConfiguration || (OnPremiseConfiguration = {}));
|
|
474
|
+
export var SaaSConfiguration;
|
|
475
|
+
(function (SaaSConfiguration) {
|
|
476
|
+
SaaSConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
|
+
})(SaaSConfiguration || (SaaSConfiguration = {}));
|
|
478
|
+
export var Type;
|
|
479
|
+
(function (Type) {
|
|
480
|
+
Type["ON_PREMISE"] = "ON_PREMISE";
|
|
481
|
+
Type["SAAS"] = "SAAS";
|
|
482
|
+
})(Type || (Type = {}));
|
|
483
|
+
export var GitHubConfiguration;
|
|
484
|
+
(function (GitHubConfiguration) {
|
|
485
|
+
GitHubConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
486
|
+
})(GitHubConfiguration || (GitHubConfiguration = {}));
|
|
466
487
|
export var GoogleDriveConfiguration;
|
|
467
488
|
(function (GoogleDriveConfiguration) {
|
|
468
489
|
GoogleDriveConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -644,6 +665,7 @@ export var DataSourceType;
|
|
|
644
665
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
645
666
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
646
667
|
DataSourceType["FSX"] = "FSX";
|
|
668
|
+
DataSourceType["GITHUB"] = "GITHUB";
|
|
647
669
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
648
670
|
DataSourceType["JIRA"] = "JIRA";
|
|
649
671
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|