@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
@@ -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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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", "UntagResource", {})
17
13
  .n("LexModelsV2Client", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateBotAliasCommand, se_UpdateBotAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateBotAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateBotAliasCommand 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", "UpdateBotAlias", {})
17
13
  .n("LexModelsV2Client", "UpdateBotAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateBotAliasCommand)
20
- .de(de_UpdateBotAliasCommand)
14
+ .sc(UpdateBotAlias)
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_UpdateBotCommand, se_UpdateBotCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateBot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateBotCommand 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", "UpdateBot", {})
17
13
  .n("LexModelsV2Client", "UpdateBotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateBotCommand)
20
- .de(de_UpdateBotCommand)
14
+ .sc(UpdateBot)
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_UpdateBotLocaleCommand, se_UpdateBotLocaleCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateBotLocale } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateBotLocaleCommand 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", "UpdateBotLocale", {})
17
13
  .n("LexModelsV2Client", "UpdateBotLocaleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateBotLocaleCommand)
20
- .de(de_UpdateBotLocaleCommand)
14
+ .sc(UpdateBotLocale)
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 { UpdateBotRecommendationRequestFilterSensitiveLog, UpdateBotRecommendationResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_UpdateBotRecommendationCommand, se_UpdateBotRecommendationCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateBotRecommendation } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateBotRecommendationCommand 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", "UpdateBotRecommendation", {})
18
13
  .n("LexModelsV2Client", "UpdateBotRecommendationCommand")
19
- .f(UpdateBotRecommendationRequestFilterSensitiveLog, UpdateBotRecommendationResponseFilterSensitiveLog)
20
- .ser(se_UpdateBotRecommendationCommand)
21
- .de(de_UpdateBotRecommendationCommand)
14
+ .sc(UpdateBotRecommendation)
22
15
  .build() {
23
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 { UpdateExportRequestFilterSensitiveLog } from "../models/models_1";
6
- import { de_UpdateExportCommand, se_UpdateExportCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateExport } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateExportCommand 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", "UpdateExport", {})
18
13
  .n("LexModelsV2Client", "UpdateExportCommand")
19
- .f(UpdateExportRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateExportCommand)
21
- .de(de_UpdateExportCommand)
14
+ .sc(UpdateExport)
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_UpdateIntentCommand, se_UpdateIntentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateIntent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateIntentCommand 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", "UpdateIntent", {})
17
13
  .n("LexModelsV2Client", "UpdateIntentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateIntentCommand)
20
- .de(de_UpdateIntentCommand)
14
+ .sc(UpdateIntent)
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_UpdateResourcePolicyCommand, se_UpdateResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateResourcePolicyCommand 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", "UpdateResourcePolicy", {})
17
13
  .n("LexModelsV2Client", "UpdateResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateResourcePolicyCommand)
20
- .de(de_UpdateResourcePolicyCommand)
14
+ .sc(UpdateResourcePolicy)
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_UpdateSlotCommand, se_UpdateSlotCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSlot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSlotCommand 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", "UpdateSlot", {})
17
13
  .n("LexModelsV2Client", "UpdateSlotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSlotCommand)
20
- .de(de_UpdateSlotCommand)
14
+ .sc(UpdateSlot)
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_UpdateSlotTypeCommand, se_UpdateSlotTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSlotType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSlotTypeCommand 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", "UpdateSlotType", {})
17
13
  .n("LexModelsV2Client", "UpdateSlotTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSlotTypeCommand)
20
- .de(de_UpdateSlotTypeCommand)
14
+ .sc(UpdateSlotType)
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_UpdateTestSetCommand, se_UpdateTestSetCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateTestSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateTestSetCommand 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", "UpdateTestSet", {})
17
13
  .n("LexModelsV2Client", "UpdateTestSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateTestSetCommand)
20
- .de(de_UpdateTestSetCommand)
14
+ .sc(UpdateTestSet)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
3
2
  export const AudioRecognitionStrategy = {
4
3
  UseSlotValuesAsCustomVocabulary: "UseSlotValuesAsCustomVocabulary",
@@ -446,7 +445,3 @@ export const ImportStatus = {
446
445
  Failed: "Failed",
447
446
  InProgress: "InProgress",
448
447
  };
449
- export const CreateExportRequestFilterSensitiveLog = (obj) => ({
450
- ...obj,
451
- ...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
452
- });
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  export const TranscriptFormat = {
3
2
  Lex: "Lex",
4
3
  };
@@ -159,36 +158,3 @@ export const SearchOrder = {
159
158
  Ascending: "Ascending",
160
159
  Descending: "Descending",
161
160
  };
162
- export const EncryptionSettingFilterSensitiveLog = (obj) => ({
163
- ...obj,
164
- ...(obj.botLocaleExportPassword && { botLocaleExportPassword: SENSITIVE_STRING }),
165
- ...(obj.associatedTranscriptsPassword && { associatedTranscriptsPassword: SENSITIVE_STRING }),
166
- });
167
- export const DescribeBotRecommendationResponseFilterSensitiveLog = (obj) => ({
168
- ...obj,
169
- ...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
170
- });
171
- export const StartBotRecommendationRequestFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- ...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
174
- });
175
- export const StartBotRecommendationResponseFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- ...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
178
- });
179
- export const StartImportRequestFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- ...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
182
- });
183
- export const UpdateBotRecommendationRequestFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- ...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
186
- });
187
- export const UpdateBotRecommendationResponseFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- ...(obj.encryptionSetting && { encryptionSetting: EncryptionSettingFilterSensitiveLog(obj.encryptionSetting) }),
190
- });
191
- export const UpdateExportRequestFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
194
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.lexmodelsv2" }),
25
27
  serviceId: config?.serviceId ?? "Lex Models V2",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,