@aws-sdk/client-kendra 3.87.0 → 3.94.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/models/models_0.js +18 -5
- package/dist-cjs/protocols/Aws_json1_1.js +184 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +168 -1
- package/dist-types/models/models_0.d.ts +143 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **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))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
@@ -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 = void 0;
|
|
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";
|
|
@@ -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),
|
|
@@ -4636,6 +4640,86 @@ const serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = (inp
|
|
|
4636
4640
|
return serializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration(entry, context);
|
|
4637
4641
|
});
|
|
4638
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
|
+
};
|
|
4639
4723
|
const serializeAws_json1_1JsonTokenTypeConfiguration = (input, context) => {
|
|
4640
4724
|
return {
|
|
4641
4725
|
...(input.GroupAttributeField !== undefined &&
|
|
@@ -4846,6 +4930,16 @@ const serializeAws_json1_1PrivateChannelFilter = (input, context) => {
|
|
|
4846
4930
|
return entry;
|
|
4847
4931
|
});
|
|
4848
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
|
+
};
|
|
4849
4943
|
const serializeAws_json1_1ProxyConfiguration = (input, context) => {
|
|
4850
4944
|
return {
|
|
4851
4945
|
...(input.Credentials !== undefined && input.Credentials !== null && { Credentials: input.Credentials }),
|
|
@@ -6207,6 +6301,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
6207
6301
|
GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
|
|
6208
6302
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
6209
6303
|
: undefined,
|
|
6304
|
+
JiraConfiguration: output.JiraConfiguration !== undefined && output.JiraConfiguration !== null
|
|
6305
|
+
? deserializeAws_json1_1JiraConfiguration(output.JiraConfiguration, context)
|
|
6306
|
+
: undefined,
|
|
6210
6307
|
OneDriveConfiguration: output.OneDriveConfiguration !== undefined && output.OneDriveConfiguration !== null
|
|
6211
6308
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6212
6309
|
: undefined,
|
|
@@ -7060,6 +7157,82 @@ const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
|
7060
7157
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7061
7158
|
};
|
|
7062
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
|
+
};
|
|
7063
7236
|
const deserializeAws_json1_1JsonTokenTypeConfiguration = (output, context) => {
|
|
7064
7237
|
return {
|
|
7065
7238
|
GroupAttributeField: (0, smithy_client_1.expectString)(output.GroupAttributeField),
|
|
@@ -7249,6 +7422,17 @@ const deserializeAws_json1_1PrivateChannelFilter = (output, context) => {
|
|
|
7249
7422
|
});
|
|
7250
7423
|
return retVal;
|
|
7251
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
|
+
};
|
|
7252
7436
|
const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
|
|
7253
7437
|
return {
|
|
7254
7438
|
Credentials: (0, smithy_client_1.expectString)(output.Credentials),
|
|
@@ -467,6 +467,16 @@ export var GoogleDriveConfiguration;
|
|
|
467
467
|
(function (GoogleDriveConfiguration) {
|
|
468
468
|
GoogleDriveConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
469
469
|
})(GoogleDriveConfiguration || (GoogleDriveConfiguration = {}));
|
|
470
|
+
export var IssueSubEntity;
|
|
471
|
+
(function (IssueSubEntity) {
|
|
472
|
+
IssueSubEntity["ATTACHMENTS"] = "ATTACHMENTS";
|
|
473
|
+
IssueSubEntity["COMMENTS"] = "COMMENTS";
|
|
474
|
+
IssueSubEntity["WORKLOGS"] = "WORKLOGS";
|
|
475
|
+
})(IssueSubEntity || (IssueSubEntity = {}));
|
|
476
|
+
export var JiraConfiguration;
|
|
477
|
+
(function (JiraConfiguration) {
|
|
478
|
+
JiraConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
479
|
+
})(JiraConfiguration || (JiraConfiguration = {}));
|
|
470
480
|
export var OneDriveUsers;
|
|
471
481
|
(function (OneDriveUsers) {
|
|
472
482
|
OneDriveUsers.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -635,6 +645,7 @@ export var DataSourceType;
|
|
|
635
645
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
636
646
|
DataSourceType["FSX"] = "FSX";
|
|
637
647
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
648
|
+
DataSourceType["JIRA"] = "JIRA";
|
|
638
649
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
639
650
|
DataSourceType["QUIP"] = "QUIP";
|
|
640
651
|
DataSourceType["S3"] = "S3";
|
|
@@ -4897,7 +4897,7 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
|
4897
4897
|
}));
|
|
4898
4898
|
};
|
|
4899
4899
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
4900
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
|
|
4900
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
|
|
4901
4901
|
input.BoxConfiguration !== null && {
|
|
4902
4902
|
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
4903
4903
|
})), (input.ConfluenceConfiguration !== undefined &&
|
|
@@ -4912,6 +4912,9 @@ var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
|
4912
4912
|
})), (input.GoogleDriveConfiguration !== undefined &&
|
|
4913
4913
|
input.GoogleDriveConfiguration !== null && {
|
|
4914
4914
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
4915
|
+
})), (input.JiraConfiguration !== undefined &&
|
|
4916
|
+
input.JiraConfiguration !== null && {
|
|
4917
|
+
JiraConfiguration: serializeAws_json1_1JiraConfiguration(input.JiraConfiguration, context),
|
|
4915
4918
|
})), (input.OneDriveConfiguration !== undefined &&
|
|
4916
4919
|
input.OneDriveConfiguration !== null && {
|
|
4917
4920
|
OneDriveConfiguration: serializeAws_json1_1OneDriveConfiguration(input.OneDriveConfiguration, context),
|
|
@@ -5409,6 +5412,70 @@ var serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = functi
|
|
|
5409
5412
|
return serializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration(entry, context);
|
|
5410
5413
|
});
|
|
5411
5414
|
};
|
|
5415
|
+
var serializeAws_json1_1IssueSubEntityFilter = function (input, context) {
|
|
5416
|
+
return input
|
|
5417
|
+
.filter(function (e) { return e != null; })
|
|
5418
|
+
.map(function (entry) {
|
|
5419
|
+
if (entry === null) {
|
|
5420
|
+
return null;
|
|
5421
|
+
}
|
|
5422
|
+
return entry;
|
|
5423
|
+
});
|
|
5424
|
+
};
|
|
5425
|
+
var serializeAws_json1_1IssueType = function (input, context) {
|
|
5426
|
+
return input
|
|
5427
|
+
.filter(function (e) { return e != null; })
|
|
5428
|
+
.map(function (entry) {
|
|
5429
|
+
if (entry === null) {
|
|
5430
|
+
return null;
|
|
5431
|
+
}
|
|
5432
|
+
return entry;
|
|
5433
|
+
});
|
|
5434
|
+
};
|
|
5435
|
+
var serializeAws_json1_1JiraConfiguration = function (input, context) {
|
|
5436
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings !== undefined &&
|
|
5437
|
+
input.AttachmentFieldMappings !== null && {
|
|
5438
|
+
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
5439
|
+
})), (input.CommentFieldMappings !== undefined &&
|
|
5440
|
+
input.CommentFieldMappings !== null && {
|
|
5441
|
+
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
5442
|
+
})), (input.ExclusionPatterns !== undefined &&
|
|
5443
|
+
input.ExclusionPatterns !== null && {
|
|
5444
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5445
|
+
})), (input.InclusionPatterns !== undefined &&
|
|
5446
|
+
input.InclusionPatterns !== null && {
|
|
5447
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5448
|
+
})), (input.IssueFieldMappings !== undefined &&
|
|
5449
|
+
input.IssueFieldMappings !== null && {
|
|
5450
|
+
IssueFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.IssueFieldMappings, context),
|
|
5451
|
+
})), (input.IssueSubEntityFilter !== undefined &&
|
|
5452
|
+
input.IssueSubEntityFilter !== null && {
|
|
5453
|
+
IssueSubEntityFilter: serializeAws_json1_1IssueSubEntityFilter(input.IssueSubEntityFilter, context),
|
|
5454
|
+
})), (input.IssueType !== undefined &&
|
|
5455
|
+
input.IssueType !== null && { IssueType: serializeAws_json1_1IssueType(input.IssueType, context) })), (input.JiraAccountUrl !== undefined &&
|
|
5456
|
+
input.JiraAccountUrl !== null && { JiraAccountUrl: input.JiraAccountUrl })), (input.Project !== undefined &&
|
|
5457
|
+
input.Project !== null && { Project: serializeAws_json1_1Project(input.Project, context) })), (input.ProjectFieldMappings !== undefined &&
|
|
5458
|
+
input.ProjectFieldMappings !== null && {
|
|
5459
|
+
ProjectFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ProjectFieldMappings, context),
|
|
5460
|
+
})), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Status !== undefined &&
|
|
5461
|
+
input.Status !== null && { Status: serializeAws_json1_1JiraStatus(input.Status, context) })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
5462
|
+
input.VpcConfiguration !== null && {
|
|
5463
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5464
|
+
})), (input.WorkLogFieldMappings !== undefined &&
|
|
5465
|
+
input.WorkLogFieldMappings !== null && {
|
|
5466
|
+
WorkLogFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WorkLogFieldMappings, context),
|
|
5467
|
+
}));
|
|
5468
|
+
};
|
|
5469
|
+
var serializeAws_json1_1JiraStatus = function (input, context) {
|
|
5470
|
+
return input
|
|
5471
|
+
.filter(function (e) { return e != null; })
|
|
5472
|
+
.map(function (entry) {
|
|
5473
|
+
if (entry === null) {
|
|
5474
|
+
return null;
|
|
5475
|
+
}
|
|
5476
|
+
return entry;
|
|
5477
|
+
});
|
|
5478
|
+
};
|
|
5412
5479
|
var serializeAws_json1_1JsonTokenTypeConfiguration = function (input, context) {
|
|
5413
5480
|
return __assign(__assign({}, (input.GroupAttributeField !== undefined &&
|
|
5414
5481
|
input.GroupAttributeField !== null && { GroupAttributeField: input.GroupAttributeField })), (input.UserNameAttributeField !== undefined &&
|
|
@@ -5540,6 +5607,16 @@ var serializeAws_json1_1PrivateChannelFilter = function (input, context) {
|
|
|
5540
5607
|
return entry;
|
|
5541
5608
|
});
|
|
5542
5609
|
};
|
|
5610
|
+
var serializeAws_json1_1Project = function (input, context) {
|
|
5611
|
+
return input
|
|
5612
|
+
.filter(function (e) { return e != null; })
|
|
5613
|
+
.map(function (entry) {
|
|
5614
|
+
if (entry === null) {
|
|
5615
|
+
return null;
|
|
5616
|
+
}
|
|
5617
|
+
return entry;
|
|
5618
|
+
});
|
|
5619
|
+
};
|
|
5543
5620
|
var serializeAws_json1_1ProxyConfiguration = function (input, context) {
|
|
5544
5621
|
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 }));
|
|
5545
5622
|
};
|
|
@@ -6635,6 +6712,9 @@ var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
|
6635
6712
|
GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
|
|
6636
6713
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
6637
6714
|
: undefined,
|
|
6715
|
+
JiraConfiguration: output.JiraConfiguration !== undefined && output.JiraConfiguration !== null
|
|
6716
|
+
? deserializeAws_json1_1JiraConfiguration(output.JiraConfiguration, context)
|
|
6717
|
+
: undefined,
|
|
6638
6718
|
OneDriveConfiguration: output.OneDriveConfiguration !== undefined && output.OneDriveConfiguration !== null
|
|
6639
6719
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6640
6720
|
: undefined,
|
|
@@ -7488,6 +7568,82 @@ var deserializeAws_json1_1InvalidRequestException = function (output, context) {
|
|
|
7488
7568
|
Message: __expectString(output.Message),
|
|
7489
7569
|
};
|
|
7490
7570
|
};
|
|
7571
|
+
var deserializeAws_json1_1IssueSubEntityFilter = function (output, context) {
|
|
7572
|
+
var retVal = (output || [])
|
|
7573
|
+
.filter(function (e) { return e != null; })
|
|
7574
|
+
.map(function (entry) {
|
|
7575
|
+
if (entry === null) {
|
|
7576
|
+
return null;
|
|
7577
|
+
}
|
|
7578
|
+
return __expectString(entry);
|
|
7579
|
+
});
|
|
7580
|
+
return retVal;
|
|
7581
|
+
};
|
|
7582
|
+
var deserializeAws_json1_1IssueType = function (output, context) {
|
|
7583
|
+
var retVal = (output || [])
|
|
7584
|
+
.filter(function (e) { return e != null; })
|
|
7585
|
+
.map(function (entry) {
|
|
7586
|
+
if (entry === null) {
|
|
7587
|
+
return null;
|
|
7588
|
+
}
|
|
7589
|
+
return __expectString(entry);
|
|
7590
|
+
});
|
|
7591
|
+
return retVal;
|
|
7592
|
+
};
|
|
7593
|
+
var deserializeAws_json1_1JiraConfiguration = function (output, context) {
|
|
7594
|
+
return {
|
|
7595
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
7596
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
7597
|
+
: undefined,
|
|
7598
|
+
CommentFieldMappings: output.CommentFieldMappings !== undefined && output.CommentFieldMappings !== null
|
|
7599
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
7600
|
+
: undefined,
|
|
7601
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7602
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7603
|
+
: undefined,
|
|
7604
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7605
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7606
|
+
: undefined,
|
|
7607
|
+
IssueFieldMappings: output.IssueFieldMappings !== undefined && output.IssueFieldMappings !== null
|
|
7608
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.IssueFieldMappings, context)
|
|
7609
|
+
: undefined,
|
|
7610
|
+
IssueSubEntityFilter: output.IssueSubEntityFilter !== undefined && output.IssueSubEntityFilter !== null
|
|
7611
|
+
? deserializeAws_json1_1IssueSubEntityFilter(output.IssueSubEntityFilter, context)
|
|
7612
|
+
: undefined,
|
|
7613
|
+
IssueType: output.IssueType !== undefined && output.IssueType !== null
|
|
7614
|
+
? deserializeAws_json1_1IssueType(output.IssueType, context)
|
|
7615
|
+
: undefined,
|
|
7616
|
+
JiraAccountUrl: __expectString(output.JiraAccountUrl),
|
|
7617
|
+
Project: output.Project !== undefined && output.Project !== null
|
|
7618
|
+
? deserializeAws_json1_1Project(output.Project, context)
|
|
7619
|
+
: undefined,
|
|
7620
|
+
ProjectFieldMappings: output.ProjectFieldMappings !== undefined && output.ProjectFieldMappings !== null
|
|
7621
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ProjectFieldMappings, context)
|
|
7622
|
+
: undefined,
|
|
7623
|
+
SecretArn: __expectString(output.SecretArn),
|
|
7624
|
+
Status: output.Status !== undefined && output.Status !== null
|
|
7625
|
+
? deserializeAws_json1_1JiraStatus(output.Status, context)
|
|
7626
|
+
: undefined,
|
|
7627
|
+
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
7628
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7629
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7630
|
+
: undefined,
|
|
7631
|
+
WorkLogFieldMappings: output.WorkLogFieldMappings !== undefined && output.WorkLogFieldMappings !== null
|
|
7632
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WorkLogFieldMappings, context)
|
|
7633
|
+
: undefined,
|
|
7634
|
+
};
|
|
7635
|
+
};
|
|
7636
|
+
var deserializeAws_json1_1JiraStatus = function (output, context) {
|
|
7637
|
+
var retVal = (output || [])
|
|
7638
|
+
.filter(function (e) { return e != null; })
|
|
7639
|
+
.map(function (entry) {
|
|
7640
|
+
if (entry === null) {
|
|
7641
|
+
return null;
|
|
7642
|
+
}
|
|
7643
|
+
return __expectString(entry);
|
|
7644
|
+
});
|
|
7645
|
+
return retVal;
|
|
7646
|
+
};
|
|
7491
7647
|
var deserializeAws_json1_1JsonTokenTypeConfiguration = function (output, context) {
|
|
7492
7648
|
return {
|
|
7493
7649
|
GroupAttributeField: __expectString(output.GroupAttributeField),
|
|
@@ -7677,6 +7833,17 @@ var deserializeAws_json1_1PrivateChannelFilter = function (output, context) {
|
|
|
7677
7833
|
});
|
|
7678
7834
|
return retVal;
|
|
7679
7835
|
};
|
|
7836
|
+
var deserializeAws_json1_1Project = function (output, context) {
|
|
7837
|
+
var retVal = (output || [])
|
|
7838
|
+
.filter(function (e) { return e != null; })
|
|
7839
|
+
.map(function (entry) {
|
|
7840
|
+
if (entry === null) {
|
|
7841
|
+
return null;
|
|
7842
|
+
}
|
|
7843
|
+
return __expectString(entry);
|
|
7844
|
+
});
|
|
7845
|
+
return retVal;
|
|
7846
|
+
};
|
|
7680
7847
|
var deserializeAws_json1_1ProxyConfiguration = function (output, context) {
|
|
7681
7848
|
return {
|
|
7682
7849
|
Credentials: __expectString(output.Credentials),
|
|
@@ -2048,6 +2048,143 @@ export declare namespace GoogleDriveConfiguration {
|
|
|
2048
2048
|
*/
|
|
2049
2049
|
const filterSensitiveLog: (obj: GoogleDriveConfiguration) => any;
|
|
2050
2050
|
}
|
|
2051
|
+
export declare enum IssueSubEntity {
|
|
2052
|
+
ATTACHMENTS = "ATTACHMENTS",
|
|
2053
|
+
COMMENTS = "COMMENTS",
|
|
2054
|
+
WORKLOGS = "WORKLOGS"
|
|
2055
|
+
}
|
|
2056
|
+
export interface JiraConfiguration {
|
|
2057
|
+
/**
|
|
2058
|
+
* <p>The URL of the Jira account. For example, company.attlassian.net or
|
|
2059
|
+
* https://jira.company.com. You can find your Jira account URL in the URL of
|
|
2060
|
+
* your profile page for Jira desktop.</p>
|
|
2061
|
+
*/
|
|
2062
|
+
JiraAccountUrl: string | undefined;
|
|
2063
|
+
/**
|
|
2064
|
+
* <p>The Amazon Resource Name (ARN) of an Secrets Manager secret that
|
|
2065
|
+
* contains the key-value pairs required to connect to your Jira
|
|
2066
|
+
* data source. The secret must
|
|
2067
|
+
* contain a JSON structure with the following keys:</p>
|
|
2068
|
+
* <ul>
|
|
2069
|
+
* <li>
|
|
2070
|
+
* <p>jira-id—The Active Directory user name, along with the
|
|
2071
|
+
* Domain Name System (DNS) domain name. For example,
|
|
2072
|
+
* <i>user@corp.example.com</i>.</p>
|
|
2073
|
+
* </li>
|
|
2074
|
+
* <li>
|
|
2075
|
+
* <p>jiraCredentials—The password of the Jira account user.</p>
|
|
2076
|
+
* </li>
|
|
2077
|
+
* </ul>
|
|
2078
|
+
*/
|
|
2079
|
+
SecretArn: string | undefined;
|
|
2080
|
+
/**
|
|
2081
|
+
* <p>Specify to use the change log option to update your index.</p>
|
|
2082
|
+
*/
|
|
2083
|
+
UseChangeLog?: boolean;
|
|
2084
|
+
/**
|
|
2085
|
+
* <p>Specify which projects to crawl in your Jira data source. You can specify
|
|
2086
|
+
* one or more Jira project IDs.</p>
|
|
2087
|
+
*/
|
|
2088
|
+
Project?: string[];
|
|
2089
|
+
/**
|
|
2090
|
+
* <p>Specify which issue types to crawl in your Jira data source.
|
|
2091
|
+
* You can specify one or more of these options to crawl.</p>
|
|
2092
|
+
*/
|
|
2093
|
+
IssueType?: string[];
|
|
2094
|
+
/**
|
|
2095
|
+
* <p>Specify which statuses to crawl in your Jira data source.
|
|
2096
|
+
* You can specify one or more of these options to crawl.</p>
|
|
2097
|
+
*/
|
|
2098
|
+
Status?: string[];
|
|
2099
|
+
/**
|
|
2100
|
+
* <p>Specify whether to crawl comments,
|
|
2101
|
+
* attachments,
|
|
2102
|
+
* and work logs. You can specify one or more of these options.</p>
|
|
2103
|
+
*/
|
|
2104
|
+
IssueSubEntityFilter?: (IssueSubEntity | string)[];
|
|
2105
|
+
/**
|
|
2106
|
+
* <p>A list of DataSourceToIndexFieldMapping objects that map attributes
|
|
2107
|
+
* or field names of Jira attachments to Amazon Kendra index field names.
|
|
2108
|
+
* To create custom fields, use the UpdateIndex API before you map to Jira
|
|
2109
|
+
* fields. For
|
|
2110
|
+
* more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
|
|
2111
|
+
* Mapping data source fields</a>. The Jira data source field names
|
|
2112
|
+
* must exist in your Jira custom metadata.</p>
|
|
2113
|
+
*/
|
|
2114
|
+
AttachmentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2115
|
+
/**
|
|
2116
|
+
* <p>A list of DataSourceToIndexFieldMapping objects that map attributes
|
|
2117
|
+
* or field names of Jira comments to Amazon Kendra index field names.
|
|
2118
|
+
* To create custom fields, use the UpdateIndex API before you map to Jira
|
|
2119
|
+
* fields. For
|
|
2120
|
+
* more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
|
|
2121
|
+
* Mapping data source fields</a>. The Jira data source field names
|
|
2122
|
+
* must exist in your Jira custom metadata.</p>
|
|
2123
|
+
*/
|
|
2124
|
+
CommentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2125
|
+
/**
|
|
2126
|
+
* <p>A list of DataSourceToIndexFieldMapping objects that map attributes
|
|
2127
|
+
* or field names of Jira issues to Amazon Kendra index field names.
|
|
2128
|
+
* To create custom fields, use the UpdateIndex API before you map to Jira
|
|
2129
|
+
* fields. For
|
|
2130
|
+
* more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
|
|
2131
|
+
* Mapping data source fields</a>. The Jira data source field names
|
|
2132
|
+
* must exist in your Jira custom metadata.</p>
|
|
2133
|
+
*/
|
|
2134
|
+
IssueFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2135
|
+
/**
|
|
2136
|
+
* <p>A list of DataSourceToIndexFieldMapping objects that map attributes
|
|
2137
|
+
* or field names of Jira projects to Amazon Kendra index field names.
|
|
2138
|
+
* To create custom fields, use the UpdateIndex API before you map to Jira
|
|
2139
|
+
* fields. For
|
|
2140
|
+
* more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
|
|
2141
|
+
* Mapping data source fields</a>. The Jira data source field names
|
|
2142
|
+
* must exist in your Jira custom metadata.</p>
|
|
2143
|
+
*/
|
|
2144
|
+
ProjectFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>A list of DataSourceToIndexFieldMapping objects that map attributes
|
|
2147
|
+
* or field names of Jira work logs to Amazon Kendra index field names.
|
|
2148
|
+
* To create custom fields, use the UpdateIndex API before you map to Jira
|
|
2149
|
+
* fields. For
|
|
2150
|
+
* more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
|
|
2151
|
+
* Mapping data source fields</a>. The Jira data source field names
|
|
2152
|
+
* must exist in your Jira custom metadata.</p>
|
|
2153
|
+
*/
|
|
2154
|
+
WorkLogFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2155
|
+
/**
|
|
2156
|
+
* <p>A list of regular expression patterns to include certain file paths,
|
|
2157
|
+
* file
|
|
2158
|
+
* names, and
|
|
2159
|
+
* file types in your Jira data source. Files that match the patterns are included in the
|
|
2160
|
+
* index. Files that don't match the patterns are excluded from the index. If a file
|
|
2161
|
+
* matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes
|
|
2162
|
+
* precedence and the file isn't included in the index.</p>
|
|
2163
|
+
*/
|
|
2164
|
+
InclusionPatterns?: string[];
|
|
2165
|
+
/**
|
|
2166
|
+
* <p>A list of regular expression patterns to exclude certain file paths,
|
|
2167
|
+
* file names, and file types
|
|
2168
|
+
* in your Jira data source. Files that match the patterns
|
|
2169
|
+
* are excluded from the index. Files that don’t match the patterns are
|
|
2170
|
+
* included in the index. If a file matches both an inclusion pattern
|
|
2171
|
+
* and an exclusion pattern, the exclusion pattern takes precedence
|
|
2172
|
+
* and the file isn't included in the index.</p>
|
|
2173
|
+
*/
|
|
2174
|
+
ExclusionPatterns?: string[];
|
|
2175
|
+
/**
|
|
2176
|
+
* <p>Configuration information for an
|
|
2177
|
+
* Amazon Virtual Private Cloud to connect to your Jira. Your Jira
|
|
2178
|
+
* account must reside inside your VPC.</p>
|
|
2179
|
+
*/
|
|
2180
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
2181
|
+
}
|
|
2182
|
+
export declare namespace JiraConfiguration {
|
|
2183
|
+
/**
|
|
2184
|
+
* @internal
|
|
2185
|
+
*/
|
|
2186
|
+
const filterSensitiveLog: (obj: JiraConfiguration) => any;
|
|
2187
|
+
}
|
|
2051
2188
|
/**
|
|
2052
2189
|
* <p>User accounts whose documents should be indexed.</p>
|
|
2053
2190
|
*/
|
|
@@ -3441,6 +3578,11 @@ export interface DataSourceConfiguration {
|
|
|
3441
3578
|
* data source.</p>
|
|
3442
3579
|
*/
|
|
3443
3580
|
QuipConfiguration?: QuipConfiguration;
|
|
3581
|
+
/**
|
|
3582
|
+
* <p>Provides the configuration information to connect to Jira as your
|
|
3583
|
+
* data source.</p>
|
|
3584
|
+
*/
|
|
3585
|
+
JiraConfiguration?: JiraConfiguration;
|
|
3444
3586
|
}
|
|
3445
3587
|
export declare namespace DataSourceConfiguration {
|
|
3446
3588
|
/**
|
|
@@ -3478,6 +3620,7 @@ export declare enum DataSourceType {
|
|
|
3478
3620
|
DATABASE = "DATABASE",
|
|
3479
3621
|
FSX = "FSX",
|
|
3480
3622
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
3623
|
+
JIRA = "JIRA",
|
|
3481
3624
|
ONEDRIVE = "ONEDRIVE",
|
|
3482
3625
|
QUIP = "QUIP",
|
|
3483
3626
|
S3 = "S3",
|
|
@@ -924,6 +924,47 @@ export declare namespace GoogleDriveConfiguration {
|
|
|
924
924
|
|
|
925
925
|
const filterSensitiveLog: (obj: GoogleDriveConfiguration) => any;
|
|
926
926
|
}
|
|
927
|
+
export declare enum IssueSubEntity {
|
|
928
|
+
ATTACHMENTS = "ATTACHMENTS",
|
|
929
|
+
COMMENTS = "COMMENTS",
|
|
930
|
+
WORKLOGS = "WORKLOGS"
|
|
931
|
+
}
|
|
932
|
+
export interface JiraConfiguration {
|
|
933
|
+
|
|
934
|
+
JiraAccountUrl: string | undefined;
|
|
935
|
+
|
|
936
|
+
SecretArn: string | undefined;
|
|
937
|
+
|
|
938
|
+
UseChangeLog?: boolean;
|
|
939
|
+
|
|
940
|
+
Project?: string[];
|
|
941
|
+
|
|
942
|
+
IssueType?: string[];
|
|
943
|
+
|
|
944
|
+
Status?: string[];
|
|
945
|
+
|
|
946
|
+
IssueSubEntityFilter?: (IssueSubEntity | string)[];
|
|
947
|
+
|
|
948
|
+
AttachmentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
949
|
+
|
|
950
|
+
CommentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
951
|
+
|
|
952
|
+
IssueFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
953
|
+
|
|
954
|
+
ProjectFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
955
|
+
|
|
956
|
+
WorkLogFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
957
|
+
|
|
958
|
+
InclusionPatterns?: string[];
|
|
959
|
+
|
|
960
|
+
ExclusionPatterns?: string[];
|
|
961
|
+
|
|
962
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
963
|
+
}
|
|
964
|
+
export declare namespace JiraConfiguration {
|
|
965
|
+
|
|
966
|
+
const filterSensitiveLog: (obj: JiraConfiguration) => any;
|
|
967
|
+
}
|
|
927
968
|
|
|
928
969
|
export interface OneDriveUsers {
|
|
929
970
|
|
|
@@ -1417,6 +1458,8 @@ export interface DataSourceConfiguration {
|
|
|
1417
1458
|
BoxConfiguration?: BoxConfiguration;
|
|
1418
1459
|
|
|
1419
1460
|
QuipConfiguration?: QuipConfiguration;
|
|
1461
|
+
|
|
1462
|
+
JiraConfiguration?: JiraConfiguration;
|
|
1420
1463
|
}
|
|
1421
1464
|
export declare namespace DataSourceConfiguration {
|
|
1422
1465
|
|
|
@@ -1440,6 +1483,7 @@ export declare enum DataSourceType {
|
|
|
1440
1483
|
DATABASE = "DATABASE",
|
|
1441
1484
|
FSX = "FSX",
|
|
1442
1485
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
1486
|
+
JIRA = "JIRA",
|
|
1443
1487
|
ONEDRIVE = "ONEDRIVE",
|
|
1444
1488
|
QUIP = "QUIP",
|
|
1445
1489
|
S3 = "S3",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.94.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.94.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.94.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|