@aws-sdk/client-kendra 3.183.0 → 3.185.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/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Kendra.js +249 -242
- package/dist-es/KendraClient.js +28 -22
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +28 -21
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +28 -21
- package/dist-es/commands/BatchDeleteDocumentCommand.js +28 -21
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +28 -21
- package/dist-es/commands/BatchPutDocumentCommand.js +28 -21
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +29 -22
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateDataSourceCommand.js +28 -21
- package/dist-es/commands/CreateExperienceCommand.js +28 -21
- package/dist-es/commands/CreateFaqCommand.js +28 -21
- package/dist-es/commands/CreateIndexCommand.js +28 -21
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +28 -21
- package/dist-es/commands/CreateThesaurusCommand.js +28 -21
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteDataSourceCommand.js +29 -22
- package/dist-es/commands/DeleteExperienceCommand.js +28 -21
- package/dist-es/commands/DeleteFaqCommand.js +29 -22
- package/dist-es/commands/DeleteIndexCommand.js +29 -22
- package/dist-es/commands/DeletePrincipalMappingCommand.js +29 -22
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +29 -22
- package/dist-es/commands/DeleteThesaurusCommand.js +29 -22
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeDataSourceCommand.js +28 -21
- package/dist-es/commands/DescribeExperienceCommand.js +28 -21
- package/dist-es/commands/DescribeFaqCommand.js +28 -21
- package/dist-es/commands/DescribeIndexCommand.js +28 -21
- package/dist-es/commands/DescribePrincipalMappingCommand.js +28 -21
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +28 -21
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +28 -21
- package/dist-es/commands/DescribeThesaurusCommand.js +28 -21
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +28 -21
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +28 -21
- package/dist-es/commands/GetQuerySuggestionsCommand.js +28 -21
- package/dist-es/commands/GetSnapshotsCommand.js +28 -21
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +28 -21
- package/dist-es/commands/ListDataSourcesCommand.js +28 -21
- package/dist-es/commands/ListEntityPersonasCommand.js +28 -21
- package/dist-es/commands/ListExperienceEntitiesCommand.js +28 -21
- package/dist-es/commands/ListExperiencesCommand.js +28 -21
- package/dist-es/commands/ListFaqsCommand.js +28 -21
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +28 -21
- package/dist-es/commands/ListIndicesCommand.js +28 -21
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListThesauriCommand.js +28 -21
- package/dist-es/commands/PutPrincipalMappingCommand.js +29 -22
- package/dist-es/commands/QueryCommand.js +28 -21
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +28 -21
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +29 -22
- package/dist-es/commands/SubmitFeedbackCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateDataSourceCommand.js +29 -22
- package/dist-es/commands/UpdateExperienceCommand.js +29 -22
- package/dist-es/commands/UpdateIndexCommand.js +29 -22
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +29 -22
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +29 -22
- package/dist-es/commands/UpdateThesaurusCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KendraServiceException.js +10 -5
- package/dist-es/models/models_0.js +371 -844
- package/dist-es/models/models_1.js +5 -12
- package/dist-es/pagination/GetSnapshotsPaginator.js +68 -25
- package/dist-es/pagination/ListAccessControlConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +68 -25
- package/dist-es/pagination/ListDataSourcesPaginator.js +68 -25
- package/dist-es/pagination/ListEntityPersonasPaginator.js +68 -25
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +67 -24
- package/dist-es/pagination/ListExperiencesPaginator.js +68 -25
- package/dist-es/pagination/ListFaqsPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +68 -25
- package/dist-es/pagination/ListIndicesPaginator.js +68 -25
- package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +68 -25
- package/dist-es/pagination/ListThesauriPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +6541 -5784
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeThesaurusRequestFilterSensitiveLog, DescribeThesaurusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeThesaurusCommand, serializeAws_json1_1DescribeThesaurusCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeThesaurusCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeThesaurusCommand, _super);
|
|
8
|
+
function DescribeThesaurusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeThesaurusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "DescribeThesaurusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeThesaurusRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeThesaurusResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeThesaurusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeThesaurusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeThesaurusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeThesaurusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeThesaurusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeThesaurusCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisassociateEntitiesFromExperienceRequestFilterSensitiveLog, DisassociateEntitiesFromExperienceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand, serializeAws_json1_1DisassociateEntitiesFromExperienceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociateEntitiesFromExperienceCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateEntitiesFromExperienceCommand, _super);
|
|
8
|
+
function DisassociateEntitiesFromExperienceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociateEntitiesFromExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "DisassociateEntitiesFromExperienceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociateEntitiesFromExperienceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisassociateEntitiesFromExperienceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateEntitiesFromExperienceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociateEntitiesFromExperienceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociateEntitiesFromExperienceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociateEntitiesFromExperienceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateEntitiesFromExperienceCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisassociatePersonasFromEntitiesRequestFilterSensitiveLog, DisassociatePersonasFromEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand, serializeAws_json1_1DisassociatePersonasFromEntitiesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociatePersonasFromEntitiesCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociatePersonasFromEntitiesCommand, _super);
|
|
8
|
+
function DisassociatePersonasFromEntitiesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociatePersonasFromEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "DisassociatePersonasFromEntitiesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociatePersonasFromEntitiesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisassociatePersonasFromEntitiesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociatePersonasFromEntitiesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociatePersonasFromEntitiesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociatePersonasFromEntitiesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociatePersonasFromEntitiesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociatePersonasFromEntitiesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetQuerySuggestionsRequestFilterSensitiveLog, GetQuerySuggestionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetQuerySuggestionsCommand, serializeAws_json1_1GetQuerySuggestionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetQuerySuggestionsCommand = (function (_super) {
|
|
7
|
+
__extends(GetQuerySuggestionsCommand, _super);
|
|
8
|
+
function GetQuerySuggestionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetQuerySuggestionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "GetQuerySuggestionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetQuerySuggestionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetQuerySuggestionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetQuerySuggestionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetQuerySuggestionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetQuerySuggestionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetQuerySuggestionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetQuerySuggestionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetQuerySuggestionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetSnapshotsRequestFilterSensitiveLog, GetSnapshotsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetSnapshotsCommand, serializeAws_json1_1GetSnapshotsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSnapshotsCommand = (function (_super) {
|
|
7
|
+
__extends(GetSnapshotsCommand, _super);
|
|
8
|
+
function GetSnapshotsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "GetSnapshotsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSnapshotsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSnapshotsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetSnapshotsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetSnapshotsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSnapshotsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetSnapshotsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSnapshotsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSnapshotsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListAccessControlConfigurationsRequestFilterSensitiveLog, ListAccessControlConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListAccessControlConfigurationsCommand, serializeAws_json1_1ListAccessControlConfigurationsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListAccessControlConfigurationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListAccessControlConfigurationsCommand, _super);
|
|
8
|
+
function ListAccessControlConfigurationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListAccessControlConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "ListAccessControlConfigurationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListAccessControlConfigurationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListAccessControlConfigurationsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListAccessControlConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListAccessControlConfigurationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListAccessControlConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListAccessControlConfigurationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListAccessControlConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAccessControlConfigurationsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListDataSourceSyncJobsRequestFilterSensitiveLog, ListDataSourceSyncJobsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListDataSourceSyncJobsCommand, serializeAws_json1_1ListDataSourceSyncJobsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListDataSourceSyncJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListDataSourceSyncJobsCommand, _super);
|
|
8
|
+
function ListDataSourceSyncJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListDataSourceSyncJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "ListDataSourceSyncJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListDataSourceSyncJobsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListDataSourceSyncJobsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListDataSourceSyncJobsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListDataSourceSyncJobsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListDataSourceSyncJobsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListDataSourceSyncJobsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListDataSourceSyncJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListDataSourceSyncJobsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListDataSourcesRequestFilterSensitiveLog, ListDataSourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListDataSourcesCommand, serializeAws_json1_1ListDataSourcesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListDataSourcesCommand = (function (_super) {
|
|
7
|
+
__extends(ListDataSourcesCommand, _super);
|
|
8
|
+
function ListDataSourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListDataSourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "ListDataSourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListDataSourcesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListDataSourcesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListDataSourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListDataSourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListDataSourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListDataSourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListDataSourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListDataSourcesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListEntityPersonasRequestFilterSensitiveLog, ListEntityPersonasResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListEntityPersonasCommand, serializeAws_json1_1ListEntityPersonasCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListEntityPersonasCommand = (function (_super) {
|
|
7
|
+
__extends(ListEntityPersonasCommand, _super);
|
|
8
|
+
function ListEntityPersonasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListEntityPersonasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KendraClient";
|
|
18
|
+
var commandName = "ListEntityPersonasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListEntityPersonasRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListEntityPersonasResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListEntityPersonasCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListEntityPersonasCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListEntityPersonasCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListEntityPersonasCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListEntityPersonasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListEntityPersonasCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListExperienceEntitiesRequestFilterSensitiveLog, ListExperienceEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListExperienceEntitiesCommand, serializeAws_json1_1ListExperienceEntitiesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListExperienceEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
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,
|
|
20
23
|
inputFilterSensitiveLog: ListExperienceEntitiesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListExperienceEntitiesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_json1_1ListExperienceEntitiesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListExperienceEntitiesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListExperienceEntitiesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListExperienceEntitiesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListExperienceEntitiesCommand };
|