@aws-sdk/client-lex-models-v2 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +8 -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 { DescribeBotVersionRequestFilterSensitiveLog, DescribeBotVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeBotVersionCommand, serializeAws_restJson1DescribeBotVersionCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeBotVersionCommand = (function (_super) {
7
- __extends(DescribeBotVersionCommand, _super);
8
- function DescribeBotVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeBotVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeBotVersionCommand.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 = "DescribeBotVersionCommand";
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 = "DescribeBotVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeBotVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeBotVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeBotVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeBotVersionCommand(input, context);
33
- };
34
- DescribeBotVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeBotVersionCommand(output, context);
36
- };
37
- return DescribeBotVersionCommand;
38
- }($Command));
39
- export { DescribeBotVersionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeCustomVocabularyMetadataRequestFilterSensitiveLog, DescribeCustomVocabularyMetadataResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand, serializeAws_restJson1DescribeCustomVocabularyMetadataCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeCustomVocabularyMetadataCommand = (function (_super) {
7
- __extends(DescribeCustomVocabularyMetadataCommand, _super);
8
- function DescribeCustomVocabularyMetadataCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCustomVocabularyMetadataCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCustomVocabularyMetadataCommand.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 = "DescribeCustomVocabularyMetadataCommand";
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 = "DescribeCustomVocabularyMetadataCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCustomVocabularyMetadataRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeCustomVocabularyMetadataResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCustomVocabularyMetadataCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeCustomVocabularyMetadataCommand(input, context);
33
- };
34
- DescribeCustomVocabularyMetadataCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand(output, context);
36
- };
37
- return DescribeCustomVocabularyMetadataCommand;
38
- }($Command));
39
- export { DescribeCustomVocabularyMetadataCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeExportRequestFilterSensitiveLog, DescribeExportResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeExportCommand, serializeAws_restJson1DescribeExportCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeExportCommand = (function (_super) {
7
- __extends(DescribeExportCommand, _super);
8
- function DescribeExportCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeExportCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeExportCommand.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 = "DescribeExportCommand";
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 = "DescribeExportCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeExportRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeExportResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeExportCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeExportCommand(input, context);
33
- };
34
- DescribeExportCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeExportCommand(output, context);
36
- };
37
- return DescribeExportCommand;
38
- }($Command));
39
- export { DescribeExportCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeImportRequestFilterSensitiveLog, DescribeImportResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeImportCommand, serializeAws_restJson1DescribeImportCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeImportCommand = (function (_super) {
7
- __extends(DescribeImportCommand, _super);
8
- function DescribeImportCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeImportCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeImportCommand.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 = "DescribeImportCommand";
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 = "DescribeImportCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeImportRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeImportResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeImportCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeImportCommand(input, context);
33
- };
34
- DescribeImportCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeImportCommand(output, context);
36
- };
37
- return DescribeImportCommand;
38
- }($Command));
39
- export { DescribeImportCommand };
31
+ }
32
+ }
@@ -1,40 +1,33 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeIntentRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { DescribeIntentResponseFilterSensitiveLog } from "../models/models_1";
6
5
  import { deserializeAws_restJson1DescribeIntentCommand, serializeAws_restJson1DescribeIntentCommand, } from "../protocols/Aws_restJson1";
7
- var DescribeIntentCommand = (function (_super) {
8
- __extends(DescribeIntentCommand, _super);
9
- function DescribeIntentCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DescribeIntentCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DescribeIntentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- var stack = clientStack.concat(this.middlewareStack);
17
- var logger = configuration.logger;
18
- var clientName = "LexModelsV2Client";
19
- var commandName = "DescribeIntentCommand";
20
- var handlerExecutionContext = {
21
- logger: logger,
22
- clientName: clientName,
23
- commandName: commandName,
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "LexModelsV2Client";
16
+ const commandName = "DescribeIntentCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
24
21
  inputFilterSensitiveLog: DescribeIntentRequestFilterSensitiveLog,
25
22
  outputFilterSensitiveLog: DescribeIntentResponseFilterSensitiveLog,
26
23
  };
27
- var requestHandler = configuration.requestHandler;
28
- return stack.resolve(function (request) {
29
- return requestHandler.handle(request.request, options || {});
30
- }, handlerExecutionContext);
31
- };
32
- DescribeIntentCommand.prototype.serialize = function (input, context) {
24
+ const { requestHandler } = configuration;
25
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
26
+ }
27
+ serialize(input, context) {
33
28
  return serializeAws_restJson1DescribeIntentCommand(input, context);
34
- };
35
- DescribeIntentCommand.prototype.deserialize = function (output, context) {
29
+ }
30
+ deserialize(output, context) {
36
31
  return deserializeAws_restJson1DescribeIntentCommand(output, context);
37
- };
38
- return DescribeIntentCommand;
39
- }($Command));
40
- export { DescribeIntentCommand };
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeResourcePolicyRequestFilterSensitiveLog, DescribeResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeResourcePolicyCommand, serializeAws_restJson1DescribeResourcePolicyCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeResourcePolicyCommand = (function (_super) {
7
- __extends(DescribeResourcePolicyCommand, _super);
8
- function DescribeResourcePolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeResourcePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeResourcePolicyCommand.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 = "DescribeResourcePolicyCommand";
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 = "DescribeResourcePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeResourcePolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeResourcePolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeResourcePolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeResourcePolicyCommand(input, context);
33
- };
34
- DescribeResourcePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeResourcePolicyCommand(output, context);
36
- };
37
- return DescribeResourcePolicyCommand;
38
- }($Command));
39
- export { DescribeResourcePolicyCommand };
31
+ }
32
+ }
@@ -1,40 +1,33 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeSlotRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { DescribeSlotResponseFilterSensitiveLog } from "../models/models_1";
6
5
  import { deserializeAws_restJson1DescribeSlotCommand, serializeAws_restJson1DescribeSlotCommand, } from "../protocols/Aws_restJson1";
7
- var DescribeSlotCommand = (function (_super) {
8
- __extends(DescribeSlotCommand, _super);
9
- function DescribeSlotCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DescribeSlotCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DescribeSlotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- var stack = clientStack.concat(this.middlewareStack);
17
- var logger = configuration.logger;
18
- var clientName = "LexModelsV2Client";
19
- var commandName = "DescribeSlotCommand";
20
- var handlerExecutionContext = {
21
- logger: logger,
22
- clientName: clientName,
23
- commandName: commandName,
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "LexModelsV2Client";
16
+ const commandName = "DescribeSlotCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
24
21
  inputFilterSensitiveLog: DescribeSlotRequestFilterSensitiveLog,
25
22
  outputFilterSensitiveLog: DescribeSlotResponseFilterSensitiveLog,
26
23
  };
27
- var requestHandler = configuration.requestHandler;
28
- return stack.resolve(function (request) {
29
- return requestHandler.handle(request.request, options || {});
30
- }, handlerExecutionContext);
31
- };
32
- DescribeSlotCommand.prototype.serialize = function (input, context) {
24
+ const { requestHandler } = configuration;
25
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
26
+ }
27
+ serialize(input, context) {
33
28
  return serializeAws_restJson1DescribeSlotCommand(input, context);
34
- };
35
- DescribeSlotCommand.prototype.deserialize = function (output, context) {
29
+ }
30
+ deserialize(output, context) {
36
31
  return deserializeAws_restJson1DescribeSlotCommand(output, context);
37
- };
38
- return DescribeSlotCommand;
39
- }($Command));
40
- export { DescribeSlotCommand };
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeSlotTypeRequestFilterSensitiveLog, DescribeSlotTypeResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeSlotTypeCommand, serializeAws_restJson1DescribeSlotTypeCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeSlotTypeCommand = (function (_super) {
7
- __extends(DescribeSlotTypeCommand, _super);
8
- function DescribeSlotTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSlotTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSlotTypeCommand.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 = "DescribeSlotTypeCommand";
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 = "DescribeSlotTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSlotTypeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSlotTypeResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSlotTypeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeSlotTypeCommand(input, context);
33
- };
34
- DescribeSlotTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeSlotTypeCommand(output, context);
36
- };
37
- return DescribeSlotTypeCommand;
38
- }($Command));
39
- export { DescribeSlotTypeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListAggregatedUtterancesRequestFilterSensitiveLog, ListAggregatedUtterancesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAggregatedUtterancesCommand, serializeAws_restJson1ListAggregatedUtterancesCommand, } from "../protocols/Aws_restJson1";
6
- var ListAggregatedUtterancesCommand = (function (_super) {
7
- __extends(ListAggregatedUtterancesCommand, _super);
8
- function ListAggregatedUtterancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAggregatedUtterancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAggregatedUtterancesCommand.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 = "ListAggregatedUtterancesCommand";
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 = "ListAggregatedUtterancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAggregatedUtterancesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAggregatedUtterancesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAggregatedUtterancesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListAggregatedUtterancesCommand(input, context);
33
- };
34
- ListAggregatedUtterancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAggregatedUtterancesCommand(output, context);
36
- };
37
- return ListAggregatedUtterancesCommand;
38
- }($Command));
39
- export { ListAggregatedUtterancesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListBotAliasesRequestFilterSensitiveLog, ListBotAliasesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBotAliasesCommand, serializeAws_restJson1ListBotAliasesCommand, } from "../protocols/Aws_restJson1";
6
- var ListBotAliasesCommand = (function (_super) {
7
- __extends(ListBotAliasesCommand, _super);
8
- function ListBotAliasesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListBotAliasesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBotAliasesCommand.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 = "ListBotAliasesCommand";
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 = "ListBotAliasesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListBotAliasesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBotAliasesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListBotAliasesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListBotAliasesCommand(input, context);
33
- };
34
- ListBotAliasesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBotAliasesCommand(output, context);
36
- };
37
- return ListBotAliasesCommand;
38
- }($Command));
39
- export { ListBotAliasesCommand };
31
+ }
32
+ }