@aws-sdk/client-translate 3.799.0 → 3.804.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 (42) hide show
  1. package/dist-es/protocols/Aws_json1_1.js +2 -2
  2. package/dist-types/commands/CreateParallelDataCommand.d.ts +1 -1
  3. package/dist-types/commands/DeleteParallelDataCommand.d.ts +1 -1
  4. package/dist-types/commands/DeleteTerminologyCommand.d.ts +1 -1
  5. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +1 -1
  6. package/dist-types/commands/GetParallelDataCommand.d.ts +1 -1
  7. package/dist-types/commands/GetTerminologyCommand.d.ts +1 -1
  8. package/dist-types/commands/ImportTerminologyCommand.d.ts +1 -1
  9. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  10. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +1 -1
  11. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +1 -1
  12. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  13. package/dist-types/commands/TranslateDocumentCommand.d.ts +1 -1
  14. package/dist-types/commands/TranslateTextCommand.d.ts +1 -1
  15. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  16. package/dist-types/commands/UpdateParallelDataCommand.d.ts +1 -1
  17. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  18. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  19. package/dist-types/runtimeConfig.d.ts +16 -16
  20. package/dist-types/runtimeConfig.native.d.ts +18 -18
  21. package/dist-types/runtimeConfig.shared.d.ts +7 -3
  22. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  42. package/package.json +20 -20
@@ -616,8 +616,8 @@ const se_TextTranslationJobFilter = (input, context) => {
616
616
  return take(input, {
617
617
  JobName: [],
618
618
  JobStatus: [],
619
- SubmittedAfterTime: (_) => _.getTime() / 1000,
620
- SubmittedBeforeTime: (_) => _.getTime() / 1000,
619
+ SubmittedAfterTime: (_) => _.getTime() / 1_000,
620
+ SubmittedBeforeTime: (_) => _.getTime() / 1_000,
621
621
  });
622
622
  };
623
623
  const se_TranslateDocumentRequest = (input, context) => {
@@ -23,7 +23,7 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
23
23
  }
24
24
  declare const CreateParallelDataCommand_base: {
25
25
  new (input: CreateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: CreateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
23
23
  }
24
24
  declare const DeleteParallelDataCommand_base: {
25
25
  new (input: DeleteParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteTerminologyCommand_base: {
25
25
  new (input: DeleteTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
23
23
  }
24
24
  declare const DescribeTextTranslationJobCommand_base: {
25
25
  new (input: DescribeTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DescribeTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
23
23
  }
24
24
  declare const GetParallelDataCommand_base: {
25
25
  new (input: GetParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
23
23
  }
24
24
  declare const GetTerminologyCommand_base: {
25
25
  new (input: GetTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
23
23
  }
24
24
  declare const ImportTerminologyCommand_base: {
25
25
  new (input: ImportTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ImportTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ImportTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
23
23
  }
24
24
  declare const ListTagsForResourceCommand_base: {
25
25
  new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface StartTextTranslationJobCommandOutput extends StartTextTranslati
23
23
  }
24
24
  declare const StartTextTranslationJobCommand_base: {
25
25
  new (input: StartTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: StartTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface StopTextTranslationJobCommandOutput extends StopTextTranslation
23
23
  }
24
24
  declare const StopTextTranslationJobCommand_base: {
25
25
  new (input: StopTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: StopTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
23
23
  }
24
24
  declare const TagResourceCommand_base: {
25
25
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface TranslateDocumentCommandOutput extends TranslateDocumentRespons
23
23
  }
24
24
  declare const TranslateDocumentCommand_base: {
25
25
  new (input: TranslateDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: TranslateDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TranslateDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface TranslateTextCommandOutput extends TranslateTextResponse, __Met
23
23
  }
24
24
  declare const TranslateTextCommand_base: {
25
25
  new (input: TranslateTextCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: TranslateTextCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TranslateTextCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
23
23
  }
24
24
  declare const UntagResourceCommand_base: {
25
25
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface UpdateParallelDataCommandOutput extends UpdateParallelDataRespo
23
23
  }
24
24
  declare const UpdateParallelDataCommand_base: {
25
25
  new (input: UpdateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -11,9 +11,7 @@ export interface ClientInputEndpointParameters {
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
13
13
  };
14
- export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
- defaultSigningName: string;
16
- };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
17
15
  export declare const commonParams: {
18
16
  readonly UseFIPS: {
19
17
  readonly type: "builtInParams";
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -21,30 +21,30 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
21
21
  cacheMiddleware?: boolean | undefined;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: (_input: string | Uint8Array) => string;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: (input: string | Uint8Array) => string;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
- profile?: string | undefined;
29
+ profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
+ customUserAgent?: string | import("@smithy/types").UserAgent;
33
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
35
  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;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
- logger?: import("@smithy/types").Logger | undefined;
37
+ logger?: import("@smithy/types").Logger;
38
38
  }) => import("@smithy/types").EndpointV2;
39
- tls?: boolean | undefined;
40
- serviceConfiguredEndpoint?: undefined;
41
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
39
+ tls?: boolean;
40
+ serviceConfiguredEndpoint?: never;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
44
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
45
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
46
- signingEscapePath?: boolean | undefined;
47
- systemClockOffset?: number | undefined;
48
- signingRegion?: string | undefined;
49
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
50
  };
@@ -8,8 +8,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
@@ -23,28 +23,28 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
23
23
  cacheMiddleware?: boolean | undefined;
24
24
  urlParser: import("@smithy/types").UrlParser;
25
25
  base64Decoder: import("@smithy/types").Decoder;
26
- base64Encoder: (_input: string | Uint8Array) => string;
26
+ base64Encoder: (_input: Uint8Array | string) => string;
27
27
  utf8Decoder: import("@smithy/types").Decoder;
28
- utf8Encoder: (input: string | Uint8Array) => string;
28
+ utf8Encoder: (input: Uint8Array | string) => string;
29
29
  disableHostPrefix: boolean;
30
30
  serviceId: string;
31
- profile?: string | undefined;
31
+ profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ customUserAgent?: string | import("@smithy/types").UserAgent;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
36
  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;
37
37
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
- logger?: import("@smithy/types").Logger | undefined;
38
+ logger?: import("@smithy/types").Logger;
39
39
  }) => import("@smithy/types").EndpointV2;
40
- tls?: boolean | undefined;
41
- serviceConfiguredEndpoint?: undefined;
40
+ tls?: boolean;
41
+ serviceConfiguredEndpoint?: never;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
44
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
45
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
46
- signingEscapePath?: boolean | undefined;
47
- systemClockOffset?: number | undefined;
48
- signingRegion?: string | undefined;
49
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
50
  };
@@ -7,43 +7,43 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
- cacheMiddleware?: boolean | undefined;
10
+ cacheMiddleware?: boolean;
11
11
  urlParser: import("@smithy/types").UrlParser;
12
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
13
  streamCollector: import("@smithy/types").StreamCollector;
14
14
  base64Decoder: import("@smithy/types").Decoder;
15
- base64Encoder: (_input: string | Uint8Array) => string;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
- utf8Encoder: (input: string | Uint8Array) => string;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- profile?: string | undefined;
24
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
25
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
30
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
34
  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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
- logger?: import("@smithy/types").Logger | undefined;
36
+ logger?: import("@smithy/types").Logger;
37
37
  }) => import("@smithy/types").EndpointV2;
38
- tls?: boolean | undefined;
39
- serviceConfiguredEndpoint?: undefined;
40
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
41
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
42
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
43
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
44
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
45
- signingEscapePath?: boolean | undefined;
46
- systemClockOffset?: number | undefined;
47
- signingRegion?: string | undefined;
48
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
44
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
45
+ signingEscapePath?: boolean;
46
+ systemClockOffset?: number;
47
+ signingRegion?: string;
48
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
49
49
  };
@@ -5,10 +5,14 @@ import { TranslateClientConfig } from "./TranslateClient";
5
5
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: (_input: string | Uint8Array) => string;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
- logger?: import("@smithy/types").Logger | undefined;
11
+ logger
12
+ /**
13
+ * @internal
14
+ */
15
+ ?: import("@smithy/types").Logger;
12
16
  }) => import("@smithy/types").EndpointV2;
13
17
  extensions: import("./runtimeExtensions").RuntimeExtension[];
14
18
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
@@ -17,5 +21,5 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
17
21
  serviceId: string;
18
22
  urlParser: import("@smithy/types").UrlParser;
19
23
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: (input: string | Uint8Array) => string;
24
+ utf8Encoder: (input: Uint8Array | string) => string;
21
25
  };
@@ -27,7 +27,7 @@ declare const CreateParallelDataCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: CreateParallelDataCommandInput
30
+ input: CreateParallelDataCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  CreateParallelDataCommandInput,
33
33
  CreateParallelDataCommandOutput,
@@ -27,7 +27,7 @@ declare const DeleteParallelDataCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DeleteParallelDataCommandInput
30
+ input: DeleteParallelDataCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DeleteParallelDataCommandInput,
33
33
  DeleteParallelDataCommandOutput,
@@ -22,7 +22,7 @@ declare const DeleteTerminologyCommand_base: {
22
22
  ServiceOutputTypes
23
23
  >;
24
24
  new (
25
- __0_0: DeleteTerminologyCommandInput
25
+ input: DeleteTerminologyCommandInput
26
26
  ): import("@smithy/smithy-client").CommandImpl<
27
27
  DeleteTerminologyCommandInput,
28
28
  DeleteTerminologyCommandOutput,
@@ -27,7 +27,7 @@ declare const DescribeTextTranslationJobCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DescribeTextTranslationJobCommandInput
30
+ input: DescribeTextTranslationJobCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DescribeTextTranslationJobCommandInput,
33
33
  DescribeTextTranslationJobCommandOutput,
@@ -26,7 +26,7 @@ declare const GetParallelDataCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetParallelDataCommandInput
29
+ input: GetParallelDataCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetParallelDataCommandInput,
32
32
  GetParallelDataCommandOutput,
@@ -26,7 +26,7 @@ declare const GetTerminologyCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetTerminologyCommandInput
29
+ input: GetTerminologyCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetTerminologyCommandInput,
32
32
  GetTerminologyCommandOutput,
@@ -27,7 +27,7 @@ declare const ImportTerminologyCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ImportTerminologyCommandInput
30
+ input: ImportTerminologyCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ImportTerminologyCommandInput,
33
33
  ImportTerminologyCommandOutput,
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListTagsForResourceCommandInput
30
+ input: ListTagsForResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
@@ -27,7 +27,7 @@ declare const StartTextTranslationJobCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartTextTranslationJobCommandInput
30
+ input: StartTextTranslationJobCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartTextTranslationJobCommandInput,
33
33
  StartTextTranslationJobCommandOutput,
@@ -27,7 +27,7 @@ declare const StopTextTranslationJobCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StopTextTranslationJobCommandInput
30
+ input: StopTextTranslationJobCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StopTextTranslationJobCommandInput,
33
33
  StopTextTranslationJobCommandOutput,
@@ -23,7 +23,7 @@ declare const TagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: TagResourceCommandInput
26
+ input: TagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
@@ -27,7 +27,7 @@ declare const TranslateDocumentCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: TranslateDocumentCommandInput
30
+ input: TranslateDocumentCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  TranslateDocumentCommandInput,
33
33
  TranslateDocumentCommandOutput,
@@ -26,7 +26,7 @@ declare const TranslateTextCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: TranslateTextCommandInput
29
+ input: TranslateTextCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  TranslateTextCommandInput,
32
32
  TranslateTextCommandOutput,
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UntagResourceCommandInput
29
+ input: UntagResourceCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
@@ -27,7 +27,7 @@ declare const UpdateParallelDataCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: UpdateParallelDataCommandInput
30
+ input: UpdateParallelDataCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  UpdateParallelDataCommandInput,
33
33
  UpdateParallelDataCommandOutput,
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
18
  region: string | import("@smithy/types").Provider<any>;
@@ -30,23 +28,22 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
30
28
  cacheMiddleware?: boolean | undefined;
31
29
  urlParser: import("@smithy/types").UrlParser;
32
30
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: (_input: string | Uint8Array) => string;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
34
32
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
36
34
  disableHostPrefix: boolean;
37
35
  serviceId: string;
38
- profile?: string | undefined;
36
+ profile?: string;
39
37
  logger: import("@smithy/types").Logger;
40
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
42
40
  userAgentAppId?:
43
41
  | string
44
- | import("@smithy/types").Provider<string | undefined>
45
- | undefined;
42
+ | undefined
43
+ | import("@smithy/types").Provider<string | undefined>;
46
44
  retryStrategy?:
47
45
  | import("@smithy/types").RetryStrategy
48
- | import("@smithy/types").RetryStrategyV2
49
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
50
47
  endpoint?:
51
48
  | ((
52
49
  | string
@@ -67,34 +64,27 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
67
64
  endpointProvider: (
68
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
66
  context?: {
70
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
71
68
  }
72
69
  ) => import("@smithy/types").EndpointV2;
73
- tls?: boolean | undefined;
74
- serviceConfiguredEndpoint?: undefined;
75
- authSchemePreference?:
76
- | string[]
77
- | import("@smithy/types").Provider<string[]>
78
- | undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
72
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
79
73
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
74
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
81
75
  credentials?:
82
76
  | import("@smithy/types").AwsCredentialIdentity
83
- | import("@smithy/types").AwsCredentialIdentityProvider
84
- | undefined;
77
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
78
  signer?:
86
79
  | import("@smithy/types").RequestSigner
87
80
  | ((
88
- authScheme?: import("@smithy/types").AuthScheme | undefined
89
- ) => Promise<import("@smithy/types").RequestSigner>)
90
- | undefined;
91
- signingEscapePath?: boolean | undefined;
92
- systemClockOffset?: number | undefined;
93
- signingRegion?: string | undefined;
94
- signerConstructor?:
95
- | (new (
96
- options: import("@smithy/signature-v4").SignatureV4Init &
97
- import("@smithy/signature-v4").SignatureV4CryptoInit
98
- ) => import("@smithy/types").RequestSigner)
99
- | undefined;
81
+ authScheme?: import("@smithy/types").AuthScheme
82
+ ) => Promise<import("@smithy/types").RequestSigner>);
83
+ signingEscapePath?: boolean;
84
+ systemClockOffset?: number;
85
+ signingRegion?: string;
86
+ signerConstructor?: new (
87
+ options: import("@smithy/signature-v4").SignatureV4Init &
88
+ import("@smithy/signature-v4").SignatureV4CryptoInit
89
+ ) => import("@smithy/types").RequestSigner;
100
90
  };
@@ -10,16 +10,12 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?:
14
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
15
- | undefined
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
14
  ) => import("@smithy/types").MemoizedProvider<
17
15
  import("@smithy/types").AwsCredentialIdentity
18
16
  >);
19
17
  defaultUserAgentProvider: (
20
- config?:
21
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
22
- | undefined
18
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
23
19
  ) => Promise<import("@smithy/types").UserAgent>;
24
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
21
  region: string | import("@smithy/types").Provider<string>;
@@ -36,19 +32,18 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
36
32
  cacheMiddleware?: boolean | undefined;
37
33
  urlParser: import("@smithy/types").UrlParser;
38
34
  base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: string | Uint8Array) => string;
35
+ base64Encoder: (_input: Uint8Array | string) => string;
40
36
  utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: string | Uint8Array) => string;
37
+ utf8Encoder: (input: Uint8Array | string) => string;
42
38
  disableHostPrefix: boolean;
43
39
  serviceId: string;
44
- profile?: string | undefined;
40
+ profile?: string;
45
41
  logger: import("@smithy/types").Logger;
46
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
47
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
44
  retryStrategy?:
49
45
  | import("@smithy/types").RetryStrategy
50
- | import("@smithy/types").RetryStrategyV2
51
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
52
47
  endpoint?:
53
48
  | ((
54
49
  | string
@@ -69,30 +64,26 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
69
64
  endpointProvider: (
70
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
71
66
  context?: {
72
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
73
68
  }
74
69
  ) => import("@smithy/types").EndpointV2;
75
- tls?: boolean | undefined;
76
- serviceConfiguredEndpoint?: undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
77
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
79
74
  credentials?:
80
75
  | import("@smithy/types").AwsCredentialIdentity
81
- | import("@smithy/types").AwsCredentialIdentityProvider
82
- | undefined;
76
+ | import("@smithy/types").AwsCredentialIdentityProvider;
83
77
  signer?:
84
78
  | import("@smithy/types").RequestSigner
85
79
  | ((
86
- authScheme?: import("@smithy/types").AuthScheme | undefined
87
- ) => Promise<import("@smithy/types").RequestSigner>)
88
- | undefined;
89
- signingEscapePath?: boolean | undefined;
90
- systemClockOffset?: number | undefined;
91
- signingRegion?: string | undefined;
92
- signerConstructor?:
93
- | (new (
94
- options: import("@smithy/signature-v4").SignatureV4Init &
95
- import("@smithy/signature-v4").SignatureV4CryptoInit
96
- ) => import("@smithy/types").RequestSigner)
97
- | undefined;
80
+ authScheme?: import("@smithy/types").AuthScheme
81
+ ) => Promise<import("@smithy/types").RequestSigner>);
82
+ signingEscapePath?: boolean;
83
+ systemClockOffset?: number;
84
+ signingRegion?: string;
85
+ signerConstructor?: new (
86
+ options: import("@smithy/signature-v4").SignatureV4Init &
87
+ import("@smithy/signature-v4").SignatureV4CryptoInit
88
+ ) => import("@smithy/types").RequestSigner;
98
89
  };
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
- cacheMiddleware?: boolean | undefined;
12
+ cacheMiddleware?: boolean;
13
13
  urlParser: import("@smithy/types").UrlParser;
14
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  base64Decoder: import("@smithy/types").Decoder;
17
- base64Encoder: (_input: string | Uint8Array) => string;
17
+ base64Encoder: (_input: Uint8Array | string) => string;
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
- utf8Encoder: (input: string | Uint8Array) => string;
19
+ utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- profile?: string | undefined;
25
+ profile?: string;
26
26
  defaultUserAgentProvider: (
27
- config?:
28
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
- | undefined
27
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
28
  ) => Promise<import("@smithy/types").UserAgent>;
31
29
  credentialDefaultProvider:
32
30
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -42,15 +40,14 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
42
40
  | import("@smithy/types").Provider<
43
41
  import("@smithy/smithy-client").DefaultsMode
44
42
  >;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
44
  userAgentAppId?:
47
45
  | string
48
- | import("@smithy/types").Provider<string | undefined>
49
- | undefined;
46
+ | undefined
47
+ | import("@smithy/types").Provider<string | undefined>;
50
48
  retryStrategy?:
51
49
  | import("@smithy/types").RetryStrategy
52
- | import("@smithy/types").RetryStrategyV2
53
- | undefined;
50
+ | import("@smithy/types").RetryStrategyV2;
54
51
  endpoint?:
55
52
  | ((
56
53
  | string
@@ -71,34 +68,27 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
71
68
  endpointProvider: (
72
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
70
  context?: {
74
- logger?: import("@smithy/types").Logger | undefined;
71
+ logger?: import("@smithy/types").Logger;
75
72
  }
76
73
  ) => import("@smithy/types").EndpointV2;
77
- tls?: boolean | undefined;
78
- serviceConfiguredEndpoint?: undefined;
79
- authSchemePreference?:
80
- | string[]
81
- | import("@smithy/types").Provider<string[]>
82
- | undefined;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
77
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
78
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranslateHttpAuthSchemeProvider;
85
79
  credentials?:
86
80
  | import("@smithy/types").AwsCredentialIdentity
87
- | import("@smithy/types").AwsCredentialIdentityProvider
88
- | undefined;
81
+ | import("@smithy/types").AwsCredentialIdentityProvider;
89
82
  signer?:
90
83
  | import("@smithy/types").RequestSigner
91
84
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme | undefined
93
- ) => Promise<import("@smithy/types").RequestSigner>)
94
- | undefined;
95
- signingEscapePath?: boolean | undefined;
96
- systemClockOffset?: number | undefined;
97
- signingRegion?: string | undefined;
98
- signerConstructor?:
99
- | (new (
100
- options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
102
- ) => import("@smithy/types").RequestSigner)
103
- | undefined;
85
+ authScheme?: import("@smithy/types").AuthScheme
86
+ ) => Promise<import("@smithy/types").RequestSigner>);
87
+ signingEscapePath?: boolean;
88
+ systemClockOffset?: number;
89
+ signingRegion?: string;
90
+ signerConstructor?: new (
91
+ options: import("@smithy/signature-v4").SignatureV4Init &
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ ) => import("@smithy/types").RequestSigner;
104
94
  };
@@ -2,12 +2,12 @@ import { TranslateClientConfig } from "./TranslateClient";
2
2
  export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: (_input: string | Uint8Array) => string;
5
+ base64Encoder: (_input: Uint8Array | string) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
9
  context?: {
10
- logger?: import("@smithy/types").Logger | undefined;
10
+ logger?: import("@smithy/types").Logger;
11
11
  }
12
12
  ) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: (input: string | Uint8Array) => string;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
21
  };
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.799.0",
4
+ "version": "3.804.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-translate",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.799.0",
24
- "@aws-sdk/credential-provider-node": "3.799.0",
25
- "@aws-sdk/middleware-host-header": "3.775.0",
26
- "@aws-sdk/middleware-logger": "3.775.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.799.0",
29
- "@aws-sdk/region-config-resolver": "3.775.0",
30
- "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.787.0",
32
- "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.799.0",
23
+ "@aws-sdk/core": "3.804.0",
24
+ "@aws-sdk/credential-provider-node": "3.804.0",
25
+ "@aws-sdk/middleware-host-header": "3.804.0",
26
+ "@aws-sdk/middleware-logger": "3.804.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.804.0",
29
+ "@aws-sdk/region-config-resolver": "3.804.0",
30
+ "@aws-sdk/types": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.804.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
33
+ "@aws-sdk/util-user-agent-node": "3.804.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.3.0",
35
+ "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.1",
41
- "@smithy/middleware-retry": "^4.1.1",
40
+ "@smithy/middleware-endpoint": "^4.1.2",
41
+ "@smithy/middleware-retry": "^4.1.3",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
44
  "@smithy/node-config-provider": "^4.0.2",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.1",
47
+ "@smithy/smithy-client": "^4.2.2",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.9",
54
- "@smithy/util-defaults-mode-node": "^4.0.9",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.10",
54
+ "@smithy/util-defaults-mode-node": "^4.0.10",
55
55
  "@smithy/util-endpoints": "^3.0.2",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
- "@smithy/util-retry": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.3",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",
@@ -66,7 +66,7 @@
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~5.2.2"
69
+ "typescript": "~5.8.3"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=18.0.0"