@cdk8s/awscdk-resolver 0.0.625 → 0.0.627
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/pagination/createPaginator.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/memoizeIdentityProvider.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-blob-browser/blobHasher.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/HashCalculator.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.browser.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.native.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidFunction.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidProvider.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/MiddlewareStack.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/types.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/NoOpLogger.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +84 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/command.d.ts +118 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/create-aggregated-client.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/default-error-handler.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/defaults-mode.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +42 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-array-if-single-item.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-value-from-text-node.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/is-serializable-header-value.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/object-mapping.d.ts +179 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/ser-utils.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/serde-json.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/createWaiter.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/poller.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/sleep.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/validate.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/waiter.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +57 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/config.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/resolveRegionConfig.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariant.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariantTag.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/PartitionHash.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/RegionHash.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getRegionInfo.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedHostname.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedPartition.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/constants.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/defaultsModeConfig.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.native.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/configLoader.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromEnv.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromStatic.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/getSelectorName.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/CredentialsProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/ProviderError.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/TokenProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/chain.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/fromValue.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/memoize.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +53 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseIni.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/readFile.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/types.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/booleanSelector.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/numberSelector.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/types.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.browser.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +110 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/s3.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/debugId.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/toDebugString.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/booleanEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/coalesce.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttr.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttrPathList.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/index.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isIpAddress.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isSet.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/ite.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/not.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/split.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/stringEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/substring.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/uriEncode.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointError.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointRuleObject.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/ErrorRuleObject.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/RuleSetObject.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/TreeRuleObject.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/shared.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/callFunction.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/endpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTemplate.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTreeRule.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperty.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/HeaderMarshaller.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Int64.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Message.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageEncoderStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageEncoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/splitMessage.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +46 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/utils.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-config-resolver/EventStreamSerdeConfig.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getChunkedStream.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.browser.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +95 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/middleware-content-length/contentLengthMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Field.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Fields.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/httpHandler.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/types.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/querystring-builder/buildQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.browser.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/configurations.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retryMiddleware.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/util.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRateLimiter.d.ts +119 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryToken.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/StandardRetryStrategy.d.ts +56 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/config.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/constants.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/types.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +146 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +61 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/hash-node/hash-node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +39 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +39 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/is-array-buffer/is-array-buffer.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +43 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/deserializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serdePlugin.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +250 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/constants-for-browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.browser.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-buffer-from/buffer-from.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-hex-encoding/hex-encoding.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/ByteArrayCollector.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +77 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.browser.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-type-check.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/uuid/v4.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpRequest.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpResponse.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostLabel.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseUrl.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +26 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +15 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +7 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +38 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +25 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +20 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +43 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +30 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +12 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +10 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +23 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +2 -0
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +45 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +59 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +37 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +128 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +110 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +541 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +162 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +251 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +79 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +172 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +42 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/package.json +5 -5
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { SdkError } from "./shapes";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type RetryErrorType =
|
|
6
|
+
/**
|
|
7
|
+
* This is a connection level error such as a socket timeout, socket connect
|
|
8
|
+
* error, tls negotiation timeout etc...
|
|
9
|
+
* Typically these should never be applied for non-idempotent request types
|
|
10
|
+
* since in this scenario, it's impossible to know whether the operation had
|
|
11
|
+
* a side effect on the server.
|
|
12
|
+
*/
|
|
13
|
+
"TRANSIENT"
|
|
14
|
+
/**
|
|
15
|
+
* This is an error where the server explicitly told the client to back off,
|
|
16
|
+
* such as a 429 or 503 Http error.
|
|
17
|
+
*/
|
|
18
|
+
| "THROTTLING"
|
|
19
|
+
/**
|
|
20
|
+
* This is a server error that isn't explicitly throttling but is considered
|
|
21
|
+
* by the client to be something that should be retried.
|
|
22
|
+
*/
|
|
23
|
+
| "SERVER_ERROR"
|
|
24
|
+
/**
|
|
25
|
+
* Doesn't count against any budgets. This could be something like a 401
|
|
26
|
+
* challenge in Http.
|
|
27
|
+
*/
|
|
28
|
+
| "CLIENT_ERROR";
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export interface RetryErrorInfo {
|
|
33
|
+
/**
|
|
34
|
+
* The error thrown during the initial request, if available.
|
|
35
|
+
*/
|
|
36
|
+
error?: SdkError;
|
|
37
|
+
errorType: RetryErrorType;
|
|
38
|
+
/**
|
|
39
|
+
* Protocol hint. This could come from Http's 'retry-after' header or
|
|
40
|
+
* something from MQTT or any other protocol that has the ability to convey
|
|
41
|
+
* retry info from a peer.
|
|
42
|
+
*
|
|
43
|
+
* The Date after which a retry should be attempted.
|
|
44
|
+
*/
|
|
45
|
+
retryAfterHint?: Date;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface RetryBackoffStrategy {
|
|
51
|
+
/**
|
|
52
|
+
* @returns the number of milliseconds to wait before retrying an action.
|
|
53
|
+
*/
|
|
54
|
+
computeNextBackoffDelay(retryAttempt: number): number;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy {
|
|
60
|
+
/**
|
|
61
|
+
* Sets the delayBase used to compute backoff delays.
|
|
62
|
+
* @param delayBase -
|
|
63
|
+
*/
|
|
64
|
+
setDelayBase(delayBase: number): void;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export interface RetryStrategyOptions {
|
|
70
|
+
backoffStrategy: RetryBackoffStrategy;
|
|
71
|
+
maxRetriesBase: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export interface RetryToken {
|
|
77
|
+
/**
|
|
78
|
+
* Starts at 0 for the initial request, which is not a "retry" by definition.
|
|
79
|
+
* 1 indicates the first retry.
|
|
80
|
+
*
|
|
81
|
+
* @returns the current count of retry.
|
|
82
|
+
*/
|
|
83
|
+
getRetryCount(): number;
|
|
84
|
+
/**
|
|
85
|
+
* RetryStrategies implemented by `@smithy/core` will return tokens with a
|
|
86
|
+
* delay of zero.
|
|
87
|
+
*
|
|
88
|
+
* This is because the RetryStrategy token acquisition methods took over the
|
|
89
|
+
* task of idling for the delay period. If a user-implemented retry token
|
|
90
|
+
* contains a delay, the default Smithy retry middleware will still honor it.
|
|
91
|
+
*
|
|
92
|
+
* That is to say, you may either sleep within the RetryStrategy methods for acquiring
|
|
93
|
+
* the token, OR return a token with a retry delay that will cause the retry middleware
|
|
94
|
+
* to sleep.
|
|
95
|
+
*
|
|
96
|
+
* @returns the number of milliseconds to wait before retrying an action.
|
|
97
|
+
*/
|
|
98
|
+
getRetryDelay(): number;
|
|
99
|
+
/**
|
|
100
|
+
* @returns whether the operation which generated this token is long polling.
|
|
101
|
+
*/
|
|
102
|
+
isLongPoll?(): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Delays that have already been executed by the time the token
|
|
105
|
+
* is accessible. This is needed for the token handler to understand what has happened.
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
$retryLog?: {
|
|
109
|
+
acquisitionDelay?: number;
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface StandardRetryToken extends RetryToken {
|
|
116
|
+
/**
|
|
117
|
+
* @returns the cost of the last retry attempt.
|
|
118
|
+
*/
|
|
119
|
+
getRetryCost(): number | undefined;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface RetryStrategyV2 {
|
|
125
|
+
/**
|
|
126
|
+
* Called before any retries (for the first call to the operation). It either
|
|
127
|
+
* returns a retry token or an error upon the failure to acquire a token prior.
|
|
128
|
+
*
|
|
129
|
+
* tokenScope is arbitrary and out of scope for this component. However,
|
|
130
|
+
* adding it here offers us a lot of future flexibility for outage detection.
|
|
131
|
+
* For example, it could be "us-east-1" on a shared retry strategy, or
|
|
132
|
+
* "us-west-2-c:dynamodb".
|
|
133
|
+
*/
|
|
134
|
+
acquireInitialRetryToken(retryTokenScope: string): Promise<RetryToken>;
|
|
135
|
+
/**
|
|
136
|
+
* After a failed operation call, this function is invoked to refresh the
|
|
137
|
+
* retryToken returned by acquireInitialRetryToken(). This function can
|
|
138
|
+
* either choose to allow another retry and send a new or updated token,
|
|
139
|
+
* or reject the retry attempt and report the error either in an exception
|
|
140
|
+
* or returning an error.
|
|
141
|
+
*
|
|
142
|
+
* This method should either delay internally and return a token with 0 delay, OR
|
|
143
|
+
* do not sleep and return a token with the desired delay duration.
|
|
144
|
+
*/
|
|
145
|
+
refreshRetryTokenForRetry(tokenToRenew: RetryToken, errorInfo: RetryErrorInfo): Promise<RetryToken>;
|
|
146
|
+
/**
|
|
147
|
+
* Upon successful completion of the operation, this function is called
|
|
148
|
+
* to record that the operation was successful.
|
|
149
|
+
*/
|
|
150
|
+
recordSuccess(token: RetryToken): void;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED";
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export interface ExponentialBackoffStrategyOptions {
|
|
160
|
+
jitterType: ExponentialBackoffJitterType;
|
|
161
|
+
backoffScaleValue?: number;
|
|
162
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { EndpointV2 } from "../endpoint";
|
|
2
|
+
import { HandlerExecutionContext } from "../middleware";
|
|
3
|
+
import { MetadataBearer } from "../response";
|
|
4
|
+
import { EndpointBearer, SerdeFunctions } from "../serde";
|
|
5
|
+
import { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema";
|
|
6
|
+
import { StaticSchema } from "./static-schemas";
|
|
7
|
+
/**
|
|
8
|
+
* A schema is an object or value that describes how to serialize/deserialize data.
|
|
9
|
+
* @internal
|
|
10
|
+
* @deprecated use $Schema
|
|
11
|
+
*/
|
|
12
|
+
export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
|
|
13
|
+
/**
|
|
14
|
+
* A schema "reference" is either a schema or a function that
|
|
15
|
+
* provides a schema. This is useful for lazy loading, and to allow
|
|
16
|
+
* code generation to define schema out of dependency order.
|
|
17
|
+
* @internal
|
|
18
|
+
* @deprecated use $SchemaRef
|
|
19
|
+
*/
|
|
20
|
+
export type SchemaRef = Schema | (() => Schema);
|
|
21
|
+
/**
|
|
22
|
+
* A schema that has traits.
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
25
|
+
* @deprecated use static schema.
|
|
26
|
+
*/
|
|
27
|
+
export interface TraitsSchema {
|
|
28
|
+
namespace: string;
|
|
29
|
+
name: string;
|
|
30
|
+
traits: SchemaTraits;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Indicates the schema is a member of a parent Structure schema.
|
|
34
|
+
* It may also have a set of member traits distinct from its target shape's traits.
|
|
35
|
+
* @internal
|
|
36
|
+
* @deprecated use $MemberSchema
|
|
37
|
+
*/
|
|
38
|
+
export type MemberSchema = [
|
|
39
|
+
SchemaRef,
|
|
40
|
+
SchemaTraits
|
|
41
|
+
];
|
|
42
|
+
/**
|
|
43
|
+
* Schema for the structure aggregate type.
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated use static schema.
|
|
46
|
+
*/
|
|
47
|
+
export interface StructureSchema extends TraitsSchema {
|
|
48
|
+
memberNames: string[];
|
|
49
|
+
memberList: SchemaRef[];
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
|
|
52
|
+
* It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
|
|
53
|
+
*/
|
|
54
|
+
members?: Record<string, [
|
|
55
|
+
SchemaRef,
|
|
56
|
+
SchemaTraits
|
|
57
|
+
]> | undefined;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Schema for the list aggregate type.
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated use static schema.
|
|
63
|
+
*/
|
|
64
|
+
export interface ListSchema extends TraitsSchema {
|
|
65
|
+
valueSchema: SchemaRef;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Schema for the map aggregate type.
|
|
69
|
+
* @internal
|
|
70
|
+
* @deprecated use static schema.
|
|
71
|
+
*/
|
|
72
|
+
export interface MapSchema extends TraitsSchema {
|
|
73
|
+
keySchema: SchemaRef;
|
|
74
|
+
valueSchema: SchemaRef;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Schema for an operation.
|
|
78
|
+
* @internal
|
|
79
|
+
* @deprecated use StaticOperationSchema or $OperationSchema
|
|
80
|
+
*/
|
|
81
|
+
export interface OperationSchema {
|
|
82
|
+
namespace: string;
|
|
83
|
+
name: string;
|
|
84
|
+
traits: SchemaTraits;
|
|
85
|
+
input: SchemaRef;
|
|
86
|
+
output: SchemaRef;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Turns a serialization into a data object.
|
|
90
|
+
* @internal
|
|
91
|
+
* @deprecated use $ShapeDeserializer
|
|
92
|
+
*/
|
|
93
|
+
export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
94
|
+
/**
|
|
95
|
+
* Optionally async.
|
|
96
|
+
*/
|
|
97
|
+
read(schema: Schema, data: SerializationType): any | Promise<any>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Turns a data object into a serialization.
|
|
101
|
+
* @internal
|
|
102
|
+
* @deprecated use $ShapeSerializer
|
|
103
|
+
*/
|
|
104
|
+
export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
105
|
+
write(schema: Schema, value: unknown): void;
|
|
106
|
+
flush(): SerializationType;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
|
|
110
|
+
*
|
|
111
|
+
* @internal
|
|
112
|
+
* @deprecated use $Codec
|
|
113
|
+
*/
|
|
114
|
+
export interface Codec<S, D> extends ConfigurableSerdeContext {
|
|
115
|
+
createSerializer(): ShapeSerializer<S>;
|
|
116
|
+
createDeserializer(): ShapeDeserializer<D>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
|
|
120
|
+
* @internal
|
|
121
|
+
* @deprecated use $ClientProtocol
|
|
122
|
+
*/
|
|
123
|
+
export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
124
|
+
/**
|
|
125
|
+
* @returns the Smithy qualified shape id.
|
|
126
|
+
*/
|
|
127
|
+
getShapeId(): string;
|
|
128
|
+
getRequestType(): {
|
|
129
|
+
new (...args: any[]): Request;
|
|
130
|
+
};
|
|
131
|
+
getResponseType(): {
|
|
132
|
+
new (...args: any[]): Response;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @returns the payload codec if the requests/responses have a symmetric format.
|
|
136
|
+
* It otherwise may return null.
|
|
137
|
+
*/
|
|
138
|
+
getPayloadCodec(): Codec<any, any>;
|
|
139
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
140
|
+
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
141
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @deprecated use $ClientProtocolCtor.
|
|
146
|
+
*/
|
|
147
|
+
export interface ClientProtocolCtor<Request, Response> {
|
|
148
|
+
new (args: any): ClientProtocol<Request, Response>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import { EndpointV2 } from "../endpoint";
|
|
2
|
+
import { HandlerExecutionContext } from "../middleware";
|
|
3
|
+
import { MetadataBearer } from "../response";
|
|
4
|
+
import { EndpointBearer, SerdeFunctions } from "../serde";
|
|
5
|
+
import { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "./sentinels";
|
|
6
|
+
import { StaticSchema } from "./static-schemas";
|
|
7
|
+
import { TraitBitVector } from "./traits";
|
|
8
|
+
/**
|
|
9
|
+
* A schema is an object or value that describes how to serialize/deserialize data.
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema;
|
|
13
|
+
/**
|
|
14
|
+
* Traits attached to schema objects.
|
|
15
|
+
*
|
|
16
|
+
* When this is a number, it refers to a pre-allocated
|
|
17
|
+
* trait combination that is equivalent to one of the
|
|
18
|
+
* object type's variations.
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type SchemaTraits = TraitBitVector | SchemaTraitsObject;
|
|
23
|
+
/**
|
|
24
|
+
* Simple schemas are those corresponding to simple Smithy types.
|
|
25
|
+
* @see https://smithy.io/2.0/spec/simple-types.html
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type SimpleSchema = BlobSchemas | StringSchema | BooleanSchema | NumericSchema | BigIntegerSchema | BigDecimalSchema | DocumentSchema | TimestampSchemas | number;
|
|
29
|
+
/**
|
|
30
|
+
* Sentinel value for Timestamp schema.
|
|
31
|
+
* "Default" means unspecified and to use the protocol serializer's default format.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type TimestampSchemas = TimestampDefaultSchema | TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema;
|
|
36
|
+
/**
|
|
37
|
+
* Sentinel values for Blob schema.
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type BlobSchemas = BlobSchema | StreamingBlobSchema;
|
|
41
|
+
/**
|
|
42
|
+
* Signal value for the Smithy void value. Typically used for
|
|
43
|
+
* operation input and outputs.
|
|
44
|
+
*
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type UnitSchema = "unit";
|
|
48
|
+
/**
|
|
49
|
+
* See https://smithy.io/2.0/trait-index.html for individual definitions.
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type SchemaTraitsObject = {
|
|
54
|
+
idempotent?: 1;
|
|
55
|
+
idempotencyToken?: 1;
|
|
56
|
+
sensitive?: 1;
|
|
57
|
+
sparse?: 1;
|
|
58
|
+
/**
|
|
59
|
+
* timestampFormat is expressed by the schema sentinel values of 4, 5, 6, and 7,
|
|
60
|
+
* and not contained in trait objects.
|
|
61
|
+
* @deprecated use schema value.
|
|
62
|
+
*/
|
|
63
|
+
timestampFormat?: never;
|
|
64
|
+
httpLabel?: 1;
|
|
65
|
+
httpHeader?: string;
|
|
66
|
+
httpQuery?: string;
|
|
67
|
+
httpPrefixHeaders?: string;
|
|
68
|
+
httpQueryParams?: 1;
|
|
69
|
+
httpPayload?: 1;
|
|
70
|
+
/**
|
|
71
|
+
* [method, path, statusCode]
|
|
72
|
+
*/
|
|
73
|
+
http?: [
|
|
74
|
+
string,
|
|
75
|
+
string,
|
|
76
|
+
number
|
|
77
|
+
];
|
|
78
|
+
httpResponseCode?: 1;
|
|
79
|
+
/**
|
|
80
|
+
* [hostPrefix]
|
|
81
|
+
*/
|
|
82
|
+
endpoint?: [
|
|
83
|
+
string
|
|
84
|
+
];
|
|
85
|
+
xmlAttribute?: 1;
|
|
86
|
+
xmlName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* [prefix, uri]
|
|
89
|
+
*/
|
|
90
|
+
xmlNamespace?: [
|
|
91
|
+
string,
|
|
92
|
+
string
|
|
93
|
+
];
|
|
94
|
+
xmlFlattened?: 1;
|
|
95
|
+
jsonName?: string;
|
|
96
|
+
mediaType?: string;
|
|
97
|
+
error?: "client" | "server";
|
|
98
|
+
streaming?: 1;
|
|
99
|
+
eventHeader?: 1;
|
|
100
|
+
eventPayload?: 1;
|
|
101
|
+
[traitName: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Indicates the schema is a member of a parent Structure schema.
|
|
105
|
+
* It may also have a set of member traits distinct from its target shape's traits.
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export type $MemberSchema = [
|
|
109
|
+
$SchemaRef,
|
|
110
|
+
SchemaTraits
|
|
111
|
+
];
|
|
112
|
+
/**
|
|
113
|
+
* Schema for an operation.
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export interface $OperationSchema {
|
|
117
|
+
namespace: string;
|
|
118
|
+
name: string;
|
|
119
|
+
traits: SchemaTraits;
|
|
120
|
+
input: $SchemaRef;
|
|
121
|
+
output: $SchemaRef;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Normalization wrapper for various schema data objects.
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export interface NormalizedSchema {
|
|
128
|
+
getSchema(): $Schema;
|
|
129
|
+
getName(): string | undefined;
|
|
130
|
+
isMemberSchema(): boolean;
|
|
131
|
+
isListSchema(): boolean;
|
|
132
|
+
isMapSchema(): boolean;
|
|
133
|
+
isStructSchema(): boolean;
|
|
134
|
+
isBlobSchema(): boolean;
|
|
135
|
+
isTimestampSchema(): boolean;
|
|
136
|
+
isStringSchema(): boolean;
|
|
137
|
+
isBooleanSchema(): boolean;
|
|
138
|
+
isNumericSchema(): boolean;
|
|
139
|
+
isBigIntegerSchema(): boolean;
|
|
140
|
+
isBigDecimalSchema(): boolean;
|
|
141
|
+
isStreaming(): boolean;
|
|
142
|
+
getMergedTraits(): SchemaTraitsObject;
|
|
143
|
+
getMemberTraits(): SchemaTraitsObject;
|
|
144
|
+
getOwnTraits(): SchemaTraitsObject;
|
|
145
|
+
/**
|
|
146
|
+
* For list/set/map.
|
|
147
|
+
*/
|
|
148
|
+
getValueSchema(): NormalizedSchema;
|
|
149
|
+
/**
|
|
150
|
+
* For struct/union.
|
|
151
|
+
*/
|
|
152
|
+
getMemberSchema(member: string): NormalizedSchema | undefined;
|
|
153
|
+
structIterator(): Generator<[
|
|
154
|
+
string,
|
|
155
|
+
NormalizedSchema
|
|
156
|
+
], undefined, undefined>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* A schema "reference" is either a schema or a function that
|
|
160
|
+
* provides a schema. This is useful for lazy loading, and to allow
|
|
161
|
+
* code generation to define schema out of dependency order.
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export type $SchemaRef = $Schema | (() => $Schema);
|
|
165
|
+
/**
|
|
166
|
+
* A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
|
|
167
|
+
*
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface $Codec<S, D> extends ConfigurableSerdeContext {
|
|
171
|
+
createSerializer(): $ShapeSerializer<S>;
|
|
172
|
+
createDeserializer(): $ShapeDeserializer<D>;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Configuration for codecs. Different protocols may share codecs, but require different behaviors from them.
|
|
176
|
+
*
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type CodecSettings = {
|
|
180
|
+
timestampFormat: {
|
|
181
|
+
/**
|
|
182
|
+
* Whether to use member timestamp format traits.
|
|
183
|
+
*/
|
|
184
|
+
useTrait: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Default timestamp format.
|
|
187
|
+
*/
|
|
188
|
+
default: TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Whether to use HTTP binding traits.
|
|
192
|
+
*/
|
|
193
|
+
httpBindings?: boolean;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Turns a serialization into a data object.
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export interface $ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
200
|
+
/**
|
|
201
|
+
* Optionally async.
|
|
202
|
+
*/
|
|
203
|
+
read(schema: $Schema, data: SerializationType): any | Promise<any>;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Turns a data object into a serialization.
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export interface $ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
|
|
210
|
+
write(schema: $Schema, value: unknown): void;
|
|
211
|
+
flush(): SerializationType;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
|
|
218
|
+
/**
|
|
219
|
+
* @returns the Smithy qualified shape id.
|
|
220
|
+
*/
|
|
221
|
+
getShapeId(): string;
|
|
222
|
+
getRequestType(): {
|
|
223
|
+
new (...args: any[]): Request;
|
|
224
|
+
};
|
|
225
|
+
getResponseType(): {
|
|
226
|
+
new (...args: any[]): Response;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* @returns the payload codec if the requests/responses have a symmetric format.
|
|
230
|
+
* It otherwise may return null.
|
|
231
|
+
*/
|
|
232
|
+
getPayloadCodec(): $Codec<any, any>;
|
|
233
|
+
serializeRequest<Input extends object>(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
|
|
234
|
+
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
235
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export interface $ClientProtocolCtor<Request, Response> {
|
|
241
|
+
new (args: any): $ClientProtocol<Request, Response>;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Allows a protocol, codec, or serde utility to accept the serdeContext
|
|
245
|
+
* from a client configuration or request/response handlerExecutionContext.
|
|
246
|
+
*
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export interface ConfigurableSerdeContext {
|
|
250
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
251
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The blob Smithy type, in JS as Uint8Array and other representations
|
|
3
|
+
* such as Buffer, string, or Readable(Stream) depending on circumstances.
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type BlobSchema = 21;
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export type StreamingBlobSchema = 42;
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type BooleanSchema = 2;
|
|
15
|
+
/**
|
|
16
|
+
* Includes string and enum Smithy types.
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type StringSchema = 0;
|
|
20
|
+
/**
|
|
21
|
+
* Includes all numeric Smithy types except bigInteger and bigDecimal.
|
|
22
|
+
* byte, short, integer, long, float, double, intEnum.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type NumericSchema = 1;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type BigIntegerSchema = 17;
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export type BigDecimalSchema = 19;
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type DocumentSchema = 15;
|
|
39
|
+
/**
|
|
40
|
+
* Smithy type timestamp, in JS as native Date object.
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export type TimestampDefaultSchema = 4;
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type TimestampDateTimeSchema = 5;
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type TimestampHttpDateSchema = 6;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export type TimestampEpochSecondsSchema = 7;
|
|
56
|
+
/**
|
|
57
|
+
* Additional bit indicating the type is a list.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type ListSchemaModifier = 64;
|
|
61
|
+
/**
|
|
62
|
+
* Additional bit indicating the type is a map.
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type MapSchemaModifier = 128;
|