New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-translate

Package Overview
Dependencies
Maintainers
0
Versions
435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-translate - npm Package Compare versions

Comparing version 3.721.0 to 3.723.0

79

dist-es/models/models_0.js
import { SENSITIVE_STRING } from "@smithy/smithy-client";
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
export class ConcurrentModificationException extends __BaseException {
name = "ConcurrentModificationException";
$fault = "client";
Message;
constructor(opts) {

@@ -10,4 +13,2 @@ super({

});
this.name = "ConcurrentModificationException";
this.$fault = "client";
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);

@@ -18,2 +19,5 @@ this.Message = opts.Message;

export class ConflictException extends __BaseException {
name = "ConflictException";
$fault = "client";
Message;
constructor(opts) {

@@ -25,4 +29,2 @@ super({

});
this.name = "ConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ConflictException.prototype);

@@ -48,2 +50,5 @@ this.Message = opts.Message;

export class InternalServerException extends __BaseException {
name = "InternalServerException";
$fault = "server";
Message;
constructor(opts) {

@@ -55,4 +60,2 @@ super({

});
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, InternalServerException.prototype);

@@ -63,2 +66,5 @@ this.Message = opts.Message;

export class InvalidParameterValueException extends __BaseException {
name = "InvalidParameterValueException";
$fault = "client";
Message;
constructor(opts) {

@@ -70,4 +76,2 @@ super({

});
this.name = "InvalidParameterValueException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);

@@ -78,2 +82,5 @@ this.Message = opts.Message;

export class InvalidRequestException extends __BaseException {
name = "InvalidRequestException";
$fault = "client";
Message;
constructor(opts) {

@@ -85,4 +92,2 @@ super({

});
this.name = "InvalidRequestException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidRequestException.prototype);

@@ -93,2 +98,5 @@ this.Message = opts.Message;

export class LimitExceededException extends __BaseException {
name = "LimitExceededException";
$fault = "client";
Message;
constructor(opts) {

@@ -100,4 +108,2 @@ super({

});
this.name = "LimitExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, LimitExceededException.prototype);

@@ -108,2 +114,5 @@ this.Message = opts.Message;

export class TooManyRequestsException extends __BaseException {
name = "TooManyRequestsException";
$fault = "client";
Message;
constructor(opts) {

@@ -115,4 +124,2 @@ super({

});
this.name = "TooManyRequestsException";
this.$fault = "client";
Object.setPrototypeOf(this, TooManyRequestsException.prototype);

@@ -123,2 +130,5 @@ this.Message = opts.Message;

export class TooManyTagsException extends __BaseException {
name = "TooManyTagsException";
$fault = "client";
ResourceArn;
constructor(opts) {

@@ -130,4 +140,2 @@ super({

});
this.name = "TooManyTagsException";
this.$fault = "client";
Object.setPrototypeOf(this, TooManyTagsException.prototype);

@@ -138,2 +146,5 @@ this.ResourceArn = opts.ResourceArn;

export class ResourceNotFoundException extends __BaseException {
name = "ResourceNotFoundException";
$fault = "client";
Message;
constructor(opts) {

@@ -145,4 +156,2 @@ super({

});
this.name = "ResourceNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);

@@ -196,2 +205,6 @@ this.Message = opts.Message;

export class UnsupportedDisplayLanguageCodeException extends __BaseException {
name = "UnsupportedDisplayLanguageCodeException";
$fault = "client";
Message;
DisplayLanguageCode;
constructor(opts) {

@@ -203,4 +216,2 @@ super({

});
this.name = "UnsupportedDisplayLanguageCodeException";
this.$fault = "client";
Object.setPrototypeOf(this, UnsupportedDisplayLanguageCodeException.prototype);

@@ -212,2 +223,5 @@ this.Message = opts.Message;

export class InvalidFilterException extends __BaseException {
name = "InvalidFilterException";
$fault = "client";
Message;
constructor(opts) {

@@ -219,4 +233,2 @@ super({

});
this.name = "InvalidFilterException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidFilterException.prototype);

@@ -227,2 +239,7 @@ this.Message = opts.Message;

export class UnsupportedLanguagePairException extends __BaseException {
name = "UnsupportedLanguagePairException";
$fault = "client";
Message;
SourceLanguageCode;
TargetLanguageCode;
constructor(opts) {

@@ -234,4 +251,2 @@ super({

});
this.name = "UnsupportedLanguagePairException";
this.$fault = "client";
Object.setPrototypeOf(this, UnsupportedLanguagePairException.prototype);

@@ -244,2 +259,5 @@ this.Message = opts.Message;

export class ServiceUnavailableException extends __BaseException {
name = "ServiceUnavailableException";
$fault = "server";
Message;
constructor(opts) {

@@ -251,4 +269,2 @@ super({

});
this.name = "ServiceUnavailableException";
this.$fault = "server";
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);

@@ -259,2 +275,6 @@ this.Message = opts.Message;

export class DetectedLanguageLowConfidenceException extends __BaseException {
name = "DetectedLanguageLowConfidenceException";
$fault = "client";
Message;
DetectedLanguageCode;
constructor(opts) {

@@ -266,4 +286,2 @@ super({

});
this.name = "DetectedLanguageLowConfidenceException";
this.$fault = "client";
Object.setPrototypeOf(this, DetectedLanguageLowConfidenceException.prototype);

@@ -275,2 +293,5 @@ this.Message = opts.Message;

export class TextSizeLimitExceededException extends __BaseException {
name = "TextSizeLimitExceededException";
$fault = "client";
Message;
constructor(opts) {

@@ -282,4 +303,2 @@ super({

});
this.name = "TextSizeLimitExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);

@@ -286,0 +305,0 @@ this.Message = opts.Message;

@@ -17,2 +17,3 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";

export class TranslateClient extends __Client {
config;
constructor(...[configuration]) {

@@ -19,0 +20,0 @@ const _config_0 = __getRuntimeConfig(configuration || {});

@@ -10,3 +10,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;

@@ -13,0 +13,0 @@ maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -10,3 +10,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;

@@ -13,0 +13,0 @@ maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -25,3 +25,3 @@ import { TranslateClientConfig } from "./TranslateClient";

defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -35,3 +35,3 @@ retryMode: string | import("@smithy/types").Provider<string>;

retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
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;
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;
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {

@@ -38,0 +38,0 @@ logger?: import("@smithy/types").Logger | undefined;

@@ -9,5 +9,7 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (
input: any
) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider:
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
| ((
_: unknown
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
defaultUserAgentProvider: (

@@ -14,0 +16,0 @@ config?:

@@ -9,9 +9,11 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (
init?:
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
| undefined
) => import("@smithy/types").MemoizedProvider<
import("@smithy/types").AwsCredentialIdentity
>;
credentialDefaultProvider:
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
| ((
init?:
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
| undefined
) => import("@smithy/types").MemoizedProvider<
import("@smithy/types").AwsCredentialIdentity
>);
defaultUserAgentProvider: (

@@ -18,0 +20,0 @@ config?:

@@ -31,5 +31,7 @@ import { TranslateClientConfig } from "./TranslateClient";

) => Promise<import("@smithy/types").UserAgent>;
credentialDefaultProvider: (
input: any
) => import("@smithy/types").AwsCredentialIdentityProvider;
credentialDefaultProvider:
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
| ((
_: unknown
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -54,7 +56,17 @@ retryMode: string | import("@smithy/types").Provider<string>;

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").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;

@@ -61,0 +73,0 @@ endpointProvider: (

{
"name": "@aws-sdk/client-translate",
"description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
"version": "3.721.0",
"version": "3.723.0",
"scripts": {

@@ -23,40 +23,40 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.721.0",
"@aws-sdk/client-sts": "3.721.0",
"@aws-sdk/core": "3.716.0",
"@aws-sdk/credential-provider-node": "3.721.0",
"@aws-sdk/middleware-host-header": "3.714.0",
"@aws-sdk/middleware-logger": "3.714.0",
"@aws-sdk/middleware-recursion-detection": "3.714.0",
"@aws-sdk/middleware-user-agent": "3.721.0",
"@aws-sdk/region-config-resolver": "3.714.0",
"@aws-sdk/types": "3.714.0",
"@aws-sdk/util-endpoints": "3.714.0",
"@aws-sdk/util-user-agent-browser": "3.714.0",
"@aws-sdk/util-user-agent-node": "3.721.0",
"@smithy/config-resolver": "^3.0.13",
"@smithy/core": "^2.5.5",
"@smithy/fetch-http-handler": "^4.1.2",
"@smithy/hash-node": "^3.0.11",
"@smithy/invalid-dependency": "^3.0.11",
"@smithy/middleware-content-length": "^3.0.13",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-retry": "^3.0.31",
"@smithy/middleware-serde": "^3.0.11",
"@smithy/middleware-stack": "^3.0.11",
"@smithy/node-config-provider": "^3.1.12",
"@smithy/node-http-handler": "^3.3.2",
"@smithy/protocol-http": "^4.1.8",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@smithy/url-parser": "^3.0.11",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-body-length-browser": "^3.0.0",
"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.31",
"@smithy/util-defaults-mode-node": "^3.0.31",
"@smithy/util-endpoints": "^2.1.7",
"@smithy/util-middleware": "^3.0.11",
"@smithy/util-retry": "^3.0.11",
"@smithy/util-utf8": "^3.0.0",
"@aws-sdk/client-sso-oidc": "3.723.0",
"@aws-sdk/client-sts": "3.723.0",
"@aws-sdk/core": "3.723.0",
"@aws-sdk/credential-provider-node": "3.723.0",
"@aws-sdk/middleware-host-header": "3.723.0",
"@aws-sdk/middleware-logger": "3.723.0",
"@aws-sdk/middleware-recursion-detection": "3.723.0",
"@aws-sdk/middleware-user-agent": "3.723.0",
"@aws-sdk/region-config-resolver": "3.723.0",
"@aws-sdk/types": "3.723.0",
"@aws-sdk/util-endpoints": "3.723.0",
"@aws-sdk/util-user-agent-browser": "3.723.0",
"@aws-sdk/util-user-agent-node": "3.723.0",
"@smithy/config-resolver": "^4.0.0",
"@smithy/core": "^3.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/hash-node": "^4.0.0",
"@smithy/invalid-dependency": "^4.0.0",
"@smithy/middleware-content-length": "^4.0.0",
"@smithy/middleware-endpoint": "^4.0.0",
"@smithy/middleware-retry": "^4.0.0",
"@smithy/middleware-serde": "^4.0.0",
"@smithy/middleware-stack": "^4.0.0",
"@smithy/node-config-provider": "^4.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/protocol-http": "^5.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/url-parser": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.0",
"@smithy/util-defaults-mode-node": "^4.0.0",
"@smithy/util-endpoints": "^3.0.0",
"@smithy/util-middleware": "^4.0.0",
"@smithy/util-retry": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"@types/uuid": "^9.0.1",

@@ -67,11 +67,11 @@ "tslib": "^2.6.2",

"devDependencies": {
"@tsconfig/node16": "16.1.3",
"@types/node": "^16.18.96",
"@tsconfig/node18": "18.2.4",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -78,0 +78,0 @@ "typesVersions": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc