@aws-sdk/client-translate 3.34.0 → 3.37.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 (224) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Translate.js +1 -6
  3. package/{dist/cjs → dist-cjs}/TranslateClient.js +8 -18
  4. package/{dist/cjs → dist-cjs}/commands/CreateParallelDataCommand.js +2 -30
  5. package/{dist/cjs → dist-cjs}/commands/DeleteParallelDataCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/DeleteTerminologyCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DescribeTextTranslationJobCommand.js +2 -28
  8. package/{dist/cjs → dist-cjs}/commands/GetParallelDataCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/GetTerminologyCommand.js +2 -27
  10. package/dist-cjs/commands/ImportTerminologyCommand.js +36 -0
  11. package/{dist/cjs → dist-cjs}/commands/ListParallelDataCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListTerminologiesCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/ListTextTranslationJobsCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/StartTextTranslationJobCommand.js +2 -34
  15. package/{dist/cjs → dist-cjs}/commands/StopTextTranslationJobCommand.js +2 -33
  16. package/{dist/cjs → dist-cjs}/commands/TranslateTextCommand.js +2 -28
  17. package/{dist/cjs → dist-cjs}/commands/UpdateParallelDataCommand.js +2 -28
  18. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  19. package/{dist/cjs → dist-cjs}/index.js +0 -1
  20. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  21. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -163
  22. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  23. package/{dist/cjs → dist-cjs}/pagination/ListParallelDataPaginator.js +1 -12
  24. package/{dist/cjs → dist-cjs}/pagination/ListTerminologiesPaginator.js +1 -12
  25. package/{dist/cjs → dist-cjs}/pagination/ListTextTranslationJobsPaginator.js +1 -12
  26. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  31. package/{dist/es → dist-es}/Translate.js +1 -2
  32. package/{dist/es → dist-es}/TranslateClient.js +1 -2
  33. package/{dist/es → dist-es}/commands/CreateParallelDataCommand.js +2 -3
  34. package/{dist/es → dist-es}/commands/DeleteParallelDataCommand.js +2 -3
  35. package/{dist/es → dist-es}/commands/DeleteTerminologyCommand.js +2 -3
  36. package/{dist/es → dist-es}/commands/DescribeTextTranslationJobCommand.js +2 -3
  37. package/{dist/es → dist-es}/commands/GetParallelDataCommand.js +2 -3
  38. package/{dist/es → dist-es}/commands/GetTerminologyCommand.js +2 -3
  39. package/{dist/es → dist-es}/commands/ImportTerminologyCommand.js +2 -3
  40. package/{dist/es → dist-es}/commands/ListParallelDataCommand.js +2 -3
  41. package/{dist/es → dist-es}/commands/ListTerminologiesCommand.js +2 -3
  42. package/{dist/es → dist-es}/commands/ListTextTranslationJobsCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/StartTextTranslationJobCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/StopTextTranslationJobCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/TranslateTextCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/UpdateParallelDataCommand.js +2 -3
  47. package/{dist/es → dist-es}/endpoints.js +1 -2
  48. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  49. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  50. package/{dist/es → dist-es}/models/models_0.js +0 -1
  51. package/dist-es/pagination/Interfaces.js +1 -0
  52. package/{dist/es → dist-es}/pagination/ListParallelDataPaginator.js +1 -2
  53. package/{dist/es → dist-es}/pagination/ListTerminologiesPaginator.js +1 -2
  54. package/{dist/es → dist-es}/pagination/ListTextTranslationJobsPaginator.js +1 -2
  55. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  56. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  57. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  58. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  59. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  60. package/{dist/types → dist-types}/Translate.d.ts +2 -2
  61. package/{dist/types → dist-types}/TranslateClient.d.ts +8 -8
  62. package/{dist/types → dist-types}/commands/CreateParallelDataCommand.d.ts +3 -3
  63. package/{dist/types → dist-types}/commands/DeleteParallelDataCommand.d.ts +3 -3
  64. package/{dist/types → dist-types}/commands/DeleteTerminologyCommand.d.ts +3 -3
  65. package/{dist/types → dist-types}/commands/DescribeTextTranslationJobCommand.d.ts +3 -3
  66. package/{dist/types → dist-types}/commands/GetParallelDataCommand.d.ts +3 -3
  67. package/{dist/types → dist-types}/commands/GetTerminologyCommand.d.ts +3 -3
  68. package/{dist/types → dist-types}/commands/ImportTerminologyCommand.d.ts +3 -3
  69. package/{dist/types → dist-types}/commands/ListParallelDataCommand.d.ts +3 -3
  70. package/{dist/types → dist-types}/commands/ListTerminologiesCommand.d.ts +3 -3
  71. package/{dist/types → dist-types}/commands/ListTextTranslationJobsCommand.d.ts +3 -3
  72. package/{dist/types → dist-types}/commands/StartTextTranslationJobCommand.d.ts +3 -3
  73. package/{dist/types → dist-types}/commands/StopTextTranslationJobCommand.d.ts +3 -3
  74. package/{dist/types → dist-types}/commands/TranslateTextCommand.d.ts +3 -3
  75. package/{dist/types → dist-types}/commands/UpdateParallelDataCommand.d.ts +3 -3
  76. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  77. package/{index.ts → dist-types/index.d.ts} +0 -0
  78. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  79. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  80. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  81. package/{dist/types → dist-types}/pagination/ListParallelDataPaginator.d.ts +1 -1
  82. package/{dist/types → dist-types}/pagination/ListTerminologiesPaginator.d.ts +1 -1
  83. package/{dist/types → dist-types}/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
  84. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  85. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  86. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  87. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  88. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  89. package/{dist/types → dist-types}/ts3.4/Translate.d.ts +17 -74
  90. package/{dist/types → dist-types}/ts3.4/TranslateClient.d.ts +32 -98
  91. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +17 -0
  92. package/{dist/types → dist-types}/ts3.4/commands/DeleteParallelDataCommand.d.ts +5 -23
  93. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +17 -0
  95. package/{dist/types → dist-types}/ts3.4/commands/GetParallelDataCommand.d.ts +5 -23
  96. package/{dist/types → dist-types}/ts3.4/commands/GetTerminologyCommand.d.ts +5 -23
  97. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +17 -0
  100. package/{dist/types → dist-types}/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +5 -23
  101. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +17 -0
  105. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  106. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  107. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +700 -0
  109. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  110. package/{dist/types → dist-types}/ts3.4/pagination/ListParallelDataPaginator.d.ts +1 -1
  111. package/{dist/types → dist-types}/ts3.4/pagination/ListTerminologiesPaginator.d.ts +1 -1
  112. package/{dist/types → dist-types}/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
  113. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  114. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  115. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  116. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  117. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  118. package/package.json +45 -42
  119. package/Translate.ts +0 -552
  120. package/TranslateClient.ts +0 -290
  121. package/commands/CreateParallelDataCommand.ts +0 -97
  122. package/commands/DeleteParallelDataCommand.ts +0 -94
  123. package/commands/DeleteTerminologyCommand.ts +0 -94
  124. package/commands/DescribeTextTranslationJobCommand.ts +0 -98
  125. package/commands/GetParallelDataCommand.ts +0 -94
  126. package/commands/GetTerminologyCommand.ts +0 -94
  127. package/commands/ImportTerminologyCommand.ts +0 -101
  128. package/commands/ListParallelDataCommand.ts +0 -94
  129. package/commands/ListTerminologiesCommand.ts +0 -94
  130. package/commands/ListTextTranslationJobsCommand.ts +0 -94
  131. package/commands/StartTextTranslationJobCommand.ts +0 -101
  132. package/commands/StopTextTranslationJobCommand.ts +0 -100
  133. package/commands/TranslateTextCommand.ts +0 -95
  134. package/commands/UpdateParallelDataCommand.ts +0 -95
  135. package/dist/cjs/Translate.js.map +0 -1
  136. package/dist/cjs/TranslateClient.js.map +0 -1
  137. package/dist/cjs/commands/CreateParallelDataCommand.js.map +0 -1
  138. package/dist/cjs/commands/DeleteParallelDataCommand.js.map +0 -1
  139. package/dist/cjs/commands/DeleteTerminologyCommand.js.map +0 -1
  140. package/dist/cjs/commands/DescribeTextTranslationJobCommand.js.map +0 -1
  141. package/dist/cjs/commands/GetParallelDataCommand.js.map +0 -1
  142. package/dist/cjs/commands/GetTerminologyCommand.js.map +0 -1
  143. package/dist/cjs/commands/ImportTerminologyCommand.js +0 -68
  144. package/dist/cjs/commands/ImportTerminologyCommand.js.map +0 -1
  145. package/dist/cjs/commands/ListParallelDataCommand.js.map +0 -1
  146. package/dist/cjs/commands/ListTerminologiesCommand.js.map +0 -1
  147. package/dist/cjs/commands/ListTextTranslationJobsCommand.js.map +0 -1
  148. package/dist/cjs/commands/StartTextTranslationJobCommand.js.map +0 -1
  149. package/dist/cjs/commands/StopTextTranslationJobCommand.js.map +0 -1
  150. package/dist/cjs/commands/TranslateTextCommand.js.map +0 -1
  151. package/dist/cjs/commands/UpdateParallelDataCommand.js.map +0 -1
  152. package/dist/cjs/endpoints.js.map +0 -1
  153. package/dist/cjs/index.js.map +0 -1
  154. package/dist/cjs/models/index.js.map +0 -1
  155. package/dist/cjs/models/models_0.js.map +0 -1
  156. package/dist/cjs/package.json +0 -93
  157. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  158. package/dist/cjs/pagination/ListParallelDataPaginator.js.map +0 -1
  159. package/dist/cjs/pagination/ListTerminologiesPaginator.js.map +0 -1
  160. package/dist/cjs/pagination/ListTextTranslationJobsPaginator.js.map +0 -1
  161. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  162. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  163. package/dist/cjs/runtimeConfig.js.map +0 -1
  164. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  165. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  166. package/dist/es/Translate.js.map +0 -1
  167. package/dist/es/TranslateClient.js.map +0 -1
  168. package/dist/es/commands/CreateParallelDataCommand.js.map +0 -1
  169. package/dist/es/commands/DeleteParallelDataCommand.js.map +0 -1
  170. package/dist/es/commands/DeleteTerminologyCommand.js.map +0 -1
  171. package/dist/es/commands/DescribeTextTranslationJobCommand.js.map +0 -1
  172. package/dist/es/commands/GetParallelDataCommand.js.map +0 -1
  173. package/dist/es/commands/GetTerminologyCommand.js.map +0 -1
  174. package/dist/es/commands/ImportTerminologyCommand.js.map +0 -1
  175. package/dist/es/commands/ListParallelDataCommand.js.map +0 -1
  176. package/dist/es/commands/ListTerminologiesCommand.js.map +0 -1
  177. package/dist/es/commands/ListTextTranslationJobsCommand.js.map +0 -1
  178. package/dist/es/commands/StartTextTranslationJobCommand.js.map +0 -1
  179. package/dist/es/commands/StopTextTranslationJobCommand.js.map +0 -1
  180. package/dist/es/commands/TranslateTextCommand.js.map +0 -1
  181. package/dist/es/commands/UpdateParallelDataCommand.js.map +0 -1
  182. package/dist/es/endpoints.js.map +0 -1
  183. package/dist/es/index.js +0 -22
  184. package/dist/es/index.js.map +0 -1
  185. package/dist/es/models/index.js +0 -2
  186. package/dist/es/models/index.js.map +0 -1
  187. package/dist/es/models/models_0.js.map +0 -1
  188. package/dist/es/package.json +0 -93
  189. package/dist/es/pagination/Interfaces.js +0 -2
  190. package/dist/es/pagination/Interfaces.js.map +0 -1
  191. package/dist/es/pagination/ListParallelDataPaginator.js.map +0 -1
  192. package/dist/es/pagination/ListTerminologiesPaginator.js.map +0 -1
  193. package/dist/es/pagination/ListTextTranslationJobsPaginator.js.map +0 -1
  194. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  195. package/dist/es/runtimeConfig.browser.js.map +0 -1
  196. package/dist/es/runtimeConfig.js.map +0 -1
  197. package/dist/es/runtimeConfig.native.js.map +0 -1
  198. package/dist/es/runtimeConfig.shared.js.map +0 -1
  199. package/dist/types/ts3.4/commands/CreateParallelDataCommand.d.ts +0 -38
  200. package/dist/types/ts3.4/commands/DeleteTerminologyCommand.d.ts +0 -35
  201. package/dist/types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +0 -36
  202. package/dist/types/ts3.4/commands/ImportTerminologyCommand.d.ts +0 -42
  203. package/dist/types/ts3.4/commands/ListParallelDataCommand.d.ts +0 -35
  204. package/dist/types/ts3.4/commands/ListTerminologiesCommand.d.ts +0 -35
  205. package/dist/types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +0 -42
  206. package/dist/types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +0 -41
  207. package/dist/types/ts3.4/commands/TranslateTextCommand.d.ts +0 -36
  208. package/dist/types/ts3.4/commands/UpdateParallelDataCommand.d.ts +0 -36
  209. package/dist/types/ts3.4/models/models_0.d.ts +0 -1304
  210. package/endpoints.ts +0 -77
  211. package/jest.config.js +0 -4
  212. package/models/models_0.ts +0 -1625
  213. package/pagination/Interfaces.ts +0 -7
  214. package/pagination/ListParallelDataPaginator.ts +0 -58
  215. package/pagination/ListTerminologiesPaginator.ts +0 -58
  216. package/pagination/ListTextTranslationJobsPaginator.ts +0 -58
  217. package/protocols/Aws_json1_1.ts +0 -2522
  218. package/runtimeConfig.browser.ts +0 -40
  219. package/runtimeConfig.native.ts +0 -16
  220. package/runtimeConfig.shared.ts +0 -16
  221. package/runtimeConfig.ts +0 -45
  222. package/tsconfig.es.json +0 -10
  223. package/tsconfig.json +0 -31
  224. package/tsconfig.types.json +0 -8
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput } from "../commands/ListTextTranslationJobsCommand";
2
3
  import { TranslatePaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListTextTranslationJobs(config: TranslatePaginationConfiguration, input: ListTextTranslationJobsCommandInput, ...additionalArguments: any): Paginator<ListTextTranslationJobsCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CreateParallelDataCommandInput, CreateParallelDataCommandOutput } from "../commands/CreateParallelDataCommand";
2
4
  import { DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput } from "../commands/DeleteParallelDataCommand";
3
5
  import { DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput } from "../commands/DeleteTerminologyCommand";
@@ -12,8 +14,6 @@ import { StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutp
12
14
  import { StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput } from "../commands/StopTextTranslationJobCommand";
13
15
  import { TranslateTextCommandInput, TranslateTextCommandOutput } from "../commands/TranslateTextCommand";
14
16
  import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "../commands/UpdateParallelDataCommand";
15
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
16
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
17
17
  export declare const serializeAws_json1_1CreateParallelDataCommand: (input: CreateParallelDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
18
  export declare const serializeAws_json1_1DeleteParallelDataCommand: (input: DeleteParallelDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
19
  export declare const serializeAws_json1_1DeleteTerminologyCommand: (input: DeleteTerminologyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { TranslateClientConfig } from "./TranslateClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,14 +1,12 @@
1
1
  import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
2
  import { TranslateClientConfig } from "./TranslateClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
9
7
  base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
9
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
10
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
11
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
12
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -1,7 +1,5 @@
1
1
  import { TranslateClientConfig } from "./TranslateClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { TranslateClientConfig } from "./TranslateClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-translate",
3
3
  "description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
4
- "version": "3.34.0",
4
+ "version": "3.37.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -11,55 +11,49 @@
11
11
  "clean": "yarn clean:dist && yarn clean:docs",
12
12
  "clean:dist": "rimraf ./dist",
13
13
  "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
15
  "test": "exit 0"
16
16
  },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
25
- },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.34.0",
31
- "@aws-sdk/config-resolver": "3.34.0",
32
- "@aws-sdk/credential-provider-node": "3.34.0",
33
- "@aws-sdk/fetch-http-handler": "3.34.0",
34
- "@aws-sdk/hash-node": "3.34.0",
35
- "@aws-sdk/invalid-dependency": "3.34.0",
36
- "@aws-sdk/middleware-content-length": "3.34.0",
37
- "@aws-sdk/middleware-host-header": "3.34.0",
38
- "@aws-sdk/middleware-logger": "3.34.0",
39
- "@aws-sdk/middleware-retry": "3.34.0",
40
- "@aws-sdk/middleware-serde": "3.34.0",
41
- "@aws-sdk/middleware-signing": "3.34.0",
42
- "@aws-sdk/middleware-stack": "3.34.0",
43
- "@aws-sdk/middleware-user-agent": "3.34.0",
44
- "@aws-sdk/node-config-provider": "3.34.0",
45
- "@aws-sdk/node-http-handler": "3.34.0",
46
- "@aws-sdk/protocol-http": "3.34.0",
47
- "@aws-sdk/smithy-client": "3.34.0",
48
- "@aws-sdk/types": "3.34.0",
49
- "@aws-sdk/url-parser": "3.34.0",
50
- "@aws-sdk/util-base64-browser": "3.34.0",
51
- "@aws-sdk/util-base64-node": "3.34.0",
52
- "@aws-sdk/util-body-length-browser": "3.34.0",
53
- "@aws-sdk/util-body-length-node": "3.34.0",
54
- "@aws-sdk/util-user-agent-browser": "3.34.0",
55
- "@aws-sdk/util-user-agent-node": "3.34.0",
56
- "@aws-sdk/util-utf8-browser": "3.34.0",
57
- "@aws-sdk/util-utf8-node": "3.34.0",
24
+ "@aws-sdk/client-sts": "3.37.0",
25
+ "@aws-sdk/config-resolver": "3.37.0",
26
+ "@aws-sdk/credential-provider-node": "3.37.0",
27
+ "@aws-sdk/fetch-http-handler": "3.37.0",
28
+ "@aws-sdk/hash-node": "3.37.0",
29
+ "@aws-sdk/invalid-dependency": "3.37.0",
30
+ "@aws-sdk/middleware-content-length": "3.37.0",
31
+ "@aws-sdk/middleware-host-header": "3.37.0",
32
+ "@aws-sdk/middleware-logger": "3.37.0",
33
+ "@aws-sdk/middleware-retry": "3.37.0",
34
+ "@aws-sdk/middleware-serde": "3.37.0",
35
+ "@aws-sdk/middleware-signing": "3.37.0",
36
+ "@aws-sdk/middleware-stack": "3.37.0",
37
+ "@aws-sdk/middleware-user-agent": "3.37.0",
38
+ "@aws-sdk/node-config-provider": "3.37.0",
39
+ "@aws-sdk/node-http-handler": "3.37.0",
40
+ "@aws-sdk/protocol-http": "3.37.0",
41
+ "@aws-sdk/smithy-client": "3.37.0",
42
+ "@aws-sdk/types": "3.37.0",
43
+ "@aws-sdk/url-parser": "3.37.0",
44
+ "@aws-sdk/util-base64-browser": "3.37.0",
45
+ "@aws-sdk/util-base64-node": "3.37.0",
46
+ "@aws-sdk/util-body-length-browser": "3.37.0",
47
+ "@aws-sdk/util-body-length-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.37.0",
49
+ "@aws-sdk/util-user-agent-node": "3.37.0",
50
+ "@aws-sdk/util-utf8-browser": "3.37.0",
51
+ "@aws-sdk/util-utf8-node": "3.37.0",
58
52
  "tslib": "^2.3.0",
59
53
  "uuid": "^8.3.2"
60
54
  },
61
55
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.34.0",
56
+ "@aws-sdk/client-documentation-generator": "3.37.0",
63
57
  "@types/node": "^12.7.5",
64
58
  "@types/uuid": "^8.3.0",
65
59
  "downlevel-dts": "0.7.0",
@@ -74,16 +68,25 @@
74
68
  },
75
69
  "typesVersions": {
76
70
  "<4.0": {
77
- "dist/types/*": [
78
- "dist/types/ts3.4/*"
71
+ "dist-types/*": [
72
+ "dist-types/ts3.4/*"
79
73
  ]
80
74
  }
81
75
  },
76
+ "files": [
77
+ "dist-*"
78
+ ],
82
79
  "author": {
83
80
  "name": "AWS SDK for JavaScript Team",
84
81
  "url": "https://aws.amazon.com/javascript/"
85
82
  },
86
83
  "license": "Apache-2.0",
84
+ "browser": {
85
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
86
+ },
87
+ "react-native": {
88
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
89
+ },
87
90
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-translate",
88
91
  "repository": {
89
92
  "type": "git",