@aws-sdk/client-lex-models-v2 3.181.0 → 3.183.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 +8 -0
- package/dist-es/LexModelsV2.js +270 -277
- package/dist-es/LexModelsV2Client.js +22 -28
- package/dist-es/commands/BuildBotLocaleCommand.js +21 -28
- package/dist-es/commands/CreateBotAliasCommand.js +21 -28
- package/dist-es/commands/CreateBotCommand.js +21 -28
- package/dist-es/commands/CreateBotLocaleCommand.js +21 -28
- package/dist-es/commands/CreateBotVersionCommand.js +21 -28
- package/dist-es/commands/CreateExportCommand.js +21 -28
- package/dist-es/commands/CreateIntentCommand.js +21 -28
- package/dist-es/commands/CreateResourcePolicyCommand.js +21 -28
- package/dist-es/commands/CreateResourcePolicyStatementCommand.js +21 -28
- package/dist-es/commands/CreateSlotCommand.js +21 -28
- package/dist-es/commands/CreateSlotTypeCommand.js +21 -28
- package/dist-es/commands/CreateUploadUrlCommand.js +21 -28
- package/dist-es/commands/DeleteBotAliasCommand.js +21 -28
- package/dist-es/commands/DeleteBotCommand.js +21 -28
- package/dist-es/commands/DeleteBotLocaleCommand.js +21 -28
- package/dist-es/commands/DeleteBotVersionCommand.js +21 -28
- package/dist-es/commands/DeleteCustomVocabularyCommand.js +21 -28
- package/dist-es/commands/DeleteExportCommand.js +21 -28
- package/dist-es/commands/DeleteImportCommand.js +21 -28
- package/dist-es/commands/DeleteIntentCommand.js +22 -29
- package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
- package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +21 -28
- package/dist-es/commands/DeleteSlotCommand.js +22 -29
- package/dist-es/commands/DeleteSlotTypeCommand.js +22 -29
- package/dist-es/commands/DeleteUtterancesCommand.js +21 -28
- package/dist-es/commands/DescribeBotAliasCommand.js +21 -28
- package/dist-es/commands/DescribeBotCommand.js +21 -28
- package/dist-es/commands/DescribeBotLocaleCommand.js +21 -28
- package/dist-es/commands/DescribeBotRecommendationCommand.js +21 -28
- package/dist-es/commands/DescribeBotVersionCommand.js +21 -28
- package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +21 -28
- package/dist-es/commands/DescribeExportCommand.js +21 -28
- package/dist-es/commands/DescribeImportCommand.js +21 -28
- package/dist-es/commands/DescribeIntentCommand.js +21 -28
- package/dist-es/commands/DescribeResourcePolicyCommand.js +21 -28
- package/dist-es/commands/DescribeSlotCommand.js +21 -28
- package/dist-es/commands/DescribeSlotTypeCommand.js +21 -28
- package/dist-es/commands/ListAggregatedUtterancesCommand.js +21 -28
- package/dist-es/commands/ListBotAliasesCommand.js +21 -28
- package/dist-es/commands/ListBotLocalesCommand.js +21 -28
- package/dist-es/commands/ListBotRecommendationsCommand.js +21 -28
- package/dist-es/commands/ListBotVersionsCommand.js +21 -28
- package/dist-es/commands/ListBotsCommand.js +21 -28
- package/dist-es/commands/ListBuiltInIntentsCommand.js +21 -28
- package/dist-es/commands/ListBuiltInSlotTypesCommand.js +21 -28
- package/dist-es/commands/ListExportsCommand.js +21 -28
- package/dist-es/commands/ListImportsCommand.js +21 -28
- package/dist-es/commands/ListIntentsCommand.js +21 -28
- package/dist-es/commands/ListRecommendedIntentsCommand.js +21 -28
- package/dist-es/commands/ListSlotTypesCommand.js +21 -28
- package/dist-es/commands/ListSlotsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +21 -28
- package/dist-es/commands/StartBotRecommendationCommand.js +21 -28
- package/dist-es/commands/StartImportCommand.js +21 -28
- package/dist-es/commands/StopBotRecommendationCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateBotAliasCommand.js +21 -28
- package/dist-es/commands/UpdateBotCommand.js +21 -28
- package/dist-es/commands/UpdateBotLocaleCommand.js +21 -28
- package/dist-es/commands/UpdateBotRecommendationCommand.js +21 -28
- package/dist-es/commands/UpdateExportCommand.js +21 -28
- package/dist-es/commands/UpdateIntentCommand.js +21 -28
- package/dist-es/commands/UpdateResourcePolicyCommand.js +21 -28
- package/dist-es/commands/UpdateSlotCommand.js +21 -28
- package/dist-es/commands/UpdateSlotTypeCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LexModelsV2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +808 -319
- package/dist-es/models/models_1.js +78 -27
- package/dist-es/pagination/ListAggregatedUtterancesPaginator.js +25 -68
- package/dist-es/pagination/ListBotAliasesPaginator.js +25 -68
- package/dist-es/pagination/ListBotLocalesPaginator.js +25 -68
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +25 -68
- package/dist-es/pagination/ListBotVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListBotsPaginator.js +25 -68
- package/dist-es/pagination/ListBuiltInIntentsPaginator.js +25 -68
- package/dist-es/pagination/ListBuiltInSlotTypesPaginator.js +25 -68
- package/dist-es/pagination/ListExportsPaginator.js +25 -68
- package/dist-es/pagination/ListImportsPaginator.js +25 -68
- package/dist-es/pagination/ListIntentsPaginator.js +25 -68
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +25 -68
- package/dist-es/pagination/ListSlotTypesPaginator.js +25 -68
- package/dist-es/pagination/ListSlotsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +7152 -8746
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForBotAliasAvailable.js +45 -65
- package/dist-es/waiters/waitForBotAvailable.js +54 -74
- package/dist-es/waiters/waitForBotExportCompleted.js +45 -65
- package/dist-es/waiters/waitForBotImportCompleted.js +45 -65
- package/dist-es/waiters/waitForBotLocaleBuilt.js +54 -74
- package/dist-es/waiters/waitForBotLocaleCreated.js +63 -83
- package/dist-es/waiters/waitForBotLocaleExpressTestingAvailable.js +63 -83
- package/dist-es/waiters/waitForBotVersionAvailable.js +48 -68
- package/package.json +34 -34
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeBotVersionRequestFilterSensitiveLog, DescribeBotVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeBotVersionCommand, serializeAws_restJson1DescribeBotVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DescribeBotVersionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "DescribeBotVersionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DescribeBotVersionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DescribeBotVersionResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DescribeBotVersionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DescribeBotVersionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DescribeBotVersionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DescribeBotVersionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeCustomVocabularyMetadataRequestFilterSensitiveLog, DescribeCustomVocabularyMetadataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand, serializeAws_restJson1DescribeCustomVocabularyMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DescribeCustomVocabularyMetadataCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "DescribeCustomVocabularyMetadataCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DescribeCustomVocabularyMetadataRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DescribeCustomVocabularyMetadataResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DescribeCustomVocabularyMetadataCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DescribeCustomVocabularyMetadataCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DescribeCustomVocabularyMetadataCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeExportRequestFilterSensitiveLog, DescribeExportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeExportCommand, serializeAws_restJson1DescribeExportCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DescribeExportCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "DescribeExportCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DescribeExportRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DescribeExportResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DescribeExportCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DescribeExportCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DescribeExportCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DescribeExportCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeImportRequestFilterSensitiveLog, DescribeImportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeImportCommand, serializeAws_restJson1DescribeImportCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DescribeImportCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "DescribeImportCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DescribeImportRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DescribeImportResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DescribeImportCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DescribeImportCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DescribeImportCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DescribeImportCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,40 +1,33 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeIntentRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { DescribeIntentResponseFilterSensitiveLog } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1DescribeIntentCommand, serializeAws_restJson1DescribeIntentCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class DescribeIntentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
logger
|
|
22
|
-
clientName
|
|
23
|
-
commandName
|
|
13
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
14
|
+
const { logger } = configuration;
|
|
15
|
+
const clientName = "LexModelsV2Client";
|
|
16
|
+
const commandName = "DescribeIntentCommand";
|
|
17
|
+
const handlerExecutionContext = {
|
|
18
|
+
logger,
|
|
19
|
+
clientName,
|
|
20
|
+
commandName,
|
|
24
21
|
inputFilterSensitiveLog: DescribeIntentRequestFilterSensitiveLog,
|
|
25
22
|
outputFilterSensitiveLog: DescribeIntentResponseFilterSensitiveLog,
|
|
26
23
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
DescribeIntentCommand.prototype.serialize = function (input, context) {
|
|
24
|
+
const { requestHandler } = configuration;
|
|
25
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
26
|
+
}
|
|
27
|
+
serialize(input, context) {
|
|
33
28
|
return serializeAws_restJson1DescribeIntentCommand(input, context);
|
|
34
|
-
}
|
|
35
|
-
|
|
29
|
+
}
|
|
30
|
+
deserialize(output, context) {
|
|
36
31
|
return deserializeAws_restJson1DescribeIntentCommand(output, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}($Command));
|
|
40
|
-
export { DescribeIntentCommand };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeResourcePolicyRequestFilterSensitiveLog, DescribeResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeResourcePolicyCommand, serializeAws_restJson1DescribeResourcePolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DescribeResourcePolicyCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "DescribeResourcePolicyCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DescribeResourcePolicyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DescribeResourcePolicyResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DescribeResourcePolicyCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DescribeResourcePolicyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DescribeResourcePolicyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DescribeResourcePolicyCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,40 +1,33 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeSlotRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { DescribeSlotResponseFilterSensitiveLog } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1DescribeSlotCommand, serializeAws_restJson1DescribeSlotCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class DescribeSlotCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
logger
|
|
22
|
-
clientName
|
|
23
|
-
commandName
|
|
13
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
14
|
+
const { logger } = configuration;
|
|
15
|
+
const clientName = "LexModelsV2Client";
|
|
16
|
+
const commandName = "DescribeSlotCommand";
|
|
17
|
+
const handlerExecutionContext = {
|
|
18
|
+
logger,
|
|
19
|
+
clientName,
|
|
20
|
+
commandName,
|
|
24
21
|
inputFilterSensitiveLog: DescribeSlotRequestFilterSensitiveLog,
|
|
25
22
|
outputFilterSensitiveLog: DescribeSlotResponseFilterSensitiveLog,
|
|
26
23
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
DescribeSlotCommand.prototype.serialize = function (input, context) {
|
|
24
|
+
const { requestHandler } = configuration;
|
|
25
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
26
|
+
}
|
|
27
|
+
serialize(input, context) {
|
|
33
28
|
return serializeAws_restJson1DescribeSlotCommand(input, context);
|
|
34
|
-
}
|
|
35
|
-
|
|
29
|
+
}
|
|
30
|
+
deserialize(output, context) {
|
|
36
31
|
return deserializeAws_restJson1DescribeSlotCommand(output, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}($Command));
|
|
40
|
-
export { DescribeSlotCommand };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DescribeSlotTypeRequestFilterSensitiveLog, DescribeSlotTypeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeSlotTypeCommand, serializeAws_restJson1DescribeSlotTypeCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DescribeSlotTypeCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "DescribeSlotTypeCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DescribeSlotTypeRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DescribeSlotTypeResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DescribeSlotTypeCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DescribeSlotTypeCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DescribeSlotTypeCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DescribeSlotTypeCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListAggregatedUtterancesRequestFilterSensitiveLog, ListAggregatedUtterancesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListAggregatedUtterancesCommand, serializeAws_restJson1ListAggregatedUtterancesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListAggregatedUtterancesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "ListAggregatedUtterancesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListAggregatedUtterancesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListAggregatedUtterancesResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListAggregatedUtterancesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1ListAggregatedUtterancesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1ListAggregatedUtterancesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListAggregatedUtterancesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { ListBotAliasesRequestFilterSensitiveLog, ListBotAliasesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListBotAliasesCommand, serializeAws_restJson1ListBotAliasesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class ListBotAliasesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LexModelsV2Client";
|
|
15
|
+
const commandName = "ListBotAliasesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: ListBotAliasesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: ListBotAliasesResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
ListBotAliasesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1ListBotAliasesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1ListBotAliasesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { ListBotAliasesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|