@aws-sdk/client-lex-models-v2 3.41.0 → 3.45.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 (62) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/LexModelsV2.js +90 -0
  3. package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
  4. package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
  5. package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
  6. package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
  7. package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +1 -0
  11. package/dist-cjs/models/models_0.js +231 -5
  12. package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
  13. package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
  14. package/dist-cjs/pagination/index.js +2 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +1531 -186
  16. package/dist-es/LexModelsV2.js +90 -0
  17. package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
  18. package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
  19. package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
  20. package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
  21. package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
  22. package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
  23. package/dist-es/commands/index.js +6 -0
  24. package/dist-es/endpoints.js +1 -0
  25. package/dist-es/models/models_0.js +158 -0
  26. package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
  27. package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
  28. package/dist-es/pagination/index.js +2 -0
  29. package/dist-es/protocols/Aws_restJson1.js +1543 -135
  30. package/dist-types/LexModelsV2.d.ts +56 -6
  31. package/dist-types/LexModelsV2Client.d.ts +8 -2
  32. package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -3
  34. package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
  35. package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
  36. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
  38. package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
  39. package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
  40. package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
  41. package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
  42. package/dist-types/commands/index.d.ts +6 -0
  43. package/dist-types/models/models_0.d.ts +1117 -91
  44. package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  48. package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
  49. package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
  50. package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +480 -2
  58. package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
  60. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  62. package/package.json +5 -5
@@ -27,6 +27,7 @@ import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "../
27
27
  import { DescribeBotAliasCommandInput, DescribeBotAliasCommandOutput } from "../commands/DescribeBotAliasCommand";
28
28
  import { DescribeBotCommandInput, DescribeBotCommandOutput } from "../commands/DescribeBotCommand";
29
29
  import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "../commands/DescribeBotLocaleCommand";
30
+ import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "../commands/DescribeBotRecommendationCommand";
30
31
  import { DescribeBotVersionCommandInput, DescribeBotVersionCommandOutput } from "../commands/DescribeBotVersionCommand";
31
32
  import { DescribeExportCommandInput, DescribeExportCommandOutput } from "../commands/DescribeExportCommand";
32
33
  import { DescribeImportCommandInput, DescribeImportCommandOutput } from "../commands/DescribeImportCommand";
@@ -37,6 +38,7 @@ import { DescribeSlotTypeCommandInput, DescribeSlotTypeCommandOutput } from "../
37
38
  import { ListAggregatedUtterancesCommandInput, ListAggregatedUtterancesCommandOutput } from "../commands/ListAggregatedUtterancesCommand";
38
39
  import { ListBotAliasesCommandInput, ListBotAliasesCommandOutput } from "../commands/ListBotAliasesCommand";
39
40
  import { ListBotLocalesCommandInput, ListBotLocalesCommandOutput } from "../commands/ListBotLocalesCommand";
41
+ import { ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput } from "../commands/ListBotRecommendationsCommand";
40
42
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
41
43
  import { ListBotVersionsCommandInput, ListBotVersionsCommandOutput } from "../commands/ListBotVersionsCommand";
42
44
  import { ListBuiltInIntentsCommandInput, ListBuiltInIntentsCommandOutput } from "../commands/ListBuiltInIntentsCommand";
@@ -44,15 +46,19 @@ import { ListBuiltInSlotTypesCommandInput, ListBuiltInSlotTypesCommandOutput } f
44
46
  import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
45
47
  import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
46
48
  import { ListIntentsCommandInput, ListIntentsCommandOutput } from "../commands/ListIntentsCommand";
49
+ import { ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput } from "../commands/ListRecommendedIntentsCommand";
47
50
  import { ListSlotsCommandInput, ListSlotsCommandOutput } from "../commands/ListSlotsCommand";
48
51
  import { ListSlotTypesCommandInput, ListSlotTypesCommandOutput } from "../commands/ListSlotTypesCommand";
49
52
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
53
+ import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "../commands/SearchAssociatedTranscriptsCommand";
54
+ import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "../commands/StartBotRecommendationCommand";
50
55
  import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
51
56
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
52
57
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
53
58
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "../commands/UpdateBotAliasCommand";
54
59
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
55
60
  import { UpdateBotLocaleCommandInput, UpdateBotLocaleCommandOutput } from "../commands/UpdateBotLocaleCommand";
61
+ import { UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput } from "../commands/UpdateBotRecommendationCommand";
56
62
  import { UpdateExportCommandInput, UpdateExportCommandOutput } from "../commands/UpdateExportCommand";
57
63
  import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "../commands/UpdateIntentCommand";
58
64
  import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "../commands/UpdateResourcePolicyCommand";
@@ -85,6 +91,7 @@ export declare const serializeAws_restJson1DeleteUtterancesCommand: (input: Dele
85
91
  export declare const serializeAws_restJson1DescribeBotCommand: (input: DescribeBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
92
  export declare const serializeAws_restJson1DescribeBotAliasCommand: (input: DescribeBotAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
93
  export declare const serializeAws_restJson1DescribeBotLocaleCommand: (input: DescribeBotLocaleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
+ export declare const serializeAws_restJson1DescribeBotRecommendationCommand: (input: DescribeBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
88
95
  export declare const serializeAws_restJson1DescribeBotVersionCommand: (input: DescribeBotVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
96
  export declare const serializeAws_restJson1DescribeExportCommand: (input: DescribeExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
97
  export declare const serializeAws_restJson1DescribeImportCommand: (input: DescribeImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -95,6 +102,7 @@ export declare const serializeAws_restJson1DescribeSlotTypeCommand: (input: Desc
95
102
  export declare const serializeAws_restJson1ListAggregatedUtterancesCommand: (input: ListAggregatedUtterancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
103
  export declare const serializeAws_restJson1ListBotAliasesCommand: (input: ListBotAliasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
104
  export declare const serializeAws_restJson1ListBotLocalesCommand: (input: ListBotLocalesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
+ export declare const serializeAws_restJson1ListBotRecommendationsCommand: (input: ListBotRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
106
  export declare const serializeAws_restJson1ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
107
  export declare const serializeAws_restJson1ListBotVersionsCommand: (input: ListBotVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
108
  export declare const serializeAws_restJson1ListBuiltInIntentsCommand: (input: ListBuiltInIntentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -102,15 +110,19 @@ export declare const serializeAws_restJson1ListBuiltInSlotTypesCommand: (input:
102
110
  export declare const serializeAws_restJson1ListExportsCommand: (input: ListExportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
111
  export declare const serializeAws_restJson1ListImportsCommand: (input: ListImportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
112
  export declare const serializeAws_restJson1ListIntentsCommand: (input: ListIntentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
+ export declare const serializeAws_restJson1ListRecommendedIntentsCommand: (input: ListRecommendedIntentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
114
  export declare const serializeAws_restJson1ListSlotsCommand: (input: ListSlotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
115
  export declare const serializeAws_restJson1ListSlotTypesCommand: (input: ListSlotTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
107
116
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
+ export declare const serializeAws_restJson1SearchAssociatedTranscriptsCommand: (input: SearchAssociatedTranscriptsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
+ export declare const serializeAws_restJson1StartBotRecommendationCommand: (input: StartBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
119
  export declare const serializeAws_restJson1StartImportCommand: (input: StartImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
120
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
110
121
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
122
  export declare const serializeAws_restJson1UpdateBotCommand: (input: UpdateBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
123
  export declare const serializeAws_restJson1UpdateBotAliasCommand: (input: UpdateBotAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
124
  export declare const serializeAws_restJson1UpdateBotLocaleCommand: (input: UpdateBotLocaleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ export declare const serializeAws_restJson1UpdateBotRecommendationCommand: (input: UpdateBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
126
  export declare const serializeAws_restJson1UpdateExportCommand: (input: UpdateExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
127
  export declare const serializeAws_restJson1UpdateIntentCommand: (input: UpdateIntentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
128
  export declare const serializeAws_restJson1UpdateResourcePolicyCommand: (input: UpdateResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -143,6 +155,7 @@ export declare const deserializeAws_restJson1DeleteUtterancesCommand: (output: _
143
155
  export declare const deserializeAws_restJson1DescribeBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotCommandOutput>;
144
156
  export declare const deserializeAws_restJson1DescribeBotAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotAliasCommandOutput>;
145
157
  export declare const deserializeAws_restJson1DescribeBotLocaleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotLocaleCommandOutput>;
158
+ export declare const deserializeAws_restJson1DescribeBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotRecommendationCommandOutput>;
146
159
  export declare const deserializeAws_restJson1DescribeBotVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotVersionCommandOutput>;
147
160
  export declare const deserializeAws_restJson1DescribeExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeExportCommandOutput>;
148
161
  export declare const deserializeAws_restJson1DescribeImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeImportCommandOutput>;
@@ -153,6 +166,7 @@ export declare const deserializeAws_restJson1DescribeSlotTypeCommand: (output: _
153
166
  export declare const deserializeAws_restJson1ListAggregatedUtterancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAggregatedUtterancesCommandOutput>;
154
167
  export declare const deserializeAws_restJson1ListBotAliasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotAliasesCommandOutput>;
155
168
  export declare const deserializeAws_restJson1ListBotLocalesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotLocalesCommandOutput>;
169
+ export declare const deserializeAws_restJson1ListBotRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotRecommendationsCommandOutput>;
156
170
  export declare const deserializeAws_restJson1ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
157
171
  export declare const deserializeAws_restJson1ListBotVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotVersionsCommandOutput>;
158
172
  export declare const deserializeAws_restJson1ListBuiltInIntentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBuiltInIntentsCommandOutput>;
@@ -160,15 +174,19 @@ export declare const deserializeAws_restJson1ListBuiltInSlotTypesCommand: (outpu
160
174
  export declare const deserializeAws_restJson1ListExportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExportsCommandOutput>;
161
175
  export declare const deserializeAws_restJson1ListImportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportsCommandOutput>;
162
176
  export declare const deserializeAws_restJson1ListIntentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIntentsCommandOutput>;
177
+ export declare const deserializeAws_restJson1ListRecommendedIntentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecommendedIntentsCommandOutput>;
163
178
  export declare const deserializeAws_restJson1ListSlotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSlotsCommandOutput>;
164
179
  export declare const deserializeAws_restJson1ListSlotTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSlotTypesCommandOutput>;
165
180
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
181
+ export declare const deserializeAws_restJson1SearchAssociatedTranscriptsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAssociatedTranscriptsCommandOutput>;
182
+ export declare const deserializeAws_restJson1StartBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartBotRecommendationCommandOutput>;
166
183
  export declare const deserializeAws_restJson1StartImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartImportCommandOutput>;
167
184
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
168
185
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
169
186
  export declare const deserializeAws_restJson1UpdateBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCommandOutput>;
170
187
  export declare const deserializeAws_restJson1UpdateBotAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotAliasCommandOutput>;
171
188
  export declare const deserializeAws_restJson1UpdateBotLocaleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotLocaleCommandOutput>;
189
+ export declare const deserializeAws_restJson1UpdateBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotRecommendationCommandOutput>;
172
190
  export declare const deserializeAws_restJson1UpdateExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateExportCommandOutput>;
173
191
  export declare const deserializeAws_restJson1UpdateIntentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateIntentCommandOutput>;
174
192
  export declare const deserializeAws_restJson1UpdateResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateResourcePolicyCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.41.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.41.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",