@aws-sdk/client-translate 3.289.0 → 3.292.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 +30 -0
- package/dist-types/commands/DeleteParallelDataCommand.d.ts +17 -0
- package/dist-types/commands/DeleteTerminologyCommand.d.ts +17 -0
- package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +13 -0
- package/dist-types/commands/GetParallelDataCommand.d.ts +17 -0
- package/dist-types/commands/GetTerminologyCommand.d.ts +17 -0
- package/dist-types/commands/ImportTerminologyCommand.d.ts +23 -0
- package/dist-types/commands/ListLanguagesCommand.d.ts +15 -0
- package/dist-types/commands/ListParallelDataCommand.d.ts +12 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
- package/dist-types/commands/ListTerminologiesCommand.d.ts +12 -0
- package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +15 -0
- package/dist-types/commands/StartTextTranslationJobCommand.d.ts +25 -0
- package/dist-types/commands/StopTextTranslationJobCommand.d.ts +13 -0
- package/dist-types/commands/TagResourceCommand.d.ts +20 -0
- package/dist-types/commands/TranslateTextCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/commands/UpdateParallelDataCommand.d.ts +32 -0
- package/package.json +35 -40
|
@@ -32,6 +32,36 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
|
|
|
32
32
|
* @see {@link CreateParallelDataCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
36
|
+
* <p>Another modification is being made. That modification must complete before you can make
|
|
37
|
+
* your change.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ConflictException} (client fault)
|
|
40
|
+
* <p>There was a conflict processing the request. Try your request again.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalServerException} (server fault)
|
|
43
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
46
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
47
|
+
* to correct it, and then retry your operation.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
50
|
+
* <p> The request that you made is not valid. Check your request to determine why it's not
|
|
51
|
+
* valid and then retry the request. </p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
54
|
+
* <p>The specified limit has been exceeded. Review your request and retry it with a quantity
|
|
55
|
+
* below the stated limit.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
58
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
59
|
+
* then try your request again.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
62
|
+
* <p>You have added too many tags to this resource. The maximum is 50 tags.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
35
65
|
*/
|
|
36
66
|
export declare class CreateParallelDataCommand extends $Command<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
37
67
|
readonly input: CreateParallelDataCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
|
|
|
29
29
|
* @see {@link DeleteParallelDataCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
33
|
+
* <p>Another modification is being made. That modification must complete before you can make
|
|
34
|
+
* your change.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalServerException} (server fault)
|
|
37
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
41
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
42
|
+
* request.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
45
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
46
|
+
* then try your request again.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
34
51
|
readonly input: DeleteParallelDataCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* @see {@link DeleteTerminologyCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
36
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
37
|
+
* to correct it, and then retry your operation.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
41
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
42
|
+
* request.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
45
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
46
|
+
* then try your request again.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class DeleteTerminologyCommand extends $Command<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
34
51
|
readonly input: DeleteTerminologyCommandInput;
|
|
@@ -30,6 +30,19 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
|
|
|
30
30
|
* @see {@link DescribeTextTranslationJobCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalServerException} (server fault)
|
|
34
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
37
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
38
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
39
|
+
* request.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
42
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
43
|
+
* then try your request again.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
33
46
|
*/
|
|
34
47
|
export declare class DescribeTextTranslationJobCommand extends $Command<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
35
48
|
readonly input: DescribeTextTranslationJobCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
|
|
|
29
29
|
* @see {@link GetParallelDataCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
36
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
37
|
+
* to correct it, and then retry your operation.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
41
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
42
|
+
* request.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
45
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
46
|
+
* then try your request again.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
34
51
|
readonly input: GetParallelDataCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
|
|
|
29
29
|
* @see {@link GetTerminologyCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
36
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
37
|
+
* to correct it, and then retry your operation.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
41
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
42
|
+
* request.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
45
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
46
|
+
* then try your request again.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
34
51
|
readonly input: GetTerminologyCommandInput;
|
|
@@ -36,6 +36,29 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
|
|
|
36
36
|
* @see {@link ImportTerminologyCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
40
|
+
* <p>Another modification is being made. That modification must complete before you can make
|
|
41
|
+
* your change.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InternalServerException} (server fault)
|
|
44
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
47
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
48
|
+
* to correct it, and then retry your operation.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
51
|
+
* <p>The specified limit has been exceeded. Review your request and retry it with a quantity
|
|
52
|
+
* below the stated limit.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
55
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
56
|
+
* then try your request again.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
59
|
+
* <p>You have added too many tags to this resource. The maximum is 50 tags.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
39
62
|
*/
|
|
40
63
|
export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
41
64
|
readonly input: ImportTerminologyCommandInput;
|
|
@@ -29,6 +29,21 @@ export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __Met
|
|
|
29
29
|
* @see {@link ListLanguagesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
36
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
37
|
+
* to correct it, and then retry your operation.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
40
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
41
|
+
* then try your request again.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link UnsupportedDisplayLanguageCodeException} (client fault)
|
|
44
|
+
* <p>Requested display language code is not supported.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
32
47
|
*/
|
|
33
48
|
export declare class ListLanguagesCommand extends $Command<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig> {
|
|
34
49
|
readonly input: ListLanguagesCommandInput;
|
|
@@ -29,6 +29,18 @@ export interface ListParallelDataCommandOutput extends ListParallelDataResponse,
|
|
|
29
29
|
* @see {@link ListParallelDataCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
36
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
37
|
+
* to correct it, and then retry your operation.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
40
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
41
|
+
* then try your request again.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
32
44
|
*/
|
|
33
45
|
export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
34
46
|
readonly input: ListParallelDataCommandInput;
|
|
@@ -31,6 +31,19 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InternalServerException} (server fault)
|
|
35
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
38
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
39
|
+
* to correct it, and then retry your operation.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
42
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
43
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
44
|
+
* request.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
34
47
|
*/
|
|
35
48
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig> {
|
|
36
49
|
readonly input: ListTagsForResourceCommandInput;
|
|
@@ -29,6 +29,18 @@ export interface ListTerminologiesCommandOutput extends ListTerminologiesRespons
|
|
|
29
29
|
* @see {@link ListTerminologiesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
36
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
37
|
+
* to correct it, and then retry your operation.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
40
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
41
|
+
* then try your request again.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
32
44
|
*/
|
|
33
45
|
export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
|
|
34
46
|
readonly input: ListTerminologiesCommandInput;
|
|
@@ -29,6 +29,21 @@ export interface ListTextTranslationJobsCommandOutput extends ListTextTranslatio
|
|
|
29
29
|
* @see {@link ListTextTranslationJobsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidFilterException} (client fault)
|
|
36
|
+
* <p>The filter specified for the operation is not valid. Specify a different filter.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
39
|
+
* <p> The request that you made is not valid. Check your request to determine why it's not
|
|
40
|
+
* valid and then retry the request. </p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
43
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
44
|
+
* then try your request again.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
32
47
|
*/
|
|
33
48
|
export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
|
|
34
49
|
readonly input: ListTextTranslationJobsCommandInput;
|
|
@@ -37,6 +37,31 @@ export interface StartTextTranslationJobCommandOutput extends StartTextTranslati
|
|
|
37
37
|
* @see {@link StartTextTranslationJobCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link InternalServerException} (server fault)
|
|
41
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
44
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
45
|
+
* to correct it, and then retry your operation.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
48
|
+
* <p> The request that you made is not valid. Check your request to determine why it's not
|
|
49
|
+
* valid and then retry the request. </p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
53
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
54
|
+
* request.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
57
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
58
|
+
* then try your request again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link UnsupportedLanguagePairException} (client fault)
|
|
61
|
+
* <p>Amazon Translate does not support translation from the language of the source text into the requested
|
|
62
|
+
* target language. For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/how-to-error-msg.html">Error messages</a>. </p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
40
65
|
*/
|
|
41
66
|
export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
42
67
|
readonly input: StartTextTranslationJobCommandInput;
|
|
@@ -35,6 +35,19 @@ export interface StopTextTranslationJobCommandOutput extends StopTextTranslation
|
|
|
35
35
|
* @see {@link StopTextTranslationJobCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link InternalServerException} (server fault)
|
|
39
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
42
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
43
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
44
|
+
* request.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
47
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
48
|
+
* then try your request again.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
38
51
|
*/
|
|
39
52
|
export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
40
53
|
readonly input: StopTextTranslationJobCommandInput;
|
|
@@ -32,6 +32,26 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
32
32
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
36
|
+
* <p>Another modification is being made. That modification must complete before you can make
|
|
37
|
+
* your change.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InternalServerException} (server fault)
|
|
40
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
43
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
44
|
+
* to correct it, and then retry your operation.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
47
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
48
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
49
|
+
* request.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
52
|
+
* <p>You have added too many tags to this resource. The maximum is 50 tags.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
35
55
|
*/
|
|
36
56
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig> {
|
|
37
57
|
readonly input: TagResourceCommandInput;
|
|
@@ -30,6 +30,41 @@ export interface TranslateTextCommandOutput extends TranslateTextResponse, __Met
|
|
|
30
30
|
* @see {@link TranslateTextCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link DetectedLanguageLowConfidenceException} (client fault)
|
|
34
|
+
* <p>The confidence that Amazon Comprehend accurately detected the source language is low. If a
|
|
35
|
+
* low confidence level is acceptable for your application, you can use the language in the
|
|
36
|
+
* exception to call Amazon Translate again. For more information, see the <a href="https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html">DetectDominantLanguage</a> operation in the <i>Amazon Comprehend Developer
|
|
37
|
+
* Guide</i>. </p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InternalServerException} (server fault)
|
|
40
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
43
|
+
* <p> The request that you made is not valid. Check your request to determine why it's not
|
|
44
|
+
* valid and then retry the request. </p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
47
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
48
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
49
|
+
* request.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
52
|
+
* <p>The Amazon Translate service is temporarily unavailable. Wait a bit and then retry your
|
|
53
|
+
* request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link TextSizeLimitExceededException} (client fault)
|
|
56
|
+
* <p> The size of the text you submitted exceeds the size limit. Reduce the size of the text or
|
|
57
|
+
* use a smaller document and then retry your request. </p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
60
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
61
|
+
* then try your request again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UnsupportedLanguagePairException} (client fault)
|
|
64
|
+
* <p>Amazon Translate does not support translation from the language of the source text into the requested
|
|
65
|
+
* target language. For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/how-to-error-msg.html">Error messages</a>. </p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
33
68
|
*/
|
|
34
69
|
export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
|
|
35
70
|
readonly input: TranslateTextCommandInput;
|
|
@@ -31,6 +31,23 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
31
31
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
35
|
+
* <p>Another modification is being made. That modification must complete before you can make
|
|
36
|
+
* your change.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalServerException} (server fault)
|
|
39
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
42
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
43
|
+
* to correct it, and then retry your operation.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
46
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
47
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
48
|
+
* request.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
34
51
|
*/
|
|
35
52
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig> {
|
|
36
53
|
readonly input: UntagResourceCommandInput;
|
|
@@ -30,6 +30,38 @@ export interface UpdateParallelDataCommandOutput extends UpdateParallelDataRespo
|
|
|
30
30
|
* @see {@link UpdateParallelDataCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
34
|
+
* <p>Another modification is being made. That modification must complete before you can make
|
|
35
|
+
* your change.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ConflictException} (client fault)
|
|
38
|
+
* <p>There was a conflict processing the request. Try your request again.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalServerException} (server fault)
|
|
41
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
44
|
+
* <p>The value of the parameter is not valid. Review the value of the parameter you are using
|
|
45
|
+
* to correct it, and then retry your operation.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
48
|
+
* <p> The request that you made is not valid. Check your request to determine why it's not
|
|
49
|
+
* valid and then retry the request. </p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
52
|
+
* <p>The specified limit has been exceeded. Review your request and retry it with a quantity
|
|
53
|
+
* below the stated limit.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The resource you are looking for has not been found. Review the resource you're looking
|
|
57
|
+
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
58
|
+
* request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
61
|
+
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
62
|
+
* then try your request again.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
33
65
|
*/
|
|
34
66
|
export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
35
67
|
readonly input: UpdateParallelDataCommandInput;
|
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.292.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,57 +20,52 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.292.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.292.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.292.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.292.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.292.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.292.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.292.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.292.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.292.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.292.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.292.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.292.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.292.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.292.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.292.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.292.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.292.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.292.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.292.0",
|
|
43
|
+
"@aws-sdk/types": "3.292.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.292.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.292.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.292.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.292.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.292.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.292.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.292.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.292.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.292.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.292.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.292.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.292.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"@types/uuid": "^8.3.0",
|
|
63
63
|
"concurrently": "7.0.0",
|
|
64
64
|
"downlevel-dts": "0.10.1",
|
|
65
65
|
"rimraf": "3.0.2",
|
|
66
|
-
"typedoc": "0.
|
|
66
|
+
"typedoc": "0.23.23",
|
|
67
67
|
"typescript": "~4.6.2"
|
|
68
68
|
},
|
|
69
|
-
"overrides": {
|
|
70
|
-
"typedoc": {
|
|
71
|
-
"typescript": "~4.6.2"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
69
|
"engines": {
|
|
75
70
|
"node": ">=14.0.0"
|
|
76
71
|
},
|