@aws-sdk/client-translate 3.362.0 → 3.369.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist-cjs/Translate.js +1 -1
  2. package/dist-cjs/TranslateClient.js +5 -5
  3. package/dist-cjs/commands/CreateParallelDataCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteParallelDataCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteTerminologyCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +3 -3
  7. package/dist-cjs/commands/GetParallelDataCommand.js +3 -3
  8. package/dist-cjs/commands/GetTerminologyCommand.js +3 -3
  9. package/dist-cjs/commands/ImportTerminologyCommand.js +3 -3
  10. package/dist-cjs/commands/ListLanguagesCommand.js +3 -3
  11. package/dist-cjs/commands/ListParallelDataCommand.js +3 -3
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  13. package/dist-cjs/commands/ListTerminologiesCommand.js +3 -3
  14. package/dist-cjs/commands/ListTextTranslationJobsCommand.js +3 -3
  15. package/dist-cjs/commands/StartTextTranslationJobCommand.js +3 -3
  16. package/dist-cjs/commands/StopTextTranslationJobCommand.js +3 -3
  17. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  18. package/dist-cjs/commands/TranslateDocumentCommand.js +3 -3
  19. package/dist-cjs/commands/TranslateTextCommand.js +3 -3
  20. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateParallelDataCommand.js +3 -3
  22. package/dist-cjs/models/TranslateServiceException.js +1 -1
  23. package/dist-cjs/models/models_0.js +1 -1
  24. package/dist-cjs/protocols/Aws_json1_1.js +1 -1
  25. package/dist-cjs/runtimeConfig.browser.js +7 -7
  26. package/dist-cjs/runtimeConfig.js +10 -10
  27. package/dist-cjs/runtimeConfig.shared.js +4 -4
  28. package/dist-es/Translate.js +1 -1
  29. package/dist-es/TranslateClient.js +5 -5
  30. package/dist-es/commands/CreateParallelDataCommand.js +3 -3
  31. package/dist-es/commands/DeleteParallelDataCommand.js +3 -3
  32. package/dist-es/commands/DeleteTerminologyCommand.js +3 -3
  33. package/dist-es/commands/DescribeTextTranslationJobCommand.js +3 -3
  34. package/dist-es/commands/GetParallelDataCommand.js +3 -3
  35. package/dist-es/commands/GetTerminologyCommand.js +3 -3
  36. package/dist-es/commands/ImportTerminologyCommand.js +3 -3
  37. package/dist-es/commands/ListLanguagesCommand.js +3 -3
  38. package/dist-es/commands/ListParallelDataCommand.js +3 -3
  39. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  40. package/dist-es/commands/ListTerminologiesCommand.js +3 -3
  41. package/dist-es/commands/ListTextTranslationJobsCommand.js +3 -3
  42. package/dist-es/commands/StartTextTranslationJobCommand.js +3 -3
  43. package/dist-es/commands/StopTextTranslationJobCommand.js +3 -3
  44. package/dist-es/commands/TagResourceCommand.js +3 -3
  45. package/dist-es/commands/TranslateDocumentCommand.js +3 -3
  46. package/dist-es/commands/TranslateTextCommand.js +3 -3
  47. package/dist-es/commands/UntagResourceCommand.js +3 -3
  48. package/dist-es/commands/UpdateParallelDataCommand.js +3 -3
  49. package/dist-es/models/TranslateServiceException.js +1 -1
  50. package/dist-es/models/models_0.js +1 -1
  51. package/dist-es/protocols/Aws_json1_1.js +1 -1
  52. package/dist-es/runtimeConfig.browser.js +7 -7
  53. package/dist-es/runtimeConfig.js +10 -10
  54. package/dist-es/runtimeConfig.shared.js +4 -4
  55. package/dist-types/Translate.d.ts +1 -1
  56. package/dist-types/TranslateClient.d.ts +8 -8
  57. package/dist-types/commands/CreateParallelDataCommand.d.ts +3 -3
  58. package/dist-types/commands/DeleteParallelDataCommand.d.ts +3 -3
  59. package/dist-types/commands/DeleteTerminologyCommand.d.ts +3 -3
  60. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +3 -3
  61. package/dist-types/commands/GetParallelDataCommand.d.ts +3 -3
  62. package/dist-types/commands/GetTerminologyCommand.d.ts +3 -3
  63. package/dist-types/commands/ImportTerminologyCommand.d.ts +3 -3
  64. package/dist-types/commands/ListLanguagesCommand.d.ts +3 -3
  65. package/dist-types/commands/ListParallelDataCommand.d.ts +3 -3
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  67. package/dist-types/commands/ListTerminologiesCommand.d.ts +3 -3
  68. package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +3 -3
  69. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +3 -3
  70. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +3 -3
  71. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  72. package/dist-types/commands/TranslateDocumentCommand.d.ts +3 -3
  73. package/dist-types/commands/TranslateTextCommand.d.ts +3 -3
  74. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  75. package/dist-types/commands/UpdateParallelDataCommand.d.ts +3 -3
  76. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  77. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  78. package/dist-types/endpoint/ruleset.d.ts +1 -1
  79. package/dist-types/models/TranslateServiceException.d.ts +1 -1
  80. package/dist-types/models/models_0.d.ts +1 -1
  81. package/dist-types/pagination/Interfaces.d.ts +1 -1
  82. package/dist-types/pagination/ListLanguagesPaginator.d.ts +1 -1
  83. package/dist-types/pagination/ListParallelDataPaginator.d.ts +1 -1
  84. package/dist-types/pagination/ListTerminologiesPaginator.d.ts +1 -1
  85. package/dist-types/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
  86. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  87. package/dist-types/runtimeConfig.d.ts +20 -20
  88. package/dist-types/runtimeConfig.native.d.ts +19 -19
  89. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  90. package/dist-types/ts3.4/Translate.d.ts +1 -1
  91. package/dist-types/ts3.4/TranslateClient.d.ts +19 -21
  92. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +3 -3
  93. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +3 -3
  94. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +3 -3
  95. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +3 -3
  96. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +3 -3
  97. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +3 -3
  98. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +3 -3
  99. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +3 -3
  100. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +3 -3
  101. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  102. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +3 -3
  103. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +3 -3
  104. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +3 -3
  105. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +3 -3
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  107. package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +3 -3
  108. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +3 -3
  109. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  110. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +3 -3
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  112. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  113. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  114. package/dist-types/ts3.4/models/TranslateServiceException.d.ts +1 -1
  115. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  116. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  117. package/dist-types/ts3.4/pagination/ListLanguagesPaginator.d.ts +1 -1
  118. package/dist-types/ts3.4/pagination/ListParallelDataPaginator.d.ts +1 -1
  119. package/dist-types/ts3.4/pagination/ListTerminologiesPaginator.d.ts +1 -1
  120. package/dist-types/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
  121. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  122. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  123. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  124. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  125. package/package.json +34 -33
@@ -1,42 +1,42 @@
1
- import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { TranslateClientConfig } from "./TranslateClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
- region: string | import("@aws-sdk/types").Provider<string>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@aws-sdk/types").HashConstructor;
16
+ sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
- urlParser: import("@aws-sdk/types").UrlParser;
21
+ urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
23
  base64Encoder: import("@smithy/types").Encoder;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
25
  utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
- logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
28
+ logger: import("@smithy/types").Logger;
29
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
- logger?: import("@aws-sdk/types").Logger | undefined;
32
- }) => import("@aws-sdk/types").EndpointV2;
31
+ logger?: import("@smithy/types").Logger | undefined;
32
+ }) => import("@smithy/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
- credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
- signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
38
38
  systemClockOffset?: number | undefined;
39
39
  signingRegion?: string | undefined;
40
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
40
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
42
42
  };
@@ -4,11 +4,11 @@ import { TranslateClientConfig } from "./TranslateClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
- urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ urlParser: import("@smithy/types").UrlParser;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
14
  base64Encoder: import("@smithy/types").Encoder;
@@ -16,26 +16,26 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
16
16
  utf8Encoder: import("@smithy/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
21
- region: string | import("@aws-sdk/types").Provider<any>;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ region: string | import("@smithy/types").Provider<any>;
22
22
  credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
23
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
- maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
23
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
24
+ maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- logger: import("@aws-sdk/types").Logger;
27
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
- endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
26
+ logger: import("@smithy/types").Logger;
27
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
- logger?: import("@aws-sdk/types").Logger | undefined;
31
- }) => import("@aws-sdk/types").EndpointV2;
30
+ logger?: import("@smithy/types").Logger | undefined;
31
+ }) => import("@smithy/types").EndpointV2;
32
32
  tls?: boolean | undefined;
33
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
34
- credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
- signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
35
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
36
36
  signingEscapePath?: boolean | undefined;
37
37
  systemClockOffset?: number | undefined;
38
38
  signingRegion?: string | undefined;
39
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
40
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
39
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
40
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
41
  };
@@ -8,11 +8,11 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
8
8
  base64Encoder: import("@smithy/types").Encoder;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
- logger?: import("@aws-sdk/types").Logger | undefined;
12
- }) => import("@aws-sdk/types").EndpointV2;
13
- logger: import("@aws-sdk/types").Logger;
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ logger: import("@smithy/types").Logger;
14
14
  serviceId: string;
15
- urlParser: import("@aws-sdk/types").UrlParser;
15
+ urlParser: import("@smithy/types").UrlParser;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
17
  utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import {
3
3
  CreateParallelDataCommandInput,
4
4
  CreateParallelDataCommandOutput,
@@ -1,19 +1,7 @@
1
- import {
2
- RegionInputConfig,
3
- RegionResolvedConfig,
4
- } from "@aws-sdk/config-resolver";
5
- import {
6
- EndpointInputConfig,
7
- EndpointResolvedConfig,
8
- } from "@aws-sdk/middleware-endpoint";
9
1
  import {
10
2
  HostHeaderInputConfig,
11
3
  HostHeaderResolvedConfig,
12
4
  } from "@aws-sdk/middleware-host-header";
13
- import {
14
- RetryInputConfig,
15
- RetryResolvedConfig,
16
- } from "@aws-sdk/middleware-retry";
17
5
  import {
18
6
  AwsAuthInputConfig,
19
7
  AwsAuthResolvedConfig,
@@ -22,29 +10,39 @@ import {
22
10
  UserAgentInputConfig,
23
11
  UserAgentResolvedConfig,
24
12
  } from "@aws-sdk/middleware-user-agent";
13
+ import { Credentials as __Credentials } from "@aws-sdk/types";
14
+ import {
15
+ RegionInputConfig,
16
+ RegionResolvedConfig,
17
+ } from "@smithy/config-resolver";
18
+ import {
19
+ EndpointInputConfig,
20
+ EndpointResolvedConfig,
21
+ } from "@smithy/middleware-endpoint";
22
+ import {
23
+ RetryInputConfig,
24
+ RetryResolvedConfig,
25
+ } from "@smithy/middleware-retry";
26
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
25
27
  import {
26
28
  Client as __Client,
27
29
  DefaultsMode as __DefaultsMode,
28
30
  SmithyConfiguration as __SmithyConfiguration,
29
31
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
30
- } from "@aws-sdk/smithy-client";
32
+ } from "@smithy/smithy-client";
31
33
  import {
32
34
  BodyLengthCalculator as __BodyLengthCalculator,
33
35
  ChecksumConstructor as __ChecksumConstructor,
34
- Credentials as __Credentials,
36
+ Decoder as __Decoder,
37
+ Encoder as __Encoder,
35
38
  HashConstructor as __HashConstructor,
36
39
  HttpHandlerOptions as __HttpHandlerOptions,
37
40
  Logger as __Logger,
41
+ Provider as __Provider,
38
42
  Provider,
43
+ StreamCollector as __StreamCollector,
39
44
  UrlParser as __UrlParser,
40
45
  UserAgent as __UserAgent,
41
- } from "@aws-sdk/types";
42
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
43
- import {
44
- Decoder as __Decoder,
45
- Encoder as __Encoder,
46
- Provider as __Provider,
47
- StreamCollector as __StreamCollector,
48
46
  } from "@smithy/types";
49
47
  import {
50
48
  CreateParallelDataCommandInput,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  CreateParallelDataRequest,
11
11
  CreateParallelDataResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  DeleteParallelDataRequest,
11
11
  DeleteParallelDataResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import { DeleteTerminologyRequest } from "../models/models_0";
10
10
  import {
11
11
  ServiceInputTypes,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  DescribeTextTranslationJobRequest,
11
11
  DescribeTextTranslationJobResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  GetParallelDataRequest,
11
11
  GetParallelDataResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  GetTerminologyRequest,
11
11
  GetTerminologyResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  ImportTerminologyRequest,
11
11
  ImportTerminologyResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  ListLanguagesRequest,
11
11
  ListLanguagesResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  ListParallelDataRequest,
11
11
  ListParallelDataResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  ListTagsForResourceRequest,
11
11
  ListTagsForResourceResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  ListTerminologiesRequest,
11
11
  ListTerminologiesResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  ListTextTranslationJobsRequest,
11
11
  ListTextTranslationJobsResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  StartTextTranslationJobRequest,
11
11
  StartTextTranslationJobResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  StopTextTranslationJobRequest,
11
11
  StopTextTranslationJobResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
10
10
  import {
11
11
  ServiceInputTypes,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  TranslateDocumentRequest,
11
11
  TranslateDocumentResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  TranslateTextRequest,
11
11
  TranslateTextResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  UntagResourceRequest,
11
11
  UntagResourceResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  UpdateParallelDataRequest,
11
11
  UpdateParallelDataResponse,
@@ -1,8 +1,9 @@
1
1
  import {
2
+ Endpoint,
2
3
  EndpointParameters as __EndpointParameters,
3
4
  EndpointV2,
4
- } from "@aws-sdk/types";
5
- import { Endpoint, Provider } from "@smithy/types";
5
+ Provider,
6
+ } from "@smithy/types";
6
7
  export interface ClientInputEndpointParameters {
7
8
  region?: string | Provider<string>;
8
9
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -1,4 +1,4 @@
1
- import { EndpointV2, Logger } from "@aws-sdk/types";
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
2
  import { EndpointParameters } from "./EndpointParameters";
3
3
  export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
@@ -1,2 +1,2 @@
1
- import { RuleSetObject } from "@aws-sdk/util-endpoints";
1
+ import { RuleSetObject } from "@smithy/types";
2
2
  export declare const ruleSet: RuleSetObject;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
- } from "@aws-sdk/smithy-client";
4
+ } from "@smithy/smithy-client";
5
5
  export { __ServiceException, __ServiceExceptionOptions };
6
6
  export declare class TranslateServiceException extends __ServiceException {
7
7
  constructor(options: __ServiceExceptionOptions);
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
3
3
  export interface Term {
4
4
  SourceText?: string;
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
1
+ import { PaginationConfiguration } from "@smithy/types";
2
2
  import { TranslateClient } from "../TranslateClient";
3
3
  export interface TranslatePaginationConfiguration
4
4
  extends PaginationConfiguration {
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@aws-sdk/types";
1
+ import { Paginator } from "@smithy/types";
2
2
  import {
3
3
  ListLanguagesCommandInput,
4
4
  ListLanguagesCommandOutput,
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@aws-sdk/types";
1
+ import { Paginator } from "@smithy/types";
2
2
  import {
3
3
  ListParallelDataCommandInput,
4
4
  ListParallelDataCommandOutput,
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@aws-sdk/types";
1
+ import { Paginator } from "@smithy/types";
2
2
  import {
3
3
  ListTerminologiesCommandInput,
4
4
  ListTerminologiesCommandOutput,
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@aws-sdk/types";
1
+ import { Paginator } from "@smithy/types";
2
2
  import {
3
3
  ListTextTranslationJobsCommandInput,
4
4
  ListTextTranslationJobsCommandOutput,