@aws-sdk/client-lex-models-v2 3.186.0 → 3.190.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 (102) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/LexModelsV2.js +270 -277
  3. package/dist-es/LexModelsV2Client.js +22 -28
  4. package/dist-es/commands/BuildBotLocaleCommand.js +21 -28
  5. package/dist-es/commands/CreateBotAliasCommand.js +21 -28
  6. package/dist-es/commands/CreateBotCommand.js +21 -28
  7. package/dist-es/commands/CreateBotLocaleCommand.js +21 -28
  8. package/dist-es/commands/CreateBotVersionCommand.js +21 -28
  9. package/dist-es/commands/CreateExportCommand.js +21 -28
  10. package/dist-es/commands/CreateIntentCommand.js +21 -28
  11. package/dist-es/commands/CreateResourcePolicyCommand.js +21 -28
  12. package/dist-es/commands/CreateResourcePolicyStatementCommand.js +21 -28
  13. package/dist-es/commands/CreateSlotCommand.js +21 -28
  14. package/dist-es/commands/CreateSlotTypeCommand.js +21 -28
  15. package/dist-es/commands/CreateUploadUrlCommand.js +21 -28
  16. package/dist-es/commands/DeleteBotAliasCommand.js +21 -28
  17. package/dist-es/commands/DeleteBotCommand.js +21 -28
  18. package/dist-es/commands/DeleteBotLocaleCommand.js +21 -28
  19. package/dist-es/commands/DeleteBotVersionCommand.js +21 -28
  20. package/dist-es/commands/DeleteCustomVocabularyCommand.js +21 -28
  21. package/dist-es/commands/DeleteExportCommand.js +21 -28
  22. package/dist-es/commands/DeleteImportCommand.js +21 -28
  23. package/dist-es/commands/DeleteIntentCommand.js +22 -29
  24. package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
  25. package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +21 -28
  26. package/dist-es/commands/DeleteSlotCommand.js +22 -29
  27. package/dist-es/commands/DeleteSlotTypeCommand.js +22 -29
  28. package/dist-es/commands/DeleteUtterancesCommand.js +21 -28
  29. package/dist-es/commands/DescribeBotAliasCommand.js +21 -28
  30. package/dist-es/commands/DescribeBotCommand.js +21 -28
  31. package/dist-es/commands/DescribeBotLocaleCommand.js +21 -28
  32. package/dist-es/commands/DescribeBotRecommendationCommand.js +21 -28
  33. package/dist-es/commands/DescribeBotVersionCommand.js +21 -28
  34. package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +21 -28
  35. package/dist-es/commands/DescribeExportCommand.js +21 -28
  36. package/dist-es/commands/DescribeImportCommand.js +21 -28
  37. package/dist-es/commands/DescribeIntentCommand.js +21 -28
  38. package/dist-es/commands/DescribeResourcePolicyCommand.js +21 -28
  39. package/dist-es/commands/DescribeSlotCommand.js +21 -28
  40. package/dist-es/commands/DescribeSlotTypeCommand.js +21 -28
  41. package/dist-es/commands/ListAggregatedUtterancesCommand.js +21 -28
  42. package/dist-es/commands/ListBotAliasesCommand.js +21 -28
  43. package/dist-es/commands/ListBotLocalesCommand.js +21 -28
  44. package/dist-es/commands/ListBotRecommendationsCommand.js +21 -28
  45. package/dist-es/commands/ListBotVersionsCommand.js +21 -28
  46. package/dist-es/commands/ListBotsCommand.js +21 -28
  47. package/dist-es/commands/ListBuiltInIntentsCommand.js +21 -28
  48. package/dist-es/commands/ListBuiltInSlotTypesCommand.js +21 -28
  49. package/dist-es/commands/ListExportsCommand.js +21 -28
  50. package/dist-es/commands/ListImportsCommand.js +21 -28
  51. package/dist-es/commands/ListIntentsCommand.js +21 -28
  52. package/dist-es/commands/ListRecommendedIntentsCommand.js +21 -28
  53. package/dist-es/commands/ListSlotTypesCommand.js +21 -28
  54. package/dist-es/commands/ListSlotsCommand.js +21 -28
  55. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  56. package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +21 -28
  57. package/dist-es/commands/StartBotRecommendationCommand.js +21 -28
  58. package/dist-es/commands/StartImportCommand.js +21 -28
  59. package/dist-es/commands/StopBotRecommendationCommand.js +21 -28
  60. package/dist-es/commands/TagResourceCommand.js +21 -28
  61. package/dist-es/commands/UntagResourceCommand.js +21 -28
  62. package/dist-es/commands/UpdateBotAliasCommand.js +21 -28
  63. package/dist-es/commands/UpdateBotCommand.js +21 -28
  64. package/dist-es/commands/UpdateBotLocaleCommand.js +21 -28
  65. package/dist-es/commands/UpdateBotRecommendationCommand.js +21 -28
  66. package/dist-es/commands/UpdateExportCommand.js +21 -28
  67. package/dist-es/commands/UpdateIntentCommand.js +21 -28
  68. package/dist-es/commands/UpdateResourcePolicyCommand.js +21 -28
  69. package/dist-es/commands/UpdateSlotCommand.js +21 -28
  70. package/dist-es/commands/UpdateSlotTypeCommand.js +21 -28
  71. package/dist-es/endpoints.js +8 -8
  72. package/dist-es/models/LexModelsV2ServiceException.js +5 -10
  73. package/dist-es/models/models_0.js +808 -319
  74. package/dist-es/models/models_1.js +78 -27
  75. package/dist-es/pagination/ListAggregatedUtterancesPaginator.js +25 -68
  76. package/dist-es/pagination/ListBotAliasesPaginator.js +25 -68
  77. package/dist-es/pagination/ListBotLocalesPaginator.js +25 -68
  78. package/dist-es/pagination/ListBotRecommendationsPaginator.js +25 -68
  79. package/dist-es/pagination/ListBotVersionsPaginator.js +25 -68
  80. package/dist-es/pagination/ListBotsPaginator.js +25 -68
  81. package/dist-es/pagination/ListBuiltInIntentsPaginator.js +25 -68
  82. package/dist-es/pagination/ListBuiltInSlotTypesPaginator.js +25 -68
  83. package/dist-es/pagination/ListExportsPaginator.js +25 -68
  84. package/dist-es/pagination/ListImportsPaginator.js +25 -68
  85. package/dist-es/pagination/ListIntentsPaginator.js +25 -68
  86. package/dist-es/pagination/ListRecommendedIntentsPaginator.js +25 -68
  87. package/dist-es/pagination/ListSlotTypesPaginator.js +25 -68
  88. package/dist-es/pagination/ListSlotsPaginator.js +25 -68
  89. package/dist-es/protocols/Aws_restJson1.js +7152 -8746
  90. package/dist-es/runtimeConfig.browser.js +26 -12
  91. package/dist-es/runtimeConfig.js +30 -12
  92. package/dist-es/runtimeConfig.native.js +8 -5
  93. package/dist-es/runtimeConfig.shared.js +8 -11
  94. package/dist-es/waiters/waitForBotAliasAvailable.js +45 -65
  95. package/dist-es/waiters/waitForBotAvailable.js +54 -74
  96. package/dist-es/waiters/waitForBotExportCompleted.js +45 -65
  97. package/dist-es/waiters/waitForBotImportCompleted.js +45 -65
  98. package/dist-es/waiters/waitForBotLocaleBuilt.js +54 -74
  99. package/dist-es/waiters/waitForBotLocaleCreated.js +63 -83
  100. package/dist-es/waiters/waitForBotLocaleExpressTestingAvailable.js +63 -83
  101. package/dist-es/waiters/waitForBotVersionAvailable.js +48 -68
  102. 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 { ListBotLocalesRequestFilterSensitiveLog, ListBotLocalesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBotLocalesCommand, serializeAws_restJson1ListBotLocalesCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListBotLocalesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBotLocalesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListBotLocalesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBotLocalesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBotLocalesCommand(input, context);
33
- };
34
- ListBotLocalesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBotLocalesCommand(output, context);
36
- };
37
- return ListBotLocalesCommand;
38
- }($Command));
39
- export { ListBotLocalesCommand };
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 { ListBotRecommendationsRequestFilterSensitiveLog, ListBotRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBotRecommendationsCommand, serializeAws_restJson1ListBotRecommendationsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListBotRecommendationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBotRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListBotRecommendationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBotRecommendationsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBotRecommendationsCommand(input, context);
33
- };
34
- ListBotRecommendationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBotRecommendationsCommand(output, context);
36
- };
37
- return ListBotRecommendationsCommand;
38
- }($Command));
39
- export { ListBotRecommendationsCommand };
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 { ListBotVersionsRequestFilterSensitiveLog, ListBotVersionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBotVersionsCommand, serializeAws_restJson1ListBotVersionsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListBotVersionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBotVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListBotVersionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBotVersionsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBotVersionsCommand(input, context);
33
- };
34
- ListBotVersionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBotVersionsCommand(output, context);
36
- };
37
- return ListBotVersionsCommand;
38
- }($Command));
39
- export { ListBotVersionsCommand };
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 { ListBotsRequestFilterSensitiveLog, ListBotsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBotsCommand, serializeAws_restJson1ListBotsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListBotsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListBotsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBotsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBotsCommand(input, context);
33
- };
34
- ListBotsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBotsCommand(output, context);
36
- };
37
- return ListBotsCommand;
38
- }($Command));
39
- export { ListBotsCommand };
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 { ListBuiltInIntentsRequestFilterSensitiveLog, ListBuiltInIntentsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBuiltInIntentsCommand, serializeAws_restJson1ListBuiltInIntentsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListBuiltInIntentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBuiltInIntentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListBuiltInIntentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBuiltInIntentsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBuiltInIntentsCommand(input, context);
33
- };
34
- ListBuiltInIntentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBuiltInIntentsCommand(output, context);
36
- };
37
- return ListBuiltInIntentsCommand;
38
- }($Command));
39
- export { ListBuiltInIntentsCommand };
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 { ListBuiltInSlotTypesRequestFilterSensitiveLog, ListBuiltInSlotTypesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBuiltInSlotTypesCommand, serializeAws_restJson1ListBuiltInSlotTypesCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListBuiltInSlotTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBuiltInSlotTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListBuiltInSlotTypesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBuiltInSlotTypesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBuiltInSlotTypesCommand(input, context);
33
- };
34
- ListBuiltInSlotTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBuiltInSlotTypesCommand(output, context);
36
- };
37
- return ListBuiltInSlotTypesCommand;
38
- }($Command));
39
- export { ListBuiltInSlotTypesCommand };
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 { ListExportsRequestFilterSensitiveLog, ListExportsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListExportsCommand, serializeAws_restJson1ListExportsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListExportsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListExportsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListExportsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListExportsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListExportsCommand(input, context);
33
- };
34
- ListExportsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListExportsCommand(output, context);
36
- };
37
- return ListExportsCommand;
38
- }($Command));
39
- export { ListExportsCommand };
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 { ListImportsRequestFilterSensitiveLog, ListImportsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListImportsCommand, serializeAws_restJson1ListImportsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListImportsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListImportsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListImportsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListImportsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListImportsCommand(input, context);
33
- };
34
- ListImportsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListImportsCommand(output, context);
36
- };
37
- return ListImportsCommand;
38
- }($Command));
39
- export { ListImportsCommand };
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 { ListIntentsRequestFilterSensitiveLog, ListIntentsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListIntentsCommand, serializeAws_restJson1ListIntentsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListIntentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListIntentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListIntentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListIntentsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListIntentsCommand(input, context);
33
- };
34
- ListIntentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListIntentsCommand(output, context);
36
- };
37
- return ListIntentsCommand;
38
- }($Command));
39
- export { ListIntentsCommand };
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 { ListRecommendedIntentsRequestFilterSensitiveLog, ListRecommendedIntentsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListRecommendedIntentsCommand, serializeAws_restJson1ListRecommendedIntentsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListRecommendedIntentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListRecommendedIntentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListRecommendedIntentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListRecommendedIntentsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListRecommendedIntentsCommand(input, context);
33
- };
34
- ListRecommendedIntentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListRecommendedIntentsCommand(output, context);
36
- };
37
- return ListRecommendedIntentsCommand;
38
- }($Command));
39
- export { ListRecommendedIntentsCommand };
31
+ }
32
+ }