@aws-sdk/client-kendra 3.43.0 → 3.44.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 +11 -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/models/models_0.js +342 -39
- 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-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/models/models_0.js +239 -24
- 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-types/Kendra.d.ts +164 -1
- package/dist-types/KendraClient.d.ts +14 -2
- 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 +1316 -180
- 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/ts3.4/Kendra.d.ts +60 -0
- package/dist-types/ts3.4/KendraClient.d.ts +14 -2
- 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 +603 -57
- 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/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListExperienceEntitiesRequest, ListExperienceEntitiesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListExperienceEntitiesCommand, serializeAws_json1_1ListExperienceEntitiesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListExperienceEntitiesCommand = (function (_super) {
|
|
7
|
+
__extends(ListExperienceEntitiesCommand, _super);
|
|
8
|
+
function ListExperienceEntitiesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListExperienceEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "ListExperienceEntitiesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListExperienceEntitiesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListExperienceEntitiesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListExperienceEntitiesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListExperienceEntitiesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListExperienceEntitiesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListExperienceEntitiesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListExperienceEntitiesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListExperienceEntitiesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListExperiencesRequest, ListExperiencesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListExperiencesCommand, serializeAws_json1_1ListExperiencesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListExperiencesCommand = (function (_super) {
|
|
7
|
+
__extends(ListExperiencesCommand, _super);
|
|
8
|
+
function ListExperiencesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListExperiencesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "ListExperiencesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListExperiencesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListExperiencesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListExperiencesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListExperiencesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListExperiencesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListExperiencesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListExperiencesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListExperiencesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateExperienceRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateExperienceCommand, serializeAws_json1_1UpdateExperienceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateExperienceCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateExperienceCommand, _super);
|
|
8
|
+
function UpdateExperienceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "UpdateExperienceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateExperienceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateExperienceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateExperienceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateExperienceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateExperienceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateExperienceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateExperienceCommand };
|
|
@@ -1,28 +1,39 @@
|
|
|
1
|
+
export * from "./AssociateEntitiesToExperienceCommand";
|
|
2
|
+
export * from "./AssociatePersonasToEntitiesCommand";
|
|
1
3
|
export * from "./BatchDeleteDocumentCommand";
|
|
2
4
|
export * from "./BatchGetDocumentStatusCommand";
|
|
3
5
|
export * from "./BatchPutDocumentCommand";
|
|
4
6
|
export * from "./ClearQuerySuggestionsCommand";
|
|
5
7
|
export * from "./CreateDataSourceCommand";
|
|
8
|
+
export * from "./CreateExperienceCommand";
|
|
6
9
|
export * from "./CreateFaqCommand";
|
|
7
10
|
export * from "./CreateIndexCommand";
|
|
8
11
|
export * from "./CreateQuerySuggestionsBlockListCommand";
|
|
9
12
|
export * from "./CreateThesaurusCommand";
|
|
10
13
|
export * from "./DeleteDataSourceCommand";
|
|
14
|
+
export * from "./DeleteExperienceCommand";
|
|
11
15
|
export * from "./DeleteFaqCommand";
|
|
12
16
|
export * from "./DeleteIndexCommand";
|
|
13
17
|
export * from "./DeletePrincipalMappingCommand";
|
|
14
18
|
export * from "./DeleteQuerySuggestionsBlockListCommand";
|
|
15
19
|
export * from "./DeleteThesaurusCommand";
|
|
16
20
|
export * from "./DescribeDataSourceCommand";
|
|
21
|
+
export * from "./DescribeExperienceCommand";
|
|
17
22
|
export * from "./DescribeFaqCommand";
|
|
18
23
|
export * from "./DescribeIndexCommand";
|
|
19
24
|
export * from "./DescribePrincipalMappingCommand";
|
|
20
25
|
export * from "./DescribeQuerySuggestionsBlockListCommand";
|
|
21
26
|
export * from "./DescribeQuerySuggestionsConfigCommand";
|
|
22
27
|
export * from "./DescribeThesaurusCommand";
|
|
28
|
+
export * from "./DisassociateEntitiesFromExperienceCommand";
|
|
29
|
+
export * from "./DisassociatePersonasFromEntitiesCommand";
|
|
23
30
|
export * from "./GetQuerySuggestionsCommand";
|
|
31
|
+
export * from "./GetSnapshotsCommand";
|
|
24
32
|
export * from "./ListDataSourceSyncJobsCommand";
|
|
25
33
|
export * from "./ListDataSourcesCommand";
|
|
34
|
+
export * from "./ListEntityPersonasCommand";
|
|
35
|
+
export * from "./ListExperienceEntitiesCommand";
|
|
36
|
+
export * from "./ListExperiencesCommand";
|
|
26
37
|
export * from "./ListFaqsCommand";
|
|
27
38
|
export * from "./ListGroupsOlderThanOrderingIdCommand";
|
|
28
39
|
export * from "./ListIndicesCommand";
|
|
@@ -37,6 +48,7 @@ export * from "./SubmitFeedbackCommand";
|
|
|
37
48
|
export * from "./TagResourceCommand";
|
|
38
49
|
export * from "./UntagResourceCommand";
|
|
39
50
|
export * from "./UpdateDataSourceCommand";
|
|
51
|
+
export * from "./UpdateExperienceCommand";
|
|
40
52
|
export * from "./UpdateIndexCommand";
|
|
41
53
|
export * from "./UpdateQuerySuggestionsBlockListCommand";
|
|
42
54
|
export * from "./UpdateQuerySuggestionsConfigCommand";
|
|
@@ -37,6 +37,64 @@ export var AdditionalResultAttribute;
|
|
|
37
37
|
(function (AdditionalResultAttribute) {
|
|
38
38
|
AdditionalResultAttribute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
39
|
})(AdditionalResultAttribute || (AdditionalResultAttribute = {}));
|
|
40
|
+
export var EntityType;
|
|
41
|
+
(function (EntityType) {
|
|
42
|
+
EntityType["GROUP"] = "GROUP";
|
|
43
|
+
EntityType["USER"] = "USER";
|
|
44
|
+
})(EntityType || (EntityType = {}));
|
|
45
|
+
export var EntityConfiguration;
|
|
46
|
+
(function (EntityConfiguration) {
|
|
47
|
+
EntityConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
48
|
+
})(EntityConfiguration || (EntityConfiguration = {}));
|
|
49
|
+
export var AssociateEntitiesToExperienceRequest;
|
|
50
|
+
(function (AssociateEntitiesToExperienceRequest) {
|
|
51
|
+
AssociateEntitiesToExperienceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
|
+
})(AssociateEntitiesToExperienceRequest || (AssociateEntitiesToExperienceRequest = {}));
|
|
53
|
+
export var FailedEntity;
|
|
54
|
+
(function (FailedEntity) {
|
|
55
|
+
FailedEntity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
|
+
})(FailedEntity || (FailedEntity = {}));
|
|
57
|
+
export var AssociateEntitiesToExperienceResponse;
|
|
58
|
+
(function (AssociateEntitiesToExperienceResponse) {
|
|
59
|
+
AssociateEntitiesToExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
60
|
+
})(AssociateEntitiesToExperienceResponse || (AssociateEntitiesToExperienceResponse = {}));
|
|
61
|
+
export var InternalServerException;
|
|
62
|
+
(function (InternalServerException) {
|
|
63
|
+
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
|
+
})(InternalServerException || (InternalServerException = {}));
|
|
65
|
+
export var ResourceAlreadyExistException;
|
|
66
|
+
(function (ResourceAlreadyExistException) {
|
|
67
|
+
ResourceAlreadyExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
68
|
+
})(ResourceAlreadyExistException || (ResourceAlreadyExistException = {}));
|
|
69
|
+
export var ResourceNotFoundException;
|
|
70
|
+
(function (ResourceNotFoundException) {
|
|
71
|
+
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
72
|
+
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
73
|
+
export var ThrottlingException;
|
|
74
|
+
(function (ThrottlingException) {
|
|
75
|
+
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
76
|
+
})(ThrottlingException || (ThrottlingException = {}));
|
|
77
|
+
export var ValidationException;
|
|
78
|
+
(function (ValidationException) {
|
|
79
|
+
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
|
+
})(ValidationException || (ValidationException = {}));
|
|
81
|
+
export var Persona;
|
|
82
|
+
(function (Persona) {
|
|
83
|
+
Persona["OWNER"] = "OWNER";
|
|
84
|
+
Persona["VIEWER"] = "VIEWER";
|
|
85
|
+
})(Persona || (Persona = {}));
|
|
86
|
+
export var EntityPersonaConfiguration;
|
|
87
|
+
(function (EntityPersonaConfiguration) {
|
|
88
|
+
EntityPersonaConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
})(EntityPersonaConfiguration || (EntityPersonaConfiguration = {}));
|
|
90
|
+
export var AssociatePersonasToEntitiesRequest;
|
|
91
|
+
(function (AssociatePersonasToEntitiesRequest) {
|
|
92
|
+
AssociatePersonasToEntitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
})(AssociatePersonasToEntitiesRequest || (AssociatePersonasToEntitiesRequest = {}));
|
|
94
|
+
export var AssociatePersonasToEntitiesResponse;
|
|
95
|
+
(function (AssociatePersonasToEntitiesResponse) {
|
|
96
|
+
AssociatePersonasToEntitiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
})(AssociatePersonasToEntitiesResponse || (AssociatePersonasToEntitiesResponse = {}));
|
|
40
98
|
export var DocumentAttributeValue;
|
|
41
99
|
(function (DocumentAttributeValue) {
|
|
42
100
|
DocumentAttributeValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -78,22 +136,6 @@ export var ConflictException;
|
|
|
78
136
|
(function (ConflictException) {
|
|
79
137
|
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
138
|
})(ConflictException || (ConflictException = {}));
|
|
81
|
-
export var InternalServerException;
|
|
82
|
-
(function (InternalServerException) {
|
|
83
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
85
|
-
export var ResourceNotFoundException;
|
|
86
|
-
(function (ResourceNotFoundException) {
|
|
87
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
89
|
-
export var ThrottlingException;
|
|
90
|
-
(function (ThrottlingException) {
|
|
91
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
93
|
-
export var ValidationException;
|
|
94
|
-
(function (ValidationException) {
|
|
95
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
-
})(ValidationException || (ValidationException = {}));
|
|
97
139
|
export var DocumentInfo;
|
|
98
140
|
(function (DocumentInfo) {
|
|
99
141
|
DocumentInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -123,6 +165,40 @@ export var BatchGetDocumentStatusResponse;
|
|
|
123
165
|
(function (BatchGetDocumentStatusResponse) {
|
|
124
166
|
BatchGetDocumentStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
167
|
})(BatchGetDocumentStatusResponse || (BatchGetDocumentStatusResponse = {}));
|
|
168
|
+
export var ConditionOperator;
|
|
169
|
+
(function (ConditionOperator) {
|
|
170
|
+
ConditionOperator["BeginsWith"] = "BeginsWith";
|
|
171
|
+
ConditionOperator["Contains"] = "Contains";
|
|
172
|
+
ConditionOperator["Equals"] = "Equals";
|
|
173
|
+
ConditionOperator["Exists"] = "Exists";
|
|
174
|
+
ConditionOperator["GreaterThan"] = "GreaterThan";
|
|
175
|
+
ConditionOperator["GreaterThanOrEquals"] = "GreaterThanOrEquals";
|
|
176
|
+
ConditionOperator["LessThan"] = "LessThan";
|
|
177
|
+
ConditionOperator["LessThanOrEquals"] = "LessThanOrEquals";
|
|
178
|
+
ConditionOperator["NotContains"] = "NotContains";
|
|
179
|
+
ConditionOperator["NotEquals"] = "NotEquals";
|
|
180
|
+
ConditionOperator["NotExists"] = "NotExists";
|
|
181
|
+
})(ConditionOperator || (ConditionOperator = {}));
|
|
182
|
+
export var DocumentAttributeCondition;
|
|
183
|
+
(function (DocumentAttributeCondition) {
|
|
184
|
+
DocumentAttributeCondition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
})(DocumentAttributeCondition || (DocumentAttributeCondition = {}));
|
|
186
|
+
export var DocumentAttributeTarget;
|
|
187
|
+
(function (DocumentAttributeTarget) {
|
|
188
|
+
DocumentAttributeTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
})(DocumentAttributeTarget || (DocumentAttributeTarget = {}));
|
|
190
|
+
export var InlineCustomDocumentEnrichmentConfiguration;
|
|
191
|
+
(function (InlineCustomDocumentEnrichmentConfiguration) {
|
|
192
|
+
InlineCustomDocumentEnrichmentConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
})(InlineCustomDocumentEnrichmentConfiguration || (InlineCustomDocumentEnrichmentConfiguration = {}));
|
|
194
|
+
export var HookConfiguration;
|
|
195
|
+
(function (HookConfiguration) {
|
|
196
|
+
HookConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
})(HookConfiguration || (HookConfiguration = {}));
|
|
198
|
+
export var CustomDocumentEnrichmentConfiguration;
|
|
199
|
+
(function (CustomDocumentEnrichmentConfiguration) {
|
|
200
|
+
CustomDocumentEnrichmentConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
+
})(CustomDocumentEnrichmentConfiguration || (CustomDocumentEnrichmentConfiguration = {}));
|
|
126
202
|
export var ReadAccessType;
|
|
127
203
|
(function (ReadAccessType) {
|
|
128
204
|
ReadAccessType["ALLOW"] = "ALLOW";
|
|
@@ -473,10 +549,26 @@ export var CreateDataSourceResponse;
|
|
|
473
549
|
(function (CreateDataSourceResponse) {
|
|
474
550
|
CreateDataSourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
475
551
|
})(CreateDataSourceResponse || (CreateDataSourceResponse = {}));
|
|
476
|
-
export var
|
|
477
|
-
(function (
|
|
478
|
-
|
|
479
|
-
})(
|
|
552
|
+
export var ContentSourceConfiguration;
|
|
553
|
+
(function (ContentSourceConfiguration) {
|
|
554
|
+
ContentSourceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
555
|
+
})(ContentSourceConfiguration || (ContentSourceConfiguration = {}));
|
|
556
|
+
export var UserIdentityConfiguration;
|
|
557
|
+
(function (UserIdentityConfiguration) {
|
|
558
|
+
UserIdentityConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
559
|
+
})(UserIdentityConfiguration || (UserIdentityConfiguration = {}));
|
|
560
|
+
export var ExperienceConfiguration;
|
|
561
|
+
(function (ExperienceConfiguration) {
|
|
562
|
+
ExperienceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
563
|
+
})(ExperienceConfiguration || (ExperienceConfiguration = {}));
|
|
564
|
+
export var CreateExperienceRequest;
|
|
565
|
+
(function (CreateExperienceRequest) {
|
|
566
|
+
CreateExperienceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
567
|
+
})(CreateExperienceRequest || (CreateExperienceRequest = {}));
|
|
568
|
+
export var CreateExperienceResponse;
|
|
569
|
+
(function (CreateExperienceResponse) {
|
|
570
|
+
CreateExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
571
|
+
})(CreateExperienceResponse || (CreateExperienceResponse = {}));
|
|
480
572
|
export var FaqFileFormat;
|
|
481
573
|
(function (FaqFileFormat) {
|
|
482
574
|
FaqFileFormat["CSV"] = "CSV";
|
|
@@ -561,6 +653,14 @@ export var DeleteDataSourceRequest;
|
|
|
561
653
|
(function (DeleteDataSourceRequest) {
|
|
562
654
|
DeleteDataSourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
563
655
|
})(DeleteDataSourceRequest || (DeleteDataSourceRequest = {}));
|
|
656
|
+
export var DeleteExperienceRequest;
|
|
657
|
+
(function (DeleteExperienceRequest) {
|
|
658
|
+
DeleteExperienceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
659
|
+
})(DeleteExperienceRequest || (DeleteExperienceRequest = {}));
|
|
660
|
+
export var DeleteExperienceResponse;
|
|
661
|
+
(function (DeleteExperienceResponse) {
|
|
662
|
+
DeleteExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
663
|
+
})(DeleteExperienceResponse || (DeleteExperienceResponse = {}));
|
|
564
664
|
export var DeleteFaqRequest;
|
|
565
665
|
(function (DeleteFaqRequest) {
|
|
566
666
|
DeleteFaqRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -597,6 +697,29 @@ export var DescribeDataSourceResponse;
|
|
|
597
697
|
(function (DescribeDataSourceResponse) {
|
|
598
698
|
DescribeDataSourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
599
699
|
})(DescribeDataSourceResponse || (DescribeDataSourceResponse = {}));
|
|
700
|
+
export var DescribeExperienceRequest;
|
|
701
|
+
(function (DescribeExperienceRequest) {
|
|
702
|
+
DescribeExperienceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
703
|
+
})(DescribeExperienceRequest || (DescribeExperienceRequest = {}));
|
|
704
|
+
export var EndpointType;
|
|
705
|
+
(function (EndpointType) {
|
|
706
|
+
EndpointType["HOME"] = "HOME";
|
|
707
|
+
})(EndpointType || (EndpointType = {}));
|
|
708
|
+
export var ExperienceEndpoint;
|
|
709
|
+
(function (ExperienceEndpoint) {
|
|
710
|
+
ExperienceEndpoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
711
|
+
})(ExperienceEndpoint || (ExperienceEndpoint = {}));
|
|
712
|
+
export var ExperienceStatus;
|
|
713
|
+
(function (ExperienceStatus) {
|
|
714
|
+
ExperienceStatus["ACTIVE"] = "ACTIVE";
|
|
715
|
+
ExperienceStatus["CREATING"] = "CREATING";
|
|
716
|
+
ExperienceStatus["DELETING"] = "DELETING";
|
|
717
|
+
ExperienceStatus["FAILED"] = "FAILED";
|
|
718
|
+
})(ExperienceStatus || (ExperienceStatus = {}));
|
|
719
|
+
export var DescribeExperienceResponse;
|
|
720
|
+
(function (DescribeExperienceResponse) {
|
|
721
|
+
DescribeExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
722
|
+
})(DescribeExperienceResponse || (DescribeExperienceResponse = {}));
|
|
600
723
|
export var DescribeFaqRequest;
|
|
601
724
|
(function (DescribeFaqRequest) {
|
|
602
725
|
DescribeFaqRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -744,6 +867,22 @@ export var DescribeThesaurusResponse;
|
|
|
744
867
|
(function (DescribeThesaurusResponse) {
|
|
745
868
|
DescribeThesaurusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
746
869
|
})(DescribeThesaurusResponse || (DescribeThesaurusResponse = {}));
|
|
870
|
+
export var DisassociateEntitiesFromExperienceRequest;
|
|
871
|
+
(function (DisassociateEntitiesFromExperienceRequest) {
|
|
872
|
+
DisassociateEntitiesFromExperienceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
873
|
+
})(DisassociateEntitiesFromExperienceRequest || (DisassociateEntitiesFromExperienceRequest = {}));
|
|
874
|
+
export var DisassociateEntitiesFromExperienceResponse;
|
|
875
|
+
(function (DisassociateEntitiesFromExperienceResponse) {
|
|
876
|
+
DisassociateEntitiesFromExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
877
|
+
})(DisassociateEntitiesFromExperienceResponse || (DisassociateEntitiesFromExperienceResponse = {}));
|
|
878
|
+
export var DisassociatePersonasFromEntitiesRequest;
|
|
879
|
+
(function (DisassociatePersonasFromEntitiesRequest) {
|
|
880
|
+
DisassociatePersonasFromEntitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
881
|
+
})(DisassociatePersonasFromEntitiesRequest || (DisassociatePersonasFromEntitiesRequest = {}));
|
|
882
|
+
export var DisassociatePersonasFromEntitiesResponse;
|
|
883
|
+
(function (DisassociatePersonasFromEntitiesResponse) {
|
|
884
|
+
DisassociatePersonasFromEntitiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
885
|
+
})(DisassociatePersonasFromEntitiesResponse || (DisassociatePersonasFromEntitiesResponse = {}));
|
|
747
886
|
export var GetQuerySuggestionsRequest;
|
|
748
887
|
(function (GetQuerySuggestionsRequest) {
|
|
749
888
|
GetQuerySuggestionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -768,6 +907,40 @@ export var GetQuerySuggestionsResponse;
|
|
|
768
907
|
(function (GetQuerySuggestionsResponse) {
|
|
769
908
|
GetQuerySuggestionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
770
909
|
})(GetQuerySuggestionsResponse || (GetQuerySuggestionsResponse = {}));
|
|
910
|
+
export var Interval;
|
|
911
|
+
(function (Interval) {
|
|
912
|
+
Interval["ONE_MONTH_AGO"] = "ONE_MONTH_AGO";
|
|
913
|
+
Interval["ONE_WEEK_AGO"] = "ONE_WEEK_AGO";
|
|
914
|
+
Interval["THIS_MONTH"] = "THIS_MONTH";
|
|
915
|
+
Interval["THIS_WEEK"] = "THIS_WEEK";
|
|
916
|
+
Interval["TWO_MONTHS_AGO"] = "TWO_MONTHS_AGO";
|
|
917
|
+
Interval["TWO_WEEKS_AGO"] = "TWO_WEEKS_AGO";
|
|
918
|
+
})(Interval || (Interval = {}));
|
|
919
|
+
export var MetricType;
|
|
920
|
+
(function (MetricType) {
|
|
921
|
+
MetricType["AGG_QUERY_DOC_METRICS"] = "AGG_QUERY_DOC_METRICS";
|
|
922
|
+
MetricType["DOCS_BY_CLICK_COUNT"] = "DOCS_BY_CLICK_COUNT";
|
|
923
|
+
MetricType["QUERIES_BY_COUNT"] = "QUERIES_BY_COUNT";
|
|
924
|
+
MetricType["QUERIES_BY_ZERO_CLICK_RATE"] = "QUERIES_BY_ZERO_CLICK_RATE";
|
|
925
|
+
MetricType["QUERIES_BY_ZERO_RESULT_RATE"] = "QUERIES_BY_ZERO_RESULT_RATE";
|
|
926
|
+
MetricType["TREND_QUERY_DOC_METRICS"] = "TREND_QUERY_DOC_METRICS";
|
|
927
|
+
})(MetricType || (MetricType = {}));
|
|
928
|
+
export var GetSnapshotsRequest;
|
|
929
|
+
(function (GetSnapshotsRequest) {
|
|
930
|
+
GetSnapshotsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
931
|
+
})(GetSnapshotsRequest || (GetSnapshotsRequest = {}));
|
|
932
|
+
export var TimeRange;
|
|
933
|
+
(function (TimeRange) {
|
|
934
|
+
TimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
935
|
+
})(TimeRange || (TimeRange = {}));
|
|
936
|
+
export var GetSnapshotsResponse;
|
|
937
|
+
(function (GetSnapshotsResponse) {
|
|
938
|
+
GetSnapshotsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
939
|
+
})(GetSnapshotsResponse || (GetSnapshotsResponse = {}));
|
|
940
|
+
export var InvalidRequestException;
|
|
941
|
+
(function (InvalidRequestException) {
|
|
942
|
+
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
943
|
+
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
771
944
|
export var ListDataSourcesRequest;
|
|
772
945
|
(function (ListDataSourcesRequest) {
|
|
773
946
|
ListDataSourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -780,10 +953,6 @@ export var ListDataSourcesResponse;
|
|
|
780
953
|
(function (ListDataSourcesResponse) {
|
|
781
954
|
ListDataSourcesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
782
955
|
})(ListDataSourcesResponse || (ListDataSourcesResponse = {}));
|
|
783
|
-
export var TimeRange;
|
|
784
|
-
(function (TimeRange) {
|
|
785
|
-
TimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
786
|
-
})(TimeRange || (TimeRange = {}));
|
|
787
956
|
export var DataSourceSyncJobStatus;
|
|
788
957
|
(function (DataSourceSyncJobStatus) {
|
|
789
958
|
DataSourceSyncJobStatus["ABORTED"] = "ABORTED";
|
|
@@ -810,6 +979,48 @@ export var ListDataSourceSyncJobsResponse;
|
|
|
810
979
|
(function (ListDataSourceSyncJobsResponse) {
|
|
811
980
|
ListDataSourceSyncJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
812
981
|
})(ListDataSourceSyncJobsResponse || (ListDataSourceSyncJobsResponse = {}));
|
|
982
|
+
export var ListEntityPersonasRequest;
|
|
983
|
+
(function (ListEntityPersonasRequest) {
|
|
984
|
+
ListEntityPersonasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
985
|
+
})(ListEntityPersonasRequest || (ListEntityPersonasRequest = {}));
|
|
986
|
+
export var PersonasSummary;
|
|
987
|
+
(function (PersonasSummary) {
|
|
988
|
+
PersonasSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
989
|
+
})(PersonasSummary || (PersonasSummary = {}));
|
|
990
|
+
export var ListEntityPersonasResponse;
|
|
991
|
+
(function (ListEntityPersonasResponse) {
|
|
992
|
+
ListEntityPersonasResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
993
|
+
})(ListEntityPersonasResponse || (ListEntityPersonasResponse = {}));
|
|
994
|
+
export var ListExperienceEntitiesRequest;
|
|
995
|
+
(function (ListExperienceEntitiesRequest) {
|
|
996
|
+
ListExperienceEntitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
997
|
+
})(ListExperienceEntitiesRequest || (ListExperienceEntitiesRequest = {}));
|
|
998
|
+
export var EntityDisplayData;
|
|
999
|
+
(function (EntityDisplayData) {
|
|
1000
|
+
EntityDisplayData.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.UserName && { UserName: SENSITIVE_STRING })), (obj.GroupName && { GroupName: SENSITIVE_STRING })), (obj.IdentifiedUserName && { IdentifiedUserName: SENSITIVE_STRING })), (obj.FirstName && { FirstName: SENSITIVE_STRING })), (obj.LastName && { LastName: SENSITIVE_STRING }))); };
|
|
1001
|
+
})(EntityDisplayData || (EntityDisplayData = {}));
|
|
1002
|
+
export var ExperienceEntitiesSummary;
|
|
1003
|
+
(function (ExperienceEntitiesSummary) {
|
|
1004
|
+
ExperienceEntitiesSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DisplayData && { DisplayData: EntityDisplayData.filterSensitiveLog(obj.DisplayData) }))); };
|
|
1005
|
+
})(ExperienceEntitiesSummary || (ExperienceEntitiesSummary = {}));
|
|
1006
|
+
export var ListExperienceEntitiesResponse;
|
|
1007
|
+
(function (ListExperienceEntitiesResponse) {
|
|
1008
|
+
ListExperienceEntitiesResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SummaryItems && {
|
|
1009
|
+
SummaryItems: obj.SummaryItems.map(function (item) { return ExperienceEntitiesSummary.filterSensitiveLog(item); }),
|
|
1010
|
+
}))); };
|
|
1011
|
+
})(ListExperienceEntitiesResponse || (ListExperienceEntitiesResponse = {}));
|
|
1012
|
+
export var ListExperiencesRequest;
|
|
1013
|
+
(function (ListExperiencesRequest) {
|
|
1014
|
+
ListExperiencesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1015
|
+
})(ListExperiencesRequest || (ListExperiencesRequest = {}));
|
|
1016
|
+
export var ExperiencesSummary;
|
|
1017
|
+
(function (ExperiencesSummary) {
|
|
1018
|
+
ExperiencesSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1019
|
+
})(ExperiencesSummary || (ExperiencesSummary = {}));
|
|
1020
|
+
export var ListExperiencesResponse;
|
|
1021
|
+
(function (ListExperiencesResponse) {
|
|
1022
|
+
ListExperiencesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1023
|
+
})(ListExperiencesResponse || (ListExperiencesResponse = {}));
|
|
813
1024
|
export var ListFaqsRequest;
|
|
814
1025
|
(function (ListFaqsRequest) {
|
|
815
1026
|
ListFaqsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1010,6 +1221,10 @@ export var UpdateDataSourceRequest;
|
|
|
1010
1221
|
(function (UpdateDataSourceRequest) {
|
|
1011
1222
|
UpdateDataSourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1012
1223
|
})(UpdateDataSourceRequest || (UpdateDataSourceRequest = {}));
|
|
1224
|
+
export var UpdateExperienceRequest;
|
|
1225
|
+
(function (UpdateExperienceRequest) {
|
|
1226
|
+
UpdateExperienceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1227
|
+
})(UpdateExperienceRequest || (UpdateExperienceRequest = {}));
|
|
1013
1228
|
export var UpdateIndexRequest;
|
|
1014
1229
|
(function (UpdateIndexRequest) {
|
|
1015
1230
|
UpdateIndexRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListEntityPersonasCommand, } from "../commands/ListEntityPersonasCommand";
|
|
3
|
+
import { Kendra } from "../Kendra";
|
|
4
|
+
import { KendraClient } from "../KendraClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityPersonasCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listEntityPersonas.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListEntityPersonas(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListEntityPersonas_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListExperienceEntitiesCommand, } from "../commands/ListExperienceEntitiesCommand";
|
|
3
|
+
import { Kendra } from "../Kendra";
|
|
4
|
+
import { KendraClient } from "../KendraClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListExperienceEntitiesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listExperienceEntities.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListExperienceEntities(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListExperienceEntities_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
case 2:
|
|
52
|
+
page = _a.sent();
|
|
53
|
+
return [3, 6];
|
|
54
|
+
case 3:
|
|
55
|
+
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
case 4:
|
|
58
|
+
page = _a.sent();
|
|
59
|
+
return [3, 6];
|
|
60
|
+
case 5: throw new Error("Invalid client, expected Kendra | KendraClient");
|
|
61
|
+
case 6: return [4, __await(page)];
|
|
62
|
+
case 7: return [4, _a.sent()];
|
|
63
|
+
case 8:
|
|
64
|
+
_a.sent();
|
|
65
|
+
token = page.NextToken;
|
|
66
|
+
hasNext = !!token;
|
|
67
|
+
return [3, 1];
|
|
68
|
+
case 9: return [4, __await(undefined)];
|
|
69
|
+
case 10: return [2, _a.sent()];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}
|