@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,94 +1,89 @@
1
- import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { TranslateClientConfig } from "./TranslateClient";
3
3
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
4
4
  runtime: string;
5
- defaultsMode: import("@aws-sdk/types").Provider<
6
- import("@aws-sdk/smithy-client").ResolvedDefaultsMode
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
11
  ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
- import("@aws-sdk/types").UserAgent
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
14
  >;
15
- maxAttempts: (number | import("@smithy/types").Provider<number>) &
16
- (number | import("@aws-sdk/types").Provider<number>);
17
- region: string | import("@aws-sdk/types").Provider<any>;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
18
17
  requestHandler:
19
- | (import("@aws-sdk/types").RequestHandler<
18
+ | (import("@smithy/types").RequestHandler<
20
19
  any,
21
20
  any,
22
- import("@aws-sdk/types").HttpHandlerOptions
21
+ import("@smithy/types").HttpHandlerOptions
23
22
  > &
24
23
  import("@smithy/protocol-http").HttpHandler)
25
24
  | RequestHandler;
26
25
  retryMode: string | import("@smithy/types").Provider<string>;
27
- sha256: import("@aws-sdk/types").HashConstructor;
26
+ sha256: import("@smithy/types").HashConstructor;
28
27
  streamCollector: import("@smithy/types").StreamCollector;
29
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
- (boolean | import("@aws-sdk/types").Provider<boolean>);
31
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
32
- (boolean | import("@aws-sdk/types").Provider<boolean>);
28
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
30
  apiVersion: string;
34
- urlParser: import("@aws-sdk/types").UrlParser;
31
+ urlParser: import("@smithy/types").UrlParser;
35
32
  base64Decoder: import("@smithy/types").Decoder;
36
33
  base64Encoder: import("@smithy/types").Encoder;
37
34
  utf8Decoder: import("@smithy/types").Decoder;
38
35
  utf8Encoder: import("@smithy/types").Encoder;
39
36
  disableHostPrefix: boolean;
40
37
  serviceId: string;
41
- logger: import("@aws-sdk/types").Logger;
38
+ logger: import("@smithy/types").Logger;
42
39
  endpoint?:
43
40
  | ((
44
41
  | string
45
- | import("@aws-sdk/types").Endpoint
46
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
47
- | import("@aws-sdk/types").EndpointV2
48
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
49
46
  ) &
50
47
  (
51
48
  | string
52
49
  | import("@smithy/types").Provider<string>
53
50
  | import("@smithy/types").Endpoint
54
51
  | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
- | import("@aws-sdk/types").EndpointV2
56
- | import("@smithy/types").Provider<
57
- import("@aws-sdk/types").EndpointV2
58
- >
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
59
54
  ))
60
55
  | undefined;
61
56
  endpointProvider: (
62
57
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
63
58
  context?: {
64
- logger?: import("@aws-sdk/types").Logger | undefined;
59
+ logger?: import("@smithy/types").Logger | undefined;
65
60
  }
66
- ) => import("@aws-sdk/types").EndpointV2;
61
+ ) => import("@smithy/types").EndpointV2;
67
62
  tls?: boolean | undefined;
68
63
  retryStrategy?:
69
- | import("@aws-sdk/types").RetryStrategy
70
- | import("@aws-sdk/types").RetryStrategyV2
64
+ | import("@smithy/types").RetryStrategy
65
+ | import("@smithy/types").RetryStrategyV2
71
66
  | undefined;
72
67
  credentials?:
73
- | import("@aws-sdk/types").AwsCredentialIdentity
74
- | import("@aws-sdk/types").Provider<
75
- import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@smithy/types").AwsCredentialIdentity
69
+ | import("@smithy/types").Provider<
70
+ import("@smithy/types").AwsCredentialIdentity
76
71
  >
77
72
  | undefined;
78
73
  signer?:
79
- | import("@aws-sdk/types").RequestSigner
74
+ | import("@smithy/types").RequestSigner
80
75
  | ((
81
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
82
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
76
+ authScheme?: import("@smithy/types").AuthScheme | undefined
77
+ ) => Promise<import("@smithy/types").RequestSigner>)
83
78
  | undefined;
84
79
  signingEscapePath?: boolean | undefined;
85
80
  systemClockOffset?: number | undefined;
86
81
  signingRegion?: string | undefined;
87
82
  signerConstructor?:
88
83
  | (new (
89
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
90
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
91
- ) => import("@aws-sdk/types").RequestSigner)
84
+ options: import("@smithy/signature-v4").SignatureV4Init &
85
+ import("@smithy/signature-v4").SignatureV4CryptoInit
86
+ ) => import("@smithy/types").RequestSigner)
92
87
  | undefined;
93
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
94
89
  };
@@ -1,91 +1,89 @@
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
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
4
4
  runtime: string;
5
- defaultsMode: import("@aws-sdk/types").Provider<
6
- import("@aws-sdk/smithy-client").ResolvedDefaultsMode
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
11
  ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
- import("@aws-sdk/types").UserAgent
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
14
  >;
15
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
- region: string | import("@aws-sdk/types").Provider<string>;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<string>;
17
17
  requestHandler:
18
- | (import("@aws-sdk/types").RequestHandler<
18
+ | (import("@smithy/types").RequestHandler<
19
19
  any,
20
20
  any,
21
- import("@aws-sdk/types").HttpHandlerOptions
21
+ import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
23
  import("@smithy/protocol-http").HttpHandler)
24
24
  | RequestHandler;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@aws-sdk/types").HashConstructor;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  streamCollector: import("@smithy/types").StreamCollector;
28
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
28
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  apiVersion: string;
31
- urlParser: import("@aws-sdk/types").UrlParser;
31
+ urlParser: import("@smithy/types").UrlParser;
32
32
  base64Decoder: import("@smithy/types").Decoder;
33
33
  base64Encoder: import("@smithy/types").Encoder;
34
34
  utf8Decoder: import("@smithy/types").Decoder;
35
35
  utf8Encoder: import("@smithy/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
- logger: import("@aws-sdk/types").Logger;
38
+ logger: import("@smithy/types").Logger;
39
39
  endpoint?:
40
40
  | ((
41
41
  | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
- | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
46
46
  ) &
47
47
  (
48
48
  | string
49
49
  | import("@smithy/types").Provider<string>
50
50
  | import("@smithy/types").Endpoint
51
51
  | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
- | import("@aws-sdk/types").EndpointV2
53
- | import("@smithy/types").Provider<
54
- import("@aws-sdk/types").EndpointV2
55
- >
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
54
  ))
57
55
  | undefined;
58
56
  endpointProvider: (
59
57
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
58
  context?: {
61
- logger?: import("@aws-sdk/types").Logger | undefined;
59
+ logger?: import("@smithy/types").Logger | undefined;
62
60
  }
63
- ) => import("@aws-sdk/types").EndpointV2;
61
+ ) => import("@smithy/types").EndpointV2;
64
62
  tls?: boolean | undefined;
65
63
  retryStrategy?:
66
- | import("@aws-sdk/types").RetryStrategy
67
- | import("@aws-sdk/types").RetryStrategyV2
64
+ | import("@smithy/types").RetryStrategy
65
+ | import("@smithy/types").RetryStrategyV2
68
66
  | undefined;
69
67
  credentials?:
70
- | import("@aws-sdk/types").AwsCredentialIdentity
71
- | import("@aws-sdk/types").Provider<
72
- import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@smithy/types").AwsCredentialIdentity
69
+ | import("@smithy/types").Provider<
70
+ import("@smithy/types").AwsCredentialIdentity
73
71
  >
74
72
  | undefined;
75
73
  signer?:
76
- | import("@aws-sdk/types").RequestSigner
74
+ | import("@smithy/types").RequestSigner
77
75
  | ((
78
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
79
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
76
+ authScheme?: import("@smithy/types").AuthScheme | undefined
77
+ ) => Promise<import("@smithy/types").RequestSigner>)
80
78
  | undefined;
81
79
  signingEscapePath?: boolean | undefined;
82
80
  systemClockOffset?: number | undefined;
83
81
  signingRegion?: string | undefined;
84
82
  signerConstructor?:
85
83
  | (new (
86
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
87
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
88
- ) => import("@aws-sdk/types").RequestSigner)
84
+ options: import("@smithy/signature-v4").SignatureV4Init &
85
+ import("@smithy/signature-v4").SignatureV4CryptoInit
86
+ ) => import("@smithy/types").RequestSigner)
89
87
  | undefined;
90
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
91
89
  };
@@ -1,18 +1,18 @@
1
1
  import { TranslateClientConfig } from "./TranslateClient";
2
2
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@aws-sdk/types").HashConstructor;
4
+ sha256: import("@smithy/types").HashConstructor;
5
5
  requestHandler:
6
- | (import("@aws-sdk/types").RequestHandler<
6
+ | (import("@smithy/types").RequestHandler<
7
7
  any,
8
8
  any,
9
- import("@aws-sdk/types").HttpHandlerOptions
9
+ import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
11
  import("@smithy/protocol-http").HttpHandler)
12
- | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
12
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
- urlParser: import("@aws-sdk/types").UrlParser;
15
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
14
+ urlParser: import("@smithy/types").UrlParser;
15
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
16
  streamCollector: import("@smithy/types").StreamCollector;
17
17
  base64Decoder: import("@smithy/types").Decoder;
18
18
  base64Encoder: import("@smithy/types").Encoder;
@@ -20,66 +20,61 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
20
20
  utf8Encoder: import("@smithy/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
- (boolean | import("@aws-sdk/types").Provider<boolean>);
25
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
- (boolean | import("@aws-sdk/types").Provider<boolean>);
27
- region: string | import("@aws-sdk/types").Provider<any>;
23
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ region: string | import("@smithy/types").Provider<any>;
28
26
  credentialDefaultProvider: (
29
27
  input: any
30
28
  ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
31
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
32
- import("@aws-sdk/types").UserAgent
29
+ defaultUserAgentProvider: import("@smithy/types").Provider<
30
+ import("@smithy/types").UserAgent
33
31
  >;
34
- maxAttempts: (number | import("@smithy/types").Provider<number>) &
35
- (number | import("@aws-sdk/types").Provider<number>);
32
+ maxAttempts: number | import("@smithy/types").Provider<number>;
36
33
  retryMode: string | import("@smithy/types").Provider<string>;
37
- logger: import("@aws-sdk/types").Logger;
34
+ logger: import("@smithy/types").Logger;
38
35
  defaultsMode:
39
- | import("@aws-sdk/smithy-client").DefaultsMode
36
+ | import("@smithy/smithy-client").DefaultsMode
40
37
  | import("@smithy/types").Provider<
41
- import("@aws-sdk/smithy-client").DefaultsMode
38
+ import("@smithy/smithy-client").DefaultsMode
42
39
  >;
43
40
  endpoint?:
44
41
  | string
45
- | import("@aws-sdk/types").EndpointV2
46
- | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
47
- import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
48
- | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
49
- | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
50
- import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
51
46
  | undefined;
52
47
  endpointProvider: (
53
48
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
54
49
  context?: {
55
- logger?: import("@aws-sdk/types").Logger | undefined;
50
+ logger?: import("@smithy/types").Logger | undefined;
56
51
  }
57
- ) => import("@aws-sdk/types").EndpointV2;
52
+ ) => import("@smithy/types").EndpointV2;
58
53
  tls?: boolean | undefined;
59
54
  retryStrategy?:
60
- | import("@aws-sdk/types").RetryStrategy
61
- | import("@aws-sdk/types").RetryStrategyV2
55
+ | import("@smithy/types").RetryStrategy
56
+ | import("@smithy/types").RetryStrategyV2
62
57
  | undefined;
63
58
  credentials?:
64
- | import("@aws-sdk/types").AwsCredentialIdentity
65
- | import("@aws-sdk/types").Provider<
66
- import("@aws-sdk/types").AwsCredentialIdentity
59
+ | import("@smithy/types").AwsCredentialIdentity
60
+ | import("@smithy/types").Provider<
61
+ import("@smithy/types").AwsCredentialIdentity
67
62
  >
68
63
  | undefined;
69
64
  signer?:
70
- | import("@aws-sdk/types").RequestSigner
65
+ | import("@smithy/types").RequestSigner
71
66
  | ((
72
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
73
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
67
+ authScheme?: import("@smithy/types").AuthScheme | undefined
68
+ ) => Promise<import("@smithy/types").RequestSigner>)
74
69
  | undefined;
75
70
  signingEscapePath?: boolean | undefined;
76
71
  systemClockOffset?: number | undefined;
77
72
  signingRegion?: string | undefined;
78
73
  signerConstructor?:
79
74
  | (new (
80
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
81
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
82
- ) => import("@aws-sdk/types").RequestSigner)
75
+ options: import("@smithy/signature-v4").SignatureV4Init &
76
+ import("@smithy/signature-v4").SignatureV4CryptoInit
77
+ ) => import("@smithy/types").RequestSigner)
83
78
  | undefined;
84
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
79
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
85
80
  };
@@ -7,12 +7,12 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
9
  context?: {
10
- logger?: import("@aws-sdk/types").Logger | undefined;
10
+ logger?: import("@smithy/types").Logger | undefined;
11
11
  }
12
- ) => import("@aws-sdk/types").EndpointV2;
13
- logger: import("@aws-sdk/types").Logger;
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
  };
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.362.0",
4
+ "version": "3.369.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",
@@ -21,44 +21,45 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.362.0",
25
- "@aws-sdk/config-resolver": "3.357.0",
26
- "@aws-sdk/credential-provider-node": "3.362.0",
27
- "@aws-sdk/fetch-http-handler": "3.357.0",
28
- "@aws-sdk/hash-node": "3.357.0",
29
- "@aws-sdk/invalid-dependency": "3.357.0",
30
- "@aws-sdk/middleware-content-length": "3.357.0",
31
- "@aws-sdk/middleware-endpoint": "3.357.0",
32
- "@aws-sdk/middleware-host-header": "3.357.0",
33
- "@aws-sdk/middleware-logger": "3.357.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
- "@aws-sdk/middleware-retry": "3.362.0",
36
- "@aws-sdk/middleware-serde": "3.357.0",
37
- "@aws-sdk/middleware-signing": "3.357.0",
38
- "@aws-sdk/middleware-stack": "3.357.0",
39
- "@aws-sdk/middleware-user-agent": "3.357.0",
40
- "@aws-sdk/node-config-provider": "3.357.0",
41
- "@aws-sdk/node-http-handler": "3.360.0",
42
- "@aws-sdk/smithy-client": "3.360.0",
43
- "@aws-sdk/types": "3.357.0",
44
- "@aws-sdk/url-parser": "3.357.0",
45
- "@aws-sdk/util-base64": "3.310.0",
46
- "@aws-sdk/util-body-length-browser": "3.310.0",
47
- "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.360.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.360.0",
50
- "@aws-sdk/util-endpoints": "3.357.0",
51
- "@aws-sdk/util-retry": "3.362.0",
52
- "@aws-sdk/util-user-agent-browser": "3.357.0",
53
- "@aws-sdk/util-user-agent-node": "3.357.0",
54
- "@aws-sdk/util-utf8": "3.310.0",
24
+ "@aws-sdk/client-sts": "3.369.0",
25
+ "@aws-sdk/credential-provider-node": "3.369.0",
26
+ "@aws-sdk/middleware-host-header": "3.369.0",
27
+ "@aws-sdk/middleware-logger": "3.369.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.369.0",
29
+ "@aws-sdk/middleware-signing": "3.369.0",
30
+ "@aws-sdk/middleware-user-agent": "3.369.0",
31
+ "@aws-sdk/types": "3.369.0",
32
+ "@aws-sdk/util-endpoints": "3.369.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.369.0",
34
+ "@aws-sdk/util-user-agent-node": "3.369.0",
35
+ "@smithy/config-resolver": "^1.0.1",
36
+ "@smithy/fetch-http-handler": "^1.0.1",
37
+ "@smithy/hash-node": "^1.0.1",
38
+ "@smithy/invalid-dependency": "^1.0.1",
39
+ "@smithy/middleware-content-length": "^1.0.1",
40
+ "@smithy/middleware-endpoint": "^1.0.1",
41
+ "@smithy/middleware-retry": "^1.0.2",
42
+ "@smithy/middleware-serde": "^1.0.1",
43
+ "@smithy/middleware-stack": "^1.0.1",
44
+ "@smithy/node-config-provider": "^1.0.1",
45
+ "@smithy/node-http-handler": "^1.0.2",
55
46
  "@smithy/protocol-http": "^1.0.1",
56
- "@smithy/types": "^1.0.0",
47
+ "@smithy/smithy-client": "^1.0.3",
48
+ "@smithy/types": "^1.1.0",
49
+ "@smithy/url-parser": "^1.0.1",
50
+ "@smithy/util-base64": "^1.0.1",
51
+ "@smithy/util-body-length-browser": "^1.0.1",
52
+ "@smithy/util-body-length-node": "^1.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^1.0.1",
54
+ "@smithy/util-defaults-mode-node": "^1.0.1",
55
+ "@smithy/util-retry": "^1.0.2",
56
+ "@smithy/util-utf8": "^1.0.1",
57
57
  "tslib": "^2.5.0",
58
58
  "uuid": "^8.3.2"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@aws-sdk/service-client-documentation-generator": "3.310.0",
62
+ "@smithy/service-client-documentation-generator": "^1.0.1",
62
63
  "@tsconfig/node14": "1.0.3",
63
64
  "@types/node": "^14.14.31",
64
65
  "@types/uuid": "^8.3.0",