@aws-sdk/client-lex-models-v2 3.928.0 → 3.930.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 (129) hide show
  1. package/dist-cjs/index.js +5928 -5721
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/LexModelsV2Client.js +2 -0
  4. package/dist-es/commands/BatchCreateCustomVocabularyItemCommand.js +3 -9
  5. package/dist-es/commands/BatchDeleteCustomVocabularyItemCommand.js +3 -9
  6. package/dist-es/commands/BatchUpdateCustomVocabularyItemCommand.js +3 -9
  7. package/dist-es/commands/BuildBotLocaleCommand.js +3 -9
  8. package/dist-es/commands/CreateBotAliasCommand.js +3 -9
  9. package/dist-es/commands/CreateBotCommand.js +3 -9
  10. package/dist-es/commands/CreateBotLocaleCommand.js +3 -9
  11. package/dist-es/commands/CreateBotReplicaCommand.js +3 -9
  12. package/dist-es/commands/CreateBotVersionCommand.js +3 -9
  13. package/dist-es/commands/CreateExportCommand.js +3 -10
  14. package/dist-es/commands/CreateIntentCommand.js +3 -9
  15. package/dist-es/commands/CreateResourcePolicyCommand.js +3 -9
  16. package/dist-es/commands/CreateResourcePolicyStatementCommand.js +3 -9
  17. package/dist-es/commands/CreateSlotCommand.js +3 -9
  18. package/dist-es/commands/CreateSlotTypeCommand.js +3 -9
  19. package/dist-es/commands/CreateTestSetDiscrepancyReportCommand.js +3 -9
  20. package/dist-es/commands/CreateUploadUrlCommand.js +3 -9
  21. package/dist-es/commands/DeleteBotAliasCommand.js +3 -9
  22. package/dist-es/commands/DeleteBotCommand.js +3 -9
  23. package/dist-es/commands/DeleteBotLocaleCommand.js +3 -9
  24. package/dist-es/commands/DeleteBotReplicaCommand.js +3 -9
  25. package/dist-es/commands/DeleteBotVersionCommand.js +3 -9
  26. package/dist-es/commands/DeleteCustomVocabularyCommand.js +3 -9
  27. package/dist-es/commands/DeleteExportCommand.js +3 -9
  28. package/dist-es/commands/DeleteImportCommand.js +3 -9
  29. package/dist-es/commands/DeleteIntentCommand.js +3 -9
  30. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  31. package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +3 -9
  32. package/dist-es/commands/DeleteSlotCommand.js +3 -9
  33. package/dist-es/commands/DeleteSlotTypeCommand.js +3 -9
  34. package/dist-es/commands/DeleteTestSetCommand.js +3 -9
  35. package/dist-es/commands/DeleteUtterancesCommand.js +3 -9
  36. package/dist-es/commands/DescribeBotAliasCommand.js +3 -9
  37. package/dist-es/commands/DescribeBotCommand.js +3 -9
  38. package/dist-es/commands/DescribeBotLocaleCommand.js +3 -9
  39. package/dist-es/commands/DescribeBotRecommendationCommand.js +3 -10
  40. package/dist-es/commands/DescribeBotReplicaCommand.js +3 -9
  41. package/dist-es/commands/DescribeBotResourceGenerationCommand.js +3 -9
  42. package/dist-es/commands/DescribeBotVersionCommand.js +3 -9
  43. package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +3 -9
  44. package/dist-es/commands/DescribeExportCommand.js +3 -9
  45. package/dist-es/commands/DescribeImportCommand.js +3 -9
  46. package/dist-es/commands/DescribeIntentCommand.js +3 -9
  47. package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
  48. package/dist-es/commands/DescribeSlotCommand.js +3 -9
  49. package/dist-es/commands/DescribeSlotTypeCommand.js +3 -9
  50. package/dist-es/commands/DescribeTestExecutionCommand.js +3 -9
  51. package/dist-es/commands/DescribeTestSetCommand.js +3 -9
  52. package/dist-es/commands/DescribeTestSetDiscrepancyReportCommand.js +3 -9
  53. package/dist-es/commands/DescribeTestSetGenerationCommand.js +3 -9
  54. package/dist-es/commands/GenerateBotElementCommand.js +3 -9
  55. package/dist-es/commands/GetTestExecutionArtifactsUrlCommand.js +3 -9
  56. package/dist-es/commands/ListAggregatedUtterancesCommand.js +3 -9
  57. package/dist-es/commands/ListBotAliasReplicasCommand.js +3 -9
  58. package/dist-es/commands/ListBotAliasesCommand.js +3 -9
  59. package/dist-es/commands/ListBotLocalesCommand.js +3 -9
  60. package/dist-es/commands/ListBotRecommendationsCommand.js +3 -9
  61. package/dist-es/commands/ListBotReplicasCommand.js +3 -9
  62. package/dist-es/commands/ListBotResourceGenerationsCommand.js +3 -9
  63. package/dist-es/commands/ListBotVersionReplicasCommand.js +3 -9
  64. package/dist-es/commands/ListBotVersionsCommand.js +3 -9
  65. package/dist-es/commands/ListBotsCommand.js +3 -9
  66. package/dist-es/commands/ListBuiltInIntentsCommand.js +3 -9
  67. package/dist-es/commands/ListBuiltInSlotTypesCommand.js +3 -9
  68. package/dist-es/commands/ListCustomVocabularyItemsCommand.js +3 -9
  69. package/dist-es/commands/ListExportsCommand.js +3 -9
  70. package/dist-es/commands/ListImportsCommand.js +3 -9
  71. package/dist-es/commands/ListIntentMetricsCommand.js +3 -9
  72. package/dist-es/commands/ListIntentPathsCommand.js +3 -9
  73. package/dist-es/commands/ListIntentStageMetricsCommand.js +3 -9
  74. package/dist-es/commands/ListIntentsCommand.js +3 -9
  75. package/dist-es/commands/ListRecommendedIntentsCommand.js +3 -9
  76. package/dist-es/commands/ListSessionAnalyticsDataCommand.js +3 -9
  77. package/dist-es/commands/ListSessionMetricsCommand.js +3 -9
  78. package/dist-es/commands/ListSlotTypesCommand.js +3 -9
  79. package/dist-es/commands/ListSlotsCommand.js +3 -9
  80. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  81. package/dist-es/commands/ListTestExecutionResultItemsCommand.js +3 -9
  82. package/dist-es/commands/ListTestExecutionsCommand.js +3 -9
  83. package/dist-es/commands/ListTestSetRecordsCommand.js +3 -9
  84. package/dist-es/commands/ListTestSetsCommand.js +3 -9
  85. package/dist-es/commands/ListUtteranceAnalyticsDataCommand.js +3 -9
  86. package/dist-es/commands/ListUtteranceMetricsCommand.js +3 -9
  87. package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +3 -9
  88. package/dist-es/commands/StartBotRecommendationCommand.js +3 -10
  89. package/dist-es/commands/StartBotResourceGenerationCommand.js +3 -9
  90. package/dist-es/commands/StartImportCommand.js +3 -10
  91. package/dist-es/commands/StartTestExecutionCommand.js +3 -9
  92. package/dist-es/commands/StartTestSetGenerationCommand.js +3 -9
  93. package/dist-es/commands/StopBotRecommendationCommand.js +3 -9
  94. package/dist-es/commands/TagResourceCommand.js +3 -9
  95. package/dist-es/commands/UntagResourceCommand.js +3 -9
  96. package/dist-es/commands/UpdateBotAliasCommand.js +3 -9
  97. package/dist-es/commands/UpdateBotCommand.js +3 -9
  98. package/dist-es/commands/UpdateBotLocaleCommand.js +3 -9
  99. package/dist-es/commands/UpdateBotRecommendationCommand.js +3 -10
  100. package/dist-es/commands/UpdateExportCommand.js +3 -10
  101. package/dist-es/commands/UpdateIntentCommand.js +3 -9
  102. package/dist-es/commands/UpdateResourcePolicyCommand.js +3 -9
  103. package/dist-es/commands/UpdateSlotCommand.js +3 -9
  104. package/dist-es/commands/UpdateSlotTypeCommand.js +3 -9
  105. package/dist-es/commands/UpdateTestSetCommand.js +3 -9
  106. package/dist-es/models/models_0.js +0 -5
  107. package/dist-es/models/models_1.js +0 -34
  108. package/dist-es/runtimeConfig.shared.js +2 -0
  109. package/dist-es/schemas/schemas_0.js +5593 -0
  110. package/dist-types/LexModelsV2Client.d.ts +10 -1
  111. package/dist-types/models/models_0.d.ts +0 -4
  112. package/dist-types/models/models_1.d.ts +0 -32
  113. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  114. package/dist-types/runtimeConfig.d.ts +1 -0
  115. package/dist-types/runtimeConfig.native.d.ts +1 -0
  116. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  117. package/dist-types/schemas/schemas_0.d.ts +697 -0
  118. package/dist-types/ts3.4/LexModelsV2Client.d.ts +4 -0
  119. package/dist-types/ts3.4/models/models_0.d.ts +0 -3
  120. package/dist-types/ts3.4/models/models_1.d.ts +0 -24
  121. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  122. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  123. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  124. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  125. package/dist-types/ts3.4/schemas/schemas_0.d.ts +704 -0
  126. package/package.json +34 -34
  127. package/dist-es/protocols/Aws_restJson1.js +0 -4820
  128. package/dist-types/protocols/Aws_restJson1.d.ts +0 -920
  129. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1229
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.lexmodelsv2" }),
28
30
  serviceId: config?.serviceId ?? "Lex Models V2",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class LexModelsV2Client extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchCreateCustomVocabularyItemCommand, se_BatchCreateCustomVocabularyItemCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchCreateCustomVocabularyItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchCreateCustomVocabularyItemCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "BatchCreateCustomVocabularyItem", {})
17
13
  .n("LexModelsV2Client", "BatchCreateCustomVocabularyItemCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchCreateCustomVocabularyItemCommand)
20
- .de(de_BatchCreateCustomVocabularyItemCommand)
14
+ .sc(BatchCreateCustomVocabularyItem)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchDeleteCustomVocabularyItemCommand, se_BatchDeleteCustomVocabularyItemCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchDeleteCustomVocabularyItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchDeleteCustomVocabularyItemCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "BatchDeleteCustomVocabularyItem", {})
17
13
  .n("LexModelsV2Client", "BatchDeleteCustomVocabularyItemCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchDeleteCustomVocabularyItemCommand)
20
- .de(de_BatchDeleteCustomVocabularyItemCommand)
14
+ .sc(BatchDeleteCustomVocabularyItem)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchUpdateCustomVocabularyItemCommand, se_BatchUpdateCustomVocabularyItemCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchUpdateCustomVocabularyItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchUpdateCustomVocabularyItemCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "BatchUpdateCustomVocabularyItem", {})
17
13
  .n("LexModelsV2Client", "BatchUpdateCustomVocabularyItemCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchUpdateCustomVocabularyItemCommand)
20
- .de(de_BatchUpdateCustomVocabularyItemCommand)
14
+ .sc(BatchUpdateCustomVocabularyItem)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BuildBotLocaleCommand, se_BuildBotLocaleCommand } from "../protocols/Aws_restJson1";
4
+ import { BuildBotLocale } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BuildBotLocaleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "BuildBotLocale", {})
17
13
  .n("LexModelsV2Client", "BuildBotLocaleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BuildBotLocaleCommand)
20
- .de(de_BuildBotLocaleCommand)
14
+ .sc(BuildBotLocale)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBotAliasCommand, se_CreateBotAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBotAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBotAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateBotAlias", {})
17
13
  .n("LexModelsV2Client", "CreateBotAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBotAliasCommand)
20
- .de(de_CreateBotAliasCommand)
14
+ .sc(CreateBotAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBotCommand, se_CreateBotCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateBot", {})
17
13
  .n("LexModelsV2Client", "CreateBotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBotCommand)
20
- .de(de_CreateBotCommand)
14
+ .sc(CreateBot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBotLocaleCommand, se_CreateBotLocaleCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBotLocale } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBotLocaleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateBotLocale", {})
17
13
  .n("LexModelsV2Client", "CreateBotLocaleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBotLocaleCommand)
20
- .de(de_CreateBotLocaleCommand)
14
+ .sc(CreateBotLocale)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBotReplicaCommand, se_CreateBotReplicaCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBotReplica } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBotReplicaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateBotReplica", {})
17
13
  .n("LexModelsV2Client", "CreateBotReplicaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBotReplicaCommand)
20
- .de(de_CreateBotReplicaCommand)
14
+ .sc(CreateBotReplica)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBotVersionCommand, se_CreateBotVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBotVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBotVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateBotVersion", {})
17
13
  .n("LexModelsV2Client", "CreateBotVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBotVersionCommand)
20
- .de(de_CreateBotVersionCommand)
14
+ .sc(CreateBotVersion)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateExportRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateExportCommand, se_CreateExportCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateExport } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateExportCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("LexModelBuildingServiceV2", "CreateExport", {})
18
13
  .n("LexModelsV2Client", "CreateExportCommand")
19
- .f(CreateExportRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateExportCommand)
21
- .de(de_CreateExportCommand)
14
+ .sc(CreateExport)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateIntentCommand, se_CreateIntentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateIntent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateIntentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateIntent", {})
17
13
  .n("LexModelsV2Client", "CreateIntentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateIntentCommand)
20
- .de(de_CreateIntentCommand)
14
+ .sc(CreateIntent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateResourcePolicyCommand, se_CreateResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateResourcePolicy", {})
17
13
  .n("LexModelsV2Client", "CreateResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResourcePolicyCommand)
20
- .de(de_CreateResourcePolicyCommand)
14
+ .sc(CreateResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateResourcePolicyStatementCommand, se_CreateResourcePolicyStatementCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateResourcePolicyStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResourcePolicyStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateResourcePolicyStatement", {})
17
13
  .n("LexModelsV2Client", "CreateResourcePolicyStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResourcePolicyStatementCommand)
20
- .de(de_CreateResourcePolicyStatementCommand)
14
+ .sc(CreateResourcePolicyStatement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSlotCommand, se_CreateSlotCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSlot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSlotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateSlot", {})
17
13
  .n("LexModelsV2Client", "CreateSlotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSlotCommand)
20
- .de(de_CreateSlotCommand)
14
+ .sc(CreateSlot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSlotTypeCommand, se_CreateSlotTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSlotType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSlotTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateSlotType", {})
17
13
  .n("LexModelsV2Client", "CreateSlotTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSlotTypeCommand)
20
- .de(de_CreateSlotTypeCommand)
14
+ .sc(CreateSlotType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTestSetDiscrepancyReportCommand, se_CreateTestSetDiscrepancyReportCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateTestSetDiscrepancyReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTestSetDiscrepancyReportCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateTestSetDiscrepancyReport", {})
17
13
  .n("LexModelsV2Client", "CreateTestSetDiscrepancyReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTestSetDiscrepancyReportCommand)
20
- .de(de_CreateTestSetDiscrepancyReportCommand)
14
+ .sc(CreateTestSetDiscrepancyReport)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateUploadUrlCommand, se_CreateUploadUrlCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateUploadUrl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUploadUrlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "CreateUploadUrl", {})
17
13
  .n("LexModelsV2Client", "CreateUploadUrlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUploadUrlCommand)
20
- .de(de_CreateUploadUrlCommand)
14
+ .sc(CreateUploadUrl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBotAliasCommand, se_DeleteBotAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBotAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBotAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "DeleteBotAlias", {})
17
13
  .n("LexModelsV2Client", "DeleteBotAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBotAliasCommand)
20
- .de(de_DeleteBotAliasCommand)
14
+ .sc(DeleteBotAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBotCommand, se_DeleteBotCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBotCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "DeleteBot", {})
17
13
  .n("LexModelsV2Client", "DeleteBotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBotCommand)
20
- .de(de_DeleteBotCommand)
14
+ .sc(DeleteBot)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBotLocaleCommand, se_DeleteBotLocaleCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBotLocale } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBotLocaleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "DeleteBotLocale", {})
17
13
  .n("LexModelsV2Client", "DeleteBotLocaleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBotLocaleCommand)
20
- .de(de_DeleteBotLocaleCommand)
14
+ .sc(DeleteBotLocale)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBotReplicaCommand, se_DeleteBotReplicaCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBotReplica } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBotReplicaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "DeleteBotReplica", {})
17
13
  .n("LexModelsV2Client", "DeleteBotReplicaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBotReplicaCommand)
20
- .de(de_DeleteBotReplicaCommand)
14
+ .sc(DeleteBotReplica)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBotVersionCommand, se_DeleteBotVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBotVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBotVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("LexModelBuildingServiceV2", "DeleteBotVersion", {})
17
13
  .n("LexModelsV2Client", "DeleteBotVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBotVersionCommand)
20
- .de(de_DeleteBotVersionCommand)
14
+ .sc(DeleteBotVersion)
21
15
  .build() {
22
16
  }