@cdk8s/awscdk-resolver 0.0.532 → 0.0.533
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/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +17 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/longPollMiddleware.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +15 -0
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +1 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/config-resolver/README.md +10 -3
- package/node_modules/@smithy/config-resolver/package.json +10 -11
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
- package/node_modules/@smithy/core/package.json +15 -16
- package/node_modules/@smithy/credential-provider-imds/README.md +12 -3
- package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
- package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
- package/node_modules/@smithy/hash-node/README.md +10 -3
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/README.md +10 -3
- package/node_modules/@smithy/invalid-dependency/package.json +6 -7
- package/node_modules/@smithy/middleware-content-length/README.md +13 -0
- package/node_modules/@smithy/middleware-content-length/package.json +7 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
- package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
- package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
- package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
- package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -1
- package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/middleware-retry/dist-types/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/middleware-retry/dist-types/{AdaptiveRetryStrategy.d.ts → retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts} +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/{defaultRetryQuota.d.ts → retry-pre-sra-deprecated/defaultRetryQuota.d.ts} +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/{delayDecider.d.ts → retry-pre-sra-deprecated/delayDecider.d.ts} +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -4
- package/node_modules/@smithy/middleware-retry/package.json +16 -16
- package/node_modules/@smithy/middleware-serde/package.json +10 -11
- package/node_modules/@smithy/middleware-stack/README.md +13 -0
- package/node_modules/@smithy/middleware-stack/package.json +7 -8
- package/node_modules/@smithy/node-config-provider/README.md +10 -3
- package/node_modules/@smithy/node-config-provider/package.json +8 -9
- package/node_modules/@smithy/node-http-handler/package.json +10 -11
- package/node_modules/@smithy/property-provider/README.md +10 -3
- package/node_modules/@smithy/property-provider/package.json +6 -7
- package/node_modules/@smithy/protocol-http/README.md +13 -0
- package/node_modules/@smithy/protocol-http/package.json +6 -7
- package/node_modules/@smithy/querystring-builder/README.md +10 -3
- package/node_modules/@smithy/querystring-builder/package.json +6 -7
- package/node_modules/@smithy/querystring-parser/README.md +10 -3
- package/node_modules/@smithy/querystring-parser/package.json +6 -7
- package/node_modules/@smithy/service-error-classification/README.md +13 -0
- package/node_modules/@smithy/service-error-classification/package.json +6 -7
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +14 -15
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/retry.d.ts +4 -0
- package/node_modules/@smithy/types/package.json +7 -8
- package/node_modules/@smithy/url-parser/README.md +10 -3
- package/node_modules/@smithy/url-parser/package.json +7 -8
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
- package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
- package/node_modules/@smithy/util-endpoints/README.md +10 -3
- package/node_modules/@smithy/util-endpoints/package.json +9 -10
- package/node_modules/@smithy/util-middleware/README.md +9 -4
- package/node_modules/@smithy/util-middleware/package.json +6 -7
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +123 -76
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +7 -4
- package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +24 -25
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +39 -26
- package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +8 -8
- package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +7 -7
- package/node_modules/@smithy/util-retry/dist-types/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/util-retry/dist-types/DefaultRetryToken.d.ts +15 -0
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +21 -4
- package/node_modules/@smithy/util-retry/dist-types/config.d.ts +4 -4
- package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +15 -14
- package/node_modules/@smithy/util-retry/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/util-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +10 -11
- package/node_modules/@smithy/util-stream/package.json +12 -13
- package/node_modules/@smithy/util-waiter/package.json +7 -8
- package/node_modules/path-expression-matcher/README.md +175 -10
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +111 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +1 -1
- package/node_modules/path-expression-matcher/src/Expression.js +2 -2
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +66 -22
- package/node_modules/path-expression-matcher/src/index.d.ts +189 -1
- package/node_modules/path-expression-matcher/src/index.js +3 -2
- package/package.json +4 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +0 -16
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +0 -9
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -17
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -8
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -34
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +0 -11
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +0 -10
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +0 -15
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +0 -14
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +0 -19
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +0 -14
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -60
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -89
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -51
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -73
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -45
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -270
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -47
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -30
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -6
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -42
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +0 -13
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts +0 -4
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts +0 -5
- package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +0 -14
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts +0 -28
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts +0 -10
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts +0 -11
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -18
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -109
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +0 -32
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts +0 -26
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts +0 -41
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -23
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +0 -66
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +0 -24
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +0 -13
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +0 -6
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +0 -18
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +0 -65
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +0 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +0 -24
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +0 -5
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts +0 -22
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +0 -31
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +0 -20
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +0 -22
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -31
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -31
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -50
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -44
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -33
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -35
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -56
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -29
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -21
- package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +0 -30
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +0 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +0 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -52
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -10
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -33
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +0 -21
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -24
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -21
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -11
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -24
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts +0 -14
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +0 -11
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +0 -87
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +0 -119
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +0 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +0 -18
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +0 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +0 -28
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +0 -8
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -42
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -26
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -38
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +0 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +0 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +0 -21
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +0 -178
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +0 -9
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +0 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +0 -12
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -113
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -43
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
- package/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +0 -12
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +0 -16
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +0 -34
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +0 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts +0 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -6
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -25
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +0 -11
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -2
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +0 -5
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +0 -9
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +0 -32
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -119
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -26
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +0 -20
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +0 -59
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +0 -5
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +0 -9
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +0 -19
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +0 -13
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +0 -37
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -61
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +0 -14
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -13
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -15
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +0 -54
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts +0 -5
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -10
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +0 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +0 -9
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts +0 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +0 -8
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +0 -8
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -17
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +0 -17
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +0 -6
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts +0 -11
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +0 -10
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts +0 -8
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts +0 -4
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts +0 -8
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +0 -49
- package/node_modules/strnum/.github/SECURITY.md +0 -5
- package/node_modules/strnum/.vscode/launch.json +0 -25
- package/node_modules/strnum/algo.stflow +0 -84
- package/node_modules/strnum/tests/infinity_test.js +0 -18
- package/node_modules/strnum/tests/strnum_test.js +0 -175
- package/node_modules/strnum/tests/temp.js +0 -8
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{types.js → retry-pre-sra-deprecated/types.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{StandardRetryStrategy.d.ts → retry-pre-sra-deprecated/StandardRetryStrategy.d.ts} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{retryDecider.d.ts → retry-pre-sra-deprecated/retryDecider.d.ts} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{types.d.ts → retry-pre-sra-deprecated/types.d.ts} +0 -0
|
@@ -7,6 +7,17 @@ var uuid = require('@smithy/uuid');
|
|
|
7
7
|
var utilMiddleware = require('@smithy/util-middleware');
|
|
8
8
|
var smithyClient = require('@smithy/smithy-client');
|
|
9
9
|
var isStreamingPayload = require('./isStreamingPayload/isStreamingPayload');
|
|
10
|
+
var serde = require('@smithy/core/serde');
|
|
11
|
+
|
|
12
|
+
const asSdkError = (error) => {
|
|
13
|
+
if (error instanceof Error)
|
|
14
|
+
return error;
|
|
15
|
+
if (error instanceof Object)
|
|
16
|
+
return Object.assign(new Error(), error);
|
|
17
|
+
if (typeof error === "string")
|
|
18
|
+
return new Error(error);
|
|
19
|
+
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
20
|
+
};
|
|
10
21
|
|
|
11
22
|
const getDefaultRetryQuota = (initialRetryTokens, options) => {
|
|
12
23
|
const MAX_CAPACITY = initialRetryTokens;
|
|
@@ -44,16 +55,6 @@ const defaultRetryDecider = (error) => {
|
|
|
44
55
|
return serviceErrorClassification.isRetryableByTrait(error) || serviceErrorClassification.isClockSkewError(error) || serviceErrorClassification.isThrottlingError(error) || serviceErrorClassification.isTransientError(error);
|
|
45
56
|
};
|
|
46
57
|
|
|
47
|
-
const asSdkError = (error) => {
|
|
48
|
-
if (error instanceof Error)
|
|
49
|
-
return error;
|
|
50
|
-
if (error instanceof Object)
|
|
51
|
-
return Object.assign(new Error(), error);
|
|
52
|
-
if (typeof error === "string")
|
|
53
|
-
return new Error(error);
|
|
54
|
-
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
55
|
-
};
|
|
56
|
-
|
|
57
58
|
class StandardRetryStrategy {
|
|
58
59
|
maxAttemptsProvider;
|
|
59
60
|
retryDecider;
|
|
@@ -229,12 +230,60 @@ const getOmitRetryHeadersPlugin = (options) => ({
|
|
|
229
230
|
},
|
|
230
231
|
});
|
|
231
232
|
|
|
233
|
+
function parseRetryAfterHeader(response, logger) {
|
|
234
|
+
if (!protocolHttp.HttpResponse.isInstance(response)) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
for (const header of Object.keys(response.headers)) {
|
|
238
|
+
const h = header.toLowerCase();
|
|
239
|
+
if (h === "retry-after") {
|
|
240
|
+
const retryAfter = response.headers[header];
|
|
241
|
+
let retryAfterSeconds = NaN;
|
|
242
|
+
if (retryAfter.endsWith("GMT")) {
|
|
243
|
+
try {
|
|
244
|
+
const date = serde.parseRfc7231DateTime(retryAfter);
|
|
245
|
+
retryAfterSeconds = (date.getTime() - Date.now()) / 1000;
|
|
246
|
+
}
|
|
247
|
+
catch (e) {
|
|
248
|
+
logger?.trace?.("Failed to parse retry-after header");
|
|
249
|
+
logger?.trace?.(e);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
else if (retryAfter.match(/ GMT, ((\d+)|(\d+\.\d+))$/)) {
|
|
253
|
+
retryAfterSeconds = Number(retryAfter.match(/ GMT, ([\d.]+)$/)?.[1]);
|
|
254
|
+
}
|
|
255
|
+
else if (retryAfter.match(/^((\d+)|(\d+\.\d+))$/)) {
|
|
256
|
+
retryAfterSeconds = Number(retryAfter);
|
|
257
|
+
}
|
|
258
|
+
else if (Date.parse(retryAfter) >= Date.now()) {
|
|
259
|
+
retryAfterSeconds = (Date.parse(retryAfter) - Date.now()) / 1000;
|
|
260
|
+
}
|
|
261
|
+
if (isNaN(retryAfterSeconds)) {
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
return new Date(Date.now() + retryAfterSeconds * 1000);
|
|
265
|
+
}
|
|
266
|
+
else if (h === "x-amz-retry-after") {
|
|
267
|
+
const v = response.headers[header];
|
|
268
|
+
const backoffMilliseconds = Number(v);
|
|
269
|
+
if (isNaN(backoffMilliseconds)) {
|
|
270
|
+
logger?.trace?.(`Failed to parse x-amz-retry-after=${v}`);
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
return new Date(Date.now() + backoffMilliseconds);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
function getRetryAfterHint(response, logger) {
|
|
278
|
+
return parseRetryAfterHeader(response, logger);
|
|
279
|
+
}
|
|
280
|
+
|
|
232
281
|
const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
233
282
|
let retryStrategy = await options.retryStrategy();
|
|
234
283
|
const maxAttempts = await options.maxAttempts();
|
|
235
284
|
if (isRetryStrategyV2(retryStrategy)) {
|
|
236
285
|
retryStrategy = retryStrategy;
|
|
237
|
-
let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]);
|
|
286
|
+
let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : ""));
|
|
238
287
|
let lastError = new Error();
|
|
239
288
|
let attempts = 0;
|
|
240
289
|
let totalRetryDelay = 0;
|
|
@@ -255,7 +304,7 @@ const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
|
255
304
|
return { response, output };
|
|
256
305
|
}
|
|
257
306
|
catch (e) {
|
|
258
|
-
const retryErrorInfo = getRetryErrorInfo(e);
|
|
307
|
+
const retryErrorInfo = getRetryErrorInfo(e, options.logger);
|
|
259
308
|
lastError = asSdkError(e);
|
|
260
309
|
if (isRequest && isStreamingPayload.isStreamingPayload(request)) {
|
|
261
310
|
(context.logger instanceof smithyClient.NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request.");
|
|
@@ -265,6 +314,9 @@ const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
|
265
314
|
retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
|
|
266
315
|
}
|
|
267
316
|
catch (refreshError) {
|
|
317
|
+
if (typeof refreshError.$backoff === "number") {
|
|
318
|
+
await cooldown(refreshError.$backoff);
|
|
319
|
+
}
|
|
268
320
|
if (!lastError.$metadata) {
|
|
269
321
|
lastError.$metadata = {};
|
|
270
322
|
}
|
|
@@ -275,26 +327,28 @@ const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
|
275
327
|
attempts = retryToken.getRetryCount();
|
|
276
328
|
const delay = retryToken.getRetryDelay();
|
|
277
329
|
totalRetryDelay += delay;
|
|
278
|
-
await
|
|
330
|
+
await cooldown(delay);
|
|
279
331
|
}
|
|
280
332
|
}
|
|
281
333
|
}
|
|
282
334
|
else {
|
|
283
335
|
retryStrategy = retryStrategy;
|
|
284
|
-
if (retryStrategy?.mode)
|
|
336
|
+
if (retryStrategy?.mode) {
|
|
285
337
|
context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]];
|
|
338
|
+
}
|
|
286
339
|
return retryStrategy.retry(next, args);
|
|
287
340
|
}
|
|
288
341
|
};
|
|
342
|
+
const cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
289
343
|
const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&
|
|
290
344
|
typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&
|
|
291
345
|
typeof retryStrategy.recordSuccess !== "undefined";
|
|
292
|
-
const getRetryErrorInfo = (error) => {
|
|
346
|
+
const getRetryErrorInfo = (error, logger) => {
|
|
293
347
|
const errorInfo = {
|
|
294
348
|
error,
|
|
295
349
|
errorType: getRetryErrorType(error),
|
|
296
350
|
};
|
|
297
|
-
const retryAfterHint =
|
|
351
|
+
const retryAfterHint = parseRetryAfterHeader(error.$response, logger);
|
|
298
352
|
if (retryAfterHint) {
|
|
299
353
|
errorInfo.retryAfterHint = retryAfterHint;
|
|
300
354
|
}
|
|
@@ -321,19 +375,6 @@ const getRetryPlugin = (options) => ({
|
|
|
321
375
|
clientStack.add(retryMiddleware(options), retryMiddlewareOptions);
|
|
322
376
|
},
|
|
323
377
|
});
|
|
324
|
-
const getRetryAfterHint = (response) => {
|
|
325
|
-
if (!protocolHttp.HttpResponse.isInstance(response))
|
|
326
|
-
return;
|
|
327
|
-
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
328
|
-
if (!retryAfterHeaderName)
|
|
329
|
-
return;
|
|
330
|
-
const retryAfter = response.headers[retryAfterHeaderName];
|
|
331
|
-
const retryAfterSeconds = Number(retryAfter);
|
|
332
|
-
if (!Number.isNaN(retryAfterSeconds))
|
|
333
|
-
return new Date(retryAfterSeconds * 1000);
|
|
334
|
-
const retryAfterDate = new Date(retryAfter);
|
|
335
|
-
return retryAfterDate;
|
|
336
|
-
};
|
|
337
378
|
|
|
338
379
|
exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy;
|
|
339
380
|
exports.CONFIG_MAX_ATTEMPTS = CONFIG_MAX_ATTEMPTS;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export * from "./AdaptiveRetryStrategy";
|
|
2
|
-
export * from "./StandardRetryStrategy";
|
|
1
|
+
export * from "./retry-pre-sra-deprecated/AdaptiveRetryStrategy";
|
|
2
|
+
export * from "./retry-pre-sra-deprecated/StandardRetryStrategy";
|
|
3
|
+
export * from "./retry-pre-sra-deprecated/delayDecider";
|
|
4
|
+
export * from "./retry-pre-sra-deprecated/retryDecider";
|
|
3
5
|
export * from "./configurations";
|
|
4
|
-
export * from "./delayDecider";
|
|
5
6
|
export * from "./omitRetryHeadersMiddleware";
|
|
6
|
-
export * from "./retryDecider";
|
|
7
7
|
export * from "./retryMiddleware";
|
|
8
|
+
export { getRetryAfterHint } from "./parseRetryAfterHeader";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const longPollMiddleware = () => (next, context) => async (args) => {
|
|
2
|
+
context.__retryLongPoll = true;
|
|
3
|
+
return next(args);
|
|
4
|
+
};
|
|
5
|
+
export const longPollMiddlewareOptions = {
|
|
6
|
+
name: "longPollMiddleware",
|
|
7
|
+
tags: ["RETRY"],
|
|
8
|
+
step: "initialize",
|
|
9
|
+
override: true,
|
|
10
|
+
};
|
|
11
|
+
export const getLongPollPlugin = (options) => ({
|
|
12
|
+
applyToStack: (clientStack) => {
|
|
13
|
+
clientStack.add(longPollMiddleware(), longPollMiddlewareOptions);
|
|
14
|
+
},
|
|
15
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { parseRfc7231DateTime } from "@smithy/core/serde";
|
|
2
|
+
import { HttpResponse } from "@smithy/protocol-http";
|
|
3
|
+
export function parseRetryAfterHeader(response, logger) {
|
|
4
|
+
if (!HttpResponse.isInstance(response)) {
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
for (const header of Object.keys(response.headers)) {
|
|
8
|
+
const h = header.toLowerCase();
|
|
9
|
+
if (h === "retry-after") {
|
|
10
|
+
const retryAfter = response.headers[header];
|
|
11
|
+
let retryAfterSeconds = NaN;
|
|
12
|
+
if (retryAfter.endsWith("GMT")) {
|
|
13
|
+
try {
|
|
14
|
+
const date = parseRfc7231DateTime(retryAfter);
|
|
15
|
+
retryAfterSeconds = (date.getTime() - Date.now()) / 1000;
|
|
16
|
+
}
|
|
17
|
+
catch (e) {
|
|
18
|
+
logger?.trace?.("Failed to parse retry-after header");
|
|
19
|
+
logger?.trace?.(e);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
else if (retryAfter.match(/ GMT, ((\d+)|(\d+\.\d+))$/)) {
|
|
23
|
+
retryAfterSeconds = Number(retryAfter.match(/ GMT, ([\d.]+)$/)?.[1]);
|
|
24
|
+
}
|
|
25
|
+
else if (retryAfter.match(/^((\d+)|(\d+\.\d+))$/)) {
|
|
26
|
+
retryAfterSeconds = Number(retryAfter);
|
|
27
|
+
}
|
|
28
|
+
else if (Date.parse(retryAfter) >= Date.now()) {
|
|
29
|
+
retryAfterSeconds = (Date.parse(retryAfter) - Date.now()) / 1000;
|
|
30
|
+
}
|
|
31
|
+
if (isNaN(retryAfterSeconds)) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
return new Date(Date.now() + retryAfterSeconds * 1000);
|
|
35
|
+
}
|
|
36
|
+
else if (h === "x-amz-retry-after") {
|
|
37
|
+
const v = response.headers[header];
|
|
38
|
+
const backoffMilliseconds = Number(v);
|
|
39
|
+
if (isNaN(backoffMilliseconds)) {
|
|
40
|
+
logger?.trace?.(`Failed to parse x-amz-retry-after=${v}`);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
return new Date(Date.now() + backoffMilliseconds);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export function getRetryAfterHint(response, logger) {
|
|
48
|
+
return parseRetryAfterHeader(response, logger);
|
|
49
|
+
}
|
|
@@ -2,10 +2,10 @@ import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
|
|
2
2
|
import { isThrottlingError } from "@smithy/service-error-classification";
|
|
3
3
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, INVOCATION_ID_HEADER, REQUEST_HEADER, RETRY_MODES, THROTTLING_RETRY_DELAY_BASE, } from "@smithy/util-retry";
|
|
4
4
|
import { v4 } from "@smithy/uuid";
|
|
5
|
+
import { asSdkError } from "../util";
|
|
5
6
|
import { getDefaultRetryQuota } from "./defaultRetryQuota";
|
|
6
7
|
import { defaultDelayDecider } from "./delayDecider";
|
|
7
8
|
import { defaultRetryDecider } from "./retryDecider";
|
|
8
|
-
import { asSdkError } from "./util";
|
|
9
9
|
export class StandardRetryStrategy {
|
|
10
10
|
maxAttemptsProvider;
|
|
11
11
|
retryDecider;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { HttpRequest
|
|
1
|
+
import { HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { isServerError, isThrottlingError, isTransientError } from "@smithy/service-error-classification";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { INVOCATION_ID_HEADER, REQUEST_HEADER } from "@smithy/util-retry";
|
|
5
5
|
import { v4 } from "@smithy/uuid";
|
|
6
6
|
import { isStreamingPayload } from "./isStreamingPayload/isStreamingPayload";
|
|
7
|
+
import { parseRetryAfterHeader } from "./parseRetryAfterHeader";
|
|
7
8
|
import { asSdkError } from "./util";
|
|
8
9
|
export const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
9
10
|
let retryStrategy = await options.retryStrategy();
|
|
10
11
|
const maxAttempts = await options.maxAttempts();
|
|
11
12
|
if (isRetryStrategyV2(retryStrategy)) {
|
|
12
13
|
retryStrategy = retryStrategy;
|
|
13
|
-
let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]);
|
|
14
|
+
let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : ""));
|
|
14
15
|
let lastError = new Error();
|
|
15
16
|
let attempts = 0;
|
|
16
17
|
let totalRetryDelay = 0;
|
|
@@ -31,7 +32,7 @@ export const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
|
31
32
|
return { response, output };
|
|
32
33
|
}
|
|
33
34
|
catch (e) {
|
|
34
|
-
const retryErrorInfo = getRetryErrorInfo(e);
|
|
35
|
+
const retryErrorInfo = getRetryErrorInfo(e, options.logger);
|
|
35
36
|
lastError = asSdkError(e);
|
|
36
37
|
if (isRequest && isStreamingPayload(request)) {
|
|
37
38
|
(context.logger instanceof NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request.");
|
|
@@ -41,6 +42,9 @@ export const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
|
41
42
|
retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
|
|
42
43
|
}
|
|
43
44
|
catch (refreshError) {
|
|
45
|
+
if (typeof refreshError.$backoff === "number") {
|
|
46
|
+
await cooldown(refreshError.$backoff);
|
|
47
|
+
}
|
|
44
48
|
if (!lastError.$metadata) {
|
|
45
49
|
lastError.$metadata = {};
|
|
46
50
|
}
|
|
@@ -51,26 +55,28 @@ export const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
|
51
55
|
attempts = retryToken.getRetryCount();
|
|
52
56
|
const delay = retryToken.getRetryDelay();
|
|
53
57
|
totalRetryDelay += delay;
|
|
54
|
-
await
|
|
58
|
+
await cooldown(delay);
|
|
55
59
|
}
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
else {
|
|
59
63
|
retryStrategy = retryStrategy;
|
|
60
|
-
if (retryStrategy?.mode)
|
|
64
|
+
if (retryStrategy?.mode) {
|
|
61
65
|
context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]];
|
|
66
|
+
}
|
|
62
67
|
return retryStrategy.retry(next, args);
|
|
63
68
|
}
|
|
64
69
|
};
|
|
70
|
+
const cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
65
71
|
const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&
|
|
66
72
|
typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&
|
|
67
73
|
typeof retryStrategy.recordSuccess !== "undefined";
|
|
68
|
-
const getRetryErrorInfo = (error) => {
|
|
74
|
+
const getRetryErrorInfo = (error, logger) => {
|
|
69
75
|
const errorInfo = {
|
|
70
76
|
error,
|
|
71
77
|
errorType: getRetryErrorType(error),
|
|
72
78
|
};
|
|
73
|
-
const retryAfterHint =
|
|
79
|
+
const retryAfterHint = parseRetryAfterHeader(error.$response, logger);
|
|
74
80
|
if (retryAfterHint) {
|
|
75
81
|
errorInfo.retryAfterHint = retryAfterHint;
|
|
76
82
|
}
|
|
@@ -97,16 +103,3 @@ export const getRetryPlugin = (options) => ({
|
|
|
97
103
|
clientStack.add(retryMiddleware(options), retryMiddlewareOptions);
|
|
98
104
|
},
|
|
99
105
|
});
|
|
100
|
-
export const getRetryAfterHint = (response) => {
|
|
101
|
-
if (!HttpResponse.isInstance(response))
|
|
102
|
-
return;
|
|
103
|
-
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
104
|
-
if (!retryAfterHeaderName)
|
|
105
|
-
return;
|
|
106
|
-
const retryAfter = response.headers[retryAfterHeaderName];
|
|
107
|
-
const retryAfterSeconds = Number(retryAfter);
|
|
108
|
-
if (!Number.isNaN(retryAfterSeconds))
|
|
109
|
-
return new Date(retryAfterSeconds * 1000);
|
|
110
|
-
const retryAfterDate = new Date(retryAfter);
|
|
111
|
-
return retryAfterDate;
|
|
112
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
|
|
2
|
-
import type { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
|
|
2
|
+
import type { Logger, Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -34,6 +34,7 @@ export interface PreviouslyResolved {
|
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
retryMode: string | Provider<string>;
|
|
37
|
+
logger?: Logger;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* @internal
|
|
@@ -47,6 +48,7 @@ export interface RetryResolvedConfig {
|
|
|
47
48
|
* Resolved value for input config {@link RetryInputConfig.retryStrategy}
|
|
48
49
|
*/
|
|
49
50
|
retryStrategy: Provider<RetryStrategyV2 | RetryStrategy>;
|
|
51
|
+
logger?: Logger;
|
|
50
52
|
}
|
|
51
53
|
/**
|
|
52
54
|
* @internal
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export * from "./AdaptiveRetryStrategy";
|
|
2
|
-
export * from "./StandardRetryStrategy";
|
|
1
|
+
export * from "./retry-pre-sra-deprecated/AdaptiveRetryStrategy";
|
|
2
|
+
export * from "./retry-pre-sra-deprecated/StandardRetryStrategy";
|
|
3
|
+
export * from "./retry-pre-sra-deprecated/delayDecider";
|
|
4
|
+
export * from "./retry-pre-sra-deprecated/retryDecider";
|
|
3
5
|
export * from "./configurations";
|
|
4
|
-
export * from "./delayDecider";
|
|
5
6
|
export * from "./omitRetryHeadersMiddleware";
|
|
6
|
-
export * from "./retryDecider";
|
|
7
7
|
export * from "./retryMiddleware";
|
|
8
|
+
export { getRetryAfterHint } from "./parseRetryAfterHeader";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { HandlerExecutionContext, InitializeHandler, InitializeHandlerOptions, MetadataBearer, Pluggable } from "@smithy/types";
|
|
2
|
+
import type { RetryResolvedConfig } from "./configurations";
|
|
3
|
+
/**
|
|
4
|
+
* This middleware is attached to operations designated as long-polling.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare const longPollMiddleware: () => <Output extends MetadataBearer = MetadataBearer>(next: InitializeHandler<any, Output>, context: HandlerExecutionContext) => InitializeHandler<any, Output>;
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare const longPollMiddlewareOptions: InitializeHandlerOptions;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare const getLongPollPlugin: (options: RetryResolvedConfig) => Pluggable<any, any>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { FinalizeHandler, MetadataBearer, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
|
+
* This is still in use.
|
|
4
|
+
* See AddOmitRetryHeadersDependency.java.
|
|
3
5
|
* @internal
|
|
4
6
|
*/
|
|
5
7
|
export declare const omitRetryHeadersMiddleware: () => <Output extends MetadataBearer = MetadataBearer>(next: FinalizeHandler<any, Output>) => FinalizeHandler<any, Output>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Logger } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare function parseRetryAfterHeader(response: unknown, logger?: Logger): Date | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Backwards-compatibility alias.
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare function getRetryAfterHint(response: unknown, logger?: Logger): Date | undefined;
|
|
@@ -3,8 +3,9 @@ import type { RateLimiter } from "@smithy/util-retry";
|
|
|
3
3
|
import type { StandardRetryStrategyOptions } from "./StandardRetryStrategy";
|
|
4
4
|
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
5
5
|
/**
|
|
6
|
-
* @public
|
|
7
6
|
* Strategy options to be passed to AdaptiveRetryStrategy
|
|
7
|
+
* @public
|
|
8
|
+
* @deprecated replaced by \@smithy/util-retry (SRA).
|
|
8
9
|
*/
|
|
9
10
|
export interface AdaptiveRetryStrategyOptions extends StandardRetryStrategyOptions {
|
|
10
11
|
rateLimiter?: RateLimiter;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { RetryQuota } from "./types";
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
|
+
* @deprecated replaced by \@smithy/util-retry (SRA).
|
|
4
5
|
*/
|
|
5
6
|
export interface DefaultRetryQuotaOptions {
|
|
6
7
|
/**
|
|
@@ -20,5 +21,6 @@ export interface DefaultRetryQuotaOptions {
|
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* @internal
|
|
24
|
+
* @deprecated replaced by \@smithy/util-retry (SRA).
|
|
23
25
|
*/
|
|
24
26
|
export declare const getDefaultRetryQuota: (initialRetryTokens: number, options?: DefaultRetryQuotaOptions) => RetryQuota;
|
|
@@ -12,7 +12,3 @@ export declare const retryMiddlewareOptions: FinalizeRequestHandlerOptions & Abs
|
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
14
|
export declare const getRetryPlugin: (options: RetryResolvedConfig) => Pluggable<any, any>;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
export declare const getRetryAfterHint: (response: unknown) => Date | undefined;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
-
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
7
|
-
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
5
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline middleware-retry",
|
|
8
7
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
8
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
9
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
10
|
"extract:docs": "api-extractor run --local",
|
|
11
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
12
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
15
14
|
"test": "yarn g:vitest run",
|
|
16
15
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
17
|
-
"test:watch": "yarn g:vitest watch",
|
|
18
|
-
"test:
|
|
16
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
|
|
17
|
+
"test:watch": "yarn g:vitest watch"
|
|
19
18
|
},
|
|
20
19
|
"main": "./dist-cjs/index.js",
|
|
21
20
|
"module": "./dist-es/index.js",
|
|
@@ -34,13 +33,14 @@
|
|
|
34
33
|
"license": "Apache-2.0",
|
|
35
34
|
"sideEffects": false,
|
|
36
35
|
"dependencies": {
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/
|
|
42
|
-
"@smithy/
|
|
43
|
-
"@smithy/util-
|
|
36
|
+
"@smithy/core": "^3.23.14",
|
|
37
|
+
"@smithy/node-config-provider": "^4.3.13",
|
|
38
|
+
"@smithy/protocol-http": "^5.3.13",
|
|
39
|
+
"@smithy/service-error-classification": "^4.2.13",
|
|
40
|
+
"@smithy/smithy-client": "^4.12.9",
|
|
41
|
+
"@smithy/types": "^4.14.0",
|
|
42
|
+
"@smithy/util-middleware": "^4.2.13",
|
|
43
|
+
"@smithy/util-retry": "^4.3.0",
|
|
44
44
|
"@smithy/uuid": "^1.1.2",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.17",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
-
"build:cjs": "node ../../scripts/inline middleware-serde",
|
|
7
|
-
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
5
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline middleware-serde",
|
|
8
7
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
8
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
9
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
10
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
11
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
12
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
14
13
|
"test": "yarn g:vitest run",
|
|
15
14
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
16
|
-
"test:watch": "yarn g:vitest watch",
|
|
17
|
-
"test:
|
|
15
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
|
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
|
18
17
|
},
|
|
19
18
|
"main": "./dist-cjs/index.js",
|
|
20
19
|
"module": "./dist-es/index.js",
|
|
@@ -26,9 +25,9 @@
|
|
|
26
25
|
"license": "Apache-2.0",
|
|
27
26
|
"sideEffects": false,
|
|
28
27
|
"dependencies": {
|
|
29
|
-
"@smithy/core": "^3.23.
|
|
30
|
-
"@smithy/protocol-http": "^5.3.
|
|
31
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/core": "^3.23.14",
|
|
29
|
+
"@smithy/protocol-http": "^5.3.13",
|
|
30
|
+
"@smithy/types": "^4.14.0",
|
|
32
31
|
"tslib": "^2.6.2"
|
|
33
32
|
},
|
|
34
33
|
"engines": {
|
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@smithy/middleware-stack)
|
|
4
4
|
[](https://www.npmjs.com/package/@smithy/middleware-stack)
|
|
5
5
|
|
|
6
|
+
### :warning: Internal API :warning:
|
|
7
|
+
|
|
8
|
+
> This is an internal package.
|
|
9
|
+
> That means this is used as a dependency for other, public packages, but
|
|
10
|
+
> should not be taken directly as a dependency in your application's `package.json`.
|
|
11
|
+
|
|
12
|
+
> If you are updating the version of this package, for example to bring in a
|
|
13
|
+
> bug-fix, you should do so by updating your application lockfile with
|
|
14
|
+
> e.g. `npm up @scope/package` or equivalent command in another
|
|
15
|
+
> package manager, rather than taking a direct dependency.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
6
19
|
The package contains an implementation of middleware stack interface. Middleware
|
|
7
20
|
stack is a structure storing middleware in specified order and resolve these
|
|
8
21
|
middleware into a single handler.
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-stack",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.13",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
7
|
-
"build:cjs": "node ../../scripts/inline middleware-stack",
|
|
8
|
-
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
7
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline middleware-stack",
|
|
9
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
9
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
10
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
11
|
"extract:docs": "api-extractor run --local",
|
|
12
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
13
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
16
15
|
"test": "yarn g:vitest run",
|
|
17
16
|
"test:watch": "yarn g:vitest watch"
|
|
18
17
|
},
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
"module": "./dist-es/index.js",
|
|
28
27
|
"types": "./dist-types/index.d.ts",
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/types": "^4.14.0",
|
|
31
30
|
"tslib": "^2.6.2"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
@@ -3,8 +3,15 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@smithy/node-config-provider)
|
|
4
4
|
[](https://www.npmjs.com/package/@smithy/node-config-provider)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
### :warning: Internal API :warning:
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
> This is an internal package.
|
|
9
|
+
> That means this is used as a dependency for other, public packages, but
|
|
10
|
+
> should not be taken directly as a dependency in your application's `package.json`.
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
> If you are updating the version of this package, for example to bring in a
|
|
13
|
+
> bug-fix, you should do so by updating your application lockfile with
|
|
14
|
+
> e.g. `npm up @scope/package` or equivalent command in another
|
|
15
|
+
> package manager, rather than taking a direct dependency.
|
|
16
|
+
|
|
17
|
+
---
|