@aws-sdk/client-kendra 3.43.0 → 3.47.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 +50 -0
- package/README.md +7 -7
- package/dist-cjs/Kendra.js +180 -0
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +36 -0
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +36 -0
- package/dist-cjs/commands/CreateExperienceCommand.js +36 -0
- package/dist-cjs/commands/DeleteExperienceCommand.js +36 -0
- package/dist-cjs/commands/DescribeExperienceCommand.js +36 -0
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +36 -0
- package/dist-cjs/commands/GetSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ListEntityPersonasCommand.js +36 -0
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +36 -0
- package/dist-cjs/commands/ListExperiencesCommand.js +36 -0
- package/dist-cjs/commands/UpdateExperienceCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +1 -16
- package/dist-cjs/models/models_0.js +306 -69
- package/dist-cjs/pagination/ListEntityPersonasPaginator.js +35 -0
- package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +34 -0
- package/dist-cjs/pagination/ListExperiencesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2043 -261
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Kendra.js +180 -0
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
- package/dist-es/commands/CreateExperienceCommand.js +39 -0
- package/dist-es/commands/DeleteExperienceCommand.js +39 -0
- package/dist-es/commands/DescribeExperienceCommand.js +39 -0
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
- package/dist-es/commands/GetSnapshotsCommand.js +39 -0
- package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
- package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
- package/dist-es/commands/ListExperiencesCommand.js +39 -0
- package/dist-es/commands/UpdateExperienceCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +1 -16
- package/dist-es/models/models_0.js +215 -44
- package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
- package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +2042 -234
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Kendra.d.ts +164 -1
- package/dist-types/KendraClient.d.ts +19 -3
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -1
- package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +1217 -147
- package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Kendra.d.ts +60 -0
- package/dist-types/ts3.4/KendraClient.d.ts +17 -3
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +579 -77
- package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
3
|
+
exports.ConfluenceAttachmentFieldName = exports.ClearQuerySuggestionsRequest = exports.BatchPutDocumentResponse = exports.BatchPutDocumentResponseFailedDocument = exports.BatchPutDocumentRequest = exports.Document = exports.S3Path = 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.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.AssociateEntitiesToExperienceResponse = exports.FailedEntity = exports.AssociateEntitiesToExperienceRequest = exports.EntityConfiguration = exports.EntityType = exports.AdditionalResultAttribute = exports.AdditionalResultAttributeValueType = exports.AdditionalResultAttributeValue = exports.TextWithHighlights = exports.Highlight = exports.HighlightType = exports.AclConfiguration = exports.AccessControlListConfiguration = void 0;
|
|
4
|
+
exports.WorkDocsConfiguration = exports.WebCrawlerConfiguration = exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SharePointConfiguration = exports.SharePointVersion = exports.ServiceNowConfiguration = exports.ServiceNowBuildVersionType = exports.ServiceNowServiceCatalogConfiguration = exports.ServiceNowKnowledgeArticleConfiguration = exports.ServiceNowAuthenticationType = 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.OneDriveConfiguration = exports.OneDriveUsers = exports.GoogleDriveConfiguration = exports.DatabaseConfiguration = exports.SqlConfiguration = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConnectionConfiguration = exports.ColumnConfiguration = exports.DataSourceToIndexFieldMapping = exports.ConfluenceConfiguration = exports.DataSourceVpcConfiguration = exports.ConfluenceVersion = exports.ConfluenceSpaceConfiguration = exports.ConfluenceSpaceToIndexFieldMapping = exports.ConfluenceSpaceFieldName = exports.ConfluencePageConfiguration = exports.ConfluencePageToIndexFieldMapping = exports.ConfluencePageFieldName = exports.ConfluenceBlogConfiguration = exports.ConfluenceBlogToIndexFieldMapping = exports.ConfluenceBlogFieldName = exports.ConfluenceAttachmentConfiguration = exports.ConfluenceAttachmentToIndexFieldMapping = void 0;
|
|
5
|
+
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 = 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 = void 0;
|
|
6
|
+
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.GetSnapshotsResponse = exports.TimeRange = exports.GetSnapshotsRequest = exports.MetricType = 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 = void 0;
|
|
7
|
+
exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.QueryResult = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.FacetResult = exports.DocumentAttributeValueCountPair = exports.UserContext = exports.DataSourceGroup = exports.SortingConfiguration = exports.SortOrder = exports.QueryResultType = exports.Facet = exports.DocumentRelevanceConfiguration = exports.PutPrincipalMappingRequest = exports.GroupMembers = exports.MemberUser = exports.MemberGroup = exports.ListThesauriResponse = exports.ThesaurusSummary = exports.ListThesauriRequest = 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 = void 0;
|
|
8
|
+
exports.QueryRequest = exports.AttributeFilter = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UntagResourceResponse = void 0;
|
|
8
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
10
|
var AccessControlListConfiguration;
|
|
10
11
|
(function (AccessControlListConfiguration) {
|
|
@@ -12,12 +13,6 @@ var AccessControlListConfiguration;
|
|
|
12
13
|
...obj,
|
|
13
14
|
});
|
|
14
15
|
})(AccessControlListConfiguration = exports.AccessControlListConfiguration || (exports.AccessControlListConfiguration = {}));
|
|
15
|
-
var AccessDeniedException;
|
|
16
|
-
(function (AccessDeniedException) {
|
|
17
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
18
|
-
...obj,
|
|
19
|
-
});
|
|
20
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
21
16
|
var AclConfiguration;
|
|
22
17
|
(function (AclConfiguration) {
|
|
23
18
|
AclConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -57,6 +52,58 @@ var AdditionalResultAttribute;
|
|
|
57
52
|
...obj,
|
|
58
53
|
});
|
|
59
54
|
})(AdditionalResultAttribute = exports.AdditionalResultAttribute || (exports.AdditionalResultAttribute = {}));
|
|
55
|
+
var EntityType;
|
|
56
|
+
(function (EntityType) {
|
|
57
|
+
EntityType["GROUP"] = "GROUP";
|
|
58
|
+
EntityType["USER"] = "USER";
|
|
59
|
+
})(EntityType = exports.EntityType || (exports.EntityType = {}));
|
|
60
|
+
var EntityConfiguration;
|
|
61
|
+
(function (EntityConfiguration) {
|
|
62
|
+
EntityConfiguration.filterSensitiveLog = (obj) => ({
|
|
63
|
+
...obj,
|
|
64
|
+
});
|
|
65
|
+
})(EntityConfiguration = exports.EntityConfiguration || (exports.EntityConfiguration = {}));
|
|
66
|
+
var AssociateEntitiesToExperienceRequest;
|
|
67
|
+
(function (AssociateEntitiesToExperienceRequest) {
|
|
68
|
+
AssociateEntitiesToExperienceRequest.filterSensitiveLog = (obj) => ({
|
|
69
|
+
...obj,
|
|
70
|
+
});
|
|
71
|
+
})(AssociateEntitiesToExperienceRequest = exports.AssociateEntitiesToExperienceRequest || (exports.AssociateEntitiesToExperienceRequest = {}));
|
|
72
|
+
var FailedEntity;
|
|
73
|
+
(function (FailedEntity) {
|
|
74
|
+
FailedEntity.filterSensitiveLog = (obj) => ({
|
|
75
|
+
...obj,
|
|
76
|
+
});
|
|
77
|
+
})(FailedEntity = exports.FailedEntity || (exports.FailedEntity = {}));
|
|
78
|
+
var AssociateEntitiesToExperienceResponse;
|
|
79
|
+
(function (AssociateEntitiesToExperienceResponse) {
|
|
80
|
+
AssociateEntitiesToExperienceResponse.filterSensitiveLog = (obj) => ({
|
|
81
|
+
...obj,
|
|
82
|
+
});
|
|
83
|
+
})(AssociateEntitiesToExperienceResponse = exports.AssociateEntitiesToExperienceResponse || (exports.AssociateEntitiesToExperienceResponse = {}));
|
|
84
|
+
var Persona;
|
|
85
|
+
(function (Persona) {
|
|
86
|
+
Persona["OWNER"] = "OWNER";
|
|
87
|
+
Persona["VIEWER"] = "VIEWER";
|
|
88
|
+
})(Persona = exports.Persona || (exports.Persona = {}));
|
|
89
|
+
var EntityPersonaConfiguration;
|
|
90
|
+
(function (EntityPersonaConfiguration) {
|
|
91
|
+
EntityPersonaConfiguration.filterSensitiveLog = (obj) => ({
|
|
92
|
+
...obj,
|
|
93
|
+
});
|
|
94
|
+
})(EntityPersonaConfiguration = exports.EntityPersonaConfiguration || (exports.EntityPersonaConfiguration = {}));
|
|
95
|
+
var AssociatePersonasToEntitiesRequest;
|
|
96
|
+
(function (AssociatePersonasToEntitiesRequest) {
|
|
97
|
+
AssociatePersonasToEntitiesRequest.filterSensitiveLog = (obj) => ({
|
|
98
|
+
...obj,
|
|
99
|
+
});
|
|
100
|
+
})(AssociatePersonasToEntitiesRequest = exports.AssociatePersonasToEntitiesRequest || (exports.AssociatePersonasToEntitiesRequest = {}));
|
|
101
|
+
var AssociatePersonasToEntitiesResponse;
|
|
102
|
+
(function (AssociatePersonasToEntitiesResponse) {
|
|
103
|
+
AssociatePersonasToEntitiesResponse.filterSensitiveLog = (obj) => ({
|
|
104
|
+
...obj,
|
|
105
|
+
});
|
|
106
|
+
})(AssociatePersonasToEntitiesResponse = exports.AssociatePersonasToEntitiesResponse || (exports.AssociatePersonasToEntitiesResponse = {}));
|
|
60
107
|
var DocumentAttributeValue;
|
|
61
108
|
(function (DocumentAttributeValue) {
|
|
62
109
|
DocumentAttributeValue.filterSensitiveLog = (obj) => ({
|
|
@@ -110,36 +157,6 @@ var BatchDeleteDocumentResponse;
|
|
|
110
157
|
...obj,
|
|
111
158
|
});
|
|
112
159
|
})(BatchDeleteDocumentResponse = exports.BatchDeleteDocumentResponse || (exports.BatchDeleteDocumentResponse = {}));
|
|
113
|
-
var ConflictException;
|
|
114
|
-
(function (ConflictException) {
|
|
115
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
119
|
-
var InternalServerException;
|
|
120
|
-
(function (InternalServerException) {
|
|
121
|
-
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
});
|
|
124
|
-
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
125
|
-
var ResourceNotFoundException;
|
|
126
|
-
(function (ResourceNotFoundException) {
|
|
127
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
128
|
-
...obj,
|
|
129
|
-
});
|
|
130
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
131
|
-
var ThrottlingException;
|
|
132
|
-
(function (ThrottlingException) {
|
|
133
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
134
|
-
...obj,
|
|
135
|
-
});
|
|
136
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
137
|
-
var ValidationException;
|
|
138
|
-
(function (ValidationException) {
|
|
139
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
140
|
-
...obj,
|
|
141
|
-
});
|
|
142
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
143
160
|
var DocumentInfo;
|
|
144
161
|
(function (DocumentInfo) {
|
|
145
162
|
DocumentInfo.filterSensitiveLog = (obj) => ({
|
|
@@ -179,6 +196,50 @@ var BatchGetDocumentStatusResponse;
|
|
|
179
196
|
...obj,
|
|
180
197
|
});
|
|
181
198
|
})(BatchGetDocumentStatusResponse = exports.BatchGetDocumentStatusResponse || (exports.BatchGetDocumentStatusResponse = {}));
|
|
199
|
+
var ConditionOperator;
|
|
200
|
+
(function (ConditionOperator) {
|
|
201
|
+
ConditionOperator["BeginsWith"] = "BeginsWith";
|
|
202
|
+
ConditionOperator["Contains"] = "Contains";
|
|
203
|
+
ConditionOperator["Equals"] = "Equals";
|
|
204
|
+
ConditionOperator["Exists"] = "Exists";
|
|
205
|
+
ConditionOperator["GreaterThan"] = "GreaterThan";
|
|
206
|
+
ConditionOperator["GreaterThanOrEquals"] = "GreaterThanOrEquals";
|
|
207
|
+
ConditionOperator["LessThan"] = "LessThan";
|
|
208
|
+
ConditionOperator["LessThanOrEquals"] = "LessThanOrEquals";
|
|
209
|
+
ConditionOperator["NotContains"] = "NotContains";
|
|
210
|
+
ConditionOperator["NotEquals"] = "NotEquals";
|
|
211
|
+
ConditionOperator["NotExists"] = "NotExists";
|
|
212
|
+
})(ConditionOperator = exports.ConditionOperator || (exports.ConditionOperator = {}));
|
|
213
|
+
var DocumentAttributeCondition;
|
|
214
|
+
(function (DocumentAttributeCondition) {
|
|
215
|
+
DocumentAttributeCondition.filterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
});
|
|
218
|
+
})(DocumentAttributeCondition = exports.DocumentAttributeCondition || (exports.DocumentAttributeCondition = {}));
|
|
219
|
+
var DocumentAttributeTarget;
|
|
220
|
+
(function (DocumentAttributeTarget) {
|
|
221
|
+
DocumentAttributeTarget.filterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
});
|
|
224
|
+
})(DocumentAttributeTarget = exports.DocumentAttributeTarget || (exports.DocumentAttributeTarget = {}));
|
|
225
|
+
var InlineCustomDocumentEnrichmentConfiguration;
|
|
226
|
+
(function (InlineCustomDocumentEnrichmentConfiguration) {
|
|
227
|
+
InlineCustomDocumentEnrichmentConfiguration.filterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
})(InlineCustomDocumentEnrichmentConfiguration = exports.InlineCustomDocumentEnrichmentConfiguration || (exports.InlineCustomDocumentEnrichmentConfiguration = {}));
|
|
231
|
+
var HookConfiguration;
|
|
232
|
+
(function (HookConfiguration) {
|
|
233
|
+
HookConfiguration.filterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
});
|
|
236
|
+
})(HookConfiguration = exports.HookConfiguration || (exports.HookConfiguration = {}));
|
|
237
|
+
var CustomDocumentEnrichmentConfiguration;
|
|
238
|
+
(function (CustomDocumentEnrichmentConfiguration) {
|
|
239
|
+
CustomDocumentEnrichmentConfiguration.filterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
});
|
|
242
|
+
})(CustomDocumentEnrichmentConfiguration = exports.CustomDocumentEnrichmentConfiguration || (exports.CustomDocumentEnrichmentConfiguration = {}));
|
|
182
243
|
var ReadAccessType;
|
|
183
244
|
(function (ReadAccessType) {
|
|
184
245
|
ReadAccessType["ALLOW"] = "ALLOW";
|
|
@@ -239,12 +300,6 @@ var BatchPutDocumentResponse;
|
|
|
239
300
|
...obj,
|
|
240
301
|
});
|
|
241
302
|
})(BatchPutDocumentResponse = exports.BatchPutDocumentResponse || (exports.BatchPutDocumentResponse = {}));
|
|
242
|
-
var ServiceQuotaExceededException;
|
|
243
|
-
(function (ServiceQuotaExceededException) {
|
|
244
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
245
|
-
...obj,
|
|
246
|
-
});
|
|
247
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
248
303
|
var ClearQuerySuggestionsRequest;
|
|
249
304
|
(function (ClearQuerySuggestionsRequest) {
|
|
250
305
|
ClearQuerySuggestionsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -629,12 +684,36 @@ var CreateDataSourceResponse;
|
|
|
629
684
|
...obj,
|
|
630
685
|
});
|
|
631
686
|
})(CreateDataSourceResponse = exports.CreateDataSourceResponse || (exports.CreateDataSourceResponse = {}));
|
|
632
|
-
var
|
|
633
|
-
(function (
|
|
634
|
-
|
|
687
|
+
var ContentSourceConfiguration;
|
|
688
|
+
(function (ContentSourceConfiguration) {
|
|
689
|
+
ContentSourceConfiguration.filterSensitiveLog = (obj) => ({
|
|
690
|
+
...obj,
|
|
691
|
+
});
|
|
692
|
+
})(ContentSourceConfiguration = exports.ContentSourceConfiguration || (exports.ContentSourceConfiguration = {}));
|
|
693
|
+
var UserIdentityConfiguration;
|
|
694
|
+
(function (UserIdentityConfiguration) {
|
|
695
|
+
UserIdentityConfiguration.filterSensitiveLog = (obj) => ({
|
|
696
|
+
...obj,
|
|
697
|
+
});
|
|
698
|
+
})(UserIdentityConfiguration = exports.UserIdentityConfiguration || (exports.UserIdentityConfiguration = {}));
|
|
699
|
+
var ExperienceConfiguration;
|
|
700
|
+
(function (ExperienceConfiguration) {
|
|
701
|
+
ExperienceConfiguration.filterSensitiveLog = (obj) => ({
|
|
702
|
+
...obj,
|
|
703
|
+
});
|
|
704
|
+
})(ExperienceConfiguration = exports.ExperienceConfiguration || (exports.ExperienceConfiguration = {}));
|
|
705
|
+
var CreateExperienceRequest;
|
|
706
|
+
(function (CreateExperienceRequest) {
|
|
707
|
+
CreateExperienceRequest.filterSensitiveLog = (obj) => ({
|
|
635
708
|
...obj,
|
|
636
709
|
});
|
|
637
|
-
})(
|
|
710
|
+
})(CreateExperienceRequest = exports.CreateExperienceRequest || (exports.CreateExperienceRequest = {}));
|
|
711
|
+
var CreateExperienceResponse;
|
|
712
|
+
(function (CreateExperienceResponse) {
|
|
713
|
+
CreateExperienceResponse.filterSensitiveLog = (obj) => ({
|
|
714
|
+
...obj,
|
|
715
|
+
});
|
|
716
|
+
})(CreateExperienceResponse = exports.CreateExperienceResponse || (exports.CreateExperienceResponse = {}));
|
|
638
717
|
var FaqFileFormat;
|
|
639
718
|
(function (FaqFileFormat) {
|
|
640
719
|
FaqFileFormat["CSV"] = "CSV";
|
|
@@ -749,6 +828,18 @@ var DeleteDataSourceRequest;
|
|
|
749
828
|
...obj,
|
|
750
829
|
});
|
|
751
830
|
})(DeleteDataSourceRequest = exports.DeleteDataSourceRequest || (exports.DeleteDataSourceRequest = {}));
|
|
831
|
+
var DeleteExperienceRequest;
|
|
832
|
+
(function (DeleteExperienceRequest) {
|
|
833
|
+
DeleteExperienceRequest.filterSensitiveLog = (obj) => ({
|
|
834
|
+
...obj,
|
|
835
|
+
});
|
|
836
|
+
})(DeleteExperienceRequest = exports.DeleteExperienceRequest || (exports.DeleteExperienceRequest = {}));
|
|
837
|
+
var DeleteExperienceResponse;
|
|
838
|
+
(function (DeleteExperienceResponse) {
|
|
839
|
+
DeleteExperienceResponse.filterSensitiveLog = (obj) => ({
|
|
840
|
+
...obj,
|
|
841
|
+
});
|
|
842
|
+
})(DeleteExperienceResponse = exports.DeleteExperienceResponse || (exports.DeleteExperienceResponse = {}));
|
|
752
843
|
var DeleteFaqRequest;
|
|
753
844
|
(function (DeleteFaqRequest) {
|
|
754
845
|
DeleteFaqRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -799,6 +890,35 @@ var DescribeDataSourceResponse;
|
|
|
799
890
|
...obj,
|
|
800
891
|
});
|
|
801
892
|
})(DescribeDataSourceResponse = exports.DescribeDataSourceResponse || (exports.DescribeDataSourceResponse = {}));
|
|
893
|
+
var DescribeExperienceRequest;
|
|
894
|
+
(function (DescribeExperienceRequest) {
|
|
895
|
+
DescribeExperienceRequest.filterSensitiveLog = (obj) => ({
|
|
896
|
+
...obj,
|
|
897
|
+
});
|
|
898
|
+
})(DescribeExperienceRequest = exports.DescribeExperienceRequest || (exports.DescribeExperienceRequest = {}));
|
|
899
|
+
var EndpointType;
|
|
900
|
+
(function (EndpointType) {
|
|
901
|
+
EndpointType["HOME"] = "HOME";
|
|
902
|
+
})(EndpointType = exports.EndpointType || (exports.EndpointType = {}));
|
|
903
|
+
var ExperienceEndpoint;
|
|
904
|
+
(function (ExperienceEndpoint) {
|
|
905
|
+
ExperienceEndpoint.filterSensitiveLog = (obj) => ({
|
|
906
|
+
...obj,
|
|
907
|
+
});
|
|
908
|
+
})(ExperienceEndpoint = exports.ExperienceEndpoint || (exports.ExperienceEndpoint = {}));
|
|
909
|
+
var ExperienceStatus;
|
|
910
|
+
(function (ExperienceStatus) {
|
|
911
|
+
ExperienceStatus["ACTIVE"] = "ACTIVE";
|
|
912
|
+
ExperienceStatus["CREATING"] = "CREATING";
|
|
913
|
+
ExperienceStatus["DELETING"] = "DELETING";
|
|
914
|
+
ExperienceStatus["FAILED"] = "FAILED";
|
|
915
|
+
})(ExperienceStatus = exports.ExperienceStatus || (exports.ExperienceStatus = {}));
|
|
916
|
+
var DescribeExperienceResponse;
|
|
917
|
+
(function (DescribeExperienceResponse) {
|
|
918
|
+
DescribeExperienceResponse.filterSensitiveLog = (obj) => ({
|
|
919
|
+
...obj,
|
|
920
|
+
});
|
|
921
|
+
})(DescribeExperienceResponse = exports.DescribeExperienceResponse || (exports.DescribeExperienceResponse = {}));
|
|
802
922
|
var DescribeFaqRequest;
|
|
803
923
|
(function (DescribeFaqRequest) {
|
|
804
924
|
DescribeFaqRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -987,6 +1107,30 @@ var DescribeThesaurusResponse;
|
|
|
987
1107
|
...obj,
|
|
988
1108
|
});
|
|
989
1109
|
})(DescribeThesaurusResponse = exports.DescribeThesaurusResponse || (exports.DescribeThesaurusResponse = {}));
|
|
1110
|
+
var DisassociateEntitiesFromExperienceRequest;
|
|
1111
|
+
(function (DisassociateEntitiesFromExperienceRequest) {
|
|
1112
|
+
DisassociateEntitiesFromExperienceRequest.filterSensitiveLog = (obj) => ({
|
|
1113
|
+
...obj,
|
|
1114
|
+
});
|
|
1115
|
+
})(DisassociateEntitiesFromExperienceRequest = exports.DisassociateEntitiesFromExperienceRequest || (exports.DisassociateEntitiesFromExperienceRequest = {}));
|
|
1116
|
+
var DisassociateEntitiesFromExperienceResponse;
|
|
1117
|
+
(function (DisassociateEntitiesFromExperienceResponse) {
|
|
1118
|
+
DisassociateEntitiesFromExperienceResponse.filterSensitiveLog = (obj) => ({
|
|
1119
|
+
...obj,
|
|
1120
|
+
});
|
|
1121
|
+
})(DisassociateEntitiesFromExperienceResponse = exports.DisassociateEntitiesFromExperienceResponse || (exports.DisassociateEntitiesFromExperienceResponse = {}));
|
|
1122
|
+
var DisassociatePersonasFromEntitiesRequest;
|
|
1123
|
+
(function (DisassociatePersonasFromEntitiesRequest) {
|
|
1124
|
+
DisassociatePersonasFromEntitiesRequest.filterSensitiveLog = (obj) => ({
|
|
1125
|
+
...obj,
|
|
1126
|
+
});
|
|
1127
|
+
})(DisassociatePersonasFromEntitiesRequest = exports.DisassociatePersonasFromEntitiesRequest || (exports.DisassociatePersonasFromEntitiesRequest = {}));
|
|
1128
|
+
var DisassociatePersonasFromEntitiesResponse;
|
|
1129
|
+
(function (DisassociatePersonasFromEntitiesResponse) {
|
|
1130
|
+
DisassociatePersonasFromEntitiesResponse.filterSensitiveLog = (obj) => ({
|
|
1131
|
+
...obj,
|
|
1132
|
+
});
|
|
1133
|
+
})(DisassociatePersonasFromEntitiesResponse = exports.DisassociatePersonasFromEntitiesResponse || (exports.DisassociatePersonasFromEntitiesResponse = {}));
|
|
990
1134
|
var GetQuerySuggestionsRequest;
|
|
991
1135
|
(function (GetQuerySuggestionsRequest) {
|
|
992
1136
|
GetQuerySuggestionsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1023,6 +1167,42 @@ var GetQuerySuggestionsResponse;
|
|
|
1023
1167
|
...obj,
|
|
1024
1168
|
});
|
|
1025
1169
|
})(GetQuerySuggestionsResponse = exports.GetQuerySuggestionsResponse || (exports.GetQuerySuggestionsResponse = {}));
|
|
1170
|
+
var Interval;
|
|
1171
|
+
(function (Interval) {
|
|
1172
|
+
Interval["ONE_MONTH_AGO"] = "ONE_MONTH_AGO";
|
|
1173
|
+
Interval["ONE_WEEK_AGO"] = "ONE_WEEK_AGO";
|
|
1174
|
+
Interval["THIS_MONTH"] = "THIS_MONTH";
|
|
1175
|
+
Interval["THIS_WEEK"] = "THIS_WEEK";
|
|
1176
|
+
Interval["TWO_MONTHS_AGO"] = "TWO_MONTHS_AGO";
|
|
1177
|
+
Interval["TWO_WEEKS_AGO"] = "TWO_WEEKS_AGO";
|
|
1178
|
+
})(Interval = exports.Interval || (exports.Interval = {}));
|
|
1179
|
+
var MetricType;
|
|
1180
|
+
(function (MetricType) {
|
|
1181
|
+
MetricType["AGG_QUERY_DOC_METRICS"] = "AGG_QUERY_DOC_METRICS";
|
|
1182
|
+
MetricType["DOCS_BY_CLICK_COUNT"] = "DOCS_BY_CLICK_COUNT";
|
|
1183
|
+
MetricType["QUERIES_BY_COUNT"] = "QUERIES_BY_COUNT";
|
|
1184
|
+
MetricType["QUERIES_BY_ZERO_CLICK_RATE"] = "QUERIES_BY_ZERO_CLICK_RATE";
|
|
1185
|
+
MetricType["QUERIES_BY_ZERO_RESULT_RATE"] = "QUERIES_BY_ZERO_RESULT_RATE";
|
|
1186
|
+
MetricType["TREND_QUERY_DOC_METRICS"] = "TREND_QUERY_DOC_METRICS";
|
|
1187
|
+
})(MetricType = exports.MetricType || (exports.MetricType = {}));
|
|
1188
|
+
var GetSnapshotsRequest;
|
|
1189
|
+
(function (GetSnapshotsRequest) {
|
|
1190
|
+
GetSnapshotsRequest.filterSensitiveLog = (obj) => ({
|
|
1191
|
+
...obj,
|
|
1192
|
+
});
|
|
1193
|
+
})(GetSnapshotsRequest = exports.GetSnapshotsRequest || (exports.GetSnapshotsRequest = {}));
|
|
1194
|
+
var TimeRange;
|
|
1195
|
+
(function (TimeRange) {
|
|
1196
|
+
TimeRange.filterSensitiveLog = (obj) => ({
|
|
1197
|
+
...obj,
|
|
1198
|
+
});
|
|
1199
|
+
})(TimeRange = exports.TimeRange || (exports.TimeRange = {}));
|
|
1200
|
+
var GetSnapshotsResponse;
|
|
1201
|
+
(function (GetSnapshotsResponse) {
|
|
1202
|
+
GetSnapshotsResponse.filterSensitiveLog = (obj) => ({
|
|
1203
|
+
...obj,
|
|
1204
|
+
});
|
|
1205
|
+
})(GetSnapshotsResponse = exports.GetSnapshotsResponse || (exports.GetSnapshotsResponse = {}));
|
|
1026
1206
|
var ListDataSourcesRequest;
|
|
1027
1207
|
(function (ListDataSourcesRequest) {
|
|
1028
1208
|
ListDataSourcesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1041,12 +1221,6 @@ var ListDataSourcesResponse;
|
|
|
1041
1221
|
...obj,
|
|
1042
1222
|
});
|
|
1043
1223
|
})(ListDataSourcesResponse = exports.ListDataSourcesResponse || (exports.ListDataSourcesResponse = {}));
|
|
1044
|
-
var TimeRange;
|
|
1045
|
-
(function (TimeRange) {
|
|
1046
|
-
TimeRange.filterSensitiveLog = (obj) => ({
|
|
1047
|
-
...obj,
|
|
1048
|
-
});
|
|
1049
|
-
})(TimeRange = exports.TimeRange || (exports.TimeRange = {}));
|
|
1050
1224
|
var DataSourceSyncJobStatus;
|
|
1051
1225
|
(function (DataSourceSyncJobStatus) {
|
|
1052
1226
|
DataSourceSyncJobStatus["ABORTED"] = "ABORTED";
|
|
@@ -1081,6 +1255,75 @@ var ListDataSourceSyncJobsResponse;
|
|
|
1081
1255
|
...obj,
|
|
1082
1256
|
});
|
|
1083
1257
|
})(ListDataSourceSyncJobsResponse = exports.ListDataSourceSyncJobsResponse || (exports.ListDataSourceSyncJobsResponse = {}));
|
|
1258
|
+
var ListEntityPersonasRequest;
|
|
1259
|
+
(function (ListEntityPersonasRequest) {
|
|
1260
|
+
ListEntityPersonasRequest.filterSensitiveLog = (obj) => ({
|
|
1261
|
+
...obj,
|
|
1262
|
+
});
|
|
1263
|
+
})(ListEntityPersonasRequest = exports.ListEntityPersonasRequest || (exports.ListEntityPersonasRequest = {}));
|
|
1264
|
+
var PersonasSummary;
|
|
1265
|
+
(function (PersonasSummary) {
|
|
1266
|
+
PersonasSummary.filterSensitiveLog = (obj) => ({
|
|
1267
|
+
...obj,
|
|
1268
|
+
});
|
|
1269
|
+
})(PersonasSummary = exports.PersonasSummary || (exports.PersonasSummary = {}));
|
|
1270
|
+
var ListEntityPersonasResponse;
|
|
1271
|
+
(function (ListEntityPersonasResponse) {
|
|
1272
|
+
ListEntityPersonasResponse.filterSensitiveLog = (obj) => ({
|
|
1273
|
+
...obj,
|
|
1274
|
+
});
|
|
1275
|
+
})(ListEntityPersonasResponse = exports.ListEntityPersonasResponse || (exports.ListEntityPersonasResponse = {}));
|
|
1276
|
+
var ListExperienceEntitiesRequest;
|
|
1277
|
+
(function (ListExperienceEntitiesRequest) {
|
|
1278
|
+
ListExperienceEntitiesRequest.filterSensitiveLog = (obj) => ({
|
|
1279
|
+
...obj,
|
|
1280
|
+
});
|
|
1281
|
+
})(ListExperienceEntitiesRequest = exports.ListExperienceEntitiesRequest || (exports.ListExperienceEntitiesRequest = {}));
|
|
1282
|
+
var EntityDisplayData;
|
|
1283
|
+
(function (EntityDisplayData) {
|
|
1284
|
+
EntityDisplayData.filterSensitiveLog = (obj) => ({
|
|
1285
|
+
...obj,
|
|
1286
|
+
...(obj.UserName && { UserName: smithy_client_1.SENSITIVE_STRING }),
|
|
1287
|
+
...(obj.GroupName && { GroupName: smithy_client_1.SENSITIVE_STRING }),
|
|
1288
|
+
...(obj.IdentifiedUserName && { IdentifiedUserName: smithy_client_1.SENSITIVE_STRING }),
|
|
1289
|
+
...(obj.FirstName && { FirstName: smithy_client_1.SENSITIVE_STRING }),
|
|
1290
|
+
...(obj.LastName && { LastName: smithy_client_1.SENSITIVE_STRING }),
|
|
1291
|
+
});
|
|
1292
|
+
})(EntityDisplayData = exports.EntityDisplayData || (exports.EntityDisplayData = {}));
|
|
1293
|
+
var ExperienceEntitiesSummary;
|
|
1294
|
+
(function (ExperienceEntitiesSummary) {
|
|
1295
|
+
ExperienceEntitiesSummary.filterSensitiveLog = (obj) => ({
|
|
1296
|
+
...obj,
|
|
1297
|
+
...(obj.DisplayData && { DisplayData: EntityDisplayData.filterSensitiveLog(obj.DisplayData) }),
|
|
1298
|
+
});
|
|
1299
|
+
})(ExperienceEntitiesSummary = exports.ExperienceEntitiesSummary || (exports.ExperienceEntitiesSummary = {}));
|
|
1300
|
+
var ListExperienceEntitiesResponse;
|
|
1301
|
+
(function (ListExperienceEntitiesResponse) {
|
|
1302
|
+
ListExperienceEntitiesResponse.filterSensitiveLog = (obj) => ({
|
|
1303
|
+
...obj,
|
|
1304
|
+
...(obj.SummaryItems && {
|
|
1305
|
+
SummaryItems: obj.SummaryItems.map((item) => ExperienceEntitiesSummary.filterSensitiveLog(item)),
|
|
1306
|
+
}),
|
|
1307
|
+
});
|
|
1308
|
+
})(ListExperienceEntitiesResponse = exports.ListExperienceEntitiesResponse || (exports.ListExperienceEntitiesResponse = {}));
|
|
1309
|
+
var ListExperiencesRequest;
|
|
1310
|
+
(function (ListExperiencesRequest) {
|
|
1311
|
+
ListExperiencesRequest.filterSensitiveLog = (obj) => ({
|
|
1312
|
+
...obj,
|
|
1313
|
+
});
|
|
1314
|
+
})(ListExperiencesRequest = exports.ListExperiencesRequest || (exports.ListExperiencesRequest = {}));
|
|
1315
|
+
var ExperiencesSummary;
|
|
1316
|
+
(function (ExperiencesSummary) {
|
|
1317
|
+
ExperiencesSummary.filterSensitiveLog = (obj) => ({
|
|
1318
|
+
...obj,
|
|
1319
|
+
});
|
|
1320
|
+
})(ExperiencesSummary = exports.ExperiencesSummary || (exports.ExperiencesSummary = {}));
|
|
1321
|
+
var ListExperiencesResponse;
|
|
1322
|
+
(function (ListExperiencesResponse) {
|
|
1323
|
+
ListExperiencesResponse.filterSensitiveLog = (obj) => ({
|
|
1324
|
+
...obj,
|
|
1325
|
+
});
|
|
1326
|
+
})(ListExperiencesResponse = exports.ListExperiencesResponse || (exports.ListExperiencesResponse = {}));
|
|
1084
1327
|
var ListFaqsRequest;
|
|
1085
1328
|
(function (ListFaqsRequest) {
|
|
1086
1329
|
ListFaqsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1165,12 +1408,6 @@ var ListTagsForResourceResponse;
|
|
|
1165
1408
|
...obj,
|
|
1166
1409
|
});
|
|
1167
1410
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
1168
|
-
var ResourceUnavailableException;
|
|
1169
|
-
(function (ResourceUnavailableException) {
|
|
1170
|
-
ResourceUnavailableException.filterSensitiveLog = (obj) => ({
|
|
1171
|
-
...obj,
|
|
1172
|
-
});
|
|
1173
|
-
})(ResourceUnavailableException = exports.ResourceUnavailableException || (exports.ResourceUnavailableException = {}));
|
|
1174
1411
|
var ListThesauriRequest;
|
|
1175
1412
|
(function (ListThesauriRequest) {
|
|
1176
1413
|
ListThesauriRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1292,12 +1529,6 @@ var QueryResult;
|
|
|
1292
1529
|
...obj,
|
|
1293
1530
|
});
|
|
1294
1531
|
})(QueryResult = exports.QueryResult || (exports.QueryResult = {}));
|
|
1295
|
-
var ResourceInUseException;
|
|
1296
|
-
(function (ResourceInUseException) {
|
|
1297
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
1298
|
-
...obj,
|
|
1299
|
-
});
|
|
1300
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
1301
1532
|
var StartDataSourceSyncJobRequest;
|
|
1302
1533
|
(function (StartDataSourceSyncJobRequest) {
|
|
1303
1534
|
StartDataSourceSyncJobRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1369,6 +1600,12 @@ var UpdateDataSourceRequest;
|
|
|
1369
1600
|
...obj,
|
|
1370
1601
|
});
|
|
1371
1602
|
})(UpdateDataSourceRequest = exports.UpdateDataSourceRequest || (exports.UpdateDataSourceRequest = {}));
|
|
1603
|
+
var UpdateExperienceRequest;
|
|
1604
|
+
(function (UpdateExperienceRequest) {
|
|
1605
|
+
UpdateExperienceRequest.filterSensitiveLog = (obj) => ({
|
|
1606
|
+
...obj,
|
|
1607
|
+
});
|
|
1608
|
+
})(UpdateExperienceRequest = exports.UpdateExperienceRequest || (exports.UpdateExperienceRequest = {}));
|
|
1372
1609
|
var UpdateIndexRequest;
|
|
1373
1610
|
(function (UpdateIndexRequest) {
|
|
1374
1611
|
UpdateIndexRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEntityPersonas = void 0;
|
|
4
|
+
const ListEntityPersonasCommand_1 = require("../commands/ListEntityPersonasCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListEntityPersonasCommand_1.ListEntityPersonasCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listEntityPersonas(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListEntityPersonas(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListEntityPersonas = paginateListEntityPersonas;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListExperienceEntities = void 0;
|
|
4
|
+
const ListExperienceEntitiesCommand_1 = require("../commands/ListExperienceEntitiesCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListExperienceEntitiesCommand_1.ListExperienceEntitiesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listExperienceEntities(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListExperienceEntities(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
20
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
23
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
27
|
+
}
|
|
28
|
+
yield page;
|
|
29
|
+
token = page.NextToken;
|
|
30
|
+
hasNext = !!token;
|
|
31
|
+
}
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
exports.paginateListExperienceEntities = paginateListExperienceEntities;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListExperiences = void 0;
|
|
4
|
+
const ListExperiencesCommand_1 = require("../commands/ListExperiencesCommand");
|
|
5
|
+
const Kendra_1 = require("../Kendra");
|
|
6
|
+
const KendraClient_1 = require("../KendraClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListExperiencesCommand_1.ListExperiencesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listExperiences(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListExperiences(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kendra_1.Kendra) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KendraClient_1.KendraClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListExperiences = paginateListExperiences;
|
|
@@ -4,4 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./ListDataSourceSyncJobsPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListDataSourcesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListEntityPersonasPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListExperienceEntitiesPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListExperiencesPaginator"), exports);
|
|
7
10
|
tslib_1.__exportStar(require("./ListIndicesPaginator"), exports);
|