@smithy/core 3.29.1 → 3.29.2
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.
- package/dist-es/index.js +5 -5
- package/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js +3 -3
- package/dist-es/legacy-root-exports/middleware-http-signing/index.js +2 -2
- package/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js +3 -3
- package/dist-es/legacy-root-exports/util-identity-and-auth/index.js +3 -3
- package/dist-es/submodules/cbor/index.js +3 -3
- package/dist-es/submodules/endpoints/index.browser.js +1 -1
- package/dist-es/submodules/endpoints/index.js +1 -1
- package/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js +1 -1
- package/dist-es/submodules/endpoints/util-endpoints/debug/index.js +2 -2
- package/dist-es/submodules/endpoints/util-endpoints/lib/index.js +11 -11
- package/dist-es/submodules/endpoints/util-endpoints/types/index.js +1 -7
- package/dist-es/submodules/endpoints/util-endpoints/utils/index.js +2 -2
- package/dist-es/submodules/protocols/index.js +13 -13
- package/dist-es/submodules/schema/index.js +14 -14
- package/dist-types/index.d.ts +7 -5
- package/dist-types/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -3
- package/dist-types/legacy-root-exports/middleware-http-signing/index.d.ts +2 -2
- package/dist-types/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -3
- package/dist-types/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -3
- package/dist-types/submodules/cbor/index.d.ts +3 -3
- package/dist-types/submodules/client/util-waiter/waiter.d.ts +1 -1
- package/dist-types/submodules/endpoints/index.browser.d.ts +2 -1
- package/dist-types/submodules/endpoints/index.d.ts +2 -1
- package/dist-types/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +1 -1
- package/dist-types/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -2
- package/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +12 -11
- package/dist-types/submodules/endpoints/util-endpoints/types/index.d.ts +7 -7
- package/dist-types/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -2
- package/dist-types/submodules/protocols/index.d.ts +13 -13
- package/dist-types/submodules/schema/index.d.ts +14 -14
- package/dist-types/submodules/transport/httpRequest.d.ts +2 -2
- package/dist-types/submodules/transport/index.d.ts +2 -1
- package/package.json +2 -2
package/dist-es/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { getSmithyContext } from "@smithy/core/transport";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpAuthSchemePlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, httpAuthSchemeMiddleware, httpAuthSchemeMiddlewareOptions, } from "./legacy-root-exports/middleware-http-auth-scheme";
|
|
3
|
+
export { getHttpSigningPlugin, httpSigningMiddleware, httpSigningMiddlewareOptions, } from "./legacy-root-exports/middleware-http-signing";
|
|
4
|
+
export { normalizeProvider } from "./normalizeProvider";
|
|
5
5
|
export { createPaginator } from "./legacy-root-exports/pagination/createPaginator";
|
|
6
6
|
export { requestBuilder } from "@smithy/core/protocols";
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export { setFeature } from "./setFeature";
|
|
8
|
+
export { DefaultIdentityProviderConfig, EXPIRATION_MS, HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./legacy-root-exports/util-identity-and-auth";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { httpAuthSchemeMiddleware } from "./httpAuthSchemeMiddleware";
|
|
2
|
+
export { getHttpAuthSchemeEndpointRuleSetPlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, } from "./getHttpAuthSchemeEndpointRuleSetPlugin";
|
|
3
|
+
export { getHttpAuthSchemePlugin, httpAuthSchemeMiddlewareOptions } from "./getHttpAuthSchemePlugin";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { httpSigningMiddleware } from "./httpSigningMiddleware";
|
|
2
|
+
export { getHttpSigningPlugin, httpSigningMiddlewareOptions } from "./getHttpSigningMiddleware";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { HttpApiKeyAuthSigner } from "./httpApiKeyAuth";
|
|
2
|
+
export { HttpBearerAuthSigner } from "./httpBearerAuth";
|
|
3
|
+
export { NoAuthSigner } from "./noAuth";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DefaultIdentityProviderConfig } from "./DefaultIdentityProviderConfig";
|
|
2
|
+
export { HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner } from "./httpAuthSchemes";
|
|
3
|
+
export { EXPIRATION_MS, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./memoizeIdentityProvider";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { cbor } from "./cbor";
|
|
2
2
|
export { tag, tagSymbol } from "./cbor-types";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
export { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from "./parseCborBody";
|
|
4
|
+
export { SmithyRpcV2CborProtocol } from "./SmithyRpcV2CborProtocol";
|
|
5
|
+
export { CborCodec, CborShapeDeserializer, CborShapeSerializer } from "./CborCodec";
|
|
@@ -11,7 +11,7 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
|
|
|
11
11
|
export { isValidHostLabel } from "@smithy/core/transport";
|
|
12
12
|
export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
|
|
13
13
|
export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
|
|
14
|
-
export
|
|
14
|
+
export { EndpointError } from "./util-endpoints/types";
|
|
15
15
|
export const getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
16
16
|
export const resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
17
17
|
export const endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|
|
@@ -11,7 +11,7 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
|
|
|
11
11
|
export { isValidHostLabel } from "@smithy/core/transport";
|
|
12
12
|
export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
|
|
13
13
|
export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
|
|
14
|
-
export
|
|
14
|
+
export { EndpointError } from "./util-endpoints/types";
|
|
15
15
|
export const getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
16
16
|
export const resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
17
17
|
export const endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { DOT_PATTERN, S3_HOSTNAME_PATTERN, isArnBucketName, isDnsCompatibleBucketName, resolveParamsForS3 } from "./s3";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { debugId } from "./debugId";
|
|
2
|
+
export { toDebugString } from "./toDebugString";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { booleanEquals } from "./booleanEquals";
|
|
2
|
+
export { coalesce } from "./coalesce";
|
|
3
|
+
export { getAttr } from "./getAttr";
|
|
4
|
+
export { isSet } from "./isSet";
|
|
5
5
|
export { isValidHostLabel } from "@smithy/core/transport";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
6
|
+
export { ite } from "./ite";
|
|
7
|
+
export { not } from "./not";
|
|
8
|
+
export { parseURL } from "./parseURL";
|
|
9
|
+
export { split } from "./split";
|
|
10
|
+
export { stringEquals } from "./stringEquals";
|
|
11
|
+
export { substring } from "./substring";
|
|
12
|
+
export { uriEncode } from "./uriEncode";
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./EndpointFunctions";
|
|
3
|
-
export * from "./EndpointRuleObject";
|
|
4
|
-
export * from "./ErrorRuleObject";
|
|
5
|
-
export * from "./RuleSetObject";
|
|
6
|
-
export * from "./TreeRuleObject";
|
|
7
|
-
export * from "./shared";
|
|
1
|
+
export { EndpointError } from "./EndpointError";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { customEndpointFunctions } from "./customEndpointFunctions";
|
|
2
|
+
export { evaluateRules, evaluateTreeRule, group } from "./evaluateRules";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
1
|
+
export { collectBody } from "./collect-stream-body";
|
|
2
|
+
export { extendedEncodeURIComponent } from "./extended-encode-uri-component";
|
|
3
|
+
export { HttpBindingProtocol } from "./HttpBindingProtocol";
|
|
4
|
+
export { HttpProtocol } from "./HttpProtocol";
|
|
5
|
+
export { RpcProtocol } from "./RpcProtocol";
|
|
6
|
+
export { RequestBuilder, requestBuilder } from "./requestBuilder";
|
|
7
|
+
export { resolvedPath } from "./resolve-path";
|
|
8
|
+
export { FromStringShapeDeserializer } from "./serde/FromStringShapeDeserializer";
|
|
9
|
+
export { HttpInterceptingShapeDeserializer } from "./serde/HttpInterceptingShapeDeserializer";
|
|
10
|
+
export { HttpInterceptingShapeSerializer } from "./serde/HttpInterceptingShapeSerializer";
|
|
11
|
+
export { ToStringShapeSerializer } from "./serde/ToStringShapeSerializer";
|
|
12
|
+
export { determineTimestampFormat } from "./serde/determineTimestampFormat";
|
|
13
|
+
export { SerdeContext } from "./SerdeContext";
|
|
14
14
|
export { Field } from "./protocol-http/Field";
|
|
15
15
|
export { Fields } from "./protocol-http/Fields";
|
|
16
16
|
export { HttpRequest } from "@smithy/core/transport";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
1
|
+
export { deref } from "./deref";
|
|
2
|
+
export { deserializerMiddlewareOption, getSchemaSerdePlugin, serializerMiddlewareOption, } from "./middleware/getSchemaSerdePlugin";
|
|
3
|
+
export { ListSchema, list } from "./schemas/ListSchema";
|
|
4
|
+
export { MapSchema, map } from "./schemas/MapSchema";
|
|
5
|
+
export { OperationSchema, op } from "./schemas/OperationSchema";
|
|
6
|
+
export { operation } from "./schemas/operation";
|
|
7
|
+
export { ErrorSchema, error } from "./schemas/ErrorSchema";
|
|
8
|
+
export { NormalizedSchema, isStaticSchema, simpleSchemaCacheN, simpleSchemaCacheS } from "./schemas/NormalizedSchema";
|
|
9
|
+
export { Schema } from "./schemas/Schema";
|
|
10
|
+
export { SimpleSchema, sim, simAdapter } from "./schemas/SimpleSchema";
|
|
11
|
+
export { StructureSchema, struct } from "./schemas/StructureSchema";
|
|
12
|
+
export { SCHEMA } from "./schemas/sentinels";
|
|
13
|
+
export { traitsCache, translateTraits } from "./schemas/translateTraits";
|
|
14
|
+
export { TypeRegistry } from "./TypeRegistry";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export { getSmithyContext } from "@smithy/core/transport";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpAuthSchemePlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, httpAuthSchemeMiddleware, httpAuthSchemeMiddlewareOptions, } from "./legacy-root-exports/middleware-http-auth-scheme";
|
|
3
|
+
export type { PreviouslyResolved } from "./legacy-root-exports/middleware-http-auth-scheme";
|
|
4
|
+
export { getHttpSigningPlugin, httpSigningMiddleware, httpSigningMiddlewareOptions, } from "./legacy-root-exports/middleware-http-signing";
|
|
5
|
+
export { normalizeProvider } from "./normalizeProvider";
|
|
5
6
|
export { createPaginator } from "./legacy-root-exports/pagination/createPaginator";
|
|
6
7
|
/**
|
|
7
8
|
* Backwards compatibility re-export.
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
11
|
export { requestBuilder } from "@smithy/core/protocols";
|
|
11
|
-
export
|
|
12
|
-
export
|
|
12
|
+
export { setFeature } from "./setFeature";
|
|
13
|
+
export { DefaultIdentityProviderConfig, EXPIRATION_MS, HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./legacy-root-exports/util-identity-and-auth";
|
|
14
|
+
export type { MemoizedIdentityProvider } from "./legacy-root-exports/util-identity-and-auth";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { httpAuthSchemeMiddleware } from "./httpAuthSchemeMiddleware";
|
|
2
|
+
export type { PreviouslyResolved } from "./httpAuthSchemeMiddleware";
|
|
3
|
+
export { getHttpAuthSchemeEndpointRuleSetPlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, } from "./getHttpAuthSchemeEndpointRuleSetPlugin";
|
|
4
|
+
export { getHttpAuthSchemePlugin, httpAuthSchemeMiddlewareOptions } from "./getHttpAuthSchemePlugin";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { httpSigningMiddleware } from "./httpSigningMiddleware";
|
|
2
|
+
export { getHttpSigningPlugin, httpSigningMiddlewareOptions } from "./getHttpSigningMiddleware";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { HttpApiKeyAuthSigner } from "./httpApiKeyAuth";
|
|
2
|
+
export { HttpBearerAuthSigner } from "./httpBearerAuth";
|
|
3
|
+
export { NoAuthSigner } from "./noAuth";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DefaultIdentityProviderConfig } from "./DefaultIdentityProviderConfig";
|
|
2
|
+
export { HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner } from "./httpAuthSchemes";
|
|
3
|
+
export { EXPIRATION_MS, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./memoizeIdentityProvider";
|
|
4
|
+
export type { MemoizedIdentityProvider } from "./memoizeIdentityProvider";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { cbor } from "./cbor";
|
|
2
2
|
export { tag, tagSymbol } from "./cbor-types";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
export { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from "./parseCborBody";
|
|
4
|
+
export { SmithyRpcV2CborProtocol } from "./SmithyRpcV2CborProtocol";
|
|
5
|
+
export { CborCodec, CborShapeDeserializer, CborShapeSerializer } from "./CborCodec";
|
|
@@ -6,7 +6,8 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
|
|
|
6
6
|
export { isValidHostLabel } from "@smithy/core/transport";
|
|
7
7
|
export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
|
|
8
8
|
export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
|
|
9
|
-
export
|
|
9
|
+
export { EndpointError } from "./util-endpoints/types";
|
|
10
|
+
export type { ConditionObject, DeprecatedObject, EndpointFunctions, EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointParams, EndpointResolverOptions, EndpointRuleObject, ErrorRuleObject, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ParameterObject, ReferenceObject, ReferenceRecord, RuleSetObject, RuleSetRules, TreeRuleObject, } from "./util-endpoints/types";
|
|
10
11
|
export declare const getEndpointFromInstructions: <T extends import("@smithy/types").EndpointParameters, CommandInput extends object, Config extends object>(commandInput: CommandInput, instructionsSupplier: import("./middleware-endpoint/adaptors/getEndpointFromInstructions").EndpointParameterInstructionsSupplier, clientConfig: Partial<import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<T>> & Config, context?: import("@smithy/types").HandlerExecutionContext) => Promise<import("@smithy/types").EndpointV2>;
|
|
11
12
|
export declare const resolveEndpointConfig: <T, P extends import("@smithy/types").EndpointParameters = import("@smithy/types").EndpointParameters>(input: T & import("./middleware-endpoint/resolveEndpointConfig").EndpointInputConfig<P> & import("./middleware-endpoint/resolveEndpointConfig").PreviouslyResolved<P>) => T & import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<P>;
|
|
12
13
|
export declare const endpointMiddleware: <T extends import("@smithy/types").EndpointParameters>({ config, instructions, }: {
|
|
@@ -6,7 +6,8 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
|
|
|
6
6
|
export { isValidHostLabel } from "@smithy/core/transport";
|
|
7
7
|
export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
|
|
8
8
|
export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
|
|
9
|
-
export
|
|
9
|
+
export { EndpointError } from "./util-endpoints/types";
|
|
10
|
+
export type { ConditionObject, DeprecatedObject, EndpointFunctions, EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointParams, EndpointResolverOptions, EndpointRuleObject, ErrorRuleObject, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ParameterObject, ReferenceObject, ReferenceRecord, RuleSetObject, RuleSetRules, TreeRuleObject, } from "./util-endpoints/types";
|
|
10
11
|
export declare const getEndpointFromInstructions: <T extends import("@smithy/types").EndpointParameters, CommandInput extends object, Config extends object>(commandInput: CommandInput, instructionsSupplier: import("./middleware-endpoint/adaptors/getEndpointFromInstructions").EndpointParameterInstructionsSupplier, clientConfig: Partial<import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<T>> & Config, context?: import("@smithy/types").HandlerExecutionContext) => Promise<import("@smithy/types").EndpointV2>;
|
|
11
12
|
export declare const resolveEndpointConfig: <T, P extends import("@smithy/types").EndpointParameters = import("@smithy/types").EndpointParameters>(input: T & import("./middleware-endpoint/resolveEndpointConfig").EndpointInputConfig<P> & import("./middleware-endpoint/resolveEndpointConfig").PreviouslyResolved<P>) => T & import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<P>;
|
|
12
13
|
export declare const endpointMiddleware: <T extends import("@smithy/types").EndpointParameters>({ config, instructions, }: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { debugId } from "./debugId";
|
|
2
|
+
export { toDebugString } from "./toDebugString";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { booleanEquals } from "./booleanEquals";
|
|
2
|
+
export { coalesce } from "./coalesce";
|
|
3
|
+
export { getAttr } from "./getAttr";
|
|
4
|
+
export type { GetAttrValue } from "./getAttr";
|
|
5
|
+
export { isSet } from "./isSet";
|
|
5
6
|
export { isValidHostLabel } from "@smithy/core/transport";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
7
|
+
export { ite } from "./ite";
|
|
8
|
+
export { not } from "./not";
|
|
9
|
+
export { parseURL } from "./parseURL";
|
|
10
|
+
export { split } from "./split";
|
|
11
|
+
export { stringEquals } from "./stringEquals";
|
|
12
|
+
export { substring } from "./substring";
|
|
13
|
+
export { uriEncode } from "./uriEncode";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
1
|
+
export { EndpointError } from "./EndpointError";
|
|
2
|
+
export type { EndpointFunctions } from "./EndpointFunctions";
|
|
3
|
+
export type { EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointRuleObject, } from "./EndpointRuleObject";
|
|
4
|
+
export type { ErrorRuleObject } from "./ErrorRuleObject";
|
|
5
|
+
export type { DeprecatedObject, ParameterObject, RuleSetObject } from "./RuleSetObject";
|
|
6
|
+
export type { RuleSetRules, TreeRuleObject } from "./TreeRuleObject";
|
|
7
|
+
export type { ConditionObject, EndpointParams, EndpointResolverOptions, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ReferenceObject, ReferenceRecord, } from "./shared";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { customEndpointFunctions } from "./customEndpointFunctions";
|
|
2
|
+
export { evaluateRules, evaluateTreeRule, group } from "./evaluateRules";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
1
|
+
export { collectBody } from "./collect-stream-body";
|
|
2
|
+
export { extendedEncodeURIComponent } from "./extended-encode-uri-component";
|
|
3
|
+
export { HttpBindingProtocol } from "./HttpBindingProtocol";
|
|
4
|
+
export { HttpProtocol } from "./HttpProtocol";
|
|
5
|
+
export { RpcProtocol } from "./RpcProtocol";
|
|
6
|
+
export { RequestBuilder, requestBuilder } from "./requestBuilder";
|
|
7
|
+
export { resolvedPath } from "./resolve-path";
|
|
8
|
+
export { FromStringShapeDeserializer } from "./serde/FromStringShapeDeserializer";
|
|
9
|
+
export { HttpInterceptingShapeDeserializer } from "./serde/HttpInterceptingShapeDeserializer";
|
|
10
|
+
export { HttpInterceptingShapeSerializer } from "./serde/HttpInterceptingShapeSerializer";
|
|
11
|
+
export { ToStringShapeSerializer } from "./serde/ToStringShapeSerializer";
|
|
12
|
+
export { determineTimestampFormat } from "./serde/determineTimestampFormat";
|
|
13
|
+
export { SerdeContext } from "./SerdeContext";
|
|
14
14
|
export { Field } from "./protocol-http/Field";
|
|
15
15
|
export { Fields, type FieldsOptions } from "./protocol-http/Fields";
|
|
16
16
|
export { type HttpHandler, type HttpHandlerUserInput } from "./protocol-http/httpHandler";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
1
|
+
export { deref } from "./deref";
|
|
2
|
+
export { deserializerMiddlewareOption, getSchemaSerdePlugin, serializerMiddlewareOption, } from "./middleware/getSchemaSerdePlugin";
|
|
3
|
+
export { ListSchema, list } from "./schemas/ListSchema";
|
|
4
|
+
export { MapSchema, map } from "./schemas/MapSchema";
|
|
5
|
+
export { OperationSchema, op } from "./schemas/OperationSchema";
|
|
6
|
+
export { operation } from "./schemas/operation";
|
|
7
|
+
export { ErrorSchema, error } from "./schemas/ErrorSchema";
|
|
8
|
+
export { NormalizedSchema, isStaticSchema, simpleSchemaCacheN, simpleSchemaCacheS } from "./schemas/NormalizedSchema";
|
|
9
|
+
export { Schema } from "./schemas/Schema";
|
|
10
|
+
export { SimpleSchema, sim, simAdapter } from "./schemas/SimpleSchema";
|
|
11
|
+
export { StructureSchema, struct } from "./schemas/StructureSchema";
|
|
12
|
+
export { SCHEMA } from "./schemas/sentinels";
|
|
13
|
+
export { traitsCache, translateTraits } from "./schemas/translateTraits";
|
|
14
|
+
export { TypeRegistry } from "./TypeRegistry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpRequest as IHttpRequest,
|
|
1
|
+
import type { HeaderBag, HttpMessage, HttpRequest as IHttpRequest, QueryParameterBag, URI } from "@smithy/types";
|
|
2
2
|
type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & {
|
|
3
3
|
method?: string;
|
|
4
4
|
};
|
|
@@ -17,7 +17,7 @@ export interface HttpRequest extends IHttpRequest {
|
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
|
-
export { IHttpRequest };
|
|
20
|
+
export type { IHttpRequest };
|
|
21
21
|
/**
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { getSmithyContext } from "./getSmithyContext";
|
|
2
|
-
export { HttpRequest
|
|
2
|
+
export { HttpRequest } from "./httpRequest";
|
|
3
|
+
export type { IHttpRequest } from "./httpRequest";
|
|
3
4
|
export { HttpResponse } from "./httpResponse";
|
|
4
5
|
export { isValidHostLabel } from "./isValidHostLabel";
|
|
5
6
|
export { isValidHostname } from "./isValidHostname";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.29.
|
|
3
|
+
"version": "3.29.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"benchmark:cbor": "node ./scripts/cbor-perf.mjs",
|
|
6
6
|
"benchmark:checksum": "node ./scripts/checksum-perf.mjs",
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"license": "Apache-2.0",
|
|
171
171
|
"sideEffects": false,
|
|
172
172
|
"dependencies": {
|
|
173
|
-
"@smithy/types": "^4.
|
|
173
|
+
"@smithy/types": "^4.16.0",
|
|
174
174
|
"tslib": "^2.6.2"
|
|
175
175
|
},
|
|
176
176
|
"devDependencies": {
|