@stedi/sdk-client-edi-translate
Advanced tools
Comparing version 0.1.30 to 0.1.31
@@ -6,4 +6,4 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; | ||
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { TranslateJsonToX12CommandInput, TranslateJsonToX12CommandOutput } from "./commands/TranslateJsonToX12Command"; | ||
@@ -17,3 +17,3 @@ import { TranslateX12ToJsonCommandInput, TranslateX12ToJsonCommandOutput } from "./commands/TranslateX12ToJsonCommand"; | ||
requestHandler?: __HttpHandler; | ||
sha256?: __HashConstructor; | ||
sha256?: __ChecksumConstructor | __HashConstructor; | ||
urlParser?: __UrlParser; | ||
@@ -28,9 +28,9 @@ bodyLengthChecker?: __BodyLengthCalculator; | ||
disableHostPrefix?: boolean; | ||
serviceId?: string; | ||
regionInfoProvider?: __RegionInfoProvider; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
maxAttempts?: number | __Provider<number>; | ||
retryMode?: string | __Provider<string>; | ||
logger?: __Logger; | ||
serviceId?: string; | ||
regionInfoProvider?: __RegionInfoProvider; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
defaultsMode?: DefaultsMode | Provider<DefaultsMode>; | ||
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; | ||
} | ||
@@ -37,0 +37,0 @@ declare type EDITranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & HttpBearerAuthInputConfig & UserAgentInputConfig & HttpApiKeyAuthInputConfig; |
@@ -45,2 +45,8 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; | ||
export declare const ParsedFilterSensitiveLog: (obj: Parsed) => any; | ||
export interface EdiWarning { | ||
mark: Mark | undefined; | ||
message: string | undefined; | ||
context?: __DocumentType; | ||
} | ||
export declare const EdiWarningFilterSensitiveLog: (obj: EdiWarning) => any; | ||
export declare class EdiTranslationError extends __BaseException { | ||
@@ -51,10 +57,5 @@ readonly name: "EdiTranslationError"; | ||
errors?: EdiError[]; | ||
warnings?: EdiWarning[]; | ||
constructor(opts: __ExceptionOptionType<EdiTranslationError, __BaseException>); | ||
} | ||
export interface EdiWarning { | ||
mark: Mark | undefined; | ||
message: string | undefined; | ||
context?: __DocumentType; | ||
} | ||
export declare const EdiWarningFilterSensitiveLog: (obj: EdiWarning) => any; | ||
export declare class GatewayTimeoutException extends __BaseException { | ||
@@ -66,10 +67,2 @@ readonly name: "GatewayTimeoutException"; | ||
} | ||
export declare enum ValidationErrorCode { | ||
ALL = "all", | ||
INCORRECT_LENGTH = "incorrect_length", | ||
INVALID_ENUMERATION = "invalid_enumeration", | ||
INVALID_RELATIONAL_CONDITION = "invalid_relational_condition", | ||
MISSING_REQUIRED_ELEMENT = "missing_required_element", | ||
PATTERN_MISMATCH = "pattern_mismatch" | ||
} | ||
export declare class InternalFailureException extends __BaseException { | ||
@@ -212,3 +205,2 @@ readonly name: "InternalFailureException"; | ||
guidelessInputOptions?: TranslateX12ToJsonGuidelessInputOptions; | ||
ignoreErrors?: (ValidationErrorCode | string)[]; | ||
} | ||
@@ -215,0 +207,0 @@ export declare const TranslateX12ToJsonInputOptionsFilterSensitiveLog: (obj: TranslateX12ToJsonInputOptions) => any; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TranslateX12ToJsonOutputFilterSensitiveLog = exports.TranslateX12ToJsonInputFilterSensitiveLog = exports.TranslateX12ToJsonInputOptionsFilterSensitiveLog = exports.TranslateX12ToJsonGuidelessInputOptionsFilterSensitiveLog = exports.ValidationException = exports.ValidationExceptionFieldFilterSensitiveLog = exports.UnsupportedMediaTypeException = exports.UnknownOperationException = exports.UnauthorizedException = exports.TranslateJsonToX12OutputFilterSensitiveLog = exports.TranslateJsonToX12InputFilterSensitiveLog = exports.TranslateJsonToX12OutputOptionsFilterSensitiveLog = exports.ThrottlingException = exports.ServiceUnavailableException = exports.SerializationException = exports.ResponseTooLargeException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.RequestTooLargeException = exports.QuotaExceededException = exports.NotImplementedException = exports.NotAcceptableException = exports.JsonTranslationError = exports.JsonErrorFilterSensitiveLog = exports.InternalFailureException = exports.ValidationErrorCode = exports.GatewayTimeoutException = exports.EdiWarningFilterSensitiveLog = exports.EdiTranslationError = exports.ParsedFilterSensitiveLog = exports.X12DelimitersFilterSensitiveLog = exports.EdiErrorFilterSensitiveLog = exports.MarkFilterSensitiveLog = exports.IndexFilterSensitiveLog = exports.BadRequestException = exports.AccessDeniedException = void 0; | ||
exports.TranslateX12ToJsonOutputFilterSensitiveLog = exports.TranslateX12ToJsonInputFilterSensitiveLog = exports.TranslateX12ToJsonInputOptionsFilterSensitiveLog = exports.TranslateX12ToJsonGuidelessInputOptionsFilterSensitiveLog = exports.ValidationException = exports.ValidationExceptionFieldFilterSensitiveLog = exports.UnsupportedMediaTypeException = exports.UnknownOperationException = exports.UnauthorizedException = exports.TranslateJsonToX12OutputFilterSensitiveLog = exports.TranslateJsonToX12InputFilterSensitiveLog = exports.TranslateJsonToX12OutputOptionsFilterSensitiveLog = exports.ThrottlingException = exports.ServiceUnavailableException = exports.SerializationException = exports.ResponseTooLargeException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.RequestTooLargeException = exports.QuotaExceededException = exports.NotImplementedException = exports.NotAcceptableException = exports.JsonTranslationError = exports.JsonErrorFilterSensitiveLog = exports.InternalFailureException = exports.GatewayTimeoutException = exports.EdiTranslationError = exports.EdiWarningFilterSensitiveLog = exports.ParsedFilterSensitiveLog = exports.X12DelimitersFilterSensitiveLog = exports.EdiErrorFilterSensitiveLog = exports.MarkFilterSensitiveLog = exports.IndexFilterSensitiveLog = exports.BadRequestException = exports.AccessDeniedException = void 0; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
@@ -56,2 +56,6 @@ const EDITranslateServiceException_1 = require("./EDITranslateServiceException"); | ||
exports.ParsedFilterSensitiveLog = ParsedFilterSensitiveLog; | ||
const EdiWarningFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
exports.EdiWarningFilterSensitiveLog = EdiWarningFilterSensitiveLog; | ||
class EdiTranslationError extends EDITranslateServiceException_1.EDITranslateServiceException { | ||
@@ -69,9 +73,6 @@ constructor(opts) { | ||
this.errors = opts.errors; | ||
this.warnings = opts.warnings; | ||
} | ||
} | ||
exports.EdiTranslationError = EdiTranslationError; | ||
const EdiWarningFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
exports.EdiWarningFilterSensitiveLog = EdiWarningFilterSensitiveLog; | ||
class GatewayTimeoutException extends EDITranslateServiceException_1.EDITranslateServiceException { | ||
@@ -91,11 +92,2 @@ constructor(opts) { | ||
exports.GatewayTimeoutException = GatewayTimeoutException; | ||
var ValidationErrorCode; | ||
(function (ValidationErrorCode) { | ||
ValidationErrorCode["ALL"] = "all"; | ||
ValidationErrorCode["INCORRECT_LENGTH"] = "incorrect_length"; | ||
ValidationErrorCode["INVALID_ENUMERATION"] = "invalid_enumeration"; | ||
ValidationErrorCode["INVALID_RELATIONAL_CONDITION"] = "invalid_relational_condition"; | ||
ValidationErrorCode["MISSING_REQUIRED_ELEMENT"] = "missing_required_element"; | ||
ValidationErrorCode["PATTERN_MISMATCH"] = "pattern_mismatch"; | ||
})(ValidationErrorCode = exports.ValidationErrorCode || (exports.ValidationErrorCode = {})); | ||
class InternalFailureException extends EDITranslateServiceException_1.EDITranslateServiceException { | ||
@@ -102,0 +94,0 @@ constructor(opts) { |
@@ -278,2 +278,5 @@ "use strict"; | ||
} | ||
if (data.warnings != null) { | ||
contents.warnings = deserializeAws_restJson1EdiWarnings(data.warnings, context); | ||
} | ||
const exception = new models_0_1.EdiTranslationError({ | ||
@@ -537,9 +540,2 @@ $metadata: deserializeMetadata(parsedOutput), | ||
}; | ||
const serializeAws_restJson1IgnoreErrors = (input, context) => { | ||
return input | ||
.filter((e) => e != null) | ||
.map((entry) => { | ||
return entry; | ||
}); | ||
}; | ||
const serializeAws_restJson1JsonDocument = (input, context) => { | ||
@@ -564,5 +560,2 @@ return input; | ||
}), | ||
...(input.ignoreErrors != null && { | ||
ignoreErrors: serializeAws_restJson1IgnoreErrors(input.ignoreErrors, context), | ||
}), | ||
}; | ||
@@ -569,0 +562,0 @@ }; |
@@ -13,4 +13,2 @@ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -20,6 +18,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -26,0 +26,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -11,3 +11,2 @@ "use strict"; | ||
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); | ||
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser"); | ||
const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
@@ -33,6 +32,4 @@ const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, | ||
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8, | ||
}; | ||
}; | ||
exports.getRuntimeConfig = getRuntimeConfig; |
@@ -13,4 +13,2 @@ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -20,6 +18,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -26,0 +26,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -13,3 +13,2 @@ "use strict"; | ||
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); | ||
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node"); | ||
const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
@@ -41,6 +40,4 @@ const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, | ||
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8, | ||
}; | ||
}; | ||
exports.getRuntimeConfig = getRuntimeConfig; |
@@ -15,8 +15,8 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
disableHostPrefix: boolean; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
maxAttempts: number | import("@aws-sdk/types").Provider<number>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>; | ||
@@ -23,0 +23,0 @@ region?: string | import("@aws-sdk/types").Provider<string> | undefined; |
@@ -11,2 +11,4 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
urlParser: import("@aws-sdk/types").UrlParser; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
}; |
@@ -7,2 +7,3 @@ "use strict"; | ||
const util_base64_1 = require("@aws-sdk/util-base64"); | ||
const util_utf8_1 = require("@aws-sdk/util-utf8"); | ||
const endpoints_1 = require("./endpoints"); | ||
@@ -18,3 +19,5 @@ const getRuntimeConfig = (config) => ({ | ||
urlParser: config?.urlParser ?? url_parser_1.parseUrl, | ||
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, | ||
}); | ||
exports.getRuntimeConfig = getRuntimeConfig; |
@@ -6,4 +6,4 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; | ||
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { TranslateJsonToX12CommandInput, TranslateJsonToX12CommandOutput } from "./commands/TranslateJsonToX12Command"; | ||
@@ -17,3 +17,3 @@ import { TranslateX12ToJsonCommandInput, TranslateX12ToJsonCommandOutput } from "./commands/TranslateX12ToJsonCommand"; | ||
requestHandler?: __HttpHandler; | ||
sha256?: __HashConstructor; | ||
sha256?: __ChecksumConstructor | __HashConstructor; | ||
urlParser?: __UrlParser; | ||
@@ -28,9 +28,9 @@ bodyLengthChecker?: __BodyLengthCalculator; | ||
disableHostPrefix?: boolean; | ||
serviceId?: string; | ||
regionInfoProvider?: __RegionInfoProvider; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
maxAttempts?: number | __Provider<number>; | ||
retryMode?: string | __Provider<string>; | ||
logger?: __Logger; | ||
serviceId?: string; | ||
regionInfoProvider?: __RegionInfoProvider; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
defaultsMode?: DefaultsMode | Provider<DefaultsMode>; | ||
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; | ||
} | ||
@@ -37,0 +37,0 @@ declare type EDITranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & HttpBearerAuthInputConfig & UserAgentInputConfig & HttpApiKeyAuthInputConfig; |
@@ -45,2 +45,8 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; | ||
export declare const ParsedFilterSensitiveLog: (obj: Parsed) => any; | ||
export interface EdiWarning { | ||
mark: Mark | undefined; | ||
message: string | undefined; | ||
context?: __DocumentType; | ||
} | ||
export declare const EdiWarningFilterSensitiveLog: (obj: EdiWarning) => any; | ||
export declare class EdiTranslationError extends __BaseException { | ||
@@ -51,10 +57,5 @@ readonly name: "EdiTranslationError"; | ||
errors?: EdiError[]; | ||
warnings?: EdiWarning[]; | ||
constructor(opts: __ExceptionOptionType<EdiTranslationError, __BaseException>); | ||
} | ||
export interface EdiWarning { | ||
mark: Mark | undefined; | ||
message: string | undefined; | ||
context?: __DocumentType; | ||
} | ||
export declare const EdiWarningFilterSensitiveLog: (obj: EdiWarning) => any; | ||
export declare class GatewayTimeoutException extends __BaseException { | ||
@@ -66,10 +67,2 @@ readonly name: "GatewayTimeoutException"; | ||
} | ||
export declare enum ValidationErrorCode { | ||
ALL = "all", | ||
INCORRECT_LENGTH = "incorrect_length", | ||
INVALID_ENUMERATION = "invalid_enumeration", | ||
INVALID_RELATIONAL_CONDITION = "invalid_relational_condition", | ||
MISSING_REQUIRED_ELEMENT = "missing_required_element", | ||
PATTERN_MISMATCH = "pattern_mismatch" | ||
} | ||
export declare class InternalFailureException extends __BaseException { | ||
@@ -212,3 +205,2 @@ readonly name: "InternalFailureException"; | ||
guidelessInputOptions?: TranslateX12ToJsonGuidelessInputOptions; | ||
ignoreErrors?: (ValidationErrorCode | string)[]; | ||
} | ||
@@ -215,0 +207,0 @@ export declare const TranslateX12ToJsonInputOptionsFilterSensitiveLog: (obj: TranslateX12ToJsonInputOptions) => any; |
@@ -46,2 +46,5 @@ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; | ||
}); | ||
export const EdiWarningFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
export class EdiTranslationError extends __BaseException { | ||
@@ -59,7 +62,5 @@ constructor(opts) { | ||
this.errors = opts.errors; | ||
this.warnings = opts.warnings; | ||
} | ||
} | ||
export const EdiWarningFilterSensitiveLog = (obj) => ({ | ||
...obj, | ||
}); | ||
export class GatewayTimeoutException extends __BaseException { | ||
@@ -78,11 +79,2 @@ constructor(opts) { | ||
} | ||
export var ValidationErrorCode; | ||
(function (ValidationErrorCode) { | ||
ValidationErrorCode["ALL"] = "all"; | ||
ValidationErrorCode["INCORRECT_LENGTH"] = "incorrect_length"; | ||
ValidationErrorCode["INVALID_ENUMERATION"] = "invalid_enumeration"; | ||
ValidationErrorCode["INVALID_RELATIONAL_CONDITION"] = "invalid_relational_condition"; | ||
ValidationErrorCode["MISSING_REQUIRED_ELEMENT"] = "missing_required_element"; | ||
ValidationErrorCode["PATTERN_MISMATCH"] = "pattern_mismatch"; | ||
})(ValidationErrorCode || (ValidationErrorCode = {})); | ||
export class InternalFailureException extends __BaseException { | ||
@@ -89,0 +81,0 @@ constructor(opts) { |
@@ -271,2 +271,5 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http"; | ||
} | ||
if (data.warnings != null) { | ||
contents.warnings = deserializeAws_restJson1EdiWarnings(data.warnings, context); | ||
} | ||
const exception = new EdiTranslationError({ | ||
@@ -530,9 +533,2 @@ $metadata: deserializeMetadata(parsedOutput), | ||
}; | ||
const serializeAws_restJson1IgnoreErrors = (input, context) => { | ||
return input | ||
.filter((e) => e != null) | ||
.map((entry) => { | ||
return entry; | ||
}); | ||
}; | ||
const serializeAws_restJson1JsonDocument = (input, context) => { | ||
@@ -557,5 +553,2 @@ return input; | ||
}), | ||
...(input.ignoreErrors != null && { | ||
ignoreErrors: serializeAws_restJson1IgnoreErrors(input.ignoreErrors, context), | ||
}), | ||
}; | ||
@@ -562,0 +555,0 @@ }; |
@@ -13,4 +13,2 @@ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -20,6 +18,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -26,0 +26,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -7,3 +7,2 @@ import packageInfo from "../package.json"; | ||
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; | ||
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser"; | ||
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; | ||
@@ -29,5 +28,3 @@ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client"; | ||
streamCollector: config?.streamCollector ?? streamCollector, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}; | ||
}; |
@@ -13,4 +13,2 @@ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -20,6 +18,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -26,0 +26,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -9,3 +9,2 @@ import packageInfo from "../package.json"; | ||
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; | ||
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node"; | ||
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; | ||
@@ -37,5 +36,3 @@ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client"; | ||
streamCollector: config?.streamCollector ?? streamCollector, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}; | ||
}; |
@@ -15,8 +15,8 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
disableHostPrefix: boolean; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
maxAttempts: number | import("@aws-sdk/types").Provider<number>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>; | ||
@@ -23,0 +23,0 @@ region?: string | import("@aws-sdk/types").Provider<string> | undefined; |
@@ -11,2 +11,4 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
urlParser: import("@aws-sdk/types").UrlParser; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
}; |
import { NoOpLogger } from "@aws-sdk/smithy-client"; | ||
import { parseUrl } from "@aws-sdk/url-parser"; | ||
import { fromBase64, toBase64 } from "@aws-sdk/util-base64"; | ||
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8"; | ||
import { defaultRegionInfoProvider } from "./endpoints"; | ||
@@ -14,2 +15,4 @@ export const getRuntimeConfig = (config) => ({ | ||
urlParser: config?.urlParser ?? parseUrl, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}); |
@@ -6,4 +6,4 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; | ||
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { TranslateJsonToX12CommandInput, TranslateJsonToX12CommandOutput } from "./commands/TranslateJsonToX12Command"; | ||
@@ -21,7 +21,7 @@ import { TranslateX12ToJsonCommandInput, TranslateX12ToJsonCommandOutput } from "./commands/TranslateX12ToJsonCommand"; | ||
/** | ||
* A constructor for a class implementing the {@link __Hash} interface | ||
* A constructor for a class implementing the {@link __Checksum} interface | ||
* that computes the SHA-256 HMAC or checksum of a string or binary buffer. | ||
* @internal | ||
*/ | ||
sha256?: __HashConstructor; | ||
sha256?: __ChecksumConstructor | __HashConstructor; | ||
/** | ||
@@ -73,14 +73,2 @@ * The function that will be used to convert strings into HTTP endpoints. | ||
/** | ||
* Value for how many times a request will be made at most in case of retry. | ||
*/ | ||
maxAttempts?: number | __Provider<number>; | ||
/** | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
* Optional logger for logging debug/info/warn/error. | ||
*/ | ||
logger?: __Logger; | ||
/** | ||
* Unique service identifier. | ||
@@ -102,5 +90,17 @@ * @internal | ||
/** | ||
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. | ||
* Value for how many times a request will be made at most in case of retry. | ||
*/ | ||
defaultsMode?: DefaultsMode | Provider<DefaultsMode>; | ||
maxAttempts?: number | __Provider<number>; | ||
/** | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
* Optional logger for logging debug/info/warn/error. | ||
*/ | ||
logger?: __Logger; | ||
/** | ||
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. | ||
*/ | ||
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; | ||
} | ||
@@ -107,0 +107,0 @@ declare type EDITranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & HttpBearerAuthInputConfig & UserAgentInputConfig & HttpApiKeyAuthInputConfig; |
@@ -113,12 +113,2 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; | ||
export declare const ParsedFilterSensitiveLog: (obj: Parsed) => any; | ||
export declare class EdiTranslationError extends __BaseException { | ||
readonly name: "EdiTranslationError"; | ||
readonly $fault: "client"; | ||
partialOutput?: Parsed; | ||
errors?: EdiError[]; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<EdiTranslationError, __BaseException>); | ||
} | ||
/** | ||
@@ -146,2 +136,13 @@ * A validation warning found when processing EDI data. | ||
export declare const EdiWarningFilterSensitiveLog: (obj: EdiWarning) => any; | ||
export declare class EdiTranslationError extends __BaseException { | ||
readonly name: "EdiTranslationError"; | ||
readonly $fault: "client"; | ||
partialOutput?: Parsed; | ||
errors?: EdiError[]; | ||
warnings?: EdiWarning[]; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<EdiTranslationError, __BaseException>); | ||
} | ||
/** | ||
@@ -162,10 +163,2 @@ * The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. | ||
} | ||
export declare enum ValidationErrorCode { | ||
ALL = "all", | ||
INCORRECT_LENGTH = "incorrect_length", | ||
INVALID_ENUMERATION = "invalid_enumeration", | ||
INVALID_RELATIONAL_CONDITION = "invalid_relational_condition", | ||
MISSING_REQUIRED_ELEMENT = "missing_required_element", | ||
PATTERN_MISMATCH = "pattern_mismatch" | ||
} | ||
/** | ||
@@ -526,6 +519,2 @@ * The server response when an unexpected error occurred while processing request. | ||
guidelessInputOptions?: TranslateX12ToJsonGuidelessInputOptions; | ||
/** | ||
* Any of: all, invalid_relational_condition, pattern_mismatch, incorrect_length, missing_required_element, invalid_enumeration | ||
*/ | ||
ignoreErrors?: (ValidationErrorCode | string)[]; | ||
} | ||
@@ -532,0 +521,0 @@ /** |
@@ -16,4 +16,2 @@ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -23,6 +21,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -29,0 +29,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -16,4 +16,2 @@ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -23,6 +21,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -29,0 +29,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -18,8 +18,8 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
disableHostPrefix: boolean; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
maxAttempts: number | import("@aws-sdk/types").Provider<number>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>; | ||
@@ -26,0 +26,0 @@ region?: string | import("@aws-sdk/types").Provider<string> | undefined; |
@@ -14,2 +14,4 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
urlParser: import("@aws-sdk/types").UrlParser; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
}; |
@@ -6,4 +6,4 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; | ||
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider as __RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types"; | ||
import { TranslateJsonToX12CommandInput, TranslateJsonToX12CommandOutput } from "./commands/TranslateJsonToX12Command"; | ||
@@ -21,7 +21,7 @@ import { TranslateX12ToJsonCommandInput, TranslateX12ToJsonCommandOutput } from "./commands/TranslateX12ToJsonCommand"; | ||
/** | ||
* A constructor for a class implementing the {@link __Hash} interface | ||
* A constructor for a class implementing the {@link __Checksum} interface | ||
* that computes the SHA-256 HMAC or checksum of a string or binary buffer. | ||
* @internal | ||
*/ | ||
sha256?: __HashConstructor; | ||
sha256?: __ChecksumConstructor | __HashConstructor; | ||
/** | ||
@@ -73,14 +73,2 @@ * The function that will be used to convert strings into HTTP endpoints. | ||
/** | ||
* Value for how many times a request will be made at most in case of retry. | ||
*/ | ||
maxAttempts?: number | __Provider<number>; | ||
/** | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
* Optional logger for logging debug/info/warn/error. | ||
*/ | ||
logger?: __Logger; | ||
/** | ||
* Unique service identifier. | ||
@@ -102,5 +90,17 @@ * @internal | ||
/** | ||
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. | ||
* Value for how many times a request will be made at most in case of retry. | ||
*/ | ||
defaultsMode?: DefaultsMode | Provider<DefaultsMode>; | ||
maxAttempts?: number | __Provider<number>; | ||
/** | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
* Optional logger for logging debug/info/warn/error. | ||
*/ | ||
logger?: __Logger; | ||
/** | ||
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. | ||
*/ | ||
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; | ||
} | ||
@@ -107,0 +107,0 @@ declare type EDITranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & HttpBearerAuthInputConfig & UserAgentInputConfig & HttpApiKeyAuthInputConfig; |
@@ -113,12 +113,2 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; | ||
export declare const ParsedFilterSensitiveLog: (obj: Parsed) => any; | ||
export declare class EdiTranslationError extends __BaseException { | ||
readonly name: "EdiTranslationError"; | ||
readonly $fault: "client"; | ||
partialOutput?: Parsed; | ||
errors?: EdiError[]; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<EdiTranslationError, __BaseException>); | ||
} | ||
/** | ||
@@ -146,2 +136,13 @@ * A validation warning found when processing EDI data. | ||
export declare const EdiWarningFilterSensitiveLog: (obj: EdiWarning) => any; | ||
export declare class EdiTranslationError extends __BaseException { | ||
readonly name: "EdiTranslationError"; | ||
readonly $fault: "client"; | ||
partialOutput?: Parsed; | ||
errors?: EdiError[]; | ||
warnings?: EdiWarning[]; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<EdiTranslationError, __BaseException>); | ||
} | ||
/** | ||
@@ -162,10 +163,2 @@ * The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. | ||
} | ||
export declare enum ValidationErrorCode { | ||
ALL = "all", | ||
INCORRECT_LENGTH = "incorrect_length", | ||
INVALID_ENUMERATION = "invalid_enumeration", | ||
INVALID_RELATIONAL_CONDITION = "invalid_relational_condition", | ||
MISSING_REQUIRED_ELEMENT = "missing_required_element", | ||
PATTERN_MISMATCH = "pattern_mismatch" | ||
} | ||
/** | ||
@@ -526,6 +519,2 @@ * The server response when an unexpected error occurred while processing request. | ||
guidelessInputOptions?: TranslateX12ToJsonGuidelessInputOptions; | ||
/** | ||
* Any of: all, invalid_relational_condition, pattern_mismatch, incorrect_length, missing_required_element, invalid_enumeration | ||
*/ | ||
ignoreErrors?: (ValidationErrorCode | string)[]; | ||
} | ||
@@ -532,0 +521,0 @@ /** |
@@ -16,4 +16,2 @@ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -23,6 +21,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -29,0 +29,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -16,4 +16,2 @@ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler"; | ||
streamCollector: import("@aws-sdk/types").StreamCollector; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
apiVersion: string; | ||
@@ -23,6 +21,8 @@ urlParser: import("@aws-sdk/types").UrlParser; | ||
base64Encoder: import("@aws-sdk/types").Encoder; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
disableHostPrefix: boolean; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
logger: import("@aws-sdk/types").Logger; | ||
region?: string | import("@aws-sdk/types").Provider<string> | undefined; | ||
@@ -29,0 +29,0 @@ useFipsEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined; |
@@ -18,8 +18,8 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
disableHostPrefix: boolean; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
maxAttempts: number | import("@aws-sdk/types").Provider<number>; | ||
retryMode: string | import("@aws-sdk/types").Provider<string>; | ||
logger: import("@aws-sdk/types").Logger; | ||
serviceId: string; | ||
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider; | ||
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>; | ||
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>; | ||
@@ -26,0 +26,0 @@ region?: string | import("@aws-sdk/types").Provider<string> | undefined; |
@@ -14,2 +14,4 @@ import { EDITranslateClientConfig } from "./EDITranslateClient"; | ||
urlParser: import("@aws-sdk/types").UrlParser; | ||
utf8Decoder: import("@aws-sdk/types").Decoder; | ||
utf8Encoder: import("@aws-sdk/types").Encoder; | ||
}; |
@@ -11,33 +11,32 @@ { | ||
"dependencies": { | ||
"@aws-crypto/sha256-browser": "2.0.0", | ||
"@aws-crypto/sha256-js": "2.0.0", | ||
"@aws-sdk/config-resolver": "3.231.0", | ||
"@aws-sdk/fetch-http-handler": "3.226.0", | ||
"@aws-sdk/hash-node": "3.226.0", | ||
"@aws-sdk/invalid-dependency": "3.226.0", | ||
"@aws-sdk/middleware-content-length": "3.226.0", | ||
"@aws-sdk/middleware-host-header": "3.226.0", | ||
"@aws-sdk/middleware-logger": "3.226.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.226.0", | ||
"@aws-sdk/middleware-retry": "3.229.0", | ||
"@aws-sdk/middleware-serde": "3.226.0", | ||
"@aws-sdk/middleware-stack": "3.226.0", | ||
"@aws-sdk/middleware-user-agent": "3.226.0", | ||
"@aws-sdk/node-config-provider": "3.226.0", | ||
"@aws-sdk/node-http-handler": "3.226.0", | ||
"@aws-sdk/protocol-http": "3.226.0", | ||
"@aws-sdk/smithy-client": "3.226.0", | ||
"@aws-sdk/types": "3.226.0", | ||
"@aws-sdk/url-parser": "3.226.0", | ||
"@aws-crypto/sha256-browser": "3.0.0", | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/config-resolver": "3.272.0", | ||
"@aws-sdk/fetch-http-handler": "3.272.0", | ||
"@aws-sdk/hash-node": "3.272.0", | ||
"@aws-sdk/invalid-dependency": "3.272.0", | ||
"@aws-sdk/middleware-content-length": "3.272.0", | ||
"@aws-sdk/middleware-host-header": "3.272.0", | ||
"@aws-sdk/middleware-logger": "3.272.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.272.0", | ||
"@aws-sdk/middleware-retry": "3.272.0", | ||
"@aws-sdk/middleware-serde": "3.272.0", | ||
"@aws-sdk/middleware-stack": "3.272.0", | ||
"@aws-sdk/middleware-user-agent": "3.272.0", | ||
"@aws-sdk/node-config-provider": "3.272.0", | ||
"@aws-sdk/node-http-handler": "3.272.0", | ||
"@aws-sdk/protocol-http": "3.272.0", | ||
"@aws-sdk/smithy-client": "3.272.0", | ||
"@aws-sdk/types": "3.272.0", | ||
"@aws-sdk/url-parser": "3.272.0", | ||
"@aws-sdk/util-base64": "3.208.0", | ||
"@aws-sdk/util-body-length-browser": "3.188.0", | ||
"@aws-sdk/util-body-length-node": "3.208.0", | ||
"@aws-sdk/util-defaults-mode-browser": "3.226.0", | ||
"@aws-sdk/util-defaults-mode-node": "3.231.0", | ||
"@aws-sdk/util-middleware": "3.226.0", | ||
"@aws-sdk/util-retry": "3.229.0", | ||
"@aws-sdk/util-user-agent-browser": "3.226.0", | ||
"@aws-sdk/util-user-agent-node": "3.226.0", | ||
"@aws-sdk/util-utf8-browser": "3.188.0", | ||
"@aws-sdk/util-utf8-node": "3.208.0", | ||
"@aws-sdk/util-defaults-mode-browser": "3.272.0", | ||
"@aws-sdk/util-defaults-mode-node": "3.272.0", | ||
"@aws-sdk/util-middleware": "3.272.0", | ||
"@aws-sdk/util-retry": "3.272.0", | ||
"@aws-sdk/util-user-agent-browser": "3.272.0", | ||
"@aws-sdk/util-user-agent-node": "3.272.0", | ||
"@aws-sdk/util-utf8": "3.254.0", | ||
"tslib": "^2.3.1" | ||
@@ -96,3 +95,3 @@ }, | ||
}, | ||
"version": "0.1.30" | ||
"version": "0.1.31" | ||
} |
31
290212
5994
+ Added@aws-sdk/util-utf8@3.254.0
+ Added@aws-crypto/ie11-detection@3.0.0(transitive)
+ Added@aws-crypto/sha256-browser@3.0.0(transitive)
+ Added@aws-crypto/sha256-js@3.0.0(transitive)
+ Added@aws-crypto/supports-web-crypto@3.0.0(transitive)
+ Added@aws-crypto/util@3.0.0(transitive)
+ Added@aws-sdk/abort-controller@3.272.0(transitive)
+ Added@aws-sdk/config-resolver@3.272.0(transitive)
+ Added@aws-sdk/credential-provider-imds@3.272.0(transitive)
+ Added@aws-sdk/fetch-http-handler@3.272.0(transitive)
+ Added@aws-sdk/hash-node@3.272.0(transitive)
+ Added@aws-sdk/invalid-dependency@3.272.0(transitive)
+ Added@aws-sdk/middleware-content-length@3.272.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.272.0(transitive)
+ Added@aws-sdk/middleware-logger@3.272.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.272.0(transitive)
+ Added@aws-sdk/middleware-retry@3.272.0(transitive)
+ Added@aws-sdk/middleware-serde@3.272.0(transitive)
+ Added@aws-sdk/middleware-stack@3.272.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.272.0(transitive)
+ Added@aws-sdk/node-config-provider@3.272.0(transitive)
+ Added@aws-sdk/node-http-handler@3.272.0(transitive)
+ Added@aws-sdk/property-provider@3.272.0(transitive)
+ Added@aws-sdk/protocol-http@3.272.0(transitive)
+ Added@aws-sdk/querystring-builder@3.272.0(transitive)
+ Added@aws-sdk/querystring-parser@3.272.0(transitive)
+ Added@aws-sdk/service-error-classification@3.272.0(transitive)
+ Added@aws-sdk/shared-ini-file-loader@3.272.0(transitive)
+ Added@aws-sdk/signature-v4@3.272.0(transitive)
+ Added@aws-sdk/smithy-client@3.272.0(transitive)
+ Added@aws-sdk/types@3.272.0(transitive)
+ Added@aws-sdk/url-parser@3.272.0(transitive)
+ Added@aws-sdk/util-defaults-mode-browser@3.272.0(transitive)
+ Added@aws-sdk/util-defaults-mode-node@3.272.0(transitive)
+ Added@aws-sdk/util-middleware@3.272.0(transitive)
+ Added@aws-sdk/util-retry@3.272.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.272.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.272.0(transitive)
+ Added@aws-sdk/util-utf8@3.254.0(transitive)
+ Added@aws-sdk/util-utf8-browser@3.259.0(transitive)
- Removed@aws-sdk/util-utf8-browser@3.188.0
- Removed@aws-sdk/util-utf8-node@3.208.0
- Removed@aws-crypto/ie11-detection@2.0.2(transitive)
- Removed@aws-crypto/sha256-browser@2.0.0(transitive)
- Removed@aws-crypto/sha256-js@2.0.0(transitive)
- Removed@aws-crypto/supports-web-crypto@2.0.2(transitive)
- Removed@aws-crypto/util@2.0.2(transitive)
- Removed@aws-sdk/abort-controller@3.226.0(transitive)
- Removed@aws-sdk/config-resolver@3.231.0(transitive)
- Removed@aws-sdk/credential-provider-imds@3.226.0(transitive)
- Removed@aws-sdk/fetch-http-handler@3.226.0(transitive)
- Removed@aws-sdk/hash-node@3.226.0(transitive)
- Removed@aws-sdk/invalid-dependency@3.226.0(transitive)
- Removed@aws-sdk/middleware-content-length@3.226.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.226.0(transitive)
- Removed@aws-sdk/middleware-logger@3.226.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.226.0(transitive)
- Removed@aws-sdk/middleware-retry@3.229.0(transitive)
- Removed@aws-sdk/middleware-serde@3.226.0(transitive)
- Removed@aws-sdk/middleware-stack@3.226.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.226.0(transitive)
- Removed@aws-sdk/node-config-provider@3.226.0(transitive)
- Removed@aws-sdk/node-http-handler@3.226.0(transitive)
- Removed@aws-sdk/property-provider@3.226.0(transitive)
- Removed@aws-sdk/protocol-http@3.226.0(transitive)
- Removed@aws-sdk/querystring-builder@3.226.0(transitive)
- Removed@aws-sdk/querystring-parser@3.226.0(transitive)
- Removed@aws-sdk/service-error-classification@3.229.0(transitive)
- Removed@aws-sdk/shared-ini-file-loader@3.226.0(transitive)
- Removed@aws-sdk/signature-v4@3.226.0(transitive)
- Removed@aws-sdk/smithy-client@3.226.0(transitive)
- Removed@aws-sdk/types@3.226.0(transitive)
- Removed@aws-sdk/url-parser@3.226.0(transitive)
- Removed@aws-sdk/util-defaults-mode-browser@3.226.0(transitive)
- Removed@aws-sdk/util-defaults-mode-node@3.231.0(transitive)
- Removed@aws-sdk/util-middleware@3.226.0(transitive)
- Removed@aws-sdk/util-retry@3.229.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.226.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.226.0(transitive)
- Removed@aws-sdk/util-utf8-browser@3.188.0(transitive)
- Removed@aws-sdk/util-utf8-node@3.208.0(transitive)
Updated@aws-crypto/sha256-js@3.0.0
Updated@aws-sdk/hash-node@3.272.0
Updated@aws-sdk/types@3.272.0
Updated@aws-sdk/url-parser@3.272.0
Updated@aws-sdk/util-retry@3.272.0