@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 { UpdateBotRequestFilterSensitiveLog, UpdateBotResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateBotCommand, serializeAws_restJson1UpdateBotCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateBotCommand 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 = "UpdateBotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateBotRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateBotResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateBotCommand.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_restJson1UpdateBotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateBotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateBotCommand };
|
|
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 { UpdateBotLocaleRequestFilterSensitiveLog, UpdateBotLocaleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateBotLocaleCommand, serializeAws_restJson1UpdateBotLocaleCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateBotLocaleCommand 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 = "UpdateBotLocaleCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateBotLocaleRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateBotLocaleResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateBotLocaleCommand.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_restJson1UpdateBotLocaleCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateBotLocaleCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateBotLocaleCommand };
|
|
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 { UpdateBotRecommendationRequestFilterSensitiveLog, UpdateBotRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateBotRecommendationCommand, serializeAws_restJson1UpdateBotRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateBotRecommendationCommand 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 = "UpdateBotRecommendationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateBotRecommendationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateBotRecommendationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateBotRecommendationCommand.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_restJson1UpdateBotRecommendationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateBotRecommendationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateBotRecommendationCommand };
|
|
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 { UpdateExportRequestFilterSensitiveLog, UpdateExportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateExportCommand, serializeAws_restJson1UpdateExportCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateExportCommand 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 = "UpdateExportCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateExportRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateExportResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateExportCommand.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_restJson1UpdateExportCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateExportCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateExportCommand };
|
|
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 { UpdateIntentRequestFilterSensitiveLog, UpdateIntentResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restJson1UpdateIntentCommand, serializeAws_restJson1UpdateIntentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateIntentCommand 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 = "UpdateIntentCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateIntentRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateIntentResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateIntentCommand.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_restJson1UpdateIntentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateIntentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateIntentCommand };
|
|
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 { UpdateResourcePolicyRequestFilterSensitiveLog, UpdateResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateResourcePolicyCommand, serializeAws_restJson1UpdateResourcePolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateResourcePolicyCommand 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 = "UpdateResourcePolicyCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateResourcePolicyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateResourcePolicyResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateResourcePolicyCommand.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_restJson1UpdateResourcePolicyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateResourcePolicyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateResourcePolicyCommand };
|
|
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 { UpdateSlotRequestFilterSensitiveLog, UpdateSlotResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_restJson1UpdateSlotCommand, serializeAws_restJson1UpdateSlotCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateSlotCommand 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 = "UpdateSlotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateSlotRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateSlotResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateSlotCommand.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_restJson1UpdateSlotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateSlotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateSlotCommand };
|
|
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 { UpdateSlotTypeRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { UpdateSlotTypeResponseFilterSensitiveLog } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1UpdateSlotTypeCommand, serializeAws_restJson1UpdateSlotTypeCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class UpdateSlotTypeCommand 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 = "UpdateSlotTypeCommand";
|
|
17
|
+
const handlerExecutionContext = {
|
|
18
|
+
logger,
|
|
19
|
+
clientName,
|
|
20
|
+
commandName,
|
|
24
21
|
inputFilterSensitiveLog: UpdateSlotTypeRequestFilterSensitiveLog,
|
|
25
22
|
outputFilterSensitiveLog: UpdateSlotTypeResponseFilterSensitiveLog,
|
|
26
23
|
};
|
|
27
|
-
|
|
28
|
-
return stack.resolve(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
UpdateSlotTypeCommand.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_restJson1UpdateSlotTypeCommand(input, context);
|
|
34
|
-
}
|
|
35
|
-
|
|
29
|
+
}
|
|
30
|
+
deserialize(output, context) {
|
|
36
31
|
return deserializeAws_restJson1UpdateSlotTypeCommand(output, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}($Command));
|
|
40
|
-
export { UpdateSlotTypeCommand };
|
|
32
|
+
}
|
|
33
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const regionHash = {};
|
|
3
|
+
const partitionHash = {
|
|
5
4
|
aws: {
|
|
6
5
|
regions: [
|
|
7
6
|
"af-south-1",
|
|
@@ -121,8 +120,9 @@ var partitionHash = {
|
|
|
121
120
|
],
|
|
122
121
|
},
|
|
123
122
|
};
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
+
...options,
|
|
125
|
+
signingService: "lex",
|
|
126
|
+
regionHash,
|
|
127
|
+
partitionHash,
|
|
128
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, LexModelsV2ServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class LexModelsV2ServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, LexModelsV2ServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { LexModelsV2ServiceException };
|
|
7
|
+
}
|