@aws-sdk/client-lex-models-v2 3.183.0 → 3.186.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.
Files changed (103) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/LexModelsV2.js +277 -270
  4. package/dist-es/LexModelsV2Client.js +28 -22
  5. package/dist-es/commands/BuildBotLocaleCommand.js +28 -21
  6. package/dist-es/commands/CreateBotAliasCommand.js +28 -21
  7. package/dist-es/commands/CreateBotCommand.js +28 -21
  8. package/dist-es/commands/CreateBotLocaleCommand.js +28 -21
  9. package/dist-es/commands/CreateBotVersionCommand.js +28 -21
  10. package/dist-es/commands/CreateExportCommand.js +28 -21
  11. package/dist-es/commands/CreateIntentCommand.js +28 -21
  12. package/dist-es/commands/CreateResourcePolicyCommand.js +28 -21
  13. package/dist-es/commands/CreateResourcePolicyStatementCommand.js +28 -21
  14. package/dist-es/commands/CreateSlotCommand.js +28 -21
  15. package/dist-es/commands/CreateSlotTypeCommand.js +28 -21
  16. package/dist-es/commands/CreateUploadUrlCommand.js +28 -21
  17. package/dist-es/commands/DeleteBotAliasCommand.js +28 -21
  18. package/dist-es/commands/DeleteBotCommand.js +28 -21
  19. package/dist-es/commands/DeleteBotLocaleCommand.js +28 -21
  20. package/dist-es/commands/DeleteBotVersionCommand.js +28 -21
  21. package/dist-es/commands/DeleteCustomVocabularyCommand.js +28 -21
  22. package/dist-es/commands/DeleteExportCommand.js +28 -21
  23. package/dist-es/commands/DeleteImportCommand.js +28 -21
  24. package/dist-es/commands/DeleteIntentCommand.js +29 -22
  25. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  26. package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +28 -21
  27. package/dist-es/commands/DeleteSlotCommand.js +29 -22
  28. package/dist-es/commands/DeleteSlotTypeCommand.js +29 -22
  29. package/dist-es/commands/DeleteUtterancesCommand.js +28 -21
  30. package/dist-es/commands/DescribeBotAliasCommand.js +28 -21
  31. package/dist-es/commands/DescribeBotCommand.js +28 -21
  32. package/dist-es/commands/DescribeBotLocaleCommand.js +28 -21
  33. package/dist-es/commands/DescribeBotRecommendationCommand.js +28 -21
  34. package/dist-es/commands/DescribeBotVersionCommand.js +28 -21
  35. package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +28 -21
  36. package/dist-es/commands/DescribeExportCommand.js +28 -21
  37. package/dist-es/commands/DescribeImportCommand.js +28 -21
  38. package/dist-es/commands/DescribeIntentCommand.js +28 -21
  39. package/dist-es/commands/DescribeResourcePolicyCommand.js +28 -21
  40. package/dist-es/commands/DescribeSlotCommand.js +28 -21
  41. package/dist-es/commands/DescribeSlotTypeCommand.js +28 -21
  42. package/dist-es/commands/ListAggregatedUtterancesCommand.js +28 -21
  43. package/dist-es/commands/ListBotAliasesCommand.js +28 -21
  44. package/dist-es/commands/ListBotLocalesCommand.js +28 -21
  45. package/dist-es/commands/ListBotRecommendationsCommand.js +28 -21
  46. package/dist-es/commands/ListBotVersionsCommand.js +28 -21
  47. package/dist-es/commands/ListBotsCommand.js +28 -21
  48. package/dist-es/commands/ListBuiltInIntentsCommand.js +28 -21
  49. package/dist-es/commands/ListBuiltInSlotTypesCommand.js +28 -21
  50. package/dist-es/commands/ListExportsCommand.js +28 -21
  51. package/dist-es/commands/ListImportsCommand.js +28 -21
  52. package/dist-es/commands/ListIntentsCommand.js +28 -21
  53. package/dist-es/commands/ListRecommendedIntentsCommand.js +28 -21
  54. package/dist-es/commands/ListSlotTypesCommand.js +28 -21
  55. package/dist-es/commands/ListSlotsCommand.js +28 -21
  56. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  57. package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +28 -21
  58. package/dist-es/commands/StartBotRecommendationCommand.js +28 -21
  59. package/dist-es/commands/StartImportCommand.js +28 -21
  60. package/dist-es/commands/StopBotRecommendationCommand.js +28 -21
  61. package/dist-es/commands/TagResourceCommand.js +28 -21
  62. package/dist-es/commands/UntagResourceCommand.js +28 -21
  63. package/dist-es/commands/UpdateBotAliasCommand.js +28 -21
  64. package/dist-es/commands/UpdateBotCommand.js +28 -21
  65. package/dist-es/commands/UpdateBotLocaleCommand.js +28 -21
  66. package/dist-es/commands/UpdateBotRecommendationCommand.js +28 -21
  67. package/dist-es/commands/UpdateExportCommand.js +28 -21
  68. package/dist-es/commands/UpdateIntentCommand.js +28 -21
  69. package/dist-es/commands/UpdateResourcePolicyCommand.js +28 -21
  70. package/dist-es/commands/UpdateSlotCommand.js +28 -21
  71. package/dist-es/commands/UpdateSlotTypeCommand.js +28 -21
  72. package/dist-es/endpoints.js +8 -8
  73. package/dist-es/models/LexModelsV2ServiceException.js +10 -5
  74. package/dist-es/models/models_0.js +319 -808
  75. package/dist-es/models/models_1.js +27 -78
  76. package/dist-es/pagination/ListAggregatedUtterancesPaginator.js +68 -25
  77. package/dist-es/pagination/ListBotAliasesPaginator.js +68 -25
  78. package/dist-es/pagination/ListBotLocalesPaginator.js +68 -25
  79. package/dist-es/pagination/ListBotRecommendationsPaginator.js +68 -25
  80. package/dist-es/pagination/ListBotVersionsPaginator.js +68 -25
  81. package/dist-es/pagination/ListBotsPaginator.js +68 -25
  82. package/dist-es/pagination/ListBuiltInIntentsPaginator.js +68 -25
  83. package/dist-es/pagination/ListBuiltInSlotTypesPaginator.js +68 -25
  84. package/dist-es/pagination/ListExportsPaginator.js +68 -25
  85. package/dist-es/pagination/ListImportsPaginator.js +68 -25
  86. package/dist-es/pagination/ListIntentsPaginator.js +68 -25
  87. package/dist-es/pagination/ListRecommendedIntentsPaginator.js +68 -25
  88. package/dist-es/pagination/ListSlotTypesPaginator.js +68 -25
  89. package/dist-es/pagination/ListSlotsPaginator.js +68 -25
  90. package/dist-es/protocols/Aws_restJson1.js +8745 -7151
  91. package/dist-es/runtimeConfig.browser.js +12 -26
  92. package/dist-es/runtimeConfig.js +12 -30
  93. package/dist-es/runtimeConfig.native.js +5 -8
  94. package/dist-es/runtimeConfig.shared.js +11 -8
  95. package/dist-es/waiters/waitForBotAliasAvailable.js +65 -45
  96. package/dist-es/waiters/waitForBotAvailable.js +74 -54
  97. package/dist-es/waiters/waitForBotExportCompleted.js +65 -45
  98. package/dist-es/waiters/waitForBotImportCompleted.js +65 -45
  99. package/dist-es/waiters/waitForBotLocaleBuilt.js +74 -54
  100. package/dist-es/waiters/waitForBotLocaleCreated.js +83 -63
  101. package/dist-es/waiters/waitForBotLocaleExpressTestingAvailable.js +83 -63
  102. package/dist-es/waiters/waitForBotVersionAvailable.js +68 -48
  103. package/package.json +34 -34
@@ -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 { CreateSlotRequestFilterSensitiveLog, CreateSlotResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1CreateSlotCommand, serializeAws_restJson1CreateSlotCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateSlotCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSlotCommand = (function (_super) {
7
+ __extends(CreateSlotCommand, _super);
8
+ function CreateSlotCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSlotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "CreateSlotCommand";
16
- const handlerExecutionContext = {
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 = "CreateSlotCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSlotRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSlotResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSlotCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateSlotCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSlotCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateSlotCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSlotCommand;
38
+ }($Command));
39
+ export { CreateSlotCommand };
@@ -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 { CreateSlotTypeRequestFilterSensitiveLog, CreateSlotTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateSlotTypeCommand, serializeAws_restJson1CreateSlotTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateSlotTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSlotTypeCommand = (function (_super) {
7
+ __extends(CreateSlotTypeCommand, _super);
8
+ function CreateSlotTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSlotTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "CreateSlotTypeCommand";
16
- const handlerExecutionContext = {
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 = "CreateSlotTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSlotTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSlotTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSlotTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateSlotTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSlotTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateSlotTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSlotTypeCommand;
38
+ }($Command));
39
+ export { CreateSlotTypeCommand };
@@ -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 { CreateUploadUrlRequestFilterSensitiveLog, CreateUploadUrlResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateUploadUrlCommand, serializeAws_restJson1CreateUploadUrlCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateUploadUrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateUploadUrlCommand = (function (_super) {
7
+ __extends(CreateUploadUrlCommand, _super);
8
+ function CreateUploadUrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUploadUrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "CreateUploadUrlCommand";
16
- const handlerExecutionContext = {
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 = "CreateUploadUrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateUploadUrlRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUploadUrlResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateUploadUrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateUploadUrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUploadUrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateUploadUrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUploadUrlCommand;
38
+ }($Command));
39
+ export { CreateUploadUrlCommand };
@@ -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 { DeleteBotAliasRequestFilterSensitiveLog, DeleteBotAliasResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBotAliasCommand, serializeAws_restJson1DeleteBotAliasCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBotAliasCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBotAliasCommand = (function (_super) {
7
+ __extends(DeleteBotAliasCommand, _super);
8
+ function DeleteBotAliasCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBotAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteBotAliasCommand";
16
- const handlerExecutionContext = {
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 = "DeleteBotAliasCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBotAliasRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBotAliasResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteBotAliasCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBotAliasCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBotAliasCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBotAliasCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBotAliasCommand;
38
+ }($Command));
39
+ export { DeleteBotAliasCommand };
@@ -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 { DeleteBotRequestFilterSensitiveLog, DeleteBotResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBotCommand, serializeAws_restJson1DeleteBotCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBotCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBotCommand = (function (_super) {
7
+ __extends(DeleteBotCommand, _super);
8
+ function DeleteBotCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteBotCommand";
16
- const handlerExecutionContext = {
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 = "DeleteBotCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBotRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBotResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteBotCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBotCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBotCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBotCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBotCommand;
38
+ }($Command));
39
+ export { DeleteBotCommand };
@@ -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 { DeleteBotLocaleRequestFilterSensitiveLog, DeleteBotLocaleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBotLocaleCommand, serializeAws_restJson1DeleteBotLocaleCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBotLocaleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBotLocaleCommand = (function (_super) {
7
+ __extends(DeleteBotLocaleCommand, _super);
8
+ function DeleteBotLocaleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBotLocaleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteBotLocaleCommand";
16
- const handlerExecutionContext = {
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 = "DeleteBotLocaleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBotLocaleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBotLocaleResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteBotLocaleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBotLocaleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBotLocaleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBotLocaleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBotLocaleCommand;
38
+ }($Command));
39
+ export { DeleteBotLocaleCommand };
@@ -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 { DeleteBotVersionRequestFilterSensitiveLog, DeleteBotVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBotVersionCommand, serializeAws_restJson1DeleteBotVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBotVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBotVersionCommand = (function (_super) {
7
+ __extends(DeleteBotVersionCommand, _super);
8
+ function DeleteBotVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBotVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteBotVersionCommand";
16
- const handlerExecutionContext = {
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 = "DeleteBotVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBotVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBotVersionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteBotVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBotVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBotVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBotVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBotVersionCommand;
38
+ }($Command));
39
+ export { DeleteBotVersionCommand };
@@ -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 { DeleteCustomVocabularyRequestFilterSensitiveLog, DeleteCustomVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteCustomVocabularyCommand, serializeAws_restJson1DeleteCustomVocabularyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteCustomVocabularyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCustomVocabularyCommand = (function (_super) {
7
+ __extends(DeleteCustomVocabularyCommand, _super);
8
+ function DeleteCustomVocabularyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomVocabularyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteCustomVocabularyCommand";
16
- const handlerExecutionContext = {
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 = "DeleteCustomVocabularyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomVocabularyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteCustomVocabularyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCustomVocabularyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteCustomVocabularyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomVocabularyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteCustomVocabularyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomVocabularyCommand;
38
+ }($Command));
39
+ export { DeleteCustomVocabularyCommand };
@@ -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 { DeleteExportRequestFilterSensitiveLog, DeleteExportResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteExportCommand, serializeAws_restJson1DeleteExportCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteExportCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteExportCommand = (function (_super) {
7
+ __extends(DeleteExportCommand, _super);
8
+ function DeleteExportCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteExportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteExportCommand";
16
- const handlerExecutionContext = {
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 = "DeleteExportCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteExportRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteExportResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteExportCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteExportCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteExportCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteExportCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteExportCommand;
38
+ }($Command));
39
+ export { DeleteExportCommand };
@@ -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 { DeleteImportRequestFilterSensitiveLog, DeleteImportResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteImportCommand, serializeAws_restJson1DeleteImportCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteImportCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteImportCommand = (function (_super) {
7
+ __extends(DeleteImportCommand, _super);
8
+ function DeleteImportCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteImportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LexModelsV2Client";
15
- const commandName = "DeleteImportCommand";
16
- const handlerExecutionContext = {
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 = "DeleteImportCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteImportRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteImportResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteImportCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteImportCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteImportCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteImportCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteImportCommand;
38
+ }($Command));
39
+ export { DeleteImportCommand };