@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.
Files changed (103) hide show
  1. package/CHANGELOG.md +11 -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 +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 { ListBotLocalesRequestFilterSensitiveLog, ListBotLocalesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBotLocalesCommand, serializeAws_restJson1ListBotLocalesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBotLocalesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBotLocalesCommand = (function (_super) {
7
+ __extends(ListBotLocalesCommand, _super);
8
+ function ListBotLocalesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBotLocalesCommand.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 = "ListBotLocalesCommand";
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 = "ListBotLocalesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBotLocalesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBotLocalesResponseFilterSensitiveLog,
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
+ ListBotLocalesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBotLocalesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBotLocalesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBotLocalesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBotLocalesCommand;
38
+ }($Command));
39
+ export { ListBotLocalesCommand };
@@ -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 { ListBotRecommendationsRequestFilterSensitiveLog, ListBotRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBotRecommendationsCommand, serializeAws_restJson1ListBotRecommendationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBotRecommendationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBotRecommendationsCommand = (function (_super) {
7
+ __extends(ListBotRecommendationsCommand, _super);
8
+ function ListBotRecommendationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBotRecommendationsCommand.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 = "ListBotRecommendationsCommand";
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 = "ListBotRecommendationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBotRecommendationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBotRecommendationsResponseFilterSensitiveLog,
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
+ ListBotRecommendationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBotRecommendationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBotRecommendationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBotRecommendationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBotRecommendationsCommand;
38
+ }($Command));
39
+ export { ListBotRecommendationsCommand };
@@ -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 { ListBotVersionsRequestFilterSensitiveLog, ListBotVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBotVersionsCommand, serializeAws_restJson1ListBotVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBotVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBotVersionsCommand = (function (_super) {
7
+ __extends(ListBotVersionsCommand, _super);
8
+ function ListBotVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBotVersionsCommand.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 = "ListBotVersionsCommand";
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 = "ListBotVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBotVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBotVersionsResponseFilterSensitiveLog,
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
+ ListBotVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBotVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBotVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBotVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBotVersionsCommand;
38
+ }($Command));
39
+ export { ListBotVersionsCommand };
@@ -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 { ListBotsRequestFilterSensitiveLog, ListBotsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBotsCommand, serializeAws_restJson1ListBotsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBotsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBotsCommand = (function (_super) {
7
+ __extends(ListBotsCommand, _super);
8
+ function ListBotsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBotsCommand.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 = "ListBotsCommand";
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 = "ListBotsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBotsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBotsResponseFilterSensitiveLog,
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
+ ListBotsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBotsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBotsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBotsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBotsCommand;
38
+ }($Command));
39
+ export { ListBotsCommand };
@@ -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 { ListBuiltInIntentsRequestFilterSensitiveLog, ListBuiltInIntentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBuiltInIntentsCommand, serializeAws_restJson1ListBuiltInIntentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBuiltInIntentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBuiltInIntentsCommand = (function (_super) {
7
+ __extends(ListBuiltInIntentsCommand, _super);
8
+ function ListBuiltInIntentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBuiltInIntentsCommand.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 = "ListBuiltInIntentsCommand";
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 = "ListBuiltInIntentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBuiltInIntentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBuiltInIntentsResponseFilterSensitiveLog,
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
+ ListBuiltInIntentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBuiltInIntentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBuiltInIntentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBuiltInIntentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBuiltInIntentsCommand;
38
+ }($Command));
39
+ export { ListBuiltInIntentsCommand };
@@ -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 { ListBuiltInSlotTypesRequestFilterSensitiveLog, ListBuiltInSlotTypesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBuiltInSlotTypesCommand, serializeAws_restJson1ListBuiltInSlotTypesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBuiltInSlotTypesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBuiltInSlotTypesCommand = (function (_super) {
7
+ __extends(ListBuiltInSlotTypesCommand, _super);
8
+ function ListBuiltInSlotTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBuiltInSlotTypesCommand.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 = "ListBuiltInSlotTypesCommand";
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 = "ListBuiltInSlotTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBuiltInSlotTypesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBuiltInSlotTypesResponseFilterSensitiveLog,
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
+ ListBuiltInSlotTypesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBuiltInSlotTypesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBuiltInSlotTypesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBuiltInSlotTypesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBuiltInSlotTypesCommand;
38
+ }($Command));
39
+ export { ListBuiltInSlotTypesCommand };
@@ -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 { ListExportsRequestFilterSensitiveLog, ListExportsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListExportsCommand, serializeAws_restJson1ListExportsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListExportsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListExportsCommand = (function (_super) {
7
+ __extends(ListExportsCommand, _super);
8
+ function ListExportsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListExportsCommand.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 = "ListExportsCommand";
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 = "ListExportsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListExportsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListExportsResponseFilterSensitiveLog,
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
+ ListExportsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListExportsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListExportsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListExportsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListExportsCommand;
38
+ }($Command));
39
+ export { ListExportsCommand };
@@ -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 { ListImportsRequestFilterSensitiveLog, ListImportsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImportsCommand, serializeAws_restJson1ListImportsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImportsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImportsCommand = (function (_super) {
7
+ __extends(ListImportsCommand, _super);
8
+ function ListImportsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImportsCommand.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 = "ListImportsCommand";
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 = "ListImportsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImportsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImportsResponseFilterSensitiveLog,
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
+ ListImportsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImportsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImportsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImportsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImportsCommand;
38
+ }($Command));
39
+ export { ListImportsCommand };
@@ -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 { ListIntentsRequestFilterSensitiveLog, ListIntentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListIntentsCommand, serializeAws_restJson1ListIntentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListIntentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListIntentsCommand = (function (_super) {
7
+ __extends(ListIntentsCommand, _super);
8
+ function ListIntentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListIntentsCommand.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 = "ListIntentsCommand";
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 = "ListIntentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListIntentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListIntentsResponseFilterSensitiveLog,
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
+ ListIntentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListIntentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListIntentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListIntentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListIntentsCommand;
38
+ }($Command));
39
+ export { ListIntentsCommand };
@@ -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 { ListRecommendedIntentsRequestFilterSensitiveLog, ListRecommendedIntentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRecommendedIntentsCommand, serializeAws_restJson1ListRecommendedIntentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRecommendedIntentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRecommendedIntentsCommand = (function (_super) {
7
+ __extends(ListRecommendedIntentsCommand, _super);
8
+ function ListRecommendedIntentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRecommendedIntentsCommand.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 = "ListRecommendedIntentsCommand";
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 = "ListRecommendedIntentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRecommendedIntentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRecommendedIntentsResponseFilterSensitiveLog,
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
+ ListRecommendedIntentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRecommendedIntentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRecommendedIntentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRecommendedIntentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRecommendedIntentsCommand;
38
+ }($Command));
39
+ export { ListRecommendedIntentsCommand };