@aws-sdk/client-translate 3.890.0 → 3.891.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.
- package/dist-types/commands/CreateParallelDataCommand.d.ts +2 -0
- package/dist-types/commands/DeleteParallelDataCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTerminologyCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +2 -0
- package/dist-types/commands/GetParallelDataCommand.d.ts +2 -0
- package/dist-types/commands/GetTerminologyCommand.d.ts +2 -0
- package/dist-types/commands/ImportTerminologyCommand.d.ts +2 -0
- package/dist-types/commands/ListLanguagesCommand.d.ts +2 -0
- package/dist-types/commands/ListParallelDataCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListTerminologiesCommand.d.ts +2 -0
- package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +2 -0
- package/dist-types/commands/StartTextTranslationJobCommand.d.ts +2 -0
- package/dist-types/commands/StopTextTranslationJobCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TranslateDocumentCommand.d.ts +2 -0
- package/dist-types/commands/TranslateTextCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateParallelDataCommand.d.ts +2 -0
- package/package.json +10 -10
|
@@ -36,6 +36,8 @@ declare const CreateParallelDataCommand_base: {
|
|
|
36
36
|
* ```javascript
|
|
37
37
|
* import { TranslateClient, CreateParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
38
38
|
* // const { TranslateClient, CreateParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
39
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
40
|
+
* const config = {}; // type is TranslateClientConfig
|
|
39
41
|
* const client = new TranslateClient(config);
|
|
40
42
|
* const input = { // CreateParallelDataRequest
|
|
41
43
|
* Name: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const DeleteParallelDataCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, DeleteParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, DeleteParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // DeleteParallelDataRequest
|
|
38
40
|
* Name: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const DeleteTerminologyCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, DeleteTerminologyCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, DeleteTerminologyCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // DeleteTerminologyRequest
|
|
38
40
|
* Name: "STRING_VALUE", // required
|
|
@@ -34,6 +34,8 @@ declare const DescribeTextTranslationJobCommand_base: {
|
|
|
34
34
|
* ```javascript
|
|
35
35
|
* import { TranslateClient, DescribeTextTranslationJobCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
36
36
|
* // const { TranslateClient, DescribeTextTranslationJobCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
37
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
38
|
+
* const config = {}; // type is TranslateClientConfig
|
|
37
39
|
* const client = new TranslateClient(config);
|
|
38
40
|
* const input = { // DescribeTextTranslationJobRequest
|
|
39
41
|
* JobId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const GetParallelDataCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, GetParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, GetParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // GetParallelDataRequest
|
|
38
40
|
* Name: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const GetTerminologyCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, GetTerminologyCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, GetTerminologyCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // GetTerminologyRequest
|
|
38
40
|
* Name: "STRING_VALUE", // required
|
|
@@ -40,6 +40,8 @@ declare const ImportTerminologyCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { TranslateClient, ImportTerminologyCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
42
42
|
* // const { TranslateClient, ImportTerminologyCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
43
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
44
|
+
* const config = {}; // type is TranslateClientConfig
|
|
43
45
|
* const client = new TranslateClient(config);
|
|
44
46
|
* const input = { // ImportTerminologyRequest
|
|
45
47
|
* Name: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListLanguagesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, ListLanguagesCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, ListLanguagesCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // ListLanguagesRequest
|
|
38
40
|
* DisplayLanguageCode: "de" || "en" || "es" || "fr" || "it" || "ja" || "ko" || "pt" || "zh" || "zh-TW",
|
|
@@ -33,6 +33,8 @@ declare const ListParallelDataCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, ListParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, ListParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // ListParallelDataRequest
|
|
38
40
|
* NextToken: "STRING_VALUE",
|
|
@@ -35,6 +35,8 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
35
35
|
* ```javascript
|
|
36
36
|
* import { TranslateClient, ListTagsForResourceCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
37
37
|
* // const { TranslateClient, ListTagsForResourceCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
38
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
39
|
+
* const config = {}; // type is TranslateClientConfig
|
|
38
40
|
* const client = new TranslateClient(config);
|
|
39
41
|
* const input = { // ListTagsForResourceRequest
|
|
40
42
|
* ResourceArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListTerminologiesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, ListTerminologiesCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, ListTerminologiesCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // ListTerminologiesRequest
|
|
38
40
|
* NextToken: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListTextTranslationJobsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { TranslateClient, ListTextTranslationJobsCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
35
35
|
* // const { TranslateClient, ListTextTranslationJobsCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
36
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
37
|
+
* const config = {}; // type is TranslateClientConfig
|
|
36
38
|
* const client = new TranslateClient(config);
|
|
37
39
|
* const input = { // ListTextTranslationJobsRequest
|
|
38
40
|
* Filter: { // TextTranslationJobFilter
|
|
@@ -41,6 +41,8 @@ declare const StartTextTranslationJobCommand_base: {
|
|
|
41
41
|
* ```javascript
|
|
42
42
|
* import { TranslateClient, StartTextTranslationJobCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
43
43
|
* // const { TranslateClient, StartTextTranslationJobCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
44
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
45
|
+
* const config = {}; // type is TranslateClientConfig
|
|
44
46
|
* const client = new TranslateClient(config);
|
|
45
47
|
* const input = { // StartTextTranslationJobRequest
|
|
46
48
|
* JobName: "STRING_VALUE",
|
|
@@ -39,6 +39,8 @@ declare const StopTextTranslationJobCommand_base: {
|
|
|
39
39
|
* ```javascript
|
|
40
40
|
* import { TranslateClient, StopTextTranslationJobCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
41
41
|
* // const { TranslateClient, StopTextTranslationJobCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
42
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
43
|
+
* const config = {}; // type is TranslateClientConfig
|
|
42
44
|
* const client = new TranslateClient(config);
|
|
43
45
|
* const input = { // StopTextTranslationJobRequest
|
|
44
46
|
* JobId: "STRING_VALUE", // required
|
|
@@ -36,6 +36,8 @@ declare const TagResourceCommand_base: {
|
|
|
36
36
|
* ```javascript
|
|
37
37
|
* import { TranslateClient, TagResourceCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
38
38
|
* // const { TranslateClient, TagResourceCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
39
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
40
|
+
* const config = {}; // type is TranslateClientConfig
|
|
39
41
|
* const client = new TranslateClient(config);
|
|
40
42
|
* const input = { // TagResourceRequest
|
|
41
43
|
* ResourceArn: "STRING_VALUE", // required
|
|
@@ -43,6 +43,8 @@ declare const TranslateDocumentCommand_base: {
|
|
|
43
43
|
* ```javascript
|
|
44
44
|
* import { TranslateClient, TranslateDocumentCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
45
45
|
* // const { TranslateClient, TranslateDocumentCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
46
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
47
|
+
* const config = {}; // type is TranslateClientConfig
|
|
46
48
|
* const client = new TranslateClient(config);
|
|
47
49
|
* const input = { // TranslateDocumentRequest
|
|
48
50
|
* Document: { // Document
|
|
@@ -34,6 +34,8 @@ declare const TranslateTextCommand_base: {
|
|
|
34
34
|
* ```javascript
|
|
35
35
|
* import { TranslateClient, TranslateTextCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
36
36
|
* // const { TranslateClient, TranslateTextCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
37
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
38
|
+
* const config = {}; // type is TranslateClientConfig
|
|
37
39
|
* const client = new TranslateClient(config);
|
|
38
40
|
* const input = { // TranslateTextRequest
|
|
39
41
|
* Text: "STRING_VALUE", // required
|
|
@@ -35,6 +35,8 @@ declare const UntagResourceCommand_base: {
|
|
|
35
35
|
* ```javascript
|
|
36
36
|
* import { TranslateClient, UntagResourceCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
37
37
|
* // const { TranslateClient, UntagResourceCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
38
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
39
|
+
* const config = {}; // type is TranslateClientConfig
|
|
38
40
|
* const client = new TranslateClient(config);
|
|
39
41
|
* const input = { // UntagResourceRequest
|
|
40
42
|
* ResourceArn: "STRING_VALUE", // required
|
|
@@ -34,6 +34,8 @@ declare const UpdateParallelDataCommand_base: {
|
|
|
34
34
|
* ```javascript
|
|
35
35
|
* import { TranslateClient, UpdateParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
36
36
|
* // const { TranslateClient, UpdateParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
37
|
+
* // import type { TranslateClientConfig } from "@aws-sdk/client-translate";
|
|
38
|
+
* const config = {}; // type is TranslateClientConfig
|
|
37
39
|
* const client = new TranslateClient(config);
|
|
38
40
|
* const input = { // UpdateParallelDataRequest
|
|
39
41
|
* Name: "STRING_VALUE", // required
|
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.
|
|
4
|
+
"version": "3.891.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-translate",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.890.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.891.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.891.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.891.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.891.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.890.0",
|
|
30
30
|
"@aws-sdk/types": "3.887.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.891.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
40
|
"@smithy/middleware-endpoint": "^4.2.2",
|
|
41
|
-
"@smithy/middleware-retry": "^4.2.
|
|
41
|
+
"@smithy/middleware-retry": "^4.2.3",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@smithy/util-defaults-mode-node": "^4.1.2",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
|
-
"@smithy/util-retry": "^4.1.
|
|
57
|
+
"@smithy/util-retry": "^4.1.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.1.0",
|
|
59
59
|
"@types/uuid": "^9.0.1",
|
|
60
60
|
"tslib": "^2.6.2",
|