@aws-sdk/client-lex-models-v2 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_restJson1.js +2 -2
- package/dist-es/LexModelsV2.js +277 -270
- package/dist-es/LexModelsV2Client.js +28 -22
- package/dist-es/commands/BuildBotLocaleCommand.js +28 -21
- package/dist-es/commands/CreateBotAliasCommand.js +28 -21
- package/dist-es/commands/CreateBotCommand.js +28 -21
- package/dist-es/commands/CreateBotLocaleCommand.js +28 -21
- package/dist-es/commands/CreateBotVersionCommand.js +28 -21
- package/dist-es/commands/CreateExportCommand.js +28 -21
- package/dist-es/commands/CreateIntentCommand.js +28 -21
- package/dist-es/commands/CreateResourcePolicyCommand.js +28 -21
- package/dist-es/commands/CreateResourcePolicyStatementCommand.js +28 -21
- package/dist-es/commands/CreateSlotCommand.js +28 -21
- package/dist-es/commands/CreateSlotTypeCommand.js +28 -21
- package/dist-es/commands/CreateUploadUrlCommand.js +28 -21
- package/dist-es/commands/DeleteBotAliasCommand.js +28 -21
- package/dist-es/commands/DeleteBotCommand.js +28 -21
- package/dist-es/commands/DeleteBotLocaleCommand.js +28 -21
- package/dist-es/commands/DeleteBotVersionCommand.js +28 -21
- package/dist-es/commands/DeleteCustomVocabularyCommand.js +28 -21
- package/dist-es/commands/DeleteExportCommand.js +28 -21
- package/dist-es/commands/DeleteImportCommand.js +28 -21
- package/dist-es/commands/DeleteIntentCommand.js +29 -22
- package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +28 -21
- package/dist-es/commands/DeleteSlotCommand.js +29 -22
- package/dist-es/commands/DeleteSlotTypeCommand.js +29 -22
- package/dist-es/commands/DeleteUtterancesCommand.js +28 -21
- package/dist-es/commands/DescribeBotAliasCommand.js +28 -21
- package/dist-es/commands/DescribeBotCommand.js +28 -21
- package/dist-es/commands/DescribeBotLocaleCommand.js +28 -21
- package/dist-es/commands/DescribeBotRecommendationCommand.js +28 -21
- package/dist-es/commands/DescribeBotVersionCommand.js +28 -21
- package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +28 -21
- package/dist-es/commands/DescribeExportCommand.js +28 -21
- package/dist-es/commands/DescribeImportCommand.js +28 -21
- package/dist-es/commands/DescribeIntentCommand.js +28 -21
- package/dist-es/commands/DescribeResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DescribeSlotCommand.js +28 -21
- package/dist-es/commands/DescribeSlotTypeCommand.js +28 -21
- package/dist-es/commands/ListAggregatedUtterancesCommand.js +28 -21
- package/dist-es/commands/ListBotAliasesCommand.js +28 -21
- package/dist-es/commands/ListBotLocalesCommand.js +28 -21
- package/dist-es/commands/ListBotRecommendationsCommand.js +28 -21
- package/dist-es/commands/ListBotVersionsCommand.js +28 -21
- package/dist-es/commands/ListBotsCommand.js +28 -21
- package/dist-es/commands/ListBuiltInIntentsCommand.js +28 -21
- package/dist-es/commands/ListBuiltInSlotTypesCommand.js +28 -21
- package/dist-es/commands/ListExportsCommand.js +28 -21
- package/dist-es/commands/ListImportsCommand.js +28 -21
- package/dist-es/commands/ListIntentsCommand.js +28 -21
- package/dist-es/commands/ListRecommendedIntentsCommand.js +28 -21
- package/dist-es/commands/ListSlotTypesCommand.js +28 -21
- package/dist-es/commands/ListSlotsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +28 -21
- package/dist-es/commands/StartBotRecommendationCommand.js +28 -21
- package/dist-es/commands/StartImportCommand.js +28 -21
- package/dist-es/commands/StopBotRecommendationCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateBotAliasCommand.js +28 -21
- package/dist-es/commands/UpdateBotCommand.js +28 -21
- package/dist-es/commands/UpdateBotLocaleCommand.js +28 -21
- package/dist-es/commands/UpdateBotRecommendationCommand.js +28 -21
- package/dist-es/commands/UpdateExportCommand.js +28 -21
- package/dist-es/commands/UpdateIntentCommand.js +28 -21
- package/dist-es/commands/UpdateResourcePolicyCommand.js +28 -21
- package/dist-es/commands/UpdateSlotCommand.js +28 -21
- package/dist-es/commands/UpdateSlotTypeCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LexModelsV2ServiceException.js +10 -5
- package/dist-es/models/models_0.js +319 -808
- package/dist-es/models/models_1.js +27 -78
- package/dist-es/pagination/ListAggregatedUtterancesPaginator.js +68 -25
- package/dist-es/pagination/ListBotAliasesPaginator.js +68 -25
- package/dist-es/pagination/ListBotLocalesPaginator.js +68 -25
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +68 -25
- package/dist-es/pagination/ListBotVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListBotsPaginator.js +68 -25
- package/dist-es/pagination/ListBuiltInIntentsPaginator.js +68 -25
- package/dist-es/pagination/ListBuiltInSlotTypesPaginator.js +68 -25
- package/dist-es/pagination/ListExportsPaginator.js +68 -25
- package/dist-es/pagination/ListImportsPaginator.js +68 -25
- package/dist-es/pagination/ListIntentsPaginator.js +68 -25
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +68 -25
- package/dist-es/pagination/ListSlotTypesPaginator.js +68 -25
- package/dist-es/pagination/ListSlotsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +8745 -7151
- 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/dist-es/waiters/waitForBotAliasAvailable.js +65 -45
- package/dist-es/waiters/waitForBotAvailable.js +74 -54
- package/dist-es/waiters/waitForBotExportCompleted.js +65 -45
- package/dist-es/waiters/waitForBotImportCompleted.js +65 -45
- package/dist-es/waiters/waitForBotLocaleBuilt.js +74 -54
- package/dist-es/waiters/waitForBotLocaleCreated.js +83 -63
- package/dist-es/waiters/waitForBotLocaleExpressTestingAvailable.js +83 -63
- package/dist-es/waiters/waitForBotVersionAvailable.js +68 -48
- 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 { ListSlotTypesRequestFilterSensitiveLog, ListSlotTypesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListSlotTypesCommand, serializeAws_restJson1ListSlotTypesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListSlotTypesCommand = (function (_super) {
|
|
7
|
+
__extends(ListSlotTypesCommand, _super);
|
|
8
|
+
function ListSlotTypesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSlotTypesCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "ListSlotTypesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListSlotTypesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSlotTypesResponseFilterSensitiveLog,
|
|
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
|
+
ListSlotTypesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListSlotTypesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSlotTypesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListSlotTypesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSlotTypesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSlotTypesCommand };
|
|
@@ -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 { ListSlotsRequestFilterSensitiveLog, ListSlotsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListSlotsCommand, serializeAws_restJson1ListSlotsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListSlotsCommand = (function (_super) {
|
|
7
|
+
__extends(ListSlotsCommand, _super);
|
|
8
|
+
function ListSlotsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSlotsCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "ListSlotsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListSlotsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSlotsResponseFilterSensitiveLog,
|
|
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
|
+
ListSlotsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListSlotsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSlotsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListSlotsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSlotsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSlotsCommand };
|
|
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForResourceCommand, _super);
|
|
8
|
+
function ListTagsForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTagsForResourceCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "ListTagsForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
|
|
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
|
+
ListTagsForResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForResourceCommand };
|
|
@@ -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 { SearchAssociatedTranscriptsRequestFilterSensitiveLog, SearchAssociatedTranscriptsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1SearchAssociatedTranscriptsCommand, serializeAws_restJson1SearchAssociatedTranscriptsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SearchAssociatedTranscriptsCommand = (function (_super) {
|
|
7
|
+
__extends(SearchAssociatedTranscriptsCommand, _super);
|
|
8
|
+
function SearchAssociatedTranscriptsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SearchAssociatedTranscriptsCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "SearchAssociatedTranscriptsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SearchAssociatedTranscriptsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SearchAssociatedTranscriptsResponseFilterSensitiveLog,
|
|
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
|
+
SearchAssociatedTranscriptsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1SearchAssociatedTranscriptsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SearchAssociatedTranscriptsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1SearchAssociatedTranscriptsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SearchAssociatedTranscriptsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SearchAssociatedTranscriptsCommand };
|
|
@@ -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 { StartBotRecommendationRequestFilterSensitiveLog, StartBotRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartBotRecommendationCommand, serializeAws_restJson1StartBotRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartBotRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(StartBotRecommendationCommand, _super);
|
|
8
|
+
function StartBotRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartBotRecommendationCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "StartBotRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartBotRecommendationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartBotRecommendationResponseFilterSensitiveLog,
|
|
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
|
+
StartBotRecommendationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartBotRecommendationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartBotRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartBotRecommendationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartBotRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartBotRecommendationCommand };
|
|
@@ -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 { StartImportRequestFilterSensitiveLog, StartImportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartImportCommand, serializeAws_restJson1StartImportCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartImportCommand = (function (_super) {
|
|
7
|
+
__extends(StartImportCommand, _super);
|
|
8
|
+
function StartImportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartImportCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "StartImportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartImportRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartImportResponseFilterSensitiveLog,
|
|
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
|
+
StartImportCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartImportCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartImportCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartImportCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartImportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartImportCommand };
|
|
@@ -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 { StopBotRecommendationRequestFilterSensitiveLog, StopBotRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StopBotRecommendationCommand, serializeAws_restJson1StopBotRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopBotRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(StopBotRecommendationCommand, _super);
|
|
8
|
+
function StopBotRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopBotRecommendationCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "StopBotRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopBotRecommendationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopBotRecommendationResponseFilterSensitiveLog,
|
|
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
|
+
StopBotRecommendationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StopBotRecommendationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopBotRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StopBotRecommendationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopBotRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopBotRecommendationCommand };
|
|
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
|
|
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
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UntagResourceCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
|
|
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
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -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 { UpdateBotAliasRequestFilterSensitiveLog, UpdateBotAliasResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateBotAliasCommand, serializeAws_restJson1UpdateBotAliasCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateBotAliasCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateBotAliasCommand, _super);
|
|
8
|
+
function UpdateBotAliasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateBotAliasCommand.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 = "LexModelsV2Client";
|
|
18
|
+
var commandName = "UpdateBotAliasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateBotAliasRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateBotAliasResponseFilterSensitiveLog,
|
|
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
|
+
UpdateBotAliasCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateBotAliasCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateBotAliasCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateBotAliasCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateBotAliasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateBotAliasCommand };
|