@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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/Translate.js +1 -6
- package/{dist/cjs → dist-cjs}/TranslateClient.js +8 -18
- package/{dist/cjs → dist-cjs}/commands/CreateParallelDataCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DeleteParallelDataCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteTerminologyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeTextTranslationJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetParallelDataCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetTerminologyCommand.js +2 -27
- package/dist-cjs/commands/ImportTerminologyCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListParallelDataCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTerminologiesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTextTranslationJobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartTextTranslationJobCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/StopTextTranslationJobCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/TranslateTextCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateParallelDataCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -163
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListParallelDataPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTerminologiesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTextTranslationJobsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Translate.js +1 -2
- package/{dist/es → dist-es}/TranslateClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteTerminologyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeTextTranslationJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetTerminologyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ImportTerminologyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTerminologiesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTextTranslationJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartTextTranslationJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopTextTranslationJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TranslateTextCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListParallelDataPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListTerminologiesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListTextTranslationJobsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/Translate.d.ts +2 -2
- package/{dist/types → dist-types}/TranslateClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteTerminologyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeTextTranslationJobCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetTerminologyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ImportTerminologyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTerminologiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTextTranslationJobsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartTextTranslationJobCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StopTextTranslationJobCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TranslateTextCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListParallelDataPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTerminologiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Translate.d.ts +17 -74
- package/{dist/types → dist-types}/ts3.4/TranslateClient.d.ts +32 -98
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteParallelDataCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetParallelDataCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetTerminologyCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +700 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListParallelDataPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTerminologiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/Translate.ts +0 -552
- package/TranslateClient.ts +0 -290
- package/commands/CreateParallelDataCommand.ts +0 -97
- package/commands/DeleteParallelDataCommand.ts +0 -94
- package/commands/DeleteTerminologyCommand.ts +0 -94
- package/commands/DescribeTextTranslationJobCommand.ts +0 -98
- package/commands/GetParallelDataCommand.ts +0 -94
- package/commands/GetTerminologyCommand.ts +0 -94
- package/commands/ImportTerminologyCommand.ts +0 -101
- package/commands/ListParallelDataCommand.ts +0 -94
- package/commands/ListTerminologiesCommand.ts +0 -94
- package/commands/ListTextTranslationJobsCommand.ts +0 -94
- package/commands/StartTextTranslationJobCommand.ts +0 -101
- package/commands/StopTextTranslationJobCommand.ts +0 -100
- package/commands/TranslateTextCommand.ts +0 -95
- package/commands/UpdateParallelDataCommand.ts +0 -95
- package/dist/cjs/Translate.js.map +0 -1
- package/dist/cjs/TranslateClient.js.map +0 -1
- package/dist/cjs/commands/CreateParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTerminologyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTextTranslationJobCommand.js.map +0 -1
- package/dist/cjs/commands/GetParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/GetTerminologyCommand.js.map +0 -1
- package/dist/cjs/commands/ImportTerminologyCommand.js +0 -68
- package/dist/cjs/commands/ImportTerminologyCommand.js.map +0 -1
- package/dist/cjs/commands/ListParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/ListTerminologiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTextTranslationJobsCommand.js.map +0 -1
- package/dist/cjs/commands/StartTextTranslationJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopTextTranslationJobCommand.js.map +0 -1
- package/dist/cjs/commands/TranslateTextCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateParallelDataCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListParallelDataPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTerminologiesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTextTranslationJobsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Translate.js.map +0 -1
- package/dist/es/TranslateClient.js.map +0 -1
- package/dist/es/commands/CreateParallelDataCommand.js.map +0 -1
- package/dist/es/commands/DeleteParallelDataCommand.js.map +0 -1
- package/dist/es/commands/DeleteTerminologyCommand.js.map +0 -1
- package/dist/es/commands/DescribeTextTranslationJobCommand.js.map +0 -1
- package/dist/es/commands/GetParallelDataCommand.js.map +0 -1
- package/dist/es/commands/GetTerminologyCommand.js.map +0 -1
- package/dist/es/commands/ImportTerminologyCommand.js.map +0 -1
- package/dist/es/commands/ListParallelDataCommand.js.map +0 -1
- package/dist/es/commands/ListTerminologiesCommand.js.map +0 -1
- package/dist/es/commands/ListTextTranslationJobsCommand.js.map +0 -1
- package/dist/es/commands/StartTextTranslationJobCommand.js.map +0 -1
- package/dist/es/commands/StopTextTranslationJobCommand.js.map +0 -1
- package/dist/es/commands/TranslateTextCommand.js.map +0 -1
- package/dist/es/commands/UpdateParallelDataCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -22
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListParallelDataPaginator.js.map +0 -1
- package/dist/es/pagination/ListTerminologiesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTextTranslationJobsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateParallelDataCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteTerminologyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ImportTerminologyCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListParallelDataCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTerminologiesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/TranslateTextCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateParallelDataCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1304
- package/endpoints.ts +0 -77
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1625
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListParallelDataPaginator.ts +0 -58
- package/pagination/ListTerminologiesPaginator.ts +0 -58
- package/pagination/ListTextTranslationJobsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -2522
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListParallelData = void 0;
|
|
4
|
+
const ListParallelDataCommand_1 = require("../commands/ListParallelDataCommand");
|
|
4
5
|
const Translate_1 = require("../Translate");
|
|
5
6
|
const TranslateClient_1 = require("../TranslateClient");
|
|
6
|
-
const ListParallelDataCommand_1 = require("../commands/ListParallelDataCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListParallelDataCommand_1.ListParallelDataCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listParallelData(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListParallelData(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListParallelData(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListParallelData = paginateListParallelData;
|
|
46
|
-
//# sourceMappingURL=ListParallelDataPaginator.js.map
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTerminologies = void 0;
|
|
4
|
+
const ListTerminologiesCommand_1 = require("../commands/ListTerminologiesCommand");
|
|
4
5
|
const Translate_1 = require("../Translate");
|
|
5
6
|
const TranslateClient_1 = require("../TranslateClient");
|
|
6
|
-
const ListTerminologiesCommand_1 = require("../commands/ListTerminologiesCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTerminologiesCommand_1.ListTerminologiesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTerminologies(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTerminologies(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListTerminologies(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTerminologies = paginateListTerminologies;
|
|
46
|
-
//# sourceMappingURL=ListTerminologiesPaginator.js.map
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTextTranslationJobs = void 0;
|
|
4
|
+
const ListTextTranslationJobsCommand_1 = require("../commands/ListTextTranslationJobsCommand");
|
|
4
5
|
const Translate_1 = require("../Translate");
|
|
5
6
|
const TranslateClient_1 = require("../TranslateClient");
|
|
6
|
-
const ListTextTranslationJobsCommand_1 = require("../commands/ListTextTranslationJobsCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTextTranslationJobsCommand_1.ListTextTranslationJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTextTranslationJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTextTranslationJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListTextTranslationJobs(config, input, ...additionalArgu
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTextTranslationJobs = paginateListTextTranslationJobs;
|
|
46
|
-
//# sourceMappingURL=ListTextTranslationJobsPaginator.js.map
|
|
@@ -1947,14 +1947,12 @@ const deserializeMetadata = (output) => {
|
|
|
1947
1947
|
cfId: output.headers["x-amz-cf-id"],
|
|
1948
1948
|
});
|
|
1949
1949
|
};
|
|
1950
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1951
1950
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1952
1951
|
if (streamBody instanceof Uint8Array) {
|
|
1953
1952
|
return Promise.resolve(streamBody);
|
|
1954
1953
|
}
|
|
1955
1954
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1956
1955
|
};
|
|
1957
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1958
1956
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1959
1957
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1960
1958
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1980,9 +1978,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1980
1978
|
}
|
|
1981
1979
|
return {};
|
|
1982
1980
|
});
|
|
1983
|
-
/**
|
|
1984
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
1985
|
-
*/
|
|
1986
1981
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1987
1982
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1988
1983
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2007,4 +2002,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2007
2002
|
}
|
|
2008
2003
|
return "";
|
|
2009
2004
|
};
|
|
2010
|
-
//# sourceMappingURL=Aws_json1_1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { TranslateClient } from "./TranslateClient";
|
|
3
2
|
import { CreateParallelDataCommand, } from "./commands/CreateParallelDataCommand";
|
|
4
3
|
import { DeleteParallelDataCommand, } from "./commands/DeleteParallelDataCommand";
|
|
5
4
|
import { DeleteTerminologyCommand, } from "./commands/DeleteTerminologyCommand";
|
|
@@ -14,6 +13,7 @@ import { StartTextTranslationJobCommand, } from "./commands/StartTextTranslation
|
|
|
14
13
|
import { StopTextTranslationJobCommand, } from "./commands/StopTextTranslationJobCommand";
|
|
15
14
|
import { TranslateTextCommand, } from "./commands/TranslateTextCommand";
|
|
16
15
|
import { UpdateParallelDataCommand, } from "./commands/UpdateParallelDataCommand";
|
|
16
|
+
import { TranslateClient } from "./TranslateClient";
|
|
17
17
|
var Translate = (function (_super) {
|
|
18
18
|
__extends(Translate, _super);
|
|
19
19
|
function Translate() {
|
|
@@ -218,4 +218,3 @@ var Translate = (function (_super) {
|
|
|
218
218
|
return Translate;
|
|
219
219
|
}(TranslateClient));
|
|
220
220
|
export { Translate };
|
|
221
|
-
//# sourceMappingURL=Translate.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
11
|
var TranslateClient = (function (_super) {
|
|
12
12
|
__extends(TranslateClient, _super);
|
|
13
13
|
function TranslateClient(configuration) {
|
|
@@ -35,4 +35,3 @@ var TranslateClient = (function (_super) {
|
|
|
35
35
|
return TranslateClient;
|
|
36
36
|
}(__Client));
|
|
37
37
|
export { TranslateClient };
|
|
38
|
-
//# sourceMappingURL=TranslateClient.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1CreateParallelDataCommand, serializeAws_json1_1CreateParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateParallelDataCommand, serializeAws_json1_1CreateParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(CreateParallelDataCommand, _super);
|
|
8
8
|
function CreateParallelDataCommand(input) {
|
|
@@ -37,4 +37,3 @@ var CreateParallelDataCommand = (function (_super) {
|
|
|
37
37
|
return CreateParallelDataCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { CreateParallelDataCommand };
|
|
40
|
-
//# sourceMappingURL=CreateParallelDataCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteParallelDataCommand, serializeAws_json1_1DeleteParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteParallelDataCommand, serializeAws_json1_1DeleteParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteParallelDataCommand, _super);
|
|
8
8
|
function DeleteParallelDataCommand(input) {
|
|
@@ -37,4 +37,3 @@ var DeleteParallelDataCommand = (function (_super) {
|
|
|
37
37
|
return DeleteParallelDataCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { DeleteParallelDataCommand };
|
|
40
|
-
//# sourceMappingURL=DeleteParallelDataCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteTerminologyRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteTerminologyCommand, serializeAws_json1_1DeleteTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteTerminologyRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteTerminologyCommand, serializeAws_json1_1DeleteTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteTerminologyCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteTerminologyCommand, _super);
|
|
8
8
|
function DeleteTerminologyCommand(input) {
|
|
@@ -37,4 +37,3 @@ var DeleteTerminologyCommand = (function (_super) {
|
|
|
37
37
|
return DeleteTerminologyCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { DeleteTerminologyCommand };
|
|
40
|
-
//# sourceMappingURL=DeleteTerminologyCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DescribeTextTranslationJobCommand, serializeAws_json1_1DescribeTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeTextTranslationJobCommand, serializeAws_json1_1DescribeTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeTextTranslationJobCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeTextTranslationJobCommand, _super);
|
|
8
8
|
function DescribeTextTranslationJobCommand(input) {
|
|
@@ -37,4 +37,3 @@ var DescribeTextTranslationJobCommand = (function (_super) {
|
|
|
37
37
|
return DescribeTextTranslationJobCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { DescribeTextTranslationJobCommand };
|
|
40
|
-
//# sourceMappingURL=DescribeTextTranslationJobCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetParallelDataCommand, serializeAws_json1_1GetParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetParallelDataCommand, serializeAws_json1_1GetParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(GetParallelDataCommand, _super);
|
|
8
8
|
function GetParallelDataCommand(input) {
|
|
@@ -37,4 +37,3 @@ var GetParallelDataCommand = (function (_super) {
|
|
|
37
37
|
return GetParallelDataCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { GetParallelDataCommand };
|
|
40
|
-
//# sourceMappingURL=GetParallelDataCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetTerminologyCommand, serializeAws_json1_1GetTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetTerminologyCommand, serializeAws_json1_1GetTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetTerminologyCommand = (function (_super) {
|
|
7
7
|
__extends(GetTerminologyCommand, _super);
|
|
8
8
|
function GetTerminologyCommand(input) {
|
|
@@ -37,4 +37,3 @@ var GetTerminologyCommand = (function (_super) {
|
|
|
37
37
|
return GetTerminologyCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { GetTerminologyCommand };
|
|
40
|
-
//# sourceMappingURL=GetTerminologyCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ImportTerminologyCommand, serializeAws_json1_1ImportTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ImportTerminologyCommand, serializeAws_json1_1ImportTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ImportTerminologyCommand = (function (_super) {
|
|
7
7
|
__extends(ImportTerminologyCommand, _super);
|
|
8
8
|
function ImportTerminologyCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ImportTerminologyCommand = (function (_super) {
|
|
|
37
37
|
return ImportTerminologyCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ImportTerminologyCommand };
|
|
40
|
-
//# sourceMappingURL=ImportTerminologyCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListParallelDataCommand, serializeAws_json1_1ListParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListParallelDataCommand, serializeAws_json1_1ListParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(ListParallelDataCommand, _super);
|
|
8
8
|
function ListParallelDataCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListParallelDataCommand = (function (_super) {
|
|
|
37
37
|
return ListParallelDataCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListParallelDataCommand };
|
|
40
|
-
//# sourceMappingURL=ListParallelDataCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListTerminologiesCommand, serializeAws_json1_1ListTerminologiesCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListTerminologiesCommand, serializeAws_json1_1ListTerminologiesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListTerminologiesCommand = (function (_super) {
|
|
7
7
|
__extends(ListTerminologiesCommand, _super);
|
|
8
8
|
function ListTerminologiesCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListTerminologiesCommand = (function (_super) {
|
|
|
37
37
|
return ListTerminologiesCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListTerminologiesCommand };
|
|
40
|
-
//# sourceMappingURL=ListTerminologiesCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListTextTranslationJobsCommand, serializeAws_json1_1ListTextTranslationJobsCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListTextTranslationJobsCommand, serializeAws_json1_1ListTextTranslationJobsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListTextTranslationJobsCommand = (function (_super) {
|
|
7
7
|
__extends(ListTextTranslationJobsCommand, _super);
|
|
8
8
|
function ListTextTranslationJobsCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListTextTranslationJobsCommand = (function (_super) {
|
|
|
37
37
|
return ListTextTranslationJobsCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListTextTranslationJobsCommand };
|
|
40
|
-
//# sourceMappingURL=ListTextTranslationJobsCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1StartTextTranslationJobCommand, serializeAws_json1_1StartTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StartTextTranslationJobCommand, serializeAws_json1_1StartTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StartTextTranslationJobCommand = (function (_super) {
|
|
7
7
|
__extends(StartTextTranslationJobCommand, _super);
|
|
8
8
|
function StartTextTranslationJobCommand(input) {
|
|
@@ -37,4 +37,3 @@ var StartTextTranslationJobCommand = (function (_super) {
|
|
|
37
37
|
return StartTextTranslationJobCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { StartTextTranslationJobCommand };
|
|
40
|
-
//# sourceMappingURL=StartTextTranslationJobCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1StopTextTranslationJobCommand, serializeAws_json1_1StopTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StopTextTranslationJobCommand, serializeAws_json1_1StopTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StopTextTranslationJobCommand = (function (_super) {
|
|
7
7
|
__extends(StopTextTranslationJobCommand, _super);
|
|
8
8
|
function StopTextTranslationJobCommand(input) {
|
|
@@ -37,4 +37,3 @@ var StopTextTranslationJobCommand = (function (_super) {
|
|
|
37
37
|
return StopTextTranslationJobCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { StopTextTranslationJobCommand };
|
|
40
|
-
//# sourceMappingURL=StopTextTranslationJobCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { TranslateTextRequest, TranslateTextResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1TranslateTextCommand, serializeAws_json1_1TranslateTextCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { TranslateTextRequest, TranslateTextResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1TranslateTextCommand, serializeAws_json1_1TranslateTextCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var TranslateTextCommand = (function (_super) {
|
|
7
7
|
__extends(TranslateTextCommand, _super);
|
|
8
8
|
function TranslateTextCommand(input) {
|
|
@@ -37,4 +37,3 @@ var TranslateTextCommand = (function (_super) {
|
|
|
37
37
|
return TranslateTextCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { TranslateTextCommand };
|
|
40
|
-
//# sourceMappingURL=TranslateTextCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateParallelDataRequest, UpdateParallelDataResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UpdateParallelDataCommand, serializeAws_json1_1UpdateParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateParallelDataRequest, UpdateParallelDataResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateParallelDataCommand, serializeAws_json1_1UpdateParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var UpdateParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateParallelDataCommand, _super);
|
|
8
8
|
function UpdateParallelDataCommand(input) {
|
|
@@ -37,4 +37,3 @@ var UpdateParallelDataCommand = (function (_super) {
|
|
|
37
37
|
return UpdateParallelDataCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { UpdateParallelDataCommand };
|
|
40
|
-
//# sourceMappingURL=UpdateParallelDataCommand.js.map
|
|
@@ -53,7 +53,7 @@ var partitionHash = {
|
|
|
53
53
|
hostname: "translate.{region}.amazonaws.com.cn",
|
|
54
54
|
},
|
|
55
55
|
"aws-iso": {
|
|
56
|
-
regions: ["us-iso-east-1"],
|
|
56
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
57
57
|
hostname: "translate.{region}.c2s.ic.gov",
|
|
58
58
|
},
|
|
59
59
|
"aws-iso-b": {
|
|
@@ -70,4 +70,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
70
70
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "translate", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
71
71
|
});
|
|
72
72
|
}); };
|
|
73
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -253,4 +253,3 @@ export var UpdateParallelDataResponse;
|
|
|
253
253
|
(function (UpdateParallelDataResponse) {
|
|
254
254
|
UpdateParallelDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
255
255
|
})(UpdateParallelDataResponse || (UpdateParallelDataResponse = {}));
|
|
256
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListParallelDataCommand, } from "../commands/ListParallelDataCommand";
|
|
2
3
|
import { Translate } from "../Translate";
|
|
3
4
|
import { TranslateClient } from "../TranslateClient";
|
|
4
|
-
import { ListParallelDataCommand, } from "../commands/ListParallelDataCommand";
|
|
5
5
|
var makePagedClientRequest = function (client, input) {
|
|
6
6
|
var args = [];
|
|
7
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -72,4 +72,3 @@ export function paginateListParallelData(config, input) {
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=ListParallelDataPaginator.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListTerminologiesCommand, } from "../commands/ListTerminologiesCommand";
|
|
2
3
|
import { Translate } from "../Translate";
|
|
3
4
|
import { TranslateClient } from "../TranslateClient";
|
|
4
|
-
import { ListTerminologiesCommand, } from "../commands/ListTerminologiesCommand";
|
|
5
5
|
var makePagedClientRequest = function (client, input) {
|
|
6
6
|
var args = [];
|
|
7
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -72,4 +72,3 @@ export function paginateListTerminologies(config, input) {
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=ListTerminologiesPaginator.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListTextTranslationJobsCommand, } from "../commands/ListTextTranslationJobsCommand";
|
|
2
3
|
import { Translate } from "../Translate";
|
|
3
4
|
import { TranslateClient } from "../TranslateClient";
|
|
4
|
-
import { ListTextTranslationJobsCommand, } from "../commands/ListTextTranslationJobsCommand";
|
|
5
5
|
var makePagedClientRequest = function (client, input) {
|
|
6
6
|
var args = [];
|
|
7
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -72,4 +72,3 @@ export function paginateListTextTranslationJobs(config, input) {
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=ListTextTranslationJobsPaginator.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
3
|
export var getRuntimeConfig = function (config) {
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
5
|
return ({
|
|
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
11
11
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|